Skip to content

Commit bf6e671

Browse files
author
SDKAuto
committed
CodeGen from PR 14696 in Azure/azure-rest-api-specs
Merge d979edd5eb4ddfb24498f9f081f0f91655a9595c into c059fb4
1 parent 53d3f97 commit bf6e671

18 files changed

+1240
-924
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.4.2",
33
"use": [
4-
"@autorest/python@5.8.0",
4+
"@autorest/python@5.8.1",
55
"@autorest/modelerfour@4.19.2"
66
],
7-
"commit": "1f0bb3f63b1664ace42cfdf646d8b2382d7b7b22",
7+
"commit": "577fb86e4e22d3d58d20b3f2a4dc6200f0c49000",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/containerservice/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/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
9+
"autorest_command": "autorest specification/containerservice/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/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
1010
"readme": "specification/containerservice/resource-manager/readme.md"
1111
}

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_agent_pools_operations.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def list(
5151
) -> AsyncIterable["_models.AgentPoolListResult"]:
5252
"""Gets a list of agent pools in the specified managed cluster.
5353
54-
Gets a list of agent pools in the specified managed cluster. The operation returns properties
55-
of each agent pool.
54+
Gets a list of agent pools in the specified managed cluster.
5655
5756
:param resource_group_name: The name of the resource group.
5857
:type resource_group_name: str
@@ -127,9 +126,9 @@ async def get(
127126
agent_pool_name: str,
128127
**kwargs: Any
129128
) -> "_models.AgentPool":
130-
"""Gets the agent pool.
129+
"""Gets the specified managed cluster agent pool.
131130
132-
Gets the details of the agent pool by managed cluster and resource group.
131+
Gets the specified managed cluster agent pool.
133132
134133
:param resource_group_name: The name of the resource group.
135134
:type resource_group_name: str
@@ -251,7 +250,7 @@ async def begin_create_or_update(
251250
parameters: "_models.AgentPool",
252251
**kwargs: Any
253252
) -> AsyncLROPoller["_models.AgentPool"]:
254-
"""Creates or updates an agent pool.
253+
"""Creates or updates an agent pool in the specified managed cluster.
255254
256255
Creates or updates an agent pool in the specified managed cluster.
257256
@@ -261,7 +260,7 @@ async def begin_create_or_update(
261260
:type resource_name: str
262261
:param agent_pool_name: The name of the agent pool.
263262
:type agent_pool_name: str
264-
:param parameters: Parameters supplied to the Create or Update an agent pool operation.
263+
:param parameters: The agent pool to create or update.
265264
:type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool
266265
:keyword callable cls: A custom type or function that will be passed the direct response
267266
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
@@ -374,9 +373,9 @@ async def begin_delete(
374373
agent_pool_name: str,
375374
**kwargs: Any
376375
) -> AsyncLROPoller[None]:
377-
"""Deletes an agent pool.
376+
"""Deletes an agent pool in the specified managed cluster.
378377
379-
Deletes the agent pool in the specified managed cluster.
378+
Deletes an agent pool in the specified managed cluster.
380379
381380
:param resource_group_name: The name of the resource group.
382381
:type resource_group_name: str
@@ -445,10 +444,9 @@ async def get_upgrade_profile(
445444
agent_pool_name: str,
446445
**kwargs: Any
447446
) -> "_models.AgentPoolUpgradeProfile":
448-
"""Gets upgrade profile for an agent pool.
447+
"""Gets the upgrade profile for an agent pool.
449448
450-
Gets the details of the upgrade profile for an agent pool with a specified resource group and
451-
managed cluster name.
449+
Gets the upgrade profile for an agent pool.
452450
453451
:param resource_group_name: The name of the resource group.
454452
:type resource_group_name: str
@@ -509,9 +507,11 @@ async def get_available_agent_pool_versions(
509507
resource_name: str,
510508
**kwargs: Any
511509
) -> "_models.AgentPoolAvailableVersions":
512-
"""Gets a list of supported versions for the specified agent pool.
510+
"""Gets a list of supported Kubernetes versions for the specified agent pool.
513511
514-
Gets a list of supported versions for the specified agent pool.
512+
See `supported Kubernetes versions
513+
<https://docs.microsoft.com/azure/aks/supported-kubernetes-versions>`_ for more details about
514+
the version lifecycle.
515515
516516
:param resource_group_name: The name of the resource group.
517517
:type resource_group_name: str
@@ -621,9 +621,11 @@ async def begin_upgrade_node_image_version(
621621
agent_pool_name: str,
622622
**kwargs: Any
623623
) -> AsyncLROPoller["_models.AgentPool"]:
624-
"""Upgrade node image version of an agent pool to the latest.
624+
"""Upgrades the node image version of an agent pool to the latest.
625625
626-
Upgrade node image version of an agent pool to the latest.
626+
Upgrading the node image version of an agent pool applies the newest OS and runtime updates to
627+
the nodes. AKS provides one new image per week with the latest updates. For more details on
628+
node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
627629
628630
:param resource_group_name: The name of the resource group.
629631
:type resource_group_name: str

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_maintenance_configurations_operations.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def list_by_managed_cluster(
4949
) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]:
5050
"""Gets a list of maintenance configurations in the specified managed cluster.
5151
52-
Gets a list of maintenance configurations in the specified managed cluster. The operation
53-
returns properties of each maintenance configuration.
52+
Gets a list of maintenance configurations in the specified managed cluster.
5453
5554
:param resource_group_name: The name of the resource group.
5655
:type resource_group_name: str
@@ -125,9 +124,9 @@ async def get(
125124
config_name: str,
126125
**kwargs: Any
127126
) -> "_models.MaintenanceConfiguration":
128-
"""Gets the maintenance configuration.
127+
"""Gets the specified maintenance configuration of a managed cluster.
129128
130-
Gets the details of maintenance configurations by managed cluster and resource group.
129+
Gets the specified maintenance configuration of a managed cluster.
131130
132131
:param resource_group_name: The name of the resource group.
133132
:type resource_group_name: str
@@ -190,7 +189,7 @@ async def create_or_update(
190189
parameters: "_models.MaintenanceConfiguration",
191190
**kwargs: Any
192191
) -> "_models.MaintenanceConfiguration":
193-
"""Creates or updates a maintenance configurations.
192+
"""Creates or updates a maintenance configuration in the specified managed cluster.
194193
195194
Creates or updates a maintenance configuration in the specified managed cluster.
196195
@@ -200,8 +199,7 @@ async def create_or_update(
200199
:type resource_name: str
201200
:param config_name: The name of the maintenance configuration.
202201
:type config_name: str
203-
:param parameters: Parameters supplied to the Create or Update a default maintenance
204-
configuration.
202+
:param parameters: The maintenance configuration to create or update.
205203
:type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration
206204
:keyword callable cls: A custom type or function that will be passed the direct response
207205
:return: MaintenanceConfiguration, or the result of cls(response)
@@ -264,7 +262,7 @@ async def delete(
264262
) -> None:
265263
"""Deletes a maintenance configuration.
266264
267-
Deletes the maintenance configuration in the specified managed cluster.
265+
Deletes a maintenance configuration.
268266
269267
:param resource_group_name: The name of the resource group.
270268
:type resource_group_name: str

0 commit comments

Comments
 (0)