Skip to content

Commit 342d107

Browse files
[AutoRelease] t2-hybridcompute-2024-10-24-71197(can only be merged by SDK owner) (Azure#38070)
* code and test * Update CHANGELOG.md * Update CHANGELOG.md * update-testcase * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 62ccd06 commit 342d107

File tree

129 files changed

+6257
-434
lines changed

Some content is hidden

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

129 files changed

+6257
-434
lines changed

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

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

3+
## 9.1.0b1 (2024-11-15)
4+
5+
### Features Added
6+
7+
- Client `HybridComputeManagementClient` added operation group `machine_run_commands`
8+
- Client `HybridComputeManagementClient` added operation group `gateways`
9+
- Client `HybridComputeManagementClient` added operation group `settings`
10+
- Model `Machine` added property `hardware_profile`
11+
- Model `Machine` added property `storage_profile`
12+
- Model `Machine` added property `firmware_profile`
13+
- Model `NetworkInterface` added property `mac_address`
14+
- Model `NetworkInterface` added property `id`
15+
- Model `NetworkInterface` added property `name`
16+
- Added model `AgentVersion`
17+
- Added model `AgentVersionsList`
18+
- Added model `Disk`
19+
- Added model `ErrorDetailAutoGenerated`
20+
- Added model `ErrorResponseAutoGenerated`
21+
- Added enum `ExecutionState`
22+
- Added model `FirmwareProfile`
23+
- Added model `Gateway`
24+
- Added enum `GatewayType`
25+
- Added model `GatewayUpdate`
26+
- Added model `GatewaysListResult`
27+
- Added model `HardwareProfile`
28+
- Added model `HybridIdentityMetadata`
29+
- Added model `HybridIdentityMetadataList`
30+
- Added model `MachineRunCommand`
31+
- Added model `MachineRunCommandInstanceView`
32+
- Added model `MachineRunCommandScriptSource`
33+
- Added model `MachineRunCommandUpdate`
34+
- Added model `MachineRunCommandsListResult`
35+
- Added model `NetworkConfiguration`
36+
- Added model `Processor`
37+
- Added model `RunCommandInputParameter`
38+
- Added model `RunCommandManagedIdentity`
39+
- Added model `Settings`
40+
- Added model `StorageProfile`
41+
- Added model `TrackedResourceAutoGenerated`
42+
- Added operation group `GatewaysOperations`
43+
- Added operation group `MachineRunCommandsOperations`
44+
- Added operation group `SettingsOperations`
45+
346
## 9.0.0 (2024-10-14)
447

548
### Features Added
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c3f246bece34c122def67e59945e634490f205fe",
2+
"commit": "fe44d3261ff0ea816315126120672ccec78c3074",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
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=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2024-07 --use=@autorest/[email protected] --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 --use=@autorest/[email protected] --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/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-07-10". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
32+
this 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-07-10")
37+
api_version: str = kwargs.pop("api_version", "2024-07-31-preview")
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: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,20 @@
2020
from ._serialization import Deserializer, Serializer
2121
from .operations import (
2222
ExtensionMetadataOperations,
23+
GatewaysOperations,
2324
HybridComputeManagementClientOperationsMixin,
2425
LicenseProfilesOperations,
2526
LicensesOperations,
2627
MachineExtensionsOperations,
28+
MachineRunCommandsOperations,
2729
MachinesOperations,
2830
NetworkProfileOperations,
2931
NetworkSecurityPerimeterConfigurationsOperations,
3032
Operations,
3133
PrivateEndpointConnectionsOperations,
3234
PrivateLinkResourcesOperations,
3335
PrivateLinkScopesOperations,
36+
SettingsOperations,
3437
)
3538

3639
if TYPE_CHECKING:
@@ -57,6 +60,12 @@ class HybridComputeManagementClient(
5760
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
5861
:ivar network_profile: NetworkProfileOperations operations
5962
:vartype network_profile: azure.mgmt.hybridcompute.operations.NetworkProfileOperations
63+
:ivar machine_run_commands: MachineRunCommandsOperations operations
64+
:vartype machine_run_commands: azure.mgmt.hybridcompute.operations.MachineRunCommandsOperations
65+
:ivar gateways: GatewaysOperations operations
66+
:vartype gateways: azure.mgmt.hybridcompute.operations.GatewaysOperations
67+
:ivar settings: SettingsOperations operations
68+
:vartype settings: azure.mgmt.hybridcompute.operations.SettingsOperations
6069
:ivar private_link_scopes: PrivateLinkScopesOperations operations
6170
:vartype private_link_scopes: azure.mgmt.hybridcompute.operations.PrivateLinkScopesOperations
6271
:ivar private_link_resources: PrivateLinkResourcesOperations operations
@@ -75,8 +84,8 @@ class HybridComputeManagementClient(
7584
:type subscription_id: str
7685
:param base_url: Service URL. Default value is "https://management.azure.com".
7786
:type base_url: str
78-
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
79-
default value may result in unsupported behavior.
87+
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
88+
this default value may result in unsupported behavior.
8089
:paramtype api_version: str
8190
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
8291
Retry-After header is present.
@@ -129,6 +138,11 @@ def __init__(
129138
)
130139
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
131140
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
141+
self.machine_run_commands = MachineRunCommandsOperations(
142+
self._client, self._config, self._serialize, self._deserialize
143+
)
144+
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
145+
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
132146
self.private_link_scopes = PrivateLinkScopesOperations(
133147
self._client, self._config, self._serialize, self._deserialize
134148
)

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.0"
9+
VERSION = "9.1.0b1"

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-07-10". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
32+
this 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-07-10")
37+
api_version: str = kwargs.pop("api_version", "2024-07-31-preview")
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: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,20 @@
2020
from ._configuration import HybridComputeManagementClientConfiguration
2121
from .operations import (
2222
ExtensionMetadataOperations,
23+
GatewaysOperations,
2324
HybridComputeManagementClientOperationsMixin,
2425
LicenseProfilesOperations,
2526
LicensesOperations,
2627
MachineExtensionsOperations,
28+
MachineRunCommandsOperations,
2729
MachinesOperations,
2830
NetworkProfileOperations,
2931
NetworkSecurityPerimeterConfigurationsOperations,
3032
Operations,
3133
PrivateEndpointConnectionsOperations,
3234
PrivateLinkResourcesOperations,
3335
PrivateLinkScopesOperations,
36+
SettingsOperations,
3437
)
3538

3639
if TYPE_CHECKING:
@@ -59,6 +62,13 @@ class HybridComputeManagementClient(
5962
:vartype operations: azure.mgmt.hybridcompute.aio.operations.Operations
6063
:ivar network_profile: NetworkProfileOperations operations
6164
:vartype network_profile: azure.mgmt.hybridcompute.aio.operations.NetworkProfileOperations
65+
:ivar machine_run_commands: MachineRunCommandsOperations operations
66+
:vartype machine_run_commands:
67+
azure.mgmt.hybridcompute.aio.operations.MachineRunCommandsOperations
68+
:ivar gateways: GatewaysOperations operations
69+
:vartype gateways: azure.mgmt.hybridcompute.aio.operations.GatewaysOperations
70+
:ivar settings: SettingsOperations operations
71+
:vartype settings: azure.mgmt.hybridcompute.aio.operations.SettingsOperations
6272
:ivar private_link_scopes: PrivateLinkScopesOperations operations
6373
:vartype private_link_scopes:
6474
azure.mgmt.hybridcompute.aio.operations.PrivateLinkScopesOperations
@@ -78,8 +88,8 @@ class HybridComputeManagementClient(
7888
:type subscription_id: str
7989
:param base_url: Service URL. Default value is "https://management.azure.com".
8090
:type base_url: str
81-
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
82-
default value may result in unsupported behavior.
91+
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
92+
this default value may result in unsupported behavior.
8393
:paramtype api_version: str
8494
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
8595
Retry-After header is present.
@@ -132,6 +142,11 @@ def __init__(
132142
)
133143
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
134144
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
145+
self.machine_run_commands = MachineRunCommandsOperations(
146+
self._client, self._config, self._serialize, self._deserialize
147+
)
148+
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
149+
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
135150
self.private_link_scopes = PrivateLinkScopesOperations(
136151
self._client, self._config, self._serialize, self._deserialize
137152
)

sdk/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute/aio/operations/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
from ._extension_metadata_operations import ExtensionMetadataOperations
1515
from ._operations import Operations
1616
from ._network_profile_operations import NetworkProfileOperations
17+
from ._machine_run_commands_operations import MachineRunCommandsOperations
18+
from ._gateways_operations import GatewaysOperations
19+
from ._settings_operations import SettingsOperations
1720
from ._private_link_scopes_operations import PrivateLinkScopesOperations
1821
from ._private_link_resources_operations import PrivateLinkResourcesOperations
1922
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
@@ -32,6 +35,9 @@
3235
"ExtensionMetadataOperations",
3336
"Operations",
3437
"NetworkProfileOperations",
38+
"MachineRunCommandsOperations",
39+
"GatewaysOperations",
40+
"SettingsOperations",
3541
"PrivateLinkScopesOperations",
3642
"PrivateLinkResourcesOperations",
3743
"PrivateEndpointConnectionsOperations",

0 commit comments

Comments
 (0)