pulumi-spotinst 3.112.0a1741317810__py3-none-any.whl → 3.128.0__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-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2283 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +4047 -3607
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +970 -924
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +668 -526
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +439 -297
- pulumi_spotinst/aws/outputs.py +2697 -2363
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +288 -216
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1539 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +340 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/METADATA +4 -4
- pulumi_spotinst-3.128.0.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.112.0a1741317810.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
pulumi_spotinst/config/vars.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -20,28 +20,28 @@ __config__ = pulumi.Config('spotinst')
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class _ExportableConfig(types.ModuleType):
|
|
23
|
-
@property
|
|
23
|
+
@_builtins.property
|
|
24
24
|
def account(self) -> Optional[str]:
|
|
25
25
|
"""
|
|
26
26
|
Spotinst Account ID
|
|
27
27
|
"""
|
|
28
28
|
return __config__.get('account')
|
|
29
29
|
|
|
30
|
-
@property
|
|
30
|
+
@_builtins.property
|
|
31
31
|
def enabled(self) -> Optional[bool]:
|
|
32
32
|
"""
|
|
33
33
|
Enable or disable the Spotinst provider
|
|
34
34
|
"""
|
|
35
35
|
return __config__.get_bool('enabled')
|
|
36
36
|
|
|
37
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
38
38
|
def feature_flags(self) -> Optional[str]:
|
|
39
39
|
"""
|
|
40
40
|
Spotinst SDK Feature Flags
|
|
41
41
|
"""
|
|
42
42
|
return __config__.get('featureFlags')
|
|
43
43
|
|
|
44
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
45
45
|
def token(self) -> Optional[str]:
|
|
46
46
|
"""
|
|
47
47
|
Spotinst Personal API Access Token
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,101 +19,119 @@ __all__ = ['CredentialsAzureArgs', 'CredentialsAzure']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class CredentialsAzureArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
account_id: pulumi.Input[str],
|
|
23
|
-
client_id: pulumi.Input[str],
|
|
24
|
-
client_secret: pulumi.Input[str],
|
|
25
|
-
subscription_id: pulumi.Input[str],
|
|
26
|
-
tenant_id: pulumi.Input[str]
|
|
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):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a CredentialsAzure resource.
|
|
29
|
-
:param pulumi.Input[str] account_id: The ID of the account associated with your token.
|
|
30
|
-
:param pulumi.Input[str] client_id: Set the application ID.
|
|
31
|
-
:param pulumi.Input[str] client_secret: Set the key secret.
|
|
32
|
-
:param pulumi.Input[str] subscription_id: Set the subscription ID.
|
|
33
|
-
:param pulumi.Input[str] tenant_id: Set the directory ID.
|
|
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.
|
|
34
36
|
"""
|
|
35
37
|
pulumi.set(__self__, "account_id", account_id)
|
|
36
38
|
pulumi.set(__self__, "client_id", client_id)
|
|
37
39
|
pulumi.set(__self__, "client_secret", client_secret)
|
|
38
40
|
pulumi.set(__self__, "subscription_id", subscription_id)
|
|
39
41
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
42
|
+
if expiration_date is not None:
|
|
43
|
+
pulumi.set(__self__, "expiration_date", expiration_date)
|
|
40
44
|
|
|
41
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
42
46
|
@pulumi.getter(name="accountId")
|
|
43
|
-
def account_id(self) -> pulumi.Input[str]:
|
|
47
|
+
def account_id(self) -> pulumi.Input[_builtins.str]:
|
|
44
48
|
"""
|
|
45
49
|
The ID of the account associated with your token.
|
|
46
50
|
"""
|
|
47
51
|
return pulumi.get(self, "account_id")
|
|
48
52
|
|
|
49
53
|
@account_id.setter
|
|
50
|
-
def account_id(self, value: pulumi.Input[str]):
|
|
54
|
+
def account_id(self, value: pulumi.Input[_builtins.str]):
|
|
51
55
|
pulumi.set(self, "account_id", value)
|
|
52
56
|
|
|
53
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
54
58
|
@pulumi.getter(name="clientId")
|
|
55
|
-
def client_id(self) -> pulumi.Input[str]:
|
|
59
|
+
def client_id(self) -> pulumi.Input[_builtins.str]:
|
|
56
60
|
"""
|
|
57
61
|
Set the application ID.
|
|
58
62
|
"""
|
|
59
63
|
return pulumi.get(self, "client_id")
|
|
60
64
|
|
|
61
65
|
@client_id.setter
|
|
62
|
-
def client_id(self, value: pulumi.Input[str]):
|
|
66
|
+
def client_id(self, value: pulumi.Input[_builtins.str]):
|
|
63
67
|
pulumi.set(self, "client_id", value)
|
|
64
68
|
|
|
65
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
66
70
|
@pulumi.getter(name="clientSecret")
|
|
67
|
-
def client_secret(self) -> pulumi.Input[str]:
|
|
71
|
+
def client_secret(self) -> pulumi.Input[_builtins.str]:
|
|
68
72
|
"""
|
|
69
73
|
Set the key secret.
|
|
70
74
|
"""
|
|
71
75
|
return pulumi.get(self, "client_secret")
|
|
72
76
|
|
|
73
77
|
@client_secret.setter
|
|
74
|
-
def client_secret(self, value: pulumi.Input[str]):
|
|
78
|
+
def client_secret(self, value: pulumi.Input[_builtins.str]):
|
|
75
79
|
pulumi.set(self, "client_secret", value)
|
|
76
80
|
|
|
77
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
78
82
|
@pulumi.getter(name="subscriptionId")
|
|
79
|
-
def subscription_id(self) -> pulumi.Input[str]:
|
|
83
|
+
def subscription_id(self) -> pulumi.Input[_builtins.str]:
|
|
80
84
|
"""
|
|
81
85
|
Set the subscription ID.
|
|
82
86
|
"""
|
|
83
87
|
return pulumi.get(self, "subscription_id")
|
|
84
88
|
|
|
85
89
|
@subscription_id.setter
|
|
86
|
-
def subscription_id(self, value: pulumi.Input[str]):
|
|
90
|
+
def subscription_id(self, value: pulumi.Input[_builtins.str]):
|
|
87
91
|
pulumi.set(self, "subscription_id", value)
|
|
88
92
|
|
|
89
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
90
94
|
@pulumi.getter(name="tenantId")
|
|
91
|
-
def tenant_id(self) -> pulumi.Input[str]:
|
|
95
|
+
def tenant_id(self) -> pulumi.Input[_builtins.str]:
|
|
92
96
|
"""
|
|
93
97
|
Set the directory ID.
|
|
94
98
|
"""
|
|
95
99
|
return pulumi.get(self, "tenant_id")
|
|
96
100
|
|
|
97
101
|
@tenant_id.setter
|
|
98
|
-
def tenant_id(self, value: pulumi.Input[str]):
|
|
102
|
+
def tenant_id(self, value: pulumi.Input[_builtins.str]):
|
|
99
103
|
pulumi.set(self, "tenant_id", value)
|
|
100
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
|
+
|
|
101
117
|
|
|
102
118
|
@pulumi.input_type
|
|
103
119
|
class _CredentialsAzureState:
|
|
104
120
|
def __init__(__self__, *,
|
|
105
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
106
|
-
client_id: Optional[pulumi.Input[str]] = None,
|
|
107
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
108
|
-
|
|
109
|
-
|
|
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):
|
|
110
127
|
"""
|
|
111
128
|
Input properties used for looking up and filtering CredentialsAzure resources.
|
|
112
|
-
:param pulumi.Input[str] account_id: The ID of the account associated with your token.
|
|
113
|
-
:param pulumi.Input[str] client_id: Set the application ID.
|
|
114
|
-
:param pulumi.Input[str] client_secret: Set the key secret.
|
|
115
|
-
:param pulumi.Input[str]
|
|
116
|
-
:param pulumi.Input[str]
|
|
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.
|
|
117
135
|
"""
|
|
118
136
|
if account_id is not None:
|
|
119
137
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -121,82 +139,98 @@ class _CredentialsAzureState:
|
|
|
121
139
|
pulumi.set(__self__, "client_id", client_id)
|
|
122
140
|
if client_secret is not None:
|
|
123
141
|
pulumi.set(__self__, "client_secret", client_secret)
|
|
142
|
+
if expiration_date is not None:
|
|
143
|
+
pulumi.set(__self__, "expiration_date", expiration_date)
|
|
124
144
|
if subscription_id is not None:
|
|
125
145
|
pulumi.set(__self__, "subscription_id", subscription_id)
|
|
126
146
|
if tenant_id is not None:
|
|
127
147
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
128
148
|
|
|
129
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
130
150
|
@pulumi.getter(name="accountId")
|
|
131
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
152
|
"""
|
|
133
153
|
The ID of the account associated with your token.
|
|
134
154
|
"""
|
|
135
155
|
return pulumi.get(self, "account_id")
|
|
136
156
|
|
|
137
157
|
@account_id.setter
|
|
138
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
159
|
pulumi.set(self, "account_id", value)
|
|
140
160
|
|
|
141
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
142
162
|
@pulumi.getter(name="clientId")
|
|
143
|
-
def client_id(self) -> Optional[pulumi.Input[str]]:
|
|
163
|
+
def client_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
164
|
"""
|
|
145
165
|
Set the application ID.
|
|
146
166
|
"""
|
|
147
167
|
return pulumi.get(self, "client_id")
|
|
148
168
|
|
|
149
169
|
@client_id.setter
|
|
150
|
-
def client_id(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
+
def client_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
171
|
pulumi.set(self, "client_id", value)
|
|
152
172
|
|
|
153
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
154
174
|
@pulumi.getter(name="clientSecret")
|
|
155
|
-
def client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
+
def client_secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
156
176
|
"""
|
|
157
177
|
Set the key secret.
|
|
158
178
|
"""
|
|
159
179
|
return pulumi.get(self, "client_secret")
|
|
160
180
|
|
|
161
181
|
@client_secret.setter
|
|
162
|
-
def client_secret(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
+
def client_secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
163
183
|
pulumi.set(self, "client_secret", value)
|
|
164
184
|
|
|
165
|
-
@property
|
|
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
|
|
166
198
|
@pulumi.getter(name="subscriptionId")
|
|
167
|
-
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
|
199
|
+
def subscription_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
168
200
|
"""
|
|
169
201
|
Set the subscription ID.
|
|
170
202
|
"""
|
|
171
203
|
return pulumi.get(self, "subscription_id")
|
|
172
204
|
|
|
173
205
|
@subscription_id.setter
|
|
174
|
-
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
|
206
|
+
def subscription_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
175
207
|
pulumi.set(self, "subscription_id", value)
|
|
176
208
|
|
|
177
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
178
210
|
@pulumi.getter(name="tenantId")
|
|
179
|
-
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
211
|
+
def tenant_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
212
|
"""
|
|
181
213
|
Set the directory ID.
|
|
182
214
|
"""
|
|
183
215
|
return pulumi.get(self, "tenant_id")
|
|
184
216
|
|
|
185
217
|
@tenant_id.setter
|
|
186
|
-
def tenant_id(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
+
def tenant_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
219
|
pulumi.set(self, "tenant_id", value)
|
|
188
220
|
|
|
189
221
|
|
|
222
|
+
@pulumi.type_token("spotinst:index/credentialsAzure:CredentialsAzure")
|
|
190
223
|
class CredentialsAzure(pulumi.CustomResource):
|
|
191
224
|
@overload
|
|
192
225
|
def __init__(__self__,
|
|
193
226
|
resource_name: str,
|
|
194
227
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
195
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
196
|
-
client_id: Optional[pulumi.Input[str]] = None,
|
|
197
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
|
|
199
|
-
|
|
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,
|
|
200
234
|
__props__=None):
|
|
201
235
|
"""
|
|
202
236
|
Provides a Spotinst credential Azure resource.
|
|
@@ -213,16 +247,18 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
213
247
|
client_id="redacted",
|
|
214
248
|
client_secret="redacted",
|
|
215
249
|
tenant_id="redacted",
|
|
216
|
-
subscription_id="redacted"
|
|
250
|
+
subscription_id="redacted",
|
|
251
|
+
expiration_date="2025-12-31T23:59:00.000Z")
|
|
217
252
|
```
|
|
218
253
|
|
|
219
254
|
:param str resource_name: The name of the resource.
|
|
220
255
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
221
|
-
:param pulumi.Input[str] account_id: The ID of the account associated with your token.
|
|
222
|
-
:param pulumi.Input[str] client_id: Set the application ID.
|
|
223
|
-
:param pulumi.Input[str] client_secret: Set the key secret.
|
|
224
|
-
:param pulumi.Input[str]
|
|
225
|
-
:param pulumi.Input[str]
|
|
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.
|
|
226
262
|
"""
|
|
227
263
|
...
|
|
228
264
|
@overload
|
|
@@ -245,7 +281,8 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
245
281
|
client_id="redacted",
|
|
246
282
|
client_secret="redacted",
|
|
247
283
|
tenant_id="redacted",
|
|
248
|
-
subscription_id="redacted"
|
|
284
|
+
subscription_id="redacted",
|
|
285
|
+
expiration_date="2025-12-31T23:59:00.000Z")
|
|
249
286
|
```
|
|
250
287
|
|
|
251
288
|
:param str resource_name: The name of the resource.
|
|
@@ -263,11 +300,12 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
263
300
|
def _internal_init(__self__,
|
|
264
301
|
resource_name: str,
|
|
265
302
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
266
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
267
|
-
client_id: Optional[pulumi.Input[str]] = None,
|
|
268
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
269
|
-
|
|
270
|
-
|
|
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,
|
|
271
309
|
__props__=None):
|
|
272
310
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
273
311
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -286,6 +324,7 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
286
324
|
if client_secret is None and not opts.urn:
|
|
287
325
|
raise TypeError("Missing required property 'client_secret'")
|
|
288
326
|
__props__.__dict__["client_secret"] = client_secret
|
|
327
|
+
__props__.__dict__["expiration_date"] = expiration_date
|
|
289
328
|
if subscription_id is None and not opts.urn:
|
|
290
329
|
raise TypeError("Missing required property 'subscription_id'")
|
|
291
330
|
__props__.__dict__["subscription_id"] = subscription_id
|
|
@@ -302,11 +341,12 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
302
341
|
def get(resource_name: str,
|
|
303
342
|
id: pulumi.Input[str],
|
|
304
343
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
305
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
306
|
-
client_id: Optional[pulumi.Input[str]] = None,
|
|
307
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
|
|
309
|
-
|
|
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':
|
|
310
350
|
"""
|
|
311
351
|
Get an existing CredentialsAzure resource's state with the given name, id, and optional extra
|
|
312
352
|
properties used to qualify the lookup.
|
|
@@ -314,11 +354,12 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
314
354
|
:param str resource_name: The unique name of the resulting resource.
|
|
315
355
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
316
356
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
317
|
-
:param pulumi.Input[str] account_id: The ID of the account associated with your token.
|
|
318
|
-
:param pulumi.Input[str] client_id: Set the application ID.
|
|
319
|
-
:param pulumi.Input[str] client_secret: Set the key secret.
|
|
320
|
-
:param pulumi.Input[str]
|
|
321
|
-
:param pulumi.Input[str]
|
|
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.
|
|
322
363
|
"""
|
|
323
364
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
324
365
|
|
|
@@ -327,45 +368,54 @@ class CredentialsAzure(pulumi.CustomResource):
|
|
|
327
368
|
__props__.__dict__["account_id"] = account_id
|
|
328
369
|
__props__.__dict__["client_id"] = client_id
|
|
329
370
|
__props__.__dict__["client_secret"] = client_secret
|
|
371
|
+
__props__.__dict__["expiration_date"] = expiration_date
|
|
330
372
|
__props__.__dict__["subscription_id"] = subscription_id
|
|
331
373
|
__props__.__dict__["tenant_id"] = tenant_id
|
|
332
374
|
return CredentialsAzure(resource_name, opts=opts, __props__=__props__)
|
|
333
375
|
|
|
334
|
-
@property
|
|
376
|
+
@_builtins.property
|
|
335
377
|
@pulumi.getter(name="accountId")
|
|
336
|
-
def account_id(self) -> pulumi.Output[str]:
|
|
378
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
337
379
|
"""
|
|
338
380
|
The ID of the account associated with your token.
|
|
339
381
|
"""
|
|
340
382
|
return pulumi.get(self, "account_id")
|
|
341
383
|
|
|
342
|
-
@property
|
|
384
|
+
@_builtins.property
|
|
343
385
|
@pulumi.getter(name="clientId")
|
|
344
|
-
def client_id(self) -> pulumi.Output[str]:
|
|
386
|
+
def client_id(self) -> pulumi.Output[_builtins.str]:
|
|
345
387
|
"""
|
|
346
388
|
Set the application ID.
|
|
347
389
|
"""
|
|
348
390
|
return pulumi.get(self, "client_id")
|
|
349
391
|
|
|
350
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
351
393
|
@pulumi.getter(name="clientSecret")
|
|
352
|
-
def client_secret(self) -> pulumi.Output[str]:
|
|
394
|
+
def client_secret(self) -> pulumi.Output[_builtins.str]:
|
|
353
395
|
"""
|
|
354
396
|
Set the key secret.
|
|
355
397
|
"""
|
|
356
398
|
return pulumi.get(self, "client_secret")
|
|
357
399
|
|
|
358
|
-
@property
|
|
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
|
|
359
409
|
@pulumi.getter(name="subscriptionId")
|
|
360
|
-
def subscription_id(self) -> pulumi.Output[str]:
|
|
410
|
+
def subscription_id(self) -> pulumi.Output[_builtins.str]:
|
|
361
411
|
"""
|
|
362
412
|
Set the subscription ID.
|
|
363
413
|
"""
|
|
364
414
|
return pulumi.get(self, "subscription_id")
|
|
365
415
|
|
|
366
|
-
@property
|
|
416
|
+
@_builtins.property
|
|
367
417
|
@pulumi.getter(name="tenantId")
|
|
368
|
-
def tenant_id(self) -> pulumi.Output[str]:
|
|
418
|
+
def tenant_id(self) -> pulumi.Output[_builtins.str]:
|
|
369
419
|
"""
|
|
370
420
|
Set the directory ID.
|
|
371
421
|
"""
|