NamespaceResource Class

Description of a Namespace resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.notificationhubs.models._models_py3.Resource
NamespaceResource

Constructor

NamespaceResource(*, location: str | None = None, tags: Dict[str, str] | None = None, sku: Sku | None = None, name_properties_name: str | None = None, provisioning_state: str | None = None, region: str | None = None, status: str | None = None, created_at: datetime | None = None, updated_at: datetime | None = None, service_bus_endpoint: str | None = None, subscription_id: str | None = None, scale_unit: str | None = None, enabled: bool | None = None, critical: bool | None = None, data_center: str | None = None, namespace_type: str | NamespaceType | None = None, **kwargs)

Keyword-Only Parameters

Name Description
location
str

Resource location.

tags

A set of tags. Resource tags.

sku
Sku

The sku of the created namespace.

name_properties_name
str

The name of the namespace.

provisioning_state
str

Provisioning state of the Namespace.

region
str

Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe.

status
str

Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting.

created_at

The time the namespace was created.

updated_at

The time the namespace was updated.

service_bus_endpoint
str

Endpoint you can use to perform NotificationHub operations.

subscription_id
str

The Id of the Azure subscription associated with the namespace.

scale_unit
str

ScaleUnit where the namespace gets created.

enabled

Whether or not the namespace is currently enabled.

critical

Whether or not the namespace is set as Critical.

data_center
str

Data center for the namespace.

namespace_type

The namespace type. Possible values include: "Messaging", "NotificationHub".

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

A set of tags. Resource tags.

sku
Sku

The sku of the created namespace.

name_properties_name
str

The name of the namespace.

provisioning_state
str

Provisioning state of the Namespace.

region
str

Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe.

metric_id
str

Identifier for Azure Insights metrics.

status
str

Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting.

created_at

The time the namespace was created.

updated_at

The time the namespace was updated.

service_bus_endpoint
str

Endpoint you can use to perform NotificationHub operations.

subscription_id
str

The Id of the Azure subscription associated with the namespace.

scale_unit
str

ScaleUnit where the namespace gets created.

enabled

Whether or not the namespace is currently enabled.

critical

Whether or not the namespace is set as Critical.

data_center
str

Data center for the namespace.

namespace_type

The namespace type. Possible values include: "Messaging", "NotificationHub".