Namespace Class

Namespace resource.

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.

Inheritance
azure.mgmt.eventgrid.models._models_py3.TrackedResource
Namespace

Constructor

Namespace(*, location: str, tags: Dict[str, str] | None = None, sku: _models.NamespaceSku | None = None, identity: _models.IdentityInfo | None = None, private_endpoint_connections: List[_models.PrivateEndpointConnection] | None = None, topics_configuration: _models.TopicsConfiguration | None = None, topic_spaces_configuration: _models.TopicSpacesConfiguration | None = None, is_zone_redundant: bool | None = None, public_network_access: str | _models.PublicNetworkAccess | None = None, inbound_ip_rules: List[_models.InboundIpRule] | None = None, minimum_tls_version_allowed: str | _models.TlsVersion | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Location of the resource. Required.

tags

Tags of the resource.

sku

Represents available Sku pricing tiers.

identity

Identity information for the Namespace resource.

private_endpoint_connections

List of private endpoint connections.

topics_configuration

Topics configuration information for the namespace resource.

topic_spaces_configuration

Topic spaces configuration information for the namespace resource.

is_zone_redundant

This is an optional property and it allows the user to specify if the namespace resource supports zone-redundancy capability or not. If this property is not specified explicitly by the user, its default value depends on the following conditions:

  1. For Availability Zones enabled regions - The default property value would be true.

  2. For non-Availability Zones enabled regions - The default property value would be false.

Once specified, this property cannot be updated.

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 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules" />. Known values are: "Enabled", "Disabled", and "SecuredByPerimeter".

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.

minimum_tls_version_allowed

Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported. Known values are: "1.0", "1.1", and "1.2".

Variables

Name Description
id
str

Fully qualified identifier of the resource.

name
str

Name of the resource.

type
str

Type of the resource.

location
str

Location of the resource. Required.

tags

Tags of the resource.

sku

Represents available Sku pricing tiers.

identity

Identity information for the Namespace resource.

system_data

The system metadata relating to the namespace resource.

private_endpoint_connections

List of private endpoint connections.

provisioning_state

Provisioning state of the namespace resource. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", "Deleted", "DeleteFailed", "CreateFailed", and "UpdatedFailed".

topics_configuration

Topics configuration information for the namespace resource.

topic_spaces_configuration

Topic spaces configuration information for the namespace resource.

is_zone_redundant

This is an optional property and it allows the user to specify if the namespace resource supports zone-redundancy capability or not. If this property is not specified explicitly by the user, its default value depends on the following conditions:

  1. For Availability Zones enabled regions - The default property value would be true.

  2. For non-Availability Zones enabled regions - The default property value would be false.

Once specified, this property cannot be updated.

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 <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules" />. Known values are: "Enabled", "Disabled", and "SecuredByPerimeter".

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.

minimum_tls_version_allowed

Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported. Known values are: "1.0", "1.1", and "1.2".