IWithAvailabilitySet.WithNewAvailabilitySet Method

Definition

Overloads

WithNewAvailabilitySet(ICreatable<IAvailabilitySet>)

Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.

WithNewAvailabilitySet(String)

Specifies the name of a new availability set to associate with the virtual machine.

WithNewAvailabilitySet(ICreatable<IAvailabilitySet>)

Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewAvailabilitySet (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet> creatable);
abstract member WithNewAvailabilitySet : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithNewAvailabilitySet (creatable As ICreatable(Of IAvailabilitySet)) As IWithCreate

Parameters

creatable
ICreatable<IAvailabilitySet>

A creatable availability set definition.

Returns

Applies to

WithNewAvailabilitySet(String)

Specifies the name of a new availability set to associate with the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewAvailabilitySet (string name);
abstract member WithNewAvailabilitySet : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithNewAvailabilitySet (name As String) As IWithCreate

Parameters

name
String

The name of an availability set.

Returns

Applies to