Skip to content

Commit b208b2f

Browse files
Azure CLI BotSDKAuto
andauthored
[AutoRelease] t1-avs-2021-07-13-81506 (Azure#19771)
* CodeGen from PR 15133 in Azure/azure-rest-api-specs fix some AVS 2021-06-01 list examples (Azure#15133) * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent f3aa604 commit b208b2f

25 files changed

+9613
-150
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Release History
22

3+
## 2.0.0 (2021-07-13)
4+
5+
**Features**
6+
7+
- Model PrivateCloud has a new parameter external_cloud_links
8+
- Model MetricDimension has a new parameter internal_name
9+
- Model MetricDimension has a new parameter to_be_exported_for_shoebox
10+
- Added operation PrivateCloudsOperations.rotate_vcenter_password
11+
- Added operation PrivateCloudsOperations.rotate_nsxt_password
12+
- Added operation group ScriptExecutionsOperations
13+
- Added operation group DatastoresOperations
14+
- Added operation group CloudLinksOperations
15+
- Added operation group ScriptPackagesOperations
16+
- Added operation group WorkloadNetworksOperations
17+
- Added operation group ScriptCmdletsOperations
18+
- Added operation group AddonsOperations
19+
- Added operation group GlobalReachConnectionsOperations
20+
21+
**Breaking changes**
22+
23+
- Operation HcxEnterpriseSitesOperations.create_or_update has a new signature
24+
- Operation AuthorizationsOperations.create_or_update has a new signature
25+
326
## 1.0.0 (2020-11-11)
427

528
**Features**

sdk/compute/azure-mgmt-avs/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"autorest": "V2",
3+
"use": "@microsoft.azure/autorest.python@~4.0.71",
4+
"commit": "b91af17cf7e5d480dec66f50fa96b2e2f13a83f0",
5+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6+
"autorest_command": "autorest specification/vmware/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",
7+
"readme": "specification/vmware/resource-manager/readme.md"
8+
}

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

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@
1717
from .operations import LocationsOperations
1818
from .operations import PrivateCloudsOperations
1919
from .operations import ClustersOperations
20+
from .operations import DatastoresOperations
2021
from .operations import HcxEnterpriseSitesOperations
2122
from .operations import AuthorizationsOperations
23+
from .operations import GlobalReachConnectionsOperations
24+
from .operations import WorkloadNetworksOperations
25+
from .operations import CloudLinksOperations
26+
from .operations import AddonsOperations
27+
from .operations import ScriptPackagesOperations
28+
from .operations import ScriptCmdletsOperations
29+
from .operations import ScriptExecutionsOperations
2230
from . import models
2331

2432

@@ -36,10 +44,26 @@ class AVSClient(SDKClient):
3644
:vartype private_clouds: azure.mgmt.avs.operations.PrivateCloudsOperations
3745
:ivar clusters: Clusters operations
3846
:vartype clusters: azure.mgmt.avs.operations.ClustersOperations
47+
:ivar datastores: Datastores operations
48+
:vartype datastores: azure.mgmt.avs.operations.DatastoresOperations
3949
:ivar hcx_enterprise_sites: HcxEnterpriseSites operations
4050
:vartype hcx_enterprise_sites: azure.mgmt.avs.operations.HcxEnterpriseSitesOperations
4151
:ivar authorizations: Authorizations operations
4252
:vartype authorizations: azure.mgmt.avs.operations.AuthorizationsOperations
53+
:ivar global_reach_connections: GlobalReachConnections operations
54+
:vartype global_reach_connections: azure.mgmt.avs.operations.GlobalReachConnectionsOperations
55+
:ivar workload_networks: WorkloadNetworks operations
56+
:vartype workload_networks: azure.mgmt.avs.operations.WorkloadNetworksOperations
57+
:ivar cloud_links: CloudLinks operations
58+
:vartype cloud_links: azure.mgmt.avs.operations.CloudLinksOperations
59+
:ivar addons: Addons operations
60+
:vartype addons: azure.mgmt.avs.operations.AddonsOperations
61+
:ivar script_packages: ScriptPackages operations
62+
:vartype script_packages: azure.mgmt.avs.operations.ScriptPackagesOperations
63+
:ivar script_cmdlets: ScriptCmdlets operations
64+
:vartype script_cmdlets: azure.mgmt.avs.operations.ScriptCmdletsOperations
65+
:ivar script_executions: ScriptExecutions operations
66+
:vartype script_executions: azure.mgmt.avs.operations.ScriptExecutionsOperations
4367
4468
:param credentials: Credentials needed for the client to connect to Azure.
4569
:type credentials: :mod:`A msrestazure Credentials
@@ -56,7 +80,7 @@ def __init__(
5680
super(AVSClient, self).__init__(self.config.credentials, self.config)
5781

5882
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
59-
self.api_version = '2020-03-20'
83+
self.api_version = '2021-06-01'
6084
self._serialize = Serializer(client_models)
6185
self._deserialize = Deserializer(client_models)
6286

@@ -68,7 +92,23 @@ def __init__(
6892
self._client, self.config, self._serialize, self._deserialize)
6993
self.clusters = ClustersOperations(
7094
self._client, self.config, self._serialize, self._deserialize)
95+
self.datastores = DatastoresOperations(
96+
self._client, self.config, self._serialize, self._deserialize)
7197
self.hcx_enterprise_sites = HcxEnterpriseSitesOperations(
7298
self._client, self.config, self._serialize, self._deserialize)
7399
self.authorizations = AuthorizationsOperations(
74100
self._client, self.config, self._serialize, self._deserialize)
101+
self.global_reach_connections = GlobalReachConnectionsOperations(
102+
self._client, self.config, self._serialize, self._deserialize)
103+
self.workload_networks = WorkloadNetworksOperations(
104+
self._client, self.config, self._serialize, self._deserialize)
105+
self.cloud_links = CloudLinksOperations(
106+
self._client, self.config, self._serialize, self._deserialize)
107+
self.addons = AddonsOperations(
108+
self._client, self.config, self._serialize, self._deserialize)
109+
self.script_packages = ScriptPackagesOperations(
110+
self._client, self.config, self._serialize, self._deserialize)
111+
self.script_cmdlets = ScriptCmdletsOperations(
112+
self._client, self.config, self._serialize, self._deserialize)
113+
self.script_executions = ScriptExecutionsOperations(
114+
self._client, self.config, self._serialize, self._deserialize)

0 commit comments

Comments
 (0)