pulumi-signalfx 7.2.0a1710160099__py3-none-any.whl → 7.6.0a1736835428__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.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736835428.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.0a1736835428.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
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -17,6 +22,7 @@ __all__ = ['IntegrationArgs', 'Integration']
|
|
|
17
22
|
class IntegrationArgs:
|
|
18
23
|
def __init__(__self__, *,
|
|
19
24
|
enabled: pulumi.Input[bool],
|
|
25
|
+
auth_method: Optional[pulumi.Input[str]] = None,
|
|
20
26
|
custom_metric_type_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
21
27
|
import_gcp_metrics: Optional[pulumi.Input[bool]] = None,
|
|
22
28
|
include_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -24,26 +30,29 @@ class IntegrationArgs:
|
|
|
24
30
|
named_token: Optional[pulumi.Input[str]] = None,
|
|
25
31
|
poll_rate: Optional[pulumi.Input[int]] = None,
|
|
26
32
|
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]] = None,
|
|
33
|
+
project_wif_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]] = None,
|
|
27
34
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
28
|
-
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None
|
|
35
|
+
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None,
|
|
36
|
+
wif_splunk_identity: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
29
37
|
"""
|
|
30
38
|
The set of arguments for constructing a Integration resource.
|
|
31
|
-
:param pulumi.Input[bool] enabled: Whether the integration is enabled
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists:
|
|
36
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
37
|
-
:param pulumi.Input[str] named_token:
|
|
38
|
-
:param pulumi.Input[int] poll_rate: GCP poll rate (in seconds).
|
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]] project_service_keys: GCP
|
|
40
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
settings are used.
|
|
39
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
40
|
+
:param pulumi.Input[str] auth_method: Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] custom_metric_type_domains: List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
42
|
+
:param pulumi.Input[bool] import_gcp_metrics: If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists: [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
44
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
45
|
+
:param pulumi.Input[str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
46
|
+
:param pulumi.Input[int] poll_rate: GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
47
|
+
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]] project_service_keys: GCP projects to add.
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]] project_wif_configs: GCP WIF configs
|
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
50
|
+
:param pulumi.Input[bool] use_metric_source_project_for_quota: When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
51
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] wif_splunk_identity: The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
45
52
|
"""
|
|
46
53
|
pulumi.set(__self__, "enabled", enabled)
|
|
54
|
+
if auth_method is not None:
|
|
55
|
+
pulumi.set(__self__, "auth_method", auth_method)
|
|
47
56
|
if custom_metric_type_domains is not None:
|
|
48
57
|
pulumi.set(__self__, "custom_metric_type_domains", custom_metric_type_domains)
|
|
49
58
|
if import_gcp_metrics is not None:
|
|
@@ -58,16 +67,20 @@ class IntegrationArgs:
|
|
|
58
67
|
pulumi.set(__self__, "poll_rate", poll_rate)
|
|
59
68
|
if project_service_keys is not None:
|
|
60
69
|
pulumi.set(__self__, "project_service_keys", project_service_keys)
|
|
70
|
+
if project_wif_configs is not None:
|
|
71
|
+
pulumi.set(__self__, "project_wif_configs", project_wif_configs)
|
|
61
72
|
if services is not None:
|
|
62
73
|
pulumi.set(__self__, "services", services)
|
|
63
74
|
if use_metric_source_project_for_quota is not None:
|
|
64
75
|
pulumi.set(__self__, "use_metric_source_project_for_quota", use_metric_source_project_for_quota)
|
|
76
|
+
if wif_splunk_identity is not None:
|
|
77
|
+
pulumi.set(__self__, "wif_splunk_identity", wif_splunk_identity)
|
|
65
78
|
|
|
66
79
|
@property
|
|
67
80
|
@pulumi.getter
|
|
68
81
|
def enabled(self) -> pulumi.Input[bool]:
|
|
69
82
|
"""
|
|
70
|
-
Whether the integration is enabled
|
|
83
|
+
Whether the integration is enabled.
|
|
71
84
|
"""
|
|
72
85
|
return pulumi.get(self, "enabled")
|
|
73
86
|
|
|
@@ -75,11 +88,23 @@ class IntegrationArgs:
|
|
|
75
88
|
def enabled(self, value: pulumi.Input[bool]):
|
|
76
89
|
pulumi.set(self, "enabled", value)
|
|
77
90
|
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="authMethod")
|
|
93
|
+
def auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
"""
|
|
95
|
+
Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "auth_method")
|
|
98
|
+
|
|
99
|
+
@auth_method.setter
|
|
100
|
+
def auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
pulumi.set(self, "auth_method", value)
|
|
102
|
+
|
|
78
103
|
@property
|
|
79
104
|
@pulumi.getter(name="customMetricTypeDomains")
|
|
80
105
|
def custom_metric_type_domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
81
106
|
"""
|
|
82
|
-
List of additional GCP service domain names that
|
|
107
|
+
List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
83
108
|
"""
|
|
84
109
|
return pulumi.get(self, "custom_metric_type_domains")
|
|
85
110
|
|
|
@@ -91,8 +116,7 @@ class IntegrationArgs:
|
|
|
91
116
|
@pulumi.getter(name="importGcpMetrics")
|
|
92
117
|
def import_gcp_metrics(self) -> Optional[pulumi.Input[bool]]:
|
|
93
118
|
"""
|
|
94
|
-
If enabled, Splunk Observability Cloud will sync also Google Cloud
|
|
95
|
-
will import only metadata. Defaults to true.
|
|
119
|
+
If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
96
120
|
"""
|
|
97
121
|
return pulumi.get(self, "import_gcp_metrics")
|
|
98
122
|
|
|
@@ -104,7 +128,7 @@ class IntegrationArgs:
|
|
|
104
128
|
@pulumi.getter(name="includeLists")
|
|
105
129
|
def include_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
106
130
|
"""
|
|
107
|
-
|
|
131
|
+
[Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
108
132
|
"""
|
|
109
133
|
return pulumi.get(self, "include_lists")
|
|
110
134
|
|
|
@@ -116,7 +140,7 @@ class IntegrationArgs:
|
|
|
116
140
|
@pulumi.getter
|
|
117
141
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
118
142
|
"""
|
|
119
|
-
Name of the integration
|
|
143
|
+
Name of the integration.
|
|
120
144
|
"""
|
|
121
145
|
return pulumi.get(self, "name")
|
|
122
146
|
|
|
@@ -128,7 +152,7 @@ class IntegrationArgs:
|
|
|
128
152
|
@pulumi.getter(name="namedToken")
|
|
129
153
|
def named_token(self) -> Optional[pulumi.Input[str]]:
|
|
130
154
|
"""
|
|
131
|
-
|
|
155
|
+
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
132
156
|
"""
|
|
133
157
|
return pulumi.get(self, "named_token")
|
|
134
158
|
|
|
@@ -140,7 +164,7 @@ class IntegrationArgs:
|
|
|
140
164
|
@pulumi.getter(name="pollRate")
|
|
141
165
|
def poll_rate(self) -> Optional[pulumi.Input[int]]:
|
|
142
166
|
"""
|
|
143
|
-
GCP poll rate (in seconds).
|
|
167
|
+
GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
144
168
|
"""
|
|
145
169
|
return pulumi.get(self, "poll_rate")
|
|
146
170
|
|
|
@@ -152,7 +176,7 @@ class IntegrationArgs:
|
|
|
152
176
|
@pulumi.getter(name="projectServiceKeys")
|
|
153
177
|
def project_service_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]]:
|
|
154
178
|
"""
|
|
155
|
-
GCP
|
|
179
|
+
GCP projects to add.
|
|
156
180
|
"""
|
|
157
181
|
return pulumi.get(self, "project_service_keys")
|
|
158
182
|
|
|
@@ -160,11 +184,23 @@ class IntegrationArgs:
|
|
|
160
184
|
def project_service_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]]):
|
|
161
185
|
pulumi.set(self, "project_service_keys", value)
|
|
162
186
|
|
|
187
|
+
@property
|
|
188
|
+
@pulumi.getter(name="projectWifConfigs")
|
|
189
|
+
def project_wif_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]]:
|
|
190
|
+
"""
|
|
191
|
+
GCP WIF configs
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "project_wif_configs")
|
|
194
|
+
|
|
195
|
+
@project_wif_configs.setter
|
|
196
|
+
def project_wif_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]]):
|
|
197
|
+
pulumi.set(self, "project_wif_configs", value)
|
|
198
|
+
|
|
163
199
|
@property
|
|
164
200
|
@pulumi.getter
|
|
165
201
|
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
166
202
|
"""
|
|
167
|
-
GCP
|
|
203
|
+
GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
168
204
|
"""
|
|
169
205
|
return pulumi.get(self, "services")
|
|
170
206
|
|
|
@@ -176,10 +212,7 @@ class IntegrationArgs:
|
|
|
176
212
|
@pulumi.getter(name="useMetricSourceProjectForQuota")
|
|
177
213
|
def use_metric_source_project_for_quota(self) -> Optional[pulumi.Input[bool]]:
|
|
178
214
|
"""
|
|
179
|
-
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are
|
|
180
|
-
stored. For this to work the service account provided for the project needs to be provided with
|
|
181
|
-
serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota
|
|
182
|
-
settings are used.
|
|
215
|
+
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
183
216
|
"""
|
|
184
217
|
return pulumi.get(self, "use_metric_source_project_for_quota")
|
|
185
218
|
|
|
@@ -187,10 +220,23 @@ class IntegrationArgs:
|
|
|
187
220
|
def use_metric_source_project_for_quota(self, value: Optional[pulumi.Input[bool]]):
|
|
188
221
|
pulumi.set(self, "use_metric_source_project_for_quota", value)
|
|
189
222
|
|
|
223
|
+
@property
|
|
224
|
+
@pulumi.getter(name="wifSplunkIdentity")
|
|
225
|
+
def wif_splunk_identity(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
226
|
+
"""
|
|
227
|
+
The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
228
|
+
"""
|
|
229
|
+
return pulumi.get(self, "wif_splunk_identity")
|
|
230
|
+
|
|
231
|
+
@wif_splunk_identity.setter
|
|
232
|
+
def wif_splunk_identity(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
233
|
+
pulumi.set(self, "wif_splunk_identity", value)
|
|
234
|
+
|
|
190
235
|
|
|
191
236
|
@pulumi.input_type
|
|
192
237
|
class _IntegrationState:
|
|
193
238
|
def __init__(__self__, *,
|
|
239
|
+
auth_method: Optional[pulumi.Input[str]] = None,
|
|
194
240
|
custom_metric_type_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
195
241
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
196
242
|
import_gcp_metrics: Optional[pulumi.Input[bool]] = None,
|
|
@@ -199,25 +245,28 @@ class _IntegrationState:
|
|
|
199
245
|
named_token: Optional[pulumi.Input[str]] = None,
|
|
200
246
|
poll_rate: Optional[pulumi.Input[int]] = None,
|
|
201
247
|
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]] = None,
|
|
248
|
+
project_wif_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]] = None,
|
|
202
249
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
203
|
-
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None
|
|
250
|
+
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None,
|
|
251
|
+
wif_splunk_identity: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
204
252
|
"""
|
|
205
253
|
Input properties used for looking up and filtering Integration resources.
|
|
206
|
-
:param pulumi.Input[
|
|
207
|
-
:param pulumi.Input[
|
|
208
|
-
:param pulumi.Input[bool]
|
|
209
|
-
|
|
210
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists:
|
|
211
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
212
|
-
:param pulumi.Input[str] named_token:
|
|
213
|
-
:param pulumi.Input[int] poll_rate: GCP poll rate (in seconds).
|
|
214
|
-
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]] project_service_keys: GCP
|
|
215
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
216
|
-
:param pulumi.Input[
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
254
|
+
:param pulumi.Input[str] auth_method: Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
255
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] custom_metric_type_domains: List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
256
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
257
|
+
:param pulumi.Input[bool] import_gcp_metrics: If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
258
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists: [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
259
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
260
|
+
:param pulumi.Input[str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
261
|
+
:param pulumi.Input[int] poll_rate: GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
262
|
+
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]] project_service_keys: GCP projects to add.
|
|
263
|
+
:param pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]] project_wif_configs: GCP WIF configs
|
|
264
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
265
|
+
:param pulumi.Input[bool] use_metric_source_project_for_quota: When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
266
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] wif_splunk_identity: The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
267
|
+
"""
|
|
268
|
+
if auth_method is not None:
|
|
269
|
+
pulumi.set(__self__, "auth_method", auth_method)
|
|
221
270
|
if custom_metric_type_domains is not None:
|
|
222
271
|
pulumi.set(__self__, "custom_metric_type_domains", custom_metric_type_domains)
|
|
223
272
|
if enabled is not None:
|
|
@@ -234,16 +283,32 @@ class _IntegrationState:
|
|
|
234
283
|
pulumi.set(__self__, "poll_rate", poll_rate)
|
|
235
284
|
if project_service_keys is not None:
|
|
236
285
|
pulumi.set(__self__, "project_service_keys", project_service_keys)
|
|
286
|
+
if project_wif_configs is not None:
|
|
287
|
+
pulumi.set(__self__, "project_wif_configs", project_wif_configs)
|
|
237
288
|
if services is not None:
|
|
238
289
|
pulumi.set(__self__, "services", services)
|
|
239
290
|
if use_metric_source_project_for_quota is not None:
|
|
240
291
|
pulumi.set(__self__, "use_metric_source_project_for_quota", use_metric_source_project_for_quota)
|
|
292
|
+
if wif_splunk_identity is not None:
|
|
293
|
+
pulumi.set(__self__, "wif_splunk_identity", wif_splunk_identity)
|
|
294
|
+
|
|
295
|
+
@property
|
|
296
|
+
@pulumi.getter(name="authMethod")
|
|
297
|
+
def auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
298
|
+
"""
|
|
299
|
+
Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
300
|
+
"""
|
|
301
|
+
return pulumi.get(self, "auth_method")
|
|
302
|
+
|
|
303
|
+
@auth_method.setter
|
|
304
|
+
def auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
305
|
+
pulumi.set(self, "auth_method", value)
|
|
241
306
|
|
|
242
307
|
@property
|
|
243
308
|
@pulumi.getter(name="customMetricTypeDomains")
|
|
244
309
|
def custom_metric_type_domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
245
310
|
"""
|
|
246
|
-
List of additional GCP service domain names that
|
|
311
|
+
List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
247
312
|
"""
|
|
248
313
|
return pulumi.get(self, "custom_metric_type_domains")
|
|
249
314
|
|
|
@@ -255,7 +320,7 @@ class _IntegrationState:
|
|
|
255
320
|
@pulumi.getter
|
|
256
321
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
257
322
|
"""
|
|
258
|
-
Whether the integration is enabled
|
|
323
|
+
Whether the integration is enabled.
|
|
259
324
|
"""
|
|
260
325
|
return pulumi.get(self, "enabled")
|
|
261
326
|
|
|
@@ -267,8 +332,7 @@ class _IntegrationState:
|
|
|
267
332
|
@pulumi.getter(name="importGcpMetrics")
|
|
268
333
|
def import_gcp_metrics(self) -> Optional[pulumi.Input[bool]]:
|
|
269
334
|
"""
|
|
270
|
-
If enabled, Splunk Observability Cloud will sync also Google Cloud
|
|
271
|
-
will import only metadata. Defaults to true.
|
|
335
|
+
If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
272
336
|
"""
|
|
273
337
|
return pulumi.get(self, "import_gcp_metrics")
|
|
274
338
|
|
|
@@ -280,7 +344,7 @@ class _IntegrationState:
|
|
|
280
344
|
@pulumi.getter(name="includeLists")
|
|
281
345
|
def include_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
282
346
|
"""
|
|
283
|
-
|
|
347
|
+
[Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
284
348
|
"""
|
|
285
349
|
return pulumi.get(self, "include_lists")
|
|
286
350
|
|
|
@@ -292,7 +356,7 @@ class _IntegrationState:
|
|
|
292
356
|
@pulumi.getter
|
|
293
357
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
294
358
|
"""
|
|
295
|
-
Name of the integration
|
|
359
|
+
Name of the integration.
|
|
296
360
|
"""
|
|
297
361
|
return pulumi.get(self, "name")
|
|
298
362
|
|
|
@@ -304,7 +368,7 @@ class _IntegrationState:
|
|
|
304
368
|
@pulumi.getter(name="namedToken")
|
|
305
369
|
def named_token(self) -> Optional[pulumi.Input[str]]:
|
|
306
370
|
"""
|
|
307
|
-
|
|
371
|
+
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
308
372
|
"""
|
|
309
373
|
return pulumi.get(self, "named_token")
|
|
310
374
|
|
|
@@ -316,7 +380,7 @@ class _IntegrationState:
|
|
|
316
380
|
@pulumi.getter(name="pollRate")
|
|
317
381
|
def poll_rate(self) -> Optional[pulumi.Input[int]]:
|
|
318
382
|
"""
|
|
319
|
-
GCP poll rate (in seconds).
|
|
383
|
+
GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
320
384
|
"""
|
|
321
385
|
return pulumi.get(self, "poll_rate")
|
|
322
386
|
|
|
@@ -328,7 +392,7 @@ class _IntegrationState:
|
|
|
328
392
|
@pulumi.getter(name="projectServiceKeys")
|
|
329
393
|
def project_service_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]]:
|
|
330
394
|
"""
|
|
331
|
-
GCP
|
|
395
|
+
GCP projects to add.
|
|
332
396
|
"""
|
|
333
397
|
return pulumi.get(self, "project_service_keys")
|
|
334
398
|
|
|
@@ -336,11 +400,23 @@ class _IntegrationState:
|
|
|
336
400
|
def project_service_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectServiceKeyArgs']]]]):
|
|
337
401
|
pulumi.set(self, "project_service_keys", value)
|
|
338
402
|
|
|
403
|
+
@property
|
|
404
|
+
@pulumi.getter(name="projectWifConfigs")
|
|
405
|
+
def project_wif_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]]:
|
|
406
|
+
"""
|
|
407
|
+
GCP WIF configs
|
|
408
|
+
"""
|
|
409
|
+
return pulumi.get(self, "project_wif_configs")
|
|
410
|
+
|
|
411
|
+
@project_wif_configs.setter
|
|
412
|
+
def project_wif_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationProjectWifConfigArgs']]]]):
|
|
413
|
+
pulumi.set(self, "project_wif_configs", value)
|
|
414
|
+
|
|
339
415
|
@property
|
|
340
416
|
@pulumi.getter
|
|
341
417
|
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
342
418
|
"""
|
|
343
|
-
GCP
|
|
419
|
+
GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
344
420
|
"""
|
|
345
421
|
return pulumi.get(self, "services")
|
|
346
422
|
|
|
@@ -352,10 +428,7 @@ class _IntegrationState:
|
|
|
352
428
|
@pulumi.getter(name="useMetricSourceProjectForQuota")
|
|
353
429
|
def use_metric_source_project_for_quota(self) -> Optional[pulumi.Input[bool]]:
|
|
354
430
|
"""
|
|
355
|
-
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are
|
|
356
|
-
stored. For this to work the service account provided for the project needs to be provided with
|
|
357
|
-
serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota
|
|
358
|
-
settings are used.
|
|
431
|
+
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
359
432
|
"""
|
|
360
433
|
return pulumi.get(self, "use_metric_source_project_for_quota")
|
|
361
434
|
|
|
@@ -363,12 +436,25 @@ class _IntegrationState:
|
|
|
363
436
|
def use_metric_source_project_for_quota(self, value: Optional[pulumi.Input[bool]]):
|
|
364
437
|
pulumi.set(self, "use_metric_source_project_for_quota", value)
|
|
365
438
|
|
|
439
|
+
@property
|
|
440
|
+
@pulumi.getter(name="wifSplunkIdentity")
|
|
441
|
+
def wif_splunk_identity(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
442
|
+
"""
|
|
443
|
+
The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
444
|
+
"""
|
|
445
|
+
return pulumi.get(self, "wif_splunk_identity")
|
|
446
|
+
|
|
447
|
+
@wif_splunk_identity.setter
|
|
448
|
+
def wif_splunk_identity(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
449
|
+
pulumi.set(self, "wif_splunk_identity", value)
|
|
450
|
+
|
|
366
451
|
|
|
367
452
|
class Integration(pulumi.CustomResource):
|
|
368
453
|
@overload
|
|
369
454
|
def __init__(__self__,
|
|
370
455
|
resource_name: str,
|
|
371
456
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
457
|
+
auth_method: Optional[pulumi.Input[str]] = None,
|
|
372
458
|
custom_metric_type_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
373
459
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
374
460
|
import_gcp_metrics: Optional[pulumi.Input[bool]] = None,
|
|
@@ -376,52 +462,32 @@ class Integration(pulumi.CustomResource):
|
|
|
376
462
|
name: Optional[pulumi.Input[str]] = None,
|
|
377
463
|
named_token: Optional[pulumi.Input[str]] = None,
|
|
378
464
|
poll_rate: Optional[pulumi.Input[int]] = None,
|
|
379
|
-
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
465
|
+
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectServiceKeyArgs', 'IntegrationProjectServiceKeyArgsDict']]]]] = None,
|
|
466
|
+
project_wif_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectWifConfigArgs', 'IntegrationProjectWifConfigArgsDict']]]]] = None,
|
|
380
467
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
381
468
|
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None,
|
|
469
|
+
wif_splunk_identity: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
382
470
|
__props__=None):
|
|
383
471
|
"""
|
|
384
472
|
Splunk Observability Cloud GCP Integration.
|
|
385
473
|
|
|
386
474
|
> **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.
|
|
387
475
|
|
|
388
|
-
## Example
|
|
389
|
-
|
|
390
|
-
## Arguments
|
|
391
|
-
|
|
392
|
-
* `custom_metric_type_domains` - (Optional) List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
393
|
-
* `enabled` - (Required) Whether the integration is enabled.
|
|
394
|
-
* `import_gcp_metrics` - (Optional) If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
395
|
-
* `include_list` - (Optional) [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
396
|
-
* `name` - (Required) Name of the integration.
|
|
397
|
-
* `named_token` - (Optional) Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
398
|
-
* `poll_rate` - (Optional) GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
399
|
-
* `project_service_keys` - (Required) GCP projects to add.
|
|
400
|
-
* `services` - (Optional) GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
401
|
-
* `use_metric_source_project_for_quota` - (Optional) When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
402
|
-
|
|
403
|
-
## Attributes
|
|
404
|
-
|
|
405
|
-
In addition to all arguments above, the following attributes are exported:
|
|
406
|
-
|
|
407
|
-
* `id` - The ID of the integration.
|
|
408
|
-
|
|
409
476
|
:param str resource_name: The name of the resource.
|
|
410
477
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
411
|
-
:param pulumi.Input[
|
|
412
|
-
:param pulumi.Input[
|
|
413
|
-
:param pulumi.Input[bool]
|
|
414
|
-
|
|
415
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists:
|
|
416
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
417
|
-
:param pulumi.Input[str] named_token:
|
|
418
|
-
:param pulumi.Input[int] poll_rate: GCP poll rate (in seconds).
|
|
419
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
420
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
421
|
-
:param pulumi.Input[
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
settings are used.
|
|
478
|
+
:param pulumi.Input[str] auth_method: Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
479
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] custom_metric_type_domains: List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
480
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
481
|
+
:param pulumi.Input[bool] import_gcp_metrics: If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
482
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists: [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
483
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
484
|
+
:param pulumi.Input[str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
485
|
+
:param pulumi.Input[int] poll_rate: GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
486
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectServiceKeyArgs', 'IntegrationProjectServiceKeyArgsDict']]]] project_service_keys: GCP projects to add.
|
|
487
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectWifConfigArgs', 'IntegrationProjectWifConfigArgsDict']]]] project_wif_configs: GCP WIF configs
|
|
488
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
489
|
+
:param pulumi.Input[bool] use_metric_source_project_for_quota: When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
490
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] wif_splunk_identity: The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
425
491
|
"""
|
|
426
492
|
...
|
|
427
493
|
@overload
|
|
@@ -434,27 +500,6 @@ class Integration(pulumi.CustomResource):
|
|
|
434
500
|
|
|
435
501
|
> **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.
|
|
436
502
|
|
|
437
|
-
## Example
|
|
438
|
-
|
|
439
|
-
## Arguments
|
|
440
|
-
|
|
441
|
-
* `custom_metric_type_domains` - (Optional) List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
442
|
-
* `enabled` - (Required) Whether the integration is enabled.
|
|
443
|
-
* `import_gcp_metrics` - (Optional) If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
444
|
-
* `include_list` - (Optional) [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
445
|
-
* `name` - (Required) Name of the integration.
|
|
446
|
-
* `named_token` - (Optional) Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
447
|
-
* `poll_rate` - (Optional) GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
448
|
-
* `project_service_keys` - (Required) GCP projects to add.
|
|
449
|
-
* `services` - (Optional) GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
450
|
-
* `use_metric_source_project_for_quota` - (Optional) When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
451
|
-
|
|
452
|
-
## Attributes
|
|
453
|
-
|
|
454
|
-
In addition to all arguments above, the following attributes are exported:
|
|
455
|
-
|
|
456
|
-
* `id` - The ID of the integration.
|
|
457
|
-
|
|
458
503
|
:param str resource_name: The name of the resource.
|
|
459
504
|
:param IntegrationArgs args: The arguments to use to populate this resource's properties.
|
|
460
505
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -470,6 +515,7 @@ class Integration(pulumi.CustomResource):
|
|
|
470
515
|
def _internal_init(__self__,
|
|
471
516
|
resource_name: str,
|
|
472
517
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
518
|
+
auth_method: Optional[pulumi.Input[str]] = None,
|
|
473
519
|
custom_metric_type_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
474
520
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
475
521
|
import_gcp_metrics: Optional[pulumi.Input[bool]] = None,
|
|
@@ -477,9 +523,11 @@ class Integration(pulumi.CustomResource):
|
|
|
477
523
|
name: Optional[pulumi.Input[str]] = None,
|
|
478
524
|
named_token: Optional[pulumi.Input[str]] = None,
|
|
479
525
|
poll_rate: Optional[pulumi.Input[int]] = None,
|
|
480
|
-
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
526
|
+
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectServiceKeyArgs', 'IntegrationProjectServiceKeyArgsDict']]]]] = None,
|
|
527
|
+
project_wif_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectWifConfigArgs', 'IntegrationProjectWifConfigArgsDict']]]]] = None,
|
|
481
528
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
482
529
|
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None,
|
|
530
|
+
wif_splunk_identity: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
483
531
|
__props__=None):
|
|
484
532
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
485
533
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -489,6 +537,7 @@ class Integration(pulumi.CustomResource):
|
|
|
489
537
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
490
538
|
__props__ = IntegrationArgs.__new__(IntegrationArgs)
|
|
491
539
|
|
|
540
|
+
__props__.__dict__["auth_method"] = auth_method
|
|
492
541
|
__props__.__dict__["custom_metric_type_domains"] = custom_metric_type_domains
|
|
493
542
|
if enabled is None and not opts.urn:
|
|
494
543
|
raise TypeError("Missing required property 'enabled'")
|
|
@@ -499,9 +548,11 @@ class Integration(pulumi.CustomResource):
|
|
|
499
548
|
__props__.__dict__["named_token"] = named_token
|
|
500
549
|
__props__.__dict__["poll_rate"] = poll_rate
|
|
501
550
|
__props__.__dict__["project_service_keys"] = None if project_service_keys is None else pulumi.Output.secret(project_service_keys)
|
|
551
|
+
__props__.__dict__["project_wif_configs"] = None if project_wif_configs is None else pulumi.Output.secret(project_wif_configs)
|
|
502
552
|
__props__.__dict__["services"] = services
|
|
503
553
|
__props__.__dict__["use_metric_source_project_for_quota"] = use_metric_source_project_for_quota
|
|
504
|
-
|
|
554
|
+
__props__.__dict__["wif_splunk_identity"] = wif_splunk_identity
|
|
555
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["projectServiceKeys", "projectWifConfigs"])
|
|
505
556
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
506
557
|
super(Integration, __self__).__init__(
|
|
507
558
|
'signalfx:gcp/integration:Integration',
|
|
@@ -513,6 +564,7 @@ class Integration(pulumi.CustomResource):
|
|
|
513
564
|
def get(resource_name: str,
|
|
514
565
|
id: pulumi.Input[str],
|
|
515
566
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
567
|
+
auth_method: Optional[pulumi.Input[str]] = None,
|
|
516
568
|
custom_metric_type_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
517
569
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
518
570
|
import_gcp_metrics: Optional[pulumi.Input[bool]] = None,
|
|
@@ -520,9 +572,11 @@ class Integration(pulumi.CustomResource):
|
|
|
520
572
|
name: Optional[pulumi.Input[str]] = None,
|
|
521
573
|
named_token: Optional[pulumi.Input[str]] = None,
|
|
522
574
|
poll_rate: Optional[pulumi.Input[int]] = None,
|
|
523
|
-
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
575
|
+
project_service_keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectServiceKeyArgs', 'IntegrationProjectServiceKeyArgsDict']]]]] = None,
|
|
576
|
+
project_wif_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectWifConfigArgs', 'IntegrationProjectWifConfigArgsDict']]]]] = None,
|
|
524
577
|
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
525
|
-
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None
|
|
578
|
+
use_metric_source_project_for_quota: Optional[pulumi.Input[bool]] = None,
|
|
579
|
+
wif_splunk_identity: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Integration':
|
|
526
580
|
"""
|
|
527
581
|
Get an existing Integration resource's state with the given name, id, and optional extra
|
|
528
582
|
properties used to qualify the lookup.
|
|
@@ -530,25 +584,25 @@ class Integration(pulumi.CustomResource):
|
|
|
530
584
|
:param str resource_name: The unique name of the resulting resource.
|
|
531
585
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
532
586
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
533
|
-
:param pulumi.Input[
|
|
534
|
-
:param pulumi.Input[
|
|
535
|
-
:param pulumi.Input[bool]
|
|
536
|
-
|
|
537
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists:
|
|
538
|
-
:param pulumi.Input[str] name: Name of the integration
|
|
539
|
-
:param pulumi.Input[str] named_token:
|
|
540
|
-
:param pulumi.Input[int] poll_rate: GCP poll rate (in seconds).
|
|
541
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
542
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
543
|
-
:param pulumi.Input[
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
settings are used.
|
|
587
|
+
:param pulumi.Input[str] auth_method: Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
588
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] custom_metric_type_domains: List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
589
|
+
:param pulumi.Input[bool] enabled: Whether the integration is enabled.
|
|
590
|
+
:param pulumi.Input[bool] import_gcp_metrics: If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
591
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] include_lists: [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
592
|
+
:param pulumi.Input[str] name: Name of the integration.
|
|
593
|
+
:param pulumi.Input[str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
594
|
+
:param pulumi.Input[int] poll_rate: GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
595
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectServiceKeyArgs', 'IntegrationProjectServiceKeyArgsDict']]]] project_service_keys: GCP projects to add.
|
|
596
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationProjectWifConfigArgs', 'IntegrationProjectWifConfigArgsDict']]]] project_wif_configs: GCP WIF configs
|
|
597
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
598
|
+
:param pulumi.Input[bool] use_metric_source_project_for_quota: When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
599
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] wif_splunk_identity: The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
547
600
|
"""
|
|
548
601
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
549
602
|
|
|
550
603
|
__props__ = _IntegrationState.__new__(_IntegrationState)
|
|
551
604
|
|
|
605
|
+
__props__.__dict__["auth_method"] = auth_method
|
|
552
606
|
__props__.__dict__["custom_metric_type_domains"] = custom_metric_type_domains
|
|
553
607
|
__props__.__dict__["enabled"] = enabled
|
|
554
608
|
__props__.__dict__["import_gcp_metrics"] = import_gcp_metrics
|
|
@@ -557,15 +611,25 @@ class Integration(pulumi.CustomResource):
|
|
|
557
611
|
__props__.__dict__["named_token"] = named_token
|
|
558
612
|
__props__.__dict__["poll_rate"] = poll_rate
|
|
559
613
|
__props__.__dict__["project_service_keys"] = project_service_keys
|
|
614
|
+
__props__.__dict__["project_wif_configs"] = project_wif_configs
|
|
560
615
|
__props__.__dict__["services"] = services
|
|
561
616
|
__props__.__dict__["use_metric_source_project_for_quota"] = use_metric_source_project_for_quota
|
|
617
|
+
__props__.__dict__["wif_splunk_identity"] = wif_splunk_identity
|
|
562
618
|
return Integration(resource_name, opts=opts, __props__=__props__)
|
|
563
619
|
|
|
620
|
+
@property
|
|
621
|
+
@pulumi.getter(name="authMethod")
|
|
622
|
+
def auth_method(self) -> pulumi.Output[Optional[str]]:
|
|
623
|
+
"""
|
|
624
|
+
Authentication method to use in this integration. If empty, Splunk Observability backend defaults to SERVICE_ACCOUNT_KEY
|
|
625
|
+
"""
|
|
626
|
+
return pulumi.get(self, "auth_method")
|
|
627
|
+
|
|
564
628
|
@property
|
|
565
629
|
@pulumi.getter(name="customMetricTypeDomains")
|
|
566
630
|
def custom_metric_type_domains(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
567
631
|
"""
|
|
568
|
-
List of additional GCP service domain names that
|
|
632
|
+
List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
|
|
569
633
|
"""
|
|
570
634
|
return pulumi.get(self, "custom_metric_type_domains")
|
|
571
635
|
|
|
@@ -573,7 +637,7 @@ class Integration(pulumi.CustomResource):
|
|
|
573
637
|
@pulumi.getter
|
|
574
638
|
def enabled(self) -> pulumi.Output[bool]:
|
|
575
639
|
"""
|
|
576
|
-
Whether the integration is enabled
|
|
640
|
+
Whether the integration is enabled.
|
|
577
641
|
"""
|
|
578
642
|
return pulumi.get(self, "enabled")
|
|
579
643
|
|
|
@@ -581,8 +645,7 @@ class Integration(pulumi.CustomResource):
|
|
|
581
645
|
@pulumi.getter(name="importGcpMetrics")
|
|
582
646
|
def import_gcp_metrics(self) -> pulumi.Output[Optional[bool]]:
|
|
583
647
|
"""
|
|
584
|
-
If enabled, Splunk Observability Cloud will sync also Google Cloud
|
|
585
|
-
will import only metadata. Defaults to true.
|
|
648
|
+
If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
|
|
586
649
|
"""
|
|
587
650
|
return pulumi.get(self, "import_gcp_metrics")
|
|
588
651
|
|
|
@@ -590,7 +653,7 @@ class Integration(pulumi.CustomResource):
|
|
|
590
653
|
@pulumi.getter(name="includeLists")
|
|
591
654
|
def include_lists(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
592
655
|
"""
|
|
593
|
-
|
|
656
|
+
[Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
|
|
594
657
|
"""
|
|
595
658
|
return pulumi.get(self, "include_lists")
|
|
596
659
|
|
|
@@ -598,7 +661,7 @@ class Integration(pulumi.CustomResource):
|
|
|
598
661
|
@pulumi.getter
|
|
599
662
|
def name(self) -> pulumi.Output[str]:
|
|
600
663
|
"""
|
|
601
|
-
Name of the integration
|
|
664
|
+
Name of the integration.
|
|
602
665
|
"""
|
|
603
666
|
return pulumi.get(self, "name")
|
|
604
667
|
|
|
@@ -606,7 +669,7 @@ class Integration(pulumi.CustomResource):
|
|
|
606
669
|
@pulumi.getter(name="namedToken")
|
|
607
670
|
def named_token(self) -> pulumi.Output[Optional[str]]:
|
|
608
671
|
"""
|
|
609
|
-
|
|
672
|
+
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
610
673
|
"""
|
|
611
674
|
return pulumi.get(self, "named_token")
|
|
612
675
|
|
|
@@ -614,7 +677,7 @@ class Integration(pulumi.CustomResource):
|
|
|
614
677
|
@pulumi.getter(name="pollRate")
|
|
615
678
|
def poll_rate(self) -> pulumi.Output[Optional[int]]:
|
|
616
679
|
"""
|
|
617
|
-
GCP poll rate (in seconds).
|
|
680
|
+
GCP integration poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
618
681
|
"""
|
|
619
682
|
return pulumi.get(self, "poll_rate")
|
|
620
683
|
|
|
@@ -622,15 +685,23 @@ class Integration(pulumi.CustomResource):
|
|
|
622
685
|
@pulumi.getter(name="projectServiceKeys")
|
|
623
686
|
def project_service_keys(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationProjectServiceKey']]]:
|
|
624
687
|
"""
|
|
625
|
-
GCP
|
|
688
|
+
GCP projects to add.
|
|
626
689
|
"""
|
|
627
690
|
return pulumi.get(self, "project_service_keys")
|
|
628
691
|
|
|
692
|
+
@property
|
|
693
|
+
@pulumi.getter(name="projectWifConfigs")
|
|
694
|
+
def project_wif_configs(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationProjectWifConfig']]]:
|
|
695
|
+
"""
|
|
696
|
+
GCP WIF configs
|
|
697
|
+
"""
|
|
698
|
+
return pulumi.get(self, "project_wif_configs")
|
|
699
|
+
|
|
629
700
|
@property
|
|
630
701
|
@pulumi.getter
|
|
631
702
|
def services(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
632
703
|
"""
|
|
633
|
-
GCP
|
|
704
|
+
GCP service metrics to import. Can be an empty list, or not included, to import 'All services'. See [Google Cloud Platform services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#google-cloud-platform-services) for a list of valid values.
|
|
634
705
|
"""
|
|
635
706
|
return pulumi.get(self, "services")
|
|
636
707
|
|
|
@@ -638,10 +709,15 @@ class Integration(pulumi.CustomResource):
|
|
|
638
709
|
@pulumi.getter(name="useMetricSourceProjectForQuota")
|
|
639
710
|
def use_metric_source_project_for_quota(self) -> pulumi.Output[Optional[bool]]:
|
|
640
711
|
"""
|
|
641
|
-
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are
|
|
642
|
-
stored. For this to work the service account provided for the project needs to be provided with
|
|
643
|
-
serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota
|
|
644
|
-
settings are used.
|
|
712
|
+
When this value is set to true Observability Cloud will force usage of a quota from the project where metrics are stored. For this to work the service account provided for the project needs to be provided with serviceusage.services.use permission or Service Usage Consumer role in this project. When set to false default quota settings are used.
|
|
645
713
|
"""
|
|
646
714
|
return pulumi.get(self, "use_metric_source_project_for_quota")
|
|
647
715
|
|
|
716
|
+
@property
|
|
717
|
+
@pulumi.getter(name="wifSplunkIdentity")
|
|
718
|
+
def wif_splunk_identity(self) -> pulumi.Output[Mapping[str, str]]:
|
|
719
|
+
"""
|
|
720
|
+
The Splunk Observability GCP identity to include in GCP WIF provider definition.
|
|
721
|
+
"""
|
|
722
|
+
return pulumi.get(self, "wif_splunk_identity")
|
|
723
|
+
|