Skip to content

Commit

Permalink
Sdk automation/azure mgmt hybridcompute (#13828)
Browse files Browse the repository at this point in the history
* Generated from 1f6e1c7e6f6705dd6acc127f68430b0ae01c7c51

use package-2020-08-02

* 2.0.0

* run test

* test

Co-authored-by: SDK Automation <[email protected]>
  • Loading branch information
changlong-liu and SDK Automation authored Sep 21, 2020
1 parent 981105d commit a219074
Show file tree
Hide file tree
Showing 16 changed files with 402 additions and 997 deletions.
20 changes: 20 additions & 0 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 2.0.0 (2020-09-08)

**Features**

- Model Machine has a new parameter ad_fqdn
- Model Machine has a new parameter os_sku
- Model Machine has a new parameter domain_name
- Model Machine has a new parameter dns_fqdn
- Model Machine has a new parameter vm_uuid
- Model MachineProperties has a new parameter ad_fqdn
- Model MachineProperties has a new parameter os_sku
- Model MachineProperties has a new parameter domain_name
- Model MachineProperties has a new parameter dns_fqdn
- Model MachineProperties has a new parameter vm_uuid

**Breaking changes**

- Model ErrorResponse has a new signature
- Model MachineExtensionInstanceViewStatus has a new signature

## 1.0.0 (2020-08-19)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class HybridComputeManagementClientConfiguration(AzureConfiguration):
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The ID of the target subscription.
:param subscription_id: Subscription credentials which uniquely identify
Microsoft Azure subscription. The subscription ID forms part of the URI
for every service call.
:type subscription_id: str
:param str base_url: Service URL
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class HybridComputeManagementClient(SDKClient):
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The ID of the target subscription.
:param subscription_id: Subscription credentials which uniquely identify
Microsoft Azure subscription. The subscription ID forms part of the URI
for every service call.
:type subscription_id: str
:param str base_url: Service URL
"""
Expand All @@ -47,7 +49,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-02'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

try:
from ._models_py3 import AzureEntityResource
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import Identity
Expand All @@ -27,26 +26,17 @@
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 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 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 Identity
Expand All @@ -62,21 +52,13 @@
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 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 TrackedResource
from ._models import UpdateResource
from ._paged_models import MachineExtensionPaged
Expand All @@ -85,14 +67,11 @@
from ._hybrid_compute_management_client_enums import (
StatusTypes,
StatusLevelTypes,
SkuTier,
ResourceIdentityType,
InstanceViewTypes,
)

__all__ = [
'AzureEntityResource',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'Identity',
Expand All @@ -108,29 +87,19 @@
'MachineIdentity',
'MachineProperties',
'MachinePropertiesOsProfile',
'MachineReconnect',
'MachineReconnectProperties',
'MachineUpdate',
'MachineUpdateProperties',
'OperationValue',
'OperationValueDisplayModel',
'OSProfile',
'Plan',
'ProxyResource',
'Resource',
'ResourceModelWithAllowedPropertySet',
'ResourceModelWithAllowedPropertySetIdentity',
'ResourceModelWithAllowedPropertySetPlan',
'ResourceModelWithAllowedPropertySetSku',
'Sku',
'TrackedResource',
'UpdateResource',
'MachinePaged',
'MachineExtensionPaged',
'OperationValuePaged',
'StatusTypes',
'StatusLevelTypes',
'SkuTier',
'ResourceIdentityType',
'InstanceViewTypes',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ class StatusLevelTypes(str, Enum):
error = "Error"


class SkuTier(str, Enum):

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


class ResourceIdentityType(str, Enum):

system_assigned = "SystemAssigned"


class InstanceViewTypes(str, Enum):

instance_view = "instanceView"
Loading

0 comments on commit a219074

Please sign in to comment.