pulumi-signalfx 7.2.0a1710160099__py3-none-any.whl → 7.6.0a1736849687__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.
- pulumi_signalfx/__init__.py +9 -0
- pulumi_signalfx/_inputs.py +1976 -339
- pulumi_signalfx/_utilities.py +41 -5
- pulumi_signalfx/alert_muting_rule.py +126 -72
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -43
- pulumi_signalfx/aws/integration.py +252 -321
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +76 -31
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +170 -217
- pulumi_signalfx/azure/outputs.py +15 -4
- pulumi_signalfx/config/__init__.pyi +22 -0
- pulumi_signalfx/config/vars.py +28 -0
- pulumi_signalfx/dashboard.py +171 -186
- pulumi_signalfx/dashboard_group.py +191 -140
- pulumi_signalfx/data_link.py +102 -109
- pulumi_signalfx/detector.py +318 -383
- pulumi_signalfx/event_feed_chart.py +51 -86
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -148
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -8
- pulumi_signalfx/heatmap_chart.py +191 -174
- pulumi_signalfx/jira/integration.py +86 -103
- pulumi_signalfx/list_chart.py +243 -255
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +76 -87
- pulumi_signalfx/log/view.py +146 -113
- pulumi_signalfx/metric_ruleset.py +213 -70
- pulumi_signalfx/opsgenie/integration.py +51 -50
- pulumi_signalfx/org_token.py +111 -104
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -25
- pulumi_signalfx/pagerduty/integration.py +42 -39
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +68 -95
- pulumi_signalfx/single_value_chart.py +131 -162
- pulumi_signalfx/slack/integration.py +42 -41
- pulumi_signalfx/slo.py +97 -243
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +66 -65
- pulumi_signalfx/team.py +100 -107
- pulumi_signalfx/text_chart.py +72 -45
- pulumi_signalfx/time_chart.py +287 -352
- pulumi_signalfx/victorops/integration.py +42 -41
- pulumi_signalfx/webhook_integration.py +168 -61
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736849687.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1710160099.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
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
|
__all__ = [
|
|
@@ -35,6 +40,9 @@ class GetIntegrationResult:
|
|
|
35
40
|
@property
|
|
36
41
|
@pulumi.getter
|
|
37
42
|
def enabled(self) -> bool:
|
|
43
|
+
"""
|
|
44
|
+
Whether the integration is enabled.
|
|
45
|
+
"""
|
|
38
46
|
return pulumi.get(self, "enabled")
|
|
39
47
|
|
|
40
48
|
@property
|
|
@@ -48,6 +56,9 @@ class GetIntegrationResult:
|
|
|
48
56
|
@property
|
|
49
57
|
@pulumi.getter
|
|
50
58
|
def name(self) -> str:
|
|
59
|
+
"""
|
|
60
|
+
The name of the integration.
|
|
61
|
+
"""
|
|
51
62
|
return pulumi.get(self, "name")
|
|
52
63
|
|
|
53
64
|
|
|
@@ -69,24 +80,15 @@ def get_integration(name: Optional[str] = None,
|
|
|
69
80
|
|
|
70
81
|
## Example
|
|
71
82
|
|
|
72
|
-
<!--Start PulumiCodeChooser -->
|
|
73
83
|
```python
|
|
74
84
|
import pulumi
|
|
75
85
|
import pulumi_signalfx as signalfx
|
|
76
86
|
|
|
77
87
|
pd_integration = signalfx.pagerduty.get_integration(name="PD-Integration")
|
|
78
88
|
```
|
|
79
|
-
<!--End PulumiCodeChooser -->
|
|
80
|
-
|
|
81
|
-
## Arguments
|
|
82
|
-
|
|
83
|
-
* `name` - Specify the exact name of the desired PagerDuty integration
|
|
84
89
|
|
|
85
|
-
## Attributes
|
|
86
90
|
|
|
87
|
-
|
|
88
|
-
* `name` - The name of the integration.
|
|
89
|
-
* `enabled` - Whether the integration is enabled.
|
|
91
|
+
:param str name: Specify the exact name of the desired PagerDuty integration
|
|
90
92
|
"""
|
|
91
93
|
__args__ = dict()
|
|
92
94
|
__args__['name'] = name
|
|
@@ -97,33 +99,28 @@ def get_integration(name: Optional[str] = None,
|
|
|
97
99
|
enabled=pulumi.get(__ret__, 'enabled'),
|
|
98
100
|
id=pulumi.get(__ret__, 'id'),
|
|
99
101
|
name=pulumi.get(__ret__, 'name'))
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
@_utilities.lift_output_func(get_integration)
|
|
103
102
|
def get_integration_output(name: Optional[pulumi.Input[str]] = None,
|
|
104
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationResult]:
|
|
103
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIntegrationResult]:
|
|
105
104
|
"""
|
|
106
105
|
Use this data source to get information on an existing PagerDuty integration.
|
|
107
106
|
|
|
108
107
|
## Example
|
|
109
108
|
|
|
110
|
-
<!--Start PulumiCodeChooser -->
|
|
111
109
|
```python
|
|
112
110
|
import pulumi
|
|
113
111
|
import pulumi_signalfx as signalfx
|
|
114
112
|
|
|
115
113
|
pd_integration = signalfx.pagerduty.get_integration(name="PD-Integration")
|
|
116
114
|
```
|
|
117
|
-
<!--End PulumiCodeChooser -->
|
|
118
|
-
|
|
119
|
-
## Arguments
|
|
120
115
|
|
|
121
|
-
* `name` - Specify the exact name of the desired PagerDuty integration
|
|
122
116
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
* `id` - The ID of the integration.
|
|
126
|
-
* `name` - The name of the integration.
|
|
127
|
-
* `enabled` - Whether the integration is enabled.
|
|
117
|
+
:param str name: Specify the exact name of the desired PagerDuty integration
|
|
128
118
|
"""
|
|
129
|
-
|
|
119
|
+
__args__ = dict()
|
|
120
|
+
__args__['name'] = name
|
|
121
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke_output('signalfx:pagerduty/getIntegration:getIntegration', __args__, opts=opts, typ=GetIntegrationResult)
|
|
123
|
+
return __ret__.apply(lambda __response__: GetIntegrationResult(
|
|
124
|
+
enabled=pulumi.get(__response__, 'enabled'),
|
|
125
|
+
id=pulumi.get(__response__, 'id'),
|
|
126
|
+
name=pulumi.get(__response__, 'name')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
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
|
__all__ = ['IntegrationArgs', 'Integration']
|
|
@@ -19,9 +24,9 @@ class IntegrationArgs:
|
|
|
19
24
|
name: Optional[pulumi.Input[str]] = None):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a Integration resource.
|
|
22
|
-
:param pulumi.Input[bool] enabled: Whether the integration is enabled
|
|
23
|
-
:param pulumi.Input[str] api_key: PagerDuty API key
|
|
24
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
27
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
28
|
+
:param pulumi.Input[str] api_key: PagerDuty API key.
|
|
29
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "enabled", enabled)
|
|
27
32
|
if api_key is not None:
|
|
@@ -33,7 +38,7 @@ class IntegrationArgs:
|
|
|
33
38
|
@pulumi.getter
|
|
34
39
|
def enabled(self) -> pulumi.Input[bool]:
|
|
35
40
|
"""
|
|
36
|
-
Whether the integration is enabled
|
|
41
|
+
Whether the integration is enabled.
|
|
37
42
|
"""
|
|
38
43
|
return pulumi.get(self, "enabled")
|
|
39
44
|
|
|
@@ -45,7 +50,7 @@ class IntegrationArgs:
|
|
|
45
50
|
@pulumi.getter(name="apiKey")
|
|
46
51
|
def api_key(self) -> Optional[pulumi.Input[str]]:
|
|
47
52
|
"""
|
|
48
|
-
PagerDuty API key
|
|
53
|
+
PagerDuty API key.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "api_key")
|
|
51
56
|
|
|
@@ -57,7 +62,7 @@ class IntegrationArgs:
|
|
|
57
62
|
@pulumi.getter
|
|
58
63
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
59
64
|
"""
|
|
60
|
-
Name of the integration
|
|
65
|
+
Name of the integration.
|
|
61
66
|
"""
|
|
62
67
|
return pulumi.get(self, "name")
|
|
63
68
|
|
|
@@ -74,9 +79,9 @@ class _IntegrationState:
|
|
|
74
79
|
name: Optional[pulumi.Input[str]] = None):
|
|
75
80
|
"""
|
|
76
81
|
Input properties used for looking up and filtering Integration resources.
|
|
77
|
-
:param pulumi.Input[str] api_key: PagerDuty API key
|
|
78
|
-
:param pulumi.Input[bool] enabled: Whether the integration is enabled
|
|
79
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
82
|
+
:param pulumi.Input[str] api_key: PagerDuty API key.
|
|
83
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
84
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
80
85
|
"""
|
|
81
86
|
if api_key is not None:
|
|
82
87
|
pulumi.set(__self__, "api_key", api_key)
|
|
@@ -89,7 +94,7 @@ class _IntegrationState:
|
|
|
89
94
|
@pulumi.getter(name="apiKey")
|
|
90
95
|
def api_key(self) -> Optional[pulumi.Input[str]]:
|
|
91
96
|
"""
|
|
92
|
-
PagerDuty API key
|
|
97
|
+
PagerDuty API key.
|
|
93
98
|
"""
|
|
94
99
|
return pulumi.get(self, "api_key")
|
|
95
100
|
|
|
@@ -101,7 +106,7 @@ class _IntegrationState:
|
|
|
101
106
|
@pulumi.getter
|
|
102
107
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
103
108
|
"""
|
|
104
|
-
Whether the integration is enabled
|
|
109
|
+
Whether the integration is enabled.
|
|
105
110
|
"""
|
|
106
111
|
return pulumi.get(self, "enabled")
|
|
107
112
|
|
|
@@ -113,7 +118,7 @@ class _IntegrationState:
|
|
|
113
118
|
@pulumi.getter
|
|
114
119
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
115
120
|
"""
|
|
116
|
-
Name of the integration
|
|
121
|
+
Name of the integration.
|
|
117
122
|
"""
|
|
118
123
|
return pulumi.get(self, "name")
|
|
119
124
|
|
|
@@ -137,23 +142,22 @@ class Integration(pulumi.CustomResource):
|
|
|
137
142
|
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
138
143
|
|
|
139
144
|
## Example
|
|
140
|
-
## Arguments
|
|
141
145
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
```python
|
|
147
|
+
import pulumi
|
|
148
|
+
import pulumi_signalfx as signalfx
|
|
145
149
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
150
|
+
pagerduty_myteam = signalfx.pagerduty.Integration("pagerduty_myteam",
|
|
151
|
+
name="PD - My Team",
|
|
152
|
+
enabled=True,
|
|
153
|
+
api_key="1234567890")
|
|
154
|
+
```
|
|
151
155
|
|
|
152
156
|
:param str resource_name: The name of the resource.
|
|
153
157
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
|
-
:param pulumi.Input[str] api_key: PagerDuty API key
|
|
155
|
-
:param pulumi.Input[bool] enabled: Whether the integration is enabled
|
|
156
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
158
|
+
:param pulumi.Input[str] api_key: PagerDuty API key.
|
|
159
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
160
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
157
161
|
"""
|
|
158
162
|
...
|
|
159
163
|
@overload
|
|
@@ -167,17 +171,16 @@ class Integration(pulumi.CustomResource):
|
|
|
167
171
|
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
168
172
|
|
|
169
173
|
## Example
|
|
170
|
-
## Arguments
|
|
171
|
-
|
|
172
|
-
* `name` - (Required) Name of the integration.
|
|
173
|
-
* `enabled` - (Required) Whether the integration is enabled.
|
|
174
|
-
* `api_key` - (Required) PagerDuty API key.
|
|
175
|
-
|
|
176
|
-
## Attributes
|
|
177
174
|
|
|
178
|
-
|
|
175
|
+
```python
|
|
176
|
+
import pulumi
|
|
177
|
+
import pulumi_signalfx as signalfx
|
|
179
178
|
|
|
180
|
-
|
|
179
|
+
pagerduty_myteam = signalfx.pagerduty.Integration("pagerduty_myteam",
|
|
180
|
+
name="PD - My Team",
|
|
181
|
+
enabled=True,
|
|
182
|
+
api_key="1234567890")
|
|
183
|
+
```
|
|
181
184
|
|
|
182
185
|
:param str resource_name: The name of the resource.
|
|
183
186
|
:param IntegrationArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -233,9 +236,9 @@ class Integration(pulumi.CustomResource):
|
|
|
233
236
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
237
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[str] api_key: PagerDuty API key
|
|
237
|
-
:param pulumi.Input[bool] enabled: Whether the integration is enabled
|
|
238
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
239
|
+
:param pulumi.Input[str] api_key: PagerDuty API key.
|
|
240
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
241
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
239
242
|
"""
|
|
240
243
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
241
244
|
|
|
@@ -250,7 +253,7 @@ class Integration(pulumi.CustomResource):
|
|
|
250
253
|
@pulumi.getter(name="apiKey")
|
|
251
254
|
def api_key(self) -> pulumi.Output[Optional[str]]:
|
|
252
255
|
"""
|
|
253
|
-
PagerDuty API key
|
|
256
|
+
PagerDuty API key.
|
|
254
257
|
"""
|
|
255
258
|
return pulumi.get(self, "api_key")
|
|
256
259
|
|
|
@@ -258,7 +261,7 @@ class Integration(pulumi.CustomResource):
|
|
|
258
261
|
@pulumi.getter
|
|
259
262
|
def enabled(self) -> pulumi.Output[bool]:
|
|
260
263
|
"""
|
|
261
|
-
Whether the integration is enabled
|
|
264
|
+
Whether the integration is enabled.
|
|
262
265
|
"""
|
|
263
266
|
return pulumi.get(self, "enabled")
|
|
264
267
|
|
|
@@ -266,7 +269,7 @@ class Integration(pulumi.CustomResource):
|
|
|
266
269
|
@pulumi.getter
|
|
267
270
|
def name(self) -> pulumi.Output[str]:
|
|
268
271
|
"""
|
|
269
|
-
Name of the integration
|
|
272
|
+
Name of the integration.
|
|
270
273
|
"""
|
|
271
274
|
return pulumi.get(self, "name")
|
|
272
275
|
|
pulumi_signalfx/provider.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
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
|
__all__ = ['ProviderArgs', 'Provider']
|
|
@@ -17,6 +22,9 @@ class ProviderArgs:
|
|
|
17
22
|
api_url: Optional[pulumi.Input[str]] = None,
|
|
18
23
|
auth_token: Optional[pulumi.Input[str]] = None,
|
|
19
24
|
custom_app_url: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
20
28
|
retry_max_attempts: Optional[pulumi.Input[int]] = None,
|
|
21
29
|
retry_wait_max_seconds: Optional[pulumi.Input[int]] = None,
|
|
22
30
|
retry_wait_min_seconds: Optional[pulumi.Input[int]] = None,
|
|
@@ -26,6 +34,11 @@ class ProviderArgs:
|
|
|
26
34
|
:param pulumi.Input[str] api_url: API URL for your Splunk Observability Cloud org, may include a realm
|
|
27
35
|
:param pulumi.Input[str] auth_token: Splunk Observability Cloud auth token
|
|
28
36
|
:param pulumi.Input[str] custom_app_url: Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
|
|
37
|
+
:param pulumi.Input[str] email: Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
38
|
+
Password
|
|
39
|
+
:param pulumi.Input[str] organization_id: Required if the user is configured to be part of multiple organizations
|
|
40
|
+
:param pulumi.Input[str] password: Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
41
|
+
Password
|
|
29
42
|
:param pulumi.Input[int] retry_max_attempts: Max retries for a single HTTP call. Defaults to 4
|
|
30
43
|
:param pulumi.Input[int] retry_wait_max_seconds: Maximum retry wait for a single HTTP call in seconds. Defaults to 30
|
|
31
44
|
:param pulumi.Input[int] retry_wait_min_seconds: Minimum retry wait for a single HTTP call in seconds. Defaults to 1
|
|
@@ -37,6 +50,12 @@ class ProviderArgs:
|
|
|
37
50
|
pulumi.set(__self__, "auth_token", auth_token)
|
|
38
51
|
if custom_app_url is not None:
|
|
39
52
|
pulumi.set(__self__, "custom_app_url", custom_app_url)
|
|
53
|
+
if email is not None:
|
|
54
|
+
pulumi.set(__self__, "email", email)
|
|
55
|
+
if organization_id is not None:
|
|
56
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
57
|
+
if password is not None:
|
|
58
|
+
pulumi.set(__self__, "password", password)
|
|
40
59
|
if retry_max_attempts is not None:
|
|
41
60
|
pulumi.set(__self__, "retry_max_attempts", retry_max_attempts)
|
|
42
61
|
if retry_wait_max_seconds is not None:
|
|
@@ -82,6 +101,44 @@ class ProviderArgs:
|
|
|
82
101
|
def custom_app_url(self, value: Optional[pulumi.Input[str]]):
|
|
83
102
|
pulumi.set(self, "custom_app_url", value)
|
|
84
103
|
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def email(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
+
"""
|
|
108
|
+
Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
109
|
+
Password
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "email")
|
|
112
|
+
|
|
113
|
+
@email.setter
|
|
114
|
+
def email(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
+
pulumi.set(self, "email", value)
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter(name="organizationId")
|
|
119
|
+
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
120
|
+
"""
|
|
121
|
+
Required if the user is configured to be part of multiple organizations
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "organization_id")
|
|
124
|
+
|
|
125
|
+
@organization_id.setter
|
|
126
|
+
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
127
|
+
pulumi.set(self, "organization_id", value)
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter
|
|
131
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
|
132
|
+
"""
|
|
133
|
+
Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
134
|
+
Password
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "password")
|
|
137
|
+
|
|
138
|
+
@password.setter
|
|
139
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
|
140
|
+
pulumi.set(self, "password", value)
|
|
141
|
+
|
|
85
142
|
@property
|
|
86
143
|
@pulumi.getter(name="retryMaxAttempts")
|
|
87
144
|
def retry_max_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -139,6 +196,9 @@ class Provider(pulumi.ProviderResource):
|
|
|
139
196
|
api_url: Optional[pulumi.Input[str]] = None,
|
|
140
197
|
auth_token: Optional[pulumi.Input[str]] = None,
|
|
141
198
|
custom_app_url: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
201
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
142
202
|
retry_max_attempts: Optional[pulumi.Input[int]] = None,
|
|
143
203
|
retry_wait_max_seconds: Optional[pulumi.Input[int]] = None,
|
|
144
204
|
retry_wait_min_seconds: Optional[pulumi.Input[int]] = None,
|
|
@@ -155,6 +215,11 @@ class Provider(pulumi.ProviderResource):
|
|
|
155
215
|
:param pulumi.Input[str] api_url: API URL for your Splunk Observability Cloud org, may include a realm
|
|
156
216
|
:param pulumi.Input[str] auth_token: Splunk Observability Cloud auth token
|
|
157
217
|
:param pulumi.Input[str] custom_app_url: Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
|
|
218
|
+
:param pulumi.Input[str] email: Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
219
|
+
Password
|
|
220
|
+
:param pulumi.Input[str] organization_id: Required if the user is configured to be part of multiple organizations
|
|
221
|
+
:param pulumi.Input[str] password: Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
222
|
+
Password
|
|
158
223
|
:param pulumi.Input[int] retry_max_attempts: Max retries for a single HTTP call. Defaults to 4
|
|
159
224
|
:param pulumi.Input[int] retry_wait_max_seconds: Maximum retry wait for a single HTTP call in seconds. Defaults to 30
|
|
160
225
|
:param pulumi.Input[int] retry_wait_min_seconds: Minimum retry wait for a single HTTP call in seconds. Defaults to 1
|
|
@@ -190,6 +255,9 @@ class Provider(pulumi.ProviderResource):
|
|
|
190
255
|
api_url: Optional[pulumi.Input[str]] = None,
|
|
191
256
|
auth_token: Optional[pulumi.Input[str]] = None,
|
|
192
257
|
custom_app_url: Optional[pulumi.Input[str]] = None,
|
|
258
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
259
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
260
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
193
261
|
retry_max_attempts: Optional[pulumi.Input[int]] = None,
|
|
194
262
|
retry_wait_max_seconds: Optional[pulumi.Input[int]] = None,
|
|
195
263
|
retry_wait_min_seconds: Optional[pulumi.Input[int]] = None,
|
|
@@ -206,10 +274,15 @@ class Provider(pulumi.ProviderResource):
|
|
|
206
274
|
__props__.__dict__["api_url"] = api_url
|
|
207
275
|
__props__.__dict__["auth_token"] = auth_token
|
|
208
276
|
__props__.__dict__["custom_app_url"] = custom_app_url
|
|
277
|
+
__props__.__dict__["email"] = email
|
|
278
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
279
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
209
280
|
__props__.__dict__["retry_max_attempts"] = pulumi.Output.from_input(retry_max_attempts).apply(pulumi.runtime.to_json) if retry_max_attempts is not None else None
|
|
210
281
|
__props__.__dict__["retry_wait_max_seconds"] = pulumi.Output.from_input(retry_wait_max_seconds).apply(pulumi.runtime.to_json) if retry_wait_max_seconds is not None else None
|
|
211
282
|
__props__.__dict__["retry_wait_min_seconds"] = pulumi.Output.from_input(retry_wait_min_seconds).apply(pulumi.runtime.to_json) if retry_wait_min_seconds is not None else None
|
|
212
283
|
__props__.__dict__["timeout_seconds"] = pulumi.Output.from_input(timeout_seconds).apply(pulumi.runtime.to_json) if timeout_seconds is not None else None
|
|
284
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
285
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
213
286
|
super(Provider, __self__).__init__(
|
|
214
287
|
'signalfx',
|
|
215
288
|
resource_name,
|
|
@@ -240,3 +313,29 @@ class Provider(pulumi.ProviderResource):
|
|
|
240
313
|
"""
|
|
241
314
|
return pulumi.get(self, "custom_app_url")
|
|
242
315
|
|
|
316
|
+
@property
|
|
317
|
+
@pulumi.getter
|
|
318
|
+
def email(self) -> pulumi.Output[Optional[str]]:
|
|
319
|
+
"""
|
|
320
|
+
Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
321
|
+
Password
|
|
322
|
+
"""
|
|
323
|
+
return pulumi.get(self, "email")
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
@pulumi.getter(name="organizationId")
|
|
327
|
+
def organization_id(self) -> pulumi.Output[Optional[str]]:
|
|
328
|
+
"""
|
|
329
|
+
Required if the user is configured to be part of multiple organizations
|
|
330
|
+
"""
|
|
331
|
+
return pulumi.get(self, "organization_id")
|
|
332
|
+
|
|
333
|
+
@property
|
|
334
|
+
@pulumi.getter
|
|
335
|
+
def password(self) -> pulumi.Output[Optional[str]]:
|
|
336
|
+
"""
|
|
337
|
+
Used to create a session token instead of an API token, it requires the account to be configured to login with Email and
|
|
338
|
+
Password
|
|
339
|
+
"""
|
|
340
|
+
return pulumi.get(self, "password")
|
|
341
|
+
|