Skip to content

Commit b9d45b0

Browse files
SDKAutoArcturusZhang
andcommitted
CodeGen from PR 14967 in Azure/azure-rest-api-specs
add tag to readme.go.md (Azure#14967) * add tag to readme.go.md * Update specification/azurestackhci/resource-manager/readme.go.md Co-authored-by: Arcturus <[email protected]> Co-authored-by: Arcturus <[email protected]>
1 parent 9502e66 commit b9d45b0

21 files changed

+3174
-233
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.4.2",
33
"use": [
4-
"@autorest/[email protected].0",
5-
"@autorest/[email protected].1"
4+
"@autorest/[email protected].1",
5+
"@autorest/[email protected].2"
66
],
7-
"commit": "54692d5a0346c6040f14f5c836eaca598009c52d",
7+
"commit": "01ce30325e508d42667080fc6ad1f797df921c2f",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/azurestackhci/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected].1 --version=3.4.2",
9+
"autorest_command": "autorest specification/azurestackhci/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected].2 --version=3.4.2",
1010
"readme": "specification/azurestackhci/resource-manager/readme.md"
1111
}

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

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,30 @@
1919
from azure.core.pipeline.transport import HttpRequest, HttpResponse
2020

2121
from ._configuration import AzureStackHCIClientConfiguration
22-
from .operations import Operations
22+
from .operations import ArcSettingsOperations
2323
from .operations import ClustersOperations
24+
from .operations import ExtensionsOperations
25+
from .operations import Operations
2426
from . import models
2527

2628

2729
class AzureStackHCIClient(object):
2830
"""Azure Stack HCI management service.
2931
30-
:ivar operations: Operations operations
31-
:vartype operations: azure_stack_hci_client.operations.Operations
32+
:ivar arc_settings: ArcSettingsOperations operations
33+
:vartype arc_settings: azure_stack_hci_client.operations.ArcSettingsOperations
3234
:ivar clusters: ClustersOperations operations
3335
:vartype clusters: azure_stack_hci_client.operations.ClustersOperations
36+
:ivar extensions: ExtensionsOperations operations
37+
:vartype extensions: azure_stack_hci_client.operations.ExtensionsOperations
38+
:ivar operations: Operations operations
39+
:vartype operations: azure_stack_hci_client.operations.Operations
3440
:param credential: Credential needed for the client to connect to Azure.
3541
:type credential: ~azure.core.credentials.TokenCredential
3642
:param subscription_id: The ID of the target subscription.
3743
:type subscription_id: str
3844
:param str base_url: Service URL
45+
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
3946
"""
4047

4148
def __init__(
@@ -56,10 +63,14 @@ def __init__(
5663
self._serialize.client_side_validation = False
5764
self._deserialize = Deserializer(client_models)
5865

59-
self.operations = Operations(
66+
self.arc_settings = ArcSettingsOperations(
6067
self._client, self._config, self._serialize, self._deserialize)
6168
self.clusters = ClustersOperations(
6269
self._client, self._config, self._serialize, self._deserialize)
70+
self.extensions = ExtensionsOperations(
71+
self._client, self._config, self._serialize, self._deserialize)
72+
self.operations = Operations(
73+
self._client, self._config, self._serialize, self._deserialize)
6374

6475
def _send_request(self, http_request, **kwargs):
6576
# type: (HttpRequest, Any) -> HttpResponse

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2020-10-01"
51+
self.api_version = "2021-01-01-preview"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-azurestackhci/{}'.format(VERSION))
5454
self._configure(**kwargs)

sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/_metadata.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"chosen_version": "2020-10-01",
3-
"total_api_version_list": ["2020-10-01"],
2+
"chosen_version": "2021-01-01-preview",
3+
"total_api_version_list": ["2021-01-01-preview"],
44
"client": {
55
"name": "AzureStackHCIClient",
66
"filename": "_azure_stack_hci_client",
77
"description": "Azure Stack HCI management service.",
88
"base_url": "\u0027https://management.azure.com\u0027",
99
"custom_base_url": null,
1010
"azure_arm": true,
11-
"has_lro_operations": false,
11+
"has_lro_operations": true,
1212
"client_side_validation": false,
1313
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureStackHCIClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}",
1414
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureStackHCIClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}"
@@ -98,7 +98,9 @@
9898
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
9999
},
100100
"operation_groups": {
101-
"operations": "Operations",
102-
"clusters": "ClustersOperations"
101+
"arc_settings": "ArcSettingsOperations",
102+
"clusters": "ClustersOperations",
103+
"extensions": "ExtensionsOperations",
104+
"operations": "Operations"
103105
}
104106
}

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 = "6.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,30 @@
1717
from azure.core.credentials_async import AsyncTokenCredential
1818

1919
from ._configuration import AzureStackHCIClientConfiguration
20-
from .operations import Operations
20+
from .operations import ArcSettingsOperations
2121
from .operations import ClustersOperations
22+
from .operations import ExtensionsOperations
23+
from .operations import Operations
2224
from .. import models
2325

2426

2527
class AzureStackHCIClient(object):
2628
"""Azure Stack HCI management service.
2729
28-
:ivar operations: Operations operations
29-
:vartype operations: azure_stack_hci_client.aio.operations.Operations
30+
:ivar arc_settings: ArcSettingsOperations operations
31+
:vartype arc_settings: azure_stack_hci_client.aio.operations.ArcSettingsOperations
3032
:ivar clusters: ClustersOperations operations
3133
:vartype clusters: azure_stack_hci_client.aio.operations.ClustersOperations
34+
:ivar extensions: ExtensionsOperations operations
35+
:vartype extensions: azure_stack_hci_client.aio.operations.ExtensionsOperations
36+
:ivar operations: Operations operations
37+
:vartype operations: azure_stack_hci_client.aio.operations.Operations
3238
:param credential: Credential needed for the client to connect to Azure.
3339
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3440
:param subscription_id: The ID of the target subscription.
3541
:type subscription_id: str
3642
:param str base_url: Service URL
43+
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
3744
"""
3845

3946
def __init__(
@@ -53,10 +60,14 @@ def __init__(
5360
self._serialize.client_side_validation = False
5461
self._deserialize = Deserializer(client_models)
5562

56-
self.operations = Operations(
63+
self.arc_settings = ArcSettingsOperations(
5764
self._client, self._config, self._serialize, self._deserialize)
5865
self.clusters = ClustersOperations(
5966
self._client, self._config, self._serialize, self._deserialize)
67+
self.extensions = ExtensionsOperations(
68+
self._client, self._config, self._serialize, self._deserialize)
69+
self.operations = Operations(
70+
self._client, self._config, self._serialize, self._deserialize)
6071

6172
async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
6273
"""Runs the network request through the client's chained policies.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2020-10-01"
48+
self.api_version = "2021-01-01-preview"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-azurestackhci/{}'.format(VERSION))
5151
self._configure(**kwargs)

sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/aio/operations/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._operations import Operations
9+
from ._arc_settings_operations import ArcSettingsOperations
1010
from ._clusters_operations import ClustersOperations
11+
from ._extensions_operations import ExtensionsOperations
12+
from ._operations import Operations
1113

1214
__all__ = [
13-
'Operations',
15+
'ArcSettingsOperations',
1416
'ClustersOperations',
17+
'ExtensionsOperations',
18+
'Operations',
1519
]

0 commit comments

Comments
 (0)