NamespaceProperties Class
The metadata related to a Service Bus namespace.
Please use the get_namespace_properties
on the ServiceBusAdministrationClient to get a
NamespaceProperties
instance instead of instantiating a NamespaceProperties
object directly.
- Inheritance
-
azure.servicebus.management._models.DictMixinNamespaceProperties
Constructor
NamespaceProperties(name: str, *, alias: str | None, created_at_utc: datetime | None, messaging_sku: str | MessagingSku | None, messaging_units: int | None, modified_at_utc: datetime | None, namespace_type: str | NamespaceType | None)
Parameters
Name | Description |
---|---|
name
Required
|
Name of the namespace. |
Keyword-Only Parameters
Name | Description |
---|---|
alias
|
Alias for the geo-disaster recovery Service Bus namespace. |
created_at_utc
|
The exact time the namespace was created. |
messaging_sku
|
str or
MessagingSku
The SKU for the messaging entity. Possible values include: "Basic", "Standard", "Premium". |
messaging_units
|
The number of messaging units allocated to the namespace. |
modified_at_utc
|
The exact time the namespace was last modified. |
namespace_type
|
str or
NamespaceType
The type of entities the namespace can contain. Known values are: "Messaging", "NotificationHub", "Mixed", "EventHub", and "Relay". |
Variables
Name | Description |
---|---|
alias
|
Alias for the geo-disaster recovery Service Bus namespace. |
created_at_utc
|
The exact time the namespace was created. |
messaging_sku
|
str or
MessagingSku
The SKU for the messaging entity. Possible values include: "Basic", "Standard", "Premium". |
messaging_units
|
The number of messaging units allocated to the namespace. |
modified_at_utc
|
The exact time the namespace was last modified. |
name
|
Name of the namespace. |
namespace_type
|
str or
<xref:azure.servicebus.management._generated.models.NamespaceType>
The type of entities the namespace can contain. Known values are: "Messaging", "NotificationHub", "Mixed", "EventHub", and "Relay". |
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: str, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
has_key
has_key(k: str) -> bool
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items() -> List[Tuple[str, Any]]
keys
keys() -> List[str]
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> List[Any]
Azure SDK for Python