pulumi-spotinst 3.83.0a1720524486__py3-none-any.whl → 3.128.0a1767140134__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.
Files changed (77) hide show
  1. pulumi_spotinst/__init__.py +38 -1
  2. pulumi_spotinst/_inputs.py +4082 -846
  3. pulumi_spotinst/_utilities.py +15 -10
  4. pulumi_spotinst/account.py +171 -0
  5. pulumi_spotinst/aws/__init__.py +2 -1
  6. pulumi_spotinst/aws/_inputs.py +7292 -2871
  7. pulumi_spotinst/aws/account.py +25 -19
  8. pulumi_spotinst/aws/beanstalk.py +272 -190
  9. pulumi_spotinst/aws/credentials.py +42 -36
  10. pulumi_spotinst/aws/elastigroup.py +1321 -1176
  11. pulumi_spotinst/aws/managed_instance.py +633 -526
  12. pulumi_spotinst/aws/mr_scalar.py +827 -983
  13. pulumi_spotinst/aws/ocean.py +764 -570
  14. pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
  15. pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
  16. pulumi_spotinst/aws/outputs.py +3421 -2205
  17. pulumi_spotinst/aws/suspension.py +51 -45
  18. pulumi_spotinst/azure/__init__.py +2 -1
  19. pulumi_spotinst/azure/_inputs.py +1492 -434
  20. pulumi_spotinst/azure/ocean_np.py +518 -464
  21. pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
  22. pulumi_spotinst/azure/outputs.py +840 -345
  23. pulumi_spotinst/config/__init__.py +2 -1
  24. pulumi_spotinst/config/__init__.pyi +7 -2
  25. pulumi_spotinst/config/vars.py +11 -6
  26. pulumi_spotinst/credentials_azure.py +423 -0
  27. pulumi_spotinst/credentials_gcp.py +632 -0
  28. pulumi_spotinst/data_integration.py +58 -52
  29. pulumi_spotinst/ecs/__init__.py +2 -1
  30. pulumi_spotinst/ecs/_inputs.py +1164 -469
  31. pulumi_spotinst/ecs/ocean.py +711 -446
  32. pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
  33. pulumi_spotinst/ecs/outputs.py +463 -374
  34. pulumi_spotinst/elastigroup_azure_v3.py +985 -197
  35. pulumi_spotinst/gcp/__init__.py +2 -1
  36. pulumi_spotinst/gcp/_inputs.py +1061 -381
  37. pulumi_spotinst/gcp/elastigroup.py +885 -567
  38. pulumi_spotinst/gcp/outputs.py +542 -301
  39. pulumi_spotinst/gke/__init__.py +2 -1
  40. pulumi_spotinst/gke/_inputs.py +2071 -715
  41. pulumi_spotinst/gke/elastigroup.py +558 -382
  42. pulumi_spotinst/gke/ocean_import.py +379 -255
  43. pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
  44. pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
  45. pulumi_spotinst/gke/outputs.py +1063 -528
  46. pulumi_spotinst/health_check.py +116 -70
  47. pulumi_spotinst/notification_center.py +344 -0
  48. pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
  49. pulumi_spotinst/oceancd/__init__.py +2 -1
  50. pulumi_spotinst/oceancd/_inputs.py +1709 -651
  51. pulumi_spotinst/oceancd/outputs.py +537 -526
  52. pulumi_spotinst/oceancd/rollout_spec.py +65 -59
  53. pulumi_spotinst/oceancd/strategy.py +37 -31
  54. pulumi_spotinst/oceancd/verification_provider.py +128 -122
  55. pulumi_spotinst/oceancd/verification_template.py +265 -259
  56. pulumi_spotinst/organization/__init__.py +2 -1
  57. pulumi_spotinst/organization/_inputs.py +151 -57
  58. pulumi_spotinst/organization/outputs.py +51 -46
  59. pulumi_spotinst/organization/policy.py +76 -70
  60. pulumi_spotinst/organization/programmatic_user.py +83 -77
  61. pulumi_spotinst/organization/user.py +126 -120
  62. pulumi_spotinst/organization/user_group.py +75 -69
  63. pulumi_spotinst/outputs.py +3005 -832
  64. pulumi_spotinst/provider.py +66 -40
  65. pulumi_spotinst/pulumi-plugin.json +1 -1
  66. pulumi_spotinst/spark/__init__.py +2 -1
  67. pulumi_spotinst/spark/_inputs.py +290 -81
  68. pulumi_spotinst/spark/ocean.py +169 -115
  69. pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
  70. pulumi_spotinst/spark/outputs.py +136 -66
  71. pulumi_spotinst/stateful_node_azure.py +820 -784
  72. pulumi_spotinst/subscription.py +93 -87
  73. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
  74. pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
  75. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
  76. pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
  77. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins as _builtins
