Skip to content

Commit

Permalink
[AutoRelease] t2-hybridcompute-2024-10-10-23686(can only be merged by…
Browse files Browse the repository at this point in the history
… SDK owner) (#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]>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent f2bc1fc commit 62ddf8f
Show file tree
Hide file tree
Showing 128 changed files with 2,192 additions and 4,948 deletions.
156 changes: 156 additions & 0 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,161 @@
# Release History

## 9.0.0 (2024-10-14)

### Features Added

- Client `HybridComputeManagementClient` added operation group `licenses`
- Client `HybridComputeManagementClient` added operation group `license_profiles`
- Client `HybridComputeManagementClient` added operation group `extension_metadata`
- Client `HybridComputeManagementClient` added operation group `network_profile`
- Client `HybridComputeManagementClient` added operation group `network_security_perimeter_configurations`
- Model `AgentConfiguration` added property `config_mode`
- Model `Machine` added property `resources`
- Model `Machine` added property `kind`
- Model `Machine` added property `location_data`
- Model `Machine` added property `agent_configuration`
- Model `Machine` added property `service_statuses`
- Model `Machine` added property `cloud_metadata`
- Model `Machine` added property `agent_upgrade`
- Model `Machine` added property `os_profile`
- Model `Machine` added property `license_profile`
- Model `Machine` added property `provisioning_state`
- Model `Machine` added property `status`
- Model `Machine` added property `last_status_change`
- Model `Machine` added property `error_details`
- Model `Machine` added property `agent_version`
- Model `Machine` added property `vm_id`
- Model `Machine` added property `display_name`
- Model `Machine` added property `machine_fqdn`
- Model `Machine` added property `client_public_key`
- Model `Machine` added property `os_name`
- Model `Machine` added property `os_version`
- Model `Machine` added property `os_type`
- Model `Machine` added property `vm_uuid`
- Model `Machine` added property `extensions`
- Model `Machine` added property `os_sku`
- Model `Machine` added property `os_edition`
- Model `Machine` added property `domain_name`
- Model `Machine` added property `ad_fqdn`
- Model `Machine` added property `dns_fqdn`
- Model `Machine` added property `private_link_scope_resource_id`
- Model `Machine` added property `parent_cluster_resource_id`
- Model `Machine` added property `mssql_discovered`
- Model `Machine` added property `detected_properties`
- Model `Machine` added property `network_profile`
- Model `MachineExtensionUpdate` added parameter `force_update_tag` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `publisher` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `type` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `type_handler_version` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `enable_automatic_upgrade` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `auto_upgrade_minor_version` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `settings` in method `__init__`
- Model `MachineExtensionUpdate` added parameter `protected_settings` in method `__init__`
- Model `MachineUpdate` added property `kind`
- Model `MachineUpdate` added property `location_data`
- Model `MachineUpdate` added property `os_profile`
- Model `MachineUpdate` added property `cloud_metadata`
- Model `MachineUpdate` added property `agent_upgrade`
- Model `MachineUpdate` added property `parent_cluster_resource_id`
- Model `MachineUpdate` added property `private_link_scope_resource_id`
- Model `OSProfileLinuxConfiguration` added property `enable_hotpatching`
- Model `OSProfileLinuxConfiguration` added property `status`
- Model `OSProfileWindowsConfiguration` added property `enable_hotpatching`
- Model `OSProfileWindowsConfiguration` added property `status`
- Enum `PublicNetworkAccessType` added member `SECURED_BY_PERIMETER`
- Model `Resource` added property `system_data`
- Added enum `AccessMode`
- Added model `AccessRule`
- Added enum `AccessRuleDirection`
- Added enum `AgentConfigurationMode`
- Added model `AgentUpgrade`
- Added enum `ArcKindEnum`
- Added model `AvailablePatchCountByClassification`
- Added enum `EsuEligibility`
- Added model `EsuKey`
- Added enum `EsuKeyState`
- Added enum `EsuServerType`
- Added model `ExtensionValue`
- Added model `ExtensionValueListResult`
- Added model `ExtensionsResourceStatus`
- Added enum `ExtensionsStatusLevelTypes`
- Added enum `HotpatchEnablementStatus`
- Added model `IpAddress`
- Added model `KeyDetails`
- Added model `KeyProperties`
- Added enum `LastAttemptStatusEnum`
- Added model `License`
- Added enum `LicenseAssignmentState`
- Added enum `LicenseCoreType`
- Added model `LicenseDetails`
- Added enum `LicenseEdition`
- Added model `LicenseProfile`
- Added model `LicenseProfileArmEsuProperties`
- Added model `LicenseProfileArmEsuPropertiesWithoutAssignedLicense`
- Added model `LicenseProfileMachineInstanceView`
- Added model `LicenseProfileMachineInstanceViewEsuProperties`
- Added enum `LicenseProfileProductType`
- Added model `LicenseProfileStorageModelEsuProperties`
- Added enum `LicenseProfileSubscriptionStatus`
- Added enum `LicenseProfileSubscriptionStatusUpdate`
- Added model `LicenseProfileUpdate`
- Added model `LicenseProfilesListResult`
- Added enum `LicenseState`
- Added enum `LicenseStatus`
- Added enum `LicenseTarget`
- Added enum `LicenseType`
- Added model `LicenseUpdate`
- Added model `LicensesListResult`
- Added model `LinuxParameters`
- Added model `MachineAssessPatchesResult`
- Added model `MachineInstallPatchesParameters`
- Added model `MachineInstallPatchesResult`
- Added model `NetworkInterface`
- Added model `NetworkProfile`
- Added model `NetworkSecurityPerimeter`
- Added model `NetworkSecurityPerimeterConfiguration`
- Added model `NetworkSecurityPerimeterConfigurationListResult`
- Added model `NetworkSecurityPerimeterConfigurationReconcileResult`
- Added model `NetworkSecurityPerimeterProfile`
- Added enum `OsType`
- Added enum `PatchOperationStartedBy`
- Added enum `PatchOperationStatus`
- Added enum `PatchServiceUsed`
- Added model `PatchSettingsStatus`
- Added model `ProductFeature`
- Added model `ProductFeatureUpdate`
- Added enum `ProgramYear`
- Added model `ProvisioningIssue`
- Added enum `ProvisioningIssueSeverity`
- Added enum `ProvisioningIssueType`
- Added enum `ProvisioningState`
- Added model `ProxyResourceAutoGenerated`
- Added model `ResourceAssociation`
- Added model `ResourceAutoGenerated`
- Added model `Subnet`
- Added enum `VMGuestPatchClassificationLinux`
- Added enum `VMGuestPatchClassificationWindows`
- Added enum `VMGuestPatchRebootSetting`
- Added enum `VMGuestPatchRebootStatus`
- Added model `VolumeLicenseDetails`
- Added model `WindowsParameters`
- Operation group `MachinesOperations` added method `begin_assess_patches`
- Operation group `MachinesOperations` added method `begin_install_patches`
- Added Operation group `ExtensionMetadataOperations`
- Added Operation group `LicenseProfilesOperations`
- Added Operation group `LicensesOperations`
- Added Operation group `NetworkProfileOperations`
- Added Operation group `NetworkSecurityPerimeterConfigurationsOperations`

### Breaking Changes

- Model `Machine` deleted or renamed its instance variable `properties`
- Model `MachineExtensionUpdate` deleted or renamed its instance variable `properties`
- Model `MachineUpdate` deleted or renamed its instance variable `properties`
- Deleted or renamed model `MachineExtensionUpdateProperties`
- Deleted or renamed model `MachineProperties`
- Deleted or renamed model `MachineUpdateProperties`

## 9.0.0b4 (2024-07-23)

### Features Added
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": "b574e2a41acda14a90ef237006e8bbdda2b63c63",
"commit": "c3f246bece34c122def67e59945e634490f205fe",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.15.0",
"@autorest/python@6.19.0",
"@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=/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",
"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",
"readme": "specification/hybridcompute/resource-manager/readme.md"
}
6 changes: 0 additions & 6 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/assets.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,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-05-20-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-07-10". 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-05-20-preview")
api_version: str = kwargs.pop("api_version", "2024-07-10")

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,19 +20,17 @@
from ._serialization import Deserializer, Serializer
from .operations import (
ExtensionMetadataOperations,
GatewaysOperations,
HybridComputeManagementClientOperationsMixin,
LicenseProfilesOperations,
LicensesOperations,
MachineExtensionsOperations,
MachineRunCommandsOperations,
MachinesOperations,
NetworkProfileOperations,
NetworkSecurityPerimeterConfigurationsOperations,
Operations,
PrivateEndpointConnectionsOperations,
PrivateLinkResourcesOperations,
PrivateLinkScopesOperations,
SettingsOperations,
)

