Dela via


IDefinition Interface

Definition

The entirety of the managed snapshot definition.

public interface IDefinition : Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate, Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithGroup, Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSnapshotSource, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSnapshotSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSnapshotSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSnapshotSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSnapshotSource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithSnapshotSource>
    interface IWithExistingResourceGroup<IWithSnapshotSource>
    interface IWithNewResourceGroup<IWithSnapshotSource>
    interface IWithCreatableResourceGroup<IWithSnapshotSource>
    interface IWithSnapshotSource
    interface IWithWindowsSnapshotSource
    interface IWithLinuxSnapshotSource
    interface IWithDataSnapshotSource
    interface IWithDataSnapshotFromVhd
    interface IWithDataSnapshotFromDisk
    interface IWithDataSnapshotFromSnapshot
    interface IWithCreate
    interface ICreatable<ISnapshot>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSize
    interface IWithIncremental
    interface IWithSku
Public Interface IDefinition
Implements IBlank, ICreatable(Of ISnapshot), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithSnapshotSource), IWithCreate, IWithExistingResourceGroup(Of IWithSnapshotSource), IWithGroup, IWithGroup(Of IWithSnapshotSource), IWithNewResourceGroup(Of IWithSnapshotSource), IWithSnapshotSource
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>)
WithDataFromDisk(IDisk)

Specifies the source data managed disk.

(Inherited from IWithDataSnapshotFromDisk)
WithDataFromDisk(String)

Specifies the ID of source data managed disk.

(Inherited from IWithDataSnapshotFromDisk)
WithDataFromSnapshot(ISnapshot)

Specifies the source data managed snapshot.

(Inherited from IWithDataSnapshotFromSnapshot)
WithDataFromSnapshot(String)

Specifies the source data managed snapshot.

(Inherited from IWithDataSnapshotFromSnapshot)
WithDataFromVhd(String, String)

Specifies the source data VHD and the storage account ID.

(Inherited from IWithDataSnapshotFromVhd)
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>)
WithIncremental(Boolean)

Specifies whether a snapshot is incremental.

(Inherited from IWithIncremental)
WithLinuxFromDisk(IDisk)

Specifies the source Linux OS managed disk.

(Inherited from IWithLinuxSnapshotSource)
WithLinuxFromDisk(String)

Specifies the source Linux OS managed disk.

(Inherited from IWithLinuxSnapshotSource)
WithLinuxFromSnapshot(ISnapshot)

Specifies the source Linux OS managed snapshot.

(Inherited from IWithLinuxSnapshotSource)
WithLinuxFromSnapshot(String)

Specifies the source Linux OS managed snapshot.

(Inherited from IWithLinuxSnapshotSource)
WithLinuxFromVhd(String, String)

Specifies the source specialized or generalized Linux OS VHD and the storage account ID.

(Inherited from IWithLinuxSnapshotSource)
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.

(Inherited from IWithSize)
WithSku(DiskSkuTypes)

Specifies the SKU type.

(Inherited from IWithSku)
WithSku(SnapshotSkuType)

Specifies the SKU type.

(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>)
WithWindowsFromDisk(IDisk)

Specifies the source Windows OS managed disk.

(Inherited from IWithWindowsSnapshotSource)
WithWindowsFromDisk(String)

Specifies the source Windows OS managed disk.

(Inherited from IWithWindowsSnapshotSource)
WithWindowsFromSnapshot(ISnapshot)

Specifies the source Windows OS managed snapshot.

(Inherited from IWithWindowsSnapshotSource)
WithWindowsFromSnapshot(String)

Specifies the source Windows OS managed snapshot.

(Inherited from IWithWindowsSnapshotSource)
WithWindowsFromVhd(String, String)

Specifies the source specialized or generalized Windows OS VHD and the storage account ID.

(Inherited from IWithWindowsSnapshotSource)

Applies to