5
6
  import sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from .. import _utilities
11
16
 
12
17
  account: Optional[str]
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from .. import _utilities
11
16
 
12
17
  import types
@@ -15,28 +20,28 @@ __config__ = pulumi.Config('spotinst')
15
20
 
16
21
 
17
22
  class _ExportableConfig(types.ModuleType):
18
- @property
23
+ @_builtins.property
19
24
  def account(self) -> Optional[str]:
20
25
  """
21
26
  Spotinst Account ID
22
27
  """
23
28
  return __config__.get('account')
24
29
 
25
- @property
30
+ @_builtins.property
26
31
  def enabled(self) -> Optional[bool]:
27
32
  """
28
33
  Enable or disable the Spotinst provider
29
34
  """
30
35
  return __config__.get_bool('enabled')
31
36
 
32
- @property
37
+ @_builtins.property
33
38
  def feature_flags(self) -> Optional[str]:
34
39
  """
35
40
  Spotinst SDK Feature Flags
36
41
  """
37
42
  return __config__.get('featureFlags')
38
43
 
39
- @property
44
+ @_builtins.property
40
45
  def token(self) -> Optional[str]:
41
46
  """
42
47
  Spotinst Personal API Access Token
@@ -0,0 +1,423 @@
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 builtins as _builtins
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__ = ['CredentialsAzureArgs', 'CredentialsAzure']
18
+
19
+ @pulumi.input_type
20
+ class CredentialsAzureArgs:
21
+ def __init__(__self__, *,
22
+ account_id: pulumi.Input[_builtins.str],
23
+ client_id: pulumi.Input[_builtins.str],
24
+ client_secret: pulumi.Input[_builtins.str],
25
+ subscription_id: pulumi.Input[_builtins.str],
26
+ tenant_id: pulumi.Input[_builtins.str],
27
+ expiration_date: Optional[pulumi.Input[_builtins.str]] = None):
28
+ """
29
+ The set of arguments for constructing a CredentialsAzure resource.
30
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
31
+ :param pulumi.Input[_builtins.str] client_id: Set the application ID.
32
+ :param pulumi.Input[_builtins.str] client_secret: Set the key secret.
33
+ :param pulumi.Input[_builtins.str] subscription_id: Set the subscription ID.
34
+ :param pulumi.Input[_builtins.str] tenant_id: Set the directory ID.
35
+ :param pulumi.Input[_builtins.str] expiration_date: Set the key secret expiration date.
36
+ """
37
+ pulumi.set(__self__, "account_id", account_id)
38
+ pulumi.set(__self__, "client_id", client_id)
39
+ pulumi.set(__self__, "client_secret", client_secret)
40
+ pulumi.set(__self__, "subscription_id", subscription_id)
41
+ pulumi.set(__self__, "tenant_id", tenant_id)
42
+ if expiration_date is not None:
43
+ pulumi.set(__self__, "expiration_date", expiration_date)
44
+
45
+ @_builtins.property
46
+ @pulumi.getter(name="accountId")
47
+ def account_id(self) -> pulumi.Input[_builtins.str]:
48
+ """
49
+ The ID of the account associated with your token.
50
+ """
51
+ return pulumi.get(self, "account_id")
52
+
53
+ @account_id.setter
54
+ def account_id(self, value: pulumi.Input[_builtins.str]):
55
+ pulumi.set(self, "account_id", value)
56
+
57
+ @_builtins.property
58
+ @pulumi.getter(name="clientId")
59
+ def client_id(self) -> pulumi.Input[_builtins.str]:
60
+ """
61
+ Set the application ID.
62
+ """
63
+ return pulumi.get(self, "client_id")
64
+
65
+ @client_id.setter
66
+ def client_id(self, value: pulumi.Input[_builtins.str]):
67
+ pulumi.set(self, "client_id", value)
68
+
69
+ @_builtins.property
70
+ @pulumi.getter(name="clientSecret")
71
+ def client_secret(self) -> pulumi.Input[_builtins.str]:
72
+ """
73
+ Set the key secret.
74
+ """
75
+ return pulumi.get(self, "client_secret")
76
+
77
+ @client_secret.setter
78
+ def client_secret(self, value: pulumi.Input[_builtins.str]):
79
+ pulumi.set(self, "client_secret", value)
80
+
81
+ @_builtins.property
82
+ @pulumi.getter(name="subscriptionId")
83
+ def subscription_id(self) -> pulumi.Input[_builtins.str]:
84
+ """
85
+ Set the subscription ID.
86
+ """
87
+ return pulumi.get(self, "subscription_id")
88
+
89
+ @subscription_id.setter
90
+ def subscription_id(self, value: pulumi.Input[_builtins.str]):
91
+ pulumi.set(self, "subscription_id", value)
92
+
93
+ @_builtins.property
94
+ @pulumi.getter(name="tenantId")
95
+ def tenant_id(self) -> pulumi.Input[_builtins.str]:
96
+ """
97
+ Set the directory ID.
98
+ """
99
+ return pulumi.get(self, "tenant_id")
100
+
101
+ @tenant_id.setter
102
+ def tenant_id(self, value: pulumi.Input[_builtins.str]):
103
+ pulumi.set(self, "tenant_id", value)
104
+
105
+ @_builtins.property
106
+ @pulumi.getter(name="expirationDate")
107
+ def expiration_date(self) -> Optional[pulumi.Input[_builtins.str]]:
108
+ """
109
+ Set the key secret expiration date.
110
+ """
111
+ return pulumi.get(self, "expiration_date")
112
+
113
+ @expiration_date.setter
114
+ def expiration_date(self, value: Optional[pulumi.Input[_builtins.str]]):
115
+ pulumi.set(self, "expiration_date", value)
116
+
117
+
118
+ @pulumi.input_type
119
+ class _CredentialsAzureState:
120
+ def __init__(__self__, *,
121
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
122
+ client_id: Optional[pulumi.Input[_builtins.str]] = None,
123
+ client_secret: Optional[pulumi.Input[_builtins.str]] = None,
124
+ expiration_date: Optional[pulumi.Input[_builtins.str]] = None,
125
+ subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
126
+ tenant_id: Optional[pulumi.Input[_builtins.str]] = None):
127
+ """
128
+ Input properties used for looking up and filtering CredentialsAzure resources.
129
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
130
+ :param pulumi.Input[_builtins.str] client_id: Set the application ID.
131
+ :param pulumi.Input[_builtins.str] client_secret: Set the key secret.
132
+ :param pulumi.Input[_builtins.str] expiration_date: Set the key secret expiration date.
133
+ :param pulumi.Input[_builtins.str] subscription_id: Set the subscription ID.
134
+ :param pulumi.Input[_builtins.str] tenant_id: Set the directory ID.
135
+ """
136
+ if account_id is not None:
137
+ pulumi.set(__self__, "account_id", account_id)
138
+ if client_id is not None:
139
+ pulumi.set(__self__, "client_id", client_id)
140
+ if client_secret is not None:
141
+ pulumi.set(__self__, "client_secret", client_secret)
142
+ if expiration_date is not None:
143
+ pulumi.set(__self__, "expiration_date", expiration_date)
144
+ if subscription_id is not None:
145
+ pulumi.set(__self__, "subscription_id", subscription_id)
146
+ if tenant_id is not None:
147
+ pulumi.set(__self__, "tenant_id", tenant_id)
148
+
149
+ @_builtins.property
150
+ @pulumi.getter(name="accountId")
151
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
152
+ """
153
+ The ID of the account associated with your token.
154
+ """
155
+ return pulumi.get(self, "account_id")
156
+
157
+ @account_id.setter
158
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
159
+ pulumi.set(self, "account_id", value)
160
+
161
+ @_builtins.property
162
+ @pulumi.getter(name="clientId")
163
+ def client_id(self) -> Optional[pulumi.Input[_builtins.str]]:
164
+ """
165
+ Set the application ID.
166
+ """
167
+ return pulumi.get(self, "client_id")
168
+
169
+ @client_id.setter
170
+ def client_id(self, value: Optional[pulumi.Input[_builtins.str]]):
171
+ pulumi.set(self, "client_id", value)
172
+
173
+ @_builtins.property
174
+ @pulumi.getter(name="clientSecret")
175
+ def client_secret(self) -> Optional[pulumi.Input[_builtins.str]]:
176
+ """
177
+ Set the key secret.
178
+ """
179
+ return pulumi.get(self, "client_secret")
180
+
181
+ @client_secret.setter
182
+ def client_secret(self, value: Optional[pulumi.Input[_builtins.str]]):
183
+ pulumi.set(self, "client_secret", value)
184
+
185
+ @_builtins.property
186
+ @pulumi.getter(name="expirationDate")
187
+ def expiration_date(self) -> Optional[pulumi.Input[_builtins.str]]:
188
+ """
189
+ Set the key secret expiration date.
190
+ """
191
+ return pulumi.get(self, "expiration_date")
192
+
193
+ @expiration_date.setter
194
+ def expiration_date(self, value: Optional[pulumi.Input[_builtins.str]]):
195
+ pulumi.set(self, "expiration_date", value)
196
+
197
+ @_builtins.property
198
+ @pulumi.getter(name="subscriptionId")
199
+ def subscription_id(self) -> Optional[pulumi.Input[_builtins.str]]:
200
+ """
201
+ Set the subscription ID.
202
+ """
203
+ return pulumi.get(self, "subscription_id")
204
+
205
+ @subscription_id.setter
206
+ def subscription_id(self, value: Optional[pulumi.Input[_builtins.str]]):
207
+ pulumi.set(self, "subscription_id", value)
208
+
209
+ @_builtins.property
210
+ @pulumi.getter(name="tenantId")
211
+ def tenant_id(self) -> Optional[pulumi.Input[_builtins.str]]:
212
+ """
213
+ Set the directory ID.
214
+ """
215
+ return pulumi.get(self, "tenant_id")
216
+
217
+ @tenant_id.setter
218
+ def tenant_id(self, value: Optional[pulumi.Input[_builtins.str]]):
219
+ pulumi.set(self, "tenant_id", value)
220
+
221
+
222
+ @pulumi.type_token("spotinst:index/credentialsAzure:CredentialsAzure")
223
+ class CredentialsAzure(pulumi.CustomResource):
224
+ @overload
225
+ def __init__(__self__,
226
+ resource_name: str,
227
+ opts: Optional[pulumi.ResourceOptions] = None,
228
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
229
+ client_id: Optional[pulumi.Input[_builtins.str]] = None,
230
+ client_secret: Optional[pulumi.Input[_builtins.str]] = None,
231
+ expiration_date: Optional[pulumi.Input[_builtins.str]] = None,
232
+ subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
233
+ tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
234
+ __props__=None):
235
+ """
236
+ Provides a Spotinst credential Azure resource.
237
+
238
+ ## Example Usage
239
+
240
+ ```python
241
+ import pulumi
242
+ import pulumi_spotinst as spotinst
243
+
244
+ # set credential Azure
245
+ credential = spotinst.CredentialsAzure("credential",
246
+ account_id="act-123456",
247
+ client_id="redacted",
248
+ client_secret="redacted",
249
+ tenant_id="redacted",
250
+ subscription_id="redacted",
251
+ expiration_date="2025-12-31T23:59:00.000Z")
252
+ ```
253
+
254
+ :param str resource_name: The name of the resource.
255
+ :param pulumi.ResourceOptions opts: Options for the resource.
256
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
257
+ :param pulumi.Input[_builtins.str] client_id: Set the application ID.
258
+ :param pulumi.Input[_builtins.str] client_secret: Set the key secret.
259
+ :param pulumi.Input[_builtins.str] expiration_date: Set the key secret expiration date.
260
+ :param pulumi.Input[_builtins.str] subscription_id: Set the subscription ID.
261
+ :param pulumi.Input[_builtins.str] tenant_id: Set the directory ID.
262
+ """
263
+ ...
264
+ @overload
265
+ def __init__(__self__,
266
+ resource_name: str,
267
+ args: CredentialsAzureArgs,
268
+ opts: Optional[pulumi.ResourceOptions] = None):
269
+ """
270
+ Provides a Spotinst credential Azure resource.
271
+
272
+ ## Example Usage
273
+
274
+ ```python
275
+ import pulumi
276
+ import pulumi_spotinst as spotinst
277
+
278
+ # set credential Azure
279
+ credential = spotinst.CredentialsAzure("credential",
280
+ account_id="act-123456",
281
+ client_id="redacted",
282
+ client_secret="redacted",
283
+ tenant_id="redacted",
284
+ subscription_id="redacted",
285
+ expiration_date="2025-12-31T23:59:00.000Z")
286
+ ```
287
+
288
+ :param str resource_name: The name of the resource.
289
+ :param CredentialsAzureArgs args: The arguments to use to populate this resource's properties.
290
+ :param pulumi.ResourceOptions opts: Options for the resource.
291
+ """
292
+ ...
293
+ def __init__(__self__, resource_name: str, *args, **kwargs):
294
+ resource_args, opts = _utilities.get_resource_args_opts(CredentialsAzureArgs, pulumi.ResourceOptions, *args, **kwargs)
295
+ if resource_args is not None:
296
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
297
+ else:
298
+ __self__._internal_init(resource_name, *args, **kwargs)
299
+
300
+ def _internal_init(__self__,
301
+ resource_name: str,
302
+ opts: Optional[pulumi.ResourceOptions] = None,
303
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
304
+ client_id: Optional[pulumi.Input[_builtins.str]] = None,
305
+ client_secret: Optional[pulumi.Input[_builtins.str]] = None,
306
+ expiration_date: Optional[pulumi.Input[_builtins.str]] = None,
307
+ subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
308
+ tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
309
+ __props__=None):
310
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
311
+ if not isinstance(opts, pulumi.ResourceOptions):
312
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
313
+ if opts.id is None:
314
+ if __props__ is not None:
315
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
316
+ __props__ = CredentialsAzureArgs.__new__(CredentialsAzureArgs)
317
+
318
+ if account_id is None and not opts.urn:
319
+ raise TypeError("Missing required property 'account_id'")
320
+ __props__.__dict__["account_id"] = account_id
321
+ if client_id is None and not opts.urn:
322
+ raise TypeError("Missing required property 'client_id'")
323
+ __props__.__dict__["client_id"] = client_id
324
+ if client_secret is None and not opts.urn:
325
+ raise TypeError("Missing required property 'client_secret'")
326
+ __props__.__dict__["client_secret"] = client_secret
327
+ __props__.__dict__["expiration_date"] = expiration_date
328
+ if subscription_id is None and not opts.urn:
329
+ raise TypeError("Missing required property 'subscription_id'")
330
+ __props__.__dict__["subscription_id"] = subscription_id
331
+ if tenant_id is None and not opts.urn:
332
+ raise TypeError("Missing required property 'tenant_id'")
333
+ __props__.__dict__["tenant_id"] = tenant_id
334
+ super(CredentialsAzure, __self__).__init__(
335
+ 'spotinst:index/credentialsAzure:CredentialsAzure',
336
+ resource_name,
337
+ __props__,
338
+ opts)
339
+
340
+ @staticmethod
341
+ def get(resource_name: str,
342
+ id: pulumi.Input[str],
343
+ opts: Optional[pulumi.ResourceOptions] = None,
344
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
345
+ client_id: Optional[pulumi.Input[_builtins.str]] = None,
346
+ client_secret: Optional[pulumi.Input[_builtins.str]] = None,
347
+ expiration_date: Optional[pulumi.Input[_builtins.str]] = None,
348
+ subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
349
+ tenant_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'CredentialsAzure':
350
+ """
351
+ Get an existing CredentialsAzure resource's state with the given name, id, and optional extra
352
+ properties used to qualify the lookup.
353
+
354
+ :param str resource_name: The unique name of the resulting resource.
355
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
356
+ :param pulumi.ResourceOptions opts: Options for the resource.
357
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
358
+ :param pulumi.Input[_builtins.str] client_id: Set the application ID.
359
+ :param pulumi.Input[_builtins.str] client_secret: Set the key secret.
360
+ :param pulumi.Input[_builtins.str] expiration_date: Set the key secret expiration date.
361
+ :param pulumi.Input[_builtins.str] subscription_id: Set the subscription ID.
362
+ :param pulumi.Input[_builtins.str] tenant_id: Set the directory ID.
363
+ """
364
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
365
+
366
+ __props__ = _CredentialsAzureState.__new__(_CredentialsAzureState)
367
+
368
+ __props__.__dict__["account_id"] = account_id
369
+ __props__.__dict__["client_id"] = client_id
370
+ __props__.__dict__["client_secret"] = client_secret
371
+ __props__.__dict__["expiration_date"] = expiration_date
372
+ __props__.__dict__["subscription_id"] = subscription_id
373
+ __props__.__dict__["tenant_id"] = tenant_id
374
+ return CredentialsAzure(resource_name, opts=opts, __props__=__props__)
375
+
376
+ @_builtins.property
377
+ @pulumi.getter(name="accountId")
378
+ def account_id(self) -> pulumi.Output[_builtins.str]:
379
+ """
380
+ The ID of the account associated with your token.
381
+ """
382
+ return pulumi.get(self, "account_id")
383
+
384
+ @_builtins.property
385
+ @pulumi.getter(name="clientId")
386
+ def client_id(self) -> pulumi.Output[_builtins.str]:
387
+ """
388
+ Set the application ID.
389
+ """
390
+ return pulumi.get(self, "client_id")
391
+
392
+ @_builtins.property
393
+ @pulumi.getter(name="clientSecret")
394
+ def client_secret(self) -> pulumi.Output[_builtins.str]:
395
+ """
396
+ Set the key secret.
397
+ """
398
+ return pulumi.get(self, "client_secret")
399
+
400
+ @_builtins.property
401
+ @pulumi.getter(name="expirationDate")
402
+ def expiration_date(self) -> pulumi.Output[Optional[_builtins.str]]:
403
+ """
404
+ Set the key secret expiration date.
405
+ """
406
+ return pulumi.get(self, "expiration_date")
407
+
408
+ @_builtins.property
409
+ @pulumi.getter(name="subscriptionId")
410
+ def subscription_id(self) -> pulumi.Output[_builtins.str]:
411
+ """
412
+ Set the subscription ID.
413
+ """
414
+ return pulumi.get(self, "subscription_id")
415
+
416
+ @_builtins.property
417
+ @pulumi.getter(name="tenantId")
418
+ def tenant_id(self) -> pulumi.Output[_builtins.str]:
419
+ """
420
+ Set the directory ID.
421
+ """
422
+ return pulumi.get(self, "tenant_id")
423
+