Skip to content

Commit 5207156

Browse files
author
SDKAuto
committed
CodeGen from PR 32837 in Azure/azure-rest-api-specs
Merge 3a04d0438d6092f180d3422555f47c5e5201c3b4 into 5eebf11c2c98feded3199df1a68ccf6d2c626d63
1 parent b7f0d9c commit 5207156

File tree

58 files changed

+34942
-21
lines changed

Some content is hidden

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

58 files changed

+34942
-21
lines changed

sdk/containerservice/azure-mgmt-containerservice/_meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "d15200711af0d14785a36791b569027232bc486b",
2+
"commit": "be0e17f42688fad0aab0153c2c3d61d4ed048133",
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/containerservice/resource-manager/Microsoft.ContainerService/aks/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 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/containerservice/resource-manager/Microsoft.ContainerService/aks/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",
1010
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
1111
"package-2024-05": "2024-07-10 04:37:35 +0800 794e29ee5f8eca63ce0ddf007c60da7df37baaad stable/2024-05-01/managedClusters.json",
1212
"package-preview-2024-04": "2024-08-27 19:55:39 -0700 4bc9b37173bd5fe0ed19f21edfb8a195e89caaf6 preview/2024-04-02-preview/managedClusters.json",

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_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 = "34.1.0"
9+
VERSION = "1.0.0b1"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_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 = "34.1.0"
9+
VERSION = "1.0.0b1"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_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 = "34.1.0"
9+
VERSION = "1.0.0b1"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_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 = "34.1.0"
9+
VERSION = "1.0.0b1"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2024_10_01/_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 = "34.1.0"
9+
VERSION = "1.0.0b1"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2024_10_01/models/_models_py3.py

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,10 @@ class AgentPool(SubResource):
201201
system pools. The default value is 1.
202202
:vartype count: int
203203
:ivar vm_size: VM size availability varies by region. If a node contains insufficient compute
204-
resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted
205-
VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
204+
resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools without
205+
specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment, based on
206+
quota and capacity. For more details on restricted VM sizes, see:
207+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
206208
:vartype vm_size: str
207209
:ivar os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine
208210
in the master/agent pool. If you specify 0, it will apply the default osDisk size according to
@@ -482,8 +484,10 @@ def __init__( # pylint: disable=too-many-locals
482484
system pools. The default value is 1.
483485
:paramtype count: int
484486
:keyword vm_size: VM size availability varies by region. If a node contains insufficient
485-
compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on
486-
restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
487+
compute resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools
488+
without specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment,
489+
based on quota and capacity. For more details on restricted VM sizes, see:
490+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
487491
:paramtype vm_size: str
488492
:keyword os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every
489493
machine in the master/agent pool. If you specify 0, it will apply the default osDisk size
@@ -1020,7 +1024,7 @@ class AgentPoolUpgradeSettings(_serialization.Model):
10201024
:ivar max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%').
10211025
If a percentage is specified, it is the percentage of the total agent pool size at the time of
10221026
the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is
1023-
1. For more information, including best practices, see:
1027+
10%. For more information, including best practices, see:
10241028
https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade.
10251029
:vartype max_surge: str
10261030
:ivar drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods and
@@ -1057,7 +1061,7 @@ def __init__(
10571061
:keyword max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g.
10581062
'50%'). If a percentage is specified, it is the percentage of the total agent pool size at the
10591063
time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the
1060-
default is 1. For more information, including best practices, see:
1064+
default is 10%. For more information, including best practices, see:
10611065
https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade.
10621066
:paramtype max_surge: str
10631067
:keyword drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods
@@ -3636,8 +3640,10 @@ class ManagedClusterAgentPoolProfileProperties(_serialization.Model):
36363640
system pools. The default value is 1.
36373641
:vartype count: int
36383642
:ivar vm_size: VM size availability varies by region. If a node contains insufficient compute
3639-
resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted
3640-
VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
3643+
resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools without
3644+
specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment, based on
3645+
quota and capacity. For more details on restricted VM sizes, see:
3646+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
36413647
:vartype vm_size: str
36423648
:ivar os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine
36433649
in the master/agent pool. If you specify 0, it will apply the default osDisk size according to
@@ -3910,8 +3916,10 @@ def __init__( # pylint: disable=too-many-locals
39103916
system pools. The default value is 1.
39113917
:paramtype count: int
39123918
:keyword vm_size: VM size availability varies by region. If a node contains insufficient
3913-
compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on
3914-
restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
3919+
compute resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools
3920+
without specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment,
3921+
based on quota and capacity. For more details on restricted VM sizes, see:
3922+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
39153923
:paramtype vm_size: str
39163924
:keyword os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every
39173925
machine in the master/agent pool. If you specify 0, it will apply the default osDisk size
@@ -4132,8 +4140,10 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties):
41324140
system pools. The default value is 1.
41334141
:vartype count: int
41344142
:ivar vm_size: VM size availability varies by region. If a node contains insufficient compute
4135-
resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted
4136-
VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
4143+
resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools without
4144+
specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment, based on
4145+
quota and capacity. For more details on restricted VM sizes, see:
4146+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
41374147
:vartype vm_size: str
41384148
:ivar os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine
41394149
in the master/agent pool. If you specify 0, it will apply the default osDisk size according to
@@ -4411,8 +4421,10 @@ def __init__( # pylint: disable=too-many-locals
44114421
system pools. The default value is 1.
44124422
:paramtype count: int
44134423
:keyword vm_size: VM size availability varies by region. If a node contains insufficient
4414-
compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on
4415-
restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.
4424+
compute resources (memory, cpu, etc) pods might fail to run correctly. Create agent pools
4425+
without specifying a vmSize to allow AKS to find an appropriate VM SKU for your deployment,
4426+
based on quota and capacity. For more details on restricted VM sizes, see:
4427+
https://docs.microsoft.com/azure/aks/quotas-skus-regions.
44164428
:paramtype vm_size: str
44174429
:keyword os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every
44184430
machine in the master/agent pool. If you specify 0, it will apply the default osDisk size
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) AutoRest Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
9+
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._container_service_client import ContainerServiceClient # type: ignore
16+
from ._version import VERSION
17+
18+
__version__ = VERSION
19+
20+
try:
21+
from ._patch import __all__ as _patch_all
22+
from ._patch import *
23+
except ImportError:
24+
_patch_all = []
25+
from ._patch import patch_sdk as _patch_sdk
26+
27+
__all__ = [
28+
"ContainerServiceClient",
29+
]
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
31+
32+
_patch_sdk()

0 commit comments

Comments
 (0)