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

TopicUpdateParameters 构造函数

定义

重载

TopicUpdateParameters()

初始化 TopicUpdateParameters 类的新实例。

TopicUpdateParameters(IDictionary<String,String>, IdentityInfo, String, IList<InboundIpRule>, Nullable<Boolean>, String)

初始化 TopicUpdateParameters 类的新实例。

TopicUpdateParameters()

初始化 TopicUpdateParameters 类的新实例。

public TopicUpdateParameters ();
Public Sub New ()

适用于

TopicUpdateParameters(IDictionary<String,String>, IdentityInfo, String, IList<InboundIpRule>, Nullable<Boolean>, String)

初始化 TopicUpdateParameters 类的新实例。

public TopicUpdateParameters (System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.EventGrid.Models.IdentityInfo identity = default, string publicNetworkAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> inboundIpRules = default, bool? disableLocalAuth = default, string dataResidencyBoundary = default);
new Microsoft.Azure.Management.EventGrid.Models.TopicUpdateParameters : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.EventGrid.Models.IdentityInfo * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.InboundIpRule> * Nullable<bool> * string -> Microsoft.Azure.Management.EventGrid.Models.TopicUpdateParameters
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As IdentityInfo = Nothing, Optional publicNetworkAccess As String = Nothing, Optional inboundIpRules As IList(Of InboundIpRule) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional dataResidencyBoundary As String = Nothing)

参数

tags
IDictionary<String,String>

主题资源的标记。

identity
IdentityInfo

主题资源标识信息。

publicNetworkAccess
String

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

inboundIpRules
IList<InboundIpRule>

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

disableLocalAuth
Nullable<Boolean>

此布尔值用于启用或禁用本地身份验证。默认值为 false。 当 属性设置为 true 时,如果允许用户发布到主题,则仅使用 AAD 令牌进行身份验证。

dataResidencyBoundary
String

主题的数据驻留边界。 可能的值包括:“WithinGeopair”、“WithinRegion”

适用于