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

IDefinition 接口

定义

库映像定义的全部。

public interface IDefinition : Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithCreate, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithIdentifier, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithLocation, Microsoft.Azure.Management.Compute.Fluent.GalleryImage.Definition.IWithOsTypeAndState, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage>
type IDefinition = interface
    interface IBeta
    interface IBlank
    interface IWithGallery
    interface IWithLocation
    interface IWithIdentifier
    interface IWithOsTypeAndState
    interface IWithCreate
    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 IDefinition
Implements IBeta, IBlank, ICreatable(Of IGalleryImage), IWithCreate, IWithIdentifier, IWithLocation, IWithOsTypeAndState
实现

属性

Key

库映像定义的全部。

(继承自 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)
WithExistingGallery(IGallery)

指定此映像所在的库。

(继承自 IWithGallery)
WithExistingGallery(String, String)

指定此映像所在的库。

(继承自 IWithGallery)
WithGeneralizedLinux()

指定映像是 OS 状态为通用的 Linux 映像。

(继承自 IWithOsTypeAndState)
WithGeneralizedWindows()

指定映像是 OS 状态为通用化的 Windows 映像。

(继承自 IWithOsTypeAndState)
WithIdentifier(GalleryImageIdentifier)

指定映像 (发布者、产品/服务和 SKU) 标识符。

(继承自 IWithIdentifier)
WithIdentifier(String, String, String)

指定映像 (发布者、产品/服务和 SKU) 标识符。

(继承自 IWithIdentifier)
WithLinux(OperatingSystemStateTypes)

指定映像是 Linux 映像。

(继承自 IWithOsTypeAndState)
WithLocation(Region)

指定位置。

(继承自 IWithLocation)
WithLocation(String)

指定位置。

(继承自 IWithLocation)
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)
WithWindows(OperatingSystemStateTypes)

指定映像是 Windows 映像。

(继承自 IWithOsTypeAndState)

适用于