Delen via


IWithCreateAndSize Interface

Definition

The stage of the managed disk definition allowing to create the disk or optionally specify size.

public interface IWithCreateAndSize : Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IDisk>
type IWithCreateAndSize = interface
    interface IWithCreate
    interface ICreatable<IDisk>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSku
    interface IWithHyperVGeneration
    interface IWithAvailabilityZone
    interface IBeta
Public Interface IWithCreateAndSize
Implements IBeta, ICreatable(Of IDisk), IDefinitionWithTags(Of IWithCreate), IWithCreate
Derived
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithAvailabilityZone(AvailabilityZoneId)

Specifies the availability zone for the managed disk.

(Inherited from IWithAvailabilityZone)
WithHyperVGeneration(HyperVGeneration)

Specifies the hypervisor generation of the managed disk.

(Inherited from IWithHyperVGeneration)
WithSizeInGB(Int32)

Specifies the disk size.

WithSku(DiskSkuTypes)

Specifies the SKU.

(Inherited from IWithSku)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to