PartnerNamespace 類別
EventGrid 合作夥伴命名空間。
變數只會由伺服器填入,而且會在傳送要求時予以忽略。
必須填入所有必要的參數,才能傳送至 Azure。
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}。 :vartype partner_registration_fully_qualified_id: str :ivar minimum_tls_version_allowed:允許發行者的最低 TLS 版本發佈至
這個夥伴命名空間。 已知值為:「1.0」、「1.1」 和 「1.2」。
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}。 :p aramtype partner_registration_fully_qualified_id:str :keyword minimum_tls_version_allowed:允許發行者的最低 TLS 版本
至此夥伴命名空間。 已知值為:「1.0」、「1.1」 和 「1.2」。
- 繼承
-
azure.mgmt.eventgrid.models._models_py3.TrackedResourcePartnerNamespace
建構函式
PartnerNamespace(*, location: str, tags: Dict[str, str] | None = None, partner_registration_fully_qualified_id: str | None = None, minimum_tls_version_allowed: str | _models.TlsVersion | None = None, public_network_access: str | _models.PublicNetworkAccess | None = None, inbound_ip_rules: List[_models.InboundIpRule] | None = None, disable_local_auth: bool = False, partner_topic_routing_mode: str | _models.PartnerTopicRoutingMode = 'SourceEventAttribute', **kwargs: Any)
Keyword-Only Parameters
- location
- str
資源的位置。 必要。
- partner_registration_fully_qualified_id
應該與此夥伴命名空間相關聯的夥伴註冊完整 ARM 識別碼。 這會採用下列格式:
- public_network_access
- str 或 PublicNetworkAccess
這會判斷是否允許透過公用網路使用流量。 預設會啟用。
您可以藉由設定 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />
來進一步限制特定 IP。 已知值為:「Enabled」、「Disabled」 和 「SecuredByPerimeter」。
- inbound_ip_rules
- list[InboundIpRule]
這可用來限制來自特定 IP 的流量,而不是所有 IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。
- disable_local_auth
- bool
此布林值是用來啟用或停用本機驗證。預設值為 false。 當 屬性設定為 true 時,只有 AAD 權杖會用來驗證是否允許使用者發佈至夥伴命名空間。
- partner_topic_routing_mode
- str 或 PartnerTopicRoutingMode
這會判斷發佈至此夥伴命名空間的事件是否應該在事件承載中使用來源屬性,或在符合夥伴主題時使用標頭中的通道名稱。 如果未指定,則會使用來源屬性路由來比對合作夥伴主題。 已知值為:「SourceEventAttribute」 和 「ChannelNameHeader」。
- minimum_tls_version_allowed
變數
- id
- str
資源的完整識別碼。
- name
- str
資源名稱。
- type
- str
資源類型。
- location
- str
資源的位置。 必要。
- system_data
- SystemData
與合作夥伴命名空間資源相關的系統中繼資料。
- private_endpoint_connections
- list[PrivateEndpointConnection]
- provisioning_state
- str 或 PartnerNamespaceProvisioningState
合作夥伴命名空間的布建狀態。 已知值為:「建立」、「更新」、「刪除」、「成功」、「已取消」和「失敗」。
- partner_registration_fully_qualified_id
應該與此夥伴命名空間相關聯的夥伴註冊完整 ARM 識別碼。 這會採用下列格式:
- endpoint
- str
夥伴命名空間的端點。
- public_network_access
- str 或 PublicNetworkAccess
這會判斷是否允許透過公用網路使用流量。 預設會啟用。
您可以藉由設定 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />
來進一步限制特定 IP。 已知值為:「Enabled」、「Disabled」 和 「SecuredByPerimeter」。
- inbound_ip_rules
- list[InboundIpRule]
這可用來限制來自特定 IP 的流量,而不是所有 IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。
- disable_local_auth
- bool
此布林值是用來啟用或停用本機驗證。預設值為 false。 當 屬性設定為 true 時,只有 AAD 權杖會用來驗證是否允許使用者發佈至夥伴命名空間。
- partner_topic_routing_mode
- str 或 PartnerTopicRoutingMode
這會判斷發佈至此夥伴命名空間的事件是否應該在事件承載中使用來源屬性,或在符合夥伴主題時使用標頭中的通道名稱。 如果未指定,則會使用來源屬性路由來比對合作夥伴主題。 已知值為:「SourceEventAttribute」 和 「ChannelNameHeader」。
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應