Skip to content

Commit

Permalink
CodeGen from PR 15233 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 02d87b1a31d92b14e2a408094668418b133992ae into e7682aa
  • Loading branch information
SDKAuto committed Jul 19, 2021
1 parent eefe43b commit 30d1cca
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": "c669ae350ed27d12163331ea375c63c1d2e5017b",
"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 30d1cca

Please sign in to comment.