pulumi-azure-native 2.84.0a1737570745__py3-none-any.whl → 2.84.0a1737706742__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.

Files changed (96) hide show
  1. pulumi_azure_native/__init__.py +39 -0
  2. pulumi_azure_native/dashboard/__init__.py +3 -0
  3. pulumi_azure_native/dashboard/get_grafana.py +2 -2
  4. pulumi_azure_native/dashboard/get_integration_fabric.py +4 -0
  5. pulumi_azure_native/dashboard/get_managed_private_endpoint.py +2 -2
  6. pulumi_azure_native/dashboard/get_private_endpoint_connection.py +2 -2
  7. pulumi_azure_native/dashboard/grafana.py +3 -3
  8. pulumi_azure_native/dashboard/integration_fabric.py +5 -1
  9. pulumi_azure_native/dashboard/managed_private_endpoint.py +3 -3
  10. pulumi_azure_native/dashboard/private_endpoint_connection.py +3 -3
  11. pulumi_azure_native/dashboard/v20210901preview/grafana.py +1 -1
  12. pulumi_azure_native/dashboard/v20220801/grafana.py +1 -1
  13. pulumi_azure_native/dashboard/v20220801/private_endpoint_connection.py +1 -1
  14. pulumi_azure_native/dashboard/v20221001preview/grafana.py +1 -1
  15. pulumi_azure_native/dashboard/v20221001preview/managed_private_endpoint.py +1 -1
  16. pulumi_azure_native/dashboard/v20221001preview/private_endpoint_connection.py +1 -1
  17. pulumi_azure_native/dashboard/v20230901/grafana.py +1 -1
  18. pulumi_azure_native/dashboard/v20230901/managed_private_endpoint.py +1 -1
  19. pulumi_azure_native/dashboard/v20230901/private_endpoint_connection.py +1 -1
  20. pulumi_azure_native/dashboard/v20231001preview/grafana.py +1 -1
  21. pulumi_azure_native/dashboard/v20231001preview/integration_fabric.py +1 -1
  22. pulumi_azure_native/dashboard/v20231001preview/managed_private_endpoint.py +1 -1
  23. pulumi_azure_native/dashboard/v20231001preview/private_endpoint_connection.py +1 -1
  24. pulumi_azure_native/dashboard/v20241001/__init__.py +18 -0
  25. pulumi_azure_native/dashboard/v20241001/_enums.py +93 -0
  26. pulumi_azure_native/dashboard/v20241001/_inputs.py +1009 -0
  27. pulumi_azure_native/dashboard/v20241001/get_grafana.py +199 -0
  28. pulumi_azure_native/dashboard/v20241001/get_integration_fabric.py +174 -0
  29. pulumi_azure_native/dashboard/v20241001/get_managed_private_endpoint.py +275 -0
  30. pulumi_azure_native/dashboard/v20241001/get_private_endpoint_connection.py +191 -0
  31. pulumi_azure_native/dashboard/v20241001/grafana.py +316 -0
  32. pulumi_azure_native/dashboard/v20241001/integration_fabric.py +270 -0
  33. pulumi_azure_native/dashboard/v20241001/managed_private_endpoint.py +423 -0
  34. pulumi_azure_native/dashboard/v20241001/outputs.py +1332 -0
  35. pulumi_azure_native/dashboard/v20241001/private_endpoint_connection.py +271 -0
  36. pulumi_azure_native/datafactory/_enums.py +8 -0
  37. pulumi_azure_native/datafactory/_inputs.py +180 -0
  38. pulumi_azure_native/datafactory/outputs.py +117 -1
  39. pulumi_azure_native/datafactory/v20180601/_enums.py +8 -0
  40. pulumi_azure_native/datafactory/v20180601/_inputs.py +180 -0
  41. pulumi_azure_native/datafactory/v20180601/outputs.py +117 -1
  42. pulumi_azure_native/insights/__init__.py +6 -0
  43. pulumi_azure_native/insights/get_private_endpoint_connection.py +2 -2
  44. pulumi_azure_native/insights/get_private_link_scope.py +2 -2
  45. pulumi_azure_native/insights/get_private_link_scoped_resource.py +4 -0
  46. pulumi_azure_native/insights/private_endpoint_connection.py +3 -3
  47. pulumi_azure_native/insights/private_link_scope.py +3 -3
  48. pulumi_azure_native/insights/private_link_scoped_resource.py +5 -1
  49. pulumi_azure_native/insights/v20191017preview/private_endpoint_connection.py +1 -1
  50. pulumi_azure_native/insights/v20191017preview/private_link_scope.py +1 -1
  51. pulumi_azure_native/insights/v20210701preview/private_endpoint_connection.py +1 -1
  52. pulumi_azure_native/insights/v20210701preview/private_link_scope.py +1 -1
  53. pulumi_azure_native/insights/v20210701preview/private_link_scoped_resource.py +1 -1
  54. pulumi_azure_native/insights/v20210901/__init__.py +16 -0
  55. pulumi_azure_native/insights/v20210901/_enums.py +27 -0
  56. pulumi_azure_native/insights/v20210901/_inputs.py +254 -0
  57. pulumi_azure_native/insights/v20210901/get_private_endpoint_connection.py +163 -0
  58. pulumi_azure_native/insights/v20210901/get_private_link_scope.py +199 -0
  59. pulumi_azure_native/insights/v20210901/get_private_link_scoped_resource.py +163 -0
  60. pulumi_azure_native/insights/v20210901/outputs.py +454 -0
  61. pulumi_azure_native/insights/v20210901/private_endpoint_connection.py +232 -0
  62. pulumi_azure_native/insights/v20210901/private_link_scope.py +279 -0
  63. pulumi_azure_native/insights/v20210901/private_link_scoped_resource.py +228 -0
  64. pulumi_azure_native/insights/v20230601preview/__init__.py +16 -0
  65. pulumi_azure_native/insights/v20230601preview/_enums.py +36 -0
  66. pulumi_azure_native/insights/v20230601preview/_inputs.py +254 -0
  67. pulumi_azure_native/insights/v20230601preview/get_private_endpoint_connection.py +163 -0
  68. pulumi_azure_native/insights/v20230601preview/get_private_link_scope.py +199 -0
  69. pulumi_azure_native/insights/v20230601preview/get_private_link_scoped_resource.py +191 -0
  70. pulumi_azure_native/insights/v20230601preview/outputs.py +454 -0
  71. pulumi_azure_native/insights/v20230601preview/private_endpoint_connection.py +232 -0
  72. pulumi_azure_native/insights/v20230601preview/private_link_scope.py +279 -0
  73. pulumi_azure_native/insights/v20230601preview/private_link_scoped_resource.py +287 -0
  74. pulumi_azure_native/pulumi-plugin.json +1 -1
  75. pulumi_azure_native/redhatopenshift/__init__.py +3 -0
  76. pulumi_azure_native/redhatopenshift/get_open_shift_cluster.py +2 -2
  77. pulumi_azure_native/redhatopenshift/list_open_shift_cluster_admin_credentials.py +2 -2
  78. pulumi_azure_native/redhatopenshift/list_open_shift_cluster_credentials.py +2 -2
  79. pulumi_azure_native/redhatopenshift/open_shift_cluster.py +3 -3
  80. pulumi_azure_native/redhatopenshift/v20220904/open_shift_cluster.py +1 -1
  81. pulumi_azure_native/redhatopenshift/v20230401/open_shift_cluster.py +1 -1
  82. pulumi_azure_native/redhatopenshift/v20230701preview/open_shift_cluster.py +1 -1
  83. pulumi_azure_native/redhatopenshift/v20230904/open_shift_cluster.py +1 -1
  84. pulumi_azure_native/redhatopenshift/v20231122/open_shift_cluster.py +1 -1
  85. pulumi_azure_native/redhatopenshift/v20240812preview/__init__.py +14 -0
  86. pulumi_azure_native/redhatopenshift/v20240812preview/_enums.py +78 -0
  87. pulumi_azure_native/redhatopenshift/v20240812preview/_inputs.py +910 -0
  88. pulumi_azure_native/redhatopenshift/v20240812preview/get_open_shift_cluster.py +325 -0
  89. pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_admin_credentials.py +86 -0
  90. pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_credentials.py +100 -0
  91. pulumi_azure_native/redhatopenshift/v20240812preview/open_shift_cluster.py +539 -0
  92. pulumi_azure_native/redhatopenshift/v20240812preview/outputs.py +1062 -0
  93. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/METADATA +1 -1
  94. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/RECORD +96 -56
  95. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/WHEEL +0 -0
  96. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,325 @@
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
+ 'GetOpenShiftClusterResult',
20
+ 'AwaitableGetOpenShiftClusterResult',
21
+ 'get_open_shift_cluster',
22
+ 'get_open_shift_cluster_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetOpenShiftClusterResult:
27
+ """
28
+ OpenShiftCluster represents an Azure Red Hat OpenShift cluster.
29
+ """
30
+ def __init__(__self__, apiserver_profile=None, cluster_profile=None, console_profile=None, id=None, identity=None, ingress_profiles=None, location=None, master_profile=None, name=None, network_profile=None, platform_workload_identity_profile=None, provisioning_state=None, service_principal_profile=None, system_data=None, tags=None, type=None, worker_profiles=None, worker_profiles_status=None):
31
+ if apiserver_profile and not isinstance(apiserver_profile, dict):
32
+ raise TypeError("Expected argument 'apiserver_profile' to be a dict")
33
+ pulumi.set(__self__, "apiserver_profile", apiserver_profile)
34
+ if cluster_profile and not isinstance(cluster_profile, dict):
35
+ raise TypeError("Expected argument 'cluster_profile' to be a dict")
36
+ pulumi.set(__self__, "cluster_profile", cluster_profile)
37
+ if console_profile and not isinstance(console_profile, dict):
38
+ raise TypeError("Expected argument 'console_profile' to be a dict")
39
+ pulumi.set(__self__, "console_profile", console_profile)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if identity and not isinstance(identity, dict):
44
+ raise TypeError("Expected argument 'identity' to be a dict")
45
+ pulumi.set(__self__, "identity", identity)
46
+ if ingress_profiles and not isinstance(ingress_profiles, list):
47
+ raise TypeError("Expected argument 'ingress_profiles' to be a list")
48
+ pulumi.set(__self__, "ingress_profiles", ingress_profiles)
49
+ if location and not isinstance(location, str):
50
+ raise TypeError("Expected argument 'location' to be a str")
51
+ pulumi.set(__self__, "location", location)
52
+ if master_profile and not isinstance(master_profile, dict):
53
+ raise TypeError("Expected argument 'master_profile' to be a dict")
54
+ pulumi.set(__self__, "master_profile", master_profile)
55
+ if name and not isinstance(name, str):
56
+ raise TypeError("Expected argument 'name' to be a str")
57
+ pulumi.set(__self__, "name", name)
58
+ if network_profile and not isinstance(network_profile, dict):
59
+ raise TypeError("Expected argument 'network_profile' to be a dict")
60
+ pulumi.set(__self__, "network_profile", network_profile)
61
+ if platform_workload_identity_profile and not isinstance(platform_workload_identity_profile, dict):
62
+ raise TypeError("Expected argument 'platform_workload_identity_profile' to be a dict")
63
+ pulumi.set(__self__, "platform_workload_identity_profile", platform_workload_identity_profile)
64
+ if provisioning_state and not isinstance(provisioning_state, str):
65
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
66
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
67
+ if service_principal_profile and not isinstance(service_principal_profile, dict):
68
+ raise TypeError("Expected argument 'service_principal_profile' to be a dict")
69
+ pulumi.set(__self__, "service_principal_profile", service_principal_profile)
70
+ if system_data and not isinstance(system_data, dict):
71
+ raise TypeError("Expected argument 'system_data' to be a dict")
72
+ pulumi.set(__self__, "system_data", system_data)
73
+ if tags and not isinstance(tags, dict):
74
+ raise TypeError("Expected argument 'tags' to be a dict")
75
+ pulumi.set(__self__, "tags", tags)
76
+ if type and not isinstance(type, str):
77
+ raise TypeError("Expected argument 'type' to be a str")
78
+ pulumi.set(__self__, "type", type)
79
+ if worker_profiles and not isinstance(worker_profiles, list):
80
+ raise TypeError("Expected argument 'worker_profiles' to be a list")
81
+ pulumi.set(__self__, "worker_profiles", worker_profiles)
82
+ if worker_profiles_status and not isinstance(worker_profiles_status, list):
83
+ raise TypeError("Expected argument 'worker_profiles_status' to be a list")
84
+ pulumi.set(__self__, "worker_profiles_status", worker_profiles_status)
85
+
86
+ @property
87
+ @pulumi.getter(name="apiserverProfile")
88
+ def apiserver_profile(self) -> Optional['outputs.APIServerProfileResponse']:
89
+ """
90
+ The cluster API server profile.
91
+ """
92
+ return pulumi.get(self, "apiserver_profile")
93
+
94
+ @property
95
+ @pulumi.getter(name="clusterProfile")
96
+ def cluster_profile(self) -> Optional['outputs.ClusterProfileResponse']:
97
+ """
98
+ The cluster profile.
99
+ """
100
+ return pulumi.get(self, "cluster_profile")
101
+
102
+ @property
103
+ @pulumi.getter(name="consoleProfile")
104
+ def console_profile(self) -> Optional['outputs.ConsoleProfileResponse']:
105
+ """
106
+ The console profile.
107
+ """
108
+ return pulumi.get(self, "console_profile")
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def id(self) -> str:
113
+ """
114
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
115
+ """
116
+ return pulumi.get(self, "id")
117
+
118
+ @property
119
+ @pulumi.getter
120
+ def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']:
121
+ """
122
+ Identity stores information about the cluster MSI(s) in a workload identity cluster.
123
+ """
124
+ return pulumi.get(self, "identity")
125
+
126
+ @property
127
+ @pulumi.getter(name="ingressProfiles")
128
+ def ingress_profiles(self) -> Optional[Sequence['outputs.IngressProfileResponse']]:
129
+ """
130
+ The cluster ingress profiles.
131
+ """
132
+ return pulumi.get(self, "ingress_profiles")
133
+
134
+ @property
135
+ @pulumi.getter
136
+ def location(self) -> str:
137
+ """
138
+ The geo-location where the resource lives
139
+ """
140
+ return pulumi.get(self, "location")
141
+
142
+ @property
143
+ @pulumi.getter(name="masterProfile")
144
+ def master_profile(self) -> Optional['outputs.MasterProfileResponse']:
145
+ """
146
+ The cluster master profile.
147
+ """
148
+ return pulumi.get(self, "master_profile")
149
+
150
+ @property
151
+ @pulumi.getter
152
+ def name(self) -> str:
153
+ """
154
+ The name of the resource
155
+ """
156
+ return pulumi.get(self, "name")
157
+
158
+ @property
159
+ @pulumi.getter(name="networkProfile")
160
+ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']:
161
+ """
162
+ The cluster network profile.
163
+ """
164
+ return pulumi.get(self, "network_profile")
165
+
166
+ @property
167
+ @pulumi.getter(name="platformWorkloadIdentityProfile")
168
+ def platform_workload_identity_profile(self) -> Optional['outputs.PlatformWorkloadIdentityProfileResponse']:
169
+ """
170
+ The workload identity profile.
171
+ """
172
+ return pulumi.get(self, "platform_workload_identity_profile")
173
+
174
+ @property
175
+ @pulumi.getter(name="provisioningState")
176
+ def provisioning_state(self) -> Optional[str]:
177
+ """
178
+ The cluster provisioning state.
179
+ """
180
+ return pulumi.get(self, "provisioning_state")
181
+
182
+ @property
183
+ @pulumi.getter(name="servicePrincipalProfile")
184
+ def service_principal_profile(self) -> Optional['outputs.ServicePrincipalProfileResponse']:
185
+ """
186
+ The cluster service principal profile.
187
+ """
188
+ return pulumi.get(self, "service_principal_profile")
189
+
190
+ @property
191
+ @pulumi.getter(name="systemData")
192
+ def system_data(self) -> 'outputs.SystemDataResponse':
193
+ """
194
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
195
+ """
196
+ return pulumi.get(self, "system_data")
197
+
198
+ @property
199
+ @pulumi.getter
200
+ def tags(self) -> Optional[Mapping[str, str]]:
201
+ """
202
+ Resource tags.
203
+ """
204
+ return pulumi.get(self, "tags")
205
+
206
+ @property
207
+ @pulumi.getter
208
+ def type(self) -> str:
209
+ """
210
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
211
+ """
212
+ return pulumi.get(self, "type")
213
+
214
+ @property
215
+ @pulumi.getter(name="workerProfiles")
216
+ def worker_profiles(self) -> Optional[Sequence['outputs.WorkerProfileResponse']]:
217
+ """
218
+ The cluster worker profiles.
219
+ """
220
+ return pulumi.get(self, "worker_profiles")
221
+
222
+ @property
223
+ @pulumi.getter(name="workerProfilesStatus")
224
+ def worker_profiles_status(self) -> Sequence['outputs.WorkerProfileResponse']:
225
+ """
226
+ The cluster worker profiles status.
227
+ """
228
+ return pulumi.get(self, "worker_profiles_status")
229
+
230
+
231
+ class AwaitableGetOpenShiftClusterResult(GetOpenShiftClusterResult):
232
+ # pylint: disable=using-constant-test
233
+ def __await__(self):
234
+ if False:
235
+ yield self
236
+ return GetOpenShiftClusterResult(
237
+ apiserver_profile=self.apiserver_profile,
238
+ cluster_profile=self.cluster_profile,
239
+ console_profile=self.console_profile,
240
+ id=self.id,
241
+ identity=self.identity,
242
+ ingress_profiles=self.ingress_profiles,
243
+ location=self.location,
244
+ master_profile=self.master_profile,
245
+ name=self.name,
246
+ network_profile=self.network_profile,
247
+ platform_workload_identity_profile=self.platform_workload_identity_profile,
248
+ provisioning_state=self.provisioning_state,
249
+ service_principal_profile=self.service_principal_profile,
250
+ system_data=self.system_data,
251
+ tags=self.tags,
252
+ type=self.type,
253
+ worker_profiles=self.worker_profiles,
254
+ worker_profiles_status=self.worker_profiles_status)
255
+
256
+
257
+ def get_open_shift_cluster(resource_group_name: Optional[str] = None,
258
+ resource_name: Optional[str] = None,
259
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpenShiftClusterResult:
260
+ """
261
+ The operation returns properties of a OpenShift cluster.
262
+
263
+
264
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
265
+ :param str resource_name: The name of the OpenShift cluster resource.
266
+ """
267
+ __args__ = dict()
268
+ __args__['resourceGroupName'] = resource_group_name
269
+ __args__['resourceName'] = resource_name
270
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
271
+ __ret__ = pulumi.runtime.invoke('azure-native:redhatopenshift/v20240812preview:getOpenShiftCluster', __args__, opts=opts, typ=GetOpenShiftClusterResult).value
272
+
273
+ return AwaitableGetOpenShiftClusterResult(
274
+ apiserver_profile=pulumi.get(__ret__, 'apiserver_profile'),
275
+ cluster_profile=pulumi.get(__ret__, 'cluster_profile'),
276
+ console_profile=pulumi.get(__ret__, 'console_profile'),
277
+ id=pulumi.get(__ret__, 'id'),
278
+ identity=pulumi.get(__ret__, 'identity'),
279
+ ingress_profiles=pulumi.get(__ret__, 'ingress_profiles'),
280
+ location=pulumi.get(__ret__, 'location'),
281
+ master_profile=pulumi.get(__ret__, 'master_profile'),
282
+ name=pulumi.get(__ret__, 'name'),
283
+ network_profile=pulumi.get(__ret__, 'network_profile'),
284
+ platform_workload_identity_profile=pulumi.get(__ret__, 'platform_workload_identity_profile'),
285
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
286
+ service_principal_profile=pulumi.get(__ret__, 'service_principal_profile'),
287
+ system_data=pulumi.get(__ret__, 'system_data'),
288
+ tags=pulumi.get(__ret__, 'tags'),
289
+ type=pulumi.get(__ret__, 'type'),
290
+ worker_profiles=pulumi.get(__ret__, 'worker_profiles'),
291
+ worker_profiles_status=pulumi.get(__ret__, 'worker_profiles_status'))
292
+ def get_open_shift_cluster_output(resource_group_name: Optional[pulumi.Input[str]] = None,
293
+ resource_name: Optional[pulumi.Input[str]] = None,
294
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenShiftClusterResult]:
295
+ """
296
+ The operation returns properties of a OpenShift cluster.
297
+
298
+
299
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
300
+ :param str resource_name: The name of the OpenShift cluster resource.
301
+ """
302
+ __args__ = dict()
303
+ __args__['resourceGroupName'] = resource_group_name
304
+ __args__['resourceName'] = resource_name
305
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
306
+ __ret__ = pulumi.runtime.invoke_output('azure-native:redhatopenshift/v20240812preview:getOpenShiftCluster', __args__, opts=opts, typ=GetOpenShiftClusterResult)
307
+ return __ret__.apply(lambda __response__: GetOpenShiftClusterResult(
308
+ apiserver_profile=pulumi.get(__response__, 'apiserver_profile'),
309
+ cluster_profile=pulumi.get(__response__, 'cluster_profile'),
310
+ console_profile=pulumi.get(__response__, 'console_profile'),
311
+ id=pulumi.get(__response__, 'id'),
312
+ identity=pulumi.get(__response__, 'identity'),
313
+ ingress_profiles=pulumi.get(__response__, 'ingress_profiles'),
314
+ location=pulumi.get(__response__, 'location'),
315
+ master_profile=pulumi.get(__response__, 'master_profile'),
316
+ name=pulumi.get(__response__, 'name'),
317
+ network_profile=pulumi.get(__response__, 'network_profile'),
318
+ platform_workload_identity_profile=pulumi.get(__response__, 'platform_workload_identity_profile'),
319
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
320
+ service_principal_profile=pulumi.get(__response__, 'service_principal_profile'),
321
+ system_data=pulumi.get(__response__, 'system_data'),
322
+ tags=pulumi.get(__response__, 'tags'),
323
+ type=pulumi.get(__response__, 'type'),
324
+ worker_profiles=pulumi.get(__response__, 'worker_profiles'),
325
+ worker_profiles_status=pulumi.get(__response__, 'worker_profiles_status')))
@@ -0,0 +1,86 @@
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
+
17
+ __all__ = [
18
+ 'ListOpenShiftClusterAdminCredentialsResult',
19
+ 'AwaitableListOpenShiftClusterAdminCredentialsResult',
20
+ 'list_open_shift_cluster_admin_credentials',
21
+ 'list_open_shift_cluster_admin_credentials_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class ListOpenShiftClusterAdminCredentialsResult:
26
+ """
27
+ OpenShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig.
28
+ """
29
+ def __init__(__self__, kubeconfig=None):
30
+ if kubeconfig and not isinstance(kubeconfig, str):
31
+ raise TypeError("Expected argument 'kubeconfig' to be a str")
32
+ pulumi.set(__self__, "kubeconfig", kubeconfig)
33
+
34
+ @property
35
+ @pulumi.getter
36
+ def kubeconfig(self) -> Optional[str]:
37
+ """
38
+ The base64-encoded kubeconfig file.
39
+ """
40
+ return pulumi.get(self, "kubeconfig")
41
+
42
+
43
+ class AwaitableListOpenShiftClusterAdminCredentialsResult(ListOpenShiftClusterAdminCredentialsResult):
44
+ # pylint: disable=using-constant-test
45
+ def __await__(self):
46
+ if False:
47
+ yield self
48
+ return ListOpenShiftClusterAdminCredentialsResult(
49
+ kubeconfig=self.kubeconfig)
50
+
51
+
52
+ def list_open_shift_cluster_admin_credentials(resource_group_name: Optional[str] = None,
53
+ resource_name: Optional[str] = None,
54
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOpenShiftClusterAdminCredentialsResult:
55
+ """
56
+ The operation returns the admin kubeconfig.
57
+
58
+
59
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
60
+ :param str resource_name: The name of the OpenShift cluster resource.
61
+ """
62
+ __args__ = dict()
63
+ __args__['resourceGroupName'] = resource_group_name
64
+ __args__['resourceName'] = resource_name
65
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
66
+ __ret__ = pulumi.runtime.invoke('azure-native:redhatopenshift/v20240812preview:listOpenShiftClusterAdminCredentials', __args__, opts=opts, typ=ListOpenShiftClusterAdminCredentialsResult).value
67
+
68
+ return AwaitableListOpenShiftClusterAdminCredentialsResult(
69
+ kubeconfig=pulumi.get(__ret__, 'kubeconfig'))
70
+ def list_open_shift_cluster_admin_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
71
+ resource_name: Optional[pulumi.Input[str]] = None,
72
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListOpenShiftClusterAdminCredentialsResult]:
73
+ """
74
+ The operation returns the admin kubeconfig.
75
+
76
+
77
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
78
+ :param str resource_name: The name of the OpenShift cluster resource.
79
+ """
80
+ __args__ = dict()
81
+ __args__['resourceGroupName'] = resource_group_name
82
+ __args__['resourceName'] = resource_name
83
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
84
+ __ret__ = pulumi.runtime.invoke_output('azure-native:redhatopenshift/v20240812preview:listOpenShiftClusterAdminCredentials', __args__, opts=opts, typ=ListOpenShiftClusterAdminCredentialsResult)
85
+ return __ret__.apply(lambda __response__: ListOpenShiftClusterAdminCredentialsResult(
86
+ kubeconfig=pulumi.get(__response__, 'kubeconfig')))
@@ -0,0 +1,100 @@
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
+
17
+ __all__ = [
18
+ 'ListOpenShiftClusterCredentialsResult',
19
+ 'AwaitableListOpenShiftClusterCredentialsResult',
20
+ 'list_open_shift_cluster_credentials',
21
+ 'list_open_shift_cluster_credentials_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class ListOpenShiftClusterCredentialsResult:
26
+ """
27
+ OpenShiftClusterCredentials represents an OpenShift cluster's credentials.
28
+ """
29
+ def __init__(__self__, kubeadmin_password=None, kubeadmin_username=None):
30
+ if kubeadmin_password and not isinstance(kubeadmin_password, str):
31
+ raise TypeError("Expected argument 'kubeadmin_password' to be a str")
32
+ pulumi.set(__self__, "kubeadmin_password", kubeadmin_password)
33
+ if kubeadmin_username and not isinstance(kubeadmin_username, str):
34
+ raise TypeError("Expected argument 'kubeadmin_username' to be a str")
35
+ pulumi.set(__self__, "kubeadmin_username", kubeadmin_username)
36
+
37
+ @property
38
+ @pulumi.getter(name="kubeadminPassword")
39
+ def kubeadmin_password(self) -> Optional[str]:
40
+ """
41
+ The password for the kubeadmin user.
42
+ """
43
+ return pulumi.get(self, "kubeadmin_password")
44
+
45
+ @property
46
+ @pulumi.getter(name="kubeadminUsername")
47
+ def kubeadmin_username(self) -> Optional[str]:
48
+ """
49
+ The username for the kubeadmin user.
50
+ """
51
+ return pulumi.get(self, "kubeadmin_username")
52
+
53
+
54
+ class AwaitableListOpenShiftClusterCredentialsResult(ListOpenShiftClusterCredentialsResult):
55
+ # pylint: disable=using-constant-test
56
+ def __await__(self):
57
+ if False:
58
+ yield self
59
+ return ListOpenShiftClusterCredentialsResult(
60
+ kubeadmin_password=self.kubeadmin_password,
61
+ kubeadmin_username=self.kubeadmin_username)
62
+
63
+
64
+ def list_open_shift_cluster_credentials(resource_group_name: Optional[str] = None,
65
+ resource_name: Optional[str] = None,
66
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOpenShiftClusterCredentialsResult:
67
+ """
68
+ The operation returns the credentials.
69
+
70
+
71
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
72
+ :param str resource_name: The name of the OpenShift cluster resource.
73
+ """
74
+ __args__ = dict()
75
+ __args__['resourceGroupName'] = resource_group_name
76
+ __args__['resourceName'] = resource_name
77
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
78
+ __ret__ = pulumi.runtime.invoke('azure-native:redhatopenshift/v20240812preview:listOpenShiftClusterCredentials', __args__, opts=opts, typ=ListOpenShiftClusterCredentialsResult).value
79
+
80
+ return AwaitableListOpenShiftClusterCredentialsResult(
81
+ kubeadmin_password=pulumi.get(__ret__, 'kubeadmin_password'),
82
+ kubeadmin_username=pulumi.get(__ret__, 'kubeadmin_username'))
83
+ def list_open_shift_cluster_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
84
+ resource_name: Optional[pulumi.Input[str]] = None,
85
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListOpenShiftClusterCredentialsResult]:
86
+ """
87
+ The operation returns the credentials.
88
+
89
+
90
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
91
+ :param str resource_name: The name of the OpenShift cluster resource.
92
+ """
93
+ __args__ = dict()
94
+ __args__['resourceGroupName'] = resource_group_name
95
+ __args__['resourceName'] = resource_name
96
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
+ __ret__ = pulumi.runtime.invoke_output('azure-native:redhatopenshift/v20240812preview:listOpenShiftClusterCredentials', __args__, opts=opts, typ=ListOpenShiftClusterCredentialsResult)
98
+ return __ret__.apply(lambda __response__: ListOpenShiftClusterCredentialsResult(
99
+ kubeadmin_password=pulumi.get(__response__, 'kubeadmin_password'),
100
+ kubeadmin_username=pulumi.get(__response__, 'kubeadmin_username')))