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

IDefinition 接口

定义

整个服务总线命名空间定义。

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusNamespace>, Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IBlank, Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithCreate, Microsoft.Azure.Management.ServiceBus.Fluent.ServiceBusNamespace.Definition.IWithGroup
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithCreate>
    interface IWithExistingResourceGroup<IWithCreate>
    interface IWithNewResourceGroup<IWithCreate>
    interface IWithCreatableResourceGroup<IWithCreate>
    interface IWithCreate
    interface ICreatable<IServiceBusNamespace>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSku
    interface IWithQueue
    interface IWithTopic
    interface IWithAuthorizationRule
Public Interface IDefinition
Implements IBlank, ICreatable(Of IServiceBusNamespace), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreate, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
实现

属性

Key

整个服务总线命名空间定义。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

(继承自 ICreatable<T>)
WithExistingResourceGroup(IResourceGroup)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithNewListenRule(String)

为服务总线命名空间创建侦听授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

为服务总线命名空间创建管理授权规则。

(继承自 IWithAuthorizationRule)
WithNewQueue(String, Int32)

在服务总线命名空间中创建队列实体。

(继承自 IWithQueue)
WithNewResourceGroup()

整个服务总线命名空间定义。

(继承自 IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

根据指定的定义创建新的资源组以放入资源。

(继承自 IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String)

整个服务总线命名空间定义。

(继承自 IWithNewResourceGroup<T>)
WithNewSendRule(String)

为服务总线命名空间创建发送授权规则。

(继承自 IWithAuthorizationRule)
WithNewTopic(String, Int32)

在服务总线命名空间中创建主题实体。

(继承自 IWithTopic)
WithRegion(Region)

指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithRegion(String)

按名称指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithSku(NamespaceSku)

指定命名空间 SKU。

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

将标记添加到资源。

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

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

(继承自 IDefinitionWithTags<T>)

适用于