Skip to content

Commit

Permalink
[AutoRelease] t2-kubernetesconfiguration-2021-12-06-80006 (Azure#22010)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and hildurhodd committed Jan 4, 2022
1 parent 85f7a86 commit f5dd62e
Show file tree
Hide file tree
Showing 190 changed files with 39,164 additions and 157 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Release History

## 1.0.0 (2021-12-06)

**Features**

- Model ResourceProviderOperation has a new parameter origin
- Added operation group LocationExtensionTypesOperations
- Added operation group FluxConfigurationsOperations
- Added operation group ExtensionsOperations
- Added operation group OperationStatusOperations
- Added operation group ClusterExtensionTypeOperations
- Added operation group FluxConfigOperationStatusOperations
- Added operation group ClusterExtensionTypesOperations
- Added operation group ExtensionTypeVersionsOperations

**Breaking changes**

- Model Resource no longer has parameter system_data
- Model ProxyResource no longer has parameter system_data

## 1.0.0b1 (2020-12-09)

This is beta preview version.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"autorest": "3.4.5",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "a136560c0771653154bace4384bdf45e0edcbb14",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"readme": "specification/kubernetesconfiguration/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# --------------------------------------------------------------------------

from ._source_control_configuration_client import SourceControlConfigurationClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['SourceControlConfigurationClient']

try:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from typing import TYPE_CHECKING

from azure.core.configuration import Configuration
Expand All @@ -20,7 +22,6 @@

from azure.core.credentials import TokenCredential


class SourceControlConfigurationClientConfiguration(Configuration):
"""Configuration for SourceControlConfigurationClient.
Expand All @@ -29,7 +30,7 @@ class SourceControlConfigurationClientConfiguration(Configuration):
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
"""

Expand All @@ -48,9 +49,8 @@ def __init__(

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

def _configure(
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from typing import Any, TYPE_CHECKING

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


class SourceControlConfigurationClientConfiguration(Configuration):
"""Configuration for SourceControlConfigurationClient.
Expand All @@ -27,15 +28,15 @@ class SourceControlConfigurationClientConfiguration(Configuration):
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
"""

def __init__(
self,
credential: "AsyncTokenCredential",
subscription_id: str,
**kwargs: Any
**kwargs # type: Any
) -> None:
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand All @@ -45,9 +46,8 @@ def __init__(

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

def _configure(
Expand Down
Loading

0 comments on commit f5dd62e

Please sign in to comment.