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.

C#
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);

Parameters

creatable
ICreatable<IAvailabilitySet>

A creatable availability set definition.

Returns

Applies to

Azure SDK for .NET Legacy
Продукт Версії
Azure SDK for .NET Legacy

WithNewAvailabilitySet(String)

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

C#
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewAvailabilitySet(string name);

Parameters

name
String

The name of an availability set.

Returns

Applies to

Azure SDK for .NET Legacy
Продукт Версії
Azure SDK for .NET Legacy