Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Release History

## 2.0.0b1 (2021-06-25)

**Features**

- Model ConnectedCluster has a new parameter private_link_scope_resource_id
- Model ConnectedCluster has a new parameter private_link_state
- Added operation ConnectedClusterOperations.begin_update
- Added operation ConnectedClusterOperations.list_cluster_user_credentials

**Breaking changes**

- Removed operation ConnectedClusterOperations.update
- Model ConnectedClusterPatch has a new signature

## 1.0.0 (2021-05-19)

**Features**
Expand Down
11 changes: 7 additions & 4 deletions sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/[email protected]",
"commit": "e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1",
"autorest": "3.4.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "18aa5fc0a4aeb8d98b47d06c45ef5f551f9b7a81",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/hybridkubernetes/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/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/hybridkubernetes/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/python@5.8.1 --use=@autorest/[email protected] --version=3.4.2",
"readme": "specification/hybridkubernetes/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-03-01"
self.api_version = "2021-04-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-hybridkubernetes/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-03-01",
"total_api_version_list": ["2021-03-01"],
"chosen_version": "2021-04-01-preview",
"total_api_version_list": ["2021-04-01-preview"],
"client": {
"name": "ConnectedKubernetesClient",
"filename": "_connected_kubernetes_client",
Expand Down
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.0"
VERSION = "2.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-03-01"
self.api_version = "2021-04-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-hybridkubernetes/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def get(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationList"]:
"""Lists all of the available API operations for Connected Cluster resource.

Expand All @@ -57,7 +57,7 @@ def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-03-01"
api_version = "2021-04-01-preview"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
from ._models_py3 import ConnectedClusterIdentity
from ._models_py3 import ConnectedClusterList
from ._models_py3 import ConnectedClusterPatch
from ._models_py3 import CredentialResult
from ._models_py3 import CredentialResults
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse
from ._models_py3 import HybridConnectionConfig
from ._models_py3 import ListClusterUserCredentialsProperties
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationList
Expand All @@ -25,9 +29,13 @@
from ._models import ConnectedClusterIdentity # type: ignore
from ._models import ConnectedClusterList # type: ignore
from ._models import ConnectedClusterPatch # type: ignore
from ._models import CredentialResult # type: ignore
from ._models import CredentialResults # type: ignore
from ._models import ErrorAdditionalInfo # type: ignore
from ._models import ErrorDetail # type: ignore
from ._models import ErrorResponse # type: ignore
from ._models import HybridConnectionConfig # type: ignore
from ._models import ListClusterUserCredentialsProperties # type: ignore
from ._models import Operation # type: ignore
from ._models import OperationDisplay # type: ignore
from ._models import OperationList # type: ignore
Expand All @@ -36,9 +44,11 @@
from ._models import TrackedResource # type: ignore

from ._connected_kubernetes_client_enums import (
AuthenticationMethod,
ConnectivityStatus,
CreatedByType,
LastModifiedByType,
PrivateLinkState,
ProvisioningState,
ResourceIdentityType,
)
Expand All @@ -48,18 +58,24 @@
'ConnectedClusterIdentity',
'ConnectedClusterList',
'ConnectedClusterPatch',
'CredentialResult',
'CredentialResults',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse',
'HybridConnectionConfig',
'ListClusterUserCredentialsProperties',
'Operation',
'OperationDisplay',
'OperationList',
'Resource',
'SystemData',
'TrackedResource',
'AuthenticationMethod',
'ConnectivityStatus',
'CreatedByType',
'LastModifiedByType',
'PrivateLinkState',
'ProvisioningState',
'ResourceIdentityType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ def __getattr__(cls, name):
raise AttributeError(name)


class AuthenticationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The mode of client authentication.
"""

TOKEN = "Token"
AAD = "AAD"

class ConnectivityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Represents the connectivity status of the connected cluster.
"""
Expand Down Expand Up @@ -53,6 +60,13 @@ class LastModifiedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
MANAGED_IDENTITY = "ManagedIdentity"
KEY = "Key"

class PrivateLinkState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Property which describes the state of private link on a connected cluster resource.
"""

ENABLED = "Enabled"
DISABLED = "Disabled"

class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The current deployment state of connectedClusters.
"""
Expand Down
Loading