if TYPE_CHECKING:
Expand All @@ -49,6 +47,8 @@ class HybridComputeManagementClient(
:vartype licenses: azure.mgmt.hybridcompute.operations.LicensesOperations
:ivar machines: MachinesOperations operations
:vartype machines: azure.mgmt.hybridcompute.operations.MachinesOperations
:ivar license_profiles: LicenseProfilesOperations operations
:vartype license_profiles: azure.mgmt.hybridcompute.operations.LicenseProfilesOperations
:ivar machine_extensions: MachineExtensionsOperations operations
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
:ivar extension_metadata: ExtensionMetadataOperations operations
Expand All @@ -57,12 +57,6 @@ class HybridComputeManagementClient(
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
:ivar network_profile: NetworkProfileOperations operations
:vartype network_profile: azure.mgmt.hybridcompute.operations.NetworkProfileOperations
:ivar machine_run_commands: MachineRunCommandsOperations operations
:vartype machine_run_commands: azure.mgmt.hybridcompute.operations.MachineRunCommandsOperations
:ivar gateways: GatewaysOperations operations
:vartype gateways: azure.mgmt.hybridcompute.operations.GatewaysOperations
:ivar settings: SettingsOperations operations
:vartype settings: azure.mgmt.hybridcompute.operations.SettingsOperations
:ivar private_link_scopes: PrivateLinkScopesOperations operations
:vartype private_link_scopes: azure.mgmt.hybridcompute.operations.PrivateLinkScopesOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
Expand All @@ -81,8 +75,8 @@ 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-05-20-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-07-10". 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
Retry-After header is present.
Expand Down Expand Up @@ -124,6 +118,9 @@ def __init__(
self._serialize.client_side_validation = False
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
self.license_profiles = LicenseProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.machine_extensions = MachineExtensionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -132,11 +129,6 @@ def __init__(
)
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(
self._client, self._config, self._serialize, self._deserialize
)
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
self.private_link_scopes = PrivateLinkScopesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "9.0.0b4"
VERSION = "9.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-20-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-07-10". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

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

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,19 +20,17 @@
from ._configuration import HybridComputeManagementClientConfiguration
from .operations import (
ExtensionMetadataOperations,
GatewaysOperations,
HybridComputeManagementClientOperationsMixin,
LicenseProfilesOperations,
LicensesOperations,
MachineExtensionsOperations,
MachineRunCommandsOperations,
MachinesOperations,
NetworkProfileOperations,
NetworkSecurityPerimeterConfigurationsOperations,
Operations,
PrivateEndpointConnectionsOperations,
PrivateLinkResourcesOperations,
PrivateLinkScopesOperations,
SettingsOperations,
)

if TYPE_CHECKING:
Expand All @@ -49,6 +47,8 @@ class HybridComputeManagementClient(
:vartype licenses: azure.mgmt.hybridcompute.aio.operations.LicensesOperations
:ivar machines: MachinesOperations operations
:vartype machines: azure.mgmt.hybridcompute.aio.operations.MachinesOperations
:ivar license_profiles: LicenseProfilesOperations operations
:vartype license_profiles: azure.mgmt.hybridcompute.aio.operations.LicenseProfilesOperations
:ivar machine_extensions: MachineExtensionsOperations operations
:vartype machine_extensions:
azure.mgmt.hybridcompute.aio.operations.MachineExtensionsOperations
Expand All @@ -59,13 +59,6 @@ class HybridComputeManagementClient(
:vartype operations: azure.mgmt.hybridcompute.aio.operations.Operations
:ivar network_profile: NetworkProfileOperations operations
:vartype network_profile: azure.mgmt.hybridcompute.aio.operations.NetworkProfileOperations
:ivar machine_run_commands: MachineRunCommandsOperations operations
:vartype machine_run_commands:
azure.mgmt.hybridcompute.aio.operations.MachineRunCommandsOperations
:ivar gateways: GatewaysOperations operations
:vartype gateways: azure.mgmt.hybridcompute.aio.operations.GatewaysOperations
:ivar settings: SettingsOperations operations
:vartype settings: azure.mgmt.hybridcompute.aio.operations.SettingsOperations
:ivar private_link_scopes: PrivateLinkScopesOperations operations
:vartype private_link_scopes:
azure.mgmt.hybridcompute.aio.operations.PrivateLinkScopesOperations
Expand All @@ -85,8 +78,8 @@ 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-05-20-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-07-10". 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
Retry-After header is present.
Expand Down Expand Up @@ -128,6 +121,9 @@ def __init__(
self._serialize.client_side_validation = False
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
self.license_profiles = LicenseProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.machine_extensions = MachineExtensionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -136,11 +132,6 @@ def __init__(
)
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(
self._client, self._config, self._serialize, self._deserialize
)
self.gateways = GatewaysOperations(self._client, self._config, self._serialize, self._deserialize)
self.settings = SettingsOperations(self._client, self._config, self._serialize, self._deserialize)
self.private_link_scopes = PrivateLinkScopesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Loading

0 comments on commit 62ddf8f

Please sign in to comment.