Skip to content

Commit 41f990a

Browse files
author
SDKAuto
committed
CodeGen from PR 34006 in Azure/azure-rest-api-specs
Merge 9db6d05aa9250b2c944c5b29ea1883674ca54dec into 9f43656894d4026c725a80f62dd582174a500053
1 parent c59cfb6 commit 41f990a

File tree

220 files changed

+26774
-6408
lines changed

Some content is hidden

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

220 files changed

+26774
-6408
lines changed

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

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

3+
## 8.0.0 (2025-04-17)
4+
5+
### Features Added
6+
7+
- Added operation ArcSettingsOperations.begin_initialize_disable_process
8+
- Added operation ArcSettingsOperations.consent_and_install_default_extensions
9+
- Added operation ClustersOperations.begin_extend_software_assurance_benefit
10+
- Added operation ExtensionsOperations.begin_upgrade
11+
- Added operation group DeploymentSettingsOperations
12+
- Added operation group EdgeDevicesOperations
13+
- Added operation group GalleryImagesOperations
14+
- Added operation group GuestAgentOperations
15+
- Added operation group GuestAgentsOperations
16+
- Added operation group HybridIdentityMetadataOperations
17+
- Added operation group LogicalNetworksOperations
18+
- Added operation group MarketplaceGalleryImagesOperations
19+
- Added operation group NetworkInterfacesOperations
20+
- Added operation group OffersOperations
21+
- Added operation group PublishersOperations
22+
- Added operation group SecuritySettingsOperations
23+
- Added operation group SkusOperations
24+
- Added operation group StorageContainersOperations
25+
- Added operation group UpdateRunsOperations
26+
- Added operation group UpdateSummariesOperations
27+
- Added operation group UpdatesOperations
28+
- Added operation group VirtualHardDisksOperations
29+
- Added operation group VirtualMachineInstancesOperations
30+
- Model ArcConnectivityProperties has a new parameter service_configurations
31+
- Model ArcSetting has a new parameter default_extensions
32+
- Model ArcSetting has a new parameter system_data
33+
- Model Cluster has a new parameter connectivity_status
34+
- Model Cluster has a new parameter isolated_vm_attestation_configuration
35+
- Model Cluster has a new parameter principal_id
36+
- Model Cluster has a new parameter resource_provider_object_id
37+
- Model Cluster has a new parameter software_assurance_properties
38+
- Model Cluster has a new parameter system_data
39+
- Model Cluster has a new parameter tenant_id
40+
- Model Cluster has a new parameter type_identity_type
41+
- Model Cluster has a new parameter user_assigned_identities
42+
- Model ClusterNode has a new parameter ehc_resource_id
43+
- Model ClusterNode has a new parameter last_licensing_timestamp
44+
- Model ClusterNode has a new parameter node_type
45+
- Model ClusterNode has a new parameter oem_activation
46+
- Model ClusterNode has a new parameter os_display_version
47+
- Model ClusterPatch has a new parameter principal_id
48+
- Model ClusterPatch has a new parameter tenant_id
49+
- Model ClusterPatch has a new parameter type
50+
- Model ClusterPatch has a new parameter user_assigned_identities
51+
- Model ClusterReportedProperties has a new parameter cluster_type
52+
- Model ClusterReportedProperties has a new parameter manufacturer
53+
- Model ClusterReportedProperties has a new parameter oem_activation
54+
- Model ClusterReportedProperties has a new parameter supported_capabilities
55+
- Model Extension has a new parameter enable_automatic_upgrade
56+
- Model Extension has a new parameter managed_by
57+
- Model Extension has a new parameter system_data
58+
- Model PerNodeExtensionState has a new parameter instance_view
59+
- Model PerNodeExtensionState has a new parameter type_handler_version
60+
- Model PerNodeState has a new parameter arc_node_service_principal_object_id
61+
- Model ProxyResource has a new parameter system_data
62+
- Model Resource has a new parameter system_data
63+
- Model TrackedResource has a new parameter system_data
64+
65+
### Breaking Changes
66+
67+
- Model ArcSetting no longer has parameter created_at
68+
- Model ArcSetting no longer has parameter created_by
69+
- Model ArcSetting no longer has parameter created_by_type
70+
- Model ArcSetting no longer has parameter last_modified_at
71+
- Model ArcSetting no longer has parameter last_modified_by
72+
- Model ArcSetting no longer has parameter last_modified_by_type
73+
- Model Cluster no longer has parameter created_at
74+
- Model Cluster no longer has parameter created_by
75+
- Model Cluster no longer has parameter created_by_type
76+
- Model Cluster no longer has parameter last_modified_at
77+
- Model Cluster no longer has parameter last_modified_by
78+
- Model Cluster no longer has parameter last_modified_by_type
79+
- Model Extension no longer has parameter created_at
80+
- Model Extension no longer has parameter created_by
81+
- Model Extension no longer has parameter created_by_type
82+
- Model Extension no longer has parameter last_modified_at
83+
- Model Extension no longer has parameter last_modified_by
84+
- Model Extension no longer has parameter last_modified_by_type
85+
386
## 8.0.0b4 (2024-08-26)
487

