Dela via


IDefinition Interface

Definition

The entirety of the managed disk definition.

public interface IDefinition : Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDataDiskSource, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDiskSource, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithGroup, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithStorageAccount, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDiskSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDiskSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDiskSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDiskSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithGroup>, 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 IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithDiskSource>
    interface IWithExistingResourceGroup<IWithDiskSource>
    interface IWithNewResourceGroup<IWithDiskSource>
    interface IWithCreatableResourceGroup<IWithDiskSource>
    interface IWithDiskSource
    interface IWithWindowsDiskSource
    interface IWithLinuxDiskSource
    interface IWithData
    interface IWithDataDiskSource
    interface IWithDataDiskFromVhd
    interface IWithDataDiskFromUpload
    interface IWithDataDiskFromDisk
    interface IWithDataDiskFromSnapshot
    interface IWithStorageAccount
    interface IWithCreateAndSize
    interface IWithCreate
    interface ICreatable<IDisk>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSku
    interface IWithHyperVGeneration
    interface IWithAvailabilityZone
    interface IBeta
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IDisk), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithDiskSource), IWithCreateAndSize, IWithDataDiskSource, IWithDiskSource, IWithExistingResourceGroup(Of IWithDiskSource), IWithGroup, IWithGroup(Of IWithDiskSource), IWithNewResourceGroup(Of IWithDiskSource), IWithStorageAccount
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>)
FromDisk(IDisk)

Specifies the source data managed disk.

(Inherited from IWithDataDiskFromDisk)
FromDisk(String)

Specifies the ID of source data managed disk.

(Inherited from IWithDataDiskFromDisk)
FromSnapshot(ISnapshot)

Specifies the source data managed snapshot.

(Inherited from IWithDataDiskFromSnapshot)
FromSnapshot(String)

Specifies the source data managed snapshot.

(Inherited from IWithDataDiskFromSnapshot)
FromVhd(String)

Specifies the source data VHD.

(Inherited from IWithDataDiskFromVhd)
WithAvailabilityZone(AvailabilityZoneId)

Specifies the availability zone for the managed disk.

(Inherited from IWithAvailabilityZone)
WithData()

Begins definition of managed disk containing data.

(Inherited from IWithData)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithHyperVGeneration(HyperVGeneration)

Specifies the hypervisor generation of the managed disk.

(Inherited from IWithHyperVGeneration)
WithLinuxFromDisk(IDisk)

Specifies the source Linux OS managed disk.

(Inherited from IWithLinuxDiskSource)
WithLinuxFromDisk(String)

Specifies the source Linux OS managed disk.

(Inherited from IWithLinuxDiskSource)
WithLinuxFromSnapshot(ISnapshot)

Specifies the source Linux OS managed snapshot.

(Inherited from IWithLinuxDiskSource)
WithLinuxFromSnapshot(String)

Specifies the source Linux OS managed snapshot.

(Inherited from IWithLinuxDiskSource)
WithLinuxFromVhd(String)

Specifies the source specialized or generalized Linux OS VHD.

(Inherited from IWithLinuxDiskSource)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithSizeInGB(Int32)

Specifies the disk size for an empty disk.

(Inherited from IWithDataDiskSource)
WithSku(DiskSkuTypes)

Specifies the SKU.

(Inherited from IWithSku)
WithStorageAccount(IStorageAccount)

Specifies the storage account.

(Inherited from IWithStorageAccount)
WithStorageAccountId(String)

Specifies the storage account id.

(Inherited from IWithStorageAccount)
WithStorageAccountName(String)

Specifies the storage account name in same resource group.

(Inherited from IWithStorageAccount)
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>)
WithUploadSizeInMB(Nullable<Int64>)

Gets or sets if createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20 (20 MiB) and 33554432 bytes (32 TiB).

(Inherited from IWithDataDiskFromUpload)
WithWindowsFromDisk(IDisk)

Specifies a source Windows OS managed disk.

(Inherited from IWithWindowsDiskSource)
WithWindowsFromDisk(String)

Specifies a source Windows OS managed disk.

(Inherited from IWithWindowsDiskSource)
WithWindowsFromSnapshot(ISnapshot)

Specifies a source Windows OS managed snapshot.

(Inherited from IWithWindowsDiskSource)
WithWindowsFromSnapshot(String)

Specifies a source Windows OS managed snapshot.

(Inherited from IWithWindowsDiskSource)
WithWindowsFromVhd(String)

Specifies a source specialized or generalized Windows OS VHD.

(Inherited from IWithWindowsDiskSource)

Applies to