Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-avs] publish Microsoft.AVS 2021-12-01 API #7763

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/compute/azure-mgmt-avs/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.5",
"use": [
"@autorest/[email protected].3",
"@autorest/[email protected].4",
"@autorest/[email protected]"
],
"commit": "b91af17cf7e5d480dec66f50fa96b2e2f13a83f0",
"commit": "cec8ffe4ec5ab6f8c18371a8b8af4b5ec4159bf2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"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",
"readme": "specification/vmware/resource-manager/readme.md"
}
10 changes: 10 additions & 0 deletions sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_avs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
from .operations import WorkloadNetworksOperations
from .operations import CloudLinksOperations
from .operations import AddonsOperations
from .operations import VirtualMachinesOperations
from .operations import PlacementPoliciesOperations
from .operations import ScriptPackagesOperations
from .operations import ScriptCmdletsOperations
from .operations import ScriptExecutionsOperations
Expand Down Expand Up @@ -61,6 +63,10 @@ class AVSClient(object):
:vartype cloud_links: azure.mgmt.avs.operations.CloudLinksOperations
:ivar addons: AddonsOperations operations
:vartype addons: azure.mgmt.avs.operations.AddonsOperations
:ivar virtual_machines: VirtualMachinesOperations operations
:vartype virtual_machines: azure.mgmt.avs.operations.VirtualMachinesOperations
:ivar placement_policies: PlacementPoliciesOperations operations
:vartype placement_policies: azure.mgmt.avs.operations.PlacementPoliciesOperations
:ivar script_packages: ScriptPackagesOperations operations
:vartype script_packages: azure.mgmt.avs.operations.ScriptPackagesOperations
:ivar script_cmdlets: ScriptCmdletsOperations operations
Expand Down Expand Up @@ -115,6 +121,10 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.addons = AddonsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_machines = VirtualMachinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.placement_policies = PlacementPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.script_packages = ScriptPackagesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.script_cmdlets = ScriptCmdletsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.api_version = "2021-12-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-avs/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
6 changes: 4 additions & 2 deletions sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-06-01",
"total_api_version_list": ["2021-06-01"],
"chosen_version": "2021-12-01",
"total_api_version_list": ["2021-12-01"],
"client": {
"name": "AVSClient",
"filename": "_avs_client",
Expand Down Expand Up @@ -109,6 +109,8 @@
"workload_networks": "WorkloadNetworksOperations",
"cloud_links": "CloudLinksOperations",
"addons": "AddonsOperations",
"virtual_machines": "VirtualMachinesOperations",
"placement_policies": "PlacementPoliciesOperations",
"script_packages": "ScriptPackagesOperations",
"script_cmdlets": "ScriptCmdletsOperations",
"script_executions": "ScriptExecutionsOperations"
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "7.0.0b1"
VERSION = "1.0.0b1"
10 changes: 10 additions & 0 deletions sdk/compute/azure-mgmt-avs/azure/mgmt/avs/aio/_avs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
from .operations import WorkloadNetworksOperations
from .operations import CloudLinksOperations
from .operations import AddonsOperations
from .operations import VirtualMachinesOperations
from .operations import PlacementPoliciesOperations
from .operations import ScriptPackagesOperations
from .operations import ScriptCmdletsOperations
from .operations import ScriptExecutionsOperations
Expand Down Expand Up @@ -59,6 +61,10 @@ class AVSClient(object):
:vartype cloud_links: azure.mgmt.avs.aio.operations.CloudLinksOperations
:ivar addons: AddonsOperations operations
:vartype addons: azure.mgmt.avs.aio.operations.AddonsOperations
:ivar virtual_machines: VirtualMachinesOperations operations
:vartype virtual_machines: azure.mgmt.avs.aio.operations.VirtualMachinesOperations
:ivar placement_policies: PlacementPoliciesOperations operations
:vartype placement_policies: azure.mgmt.avs.aio.operations.PlacementPoliciesOperations
:ivar script_packages: ScriptPackagesOperations operations
:vartype script_packages: azure.mgmt.avs.aio.operations.ScriptPackagesOperations
:ivar script_cmdlets: ScriptCmdletsOperations operations
Expand Down Expand Up @@ -112,6 +118,10 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.addons = AddonsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_machines = VirtualMachinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.placement_policies = PlacementPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.script_packages = ScriptPackagesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.script_cmdlets = ScriptCmdletsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.api_version = "2021-12-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-avs/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
from ._workload_networks_operations import WorkloadNetworksOperations
from ._cloud_links_operations import CloudLinksOperations
from ._addons_operations import AddonsOperations
from ._virtual_machines_operations import VirtualMachinesOperations
from ._placement_policies_operations import PlacementPoliciesOperations
from ._script_packages_operations import ScriptPackagesOperations
from ._script_cmdlets_operations import ScriptCmdletsOperations
from ._script_executions_operations import ScriptExecutionsOperations
Expand All @@ -33,6 +35,8 @@
'WorkloadNetworksOperations',
'CloudLinksOperations',
'AddonsOperations',
'VirtualMachinesOperations',
'PlacementPoliciesOperations',
'ScriptPackagesOperations',
'ScriptCmdletsOperations',
'ScriptExecutionsOperations',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -333,7 +333,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -205,7 +205,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -144,7 +144,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -211,7 +211,7 @@ async def create_or_update(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -284,7 +284,7 @@ async def delete(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-12-01"
accept = "application/json"

# Construct URL
Expand Down
Loading