Skip to content

Commit b23c203

Browse files
shawncxSDK Automationmsxichen
authored
Release sdk 687 (Azure#13213)
* Generated from ef607b3c3b7a58c63b3345b6c2c112f523a5fa98 Refactor * Generated from bd738dadf870fc866655108bcfce5a68698d0abd remove version * update version to 1.0.0 * fix text Co-authored-by: SDK Automation <[email protected]> Co-authored-by: xichen <[email protected]>
1 parent 12aa2b4 commit b23c203

20 files changed

+2608
-1005
lines changed

sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Release History
22

3+
## 1.0.0 (2020-08-19)
4+
5+
**Features**
6+
7+
- Model Machine has a new parameter identity
8+
- Model Machine has a new parameter location_data
9+
- Model MachineUpdate has a new parameter location_data
10+
- Added operation group MachineExtensionsOperations
11+
12+
**Breaking changes**
13+
14+
- Model MachineExtension no longer has parameter tenant_id
15+
- Model MachineExtension no longer has parameter principal_id
16+
- Model MachineExtension no longer has parameter type1
17+
- Model Machine no longer has parameter tenant_id
18+
- Model Machine no longer has parameter physical_location
19+
- Model Machine no longer has parameter principal_id
20+
- Model Machine no longer has parameter type1
21+
- Model MachineUpdate no longer has parameter physical_location
22+
- Model Resource no longer has parameter tenant_id
23+
- Model Resource no longer has parameter principal_id
24+
- Model Resource no longer has parameter location
25+
- Model Resource no longer has parameter type1
26+
- Model Resource no longer has parameter tags
27+
- Model ErrorResponse has a new signature
28+
329
## 0.1.1 (2019-10-30)
430

531
- Update project description and title
Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

3-
This is the Microsoft Azure Hybrid Compute Management Client Library.
3+
This is the Microsoft Azure MyService Management Client Library.
4+
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
46

5-
Azure Resource Manager (ARM) is the next generation of management APIs
6-
that replace the old Azure Service Management (ASM).
77

8-
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
8+
# Usage
99

10-
For the older Azure Service Management (ASM) libraries, see
11-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
12-
library.
10+
For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/)
11+
on docs.microsoft.com.
1312

