Skip to content

Commit 62ddf8f

Browse files
[AutoRelease] t2-hybridcompute-2024-10-10-23686(can only be merged by SDK owner) (Azure#37830)
* code and test * update-testcases * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent f2bc1fc commit 62ddf8f

File tree

128 files changed

+2192
-4948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+2192
-4948
lines changed

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

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

3+
## 9.0.0 (2024-10-14)
4+
5+
### Features Added
6+
7+
- Client `HybridComputeManagementClient` added operation group `licenses`
8+
- Client `HybridComputeManagementClient` added operation group `license_profiles`
9+
- Client `HybridComputeManagementClient` added operation group `extension_metadata`
10+
- Client `HybridComputeManagementClient` added operation group `network_profile`
11+
- Client `HybridComputeManagementClient` added operation group `network_security_perimeter_configurations`
12+
- Model `AgentConfiguration` added property `config_mode`
13+
- Model `Machine` added property `resources`
14+
- Model `Machine` added property `kind`
15+
- Model `Machine` added property `location_data`
16+
- Model `Machine` added property `agent_configuration`
17+
- Model `Machine` added property `service_statuses`
18+
- Model `Machine` added property `cloud_metadata`
19+
- Model `Machine` added property `agent_upgrade`
20+
- Model `Machine` added property `os_profile`
21+
- Model `Machine` added property `license_profile`
22+
- Model `Machine` added property `provisioning_state`
23+
- Model `Machine` added property `status`
24+
- Model `Machine` added property `last_status_change`
25+
- Model `Machine` added property `error_details`
26+
- Model `Machine` added property `agent_version`
27+
- Model `Machine` added property `vm_id`
28+
- Model `Machine` added property `display_name`
29+
- Model `Machine` added property `machine_fqdn`
30+
- Model `Machine` added property `client_public_key`
31+
- Model `Machine` added property `os_name`
32+
- Model `Machine` added property `os_version`
33+
- Model `Machine` added property `os_type`
34+
- Model `Machine` added property `vm_uuid`
35+
- Model `Machine` added property `extensions`
36+
- Model `Machine` added property `os_sku`
37+
- Model `Machine` added property `os_edition`
38+
- Model `Machine` added property `domain_name`
39+
- Model `Machine` added property `ad_fqdn`
40+
- Model `Machine` added property `dns_fqdn`
41+
- Model `Machine` added property `private_link_scope_resource_id`
42+
- Model `Machine` added property `parent_cluster_resource_id`
43+
- Model `Machine` added property `mssql_discovered`
44+
- Model `Machine` added property `detected_properties`
45+
- Model `Machine` added property `network_profile`
46+
- Model `MachineExtensionUpdate` added parameter `force_update_tag` in method `__init__`
47+
- Model `MachineExtensionUpdate` added parameter `publisher` in method `__init__`
48+
- Model `MachineExtensionUpdate` added parameter `type` in method `__init__`
49+
- Model `MachineExtensionUpdate` added parameter `type_handler_version` in method `__init__`
50+
- Model `MachineExtensionUpdate` added parameter `enable_automatic_upgrade` in method `__init__`
51+
- Model `MachineExtensionUpdate` added parameter `auto_upgrade_minor_version` in method `__init__`
52+
- Model `MachineExtensionUpdate` added parameter `settings` in method `__init__`
53+
- Model `MachineExtensionUpdate` added parameter `protected_settings` in method `__init__`
54+
- Model `MachineUpdate` added property `kind`
55+
- Model `MachineUpdate` added property `location_data`
56+
- Model `MachineUpdate` added property `os_profile`
57+
- Model `MachineUpdate` added property `cloud_metadata`
58+
- Model `MachineUpdate` added property `agent_upgrade`
59+
- Model `MachineUpdate` added property `parent_cluster_resource_id`
60+
- Model `MachineUpdate` added property `private_link_scope_resource_id`
61+
- Model `OSProfileLinuxConfiguration` added property `enable_hotpatching`
62+
- Model `OSProfileLinuxConfiguration` added property `status`
63+
- Model `OSProfileWindowsConfiguration` added property `enable_hotpatching`
64+
- Model `OSProfileWindowsConfiguration` added property `status`
65+
- Enum `PublicNetworkAccessType` added member `SECURED_BY_PERIMETER`
66+
- Model `Resource` added property `system_data`
67+
- Added enum `AccessMode`
68+
- Added model `AccessRule`
69+
- Added enum `AccessRuleDirection`
70+
- Added enum `AgentConfigurationMode`
71+
- Added model `AgentUpgrade`
72+
- Added enum `ArcKindEnum`
73+
- Added model `AvailablePatchCountByClassification`
74+
- Added enum `EsuEligibility`
75+
- Added model `EsuKey`
76+
- Added enum `EsuKeyState`
77+
- Added enum `EsuServerType`
78+
- Added model `ExtensionValue`
79+
- Added model `ExtensionValueListResult`
80+
- Added model `ExtensionsResourceStatus`
81+
- Added enum `ExtensionsStatusLevelTypes`
82+
- Added enum `HotpatchEnablementStatus`
83+
- Added model `IpAddress`
84+
- Added model `KeyDetails`
85+
- Added model `KeyProperties`
86+
- Added enum `LastAttemptStatusEnum`
87+
- Added model `License`
88+
- Added enum `LicenseAssignmentState`
89+
- Added enum `LicenseCoreType`
90+
- Added model `LicenseDetails`
91+
- Added enum `LicenseEdition`
92+
- Added model `LicenseProfile`
93+
- Added model `LicenseProfileArmEsuProperties`
94+
- Added model `LicenseProfileArmEsuPropertiesWithoutAssignedLicense`
95+
- Added model `LicenseProfileMachineInstanceView`
96+
- Added model `LicenseProfileMachineInstanceViewEsuProperties`
97+
- Added enum `LicenseProfileProductType`
98+
- Added model `LicenseProfileStorageModelEsuProperties`
99+
- Added enum `LicenseProfileSubscriptionStatus`
100+
- Added enum `LicenseProfileSubscriptionStatusUpdate`
101+
- Added model `LicenseProfileUpdate`
102+
- Added model `LicenseProfilesListResult`
103+
- Added enum `LicenseState`
104+
- Added enum `LicenseStatus`
105+
- Added enum `LicenseTarget`
106+
- Added enum `LicenseType`
107+
- Added model `LicenseUpdate`
108+
- Added model `LicensesListResult`
109+
- Added model `LinuxParameters`
110+
- Added model `MachineAssessPatchesResult`
111+
- Added model `MachineInstallPatchesParameters`
112+
- Added model `MachineInstallPatchesResult`
113+
- Added model `NetworkInterface`
114+
- Added model `NetworkProfile`
115+
- Added model `NetworkSecurityPerimeter`
116+
- Added model `NetworkSecurityPerimeterConfiguration`
117+
- Added model `NetworkSecurityPerimeterConfigurationListResult`
118+
- Added model `NetworkSecurityPerimeterConfigurationReconcileResult`
119+
- Added model `NetworkSecurityPerimeterProfile`
120+
- Added enum `OsType`
121+
- Added enum `PatchOperationStartedBy`
122+
- Added enum `PatchOperationStatus`
123+
- Added enum `PatchServiceUsed`
124+
- Added model `PatchSettingsStatus`
125+
- Added model `ProductFeature`
126+
- Added model `ProductFeatureUpdate`
127+
- Added enum `ProgramYear`
128+
- Added model `ProvisioningIssue`
129+
- Added enum `ProvisioningIssueSeverity`
130+
- Added enum `ProvisioningIssueType`
131+
- Added enum `ProvisioningState`
132+
- Added model `ProxyResourceAutoGenerated`
133+
- Added model `ResourceAssociation`
134+
- Added model `ResourceAutoGenerated`
135+
- Added model `Subnet`
136+
- Added enum `VMGuestPatchClassificationLinux`
137+
- Added enum `VMGuestPatchClassificationWindows`
138+
- Added enum `VMGuestPatchRebootSetting`
139+
- Added enum `VMGuestPatchRebootStatus`
140+
- Added model `VolumeLicenseDetails`
141+
- Added model `WindowsParameters`
142+
- Operation group `MachinesOperations` added method `begin_assess_patches`
143+
- Operation group `MachinesOperations` added method `begin_install_patches`
144+
- Added Operation group `ExtensionMetadataOperations`
145+
- Added Operation group `LicenseProfilesOperations`
146+
- Added Operation group `LicensesOperations`
147+
- Added Operation group `NetworkProfileOperations`
148+
- Added Operation group `NetworkSecurityPerimeterConfigurationsOperations`
149+
150+
### Breaking Changes
151+
152+
- Model `Machine` deleted or renamed its instance variable `properties`
153+
- Model `MachineExtensionUpdate` deleted or renamed its instance variable `properties`
154+
- Model `MachineUpdate` deleted or renamed its instance variable `properties`
155+
- Deleted or renamed model `MachineExtensionUpdateProperties`
156+
- Deleted or renamed model `MachineProperties`
157+
- Deleted or renamed model `MachineUpdateProperties`
158+
3159
## 9.0.0b4 (2024-07-23)
4160

5161
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "b574e2a41acda14a90ef237006e8bbdda2b63c63",
2+
"commit": "c3f246bece34c122def67e59945e634490f205fe",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.15.0",
6+
"@autorest/python@6.19.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/hybridcompute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.15.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/hybridcompute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2024-07 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/hybridcompute/resource-manager/readme.md"
1111
}

