Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Release History

## 9.1.0b2 (2025-04-02)

### Features Added

- Client `HybridComputeManagementClient` added method `begin_setup_extensions`
- Client `HybridComputeManagementClient` added operation group `extension_metadata_v2`
- Client `HybridComputeManagementClient` added operation group `extension_type`
- Client `HybridComputeManagementClient` added operation group `extension_publisher`
- Model `Machine` added property `identity_key_store`
- Model `Machine` added property `tpm_ek_certificate`
- Model `Machine` added property `hardware_resource_id`
- Model `MachineUpdate` added property `identity_key_store`
- Model `MachineUpdate` added property `tpm_ek_certificate`
- Enum `StatusTypes` added member `AWAITING_CONNECTION`
- Model `WindowsParameters` added property `patch_name_masks_to_include`
- Model `WindowsParameters` added property `patch_name_masks_to_exclude`
- Added model `ExtensionPublisher`
- Added model `ExtensionPublisherListResult`
- Added model `ExtensionType`
- Added model `ExtensionTypeListResult`
- Added model `ExtensionValueListResultV2`
- Added model `ExtensionValueProperties`
- Added model `ExtensionValueV2`
- Added model `ExtensionValueV2Properties`
- Added enum `IdentityKeyStore`
- Added model `SetupExtensionRequest`
- Model `HybridComputeManagementClientOperationsMixin` added method `begin_setup_extensions`
- Model `MachinesOperations` added method `begin_delete`
- Added model `ExtensionMetadataV2Operations`
- Added model `ExtensionPublisherOperations`
- Added model `ExtensionTypeOperations`
- 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)`
- 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)`
- 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)`
- 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)`

### Breaking Changes

- Deleted or renamed model `ErrorDetailAutoGenerated`
- Deleted or renamed model `ErrorResponseAutoGenerated`
- Deleted or renamed model `TrackedResourceAutoGenerated`
- Deleted or renamed method `MachinesOperations.delete`

## 9.1.0b1 (2024-11-15)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/hybridcompute/azure-mgmt-hybridcompute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

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

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
6 changes: 3 additions & 3 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "fe44d3261ff0ea816315126120672ccec78c3074",
"commit": "564c8c7329ca228ae69f4bfcf3cf905e0be18abe",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.27.4",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/hybridcompute/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._hybrid_compute_management_client import HybridComputeManagementClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._hybrid_compute_management_client import HybridComputeManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"HybridComputeManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from ._version import VERSION

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


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

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
from ._serialization import Deserializer, Serializer
from .operations import (
ExtensionMetadataOperations,
ExtensionMetadataV2Operations,
ExtensionPublisherOperations,
ExtensionTypeOperations,
GatewaysOperations,
HybridComputeManagementClientOperationsMixin,
LicenseProfilesOperations,
Expand All @@ -37,13 +40,12 @@
)

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


class HybridComputeManagementClient(
HybridComputeManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
): # pylint: disable=too-many-instance-attributes
"""The Hybrid Compute Management Client.

:ivar licenses: LicensesOperations operations
Expand All @@ -56,6 +58,13 @@ class HybridComputeManagementClient(
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
:ivar extension_metadata: ExtensionMetadataOperations operations
:vartype extension_metadata: azure.mgmt.hybridcompute.operations.ExtensionMetadataOperations
:ivar extension_metadata_v2: ExtensionMetadataV2Operations operations
:vartype extension_metadata_v2:
azure.mgmt.hybridcompute.operations.ExtensionMetadataV2Operations
:ivar extension_type: ExtensionTypeOperations operations
:vartype extension_type: azure.mgmt.hybridcompute.operations.ExtensionTypeOperations
:ivar extension_publisher: ExtensionPublisherOperations operations
:vartype extension_publisher: azure.mgmt.hybridcompute.operations.ExtensionPublisherOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
:ivar network_profile: NetworkProfileOperations operations
Expand Down Expand Up @@ -84,7 +93,7 @@ class HybridComputeManagementClient(
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-07-31-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2025-02-19-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down Expand Up @@ -136,6 +145,13 @@ def __init__(
self.extension_metadata = ExtensionMetadataOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_metadata_v2 = ExtensionMetadataV2Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_type = ExtensionTypeOperations(self._client, self._config, self._serialize, self._deserialize)
self.extension_publisher = ExtensionPublisherOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
self.machine_run_commands = MachineRunCommandsOperations(
Expand Down
Loading