14-
For a more complete set of Azure libraries, see the
15-
[azure sdk python release](https://aka.ms/azsdk/python/all).
1613

17-
## Usage
14+
# Provide Feedback
1815

19-
For code examples, see [Hybrid Compute
20-
Management](https://docs.microsoft.com/python/api/overview/azure/) on
21-
docs.microsoft.com.
22-
23-
## Provide Feedback
24-
25-
If you encounter any bugs or have suggestions, please file an issue in
26-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
2718
section of the project.
2819

29-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-hybridcompute%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-hybridcompute%2FREADME.png)

sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_configuration.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class HybridComputeManagementClientConfiguration(AzureConfiguration):
2121
:param credentials: Credentials needed for the client to connect to Azure.
2222
:type credentials: :mod:`A msrestazure Credentials
2323
object<msrestazure.azure_active_directory>`
24-
:param subscription_id: Subscription credentials which uniquely identify
25-
Microsoft Azure subscription. The subscription ID forms part of the URI
26-
for every service call.
24+
:param subscription_id: The ID of the target subscription.
2725
:type subscription_id: str
2826
:param str base_url: Service URL
2927
"""

sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/_hybrid_compute_management_client.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
from ._configuration import HybridComputeManagementClientConfiguration
1616
from .operations import MachinesOperations
17+
from .operations import MachineExtensionsOperations
1718
from .operations import Operations
1819
from . import models
1920

@@ -26,15 +27,15 @@ class HybridComputeManagementClient(SDKClient):
2627
2728
:ivar machines: Machines operations
2829
:vartype machines: azure.mgmt.hybridcompute.operations.MachinesOperations
30+
:ivar machine_extensions: MachineExtensions operations
31+
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
2932
:ivar operations: Operations operations
3033
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
3134
3235
:param credentials: Credentials needed for the client to connect to Azure.
3336
:type credentials: :mod:`A msrestazure Credentials
3437
object<msrestazure.azure_active_directory>`
35-
:param subscription_id: Subscription credentials which uniquely identify
36-
Microsoft Azure subscription. The subscription ID forms part of the URI
37-
for every service call.
38+
:param subscription_id: The ID of the target subscription.
3839
:type subscription_id: str
3940
:param str base_url: Service URL
4041
"""
@@ -46,11 +47,13 @@ def __init__(
4647
super(HybridComputeManagementClient, self).__init__(self.config.credentials, self.config)
4748

4849
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
49-
self.api_version = '2019-08-02-preview'
50+
self.api_version = '2019-12-12'
5051
self._serialize = Serializer(client_models)
5152
self._deserialize = Deserializer(client_models)
5253

5354
self.machines = MachinesOperations(
5455
self._client, self.config, self._serialize, self._deserialize)
56+
self.machine_extensions = MachineExtensionsOperations(
57+
self._client, self.config, self._serialize, self._deserialize)
5558
self.operations = Operations(
5659
self._client, self.config, self._serialize, self._deserialize)

sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/__init__.py

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,61 +10,127 @@
1010
# --------------------------------------------------------------------------
1111

1212
try:
13+
from ._models_py3 import AzureEntityResource
14+
from ._models_py3 import ErrorAdditionalInfo
1315
from ._models_py3 import ErrorDetail
1416
from ._models_py3 import ErrorResponse, ErrorResponseException
17+
from ._models_py3 import Identity
18+
from ._models_py3 import LocationData
1519
from ._models_py3 import Machine
1620
from ._models_py3 import MachineExtension
1721
from ._models_py3 import MachineExtensionInstanceView
1822
from ._models_py3 import MachineExtensionInstanceViewStatus
19-
from ._models_py3 import MachineExtensionsListResult
23+
from ._models_py3 import MachineExtensionPropertiesInstanceView
24+
from ._models_py3 import MachineExtensionPropertiesModel
2025
from ._models_py3 import MachineExtensionUpdate
26+
from ._models_py3 import MachineExtensionUpdatePropertiesModel
27+
from ._models_py3 import MachineIdentity
28+
from ._models_py3 import MachineProperties
29+
from ._models_py3 import MachinePropertiesOsProfile
2130
from ._models_py3 import MachineReconnect
31+
from ._models_py3 import MachineReconnectProperties
2232
from ._models_py3 import MachineUpdate
33+
from ._models_py3 import MachineUpdateProperties
2334
from ._models_py3 import OperationValue
35+
from ._models_py3 import OperationValueDisplayModel
2436
from ._models_py3 import OSProfile
37+
from ._models_py3 import Plan
38+
from ._models_py3 import ProxyResource
2539
from ._models_py3 import Resource
40+
from ._models_py3 import ResourceModelWithAllowedPropertySet
41+
from ._models_py3 import ResourceModelWithAllowedPropertySetIdentity
42+
from ._models_py3 import ResourceModelWithAllowedPropertySetPlan
43+
from ._models_py3 import ResourceModelWithAllowedPropertySetSku
44+
from ._models_py3 import Sku
45+
from ._models_py3 import TrackedResource
2646
from ._models_py3 import UpdateResource
2747
except (SyntaxError, ImportError):
48+
from ._models import AzureEntityResource
49+
from ._models import ErrorAdditionalInfo
2850
from ._models import ErrorDetail
2951
from ._models import ErrorResponse, ErrorResponseException
52+
from ._models import Identity
53+
from ._models import LocationData
3054
from ._models import Machine
3155
from ._models import MachineExtension
3256
from ._models import MachineExtensionInstanceView
3357
from ._models import MachineExtensionInstanceViewStatus
34-
from ._models import MachineExtensionsListResult
58+
from ._models import MachineExtensionPropertiesInstanceView
59+
from ._models import MachineExtensionPropertiesModel
3560
from ._models import MachineExtensionUpdate
61+
from ._models import MachineExtensionUpdatePropertiesModel
62+
from ._models import MachineIdentity
63+
from ._models import MachineProperties
64+
from ._models import MachinePropertiesOsProfile
3665
from ._models import MachineReconnect
66+
from ._models import MachineReconnectProperties
3767
from ._models import MachineUpdate
68+
from ._models import MachineUpdateProperties
3869
from ._models import OperationValue
70+
from ._models import OperationValueDisplayModel
3971
from ._models import OSProfile
72+
from ._models import Plan
73+
from ._models import ProxyResource
4074
from ._models import Resource
75+
from ._models import ResourceModelWithAllowedPropertySet
76+
from ._models import ResourceModelWithAllowedPropertySetIdentity
77+
from ._models import ResourceModelWithAllowedPropertySetPlan
78+
from ._models import ResourceModelWithAllowedPropertySetSku
79+
from ._models import Sku
80+
from ._models import TrackedResource
4181
from ._models import UpdateResource
82+
from ._paged_models import MachineExtensionPaged
4283
from ._paged_models import MachinePaged
4384
from ._paged_models import OperationValuePaged
4485
from ._hybrid_compute_management_client_enums import (
4586
StatusTypes,
4687
StatusLevelTypes,
88+
SkuTier,
89+
ResourceIdentityType,
4790
InstanceViewTypes,
4891
)
4992

5093
__all__ = [
94+
'AzureEntityResource',
95+
'ErrorAdditionalInfo',
5196
'ErrorDetail',
5297
'ErrorResponse', 'ErrorResponseException',
98+
'Identity',
99+
'LocationData',
53100
'Machine',
54101
'MachineExtension',
55102
'MachineExtensionInstanceView',
56103
'MachineExtensionInstanceViewStatus',
57-
'MachineExtensionsListResult',
104+
'MachineExtensionPropertiesInstanceView',
105+
'MachineExtensionPropertiesModel',
58106
'MachineExtensionUpdate',
107+
'MachineExtensionUpdatePropertiesModel',
108+
'MachineIdentity',
109+
'MachineProperties',
110+
'MachinePropertiesOsProfile',
59111
'MachineReconnect',
112+
'MachineReconnectProperties',
60113
'MachineUpdate',
114+
'MachineUpdateProperties',
61115
'OperationValue',
116+
'OperationValueDisplayModel',
62117
'OSProfile',
118+
'Plan',
119+
'ProxyResource',
63120
'Resource',
121+
'ResourceModelWithAllowedPropertySet',
122+
'ResourceModelWithAllowedPropertySetIdentity',
123+
'ResourceModelWithAllowedPropertySetPlan',
124+
'ResourceModelWithAllowedPropertySetSku',
125+
'Sku',
126+
'TrackedResource',
64127
'UpdateResource',
65128
'MachinePaged',
129+
'MachineExtensionPaged',
66130
'OperationValuePaged',
67131
'StatusTypes',
68132
'StatusLevelTypes',
133+
'SkuTier',
134+
'ResourceIdentityType',
69135
'InstanceViewTypes',
70136
]

sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/models/_hybrid_compute_management_client_enums.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ class StatusLevelTypes(str, Enum):
2626
error = "Error"
2727

2828

29+
class SkuTier(str, Enum):
30+
31+
free = "Free"
32+
basic = "Basic"
33+
standard = "Standard"
34+
premium = "Premium"
35+
36+
37+
class ResourceIdentityType(str, Enum):
38+
39+
system_assigned = "SystemAssigned"
40+
41+
2942
class InstanceViewTypes(str, Enum):
3043

3144
instance_view = "instanceView"

0 commit comments

Comments
 (0)