共用方式為


TopicUpdateParameters 類別

主題更新的屬性。

繼承
TopicUpdateParameters

建構函式

TopicUpdateParameters(*, tags: Dict[str, str] | None = None, identity: IdentityInfo | None = None, public_network_access: str | PublicNetworkAccess | None = None, inbound_ip_rules: List[InboundIpRule] | None = None, disable_local_auth: bool | None = None, data_residency_boundary: str | DataResidencyBoundary | None = None, **kwargs)

變數

tags
dict[str, str]

一組標記。 主題資源的標記。

identity
IdentityInfo

主題資源識別資訊。

public_network_access
strPublicNetworkAccess

這會判斷是否允許透過公用網路使用流量。 預設會啟用。 您可以藉由設定 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" /> 來進一步限制特定 IP。 可能的值包括:「Enabled」、「Disabled」。

inbound_ip_rules
list[InboundIpRule]

這可用來限制來自特定 IP 的流量,而不是所有 IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。

disable_local_auth
bool

此布林值是用來啟用或停用本機驗證。預設值為 false。 當 屬性設定為 true 時,如果允許使用者發佈至主題,則只會使用 AAD 權杖來驗證。

data_residency_boundary
strDataResidencyBoundary

主題的資料落地界限。 可能的值包括:「WithinGeopair」、「WithinRegion」。