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

IDefinition 接口

定义

事件中心命名空间定义的全部内容。

public interface IDefinition : Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IBlank, Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate, Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace>
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<IEventHubNamespace>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSku
    interface IWithEventHub
    interface IWithAuthorizationRule
    interface IWithThroughputConfiguration
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IEventHubNamespace), 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>)
WithAutoScaling()

允许根据负载自动纵向扩展吞吐量单位。

(继承自 IWithThroughputConfiguration)
WithCurrentThroughputUnits(Int32)

指定当前吞吐量单位。

(继承自 IWithThroughputConfiguration)
WithExistingResourceGroup(IResourceGroup)

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

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

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

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

指定应在 命名空间中创建新的事件中心。

(继承自 IWithEventHub)
WithNewEventHub(String, Int32)

指定应在 命名空间中创建新的事件中心。

(继承自 IWithEventHub)
WithNewEventHub(String, Int32, Int32)

指定应在 命名空间中创建新的事件中心。

(继承自 IWithEventHub)
WithNewListenRule(String)

指定应创建对事件中心命名空间具有侦听访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

指定应创建对事件中心命名空间具有管理访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithNewResourceGroup()

事件中心命名空间定义的全部内容。

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

根据指定的定义创建一个新的资源组来放置资源。

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

事件中心命名空间定义的全部内容。

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

指定应创建对事件中心命名空间具有发送访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithRegion(Region)

指定资源的区域。

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

按名称指定资源的区域。

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

指定命名空间 SKU。

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

将标记添加到资源。

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

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

(继承自 IDefinitionWithTags<T>)
WithThroughputUnitsUpperLimit(Int32)

指定允许自动标量纵向扩展的最大吞吐量单位。

(继承自 IWithThroughputConfiguration)

适用于