Skip to content

Commit

Permalink
CodeGen from PR 17002 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e3d727dac88692c28f5709082bb25f867673e4af into 52f9379
  • Loading branch information
SDKAuto committed Dec 10, 2021
1 parent 3a14782 commit 022df4a
Show file tree
Hide file tree
Showing 24 changed files with 1,990 additions and 111 deletions.
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-avs/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "b91af17cf7e5d480dec66f50fa96b2e2f13a83f0",
"commit": "f3239bd9bf919139e1fbc8fb1a32349c5e2191b9",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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 --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/vmware/resource-manager/readme.md"
Expand Down
12 changes: 11 additions & 1 deletion sdk/compute/azure-mgmt-avs/azure/mgmt/avs/_avs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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 @@ -58,6 +60,10 @@ class AVSClient(SDKClient):
:vartype cloud_links: azure.mgmt.avs.operations.CloudLinksOperations
:ivar addons: Addons operations
:vartype addons: azure.mgmt.avs.operations.AddonsOperations
:ivar virtual_machines: VirtualMachines operations
:vartype virtual_machines: azure.mgmt.avs.operations.VirtualMachinesOperations
:ivar placement_policies: PlacementPolicies operations
:vartype placement_policies: azure.mgmt.avs.operations.PlacementPoliciesOperations
:ivar script_packages: ScriptPackages operations
:vartype script_packages: azure.mgmt.avs.operations.ScriptPackagesOperations
:ivar script_cmdlets: ScriptCmdlets operations
Expand All @@ -80,7 +86,7 @@ def __init__(
super(AVSClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2021-06-01'
self.api_version = '2021-12-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -106,6 +112,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
57 changes: 57 additions & 0 deletions sdk/compute/azure-mgmt-avs/azure/mgmt/avs/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@
from ._models_py3 import AddonSrmProperties
from ._models_py3 import AddonVrProperties
from ._models_py3 import AdminCredentials
from ._models_py3 import AvailabilityProperties
from ._models_py3 import Circuit
from ._models_py3 import CloudLink
from ._models_py3 import Cluster
from ._models_py3 import ClusterUpdate
from ._models_py3 import CommonClusterProperties
from ._models_py3 import Datastore
from ._models_py3 import DiskPoolVolume
from ._models_py3 import Encryption
from ._models_py3 import EncryptionKeyVaultProperties
from ._models_py3 import Endpoints
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorResponse
Expand All @@ -38,7 +41,11 @@
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationProperties
from ._models_py3 import PlacementPolicy
from ._models_py3 import PlacementPolicyProperties
from ._models_py3 import PlacementPolicyUpdate
from ._models_py3 import PrivateCloud
from ._models_py3 import PrivateCloudIdentity
from ._models_py3 import PrivateCloudUpdate
from ._models_py3 import ProxyResource
from ._models_py3 import PSCredentialExecutionParameter
Expand All @@ -55,6 +62,10 @@
from ._models_py3 import Sku
from ._models_py3 import TrackedResource
from ._models_py3 import Trial
from ._models_py3 import VirtualMachine
from ._models_py3 import VirtualMachineRestrictMovement
from ._models_py3 import VmHostPlacementPolicyProperties
from ._models_py3 import VmVmPlacementPolicyProperties
from ._models_py3 import WorkloadNetworkDhcp
from ._models_py3 import WorkloadNetworkDhcpEntity
from ._models_py3 import WorkloadNetworkDhcpRelay
Expand All @@ -76,13 +87,16 @@
from ._models import AddonSrmProperties
from ._models import AddonVrProperties
from ._models import AdminCredentials
from ._models import AvailabilityProperties
from ._models import Circuit
from ._models import CloudLink
from ._models import Cluster
from ._models import ClusterUpdate
from ._models import CommonClusterProperties
from ._models import Datastore
from ._models import DiskPoolVolume
from ._models import Encryption
from ._models import EncryptionKeyVaultProperties
from ._models import Endpoints
from ._models import ErrorAdditionalInfo
from ._models import ErrorResponse
Expand All @@ -98,7 +112,11 @@
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationProperties
from ._models import PlacementPolicy
from ._models import PlacementPolicyProperties
from ._models import PlacementPolicyUpdate
from ._models import PrivateCloud
from ._models import PrivateCloudIdentity
from ._models import PrivateCloudUpdate
from ._models import ProxyResource
from ._models import PSCredentialExecutionParameter
Expand All @@ -115,6 +133,10 @@
from ._models import Sku
from ._models import TrackedResource
from ._models import Trial
from ._models import VirtualMachine
from ._models import VirtualMachineRestrictMovement
from ._models import VmHostPlacementPolicyProperties
from ._models import VmVmPlacementPolicyProperties
from ._models import WorkloadNetworkDhcp
from ._models import WorkloadNetworkDhcpEntity
from ._models import WorkloadNetworkDhcpRelay
Expand All @@ -137,10 +159,12 @@
from ._paged_models import GlobalReachConnectionPaged
from ._paged_models import HcxEnterpriseSitePaged
from ._paged_models import OperationPaged
from ._paged_models import PlacementPolicyPaged
from ._paged_models import PrivateCloudPaged
from ._paged_models import ScriptCmdletPaged
from ._paged_models import ScriptExecutionPaged
from ._paged_models import ScriptPackagePaged
from ._paged_models import VirtualMachinePaged
from ._paged_models import WorkloadNetworkDhcpPaged
from ._paged_models import WorkloadNetworkDnsServicePaged
from ._paged_models import WorkloadNetworkDnsZonePaged
Expand All @@ -154,13 +178,19 @@
TrialStatus,
QuotaEnabled,
ExpressRouteAuthorizationProvisioningState,
EncryptionKeyStatus,
EncryptionVersionType,
EncryptionState,
SslEnum,
AvailabilityStrategy,
PrivateCloudProvisioningState,
ResourceIdentityType,
InternetEnum,
ClusterProvisioningState,
AddonProvisioningState,
DatastoreProvisioningState,
MountOptionEnum,
DatastoreStatus,
HcxEnterpriseSiteStatus,
GlobalReachConnectionProvisioningState,
GlobalReachConnectionStatus,
Expand All @@ -179,6 +209,10 @@
WorkloadNetworkDnsServiceProvisioningState,
WorkloadNetworkDnsZoneProvisioningState,
WorkloadNetworkPublicIPProvisioningState,
VirtualMachineRestrictMovementState,
PlacementPolicyState,
PlacementPolicyProvisioningState,
AffinityType,
ScriptParameterTypes,
VisibilityParameterEnum,
OptionalParamEnum,
Expand All @@ -193,13 +227,16 @@
'AddonSrmProperties',
'AddonVrProperties',
'AdminCredentials',
'AvailabilityProperties',
'Circuit',
'CloudLink',
'Cluster',
'ClusterUpdate',
'CommonClusterProperties',
'Datastore',
'DiskPoolVolume',
'Encryption',
'EncryptionKeyVaultProperties',
'Endpoints',
'ErrorAdditionalInfo',
'ErrorResponse',
Expand All @@ -215,7 +252,11 @@
'Operation',
'OperationDisplay',
'OperationProperties',
'PlacementPolicy',
'PlacementPolicyProperties',
'PlacementPolicyUpdate',
'PrivateCloud',
'PrivateCloudIdentity',
'PrivateCloudUpdate',
'ProxyResource',
'PSCredentialExecutionParameter',
Expand All @@ -232,6 +273,10 @@
'Sku',
'TrackedResource',
'Trial',
'VirtualMachine',
'VirtualMachineRestrictMovement',
'VmHostPlacementPolicyProperties',
'VmVmPlacementPolicyProperties',
'WorkloadNetworkDhcp',
'WorkloadNetworkDhcpEntity',
'WorkloadNetworkDhcpRelay',
Expand Down Expand Up @@ -264,19 +309,27 @@
'WorkloadNetworkPublicIPPaged',
'CloudLinkPaged',
'AddonPaged',
'VirtualMachinePaged',
'PlacementPolicyPaged',
'ScriptPackagePaged',
'ScriptCmdletPaged',
'ScriptExecutionPaged',
'TrialStatus',
'QuotaEnabled',
'ExpressRouteAuthorizationProvisioningState',
'EncryptionKeyStatus',
'EncryptionVersionType',
'EncryptionState',
'SslEnum',
'AvailabilityStrategy',
'PrivateCloudProvisioningState',
'ResourceIdentityType',
'InternetEnum',
'ClusterProvisioningState',
'AddonProvisioningState',
'DatastoreProvisioningState',
'MountOptionEnum',
'DatastoreStatus',
'HcxEnterpriseSiteStatus',
'GlobalReachConnectionProvisioningState',
'GlobalReachConnectionStatus',
Expand All @@ -295,6 +348,10 @@
'WorkloadNetworkDnsServiceProvisioningState',
'WorkloadNetworkDnsZoneProvisioningState',
'WorkloadNetworkPublicIPProvisioningState',
'VirtualMachineRestrictMovementState',
'PlacementPolicyState',
'PlacementPolicyProvisioningState',
'AffinityType',
'ScriptParameterTypes',
'VisibilityParameterEnum',
'OptionalParamEnum',
Expand Down
Loading

0 comments on commit 022df4a

Please sign in to comment.