sdk/hybridcompute/azure-mgmt-hybridcompute/assets.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:param subscription_id: The ID of the target subscription. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-05-20-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-05-20-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-07-10")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

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

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,17 @@
2020
from ._serialization import Deserializer, Serializer
2121
from .operations import (
2222
ExtensionMetadataOperations,
23-
GatewaysOperations,
2423
HybridComputeManagementClientOperationsMixin,
24+
LicenseProfilesOperations,
2525
LicensesOperations,
2626
MachineExtensionsOperations,
27-
MachineRunCommandsOperations,
2827
MachinesOperations,
2928
NetworkProfileOperations,
3029
NetworkSecurityPerimeterConfigurationsOperations,
3130
Operations,
3231
PrivateEndpointConnectionsOperations,
3332
PrivateLinkResourcesOperations,
3433
PrivateLinkScopesOperations,
35-
SettingsOperations,
3634
)
3735

3836
if TYPE_CHECKING:
@@ -49,6 +47,8 @@ class HybridComputeManagementClient(
4947
:vartype licenses: azure.mgmt.hybridcompute.operations.LicensesOperations
5048
:ivar machines: MachinesOperations operations
5149
:vartype machines: azure.mgmt.hybridcompute.operations.MachinesOperations
50+
:ivar license_profiles: LicenseProfilesOperations operations
51+
:vartype license_profiles: azure.mgmt.hybridcompute.operations.LicenseProfilesOperations
5252
:ivar machine_extensions: MachineExtensionsOperations operations
5353
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
5454
:ivar extension_metadata: ExtensionMetadataOperations operations
@@ -57,12 +57,6 @@ class HybridComputeManagementClient(
5757
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
5858
:ivar network_profile: NetworkProfileOperations operations
5959
:vartype network_profile: azure.mgmt.hybridcompute.operations.NetworkProfileOperations
60-
:ivar machine_run_commands: MachineRunCommandsOperations operations
61-
:vartype machine_run_commands: azure.mgmt.hybridcompute.operations.MachineRunCommandsOperations
62-
:ivar gateways: GatewaysOperations operations
63-
:vartype gateways: azure.mgmt.hybridcompute.operations.GatewaysOperations
64-
:ivar settings: SettingsOperations operations
65-
:vartype settings: azure.mgmt.hybridcompute.operations.SettingsOperations
6660
:ivar private_link_scopes: PrivateLinkScopesOperations operations
6761
:vartype private_link_scopes: azure.mgmt.hybridcompute.operations.PrivateLinkScopesOperations
6862
:ivar private_link_resources: PrivateLinkResourcesOperations operations
@@ -81,8 +75,8 @@ class HybridComputeManagementClient(
8175
:type subscription_id: str
8276
:param base_url: Service URL. Default value is "https://management.azure.com".
8377
:type base_url: str
84-
:keyword api_version: Api Version. Default value is "2024-05-20-preview". Note that overriding
85-
this default value may result in unsupported behavior.
78+
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
79+
default value may result in unsupported behavior.
8680
:paramtype api_version: str
8781
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
8882
Retry-After header is present.
@@ -124,6 +118,9 @@ def __init__(
124118
self._serialize.client_side_validation = False
125119
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
126120
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
121+
self.license_profiles = LicenseProfilesOperations(
122+
self._client, self._config, self._serialize, self._deserialize
123+
)
127124
self.machine_extensions = MachineExtensionsOperations(
128125
self._client, self._config, self._serialize, self._deserialize
129126
)
@@ -132,11 +129,6 @@ def __init__(
132129
)
133130
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
134131
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
135-
self.machine_run_commands = MachineRunCommandsOperations(
136-
self._client, self._config, self._serialize, self._deserialize
137-
)
138-
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
139-
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
140132
self.private_link_scopes = PrivateLinkScopesOperations(
141133
self._client, self._config, self._serialize, self._deserialize
142134
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "9.0.0b4"
9+
VERSION = "9.0.0"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2929
:param subscription_id: The ID of the target subscription. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-05-20-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-05-20-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-07-10")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

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

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,17 @@
2020
from ._configuration import HybridComputeManagementClientConfiguration
2121
from .operations import (
2222
ExtensionMetadataOperations,
23-
GatewaysOperations,
2423
HybridComputeManagementClientOperationsMixin,
24+
LicenseProfilesOperations,
2525
LicensesOperations,
2626
MachineExtensionsOperations,
27-
MachineRunCommandsOperations,
2827
MachinesOperations,
2928
NetworkProfileOperations,
3029
NetworkSecurityPerimeterConfigurationsOperations,
3130
Operations,
3231
PrivateEndpointConnectionsOperations,
3332
PrivateLinkResourcesOperations,
3433
PrivateLinkScopesOperations,
35-
SettingsOperations,
3634
)
3735

3836
if TYPE_CHECKING:
@@ -49,6 +47,8 @@ class HybridComputeManagementClient(
4947
:vartype licenses: azure.mgmt.hybridcompute.aio.operations.LicensesOperations
5048
:ivar machines: MachinesOperations operations
5149
:vartype machines: azure.mgmt.hybridcompute.aio.operations.MachinesOperations
50+
:ivar license_profiles: LicenseProfilesOperations operations
51+
:vartype license_profiles: azure.mgmt.hybridcompute.aio.operations.LicenseProfilesOperations
5252
:ivar machine_extensions: MachineExtensionsOperations operations
5353
:vartype machine_extensions:
5454
azure.mgmt.hybridcompute.aio.operations.MachineExtensionsOperations
@@ -59,13 +59,6 @@ class HybridComputeManagementClient(
5959
:vartype operations: azure.mgmt.hybridcompute.aio.operations.Operations
6060
:ivar network_profile: NetworkProfileOperations operations
6161
:vartype network_profile: azure.mgmt.hybridcompute.aio.operations.NetworkProfileOperations
62-
:ivar machine_run_commands: MachineRunCommandsOperations operations
63-
:vartype machine_run_commands:
64-
azure.mgmt.hybridcompute.aio.operations.MachineRunCommandsOperations
65-
:ivar gateways: GatewaysOperations operations
66-
:vartype gateways: azure.mgmt.hybridcompute.aio.operations.GatewaysOperations
67-
:ivar settings: SettingsOperations operations
68-
:vartype settings: azure.mgmt.hybridcompute.aio.operations.SettingsOperations
6962
:ivar private_link_scopes: PrivateLinkScopesOperations operations
7063
:vartype private_link_scopes:
7164
azure.mgmt.hybridcompute.aio.operations.PrivateLinkScopesOperations
@@ -85,8 +78,8 @@ class HybridComputeManagementClient(
8578
:type subscription_id: str
8679
:param base_url: Service URL. Default value is "https://management.azure.com".
8780
:type base_url: str
88-
:keyword api_version: Api Version. Default value is "2024-05-20-preview". Note that overriding
89-
this default value may result in unsupported behavior.
81+
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
82+
default value may result in unsupported behavior.
9083
:paramtype api_version: str
9184
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
9285
Retry-After header is present.
@@ -128,6 +121,9 @@ def __init__(
128121
self._serialize.client_side_validation = False
129122
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
130123
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
124+
self.license_profiles = LicenseProfilesOperations(
125+
self._client, self._config, self._serialize, self._deserialize
126+
)
131127
self.machine_extensions = MachineExtensionsOperations(
132128
self._client, self._config, self._serialize, self._deserialize
133129
)
@@ -136,11 +132,6 @@ def __init__(
136132
)
137133
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
138134
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
139-
self.machine_run_commands = MachineRunCommandsOperations(
140-
self._client, self._config, self._serialize, self._deserialize
141-
)
142-
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
143-
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
144135
self.private_link_scopes = PrivateLinkScopesOperations(
145136
self._client, self._config, self._serialize, self._deserialize
146137
)

0 commit comments

Comments
 (0)