VirtualMachineScaleSetVmCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of VirtualMachineScaleSetVmResource and their operations. Each VirtualMachineScaleSetVmResource in the collection will belong to the same instance of VirtualMachineScaleSetResource. To get a VirtualMachineScaleSetVmCollection instance call the GetVirtualMachineScaleSetVms method from an instance of VirtualMachineScaleSetResource.
public class VirtualMachineScaleSetVmCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Compute.VirtualMachineScaleSetVmResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.VirtualMachineScaleSetVmResource>
type VirtualMachineScaleSetVmCollection = class
inherit ArmCollection
interface seq<VirtualMachineScaleSetVmResource>
interface IEnumerable
interface IAsyncEnumerable<VirtualMachineScaleSetVmResource>
Public Class VirtualMachineScaleSetVmCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of VirtualMachineScaleSetVmResource), IEnumerable(Of VirtualMachineScaleSetVmResource)
- Inheritance
- Implements
Constructors
VirtualMachineScaleSetVmCollection() |
Initializes a new instance of the VirtualMachineScaleSetVmCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CreateOrUpdate(WaitUntil, String, VirtualMachineScaleSetVmData, String, String, CancellationToken) |
Updates a virtual machine of a VM scale set.
|
CreateOrUpdateAsync(WaitUntil, String, VirtualMachineScaleSetVmData, String, String, CancellationToken) |
Updates a virtual machine of a VM scale set.
|
Exists(String, Nullable<InstanceViewType>, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, Nullable<InstanceViewType>, CancellationToken) |
Gets a virtual machine from a VM scale set.
|
GetAll(String, String, String, CancellationToken) |
Gets a list of all virtual machines in a VM scale sets.
|
GetAllAsync(String, String, String, CancellationToken) |
Gets a list of all virtual machines in a VM scale sets.
|
GetAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Gets a virtual machine from a VM scale set.
|
GetIfExists(String, Nullable<InstanceViewType>, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, Nullable<InstanceViewType>, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |
Explicit Interface Implementations
IAsyncEnumerable<VirtualMachineScaleSetVmResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<VirtualMachineScaleSetVmResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |