Skip to content

Commit 0b330ef

Browse files
author
SDKAuto
committed
CodeGen from PR 33120 in Azure/azure-rest-api-specs
Merge 31b9cac8049951c86849ea8edffe5e3c7f4c2153 into 28a163a3b110ac1d7002449ee2d04553c725ec0d
1 parent ae33e74 commit 0b330ef

File tree

58 files changed

+34918
-9
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

+34918
-9
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": "91b161e6ebd1a8dd9494ba6722e8d607f4867368",
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ class AgentPoolUpgradeSettings(_serialization.Model):
10201020
:ivar max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%').
10211021
If a percentage is specified, it is the percentage of the total agent pool size at the time of
10221022
the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is
1023-
1. For more information, including best practices, see:
1023+
10%. For more information, including best practices, see:
10241024
https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade.
10251025
:vartype max_surge: str
10261026
:ivar drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods and
@@ -1057,7 +1057,7 @@ def __init__(
10571057
:keyword max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g.
10581058
'50%'). If a percentage is specified, it is the percentage of the total agent pool size at the
10591059
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:
1060+
default is 10%. For more information, including best practices, see:
10611061
https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade.
10621062
:paramtype max_surge: str
10631063
:keyword drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods
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)