588
### Features Added

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Azure Stack HCI Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "30d040e41a4cea0d31a6c7e56726ea2df17fdcc5",
2+
"commit": "7bc574d79bbe9e40e5c4b4ffb9da16c0f1075939",
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.32.3",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/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.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/readme.md"
9+
"autorest_command": "autorest specification/azurestackhci/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.32.3 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
10+
"readme": "specification/azurestackhci/resource-manager/readme.md"
1111
}

sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/__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 ._azure_stack_hci_client import AzureStackHCIClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._azure_stack_hci_client import AzureStackHCIClient # 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
"AzureStackHCIClient",
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/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/_azure_stack_hci_client.py

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,31 @@
2424
DeploymentSettingsOperations,
2525
EdgeDevicesOperations,
2626
ExtensionsOperations,
27+
GalleryImagesOperations,
28+
GuestAgentOperations,
29+
GuestAgentsOperations,
30+
HybridIdentityMetadataOperations,
31+
LogicalNetworksOperations,
32+
MarketplaceGalleryImagesOperations,
33+
NetworkInterfacesOperations,
2734
OffersOperations,
2835
Operations,
2936
PublishersOperations,
3037
SecuritySettingsOperations,
3138
SkusOperations,
39+
StorageContainersOperations,
3240
UpdateRunsOperations,
3341
UpdateSummariesOperations,
3442
UpdatesOperations,
43+
VirtualHardDisksOperations,
44+
VirtualMachineInstancesOperations,
3545
)
3646

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

4150

