Udostępnij za pośrednictwem


IVirtualMachineScaleSets Interface

Definition

Entry point to virtual machine scale set management API.

public interface IVirtualMachineScaleSets : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchDeletion, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingById, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingByResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>
type IVirtualMachineScaleSets = interface
    interface ISupportsListing<IVirtualMachineScaleSet>
    interface ISupportsListingByResourceGroup<IVirtualMachineScaleSet>
    interface ISupportsGettingByResourceGroup<IVirtualMachineScaleSet>
    interface ISupportsGettingById<IVirtualMachineScaleSet>
    interface ISupportsCreating<IBlank>
    interface ISupportsDeletingById
    interface ISupportsDeletingByResourceGroup
    interface ISupportsBatchCreation<IVirtualMachineScaleSet>
    interface ISupportsBatchDeletion
    interface IBeta
    interface IHasManager<IComputeManager>
    interface IHasInner<IVirtualMachineScaleSetsOperations>
    interface IVirtualMachineScaleSetsBeta
Public Interface IVirtualMachineScaleSets
Implements IHasInner(Of IVirtualMachineScaleSetsOperations), IHasManager(Of IComputeManager), ISupportsBatchCreation(Of IVirtualMachineScaleSet), ISupportsBatchDeletion, ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of IVirtualMachineScaleSet), ISupportsGettingByResourceGroup(Of IVirtualMachineScaleSet), ISupportsListing(Of IVirtualMachineScaleSet), ISupportsListingByResourceGroup(Of IVirtualMachineScaleSet), IVirtualMachineScaleSetsBeta
Implements

Properties

Inner (Inherited from IHasInner<T>)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)

Methods

Create(ICreatable<IFluentResourceT>[])

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Deallocate(String, String)

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

DeallocateAsync(String, String, CancellationToken)

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

Define(String) (Inherited from ISupportsCreating<T>)
DeleteById(String)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
DeleteByIds(IList<String>)

Deletes the specified resources from Azure.

(Inherited from ISupportsBatchDeletion)
DeleteByIds(String[])

Deletes the specified resources from Azure.

(Inherited from ISupportsBatchDeletion)
DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

(Inherited from ISupportsBatchDeletion)
DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

(Inherited from ISupportsBatchDeletion)
DeleteByResourceGroup(String, String)

Deletes a resource from Azure, identifying it by its name and its resource group.

(Inherited from ISupportsDeletingByResourceGroup)
DeleteByResourceGroupAsync(String, String, CancellationToken)

Deletes a resource from Azure, identifying it by its name and its resource group.

(Inherited from ISupportsDeletingByResourceGroup)
GetById(String)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
GetByResourceGroup(String, String)

Gets the information about a resource from Azure based on the resource name and the name of its resource group.

(Inherited from ISupportsGettingByResourceGroup<T>)
GetByResourceGroupAsync(String, String, CancellationToken)

Gets the information about a resource from Azure based on the resource name and the name of its resource group.

(Inherited from ISupportsGettingByResourceGroup<T>)
List()

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListByResourceGroup(String)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
ListByResourceGroupAsync(String, Boolean, CancellationToken)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
PowerOff(String, String)

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

PowerOffAsync(String, String, CancellationToken)

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

Reimage(String, String)

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

ReimageAsync(String, String, CancellationToken)

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

Restart(String, String)

Restarts the virtual machines in the scale set.

RestartAsync(String, String, CancellationToken)

Restarts the virtual machines in the scale set asynchronously.

RunCommandInVMInstance(String, String, String, RunCommandInput)

Run commands in a virtual machine instance in a scale set.

(Inherited from IVirtualMachineScaleSetsBeta)
RunCommandVMInstanceAsync(String, String, String, RunCommandInput, CancellationToken)

Run commands in a virtual machine instance in a scale set asynchronously.

(Inherited from IVirtualMachineScaleSetsBeta)
RunPowerShellScriptInVMInstance(String, String, String, IList<String>, IList<RunCommandInputParameter>)

Run PowerShell script in a virtual machine instance in a scale set.

(Inherited from IVirtualMachineScaleSetsBeta)
RunPowerShellScriptInVMInstanceAsync(String, String, String, IList<String>, IList<RunCommandInputParameter>, CancellationToken)

Run PowerShell in a virtual machine instance in a scale set asynchronously.

(Inherited from IVirtualMachineScaleSetsBeta)
RunShellScriptInVMInstance(String, String, String, IList<String>, IList<RunCommandInputParameter>)

Run shell script in a virtual machine instance in a scale set.

(Inherited from IVirtualMachineScaleSetsBeta)
RunShellScriptInVMInstanceAsync(String, String, String, IList<String>, IList<RunCommandInputParameter>, CancellationToken)

Run shell script in a virtual machine instance in a scale set asynchronously.

(Inherited from IVirtualMachineScaleSetsBeta)
Start(String, String)

Starts the virtual machines in the scale set.

StartAsync(String, String, CancellationToken)

Starts the virtual machines in the scale set asynchronously.

Applies to