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

IWithCreate 接口

定义

定义的阶段,它包含要创建的资源所需的所有最低输入,但也允许指定任何其他可选设置。

public interface IWithCreate : Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithIncremental, Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSize, Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithSku, 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 IWithCreate = interface
    interface ICreatable<ISnapshot>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSize
    interface IWithIncremental
    interface IWithSku
Public Interface IWithCreate
Implements ICreatable(Of ISnapshot), IDefinitionWithTags(Of IWithCreate), IWithIncremental, IWithSize, IWithSku
派生
实现

属性

Key

定义的阶段,它包含要创建的资源所需的所有最低输入,但也允许指定任何其他可选设置。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

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

指定快照是否为增量。

(继承自 IWithIncremental)
WithSizeInGB(Int32)

指定磁盘大小。

(继承自 IWithSize)
WithSku(DiskSkuTypes)

指定 SKU 类型。

(继承自 IWithSku)
WithSku(SnapshotSkuType)

指定 SKU 类型。

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

将标记添加到资源。

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

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

(继承自 IDefinitionWithTags<T>)

适用于