42-
class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
51+
class AzureStackHCIClient: # pylint: disable=too-many-instance-attributes
4352
"""Azure Stack HCI management service.
4453
4554
:ivar arc_settings: ArcSettingsOperations operations
@@ -52,6 +61,15 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
5261
:vartype edge_devices: azure.mgmt.azurestackhci.operations.EdgeDevicesOperations
5362
:ivar extensions: ExtensionsOperations operations
5463
:vartype extensions: azure.mgmt.azurestackhci.operations.ExtensionsOperations
64+
:ivar gallery_images: GalleryImagesOperations operations
65+
:vartype gallery_images: azure.mgmt.azurestackhci.operations.GalleryImagesOperations
66+
:ivar logical_networks: LogicalNetworksOperations operations
67+
:vartype logical_networks: azure.mgmt.azurestackhci.operations.LogicalNetworksOperations
68+
:ivar marketplace_gallery_images: MarketplaceGalleryImagesOperations operations
69+
:vartype marketplace_gallery_images:
70+
azure.mgmt.azurestackhci.operations.MarketplaceGalleryImagesOperations
71+
:ivar network_interfaces: NetworkInterfacesOperations operations
72+
:vartype network_interfaces: azure.mgmt.azurestackhci.operations.NetworkInterfacesOperations
5573
:ivar offers: OffersOperations operations
5674
:vartype offers: azure.mgmt.azurestackhci.operations.OffersOperations
5775
:ivar operations: Operations operations
@@ -62,19 +80,33 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
6280
:vartype security_settings: azure.mgmt.azurestackhci.operations.SecuritySettingsOperations
6381
:ivar skus: SkusOperations operations
6482
:vartype skus: azure.mgmt.azurestackhci.operations.SkusOperations
83+
:ivar storage_containers: StorageContainersOperations operations
84+
:vartype storage_containers: azure.mgmt.azurestackhci.operations.StorageContainersOperations
6585
:ivar update_runs: UpdateRunsOperations operations
6686
:vartype update_runs: azure.mgmt.azurestackhci.operations.UpdateRunsOperations
6787
:ivar update_summaries: UpdateSummariesOperations operations
6888
:vartype update_summaries: azure.mgmt.azurestackhci.operations.UpdateSummariesOperations
6989
:ivar updates: UpdatesOperations operations
7090
:vartype updates: azure.mgmt.azurestackhci.operations.UpdatesOperations
91+
:ivar virtual_hard_disks: VirtualHardDisksOperations operations
92+
:vartype virtual_hard_disks: azure.mgmt.azurestackhci.operations.VirtualHardDisksOperations
93+
:ivar virtual_machine_instances: VirtualMachineInstancesOperations operations
94+
:vartype virtual_machine_instances:
95+
azure.mgmt.azurestackhci.operations.VirtualMachineInstancesOperations
96+
:ivar hybrid_identity_metadata: HybridIdentityMetadataOperations operations
97+
:vartype hybrid_identity_metadata:
98+
azure.mgmt.azurestackhci.operations.HybridIdentityMetadataOperations
99+
:ivar guest_agent: GuestAgentOperations operations
100+
:vartype guest_agent: azure.mgmt.azurestackhci.operations.GuestAgentOperations
101+
:ivar guest_agents: GuestAgentsOperations operations
102+
:vartype guest_agents: azure.mgmt.azurestackhci.operations.GuestAgentsOperations
71103
:param credential: Credential needed for the client to connect to Azure. Required.
72104
:type credential: ~azure.core.credentials.TokenCredential
73-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
105+
:param subscription_id: The ID of the target subscription. Required.
74106
:type subscription_id: str
75107
:param base_url: Service URL. Default value is "https://management.azure.com".
76108
:type base_url: str
77-
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
109+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
78110
default value may result in unsupported behavior.
79111
:paramtype api_version: str
80112
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -122,18 +154,42 @@ def __init__(
122154
)
123155
self.edge_devices = EdgeDevicesOperations(self._client, self._config, self._serialize, self._deserialize)
124156
self.extensions = ExtensionsOperations(self._client, self._config, self._serialize, self._deserialize)
157+
self.gallery_images = GalleryImagesOperations(self._client, self._config, self._serialize, self._deserialize)
158+
self.logical_networks = LogicalNetworksOperations(
159+
self._client, self._config, self._serialize, self._deserialize
160+
)
161+
self.marketplace_gallery_images = MarketplaceGalleryImagesOperations(
162+
self._client, self._config, self._serialize, self._deserialize
163+
)
164+
self.network_interfaces = NetworkInterfacesOperations(
165+
self._client, self._config, self._serialize, self._deserialize
166+
)
125167
self.offers = OffersOperations(self._client, self._config, self._serialize, self._deserialize)
126168
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
127169
self.publishers = PublishersOperations(self._client, self._config, self._serialize, self._deserialize)
128170
self.security_settings = SecuritySettingsOperations(
129171
self._client, self._config, self._serialize, self._deserialize
130172
)
131173
self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
174+
self.storage_containers = StorageContainersOperations(
175+
self._client, self._config, self._serialize, self._deserialize
176+
)
132177
self.update_runs = UpdateRunsOperations(self._client, self._config, self._serialize, self._deserialize)
133178
self.update_summaries = UpdateSummariesOperations(
134179
self._client, self._config, self._serialize, self._deserialize
135180
)
136181
self.updates = UpdatesOperations(self._client, self._config, self._serialize, self._deserialize)
182+
self.virtual_hard_disks = VirtualHardDisksOperations(
183+
self._client, self._config, self._serialize, self._deserialize
184+
)
185+
self.virtual_machine_instances = VirtualMachineInstancesOperations(
186+
self._client, self._config, self._serialize, self._deserialize
187+
)
188+
self.hybrid_identity_metadata = HybridIdentityMetadataOperations(
189+
self._client, self._config, self._serialize, self._deserialize
190+
)
191+
self.guest_agent = GuestAgentOperations(self._client, self._config, self._serialize, self._deserialize)
192+
self.guest_agents = GuestAgentsOperations(self._client, self._config, self._serialize, self._deserialize)
137193

138194
def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
139195
"""Runs the network request through the client's chained policies.

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,26 @@
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

21-
class AzureStackHCIClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class AzureStackHCIClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for AzureStackHCIClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
2524
attributes.
2625
2726
:param credential: Credential needed for the client to connect to Azure. Required.
2827
:type credential: ~azure.core.credentials.TokenCredential
29-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
28+
: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-04-01". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
3231
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-04-01")
36+
api_version: str = kwargs.pop("api_version", "2024-01-01")
3837

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

0 commit comments

Comments
 (0)