Skip to content

Commit f5dd62e

Browse files
Azure CLI BotSDKAuto
authored and
hodd
committed
[AutoRelease] t2-kubernetesconfiguration-2021-12-06-80006 (Azure#22010)
* CodeGen from PR 16684 in Azure/azure-rest-api-specs [KubernetesConfiguration] Release 2022-01-01-preview with Bucket Support (Azure#16684) * Adds base for updating Microsoft.KubernetesConfiguration from version preview/2021-11-01-preview to version 2022-01-01-preview * Updates readme * Updates API version in new specs and examples * Add additional bucket properties to new api version * Update extension type examples * Update the SDKs with the new packages * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent 85f7a86 commit f5dd62e

File tree

190 files changed

+39164
-157
lines changed

Some content is hidden

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

190 files changed

+39164
-157
lines changed

sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Release History
22

3+
## 1.0.0 (2021-12-06)
4+
5+
**Features**
6+
7+
- Model ResourceProviderOperation has a new parameter origin
8+
- Added operation group LocationExtensionTypesOperations
9+
- Added operation group FluxConfigurationsOperations
10+
- Added operation group ExtensionsOperations
11+
- Added operation group OperationStatusOperations
12+
- Added operation group ClusterExtensionTypeOperations
13+
- Added operation group FluxConfigOperationStatusOperations
14+
- Added operation group ClusterExtensionTypesOperations
15+
- Added operation group ExtensionTypeVersionsOperations
16+
17+
**Breaking changes**
18+
19+
- Model Resource no longer has parameter system_data
20+
- Model ProxyResource no longer has parameter system_data
21+
322
## 1.0.0b1 (2020-12-09)
423

524
This is beta preview version.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "a136560c0771653154bace4384bdf45e0edcbb14",
8+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9+
"autorest_command": "autorest specification/kubernetesconfiguration/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] --use=@autorest/[email protected] --version=3.4.5",
10+
"readme": "specification/kubernetesconfiguration/resource-manager/readme.md"
11+
}

sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# --------------------------------------------------------------------------
88

99
from ._source_control_configuration_client import SourceControlConfigurationClient
10-
from ._version import VERSION
11-
12-
__version__ = VERSION
1310
__all__ = ['SourceControlConfigurationClient']
1411

1512
try:

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
57
# Code generated by Microsoft (R) AutoRest Code Generator.
6-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
710
# --------------------------------------------------------------------------
8-
911
from typing import TYPE_CHECKING
1012

1113
from azure.core.configuration import Configuration
@@ -20,7 +22,6 @@
2022

2123
from azure.core.credentials import TokenCredential
2224

23-
2425
class SourceControlConfigurationClientConfiguration(Configuration):
2526
"""Configuration for SourceControlConfigurationClient.
2627
@@ -29,7 +30,7 @@ class SourceControlConfigurationClientConfiguration(Configuration):
2930
3031
:param credential: Credential needed for the client to connect to Azure.
3132
:type credential: ~azure.core.credentials.TokenCredential
32-
:param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
33+
:param subscription_id: The ID of the target subscription.
3334
:type subscription_id: str
3435
"""
3536

@@ -48,9 +49,8 @@ def __init__(
4849

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

5656
def _configure(

sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/_source_control_configuration_client.py

Lines changed: 299 additions & 28 deletions
Large diffs are not rendered by default.

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

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
57
# Code generated by Microsoft (R) AutoRest Code Generator.
6-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
710
# --------------------------------------------------------------------------
8-
911
from typing import Any, TYPE_CHECKING
1012

1113
from azure.core.configuration import Configuration
@@ -18,7 +20,6 @@
1820
# pylint: disable=unused-import,ungrouped-imports
1921
from azure.core.credentials_async import AsyncTokenCredential
2022

21-
2223
class SourceControlConfigurationClientConfiguration(Configuration):
2324
"""Configuration for SourceControlConfigurationClient.
2425
@@ -27,15 +28,15 @@ class SourceControlConfigurationClientConfiguration(Configuration):
2728
2829
:param credential: Credential needed for the client to connect to Azure.
2930
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
30-
:param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
31+
:param subscription_id: The ID of the target subscription.
3132
:type subscription_id: str
3233
"""
3334

3435
def __init__(
3536
self,
3637
credential: "AsyncTokenCredential",
3738
subscription_id: str,
38-
**kwargs: Any
39+
**kwargs # type: Any
3940
) -> None:
4041
if credential is None:
4142
raise ValueError("Parameter 'credential' must not be None.")
@@ -45,9 +46,8 @@ def __init__(
4546

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

5353
def _configure(

0 commit comments

Comments
 (0)