Skip to content

Commit

Permalink
CodeGen from PR 15783 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
updated readme.python.md for Service Bus and Event Hub for 2021-06-01-preview (Azure#15783)

Co-authored-by: v-ajnava <[email protected]>
  • Loading branch information
SDKAuto and v-ajnava committed Aug 26, 2021
1 parent 3e3a397 commit a26e744
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/servicebus/azure-mgmt-servicebus/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "45bf753575c080524ca3439441430eb47d8b982f",
"commit": "b02f4a43614e4336128537ae09d84ffe45c6580b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicebus/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/servicebus/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,8 @@ class SBNamespace(TrackedResource):
:type identity: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1700,6 +1702,7 @@ class SBNamespace(TrackedResource):
'type': {'readonly': True},
'location': {'required': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -1715,6 +1718,7 @@ class SBNamespace(TrackedResource):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -1731,6 +1735,7 @@ def __init__(
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 @@ -1811,6 +1816,8 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
:type identity: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1831,6 +1838,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'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 @@ -1846,6 +1854,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -1862,6 +1871,7 @@ def __init__(
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
Original file line number Diff line number Diff line change
Expand Up @@ -1818,6 +1818,8 @@ class SBNamespace(TrackedResource):
:type identity: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1839,6 +1841,7 @@ class SBNamespace(TrackedResource):
'type': {'readonly': True},
'location': {'required': True},
'provisioning_state': {'readonly': True},
'status': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
'service_bus_endpoint': {'readonly': True},
Expand All @@ -1854,6 +1857,7 @@ class SBNamespace(TrackedResource):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -1877,6 +1881,7 @@ def __init__(
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 @@ -1962,6 +1967,8 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
:type identity: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1982,6 +1989,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'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 @@ -1997,6 +2005,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -2020,6 +2029,7 @@ def __init__(
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-01-01-preview",
"total_api_version_list": ["2017-04-01", "2021-01-01-preview"],
"total_api_version_list": ["2021-01-01-preview"],
"client": {
"name": "ServiceBusManagementClient",
"filename": "_service_bus_management_client",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicebus/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2017-04-01"
api_version = "2021-01-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,8 @@ class SBNamespace(TrackedResource):
:vartype system_data: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1441,6 +1443,7 @@ class SBNamespace(TrackedResource):
'location': {'required': 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 @@ -1457,6 +1460,7 @@ class SBNamespace(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 @@ -1475,6 +1479,7 @@ def __init__(
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 @@ -1529,6 +1534,8 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
:type identity: ~azure.mgmt.servicebus.v2021_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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1552,6 +1559,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'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 @@ -1567,6 +1575,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -1584,6 +1593,7 @@ def __init__(
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
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,8 @@ class SBNamespace(TrackedResource):
:vartype system_data: ~azure.mgmt.servicebus.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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1551,6 +1553,7 @@ class SBNamespace(TrackedResource):
'location': {'required': 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 @@ -1567,6 +1570,7 @@ class SBNamespace(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 @@ -1593,6 +1597,7 @@ def __init__(
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 @@ -1650,6 +1655,8 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
:type identity: ~azure.mgmt.servicebus.v2021_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.datetime
:ivar updated_at: The time the namespace was updated.
Expand All @@ -1673,6 +1680,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'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 @@ -1688,6 +1696,7 @@ class SBNamespaceUpdateParameters(ResourceNamespacePatch):
'sku': {'key': 'sku', 'type': 'SBSku'},
'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 @@ -1713,6 +1722,7 @@ def __init__(
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
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2017-04-01"
api_version = "2021-01-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down

0 comments on commit a26e744

Please sign in to comment.