Skip to content

Commit d6bd0c3

Browse files
Azure CLI BotSDKAutomsyyc
authored
[AutoRelease] t2-avs-2021-10-26-52978(Do not merge) (#21422)
* CodeGen from PR 16426 in Azure/azure-rest-api-specs publish Microsoft.AVS 2021-12-01 API (#16426) * copy 2021-06-01 API * replace "2021-06-01" with "2021-12-01" * add 2021-12-01 changes * update readme * add go * add java * fix go * version,CHANGELOG * Update CHANGELOG.md Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 46670b3 commit d6bd0c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3520
-258
lines changed

sdk/compute/azure-mgmt-avs/CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Release History
22

3+
## 7.0.0 (2021-11-11)
4+
5+
**Features**
6+
7+
- Model PrivateCloudUpdateProperties has a new parameter encryption
8+
- Model PrivateCloudUpdateProperties has a new parameter availability
9+
- Model PrivateCloud has a new parameter secondary_circuit
10+
- Model PrivateCloud has a new parameter identity
11+
- Model PrivateCloud has a new parameter encryption
12+
- Model PrivateCloud has a new parameter availability
13+
- Model PrivateCloudProperties has a new parameter secondary_circuit
14+
- Model PrivateCloudProperties has a new parameter encryption
15+
- Model PrivateCloudProperties has a new parameter availability
16+
- Model PrivateCloudUpdate has a new parameter identity
17+
- Model PrivateCloudUpdate has a new parameter encryption
18+
- Model PrivateCloudUpdate has a new parameter availability
19+
- Model GlobalReachConnection has a new parameter express_route_id
20+
- Model ClusterUpdate has a new parameter hosts
21+
- Model ExpressRouteAuthorization has a new parameter express_route_id
22+
- Model Datastore has a new parameter status
23+
- Added operation group VirtualMachinesOperations
24+
- Added operation group PlacementPoliciesOperations
25+
326
## 7.0.0b1 (2021-07-13)
427

528
This is beta preview version.

sdk/compute/azure-mgmt-avs/_meta.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.4.5",
33
"use": [
4-
"@autorest/[email protected].3",
4+
"@autorest/[email protected].4",
55
"@autorest/[email protected]"
66
],
7-
"commit": "b91af17cf7e5d480dec66f50fa96b2e2f13a83f0",
7+
"commit": "69e98508ef71f09851b2a79971d2d8e12560adc5",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/vmware/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].3 --use=@autorest/[email protected] --version=3.4.5",
9+
"autorest_command": "autorest specification/vmware/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].4 --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/vmware/resource-manager/readme.md"
1111
}

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_avs_client.py

