Skip to content

Commit

Permalink
CodeGen from PR 27329 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 5a28484040175608539f1bafc0907cd3f73a2b04 into f6dba71348ab2845d4ee1b2dab534c3ba5547e52
  • Loading branch information
SDKAuto committed Jan 10, 2024
1 parent d10e62d commit 0afeddc
Show file tree
Hide file tree
Showing 428 changed files with 8,019 additions and 8,349 deletions.
22 changes: 16 additions & 6 deletions sdk/databoxedge/azure-mgmt-databoxedge/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
{
"commit": "f1180941e238bc99ac71f9535ecd126bb8b77d8f",
"commit": "8ee8d2824c1e85015ff6d35788d72a6e33cd49d1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.4.0",
"@autorest/modelerfour@4.24.3"
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/databoxedge/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"readme": "specification/databoxedge/resource-manager/readme.md"
"autorest_command": "autorest specification/databoxedge/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"readme": "specification/databoxedge/resource-manager/readme.md",
"package-2022-03-01": "2022-04-18 06:37:29 +0300 5575aeff7364faef03c26a3661e1e64a6bb693a7 Microsoft.DataBoxEdge/stable/2022-03-01/databoxedge.json",
"package-2021-02-01": "2021-08-13 01:54:29 +0530 3b7f6403c2b2295b993cdfe8c033dff9619d8f13 Microsoft.DataBoxEdge/stable/2021-02-01/databoxedge.json",
"package-2021-02-01-preview": "2021-05-06 14:45:54 +0530 6266d33e5c87cfa38dc12b7ff33c594f4cc32f1e Microsoft.DataBoxEdge/preview/2021-02-01-preview/databoxedge.json",
"package-2020-12-01": "2021-02-24 10:24:29 +0530 8577daaf7e174e49904f89ae6478281289dc2860 Microsoft.DataBoxEdge/stable/2020-12-01/databoxedge.json",
"package-2020-09-01-preview": "2021-02-03 13:35:54 +0530 fbd281068937dcf905cb4a87a1c1a40646819bb4 Microsoft.DataBoxEdge/preview/2020-09-01-preview/databoxedge.json",
"package-2020-09-01": "2021-02-03 13:35:54 +0530 fbd281068937dcf905cb4a87a1c1a40646819bb4 Microsoft.DataBoxEdge/preview/2020-09-01-preview/databoxedge.json",
"package-2020-05-preview": "2020-11-03 10:36:22 +0530 ced4891d7f95a4ee3a83e14b5c8abcf2122d9856 Microsoft.DataBoxEdge/preview/2020-05-01-preview/databoxedge.json",
"package-2019-08": "2020-03-11 15:41:00 +0800 4032896969cbaec08c6438972fbb08ac309b0967 Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json",
"package-2019-07": "2019-09-18 22:45:44 -0400 cd39848a8a35a212d8e3e7f18b9b6dfd43ee6cdc Microsoft.DataBoxEdge/stable/2019-07-01/databoxedge.json",
"package-2019-03": "2019-09-18 22:45:44 -0400 cd39848a8a35a212d8e3e7f18b9b6dfd43ee6cdc Microsoft.DataBoxEdge/stable/2019-03-01/databoxedge.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def __init__(
profile: KnownProfiles=KnownProfiles.default,
**kwargs: Any
):
if api_version:
kwargs.setdefault('api_version', api_version)
self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(DataBoxEdgeManagementClient, self).__init__(
Expand Down Expand Up @@ -157,7 +159,7 @@ def addons(self):
else:
raise ValueError("API version {} does not have operation group 'addons'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def alerts(self):
Expand Down Expand Up @@ -198,7 +200,7 @@ def alerts(self):
else:
raise ValueError("API version {} does not have operation group 'alerts'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def available_skus(self):
Expand Down Expand Up @@ -230,7 +232,7 @@ def available_skus(self):
else:
raise ValueError("API version {} does not have operation group 'available_skus'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def bandwidth_schedules(self):
Expand Down Expand Up @@ -271,7 +273,7 @@ def bandwidth_schedules(self):
else:
raise ValueError("API version {} does not have operation group 'bandwidth_schedules'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def containers(self):
Expand Down Expand Up @@ -306,7 +308,7 @@ def containers(self):
else:
raise ValueError("API version {} does not have operation group 'containers'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def device_capacity_check(self):
Expand All @@ -320,7 +322,7 @@ def device_capacity_check(self):
else:
raise ValueError("API version {} does not have operation group 'device_capacity_check'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def device_capacity_info(self):
Expand All @@ -334,7 +336,7 @@ def device_capacity_info(self):
else:
raise ValueError("API version {} does not have operation group 'device_capacity_info'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def devices(self):
Expand Down Expand Up @@ -375,7 +377,7 @@ def devices(self):
else:
raise ValueError("API version {} does not have operation group 'devices'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def diagnostic_settings(self):
Expand All @@ -392,7 +394,7 @@ def diagnostic_settings(self):
else:
raise ValueError("API version {} does not have operation group 'diagnostic_settings'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def jobs(self):
Expand Down Expand Up @@ -433,7 +435,7 @@ def jobs(self):
else:
raise ValueError("API version {} does not have operation group 'jobs'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def monitoring_config(self):
Expand Down Expand Up @@ -462,7 +464,7 @@ def monitoring_config(self):
else:
raise ValueError("API version {} does not have operation group 'monitoring_config'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def nodes(self):
Expand Down Expand Up @@ -500,7 +502,7 @@ def nodes(self):
else:
raise ValueError("API version {} does not have operation group 'nodes'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def operations(self):
Expand Down Expand Up @@ -541,7 +543,7 @@ def operations(self):
else:
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def operations_status(self):
Expand Down Expand Up @@ -582,7 +584,7 @@ def operations_status(self):
else:
raise ValueError("API version {} does not have operation group 'operations_status'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def orders(self):
Expand Down Expand Up @@ -623,7 +625,7 @@ def orders(self):
else:
raise ValueError("API version {} does not have operation group 'orders'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def roles(self):
Expand Down Expand Up @@ -664,7 +666,7 @@ def roles(self):
else:
raise ValueError("API version {} does not have operation group 'roles'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def shares(self):
Expand Down Expand Up @@ -705,7 +707,7 @@ def shares(self):
else:
raise ValueError("API version {} does not have operation group 'shares'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def skus(self):
Expand All @@ -722,7 +724,7 @@ def skus(self):
else:
raise ValueError("API version {} does not have operation group 'skus'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def storage_account_credentials(self):
Expand Down Expand Up @@ -763,7 +765,7 @@ def storage_account_credentials(self):
else:
raise ValueError("API version {} does not have operation group 'storage_account_credentials'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def storage_accounts(self):
Expand Down Expand Up @@ -798,7 +800,7 @@ def storage_accounts(self):
else:
raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def support_packages(self):
Expand All @@ -815,7 +817,7 @@ def support_packages(self):
else:
raise ValueError("API version {} does not have operation group 'support_packages'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def triggers(self):
Expand Down Expand Up @@ -856,7 +858,7 @@ def triggers(self):
else:
raise ValueError("API version {} does not have operation group 'triggers'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

@property
def users(self):
Expand Down Expand Up @@ -897,7 +899,7 @@ def users(self):
else:
raise ValueError("API version {} does not have operation group 'users'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)), api_version)

def close(self):
self._client.close()
Expand Down
Loading

0 comments on commit 0afeddc

Please sign in to comment.