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)
變數
- identity
- IdentityInfo
主題資源識別資訊。
- public_network_access
- str 或 PublicNetworkAccess
這會判斷是否允許透過公用網路使用流量。 預設會啟用。
您可以藉由設定 <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
- str 或 DataResidencyBoundary
主題的資料落地界限。 可能的值包括:「WithinGeopair」、「WithinRegion」。
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應