Skip to content

Commit

Permalink
Generated from 803a95fe7ae9fe25519ed17b13c994846ed58747
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 22, 2020
1 parent 51c048e commit 805975f
Show file tree
Hide file tree
Showing 16 changed files with 4,390 additions and 96 deletions.
17 changes: 16 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 @@ -14,11 +14,14 @@

from ._configuration import AVSClientConfiguration
from .operations import Operations
from .operations import DefaultStoragePoliciesOperations
from .operations import LocationsOperations
from .operations import PrivateCloudsOperations
from .operations import ClustersOperations
from .operations import HcxEnterpriseSitesOperations
from .operations import AuthorizationsOperations
from .operations import GlobalReachConnectionsOperations
from .operations import WorkloadNetworksOperations
from . import models


Expand All @@ -30,6 +33,8 @@ class AVSClient(SDKClient):
:ivar operations: Operations operations
:vartype operations: azure.mgmt.avs.operations.Operations
:ivar default_storage_policies: DefaultStoragePolicies operations
:vartype default_storage_policies: azure.mgmt.avs.operations.DefaultStoragePoliciesOperations
:ivar locations: Locations operations
:vartype locations: azure.mgmt.avs.operations.LocationsOperations
:ivar private_clouds: PrivateClouds operations
Expand All @@ -40,6 +45,10 @@ class AVSClient(SDKClient):
:vartype hcx_enterprise_sites: azure.mgmt.avs.operations.HcxEnterpriseSitesOperations
:ivar authorizations: Authorizations operations
:vartype authorizations: azure.mgmt.avs.operations.AuthorizationsOperations
:ivar global_reach_connections: GlobalReachConnections operations
:vartype global_reach_connections: azure.mgmt.avs.operations.GlobalReachConnectionsOperations
:ivar workload_networks: WorkloadNetworks operations
:vartype workload_networks: azure.mgmt.avs.operations.WorkloadNetworksOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -56,12 +65,14 @@ 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 = '2020-03-20'
self.api_version = '2020-07-17-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.default_storage_policies = DefaultStoragePoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_clouds = PrivateCloudsOperations(
Expand All @@ -72,3 +83,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.authorizations = AuthorizationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.global_reach_connections = GlobalReachConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workload_networks = WorkloadNetworksOperations(
self._client, self.config, self._serialize, self._deserialize)
98 changes: 95 additions & 3 deletions sdk/compute/azure-mgmt-avs/azure/mgmt/avs/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,94 @@
from ._models_py3 import Circuit
from ._models_py3 import Cluster
from ._models_py3 import ClusterUpdate
from ._models_py3 import ClusterUpdateProperties
from ._models_py3 import Endpoints
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorResponse
from ._models_py3 import ExpressRouteAuthorization
from ._models_py3 import GlobalReachConnection
from ._models_py3 import HcxEnterpriseSite
from ._models_py3 import IdentitySource
from ._models_py3 import LogSpecification
from ._models_py3 import ManagementCluster
from ._models_py3 import MetricDimension
from ._models_py3 import MetricSpecification
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationProperties
from ._models_py3 import PrivateCloud
from ._models_py3 import PrivateCloudUpdate
from ._models_py3 import ProxyResource
from ._models_py3 import Quota
from ._models_py3 import Resource
from ._models_py3 import ServiceSpecification
from ._models_py3 import Sku
from ._models_py3 import TrackedResource
from ._models_py3 import Trial
from ._models_py3 import WorkloadNetworkDhcp
from ._models_py3 import WorkloadNetworkDhcpEntity
from ._models_py3 import WorkloadNetworkDhcpRelay
from ._models_py3 import WorkloadNetworkDhcpServer
from ._models_py3 import WorkloadNetworkGateway
from ._models_py3 import WorkloadNetworkGatewayProperties
from ._models_py3 import WorkloadNetworkPortMirroring
from ._models_py3 import WorkloadNetworkSegment
from ._models_py3 import WorkloadNetworkSegmentPortVif
from ._models_py3 import WorkloadNetworkSegmentSubnet
from ._models_py3 import WorkloadNetworkVirtualMachine
from ._models_py3 import WorkloadNetworkVMGroup
except (SyntaxError, ImportError):
from ._models import AdminCredentials
from ._models import Circuit
from ._models import Cluster
from ._models import ClusterUpdate
from ._models import ClusterUpdateProperties
from ._models import Endpoints
from ._models import ErrorAdditionalInfo
from ._models import ErrorResponse
from ._models import ExpressRouteAuthorization
from ._models import GlobalReachConnection
from ._models import HcxEnterpriseSite
from ._models import IdentitySource
from ._models import LogSpecification
from ._models import ManagementCluster
from ._models import MetricDimension
from ._models import MetricSpecification
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationProperties
from ._models import PrivateCloud
from ._models import PrivateCloudUpdate
from ._models import ProxyResource
from ._models import Quota
from ._models import Resource
from ._models import ServiceSpecification
from ._models import Sku
from ._models import TrackedResource
from ._models import Trial
from ._models import WorkloadNetworkDhcp
from ._models import WorkloadNetworkDhcpEntity
from ._models import WorkloadNetworkDhcpRelay
from ._models import WorkloadNetworkDhcpServer
from ._models import WorkloadNetworkGateway
from ._models import WorkloadNetworkGatewayProperties
from ._models import WorkloadNetworkPortMirroring
from ._models import WorkloadNetworkSegment
from ._models import WorkloadNetworkSegmentPortVif
from ._models import WorkloadNetworkSegmentSubnet
from ._models import WorkloadNetworkVirtualMachine
from ._models import WorkloadNetworkVMGroup
from ._paged_models import ClusterPaged
from ._paged_models import ExpressRouteAuthorizationPaged
from ._paged_models import GlobalReachConnectionPaged
from ._paged_models import HcxEnterpriseSitePaged
from ._paged_models import OperationPaged
from ._paged_models import PrivateCloudPaged
from ._paged_models import StrPaged
from ._paged_models import WorkloadNetworkDhcpPaged
from ._paged_models import WorkloadNetworkGatewayPaged
from ._paged_models import WorkloadNetworkPortMirroringPaged
from ._paged_models import WorkloadNetworkSegmentPaged
from ._paged_models import WorkloadNetworkVirtualMachinePaged
from ._paged_models import WorkloadNetworkVMGroupPaged
from ._avs_client_enums import (
TrialStatus,
QuotaEnabled,
Expand All @@ -67,35 +111,72 @@
InternetEnum,
ClusterProvisioningState,
HcxEnterpriseSiteStatus,
GlobalReachConnectionProvisioningState,
GlobalReachConnectionStatus,
SegmentStatusEnum,
WorkloadNetworkSegmentProvisioningState,
WorkloadNetworkDhcpProvisioningState,
PortMirroringDirectionEnum,
PortMirroringStatusEnum,
WorkloadNetworkPortMirroringProvisioningState,
VMGroupStatusEnum,
WorkloadNetworkVMGroupProvisioningState,
VMTypeEnum,
)

