IWithAvailabilitySet.WithNewAvailabilitySet Method
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.
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. |
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
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
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
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Відгук про Azure SDK for .NET
Azure SDK for .NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: