Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IDefinition 接口

定义

托管快照定义的全部。

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
实现

属性

Key

托管快照定义的全部。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。

(继承自 ICreatable<T>)
WithDataFromDisk(IDisk)

指定源数据托管磁盘。

(继承自 IWithDataSnapshotFromDisk)
WithDataFromDisk(String)

指定源数据托管磁盘的 ID。

(继承自 IWithDataSnapshotFromDisk)
WithDataFromSnapshot(ISnapshot)

指定快照管理的源数据。

(继承自 IWithDataSnapshotFromSnapshot)
WithDataFromSnapshot(String)

指定快照管理的源数据。

(继承自 IWithDataSnapshotFromSnapshot)
WithDataFromVhd(String, String)

指定源数据 VHD 和存储帐户 ID。

(继承自 IWithDataSnapshotFromVhd)
WithExistingResourceGroup(IResourceGroup)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithIncremental(Boolean)

指定快照是否为增量。

(继承自 IWithIncremental)
WithLinuxFromDisk(IDisk)

指定源 Linux OS 托管磁盘。

(继承自 IWithLinuxSnapshotSource)
WithLinuxFromDisk(String)

指定源 Linux OS 托管磁盘。

(继承自 IWithLinuxSnapshotSource)
WithLinuxFromSnapshot(ISnapshot)

指定源 Linux OS 托管快照。

(继承自 IWithLinuxSnapshotSource)
WithLinuxFromSnapshot(String)

指定源 Linux OS 托管快照。

(继承自 IWithLinuxSnapshotSource)
WithLinuxFromVhd(String, String)

指定源专用化或通用化 Linux OS VHD 和存储帐户 ID。

(继承自 IWithLinuxSnapshotSource)
WithNewResourceGroup()

托管快照定义的全部。

(继承自 IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

根据指定的定义创建一个新的资源组来放置资源。

(继承自 IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String)

托管快照定义的全部。

(继承自 IWithNewResourceGroup<T>)
WithRegion(Region)

指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithRegion(String)

按名称指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithSizeInGB(Int32)

指定磁盘大小。

(继承自 IWithSize)
WithSku(DiskSkuTypes)

指定 SKU 类型。

(继承自 IWithSku)
WithSku(SnapshotSkuType)

指定 SKU 类型。

(继承自 IWithSku)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)
WithWindowsFromDisk(IDisk)

指定源 Windows OS 托管磁盘。

(继承自 IWithWindowsSnapshotSource)
WithWindowsFromDisk(String)

指定源 Windows OS 托管磁盘。

(继承自 IWithWindowsSnapshotSource)
WithWindowsFromSnapshot(ISnapshot)

指定源 Windows OS 托管快照。

(继承自 IWithWindowsSnapshotSource)
WithWindowsFromSnapshot(String)

指定源 Windows OS 托管快照。

(继承自 IWithWindowsSnapshotSource)
WithWindowsFromVhd(String, String)

指定源专用化或通用化 Windows OS VHD 和存储帐户 ID。

(继承自 IWithWindowsSnapshotSource)

适用于