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.ResourceNamespaceResource
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
|
Resource location. |
tags
|
A set of tags. Resource tags. |
sku
|
The sku of the created namespace. |
name_properties_name
|
The name of the namespace. |
provisioning_state
|
Provisioning state of the Namespace. |
region
|
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
|
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
|
Endpoint you can use to perform NotificationHub operations. |
subscription_id
|
The Id of the Azure subscription associated with the namespace. |
scale_unit
|
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
|
Data center for the namespace. |
namespace_type
|
str or
NamespaceType
The namespace type. Possible values include: "Messaging", "NotificationHub". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. |
tags
|
A set of tags. Resource tags. |
sku
|
The sku of the created namespace. |
name_properties_name
|
The name of the namespace. |
provisioning_state
|
Provisioning state of the Namespace. |
region
|
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
|
Identifier for Azure Insights metrics. |
status
|
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
|
Endpoint you can use to perform NotificationHub operations. |
subscription_id
|
The Id of the Azure subscription associated with the namespace. |
scale_unit
|
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
|
Data center for the namespace. |
namespace_type
|
str or
NamespaceType
The namespace type. Possible values include: "Messaging", "NotificationHub". |
Azure SDK for Python