Skip to content

Commit 8f90503

Browse files
author
SDKAuto
committed
CodeGen from PR 30637 in Azure/azure-rest-api-specs
Merge 279b9757737e5267adb3806e56691d07358869ac into fda3d5e4ae4c69aa72ddfdf5ca1b6d5795a03e71
1 parent 2a42241 commit 8f90503

File tree

200 files changed

+25488
-5277
lines changed

Some content is hidden

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

200 files changed

+25488
-5277
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "30d040e41a4cea0d31a6c7e56726ea2df17fdcc5",
2+
"commit": "5f886a5775c760fde0e62475552e52645df403aa",
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/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/[email protected] --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/[email protected] --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/_azure_stack_hci_client.py

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,24 @@
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:
@@ -52,6 +62,15 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
5262
:vartype edge_devices: azure.mgmt.azurestackhci.operations.EdgeDevicesOperations
5363
:ivar extensions: ExtensionsOperations operations
5464
:vartype extensions: azure.mgmt.azurestackhci.operations.ExtensionsOperations
65+
:ivar gallery_images: GalleryImagesOperations operations
66+
:vartype gallery_images: azure.mgmt.azurestackhci.operations.GalleryImagesOperations
67+
:ivar logical_networks: LogicalNetworksOperations operations
68+
:vartype logical_networks: azure.mgmt.azurestackhci.operations.LogicalNetworksOperations
69+
:ivar marketplace_gallery_images: MarketplaceGalleryImagesOperations operations
70+
:vartype marketplace_gallery_images:
71+
azure.mgmt.azurestackhci.operations.MarketplaceGalleryImagesOperations
72+
:ivar network_interfaces: NetworkInterfacesOperations operations
73+
:vartype network_interfaces: azure.mgmt.azurestackhci.operations.NetworkInterfacesOperations
5574
:ivar offers: OffersOperations operations
5675
:vartype offers: azure.mgmt.azurestackhci.operations.OffersOperations
5776
:ivar operations: Operations operations
@@ -62,19 +81,33 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
6281
:vartype security_settings: azure.mgmt.azurestackhci.operations.SecuritySettingsOperations
6382
:ivar skus: SkusOperations operations
6483
:vartype skus: azure.mgmt.azurestackhci.operations.SkusOperations
84+
:ivar storage_containers: StorageContainersOperations operations
85+
:vartype storage_containers: azure.mgmt.azurestackhci.operations.StorageContainersOperations
6586
:ivar update_runs: UpdateRunsOperations operations
6687
:vartype update_runs: azure.mgmt.azurestackhci.operations.UpdateRunsOperations
6788
:ivar update_summaries: UpdateSummariesOperations operations
6889
:vartype update_summaries: azure.mgmt.azurestackhci.operations.UpdateSummariesOperations
6990
:ivar updates: UpdatesOperations operations
7091
:vartype updates: azure.mgmt.azurestackhci.operations.UpdatesOperations
92+
:ivar virtual_hard_disks: VirtualHardDisksOperations operations
93+
:vartype virtual_hard_disks: azure.mgmt.azurestackhci.operations.VirtualHardDisksOperations
94+
:ivar virtual_machine_instances: VirtualMachineInstancesOperations operations
95+
:vartype virtual_machine_instances:
96+
azure.mgmt.azurestackhci.operations.VirtualMachineInstancesOperations
97+
:ivar hybrid_identity_metadata: HybridIdentityMetadataOperations operations
98+
:vartype hybrid_identity_metadata:
99+
azure.mgmt.azurestackhci.operations.HybridIdentityMetadataOperations
100+
:ivar guest_agent: GuestAgentOperations operations
101+
:vartype guest_agent: azure.mgmt.azurestackhci.operations.GuestAgentOperations
102+
:ivar guest_agents: GuestAgentsOperations operations
103+
:vartype guest_agents: azure.mgmt.azurestackhci.operations.GuestAgentsOperations
71104
:param credential: Credential needed for the client to connect to Azure. Required.
72105
:type credential: ~azure.core.credentials.TokenCredential
73-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
106+
:param subscription_id: The ID of the target subscription. Required.
74107
:type subscription_id: str
75108
:param base_url: Service URL. Default value is "https://management.azure.com".
76109
:type base_url: str
77-
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
110+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
78111
default value may result in unsupported behavior.
79112
:paramtype api_version: str
80113
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -122,18 +155,42 @@ def __init__(
122155
)
123156
self.edge_devices = EdgeDevicesOperations(self._client, self._config, self._serialize, self._deserialize)
124157
self.extensions = ExtensionsOperations(self._client, self._config, self._serialize, self._deserialize)
158+
self.gallery_images = GalleryImagesOperations(self._client, self._config, self._serialize, self._deserialize)
159+
self.logical_networks = LogicalNetworksOperations(
160+
self._client, self._config, self._serialize, self._deserialize
161+
)
162+
self.marketplace_gallery_images = MarketplaceGalleryImagesOperations(
163+
self._client, self._config, self._serialize, self._deserialize
164+
)
165+
self.network_interfaces = NetworkInterfacesOperations(
166+
self._client, self._config, self._serialize, self._deserialize
167+
)
125168
self.offers = OffersOperations(self._client, self._config, self._serialize, self._deserialize)
126169
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
127170
self.publishers = PublishersOperations(self._client, self._config, self._serialize, self._deserialize)
128171
self.security_settings = SecuritySettingsOperations(
129172
self._client, self._config, self._serialize, self._deserialize
130173
)
131174
self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
175+
self.storage_containers = StorageContainersOperations(
176+
self._client, self._config, self._serialize, self._deserialize
177+
)
132178
self.update_runs = UpdateRunsOperations(self._client, self._config, self._serialize, self._deserialize)
133179
self.update_summaries = UpdateSummariesOperations(
134180
self._client, self._config, self._serialize, self._deserialize
135181
)
136182
self.updates = UpdatesOperations(self._client, self._config, self._serialize, self._deserialize)
183+
self.virtual_hard_disks = VirtualHardDisksOperations(
184+
self._client, self._config, self._serialize, self._deserialize
185+
)
186+
self.virtual_machine_instances = VirtualMachineInstancesOperations(
187+
self._client, self._config, self._serialize, self._deserialize
188+
)
189+
self.hybrid_identity_metadata = HybridIdentityMetadataOperations(
190+
self._client, self._config, self._serialize, self._deserialize
191+
)
192+
self.guest_agent = GuestAgentOperations(self._client, self._config, self._serialize, self._deserialize)
193+
self.guest_agents = GuestAgentsOperations(self._client, self._config, self._serialize, self._deserialize)
137194

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class AzureStackHCIClientConfiguration: # pylint: disable=too-many-instance-att
2626
2727
:param credential: Credential needed for the client to connect to Azure. Required.
2828
:type credential: ~azure.core.credentials.TokenCredential
29-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
29+
: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-04-01". Note that overriding this
31+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
3232
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-04-01")
37+
api_version: str = kwargs.pop("api_version", "2024-01-01")
3838

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

sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/_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 = "8.0.0b4"
9+
VERSION = "1.0.0b1"

sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/aio/_azure_stack_hci_client.py

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,24 @@
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:
@@ -53,6 +63,16 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
5363
:vartype edge_devices: azure.mgmt.azurestackhci.aio.operations.EdgeDevicesOperations
5464
:ivar extensions: ExtensionsOperations operations
5565
:vartype extensions: azure.mgmt.azurestackhci.aio.operations.ExtensionsOperations
66+
:ivar gallery_images: GalleryImagesOperations operations
67+
:vartype gallery_images: azure.mgmt.azurestackhci.aio.operations.GalleryImagesOperations
68+
:ivar logical_networks: LogicalNetworksOperations operations
69+
:vartype logical_networks: azure.mgmt.azurestackhci.aio.operations.LogicalNetworksOperations
70+
:ivar marketplace_gallery_images: MarketplaceGalleryImagesOperations operations
71+
:vartype marketplace_gallery_images:
72+
azure.mgmt.azurestackhci.aio.operations.MarketplaceGalleryImagesOperations
73+
:ivar network_interfaces: NetworkInterfacesOperations operations
74+
:vartype network_interfaces:
75+
azure.mgmt.azurestackhci.aio.operations.NetworkInterfacesOperations
5676
:ivar offers: OffersOperations operations
5777
:vartype offers: azure.mgmt.azurestackhci.aio.operations.OffersOperations
5878
:ivar operations: Operations operations
@@ -63,19 +83,34 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
6383
:vartype security_settings: azure.mgmt.azurestackhci.aio.operations.SecuritySettingsOperations
6484
:ivar skus: SkusOperations operations
6585
:vartype skus: azure.mgmt.azurestackhci.aio.operations.SkusOperations
86+
:ivar storage_containers: StorageContainersOperations operations
87+
:vartype storage_containers:
88+
azure.mgmt.azurestackhci.aio.operations.StorageContainersOperations
6689
:ivar update_runs: UpdateRunsOperations operations
6790
:vartype update_runs: azure.mgmt.azurestackhci.aio.operations.UpdateRunsOperations
6891
:ivar update_summaries: UpdateSummariesOperations operations
6992
:vartype update_summaries: azure.mgmt.azurestackhci.aio.operations.UpdateSummariesOperations
7093
:ivar updates: UpdatesOperations operations
7194
:vartype updates: azure.mgmt.azurestackhci.aio.operations.UpdatesOperations
95+
:ivar virtual_hard_disks: VirtualHardDisksOperations operations
96+
:vartype virtual_hard_disks: azure.mgmt.azurestackhci.aio.operations.VirtualHardDisksOperations
97+
:ivar virtual_machine_instances: VirtualMachineInstancesOperations operations
98+
:vartype virtual_machine_instances:
99+
azure.mgmt.azurestackhci.aio.operations.VirtualMachineInstancesOperations
100+
:ivar hybrid_identity_metadata: HybridIdentityMetadataOperations operations
101+
:vartype hybrid_identity_metadata:
102+
azure.mgmt.azurestackhci.aio.operations.HybridIdentityMetadataOperations
103+
:ivar guest_agent: GuestAgentOperations operations
104+
:vartype guest_agent: azure.mgmt.azurestackhci.aio.operations.GuestAgentOperations
105+
:ivar guest_agents: GuestAgentsOperations operations
106+
:vartype guest_agents: azure.mgmt.azurestackhci.aio.operations.GuestAgentsOperations
72107
:param credential: Credential needed for the client to connect to Azure. Required.
73108
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
74-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
109+
:param subscription_id: The ID of the target subscription. Required.
75110
:type subscription_id: str
76111
:param base_url: Service URL. Default value is "https://management.azure.com".
77112
:type base_url: str
78-
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
113+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
79114
default value may result in unsupported behavior.
80115
:paramtype api_version: str
81116
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -123,18 +158,42 @@ def __init__(
123158
)
124159
self.edge_devices = EdgeDevicesOperations(self._client, self._config, self._serialize, self._deserialize)
125160
self.extensions = ExtensionsOperations(self._client, self._config, self._serialize, self._deserialize)
161+
self.gallery_images = GalleryImagesOperations(self._client, self._config, self._serialize, self._deserialize)
162+
self.logical_networks = LogicalNetworksOperations(
163+
self._client, self._config, self._serialize, self._deserialize
164+
)
165+
self.marketplace_gallery_images = MarketplaceGalleryImagesOperations(
166+
self._client, self._config, self._serialize, self._deserialize
167+
)
168+
self.network_interfaces = NetworkInterfacesOperations(
169+
self._client, self._config, self._serialize, self._deserialize
170+
)
126171
self.offers = OffersOperations(self._client, self._config, self._serialize, self._deserialize)
127172
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
128173
self.publishers = PublishersOperations(self._client, self._config, self._serialize, self._deserialize)
129174
self.security_settings = SecuritySettingsOperations(
130175
self._client, self._config, self._serialize, self._deserialize
131176
)
132177
self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
178+
self.storage_containers = StorageContainersOperations(
179+
self._client, self._config, self._serialize, self._deserialize
180+
)
133181
self.update_runs = UpdateRunsOperations(self._client, self._config, self._serialize, self._deserialize)
134182
self.update_summaries = UpdateSummariesOperations(
135183
self._client, self._config, self._serialize, self._deserialize
136184
)
137185
self.updates = UpdatesOperations(self._client, self._config, self._serialize, self._deserialize)
186+
self.virtual_hard_disks = VirtualHardDisksOperations(
187+
self._client, self._config, self._serialize, self._deserialize
188+
)
189+
self.virtual_machine_instances = VirtualMachineInstancesOperations(
190+
self._client, self._config, self._serialize, self._deserialize
191+
)
192+
self.hybrid_identity_metadata = HybridIdentityMetadataOperations(
193+
self._client, self._config, self._serialize, self._deserialize
194+
)
195+
self.guest_agent = GuestAgentOperations(self._client, self._config, self._serialize, self._deserialize)
196+
self.guest_agents = GuestAgentsOperations(self._client, self._config, self._serialize, self._deserialize)
138197

139198
def _send_request(
140199
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class AzureStackHCIClientConfiguration: # pylint: disable=too-many-instance-att
2626
2727
:param credential: Credential needed for the client to connect to Azure. Required.
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
29-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
29+
: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-04-01". Note that overriding this
31+
:keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
3232
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-04-01")
37+
api_version: str = kwargs.pop("api_version", "2024-01-01")
3838

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

0 commit comments

Comments
 (0)