PartnerNamespace Class
EventGrid Partner Namespace.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. # pylint: disable=line-too-long :vartype partner_registration_fully_qualified_id: str :ivar minimum_tls_version_allowed: Minimum TLS version of the publisher allowed to publish to
this partner namespace. Known values are: "1.0", "1.1", and "1.2".
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. # pylint: disable=line-too-long :paramtype partner_registration_fully_qualified_id: str :keyword minimum_tls_version_allowed: Minimum TLS version of the publisher allowed to publish
to this partner namespace. Known values are: "1.0", "1.1", and "1.2".
- Inheritance
-
azure.mgmt.eventgrid.models._models_py3.TrackedResourcePartnerNamespace
Constructor
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
Name | Description |
---|---|
location
|
Location of the resource. Required. |
tags
|
Tags of the resource. |
partner_registration_fully_qualified_id
|
The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: |
public_network_access
|
This determines if traffic is allowed over public network. By
default it is enabled.
You can further restrict to specific IPs by configuring |
inbound_ip_rules
|
This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. |
disable_local_auth
|
This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. |
partner_topic_routing_mode
|
This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. Known values are: "SourceEventAttribute" and "ChannelNameHeader". Default value: SourceEventAttribute
|
minimum_tls_version_allowed
Required
|
|
Variables
Name | Description |
---|---|
id
|
Fully qualified identifier of the resource. |
name
|
Name of the resource. |
type
|
Type of the resource. |
location
|
Location of the resource. Required. |
tags
|
Tags of the resource. |
system_data
|
The system metadata relating to Partner Namespace resource. |
private_endpoint_connections
|
List of private endpoint connections. |
provisioning_state
|
Provisioning state of the partner namespace. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", and "Failed". |
partner_registration_fully_qualified_id
|
The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: |
endpoint
|
Endpoint for the partner namespace. |
public_network_access
|
This determines if traffic is allowed over public network. By
default it is enabled.
You can further restrict to specific IPs by configuring |
inbound_ip_rules
|
This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. |
disable_local_auth
|
This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. |
partner_topic_routing_mode
|
This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. Known values are: "SourceEventAttribute" and "ChannelNameHeader". |
Azure SDK for Python