Dela via


IWithAvailabilitySet.WithExistingAvailabilitySet(IAvailabilitySet) Method

Definition

Specifies an existing availability set to associate with the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithExistingAvailabilitySet (Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet availabilitySet);
abstract member WithExistingAvailabilitySet : Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithExistingAvailabilitySet (availabilitySet As IAvailabilitySet) As IWithCreate

Parameters

availabilitySet
IAvailabilitySet

An existing availability set.

Returns

Applies to