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

PartnerNamespace 构造函数

定义

重载

PartnerNamespace()

初始化 PartnerNamespace 类的新实例。

PartnerNamespace(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, String, String, String, IList<InboundIpRule>, Nullable<Boolean>, String, SystemData)

初始化 PartnerNamespace 类的新实例。

PartnerNamespace()

初始化 PartnerNamespace 类的新实例。

public PartnerNamespace ();
Public Sub New ()

适用于

PartnerNamespace(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, String, String, String, IList<InboundIpRule>, Nullable<Boolean>, String, SystemData)

初始化 PartnerNamespace 类的新实例。

public PartnerNamespace (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> privateEndpointConnections = default, string provisioningState = default, string partnerRegistrationFullyQualifiedId = default, string endpoint = default, string publicNetworkAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> inboundIpRules = default, bool? disableLocalAuth = default, string partnerTopicRoutingMode = default, Microsoft.Azure.Management.EventGrid.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventGrid.Models.PartnerNamespace : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> * Nullable<bool> * string * Microsoft.Azure.Management.EventGrid.Models.SystemData -> Microsoft.Azure.Management.EventGrid.Models.PartnerNamespace
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional provisioningState As String = Nothing, Optional partnerRegistrationFullyQualifiedId As String = Nothing, Optional endpoint As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional inboundIpRules As IList(Of InboundIpRule) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional partnerTopicRoutingMode As String = Nothing, Optional systemData As SystemData = Nothing)

参数

location
String

资源的位置。

id
String

资源的完全限定标识符。

name
String

资源的名称。

type
String

资源的类型。

tags
IDictionary<String,String>

资源的标记。

privateEndpointConnections
IList<PrivateEndpointConnection>
provisioningState
String

合作伙伴命名空间的预配状态。 可能的值包括:“Create”、“Updateing”、“删除”、“Succeeded”、“Canceled”、“Failed”

partnerRegistrationFullyQualifiedId
String

应与此合作伙伴命名空间关联的合作伙伴注册的完全限定的 ARM ID。 这采用以下格式:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}。

endpoint
String

合作伙伴命名空间的终结点。

publicNetworkAccess
String

这确定是否允许通过公用网络流量。 默认情况下,它处于启用状态。 可以通过配置 <seealso cref=“P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules” />来进一步限制为特定 IP。 可能的值包括:“Enabled”、“Disabled”

inboundIpRules
IList<InboundIpRule>

这可用于限制来自特定 IP 而不是所有 IP 的流量。 注意:仅当启用了 PublicNetworkAccess 时,才会考虑这些项。

disableLocalAuth
Nullable<Boolean>

此布尔值用于启用或禁用本地身份验证。默认值为 false。 当 属性设置为 true 时,如果用户被允许发布到合作伙伴命名空间,则仅使用 AAD 令牌进行身份验证。

partnerTopicRoutingMode
String

这将确定发布到此合作伙伴命名空间的事件在与合作伙伴主题匹配时应使用事件有效负载中的源属性,还是应使用标头中的通道名称。 如果未指定任何内容,则将使用源属性路由来匹配合作伙伴主题。 可能的值包括:“SourceEventAttribute”、“ChannelNameHeader”

systemData
SystemData

与合作伙伴命名空间资源相关的系统元数据。

适用于