Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
IPAction,
SkuName,
SkuTier,
KeySource,
IdentityType,
KeySource,
PrivateLinkConnectionStatus,
EndPointProvisioningState,
NetworkRuleIPAction,
Expand Down Expand Up @@ -205,8 +205,8 @@
'IPAction',
'SkuName',
'SkuTier',
'KeySource',
'IdentityType',
'KeySource',
'PrivateLinkConnectionStatus',
'EndPointProvisioningState',
'NetworkRuleIPAction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,8 @@ class SBNamespace(TrackedResource):
:type tags: dict[str, str]
:param sku: Properties of SKU
:type sku: ~azure.mgmt.servicebus.models.SBSku
:param identity: Properties of BYOK Identity description
:type identity: ~azure.mgmt.servicebus.models.Identity
:ivar provisioning_state: Provisioning state of the namespace.
:vartype provisioning_state: str
:ivar created_at: The time the namespace was created
Expand Down Expand Up @@ -1389,6 +1391,7 @@ class SBNamespace(TrackedResource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'SBSku'},
'identity': {'key': 'identity', 'type': 'Identity'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
Expand All @@ -1401,6 +1404,7 @@ class SBNamespace(TrackedResource):
def __init__(self, **kwargs):
super(SBNamespace, self).__init__(**kwargs)
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.provisioning_state = None
self.created_at = None
self.updated_at = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,8 @@ class SBNamespace(TrackedResource):
:type tags: dict[str, str]
:param sku: Properties of SKU
:type sku: ~azure.mgmt.servicebus.models.SBSku
:param identity: Properties of BYOK Identity description
:type identity: ~azure.mgmt.servicebus.models.Identity
:ivar provisioning_state: Provisioning state of the namespace.
:vartype provisioning_state: str
:ivar created_at: The time the namespace was created
Expand Down Expand Up @@ -1389,6 +1391,7 @@ class SBNamespace(TrackedResource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'SBSku'},
'identity': {'key': 'identity', 'type': 'Identity'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
Expand All @@ -1398,9 +1401,10 @@ class SBNamespace(TrackedResource):
'encryption': {'key': 'properties.encryption', 'type': 'Encryption'},
}

def __init__(self, *, location: str, tags=None, sku=None, zone_redundant: bool=None, encryption=None, **kwargs) -> None:
def __init__(self, *, location: str, tags=None, sku=None, identity=None, zone_redundant: bool=None, encryption=None, **kwargs) -> None:
super(SBNamespace, self).__init__(location=location, tags=tags, **kwargs)
self.sku = sku
self.identity = identity
self.provisioning_state = None
self.created_at = None
self.updated_at = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ class SkuTier(str, Enum):
premium = "Premium"


class KeySource(str, Enum):
class IdentityType(str, Enum):

microsoft_key_vault = "Microsoft.KeyVault"
system_assigned = "SystemAssigned"


class IdentityType(str, Enum):
class KeySource(str, Enum):

system_assigned = "SystemAssigned"
microsoft_key_vault = "Microsoft.KeyVault"


class PrivateLinkConnectionStatus(str, Enum):
Expand Down