+10
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
from .operations import WorkloadNetworksOperations
3131
from .operations import CloudLinksOperations
3232
from .operations import AddonsOperations
33+
from .operations import VirtualMachinesOperations
34+
from .operations import PlacementPoliciesOperations
3335
from .operations import ScriptPackagesOperations
3436
from .operations import ScriptCmdletsOperations
3537
from .operations import ScriptExecutionsOperations
@@ -61,6 +63,10 @@ class AVSClient(object):
6163
:vartype cloud_links: azure.mgmt.avs.operations.CloudLinksOperations
6264
:ivar addons: AddonsOperations operations
6365
:vartype addons: azure.mgmt.avs.operations.AddonsOperations
66+
:ivar virtual_machines: VirtualMachinesOperations operations
67+
:vartype virtual_machines: azure.mgmt.avs.operations.VirtualMachinesOperations
68+
:ivar placement_policies: PlacementPoliciesOperations operations
69+
:vartype placement_policies: azure.mgmt.avs.operations.PlacementPoliciesOperations
6470
:ivar script_packages: ScriptPackagesOperations operations
6571
:vartype script_packages: azure.mgmt.avs.operations.ScriptPackagesOperations
6672
:ivar script_cmdlets: ScriptCmdletsOperations operations
@@ -115,6 +121,10 @@ def __init__(
115121
self._client, self._config, self._serialize, self._deserialize)
116122
self.addons = AddonsOperations(
117123
self._client, self._config, self._serialize, self._deserialize)
124+
self.virtual_machines = VirtualMachinesOperations(
125+
self._client, self._config, self._serialize, self._deserialize)
126+
self.placement_policies = PlacementPoliciesOperations(
127+
self._client, self._config, self._serialize, self._deserialize)
118128
self.script_packages = ScriptPackagesOperations(
119129
self._client, self._config, self._serialize, self._deserialize)
120130
self.script_cmdlets = ScriptCmdletsOperations(

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2021-06-01"
51+
self.api_version = "2021-12-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-avs/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_metadata.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-06-01",
3-
"total_api_version_list": ["2021-06-01"],
2+
"chosen_version": "2021-12-01",
3+
"total_api_version_list": ["2021-12-01"],
44
"client": {
55
"name": "AVSClient",
66
"filename": "_avs_client",
@@ -109,6 +109,8 @@
109109
"workload_networks": "WorkloadNetworksOperations",
110110
"cloud_links": "CloudLinksOperations",
111111
"addons": "AddonsOperations",
112+
"virtual_machines": "VirtualMachinesOperations",
113+
"placement_policies": "PlacementPoliciesOperations",
112114
"script_packages": "ScriptPackagesOperations",
113115
"script_cmdlets": "ScriptCmdletsOperations",
114116
"script_executions": "ScriptExecutionsOperations"

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0b1"
9+
VERSION = "7.0.0"

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/_avs_client.py

+10
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
from .operations import WorkloadNetworksOperations
2929
from .operations import CloudLinksOperations
3030
from .operations import AddonsOperations
31+
from .operations import VirtualMachinesOperations
32+
from .operations import PlacementPoliciesOperations
3133
from .operations import ScriptPackagesOperations
3234
from .operations import ScriptCmdletsOperations
3335
from .operations import ScriptExecutionsOperations
@@ -59,6 +61,10 @@ class AVSClient(object):
5961
:vartype cloud_links: azure.mgmt.avs.aio.operations.CloudLinksOperations
6062
:ivar addons: AddonsOperations operations
6163
:vartype addons: azure.mgmt.avs.aio.operations.AddonsOperations
64+
:ivar virtual_machines: VirtualMachinesOperations operations
65+
:vartype virtual_machines: azure.mgmt.avs.aio.operations.VirtualMachinesOperations
66+
:ivar placement_policies: PlacementPoliciesOperations operations
67+
:vartype placement_policies: azure.mgmt.avs.aio.operations.PlacementPoliciesOperations
6268
:ivar script_packages: ScriptPackagesOperations operations
6369
:vartype script_packages: azure.mgmt.avs.aio.operations.ScriptPackagesOperations
6470
:ivar script_cmdlets: ScriptCmdletsOperations operations
@@ -112,6 +118,10 @@ def __init__(
112118
self._client, self._config, self._serialize, self._deserialize)
113119
self.addons = AddonsOperations(
114120
self._client, self._config, self._serialize, self._deserialize)
121+
self.virtual_machines = VirtualMachinesOperations(
122+
self._client, self._config, self._serialize, self._deserialize)
123+
self.placement_policies = PlacementPoliciesOperations(
124+
self._client, self._config, self._serialize, self._deserialize)
115125
self.script_packages = ScriptPackagesOperations(
116126
self._client, self._config, self._serialize, self._deserialize)
117127
self.script_cmdlets = ScriptCmdletsOperations(

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/_configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2021-06-01"
48+
self.api_version = "2021-12-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-avs/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from ._workload_networks_operations import WorkloadNetworksOperations
1818
from ._cloud_links_operations import CloudLinksOperations
1919
from ._addons_operations import AddonsOperations
20+
from ._virtual_machines_operations import VirtualMachinesOperations
21+
from ._placement_policies_operations import PlacementPoliciesOperations
2022
from ._script_packages_operations import ScriptPackagesOperations
2123
from ._script_cmdlets_operations import ScriptCmdletsOperations
2224
from ._script_executions_operations import ScriptExecutionsOperations
@@ -33,6 +35,8 @@
3335
'WorkloadNetworksOperations',
3436
'CloudLinksOperations',
3537
'AddonsOperations',
38+
'VirtualMachinesOperations',
39+
'PlacementPoliciesOperations',
3640
'ScriptPackagesOperations',
3741
'ScriptCmdletsOperations',
3842
'ScriptExecutionsOperations',

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_addons_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-12-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-12-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_or_update_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-06-01"
199+
api_version = "2021-12-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -332,7 +332,7 @@ async def _delete_initial(
332332
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
333333
}
334334
error_map.update(kwargs.pop('error_map', {}))
335-
api_version = "2021-06-01"
335+
api_version = "2021-12-01"
336336
accept = "application/json"
337337

338338
# Construct URL

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_authorizations_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-12-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-12-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_or_update_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-06-01"
199+
api_version = "2021-12-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -332,7 +332,7 @@ async def _delete_initial(
332332
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
333333
}
334334
error_map.update(kwargs.pop('error_map', {}))
335-
api_version = "2021-06-01"
335+
api_version = "2021-12-01"
336336
accept = "application/json"
337337

338338
# Construct URL

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_cloud_links_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-12-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-12-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_or_update_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-06-01"
199+
api_version = "2021-12-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -332,7 +332,7 @@ async def _delete_initial(
332332
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
333333
}
334334
error_map.update(kwargs.pop('error_map', {}))
335-
api_version = "2021-06-01"
335+
api_version = "2021-12-01"
336336
accept = "application/json"
337337

