pulumi-azure-native 2.68.0a1729176987__py3-none-any.whl → 2.68.0a1729519840__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/kubernetes/__init__.py +3 -0
- pulumi_azure_native/kubernetes/connected_cluster.py +3 -3
- pulumi_azure_native/kubernetes/get_connected_cluster.py +2 -2
- pulumi_azure_native/kubernetes/list_connected_cluster_user_credential.py +2 -2
- pulumi_azure_native/kubernetes/v20220501preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20221001preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20231101preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240101/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240201preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240601preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240701preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20240715preview/connected_cluster.py +1 -1
- pulumi_azure_native/kubernetes/v20241201preview/__init__.py +13 -0
- pulumi_azure_native/kubernetes/v20241201preview/_enums.py +77 -0
- pulumi_azure_native/kubernetes/v20241201preview/_inputs.py +559 -0
- pulumi_azure_native/kubernetes/v20241201preview/connected_cluster.py +793 -0
- pulumi_azure_native/kubernetes/v20241201preview/get_connected_cluster.py +507 -0
- pulumi_azure_native/kubernetes/v20241201preview/list_connected_cluster_user_credential.py +114 -0
- pulumi_azure_native/kubernetes/v20241201preview/outputs.py +854 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/secretsynccontroller/__init__.py +22 -0
- pulumi_azure_native/secretsynccontroller/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +389 -0
- pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +243 -0
- pulumi_azure_native/secretsynccontroller/get_secret_sync.py +271 -0
- pulumi_azure_native/secretsynccontroller/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/secret_sync.py +429 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +14 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +387 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +241 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +269 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +427 -0
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/RECORD +41 -18
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729176987.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetConnectedClusterResult',
|
|
20
|
+
'AwaitableGetConnectedClusterResult',
|
|
21
|
+
'get_connected_cluster',
|
|
22
|
+
'get_connected_cluster_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetConnectedClusterResult:
|
|
27
|
+
"""
|
|
28
|
+
Represents a connected cluster.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, aad_profile=None, agent_public_key_certificate=None, agent_version=None, arc_agent_profile=None, arc_agentry_configurations=None, azure_hybrid_benefit=None, connectivity_status=None, distribution=None, distribution_version=None, gateway=None, id=None, identity=None, infrastructure=None, kind=None, kubernetes_version=None, last_connectivity_time=None, location=None, managed_identity_certificate_expiration_time=None, miscellaneous_properties=None, name=None, offering=None, oidc_issuer_profile=None, private_link_scope_resource_id=None, private_link_state=None, provisioning_state=None, security_profile=None, system_data=None, tags=None, total_core_count=None, total_node_count=None, type=None):
|
|
31
|
+
if aad_profile and not isinstance(aad_profile, dict):
|
|
32
|
+
raise TypeError("Expected argument 'aad_profile' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "aad_profile", aad_profile)
|
|
34
|
+
if agent_public_key_certificate and not isinstance(agent_public_key_certificate, str):
|
|
35
|
+
raise TypeError("Expected argument 'agent_public_key_certificate' to be a str")
|
|
36
|
+
pulumi.set(__self__, "agent_public_key_certificate", agent_public_key_certificate)
|
|
37
|
+
if agent_version and not isinstance(agent_version, str):
|
|
38
|
+
raise TypeError("Expected argument 'agent_version' to be a str")
|
|
39
|
+
pulumi.set(__self__, "agent_version", agent_version)
|
|
40
|
+
if arc_agent_profile and not isinstance(arc_agent_profile, dict):
|
|
41
|
+
raise TypeError("Expected argument 'arc_agent_profile' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "arc_agent_profile", arc_agent_profile)
|
|
43
|
+
if arc_agentry_configurations and not isinstance(arc_agentry_configurations, list):
|
|
44
|
+
raise TypeError("Expected argument 'arc_agentry_configurations' to be a list")
|
|
45
|
+
pulumi.set(__self__, "arc_agentry_configurations", arc_agentry_configurations)
|
|
46
|
+
if azure_hybrid_benefit and not isinstance(azure_hybrid_benefit, str):
|
|
47
|
+
raise TypeError("Expected argument 'azure_hybrid_benefit' to be a str")
|
|
48
|
+
pulumi.set(__self__, "azure_hybrid_benefit", azure_hybrid_benefit)
|
|
49
|
+
if connectivity_status and not isinstance(connectivity_status, str):
|
|
50
|
+
raise TypeError("Expected argument 'connectivity_status' to be a str")
|
|
51
|
+
pulumi.set(__self__, "connectivity_status", connectivity_status)
|
|
52
|
+
if distribution and not isinstance(distribution, str):
|
|
53
|
+
raise TypeError("Expected argument 'distribution' to be a str")
|
|
54
|
+
pulumi.set(__self__, "distribution", distribution)
|
|
55
|
+
if distribution_version and not isinstance(distribution_version, str):
|
|
56
|
+
raise TypeError("Expected argument 'distribution_version' to be a str")
|
|
57
|
+
pulumi.set(__self__, "distribution_version", distribution_version)
|
|
58
|
+
if gateway and not isinstance(gateway, dict):
|
|
59
|
+
raise TypeError("Expected argument 'gateway' to be a dict")
|
|
60
|
+
pulumi.set(__self__, "gateway", gateway)
|
|
61
|
+
if id and not isinstance(id, str):
|
|
62
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
63
|
+
pulumi.set(__self__, "id", id)
|
|
64
|
+
if identity and not isinstance(identity, dict):
|
|
65
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "identity", identity)
|
|
67
|
+
if infrastructure and not isinstance(infrastructure, str):
|
|
68
|
+
raise TypeError("Expected argument 'infrastructure' to be a str")
|
|
69
|
+
pulumi.set(__self__, "infrastructure", infrastructure)
|
|
70
|
+
if kind and not isinstance(kind, str):
|
|
71
|
+
raise TypeError("Expected argument 'kind' to be a str")
|
|
72
|
+
pulumi.set(__self__, "kind", kind)
|
|
73
|
+
if kubernetes_version and not isinstance(kubernetes_version, str):
|
|
74
|
+
raise TypeError("Expected argument 'kubernetes_version' to be a str")
|
|
75
|
+
pulumi.set(__self__, "kubernetes_version", kubernetes_version)
|
|
76
|
+
if last_connectivity_time and not isinstance(last_connectivity_time, str):
|
|
77
|
+
raise TypeError("Expected argument 'last_connectivity_time' to be a str")
|
|
78
|
+
pulumi.set(__self__, "last_connectivity_time", last_connectivity_time)
|
|
79
|
+
if location and not isinstance(location, str):
|
|
80
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
81
|
+
pulumi.set(__self__, "location", location)
|
|
82
|
+
if managed_identity_certificate_expiration_time and not isinstance(managed_identity_certificate_expiration_time, str):
|
|
83
|
+
raise TypeError("Expected argument 'managed_identity_certificate_expiration_time' to be a str")
|
|
84
|
+
pulumi.set(__self__, "managed_identity_certificate_expiration_time", managed_identity_certificate_expiration_time)
|
|
85
|
+
if miscellaneous_properties and not isinstance(miscellaneous_properties, dict):
|
|
86
|
+
raise TypeError("Expected argument 'miscellaneous_properties' to be a dict")
|
|
87
|
+
pulumi.set(__self__, "miscellaneous_properties", miscellaneous_properties)
|
|
88
|
+
if name and not isinstance(name, str):
|
|
89
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
90
|
+
pulumi.set(__self__, "name", name)
|
|
91
|
+
if offering and not isinstance(offering, str):
|
|
92
|
+
raise TypeError("Expected argument 'offering' to be a str")
|
|
93
|
+
pulumi.set(__self__, "offering", offering)
|
|
94
|
+
if oidc_issuer_profile and not isinstance(oidc_issuer_profile, dict):
|
|
95
|
+
raise TypeError("Expected argument 'oidc_issuer_profile' to be a dict")
|
|
96
|
+
pulumi.set(__self__, "oidc_issuer_profile", oidc_issuer_profile)
|
|
97
|
+
if private_link_scope_resource_id and not isinstance(private_link_scope_resource_id, str):
|
|
98
|
+
raise TypeError("Expected argument 'private_link_scope_resource_id' to be a str")
|
|
99
|
+
pulumi.set(__self__, "private_link_scope_resource_id", private_link_scope_resource_id)
|
|
100
|
+
if private_link_state and not isinstance(private_link_state, str):
|
|
101
|
+
raise TypeError("Expected argument 'private_link_state' to be a str")
|
|
102
|
+
pulumi.set(__self__, "private_link_state", private_link_state)
|
|
103
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
104
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
105
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
106
|
+
if security_profile and not isinstance(security_profile, dict):
|
|
107
|
+
raise TypeError("Expected argument 'security_profile' to be a dict")
|
|
108
|
+
pulumi.set(__self__, "security_profile", security_profile)
|
|
109
|
+
if system_data and not isinstance(system_data, dict):
|
|
110
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
111
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
112
|
+
if tags and not isinstance(tags, dict):
|
|
113
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
114
|
+
pulumi.set(__self__, "tags", tags)
|
|
115
|
+
if total_core_count and not isinstance(total_core_count, int):
|
|
116
|
+
raise TypeError("Expected argument 'total_core_count' to be a int")
|
|
117
|
+
pulumi.set(__self__, "total_core_count", total_core_count)
|
|
118
|
+
if total_node_count and not isinstance(total_node_count, int):
|
|
119
|
+
raise TypeError("Expected argument 'total_node_count' to be a int")
|
|
120
|
+
pulumi.set(__self__, "total_node_count", total_node_count)
|
|
121
|
+
if type and not isinstance(type, str):
|
|
122
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
123
|
+
pulumi.set(__self__, "type", type)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="aadProfile")
|
|
127
|
+
def aad_profile(self) -> Optional['outputs.AadProfileResponse']:
|
|
128
|
+
"""
|
|
129
|
+
AAD profile for the connected cluster.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "aad_profile")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter(name="agentPublicKeyCertificate")
|
|
135
|
+
def agent_public_key_certificate(self) -> str:
|
|
136
|
+
"""
|
|
137
|
+
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "agent_public_key_certificate")
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter(name="agentVersion")
|
|
143
|
+
def agent_version(self) -> str:
|
|
144
|
+
"""
|
|
145
|
+
Version of the agent running on the connected cluster resource
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "agent_version")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter(name="arcAgentProfile")
|
|
151
|
+
def arc_agent_profile(self) -> Optional['outputs.ArcAgentProfileResponse']:
|
|
152
|
+
"""
|
|
153
|
+
Arc agentry configuration for the provisioned cluster.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "arc_agent_profile")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter(name="arcAgentryConfigurations")
|
|
159
|
+
def arc_agentry_configurations(self) -> Optional[Sequence['outputs.ArcAgentryConfigurationsResponse']]:
|
|
160
|
+
"""
|
|
161
|
+
Configuration settings for customizing the behavior of the connected cluster.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "arc_agentry_configurations")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter(name="azureHybridBenefit")
|
|
167
|
+
def azure_hybrid_benefit(self) -> Optional[str]:
|
|
168
|
+
"""
|
|
169
|
+
Indicates whether Azure Hybrid Benefit is opted in
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "azure_hybrid_benefit")
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="connectivityStatus")
|
|
175
|
+
def connectivity_status(self) -> str:
|
|
176
|
+
"""
|
|
177
|
+
Represents the connectivity status of the connected cluster.
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "connectivity_status")
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
@pulumi.getter
|
|
183
|
+
def distribution(self) -> Optional[str]:
|
|
184
|
+
"""
|
|
185
|
+
The Kubernetes distribution running on this connected cluster.
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "distribution")
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter(name="distributionVersion")
|
|
191
|
+
def distribution_version(self) -> Optional[str]:
|
|
192
|
+
"""
|
|
193
|
+
The Kubernetes distribution version on this connected cluster.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "distribution_version")
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter
|
|
199
|
+
def gateway(self) -> Optional['outputs.GatewayResponse']:
|
|
200
|
+
"""
|
|
201
|
+
Details of the gateway used by the Arc router for connectivity.
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "gateway")
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
@pulumi.getter
|
|
207
|
+
def id(self) -> str:
|
|
208
|
+
"""
|
|
209
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
210
|
+
"""
|
|
211
|
+
return pulumi.get(self, "id")
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
@pulumi.getter
|
|
215
|
+
def identity(self) -> 'outputs.ConnectedClusterIdentityResponse':
|
|
216
|
+
"""
|
|
217
|
+
The identity of the connected cluster.
|
|
218
|
+
"""
|
|
219
|
+
return pulumi.get(self, "identity")
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
@pulumi.getter
|
|
223
|
+
def infrastructure(self) -> Optional[str]:
|
|
224
|
+
"""
|
|
225
|
+
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
|
|
226
|
+
"""
|
|
227
|
+
return pulumi.get(self, "infrastructure")
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
@pulumi.getter
|
|
231
|
+
def kind(self) -> Optional[str]:
|
|
232
|
+
"""
|
|
233
|
+
The kind of connected cluster.
|
|
234
|
+
"""
|
|
235
|
+
return pulumi.get(self, "kind")
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
@pulumi.getter(name="kubernetesVersion")
|
|
239
|
+
def kubernetes_version(self) -> str:
|
|
240
|
+
"""
|
|
241
|
+
The Kubernetes version of the connected cluster resource
|
|
242
|
+
"""
|
|
243
|
+
return pulumi.get(self, "kubernetes_version")
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
@pulumi.getter(name="lastConnectivityTime")
|
|
247
|
+
def last_connectivity_time(self) -> str:
|
|
248
|
+
"""
|
|
249
|
+
Time representing the last instance when heart beat was received from the cluster
|
|
250
|
+
"""
|
|
251
|
+
return pulumi.get(self, "last_connectivity_time")
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
@pulumi.getter
|
|
255
|
+
def location(self) -> str:
|
|
256
|
+
"""
|
|
257
|
+
The geo-location where the resource lives
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "location")
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
@pulumi.getter(name="managedIdentityCertificateExpirationTime")
|
|
263
|
+
def managed_identity_certificate_expiration_time(self) -> str:
|
|
264
|
+
"""
|
|
265
|
+
Expiration time of the managed identity certificate
|
|
266
|
+
"""
|
|
267
|
+
return pulumi.get(self, "managed_identity_certificate_expiration_time")
|
|
268
|
+
|
|
269
|
+
@property
|
|
270
|
+
@pulumi.getter(name="miscellaneousProperties")
|
|
271
|
+
def miscellaneous_properties(self) -> Mapping[str, str]:
|
|
272
|
+
"""
|
|
273
|
+
More properties related to the Connected Cluster
|
|
274
|
+
"""
|
|
275
|
+
return pulumi.get(self, "miscellaneous_properties")
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
@pulumi.getter
|
|
279
|
+
def name(self) -> str:
|
|
280
|
+
"""
|
|
281
|
+
The name of the resource
|
|
282
|
+
"""
|
|
283
|
+
return pulumi.get(self, "name")
|
|
284
|
+
|
|
285
|
+
@property
|
|
286
|
+
@pulumi.getter
|
|
287
|
+
def offering(self) -> str:
|
|
288
|
+
"""
|
|
289
|
+
Connected cluster offering
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "offering")
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
@pulumi.getter(name="oidcIssuerProfile")
|
|
295
|
+
def oidc_issuer_profile(self) -> Optional['outputs.OidcIssuerProfileResponse']:
|
|
296
|
+
"""
|
|
297
|
+
Open ID Connect (OIDC) Issuer Profile for the connected cluster.
|
|
298
|
+
"""
|
|
299
|
+
return pulumi.get(self, "oidc_issuer_profile")
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
@pulumi.getter(name="privateLinkScopeResourceId")
|
|
303
|
+
def private_link_scope_resource_id(self) -> Optional[str]:
|
|
304
|
+
"""
|
|
305
|
+
This is populated only if privateLinkState is enabled. The resource id of the private link scope this connected cluster is assigned to, if any.
|
|
306
|
+
"""
|
|
307
|
+
return pulumi.get(self, "private_link_scope_resource_id")
|
|
308
|
+
|
|
309
|
+
@property
|
|
310
|
+
@pulumi.getter(name="privateLinkState")
|
|
311
|
+
def private_link_state(self) -> Optional[str]:
|
|
312
|
+
"""
|
|
313
|
+
Property which describes the state of private link on a connected cluster resource.
|
|
314
|
+
"""
|
|
315
|
+
return pulumi.get(self, "private_link_state")
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
@pulumi.getter(name="provisioningState")
|
|
319
|
+
def provisioning_state(self) -> Optional[str]:
|
|
320
|
+
"""
|
|
321
|
+
Provisioning state of the connected cluster resource.
|
|
322
|
+
"""
|
|
323
|
+
return pulumi.get(self, "provisioning_state")
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
@pulumi.getter(name="securityProfile")
|
|
327
|
+
def security_profile(self) -> Optional['outputs.SecurityProfileResponse']:
|
|
328
|
+
"""
|
|
329
|
+
Security profile for the connected cluster.
|
|
330
|
+
"""
|
|
331
|
+
return pulumi.get(self, "security_profile")
|
|
332
|
+
|
|
333
|
+
@property
|
|
334
|
+
@pulumi.getter(name="systemData")
|
|
335
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
336
|
+
"""
|
|
337
|
+
Metadata pertaining to creation and last modification of the resource
|
|
338
|
+
"""
|
|
339
|
+
return pulumi.get(self, "system_data")
|
|
340
|
+
|
|
341
|
+
@property
|
|
342
|
+
@pulumi.getter
|
|
343
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
344
|
+
"""
|
|
345
|
+
Resource tags.
|
|
346
|
+
"""
|
|
347
|
+
return pulumi.get(self, "tags")
|
|
348
|
+
|
|
349
|
+
@property
|
|
350
|
+
@pulumi.getter(name="totalCoreCount")
|
|
351
|
+
def total_core_count(self) -> int:
|
|
352
|
+
"""
|
|
353
|
+
Number of CPU cores present in the connected cluster resource
|
|
354
|
+
"""
|
|
355
|
+
return pulumi.get(self, "total_core_count")
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
@pulumi.getter(name="totalNodeCount")
|
|
359
|
+
def total_node_count(self) -> int:
|
|
360
|
+
"""
|
|
361
|
+
Number of nodes present in the connected cluster resource
|
|
362
|
+
"""
|
|
363
|
+
return pulumi.get(self, "total_node_count")
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
@pulumi.getter
|
|
367
|
+
def type(self) -> str:
|
|
368
|
+
"""
|
|
369
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
370
|
+
"""
|
|
371
|
+
return pulumi.get(self, "type")
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
class AwaitableGetConnectedClusterResult(GetConnectedClusterResult):
|
|
375
|
+
# pylint: disable=using-constant-test
|
|
376
|
+
def __await__(self):
|
|
377
|
+
if False:
|
|
378
|
+
yield self
|
|
379
|
+
return GetConnectedClusterResult(
|
|
380
|
+
aad_profile=self.aad_profile,
|
|
381
|
+
agent_public_key_certificate=self.agent_public_key_certificate,
|
|
382
|
+
agent_version=self.agent_version,
|
|
383
|
+
arc_agent_profile=self.arc_agent_profile,
|
|
384
|
+
arc_agentry_configurations=self.arc_agentry_configurations,
|
|
385
|
+
azure_hybrid_benefit=self.azure_hybrid_benefit,
|
|
386
|
+
connectivity_status=self.connectivity_status,
|
|
387
|
+
distribution=self.distribution,
|
|
388
|
+
distribution_version=self.distribution_version,
|
|
389
|
+
gateway=self.gateway,
|
|
390
|
+
id=self.id,
|
|
391
|
+
identity=self.identity,
|
|
392
|
+
infrastructure=self.infrastructure,
|
|
393
|
+
kind=self.kind,
|
|
394
|
+
kubernetes_version=self.kubernetes_version,
|
|
395
|
+
last_connectivity_time=self.last_connectivity_time,
|
|
396
|
+
location=self.location,
|
|
397
|
+
managed_identity_certificate_expiration_time=self.managed_identity_certificate_expiration_time,
|
|
398
|
+
miscellaneous_properties=self.miscellaneous_properties,
|
|
399
|
+
name=self.name,
|
|
400
|
+
offering=self.offering,
|
|
401
|
+
oidc_issuer_profile=self.oidc_issuer_profile,
|
|
402
|
+
private_link_scope_resource_id=self.private_link_scope_resource_id,
|
|
403
|
+
private_link_state=self.private_link_state,
|
|
404
|
+
provisioning_state=self.provisioning_state,
|
|
405
|
+
security_profile=self.security_profile,
|
|
406
|
+
system_data=self.system_data,
|
|
407
|
+
tags=self.tags,
|
|
408
|
+
total_core_count=self.total_core_count,
|
|
409
|
+
total_node_count=self.total_node_count,
|
|
410
|
+
type=self.type)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
def get_connected_cluster(cluster_name: Optional[str] = None,
|
|
414
|
+
resource_group_name: Optional[str] = None,
|
|
415
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectedClusterResult:
|
|
416
|
+
"""
|
|
417
|
+
Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
:param str cluster_name: The name of the Kubernetes cluster on which get is called.
|
|
421
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
422
|
+
"""
|
|
423
|
+
__args__ = dict()
|
|
424
|
+
__args__['clusterName'] = cluster_name
|
|
425
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
426
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
427
|
+
__ret__ = pulumi.runtime.invoke('azure-native:kubernetes/v20241201preview:getConnectedCluster', __args__, opts=opts, typ=GetConnectedClusterResult).value
|
|
428
|
+
|
|
429
|
+
return AwaitableGetConnectedClusterResult(
|
|
430
|
+
aad_profile=pulumi.get(__ret__, 'aad_profile'),
|
|
431
|
+
agent_public_key_certificate=pulumi.get(__ret__, 'agent_public_key_certificate'),
|
|
432
|
+
agent_version=pulumi.get(__ret__, 'agent_version'),
|
|
433
|
+
arc_agent_profile=pulumi.get(__ret__, 'arc_agent_profile'),
|
|
434
|
+
arc_agentry_configurations=pulumi.get(__ret__, 'arc_agentry_configurations'),
|
|
435
|
+
azure_hybrid_benefit=pulumi.get(__ret__, 'azure_hybrid_benefit'),
|
|
436
|
+
connectivity_status=pulumi.get(__ret__, 'connectivity_status'),
|
|
437
|
+
distribution=pulumi.get(__ret__, 'distribution'),
|
|
438
|
+
distribution_version=pulumi.get(__ret__, 'distribution_version'),
|
|
439
|
+
gateway=pulumi.get(__ret__, 'gateway'),
|
|
440
|
+
id=pulumi.get(__ret__, 'id'),
|
|
441
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
442
|
+
infrastructure=pulumi.get(__ret__, 'infrastructure'),
|
|
443
|
+
kind=pulumi.get(__ret__, 'kind'),
|
|
444
|
+
kubernetes_version=pulumi.get(__ret__, 'kubernetes_version'),
|
|
445
|
+
last_connectivity_time=pulumi.get(__ret__, 'last_connectivity_time'),
|
|
446
|
+
location=pulumi.get(__ret__, 'location'),
|
|
447
|
+
managed_identity_certificate_expiration_time=pulumi.get(__ret__, 'managed_identity_certificate_expiration_time'),
|
|
448
|
+
miscellaneous_properties=pulumi.get(__ret__, 'miscellaneous_properties'),
|
|
449
|
+
name=pulumi.get(__ret__, 'name'),
|
|
450
|
+
offering=pulumi.get(__ret__, 'offering'),
|
|
451
|
+
oidc_issuer_profile=pulumi.get(__ret__, 'oidc_issuer_profile'),
|
|
452
|
+
private_link_scope_resource_id=pulumi.get(__ret__, 'private_link_scope_resource_id'),
|
|
453
|
+
private_link_state=pulumi.get(__ret__, 'private_link_state'),
|
|
454
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
455
|
+
security_profile=pulumi.get(__ret__, 'security_profile'),
|
|
456
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
457
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
458
|
+
total_core_count=pulumi.get(__ret__, 'total_core_count'),
|
|
459
|
+
total_node_count=pulumi.get(__ret__, 'total_node_count'),
|
|
460
|
+
type=pulumi.get(__ret__, 'type'))
|
|
461
|
+
def get_connected_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
|
|
462
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
463
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectedClusterResult]:
|
|
464
|
+
"""
|
|
465
|
+
Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
:param str cluster_name: The name of the Kubernetes cluster on which get is called.
|
|
469
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
470
|
+
"""
|
|
471
|
+
__args__ = dict()
|
|
472
|
+
__args__['clusterName'] = cluster_name
|
|
473
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
474
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
475
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:kubernetes/v20241201preview:getConnectedCluster', __args__, opts=opts, typ=GetConnectedClusterResult)
|
|
476
|
+
return __ret__.apply(lambda __response__: GetConnectedClusterResult(
|
|
477
|
+
aad_profile=pulumi.get(__response__, 'aad_profile'),
|
|
478
|
+
agent_public_key_certificate=pulumi.get(__response__, 'agent_public_key_certificate'),
|
|
479
|
+
agent_version=pulumi.get(__response__, 'agent_version'),
|
|
480
|
+
arc_agent_profile=pulumi.get(__response__, 'arc_agent_profile'),
|
|
481
|
+
arc_agentry_configurations=pulumi.get(__response__, 'arc_agentry_configurations'),
|
|
482
|
+
azure_hybrid_benefit=pulumi.get(__response__, 'azure_hybrid_benefit'),
|
|
483
|
+
connectivity_status=pulumi.get(__response__, 'connectivity_status'),
|
|
484
|
+
distribution=pulumi.get(__response__, 'distribution'),
|
|
485
|
+
distribution_version=pulumi.get(__response__, 'distribution_version'),
|
|
486
|
+
gateway=pulumi.get(__response__, 'gateway'),
|
|
487
|
+
id=pulumi.get(__response__, 'id'),
|
|
488
|
+
identity=pulumi.get(__response__, 'identity'),
|
|
489
|
+
infrastructure=pulumi.get(__response__, 'infrastructure'),
|
|
490
|
+
kind=pulumi.get(__response__, 'kind'),
|
|
491
|
+
kubernetes_version=pulumi.get(__response__, 'kubernetes_version'),
|
|
492
|
+
last_connectivity_time=pulumi.get(__response__, 'last_connectivity_time'),
|
|
493
|
+
location=pulumi.get(__response__, 'location'),
|
|
494
|
+
managed_identity_certificate_expiration_time=pulumi.get(__response__, 'managed_identity_certificate_expiration_time'),
|
|
495
|
+
miscellaneous_properties=pulumi.get(__response__, 'miscellaneous_properties'),
|
|
496
|
+
name=pulumi.get(__response__, 'name'),
|
|
497
|
+
offering=pulumi.get(__response__, 'offering'),
|
|
498
|
+
oidc_issuer_profile=pulumi.get(__response__, 'oidc_issuer_profile'),
|
|
499
|
+
private_link_scope_resource_id=pulumi.get(__response__, 'private_link_scope_resource_id'),
|
|
500
|
+
private_link_state=pulumi.get(__response__, 'private_link_state'),
|
|
501
|
+
provisioning_state=pulumi.get(__response__, 'provisioning_state'),
|
|
502
|
+
security_profile=pulumi.get(__response__, 'security_profile'),
|
|
503
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
504
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
505
|
+
total_core_count=pulumi.get(__response__, 'total_core_count'),
|
|
506
|
+
total_node_count=pulumi.get(__response__, 'total_node_count'),
|
|
507
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'ListConnectedClusterUserCredentialResult',
|
|
21
|
+
'AwaitableListConnectedClusterUserCredentialResult',
|
|
22
|
+
'list_connected_cluster_user_credential',
|
|
23
|
+
'list_connected_cluster_user_credential_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class ListConnectedClusterUserCredentialResult:
|
|
28
|
+
"""
|
|
29
|
+
The list of credential result response.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, hybrid_connection_config=None, kubeconfigs=None):
|
|
32
|
+
if hybrid_connection_config and not isinstance(hybrid_connection_config, dict):
|
|
33
|
+
raise TypeError("Expected argument 'hybrid_connection_config' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "hybrid_connection_config", hybrid_connection_config)
|
|
35
|
+
if kubeconfigs and not isinstance(kubeconfigs, list):
|
|
36
|
+
raise TypeError("Expected argument 'kubeconfigs' to be a list")
|
|
37
|
+
pulumi.set(__self__, "kubeconfigs", kubeconfigs)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
@pulumi.getter(name="hybridConnectionConfig")
|
|
41
|
+
def hybrid_connection_config(self) -> 'outputs.HybridConnectionConfigResponse':
|
|
42
|
+
"""
|
|
43
|
+
Contains the REP (rendezvous endpoint) and “Sender” access token.
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "hybrid_connection_config")
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def kubeconfigs(self) -> Sequence['outputs.CredentialResultResponse']:
|
|
50
|
+
"""
|
|
51
|
+
Base64-encoded Kubernetes configuration file.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "kubeconfigs")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class AwaitableListConnectedClusterUserCredentialResult(ListConnectedClusterUserCredentialResult):
|
|
57
|
+
# pylint: disable=using-constant-test
|
|
58
|
+
def __await__(self):
|
|
59
|
+
if False:
|
|
60
|
+
yield self
|
|
61
|
+
return ListConnectedClusterUserCredentialResult(
|
|
62
|
+
hybrid_connection_config=self.hybrid_connection_config,
|
|
63
|
+
kubeconfigs=self.kubeconfigs)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def list_connected_cluster_user_credential(authentication_method: Optional[Union[str, 'AuthenticationMethod']] = None,
|
|
67
|
+
client_proxy: Optional[bool] = None,
|
|
68
|
+
cluster_name: Optional[str] = None,
|
|
69
|
+
resource_group_name: Optional[str] = None,
|
|
70
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListConnectedClusterUserCredentialResult:
|
|
71
|
+
"""
|
|
72
|
+
Gets cluster user credentials of the connected cluster with a specified resource group and name.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param Union[str, 'AuthenticationMethod'] authentication_method: The mode of client authentication.
|
|
76
|
+
:param bool client_proxy: Boolean value to indicate whether the request is for client side proxy or not
|
|
77
|
+
:param str cluster_name: The name of the Kubernetes cluster on which get is called.
|
|
78
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
79
|
+
"""
|
|
80
|
+
__args__ = dict()
|
|
81
|
+
__args__['authenticationMethod'] = authentication_method
|
|
82
|
+
__args__['clientProxy'] = client_proxy
|
|
83
|
+
__args__['clusterName'] = cluster_name
|
|
84
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
85
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
86
|
+
__ret__ = pulumi.runtime.invoke('azure-native:kubernetes/v20241201preview:listConnectedClusterUserCredential', __args__, opts=opts, typ=ListConnectedClusterUserCredentialResult).value
|
|
87
|
+
|
|
88
|
+
return AwaitableListConnectedClusterUserCredentialResult(
|
|
89
|
+
hybrid_connection_config=pulumi.get(__ret__, 'hybrid_connection_config'),
|
|
90
|
+
kubeconfigs=pulumi.get(__ret__, 'kubeconfigs'))
|
|
91
|
+
def list_connected_cluster_user_credential_output(authentication_method: Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]] = None,
|
|
92
|
+
client_proxy: Optional[pulumi.Input[bool]] = None,
|
|
93
|
+
cluster_name: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListConnectedClusterUserCredentialResult]:
|
|
96
|
+
"""
|
|
97
|
+
Gets cluster user credentials of the connected cluster with a specified resource group and name.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param Union[str, 'AuthenticationMethod'] authentication_method: The mode of client authentication.
|
|
101
|
+
:param bool client_proxy: Boolean value to indicate whether the request is for client side proxy or not
|
|
102
|
+
:param str cluster_name: The name of the Kubernetes cluster on which get is called.
|
|
103
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
104
|
+
"""
|
|
105
|
+
__args__ = dict()
|
|
106
|
+
__args__['authenticationMethod'] = authentication_method
|
|
107
|
+
__args__['clientProxy'] = client_proxy
|
|
108
|
+
__args__['clusterName'] = cluster_name
|
|
109
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
110
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
111
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:kubernetes/v20241201preview:listConnectedClusterUserCredential', __args__, opts=opts, typ=ListConnectedClusterUserCredentialResult)
|
|
112
|
+
return __ret__.apply(lambda __response__: ListConnectedClusterUserCredentialResult(
|
|
113
|
+
hybrid_connection_config=pulumi.get(__response__, 'hybrid_connection_config'),
|
|
114
|
+
kubeconfigs=pulumi.get(__response__, 'kubeconfigs')))
|