IVirtualMachineScaleSet Interface

Definition

An immutable client-side representation of an Azure virtual machine scale set.

public interface IVirtualMachineScaleSet : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Compute.Fluent.IComputeManager,Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithPrimaryLoadBalancer>
type IVirtualMachineScaleSet = interface
    interface IGroupableResource<IComputeManager, VirtualMachineScaleSetInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IComputeManager>
    interface IHasInner<VirtualMachineScaleSetInner>
    interface IRefreshable<IVirtualMachineScaleSet>
    interface IUpdatable<IWithPrimaryLoadBalancer>
    interface IVirtualMachineScaleSetBeta
    interface IBeta
Public Interface IVirtualMachineScaleSet
Implements IBeta, IGroupableResource(Of IComputeManager, VirtualMachineScaleSetInner), IHasInner(Of VirtualMachineScaleSetInner), IHasManager(Of IComputeManager), IRefreshable(Of IVirtualMachineScaleSet), IUpdatable(Of IWithPrimaryLoadBalancer), IVirtualMachineScaleSetBeta
Implements

Properties

AvailabilityZones (Inherited from IVirtualMachineScaleSetBeta)
BootDiagnosticsStorageUri (Inherited from IVirtualMachineScaleSetBeta)
Capacity

Gets the number of virtual machine instances in the scale set.

ComputerNamePrefix

Gets the name prefix of the virtual machines in the scale set.

Extensions

Gets the extensions attached to the virtual machines in the scale set.

Inner (Inherited from IHasInner<T>)
IsBootDiagnosticsEnabled (Inherited from IVirtualMachineScaleSetBeta)
IsManagedDiskEnabled

Gets true if managed disk is used for the virtual machine scale set's disks (os, data).

IsManagedServiceIdentityEnabled (Inherited from IVirtualMachineScaleSetBeta)
ManagedOSDiskStorageAccountType (Inherited from IVirtualMachineScaleSetBeta)
ManagedServiceIdentityPrincipalId (Inherited from IVirtualMachineScaleSetBeta)
ManagedServiceIdentityTenantId (Inherited from IVirtualMachineScaleSetBeta)
ManagedServiceIdentityType (Inherited from IVirtualMachineScaleSetBeta)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
NetworkProfile

Gets the network profile.

OSDiskCachingType

Gets the operating system disk caching type.

OSDiskName

Gets the name of the OS disk of virtual machines in the scale set.

OSType

Gets the operating system of the virtual machines in the scale set.

OverProvisionEnabled

Gets true if over provision is enabled for the virtual machines, false otherwise.

PrimaryPublicIPAddressIds

Gets IOException the IO exception.

Sku

Gets the SKU of the virtual machines in the scale set.

StorageProfile

Gets the storage profile.

UpgradeModel

Gets the upgrade model.

VhdContainers

Gets the URL to storage containers that store the VHDs of the virtual machines in the scale set.

VirtualMachines

Gets entry point to manage virtual machine instances in the scale set.

Methods

Deallocate()

Shuts down the virtual machines in the scale set and releases its compute resources.

DeallocateAsync(CancellationToken)

Shuts down the virtual machines in the scale set and releases its compute resources asynchronously.

GetNetworkInterfaceByInstanceId(String, String)

Gets a network interface associated with a virtual machine scale set instance.

GetPrimaryInternalLoadBalancer()
GetPrimaryInternetFacingLoadBalancer()
GetPrimaryNetwork()
ListAvailableSkus()
ListNetworkInterfaces()
ListNetworkInterfacesByInstanceId(String)

Lists the network interface associated with a specific virtual machine instance in the scale set.

ListPrimaryInternalLoadBalancerBackends()
ListPrimaryInternalLoadBalancerInboundNatPools()
ListPrimaryInternetFacingLoadBalancerBackends()
ListPrimaryInternetFacingLoadBalancerInboundNatPools()
PowerOff()

Powers off (stops) the virtual machines in the scale set.

PowerOffAsync(CancellationToken)

Powers off (stops) the virtual machines in the scale set asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Reimage()

Re-images (updates the version of the installed operating system) the virtual machines in the scale set.

ReimageAsync(CancellationToken)

Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.

Restart()

Restarts the virtual machines in the scale set.

RestartAsync(CancellationToken)

Restarts the virtual machines in the scale set asynchronously.

Start()

Starts the virtual machines in the scale set.

StartAsync(CancellationToken)

Starts the virtual machines in the scale set asynchronously.

Update() (Inherited from IUpdatable<T>)

Applies to