338338
# Construct URL

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_clusters_operations.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-12-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-12-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_or_update_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-06-01"
199+
api_version = "2021-12-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -333,7 +333,7 @@ async def _update_initial(
333333
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
334334
}
335335
error_map.update(kwargs.pop('error_map', {}))
336-
api_version = "2021-06-01"
336+
api_version = "2021-12-01"
337337
content_type = kwargs.pop("content_type", "application/json")
338338
accept = "application/json"
339339

@@ -469,7 +469,7 @@ async def _delete_initial(
469469
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
470470
}
471471
error_map.update(kwargs.pop('error_map', {}))
472-
api_version = "2021-06-01"
472+
api_version = "2021-12-01"
473473
accept = "application/json"
474474

475475
# Construct URL

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_datastores_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def list(
7070
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7171
}
7272
error_map.update(kwargs.pop('error_map', {}))
73-
api_version = "2021-06-01"
73+
api_version = "2021-12-01"
7474
accept = "application/json"
7575

7676
def prepare_request(next_link=None):
@@ -153,7 +153,7 @@ async def get(
153153
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
154154
}
155155
error_map.update(kwargs.pop('error_map', {}))
156-
api_version = "2021-06-01"
156+
api_version = "2021-12-01"
157157
accept = "application/json"
158158

159159
# Construct URL
@@ -205,7 +205,7 @@ async def _create_or_update_initial(
205205
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
206206
}
207207
error_map.update(kwargs.pop('error_map', {}))
208-
api_version = "2021-06-01"
208+
api_version = "2021-12-01"
209209
content_type = kwargs.pop("content_type", "application/json")
210210
accept = "application/json"
211211

@@ -348,7 +348,7 @@ async def _delete_initial(
348348
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
349349
}
350350
error_map.update(kwargs.pop('error_map', {}))
351-
api_version = "2021-06-01"
351+
api_version = "2021-12-01"
352352
accept = "application/json"
353353

354354
# Construct URL

sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/operations/_global_reach_connections_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-12-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-12-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_or_update_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-06-01"
199+
api_version = "2021-12-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -332,7 +332,7 @@ async def _delete_initial(
332332
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
333333
}
334334
error_map.update(kwargs.pop('error_map', {}))
335-
api_version = "2021-06-01"
335+
api_version = "2021-12-01"
336336
accept = "application/json"
337337

338338
# Construct URL

0 commit comments

Comments
 (0)