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

IWithCreate 接口

定义

定义的阶段,该阶段包含通过 WithCreate.create () ) (创建的资源所需的全部最低输入,但也允许指定任何其他可选设置。

public interface IWithCreate : Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithDescription, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithDisallowed, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithEndOfLifeDate, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithEula, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithPrivacyStatementUri, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithPurchasePlan, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithRecommendedVMConfiguration, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithReleaseNoteUri, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithTags, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage>
type IWithCreate = interface
    interface IBeta
    interface ICreatable<IGalleryImage>
    interface IIndexable
    interface IWithDescription
    interface IWithDisallowed
    interface IWithEndOfLifeDate
    interface IWithEula
    interface IWithPrivacyStatementUri
    interface IWithPurchasePlan
    interface IWithRecommendedVMConfiguration
    interface IWithReleaseNoteUri
    interface IWithTags
Public Interface IWithCreate
Implements IBeta, ICreatable(Of IGalleryImage), IWithDescription, IWithDisallowed, IWithEndOfLifeDate, IWithEula, IWithPrivacyStatementUri, IWithPurchasePlan, IWithRecommendedVMConfiguration, IWithReleaseNoteUri, IWithTags
派生
实现

属性

Key

定义的阶段,该阶段包含通过 WithCreate.create () ) (创建的资源所需的全部最低输入,但也允许指定任何其他可选设置。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

(继承自 ICreatable<T>)
WithDescription(String)

指定说明。

(继承自 IWithDescription)
WithDisallowed(Disallowed)

指定不允许的设置。

(继承自 IWithDisallowed)
WithEndOfLifeDate(DateTime)

指定映像的生命周期结束日期。

(继承自 IWithEndOfLifeDate)
WithEula(String)

指定 eula。

(继承自 IWithEula)
WithPrivacyStatementUri(String)

指定图像隐私声明 URI。

(继承自 IWithPrivacyStatementUri)
WithPurchasePlan(ImagePurchasePlan)

指定此映像的购买计划。

(继承自 IWithPurchasePlan)
WithPurchasePlan(String, String, String)

指定此映像的购买计划。

(继承自 IWithPurchasePlan)
WithRecommendedConfigurationForVirtualMachine(RecommendedMachineConfiguration)

根据映像为虚拟机指定建议的配置。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedCPUsCountForVirtualMachine(Int32, Int32)

指定基于映像的虚拟机的建议虚拟 CUP。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedMaximumCPUsCountForVirtualMachine(Int32)

指定基于此映像的虚拟机的建议最大虚拟 CUP 数。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedMaximumMemoryForVirtualMachine(Int32)

指定基于映像的虚拟机的建议最大内存。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedMemoryForVirtualMachine(Int32, Int32)

指定基于映像的虚拟机的建议内存。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedMinimumCPUsCountForVirtualMachine(Int32)

指定基于映像的虚拟机建议的最小虚拟 CUP 数。

(继承自 IWithRecommendedVMConfiguration)
WithRecommendedMinimumMemoryForVirtualMachine(Int32)

指定基于映像的虚拟机的建议最小内存。

(继承自 IWithRecommendedVMConfiguration)
WithReleaseNoteUri(String)

指定发布说明的 URI。

(继承自 IWithReleaseNoteUri)
WithTags(IDictionary<String,String>)

指定标记。

(继承自 IWithTags)
WithUnsupportedDiskType(DiskSkuTypes)

指定映像不支持的磁盘类型。

(继承自 IWithDisallowed)
WithUnsupportedDiskTypes(IList<DiskSkuTypes>)

指定映像不支持的磁盘类型。

(继承自 IWithDisallowed)

适用于