Skip to content

Commit

Permalink
Generated from a5d693b7b2d7ad780e275a07e1535ca9b8794beb
Browse files Browse the repository at this point in the history
extensions can be readOnly too
  • Loading branch information
SDK Automation committed Sep 3, 2020
1 parent f3360b4 commit 631241e
Show file tree
Hide file tree
Showing 14 changed files with 2,339 additions and 602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@
from .operations import MachinesOperations
from .operations import MachineExtensionsOperations
from .operations import Operations
from .operations import PrivateLinkScopesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkScopedResourcesOperations
from . import models


class HybridComputeManagementClient(SDKClient):
"""The Hybrid Compute Management Client.
"""HybridComputeManagementClient
:ivar config: Configuration for client.
:vartype config: HybridComputeManagementClientConfiguration
Expand All @@ -31,6 +35,14 @@ class HybridComputeManagementClient(SDKClient):
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
:ivar private_link_scopes: PrivateLinkScopes operations
:vartype private_link_scopes: azure.mgmt.hybridcompute.operations.PrivateLinkScopesOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.hybridcompute.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.hybridcompute.operations.PrivateEndpointConnectionsOperations
:ivar private_link_scoped_resources: PrivateLinkScopedResources operations
:vartype private_link_scoped_resources: azure.mgmt.hybridcompute.operations.PrivateLinkScopedResourcesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -47,7 +59,7 @@ def __init__(
super(HybridComputeManagementClient, 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 = '2019-12-12'
self.api_version = '2020-08-15-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -57,3 +69,11 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_scopes = PrivateLinkScopesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_scoped_resources = PrivateLinkScopedResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseCommon
from ._models_py3 import ErrorResponseV2, ErrorResponseV2Exception
from ._models_py3 import ErrorResponseV2Error
from ._models_py3 import HybridComputePrivateLinkScope
from ._models_py3 import Identity
from ._models_py3 import LocationData
from ._models_py3 import Machine
Expand All @@ -27,28 +31,31 @@
from ._models_py3 import MachineIdentity
from ._models_py3 import MachineProperties
from ._models_py3 import MachinePropertiesOsProfile
from ._models_py3 import MachineReconnect
from ._models_py3 import MachineReconnectProperties
from ._models_py3 import MachineUpdate
from ._models_py3 import MachineUpdateProperties
from ._models_py3 import OperationValue
from ._models_py3 import OperationValueDisplayModel
from ._models_py3 import OSProfile
from ._models_py3 import Plan
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointProperty
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkScopesResource
from ._models_py3 import PrivateLinkServiceConnectionStateProperty
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import ResourceModelWithAllowedPropertySet
from ._models_py3 import ResourceModelWithAllowedPropertySetIdentity
from ._models_py3 import ResourceModelWithAllowedPropertySetPlan
from ._models_py3 import ResourceModelWithAllowedPropertySetSku
from ._models_py3 import Sku
from ._models_py3 import ScopedResource
from ._models_py3 import TagsResource
from ._models_py3 import TrackedResource
from ._models_py3 import UpdateResource
except (SyntaxError, ImportError):
from ._models import AzureEntityResource
from ._models import ErrorAdditionalInfo
from ._models import ErrorDetail
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseCommon
from ._models import ErrorResponseV2, ErrorResponseV2Exception
from ._models import ErrorResponseV2Error
from ._models import HybridComputePrivateLinkScope
from ._models import Identity
from ._models import LocationData
from ._models import Machine
Expand All @@ -62,31 +69,33 @@
from ._models import MachineIdentity
from ._models import MachineProperties
from ._models import MachinePropertiesOsProfile
from ._models import MachineReconnect
from ._models import MachineReconnectProperties
from ._models import MachineUpdate
from ._models import MachineUpdateProperties
from ._models import OperationValue
from ._models import OperationValueDisplayModel
from ._models import OSProfile
from ._models import Plan
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointProperty
from ._models import PrivateLinkResource
from ._models import PrivateLinkScopesResource
from ._models import PrivateLinkServiceConnectionStateProperty
from ._models import ProxyResource
from ._models import Resource
from ._models import ResourceModelWithAllowedPropertySet
from ._models import ResourceModelWithAllowedPropertySetIdentity
from ._models import ResourceModelWithAllowedPropertySetPlan
from ._models import ResourceModelWithAllowedPropertySetSku
from ._models import Sku
from ._models import ScopedResource
from ._models import TagsResource
from ._models import TrackedResource
from ._models import UpdateResource
from ._paged_models import HybridComputePrivateLinkScopePaged
from ._paged_models import MachineExtensionPaged
from ._paged_models import MachinePaged
from ._paged_models import OperationValuePaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import ScopedResourcePaged
from ._hybrid_compute_management_client_enums import (
StatusTypes,
StatusLevelTypes,
SkuTier,
ResourceIdentityType,
PublicNetworkAccessType,
InstanceViewTypes,
)

Expand All @@ -95,6 +104,10 @@
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseCommon',
'ErrorResponseV2', 'ErrorResponseV2Exception',
'ErrorResponseV2Error',
'HybridComputePrivateLinkScope',
'Identity',
'LocationData',
'Machine',
Expand All @@ -108,29 +121,31 @@
'MachineIdentity',
'MachineProperties',
'MachinePropertiesOsProfile',
'MachineReconnect',
'MachineReconnectProperties',
'MachineUpdate',
'MachineUpdateProperties',
'OperationValue',
'OperationValueDisplayModel',
'OSProfile',
'Plan',
'PrivateEndpointConnection',
'PrivateEndpointProperty',
'PrivateLinkResource',
'PrivateLinkScopesResource',
'PrivateLinkServiceConnectionStateProperty',
'ProxyResource',
'Resource',
'ResourceModelWithAllowedPropertySet',
'ResourceModelWithAllowedPropertySetIdentity',
'ResourceModelWithAllowedPropertySetPlan',
'ResourceModelWithAllowedPropertySetSku',
'Sku',
'ScopedResource',
'TagsResource',
'TrackedResource',
'UpdateResource',
'MachinePaged',
'MachineExtensionPaged',
'OperationValuePaged',
'HybridComputePrivateLinkScopePaged',
'PrivateLinkResourcePaged',
'PrivateEndpointConnectionPaged',
'ScopedResourcePaged',
'StatusTypes',
'StatusLevelTypes',
'SkuTier',
'ResourceIdentityType',
'PublicNetworkAccessType',
'InstanceViewTypes',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,10 @@ class StatusLevelTypes(str, Enum):
error = "Error"


class SkuTier(str, Enum):
class PublicNetworkAccessType(str, Enum):

free = "Free"
basic = "Basic"
standard = "Standard"
premium = "Premium"


class ResourceIdentityType(str, Enum):

system_assigned = "SystemAssigned"
enabled = "Enabled" #: Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.
disabled = "Disabled" #: Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.


class InstanceViewTypes(str, Enum):
Expand Down
Loading

0 comments on commit 631241e

Please sign in to comment.