Skip to content

Commit 571defc

Browse files
author
SDKAuto
committed
CodeGen from PR 33253 in Azure/azure-rest-api-specs
Merge b3c051d64e1bd620c5d16d66afec4ef156ce065d into fb5c8fa550e9dd280236a93a974a2262000ab0b6
1 parent 19241b2 commit 571defc

File tree

156 files changed

+3859
-1202
lines changed

Some content is hidden

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

156 files changed

+3859
-1202
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.0b2 (2025-04-02)
4+
5+
### Features Added
6+
7+
- Client `HybridComputeManagementClient` added method `begin_setup_extensions`
8+
- Client `HybridComputeManagementClient` added operation group `extension_metadata_v2`
9+
- Client `HybridComputeManagementClient` added operation group `extension_type`
10+
- Client `HybridComputeManagementClient` added operation group `extension_publisher`
11+
- Model `Machine` added property `identity_key_store`
12+
- Model `Machine` added property `tpm_ek_certificate`
13+
- Model `Machine` added property `hardware_resource_id`
14+
- Model `MachineUpdate` added property `identity_key_store`
15+
- Model `MachineUpdate` added property `tpm_ek_certificate`
16+
- Enum `StatusTypes` added member `AWAITING_CONNECTION`
17+
- Model `WindowsParameters` added property `patch_name_masks_to_include`
18+
- Model `WindowsParameters` added property `patch_name_masks_to_exclude`
19+
- Added model `ExtensionPublisher`
20+
- Added model `ExtensionPublisherListResult`
21+
- Added model `ExtensionType`
22+
- Added model `ExtensionTypeListResult`
23+
- Added model `ExtensionValueListResultV2`
24+
- Added model `ExtensionValueProperties`
25+
- Added model `ExtensionValueV2`
26+
- Added model `ExtensionValueV2Properties`
27+
- Added enum `IdentityKeyStore`
28+
- Added model `SetupExtensionRequest`
29+
- Model `HybridComputeManagementClientOperationsMixin` added method `begin_setup_extensions`
30+
- Model `MachinesOperations` added method `begin_delete`
31+
- Added model `ExtensionMetadataV2Operations`
32+
- Added model `ExtensionPublisherOperations`
33+
- Added model `ExtensionTypeOperations`
34+
- Method `HybridComputeManagementClient.begin_setup_extensions` has a new overload `def begin_setup_extensions(self: None, resource_group_name: str, machine_name: str, extensions: SetupExtensionRequest, content_type: str)`
35+
- Method `HybridComputeManagementClient.begin_setup_extensions` has a new overload `def begin_setup_extensions(self: None, resource_group_name: str, machine_name: str, extensions: IO[bytes], content_type: str)`
36+
- Method `HybridComputeManagementClientOperationsMixin.begin_setup_extensions` has a new overload `def begin_setup_extensions(self: None, resource_group_name: str, machine_name: str, extensions: SetupExtensionRequest, content_type: str)`
37+
- Method `HybridComputeManagementClientOperationsMixin.begin_setup_extensions` has a new overload `def begin_setup_extensions(self: None, resource_group_name: str, machine_name: str, extensions: IO[bytes], content_type: str)`
38+
39+
### Breaking Changes
40+
41+
- Deleted or renamed model `ErrorDetailAutoGenerated`
42+
- Deleted or renamed model `ErrorResponseAutoGenerated`
43+
- Deleted or renamed model `TrackedResourceAutoGenerated`
44+
- Deleted or renamed method `MachinesOperations.delete`
45+
346
## 9.1.0b1 (2024-11-15)
447

548
### Features Added

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "fe44d3261ff0ea816315126120672ccec78c3074",
2+
"commit": "564c8c7329ca228ae69f4bfcf3cf905e0be18abe",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.27.4",
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 --use=@autorest/python@6.19.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/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --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/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._hybrid_compute_management_client import HybridComputeManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._hybrid_compute_management_client import HybridComputeManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"HybridComputeManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

@@ -28,13 +27,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
30+
:keyword api_version: Api Version. Default value is "2025-02-19-preview". Note that overriding
3231
this default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-07-31-preview")
36+
api_version: str = kwargs.pop("api_version", "2025-02-19-preview")
3837

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

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
from ._serialization import Deserializer, Serializer
2121
from .operations import (
2222
ExtensionMetadataOperations,
23+
ExtensionMetadataV2Operations,
24+
ExtensionPublisherOperations,
25+
ExtensionTypeOperations,
2326
GatewaysOperations,
2427
HybridComputeManagementClientOperationsMixin,
2528
LicenseProfilesOperations,
@@ -37,13 +40,12 @@
3740
)
3841

3942
if TYPE_CHECKING:
40-
# pylint: disable=unused-import,ungrouped-imports
4143
from azure.core.credentials import TokenCredential
4244

4345

4446
class HybridComputeManagementClient(
4547
HybridComputeManagementClientOperationsMixin
46-
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
48+
): # pylint: disable=too-many-instance-attributes
4749
"""The Hybrid Compute Management Client.
4850
4951
:ivar licenses: LicensesOperations operations
@@ -56,6 +58,13 @@ class HybridComputeManagementClient(
5658
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
5759
:ivar extension_metadata: ExtensionMetadataOperations operations
5860
:vartype extension_metadata: azure.mgmt.hybridcompute.operations.ExtensionMetadataOperations
61+
:ivar extension_metadata_v2: ExtensionMetadataV2Operations operations
62+
:vartype extension_metadata_v2:
63+
azure.mgmt.hybridcompute.operations.ExtensionMetadataV2Operations
64+
:ivar extension_type: ExtensionTypeOperations operations
65+
:vartype extension_type: azure.mgmt.hybridcompute.operations.ExtensionTypeOperations
66+
:ivar extension_publisher: ExtensionPublisherOperations operations
67+
:vartype extension_publisher: azure.mgmt.hybridcompute.operations.ExtensionPublisherOperations
5968
:ivar operations: Operations operations
6069
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
6170
:ivar network_profile: NetworkProfileOperations operations
@@ -84,7 +93,7 @@ class HybridComputeManagementClient(
8493
:type subscription_id: str
8594
:param base_url: Service URL. Default value is "https://management.azure.com".
8695
:type base_url: str
87-
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
96+
:keyword api_version: Api Version. Default value is "2025-02-19-preview". Note that overriding
8897
this default value may result in unsupported behavior.
8998
:paramtype api_version: str
9099
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -136,6 +145,13 @@ def __init__(
136145
self.extension_metadata = ExtensionMetadataOperations(
137146
self._client, self._config, self._serialize, self._deserialize
138147
)
148+
self.extension_metadata_v2 = ExtensionMetadataV2Operations(
149+
self._client, self._config, self._serialize, self._deserialize
150+
)
151+
self.extension_type = ExtensionTypeOperations(self._client, self._config, self._serialize, self._deserialize)
152+
self.extension_publisher = ExtensionPublisherOperations(
153+
self._client, self._config, self._serialize, self._deserialize
154+
)
139155
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
140156
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
141157
self.machine_run_commands = MachineRunCommandsOperations(

0 commit comments

Comments
 (0)