Skip to content

Commit

Permalink
T1 hybridkubernetes 2021 03 01 (#16985)
Browse files Browse the repository at this point in the history
* CodeGen from PR 13138 in Azure/azure-rest-api-specs
Added private link scope id property (#13138)

* added private link scope id property

* fixed update example

Co-authored-by: Akash Keshari <[email protected]>

* test,version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Akash Keshari <[email protected]>
  • Loading branch information
3 people authored Mar 1, 2021
1 parent 425f5ce commit b848434
Show file tree
Hide file tree
Showing 9 changed files with 410 additions and 319 deletions.
20 changes: 20 additions & 0 deletions sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 0.2.0 (2021-03-01)

**Features**

- Model ConnectedCluster has a new parameter system_data
- Model ConnectedCluster has a new parameter infrastructure
- Model ConnectedCluster has a new parameter offering
- Model ConnectedCluster has a new parameter distribution
- Model ConnectedCluster has a new parameter managed_identity_certificate_expiration_time
- Model ConnectedCluster has a new parameter last_connectivity_time
- Model ConnectedCluster has a new parameter total_core_count
- Model ConnectedCluster has a new parameter connectivity_status

**Breaking changes**

- Operation ConnectedClusterOperations.update has a new signature
- Model ConnectedCluster no longer has parameter aad_profile
- Model ConnectedClusterPatch has a new signature
- Removed operation ConnectedClusterOperations.list_cluster_user_credentials

## 0.1.0 (2020-05-18)

* Initial Release
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
super(ConnectedKubernetesClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2020-01-01-preview'
self.api_version = '2021-03-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,57 +12,60 @@
try:
from ._models_py3 import AzureEntityResource
from ._models_py3 import ConnectedCluster
from ._models_py3 import ConnectedClusterAADProfile
from ._models_py3 import ConnectedClusterIdentity
from ._models_py3 import ConnectedClusterPatch
from ._models_py3 import CredentialResult
from ._models_py3 import CredentialResults
from ._models_py3 import ErrorDetails
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import SystemData
from ._models_py3 import TrackedResource
except (SyntaxError, ImportError):
from ._models import AzureEntityResource
from ._models import ConnectedCluster
from ._models import ConnectedClusterAADProfile
from ._models import ConnectedClusterIdentity
from ._models import ConnectedClusterPatch
from ._models import CredentialResult
from ._models import CredentialResults
from ._models import ErrorDetails
from ._models import ErrorAdditionalInfo
from ._models import ErrorDetail
from ._models import ErrorResponse, ErrorResponseException
from ._models import Operation
from ._models import OperationDisplay
from ._models import ProxyResource
from ._models import Resource
from ._models import SystemData
from ._models import TrackedResource
from ._paged_models import ConnectedClusterPaged
from ._paged_models import OperationPaged
from ._connected_kubernetes_client_enums import (
ResourceIdentityType,
ProvisioningState,
ConnectivityStatus,
CreatedByType,
LastModifiedByType,
)

__all__ = [
'AzureEntityResource',
'ConnectedCluster',
'ConnectedClusterAADProfile',
'ConnectedClusterIdentity',
'ConnectedClusterPatch',
'CredentialResult',
'CredentialResults',
'ErrorDetails',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'Operation',
'OperationDisplay',
'ProxyResource',
'Resource',
'SystemData',
'TrackedResource',
'ConnectedClusterPaged',
'OperationPaged',
'ResourceIdentityType',
'ProvisioningState',
'ConnectivityStatus',
'CreatedByType',
'LastModifiedByType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,27 @@ class ProvisioningState(str, Enum):
updating = "Updating"
deleting = "Deleting"
accepted = "Accepted"


class ConnectivityStatus(str, Enum):

connecting = "Connecting"
connected = "Connected"
offline = "Offline"
expired = "Expired"


class CreatedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"


class LastModifiedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"
Loading

0 comments on commit b848434

Please sign in to comment.