Share via


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

IWithCreateAndSize 接口

定义

允许创建磁盘或选择性地指定大小的托管磁盘定义的阶段。

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

属性

Key

允许创建磁盘或选择性地指定大小的托管磁盘定义的阶段。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

(继承自 ICreatable<T>)
WithAvailabilityZone(AvailabilityZoneId)

指定托管磁盘的可用性区域。

(继承自 IWithAvailabilityZone)
WithHyperVGeneration(HyperVGeneration)

指定托管磁盘的虚拟机监控程序生成。

(继承自 IWithHyperVGeneration)
WithSizeInGB(Int32)

指定磁盘大小。

WithSku(DiskSkuTypes)

指定 SKU。

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

将标记添加到资源。

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

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

(继承自 IDefinitionWithTags<T>)

适用于