Skip to content

Commit 3e52213

Browse files
SDKAutoAkash Keshari
SDKAuto
and
Akash Keshari
committed
CodeGen from PR 13138 in Azure/azure-rest-api-specs
Added private link scope id property (Azure#13138) * added private link scope id property * fixed update example Co-authored-by: Akash Keshari <[email protected]>
1 parent ba12755 commit 3e52213

File tree

7 files changed

+389
-318
lines changed

7 files changed

+389
-318
lines changed

sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/azure/mgmt/hybridkubernetes/_connected_kubernetes_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
super(ConnectedKubernetesClient, self).__init__(self.config.credentials, self.config)
4545

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

sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/azure/mgmt/hybridkubernetes/models/__init__.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,57 +12,60 @@
1212
try:
1313
from ._models_py3 import AzureEntityResource
1414
from ._models_py3 import ConnectedCluster
15-
from ._models_py3 import ConnectedClusterAADProfile
1615
from ._models_py3 import ConnectedClusterIdentity
1716
from ._models_py3 import ConnectedClusterPatch
18-
from ._models_py3 import CredentialResult
19-
from ._models_py3 import CredentialResults
20-
from ._models_py3 import ErrorDetails
17+
from ._models_py3 import ErrorAdditionalInfo
18+
from ._models_py3 import ErrorDetail
2119
from ._models_py3 import ErrorResponse, ErrorResponseException
2220
from ._models_py3 import Operation
2321
from ._models_py3 import OperationDisplay
2422
from ._models_py3 import ProxyResource
2523
from ._models_py3 import Resource
24+
from ._models_py3 import SystemData
2625
from ._models_py3 import TrackedResource
2726
except (SyntaxError, ImportError):
2827
from ._models import AzureEntityResource
2928
from ._models import ConnectedCluster
30-
from ._models import ConnectedClusterAADProfile
3129
from ._models import ConnectedClusterIdentity
3230
from ._models import ConnectedClusterPatch
33-
from ._models import CredentialResult
34-
from ._models import CredentialResults
35-
from ._models import ErrorDetails
31+
from ._models import ErrorAdditionalInfo
32+
from ._models import ErrorDetail
3633
from ._models import ErrorResponse, ErrorResponseException
3734
from ._models import Operation
3835
from ._models import OperationDisplay
3936
from ._models import ProxyResource
4037
from ._models import Resource
38+
from ._models import SystemData
4139
from ._models import TrackedResource
4240
from ._paged_models import ConnectedClusterPaged
4341
from ._paged_models import OperationPaged
4442
from ._connected_kubernetes_client_enums import (
4543
ResourceIdentityType,
4644
ProvisioningState,
45+
ConnectivityStatus,
46+
CreatedByType,
47+
LastModifiedByType,
4748
)
4849

4950
__all__ = [
5051
'AzureEntityResource',
5152
'ConnectedCluster',
52-
'ConnectedClusterAADProfile',
5353
'ConnectedClusterIdentity',
5454
'ConnectedClusterPatch',
55-
'CredentialResult',
56-
'CredentialResults',
57-
'ErrorDetails',
55+
'ErrorAdditionalInfo',
56+
'ErrorDetail',
5857
'ErrorResponse', 'ErrorResponseException',
5958
'Operation',
6059
'OperationDisplay',
6160
'ProxyResource',
6261
'Resource',
62+
'SystemData',
6363
'TrackedResource',
6464
'ConnectedClusterPaged',
6565
'OperationPaged',
6666
'ResourceIdentityType',
6767
'ProvisioningState',
68+
'ConnectivityStatus',
69+
'CreatedByType',
70+
'LastModifiedByType',
6871
]

sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/azure/mgmt/hybridkubernetes/models/_connected_kubernetes_client_enums.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,27 @@ class ProvisioningState(str, Enum):
2727
updating = "Updating"
2828
deleting = "Deleting"
2929
accepted = "Accepted"
30+
31+
32+
class ConnectivityStatus(str, Enum):
33+
34+
connecting = "Connecting"
35+
connected = "Connected"
36+
offline = "Offline"
37+
expired = "Expired"
38+
39+
40+
class CreatedByType(str, Enum):
41+
42+
user = "User"
43+
application = "Application"
44+
managed_identity = "ManagedIdentity"
45+
key = "Key"
46+
47+
48+
class LastModifiedByType(str, Enum):
49+
50+
user = "User"
51+
application = "Application"
52+
managed_identity = "ManagedIdentity"
53+
key = "Key"

0 commit comments

Comments
 (0)