IWithAvailabilityZone.WithAvailabilityZone(AvailabilityZoneId) Method

Definition

Specifies the availability zone for the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithAvailabilityZone (Microsoft.Azure.Management.ResourceManager.Fluent.Core.AvailabilityZoneId zoneId);
abstract member WithAvailabilityZone : Microsoft.Azure.Management.ResourceManager.Fluent.Core.AvailabilityZoneId -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithAvailabilityZone (zoneId As AvailabilityZoneId) As IWithManagedCreate

Parameters

zoneId
AvailabilityZoneId

The zone identifier.

Returns

Applies to