__all__ = [
'AdminCredentials',
'Circuit',
'Cluster',
'ClusterUpdate',
'ClusterUpdateProperties',
'Endpoints',
'ErrorAdditionalInfo',
'ErrorResponse',
'ExpressRouteAuthorization',
'GlobalReachConnection',
'HcxEnterpriseSite',
'IdentitySource',
'LogSpecification',
'ManagementCluster',
'MetricDimension',
'MetricSpecification',
'Operation',
'OperationDisplay',
'OperationProperties',
'PrivateCloud',
'PrivateCloudUpdate',
'ProxyResource',
'Quota',
'Resource',
'ServiceSpecification',
'Sku',
'TrackedResource',
'Trial',
'WorkloadNetworkDhcp',
'WorkloadNetworkDhcpEntity',
'WorkloadNetworkDhcpRelay',
'WorkloadNetworkDhcpServer',
'WorkloadNetworkGateway',
'WorkloadNetworkGatewayProperties',
'WorkloadNetworkPortMirroring',
'WorkloadNetworkSegment',
'WorkloadNetworkSegmentPortVif',
'WorkloadNetworkSegmentSubnet',
'WorkloadNetworkVirtualMachine',
'WorkloadNetworkVMGroup',
'OperationPaged',
'StrPaged',
'PrivateCloudPaged',
'ClusterPaged',
'HcxEnterpriseSitePaged',
'ExpressRouteAuthorizationPaged',
'GlobalReachConnectionPaged',
'WorkloadNetworkSegmentPaged',
'WorkloadNetworkDhcpPaged',
'WorkloadNetworkGatewayPaged',
'WorkloadNetworkPortMirroringPaged',
'WorkloadNetworkVMGroupPaged',
'WorkloadNetworkVirtualMachinePaged',
'TrialStatus',
'QuotaEnabled',
'ExpressRouteAuthorizationProvisioningState',
Expand All @@ -104,4 +185,15 @@
'InternetEnum',
'ClusterProvisioningState',
'HcxEnterpriseSiteStatus',
'GlobalReachConnectionProvisioningState',
'GlobalReachConnectionStatus',
'SegmentStatusEnum',
'WorkloadNetworkSegmentProvisioningState',
'WorkloadNetworkDhcpProvisioningState',
'PortMirroringDirectionEnum',
'PortMirroringStatusEnum',
'WorkloadNetworkPortMirroringProvisioningState',
'VMGroupStatusEnum',
'WorkloadNetworkVMGroupProvisioningState',
'VMTypeEnum',
]
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,78 @@ class HcxEnterpriseSiteStatus(str, Enum):
consumed = "Consumed"
deactivated = "Deactivated"
deleted = "Deleted"


class GlobalReachConnectionProvisioningState(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
updating = "Updating"


class GlobalReachConnectionStatus(str, Enum):

connected = "Connected"
connecting = "Connecting"
disconnected = "Disconnected"


class SegmentStatusEnum(str, Enum):

successfailure = "SUCCESS, FAILURE"


class WorkloadNetworkSegmentProvisioningState(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
building = "Building"
deleting = "Deleting"
updating = "Updating"


class WorkloadNetworkDhcpProvisioningState(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
building = "Building"
deleting = "Deleting"
updating = "Updating"


class PortMirroringDirectionEnum(str, Enum):

ingressegressbidirectional = "INGRESS, EGRESS, BIDIRECTIONAL"


class PortMirroringStatusEnum(str, Enum):

successfailure = "SUCCESS, FAILURE"


class WorkloadNetworkPortMirroringProvisioningState(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
building = "Building"
deleting = "Deleting"
updating = "Updating"


class VMGroupStatusEnum(str, Enum):

successfailure = "SUCCESS, FAILURE"


class WorkloadNetworkVMGroupProvisioningState(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
building = "Building"
deleting = "Deleting"
updating = "Updating"


class VMTypeEnum(str, Enum):

regularedgeservice = "REGULAR, EDGE, SERVICE"
Loading

0 comments on commit 805975f

Please sign in to comment.