你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IDefinition 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
库定义的全部。
public interface IDefinition : Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate, Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Compute.Fluent.Gallery.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IGallery>
type IDefinition = interface
interface IBeta
interface IBlank
interface IDefinitionWithRegion<IWithGroup>
interface IWithGroup
interface IWithGroup<IWithCreate>
interface IWithExistingResourceGroup<IWithCreate>
interface IWithNewResourceGroup<IWithCreate>
interface IWithCreatableResourceGroup<IWithCreate>
interface IWithCreate
interface ICreatable<IGallery>
interface IIndexable
interface IDefinitionWithTags<IWithCreate>
interface IWithDescription
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IGallery), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreate, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
- 实现
-
IBlank IWithCreate IWithDescription IWithGroup IWithCreatableResourceGroup<IWithCreate> IWithCreatableResourceGroup<T> IWithExistingResourceGroup<IWithCreate> IWithExistingResourceGroup<T> IWithGroup<IWithCreate> IWithNewResourceGroup<IWithCreate> IWithNewResourceGroup<T> IBeta IDefinitionWithRegion<IWithGroup> IDefinitionWithTags<IWithCreate> ICreatable<IGallery> IIndexable
属性
Key |
库定义的全部。 (继承自 IIndexable) |
Name |
获取可创建资源的名称。 (继承自 ICreatable<T>) |
方法
Create() |
执行创建请求。 (继承自 ICreatable<T>) |
CreateAsync(CancellationToken, Boolean) |
将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。 (继承自 ICreatable<T>) |
WithDescription(String) |
指定库的说明。 (继承自 IWithDescription) |
WithExistingResourceGroup(IResourceGroup) |
将资源与现有资源组相关联。 (继承自 IWithExistingResourceGroup<T>) |
WithExistingResourceGroup(String) |
将资源与现有资源组相关联。 (继承自 IWithExistingResourceGroup<T>) |
WithNewResourceGroup() |
库定义的全部。 (继承自 IWithNewResourceGroup<T>) |
WithNewResourceGroup(ICreatable<IResourceGroup>) |
根据指定的定义创建一个新的资源组来放置资源。 (继承自 IWithCreatableResourceGroup<T>) |
WithNewResourceGroup(String) |
库定义的全部。 (继承自 IWithNewResourceGroup<T>) |
WithRegion(Region) |
指定资源的区域。 (继承自 IDefinitionWithRegion<T>) |
WithRegion(String) |
按名称指定资源的区域。 (继承自 IDefinitionWithRegion<T>) |
WithTag(String, String) |
将标记添加到资源。 (继承自 IDefinitionWithTags<T>) |
WithTags(IDictionary<String,String>) |
将资源的标记指定为 {@link Map}。 (继承自 IDefinitionWithTags<T>) |