Skip to content

Commit

Permalink
CodeGen from PR 15748 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0c31b27b29aa543e20e0290dfa83af1963c1c04a into 09c9f24
  • Loading branch information
SDKAuto committed Aug 24, 2021
1 parent 03516c3 commit 3c7b6b8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sdk/eventhub/azure-mgmt-eventhub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "243dc16d38ca0f0d251efa2d216468a670cd8beb",
"commit": "0226f7f5ee3e9a1f2dfc35540b74c394f9fda10d",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/eventhub/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/eventhub/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ class ClusterSku(Model):

_validation = {
'name': {'required': True, 'constant': True},
'capacity': {'maximum': 32, 'minimum': 1},
'capacity': {'minimum': 1},
}

_attribute_map = {
Expand Down Expand Up @@ -631,6 +631,8 @@ class EHNamespace(TrackedResource):
:type identity: ~azure.mgmt.eventhub.v2018_01_01_preview.models.Identity
:ivar provisioning_state: Provisioning state of the Namespace.
:vartype provisioning_state: str
:ivar status: Status of the Namespace.
:vartype status: str
:ivar created_at: The time the Namespace was created.
:vartype created_at: datetime
:ivar updated_at: The time the Namespace was updated.
Expand Down Expand Up @@ -665,6 +667,7 @@ class EHNamespace(TrackedResource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -681,6 +684,7 @@ class EHNamespace(TrackedResource):
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'Identity'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'},
Expand All @@ -698,6 +702,7 @@ def __init__(self, **kwargs):
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.provisioning_state = None
self.status = None
self.created_at = None
self.updated_at = None
self.service_bus_endpoint = None
Expand Down Expand Up @@ -1360,7 +1365,7 @@ class Sku(Model):

_validation = {
'name': {'required': True},
'capacity': {'maximum': 20, 'minimum': 0},
'capacity': {'minimum': 0},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ class ClusterSku(Model):

_validation = {
'name': {'required': True, 'constant': True},
'capacity': {'maximum': 32, 'minimum': 1},
'capacity': {'minimum': 1},
}

_attribute_map = {
Expand Down Expand Up @@ -631,6 +631,8 @@ class EHNamespace(TrackedResource):
:type identity: ~azure.mgmt.eventhub.v2018_01_01_preview.models.Identity
:ivar provisioning_state: Provisioning state of the Namespace.
:vartype provisioning_state: str
:ivar status: Status of the Namespace.
:vartype status: str
:ivar created_at: The time the Namespace was created.
:vartype created_at: datetime
:ivar updated_at: The time the Namespace was updated.
Expand Down Expand Up @@ -665,6 +667,7 @@ class EHNamespace(TrackedResource):
'name': {'readonly': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -681,6 +684,7 @@ class EHNamespace(TrackedResource):
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'Identity'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'},
Expand All @@ -698,6 +702,7 @@ def __init__(self, *, location: str=None, tags=None, sku=None, identity=None, cl
self.sku = sku
self.identity = identity
self.provisioning_state = None
self.status = None
self.created_at = None
self.updated_at = None
self.service_bus_endpoint = None
Expand Down Expand Up @@ -1360,7 +1365,7 @@ class Sku(Model):

_validation = {
'name': {'required': True},
'capacity': {'maximum': 20, 'minimum': 0},
'capacity': {'minimum': 0},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ class EHNamespace(TrackedResource):
~azure.mgmt.eventhub.v2021_01_01_preview.models.SystemData
:ivar provisioning_state: Provisioning state of the Namespace.
:vartype provisioning_state: str
:ivar status: Status of the Namespace.
:vartype status: str
:ivar created_at: The time the Namespace was created.
:vartype created_at: datetime
:ivar updated_at: The time the Namespace was updated.
Expand Down Expand Up @@ -544,6 +546,7 @@ class EHNamespace(TrackedResource):
'type': {'readonly': True},
'system_data': {'readonly': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -561,6 +564,7 @@ class EHNamespace(TrackedResource):
'identity': {'key': 'identity', 'type': 'Identity'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'},
Expand All @@ -580,6 +584,7 @@ def __init__(self, **kwargs):
self.identity = kwargs.get('identity', None)
self.system_data = None
self.provisioning_state = None
self.status = None
self.created_at = None
self.updated_at = None
self.service_bus_endpoint = None
Expand Down Expand Up @@ -1167,7 +1172,7 @@ class Sku(Model):

_validation = {
'name': {'required': True},
'capacity': {'maximum': 20, 'minimum': 0},
'capacity': {'minimum': 0},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ class EHNamespace(TrackedResource):
~azure.mgmt.eventhub.v2021_01_01_preview.models.SystemData
:ivar provisioning_state: Provisioning state of the Namespace.
:vartype provisioning_state: str
:ivar status: Status of the Namespace.
:vartype status: str
:ivar created_at: The time the Namespace was created.
:vartype created_at: datetime
:ivar updated_at: The time the Namespace was updated.
Expand Down Expand Up @@ -544,6 +546,7 @@ class EHNamespace(TrackedResource):
'type': {'readonly': True},
'system_data': {'readonly': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -561,6 +564,7 @@ class EHNamespace(TrackedResource):
'identity': {'key': 'identity', 'type': 'Identity'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'created_at': {'key': 'properties.createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'properties.updatedAt', 'type': 'iso-8601'},
'service_bus_endpoint': {'key': 'properties.serviceBusEndpoint', 'type': 'str'},
Expand All @@ -580,6 +584,7 @@ def __init__(self, *, location: str=None, tags=None, sku=None, identity=None, cl
self.identity = identity
self.system_data = None
self.provisioning_state = None
self.status = None
self.created_at = None
self.updated_at = None
self.service_bus_endpoint = None
Expand Down Expand Up @@ -1167,7 +1172,7 @@ class Sku(Model):

_validation = {
'name': {'required': True},
'capacity': {'maximum': 20, 'minimum': 0},
'capacity': {'minimum': 0},
}

_attribute_map = {
Expand Down

0 comments on commit 3c7b6b8

Please sign in to comment.