Skip to content

Commit 9f7b662

Browse files
author
SDKAuto
committed
CodeGen from PR 32931 in Azure/azure-rest-api-specs
Merge 17f2b7a8f61fa9efff55493fcd56fc58265ea3d1 into cb7e2ba52bd5e88f75745aa298fa708cdf97b43e
1 parent 0a53443 commit 9f7b662

File tree

273 files changed

+72275
-354
lines changed

Some content is hidden

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

273 files changed

+72275
-354
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": "f1ecc487f05e6e35df7c9ff9ebbe326f2ca6a6d3",
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: 142 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: 142 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. If this field is not specified,
205+
AKS will attempt to find an appropriate VM SKU for your pool, based on quota and capacity. For
206+
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. If this field is not
488+
specified, AKS will attempt to find an appropriate VM SKU for your pool, based on quota and
489+
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. If this field is not specified,
3644+
AKS will attempt to find an appropriate VM SKU for your pool, based on quota and capacity. For
3645+
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. If this field is not
3920+
specified, AKS will attempt to find an appropriate VM SKU for your pool, based on quota and
3921+
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. If this field is not specified,
4144+
AKS will attempt to find an appropriate VM SKU for your pool, based on quota and capacity. For
4145+
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. If this field is not
4425+
specified, AKS will attempt to find an appropriate VM SKU for your pool, based on quota and
4426+
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)