pulumi-signalfx 7.14.0a1752906964__py3-none-any.whl → 7.15.0a1753338898__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.
@@ -32,6 +32,8 @@ from . import outputs
32
32
 
33
33
  # Make subpackages available:
34
34
  if typing.TYPE_CHECKING:
35
+ import pulumi_signalfx.automatedarchival as __automatedarchival
36
+ automatedarchival = __automatedarchival
35
37
  import pulumi_signalfx.aws as __aws
36
38
  aws = __aws
37
39
  import pulumi_signalfx.azure as __azure
@@ -55,6 +57,7 @@ if typing.TYPE_CHECKING:
55
57
  import pulumi_signalfx.victorops as __victorops
56
58
  victorops = __victorops
57
59
  else:
60
+ automatedarchival = _utilities.lazy_import('pulumi_signalfx.automatedarchival')
58
61
  aws = _utilities.lazy_import('pulumi_signalfx.aws')
59
62
  azure = _utilities.lazy_import('pulumi_signalfx.azure')
60
63
  config = _utilities.lazy_import('pulumi_signalfx.config')
@@ -70,6 +73,22 @@ else:
70
73
  _utilities.register(
71
74
  resource_modules="""
72
75
  [
76
+ {
77
+ "pkg": "signalfx",
78
+ "mod": "automatedarchival/exemptMetric",
79
+ "fqn": "pulumi_signalfx.automatedarchival",
80
+ "classes": {
81
+ "signalfx:automatedarchival/exemptMetric:ExemptMetric": "ExemptMetric"
82
+ }
83
+ },
84
+ {
85
+ "pkg": "signalfx",
86
+ "mod": "automatedarchival/settings",
87
+ "fqn": "pulumi_signalfx.automatedarchival",
88
+ "classes": {
89
+ "signalfx:automatedarchival/settings:Settings": "Settings"
90
+ }
91
+ },
73
92
  {
74
93
  "pkg": "signalfx",
75
94
  "mod": "aws/externalIntegration",
@@ -0,0 +1,12 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ from .. import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from .exempt_metric import *
10
+ from .settings import *
11
+ from ._inputs import *
12
+ from . import outputs
@@ -0,0 +1,135 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = [
19
+ 'ExemptMetricExemptMetricArgs',
20
+ 'ExemptMetricExemptMetricArgsDict',
21
+ ]
22
+
23
+ MYPY = False
24
+
25
+ if not MYPY:
26
+ class ExemptMetricExemptMetricArgsDict(TypedDict):
27
+ name: pulumi.Input[builtins.str]
28
+ """
29
+ Name of the metric to be exempted from automated archival
30
+ """
31
+ created: NotRequired[pulumi.Input[builtins.int]]
32
+ """
33
+ Timestamp of when the automated archival setting was created
34
+ """
35
+ creator: NotRequired[pulumi.Input[builtins.str]]
36
+ """
37
+ ID of the creator of the automated archival setting
38
+ """
39
+ last_updated: NotRequired[pulumi.Input[builtins.int]]
40
+ """
41
+ Timestamp of when the automated archival setting was last updated
42
+ """
43
+ last_updated_by: NotRequired[pulumi.Input[builtins.str]]
44
+ """
45
+ ID of user who last updated the automated archival setting
46
+ """
47
+ elif False:
48
+ ExemptMetricExemptMetricArgsDict: TypeAlias = Mapping[str, Any]
49
+
50
+ @pulumi.input_type
51
+ class ExemptMetricExemptMetricArgs:
52
+ def __init__(__self__, *,
53
+ name: pulumi.Input[builtins.str],
54
+ created: Optional[pulumi.Input[builtins.int]] = None,
55
+ creator: Optional[pulumi.Input[builtins.str]] = None,
56
+ last_updated: Optional[pulumi.Input[builtins.int]] = None,
57
+ last_updated_by: Optional[pulumi.Input[builtins.str]] = None):
58
+ """
59
+ :param pulumi.Input[builtins.str] name: Name of the metric to be exempted from automated archival
60
+ :param pulumi.Input[builtins.int] created: Timestamp of when the automated archival setting was created
61
+ :param pulumi.Input[builtins.str] creator: ID of the creator of the automated archival setting
62
+ :param pulumi.Input[builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
63
+ :param pulumi.Input[builtins.str] last_updated_by: ID of user who last updated the automated archival setting
64
+ """
65
+ pulumi.set(__self__, "name", name)
66
+ if created is not None:
67
+ pulumi.set(__self__, "created", created)
68
+ if creator is not None:
69
+ pulumi.set(__self__, "creator", creator)
70
+ if last_updated is not None:
71
+ pulumi.set(__self__, "last_updated", last_updated)
72
+ if last_updated_by is not None:
73
+ pulumi.set(__self__, "last_updated_by", last_updated_by)
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def name(self) -> pulumi.Input[builtins.str]:
78
+ """
79
+ Name of the metric to be exempted from automated archival
80
+ """
81
+ return pulumi.get(self, "name")
82
+
83
+ @name.setter
84
+ def name(self, value: pulumi.Input[builtins.str]):
85
+ pulumi.set(self, "name", value)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def created(self) -> Optional[pulumi.Input[builtins.int]]:
90
+ """
91
+ Timestamp of when the automated archival setting was created
92
+ """
93
+ return pulumi.get(self, "created")
94
+
95
+ @created.setter
96
+ def created(self, value: Optional[pulumi.Input[builtins.int]]):
97
+ pulumi.set(self, "created", value)
98
+
99
+ @property
100
+ @pulumi.getter
101
+ def creator(self) -> Optional[pulumi.Input[builtins.str]]:
102
+ """
103
+ ID of the creator of the automated archival setting
104
+ """
105
+ return pulumi.get(self, "creator")
106
+
107
+ @creator.setter
108
+ def creator(self, value: Optional[pulumi.Input[builtins.str]]):
109
+ pulumi.set(self, "creator", value)
110
+
111
+ @property
112
+ @pulumi.getter(name="lastUpdated")
113
+ def last_updated(self) -> Optional[pulumi.Input[builtins.int]]:
114
+ """
115
+ Timestamp of when the automated archival setting was last updated
116
+ """
117
+ return pulumi.get(self, "last_updated")
118
+
119
+ @last_updated.setter
120
+ def last_updated(self, value: Optional[pulumi.Input[builtins.int]]):
121
+ pulumi.set(self, "last_updated", value)
122
+
123
+ @property
124
+ @pulumi.getter(name="lastUpdatedBy")
125
+ def last_updated_by(self) -> Optional[pulumi.Input[builtins.str]]:
126
+ """
127
+ ID of user who last updated the automated archival setting
128
+ """
129
+ return pulumi.get(self, "last_updated_by")
130
+
131
+ @last_updated_by.setter
132
+ def last_updated_by(self, value: Optional[pulumi.Input[builtins.str]]):
133
+ pulumi.set(self, "last_updated_by", value)
134
+
135
+
@@ -0,0 +1,153 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = ['ExemptMetricArgs', 'ExemptMetric']
21
+
22
+ @pulumi.input_type
23
+ class ExemptMetricArgs:
24
+ def __init__(__self__, *,
25
+ exempt_metrics: pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]):
26
+ """
27
+ The set of arguments for constructing a ExemptMetric resource.
28
+ :param pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]] exempt_metrics: List of metrics to be exempted from automated archival
29
+ """
30
+ pulumi.set(__self__, "exempt_metrics", exempt_metrics)
31
+
32
+ @property
33
+ @pulumi.getter(name="exemptMetrics")
34
+ def exempt_metrics(self) -> pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]:
35
+ """
36
+ List of metrics to be exempted from automated archival
37
+ """
38
+ return pulumi.get(self, "exempt_metrics")
39
+
40
+ @exempt_metrics.setter
41
+ def exempt_metrics(self, value: pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]):
42
+ pulumi.set(self, "exempt_metrics", value)
43
+
44
+
45
+ @pulumi.input_type
46
+ class _ExemptMetricState:
47
+ def __init__(__self__, *,
48
+ exempt_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]] = None):
49
+ """
50
+ Input properties used for looking up and filtering ExemptMetric resources.
51
+ :param pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]] exempt_metrics: List of metrics to be exempted from automated archival
52
+ """
53
+ if exempt_metrics is not None:
54
+ pulumi.set(__self__, "exempt_metrics", exempt_metrics)
55
+
56
+ @property
57
+ @pulumi.getter(name="exemptMetrics")
58
+ def exempt_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]]:
59
+ """
60
+ List of metrics to be exempted from automated archival
61
+ """
62
+ return pulumi.get(self, "exempt_metrics")
63
+
64
+ @exempt_metrics.setter
65
+ def exempt_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ExemptMetricExemptMetricArgs']]]]):
66
+ pulumi.set(self, "exempt_metrics", value)
67
+
68
+
69
+ @pulumi.type_token("signalfx:automatedarchival/exemptMetric:ExemptMetric")
70
+ class ExemptMetric(pulumi.CustomResource):
71
+ @overload
72
+ def __init__(__self__,
73
+ resource_name: str,
74
+ opts: Optional[pulumi.ResourceOptions] = None,
75
+ exempt_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExemptMetricExemptMetricArgs', 'ExemptMetricExemptMetricArgsDict']]]]] = None,
76
+ __props__=None):
77
+ """
78
+ Create a ExemptMetric resource with the given unique name, props, and options.
79
+ :param str resource_name: The name of the resource.
80
+ :param pulumi.ResourceOptions opts: Options for the resource.
81
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ExemptMetricExemptMetricArgs', 'ExemptMetricExemptMetricArgsDict']]]] exempt_metrics: List of metrics to be exempted from automated archival
82
+ """
83
+ ...
84
+ @overload
85
+ def __init__(__self__,
86
+ resource_name: str,
87
+ args: ExemptMetricArgs,
88
+ opts: Optional[pulumi.ResourceOptions] = None):
89
+ """
90
+ Create a ExemptMetric resource with the given unique name, props, and options.
91
+ :param str resource_name: The name of the resource.
92
+ :param ExemptMetricArgs args: The arguments to use to populate this resource's properties.
93
+ :param pulumi.ResourceOptions opts: Options for the resource.
94
+ """
95
+ ...
96
+ def __init__(__self__, resource_name: str, *args, **kwargs):
97
+ resource_args, opts = _utilities.get_resource_args_opts(ExemptMetricArgs, pulumi.ResourceOptions, *args, **kwargs)
98
+ if resource_args is not None:
99
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
100
+ else:
101
+ __self__._internal_init(resource_name, *args, **kwargs)
102
+
103
+ def _internal_init(__self__,
104
+ resource_name: str,
105
+ opts: Optional[pulumi.ResourceOptions] = None,
106
+ exempt_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExemptMetricExemptMetricArgs', 'ExemptMetricExemptMetricArgsDict']]]]] = None,
107
+ __props__=None):
108
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
109
+ if not isinstance(opts, pulumi.ResourceOptions):
110
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
111
+ if opts.id is None:
112
+ if __props__ is not None:
113
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
114
+ __props__ = ExemptMetricArgs.__new__(ExemptMetricArgs)
115
+
116
+ if exempt_metrics is None and not opts.urn:
117
+ raise TypeError("Missing required property 'exempt_metrics'")
118
+ __props__.__dict__["exempt_metrics"] = exempt_metrics
119
+ super(ExemptMetric, __self__).__init__(
120
+ 'signalfx:automatedarchival/exemptMetric:ExemptMetric',
121
+ resource_name,
122
+ __props__,
123
+ opts)
124
+
125
+ @staticmethod
126
+ def get(resource_name: str,
127
+ id: pulumi.Input[str],
128
+ opts: Optional[pulumi.ResourceOptions] = None,
129
+ exempt_metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExemptMetricExemptMetricArgs', 'ExemptMetricExemptMetricArgsDict']]]]] = None) -> 'ExemptMetric':
130
+ """
131
+ Get an existing ExemptMetric resource's state with the given name, id, and optional extra
132
+ properties used to qualify the lookup.
133
+
134
+ :param str resource_name: The unique name of the resulting resource.
135
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
136
+ :param pulumi.ResourceOptions opts: Options for the resource.
137
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ExemptMetricExemptMetricArgs', 'ExemptMetricExemptMetricArgsDict']]]] exempt_metrics: List of metrics to be exempted from automated archival
138
+ """
139
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
140
+
141
+ __props__ = _ExemptMetricState.__new__(_ExemptMetricState)
142
+
143
+ __props__.__dict__["exempt_metrics"] = exempt_metrics
144
+ return ExemptMetric(resource_name, opts=opts, __props__=__props__)
145
+
146
+ @property
147
+ @pulumi.getter(name="exemptMetrics")
148
+ def exempt_metrics(self) -> pulumi.Output[Sequence['outputs.ExemptMetricExemptMetric']]:
149
+ """
150
+ List of metrics to be exempted from automated archival
151
+ """
152
+ return pulumi.get(self, "exempt_metrics")
153
+
@@ -0,0 +1,106 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = [
19
+ 'ExemptMetricExemptMetric',
20
+ ]
21
+
22
+ @pulumi.output_type
23
+ class ExemptMetricExemptMetric(dict):
24
+ @staticmethod
25
+ def __key_warning(key: str):
26
+ suggest = None
27
+ if key == "lastUpdated":
28
+ suggest = "last_updated"
29
+ elif key == "lastUpdatedBy":
30
+ suggest = "last_updated_by"
31
+
32
+ if suggest:
33
+ pulumi.log.warn(f"Key '{key}' not found in ExemptMetricExemptMetric. Access the value via the '{suggest}' property getter instead.")
34
+
35
+ def __getitem__(self, key: str) -> Any:
36
+ ExemptMetricExemptMetric.__key_warning(key)
37
+ return super().__getitem__(key)
38
+
39
+ def get(self, key: str, default = None) -> Any:
40
+ ExemptMetricExemptMetric.__key_warning(key)
41
+ return super().get(key, default)
42
+
43
+ def __init__(__self__, *,
44
+ name: builtins.str,
45
+ created: Optional[builtins.int] = None,
46
+ creator: Optional[builtins.str] = None,
47
+ last_updated: Optional[builtins.int] = None,
48
+ last_updated_by: Optional[builtins.str] = None):
49
+ """
50
+ :param builtins.str name: Name of the metric to be exempted from automated archival
51
+ :param builtins.int created: Timestamp of when the automated archival setting was created
52
+ :param builtins.str creator: ID of the creator of the automated archival setting
53
+ :param builtins.int last_updated: Timestamp of when the automated archival setting was last updated
54
+ :param builtins.str last_updated_by: ID of user who last updated the automated archival setting
55
+ """
56
+ pulumi.set(__self__, "name", name)
57
+ if created is not None:
58
+ pulumi.set(__self__, "created", created)
59
+ if creator is not None:
60
+ pulumi.set(__self__, "creator", creator)
61
+ if last_updated is not None:
62
+ pulumi.set(__self__, "last_updated", last_updated)
63
+ if last_updated_by is not None:
64
+ pulumi.set(__self__, "last_updated_by", last_updated_by)
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def name(self) -> builtins.str:
69
+ """
70
+ Name of the metric to be exempted from automated archival
71
+ """
72
+ return pulumi.get(self, "name")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def created(self) -> Optional[builtins.int]:
77
+ """
78
+ Timestamp of when the automated archival setting was created
79
+ """
80
+ return pulumi.get(self, "created")
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def creator(self) -> Optional[builtins.str]:
85
+ """
86
+ ID of the creator of the automated archival setting
87
+ """
88
+ return pulumi.get(self, "creator")
89
+
90
+ @property
91
+ @pulumi.getter(name="lastUpdated")
92
+ def last_updated(self) -> Optional[builtins.int]:
93
+ """
94
+ Timestamp of when the automated archival setting was last updated
95
+ """
96
+ return pulumi.get(self, "last_updated")
97
+
98
+ @property
99
+ @pulumi.getter(name="lastUpdatedBy")
100
+ def last_updated_by(self) -> Optional[builtins.str]:
101
+ """
102
+ ID of user who last updated the automated archival setting
103
+ """
104
+ return pulumi.get(self, "last_updated_by")
105
+
106
+
@@ -0,0 +1,434 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = ['SettingsArgs', 'Settings']
19
+
20
+ @pulumi.input_type
21
+ class SettingsArgs:
22
+ def __init__(__self__, *,
23
+ enabled: pulumi.Input[builtins.bool],
24
+ grace_period: pulumi.Input[builtins.str],
25
+ lookback_period: pulumi.Input[builtins.str],
26
+ ruleset_limit: Optional[pulumi.Input[builtins.int]] = None):
27
+ """
28
+ The set of arguments for constructing a Settings resource.
29
+ :param pulumi.Input[builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
30
+ :param pulumi.Input[builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
31
+ :param pulumi.Input[builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
32
+ :param pulumi.Input[builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
33
+ """
34
+ pulumi.set(__self__, "enabled", enabled)
35
+ pulumi.set(__self__, "grace_period", grace_period)
36
+ pulumi.set(__self__, "lookback_period", lookback_period)
37
+ if ruleset_limit is not None:
38
+ pulumi.set(__self__, "ruleset_limit", ruleset_limit)
39
+
40
+ @property
41
+ @pulumi.getter
42
+ def enabled(self) -> pulumi.Input[builtins.bool]:
43
+ """
44
+ Whether the automated archival is enabled for this organization or not
45
+ """
46
+ return pulumi.get(self, "enabled")
47
+
48
+ @enabled.setter
49
+ def enabled(self, value: pulumi.Input[builtins.bool]):
50
+ pulumi.set(self, "enabled", value)
51
+
52
+ @property
53
+ @pulumi.getter(name="gracePeriod")
54
+ def grace_period(self) -> pulumi.Input[builtins.str]:
55
+ """
56
+ Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
57
+ """
58
+ return pulumi.get(self, "grace_period")
59
+
60
+ @grace_period.setter
61
+ def grace_period(self, value: pulumi.Input[builtins.str]):
62
+ pulumi.set(self, "grace_period", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="lookbackPeriod")
66
+ def lookback_period(self) -> pulumi.Input[builtins.str]:
67
+ """
68
+ This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
69
+ """
70
+ return pulumi.get(self, "lookback_period")
71
+
72
+ @lookback_period.setter
73
+ def lookback_period(self, value: pulumi.Input[builtins.str]):
74
+ pulumi.set(self, "lookback_period", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="rulesetLimit")
78
+ def ruleset_limit(self) -> Optional[pulumi.Input[builtins.int]]:
79
+ """
80
+ Org limit for the number of rulesets that can be created
81
+ """
82
+ return pulumi.get(self, "ruleset_limit")
83
+
84
+ @ruleset_limit.setter
85
+ def ruleset_limit(self, value: Optional[pulumi.Input[builtins.int]]):
86
+ pulumi.set(self, "ruleset_limit", value)
87
+
88
+
89
+ @pulumi.input_type
90
+ class _SettingsState:
91
+ def __init__(__self__, *,
92
+ created: Optional[pulumi.Input[builtins.int]] = None,
93
+ creator: Optional[pulumi.Input[builtins.str]] = None,
94
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
95
+ grace_period: Optional[pulumi.Input[builtins.str]] = None,
96
+ last_updated: Optional[pulumi.Input[builtins.int]] = None,
97
+ last_updated_by: Optional[pulumi.Input[builtins.str]] = None,
98
+ lookback_period: Optional[pulumi.Input[builtins.str]] = None,
99
+ ruleset_limit: Optional[pulumi.Input[builtins.int]] = None,
100
+ version: Optional[pulumi.Input[builtins.str]] = None):
101
+ """
102
+ Input properties used for looking up and filtering Settings resources.
103
+ :param pulumi.Input[builtins.int] created: Timestamp of when the automated archival setting was created
104
+ :param pulumi.Input[builtins.str] creator: ID of the creator of the automated archival setting
105
+ :param pulumi.Input[builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
106
+ :param pulumi.Input[builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
107
+ :param pulumi.Input[builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
108
+ :param pulumi.Input[builtins.str] last_updated_by: ID of user who last updated the automated archival setting
109
+ :param pulumi.Input[builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
110
+ :param pulumi.Input[builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
111
+ :param pulumi.Input[builtins.str] version: Version of the automated archival setting
112
+ """
113
+ if created is not None:
114
+ pulumi.set(__self__, "created", created)
115
+ if creator is not None:
116
+ pulumi.set(__self__, "creator", creator)
117
+ if enabled is not None:
118
+ pulumi.set(__self__, "enabled", enabled)
119
+ if grace_period is not None:
120
+ pulumi.set(__self__, "grace_period", grace_period)
121
+ if last_updated is not None:
122
+ pulumi.set(__self__, "last_updated", last_updated)
123
+ if last_updated_by is not None:
124
+ pulumi.set(__self__, "last_updated_by", last_updated_by)
125
+ if lookback_period is not None:
126
+ pulumi.set(__self__, "lookback_period", lookback_period)
127
+ if ruleset_limit is not None:
128
+ pulumi.set(__self__, "ruleset_limit", ruleset_limit)
129
+ if version is not None:
130
+ pulumi.set(__self__, "version", version)
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def created(self) -> Optional[pulumi.Input[builtins.int]]:
135
+ """
136
+ Timestamp of when the automated archival setting was created
137
+ """
138
+ return pulumi.get(self, "created")
139
+
140
+ @created.setter
141
+ def created(self, value: Optional[pulumi.Input[builtins.int]]):
142
+ pulumi.set(self, "created", value)
143
+
144
+ @property
145
+ @pulumi.getter
146
+ def creator(self) -> Optional[pulumi.Input[builtins.str]]:
147
+ """
148
+ ID of the creator of the automated archival setting
149
+ """
150
+ return pulumi.get(self, "creator")
151
+
152
+ @creator.setter
153
+ def creator(self, value: Optional[pulumi.Input[builtins.str]]):
154
+ pulumi.set(self, "creator", value)
155
+
156
+ @property
157
+ @pulumi.getter
158
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
159
+ """
160
+ Whether the automated archival is enabled for this organization or not
161
+ """
162
+ return pulumi.get(self, "enabled")
163
+
164
+ @enabled.setter
165
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
166
+ pulumi.set(self, "enabled", value)
167
+
168
+ @property
169
+ @pulumi.getter(name="gracePeriod")
170
+ def grace_period(self) -> Optional[pulumi.Input[builtins.str]]:
171
+ """
172
+ Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
173
+ """
174
+ return pulumi.get(self, "grace_period")
175
+
176
+ @grace_period.setter
177
+ def grace_period(self, value: Optional[pulumi.Input[builtins.str]]):
178
+ pulumi.set(self, "grace_period", value)
179
+
180
+ @property
181
+ @pulumi.getter(name="lastUpdated")
182
+ def last_updated(self) -> Optional[pulumi.Input[builtins.int]]:
183
+ """
184
+ Timestamp of when the automated archival setting was last updated
185
+ """
186
+ return pulumi.get(self, "last_updated")
187
+
188
+ @last_updated.setter
189
+ def last_updated(self, value: Optional[pulumi.Input[builtins.int]]):
190
+ pulumi.set(self, "last_updated", value)
191
+
192
+ @property
193
+ @pulumi.getter(name="lastUpdatedBy")
194
+ def last_updated_by(self) -> Optional[pulumi.Input[builtins.str]]:
195
+ """
196
+ ID of user who last updated the automated archival setting
197
+ """
198
+ return pulumi.get(self, "last_updated_by")
199
+
200
+ @last_updated_by.setter
201
+ def last_updated_by(self, value: Optional[pulumi.Input[builtins.str]]):
202
+ pulumi.set(self, "last_updated_by", value)
203
+
204
+ @property
205
+ @pulumi.getter(name="lookbackPeriod")
206
+ def lookback_period(self) -> Optional[pulumi.Input[builtins.str]]:
207
+ """
208
+ This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
209
+ """
210
+ return pulumi.get(self, "lookback_period")
211
+
212
+ @lookback_period.setter
213
+ def lookback_period(self, value: Optional[pulumi.Input[builtins.str]]):
214
+ pulumi.set(self, "lookback_period", value)
215
+
216
+ @property
217
+ @pulumi.getter(name="rulesetLimit")
218
+ def ruleset_limit(self) -> Optional[pulumi.Input[builtins.int]]:
219
+ """
220
+ Org limit for the number of rulesets that can be created
221
+ """
222
+ return pulumi.get(self, "ruleset_limit")
223
+
224
+ @ruleset_limit.setter
225
+ def ruleset_limit(self, value: Optional[pulumi.Input[builtins.int]]):
226
+ pulumi.set(self, "ruleset_limit", value)
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def version(self) -> Optional[pulumi.Input[builtins.str]]:
231
+ """
232
+ Version of the automated archival setting
233
+ """
234
+ return pulumi.get(self, "version")
235
+
236
+ @version.setter
237
+ def version(self, value: Optional[pulumi.Input[builtins.str]]):
238
+ pulumi.set(self, "version", value)
239
+
240
+
241
+ @pulumi.type_token("signalfx:automatedarchival/settings:Settings")
242
+ class Settings(pulumi.CustomResource):
243
+ @overload
244
+ def __init__(__self__,
245
+ resource_name: str,
246
+ opts: Optional[pulumi.ResourceOptions] = None,
247
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
248
+ grace_period: Optional[pulumi.Input[builtins.str]] = None,
249
+ lookback_period: Optional[pulumi.Input[builtins.str]] = None,
250
+ ruleset_limit: Optional[pulumi.Input[builtins.int]] = None,
251
+ __props__=None):
252
+ """
253
+ Create a Settings resource with the given unique name, props, and options.
254
+ :param str resource_name: The name of the resource.
255
+ :param pulumi.ResourceOptions opts: Options for the resource.
256
+ :param pulumi.Input[builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
257
+ :param pulumi.Input[builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
258
+ :param pulumi.Input[builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
259
+ :param pulumi.Input[builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
260
+ """
261
+ ...
262
+ @overload
263
+ def __init__(__self__,
264
+ resource_name: str,
265
+ args: SettingsArgs,
266
+ opts: Optional[pulumi.ResourceOptions] = None):
267
+ """
268
+ Create a Settings resource with the given unique name, props, and options.
269
+ :param str resource_name: The name of the resource.
270
+ :param SettingsArgs args: The arguments to use to populate this resource's properties.
271
+ :param pulumi.ResourceOptions opts: Options for the resource.
272
+ """
273
+ ...
274
+ def __init__(__self__, resource_name: str, *args, **kwargs):
275
+ resource_args, opts = _utilities.get_resource_args_opts(SettingsArgs, pulumi.ResourceOptions, *args, **kwargs)
276
+ if resource_args is not None:
277
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
278
+ else:
279
+ __self__._internal_init(resource_name, *args, **kwargs)
280
+
281
+ def _internal_init(__self__,
282
+ resource_name: str,
283
+ opts: Optional[pulumi.ResourceOptions] = None,
284
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
285
+ grace_period: Optional[pulumi.Input[builtins.str]] = None,
286
+ lookback_period: Optional[pulumi.Input[builtins.str]] = None,
287
+ ruleset_limit: Optional[pulumi.Input[builtins.int]] = None,
288
+ __props__=None):
289
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
290
+ if not isinstance(opts, pulumi.ResourceOptions):
291
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
292
+ if opts.id is None:
293
+ if __props__ is not None:
294
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
295
+ __props__ = SettingsArgs.__new__(SettingsArgs)
296
+
297
+ if enabled is None and not opts.urn:
298
+ raise TypeError("Missing required property 'enabled'")
299
+ __props__.__dict__["enabled"] = enabled
300
+ if grace_period is None and not opts.urn:
301
+ raise TypeError("Missing required property 'grace_period'")
302
+ __props__.__dict__["grace_period"] = grace_period
303
+ if lookback_period is None and not opts.urn:
304
+ raise TypeError("Missing required property 'lookback_period'")
305
+ __props__.__dict__["lookback_period"] = lookback_period
306
+ __props__.__dict__["ruleset_limit"] = ruleset_limit
307
+ __props__.__dict__["created"] = None
308
+ __props__.__dict__["creator"] = None
309
+ __props__.__dict__["last_updated"] = None
310
+ __props__.__dict__["last_updated_by"] = None
311
+ __props__.__dict__["version"] = None
312
+ super(Settings, __self__).__init__(
313
+ 'signalfx:automatedarchival/settings:Settings',
314
+ resource_name,
315
+ __props__,
316
+ opts)
317
+
318
+ @staticmethod
319
+ def get(resource_name: str,
320
+ id: pulumi.Input[str],
321
+ opts: Optional[pulumi.ResourceOptions] = None,
322
+ created: Optional[pulumi.Input[builtins.int]] = None,
323
+ creator: Optional[pulumi.Input[builtins.str]] = None,
324
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
325
+ grace_period: Optional[pulumi.Input[builtins.str]] = None,
326
+ last_updated: Optional[pulumi.Input[builtins.int]] = None,
327
+ last_updated_by: Optional[pulumi.Input[builtins.str]] = None,
328
+ lookback_period: Optional[pulumi.Input[builtins.str]] = None,
329
+ ruleset_limit: Optional[pulumi.Input[builtins.int]] = None,
330
+ version: Optional[pulumi.Input[builtins.str]] = None) -> 'Settings':
331
+ """
332
+ Get an existing Settings resource's state with the given name, id, and optional extra
333
+ properties used to qualify the lookup.
334
+
335
+ :param str resource_name: The unique name of the resulting resource.
336
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
337
+ :param pulumi.ResourceOptions opts: Options for the resource.
338
+ :param pulumi.Input[builtins.int] created: Timestamp of when the automated archival setting was created
339
+ :param pulumi.Input[builtins.str] creator: ID of the creator of the automated archival setting
340
+ :param pulumi.Input[builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
341
+ :param pulumi.Input[builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
342
+ :param pulumi.Input[builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
343
+ :param pulumi.Input[builtins.str] last_updated_by: ID of user who last updated the automated archival setting
344
+ :param pulumi.Input[builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
345
+ :param pulumi.Input[builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
346
+ :param pulumi.Input[builtins.str] version: Version of the automated archival setting
347
+ """
348
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
349
+
350
+ __props__ = _SettingsState.__new__(_SettingsState)
351
+
352
+ __props__.__dict__["created"] = created
353
+ __props__.__dict__["creator"] = creator
354
+ __props__.__dict__["enabled"] = enabled
355
+ __props__.__dict__["grace_period"] = grace_period
356
+ __props__.__dict__["last_updated"] = last_updated
357
+ __props__.__dict__["last_updated_by"] = last_updated_by
358
+ __props__.__dict__["lookback_period"] = lookback_period
359
+ __props__.__dict__["ruleset_limit"] = ruleset_limit
360
+ __props__.__dict__["version"] = version
361
+ return Settings(resource_name, opts=opts, __props__=__props__)
362
+
363
+ @property
364
+ @pulumi.getter
365
+ def created(self) -> pulumi.Output[builtins.int]:
366
+ """
367
+ Timestamp of when the automated archival setting was created
368
+ """
369
+ return pulumi.get(self, "created")
370
+
371
+ @property
372
+ @pulumi.getter
373
+ def creator(self) -> pulumi.Output[builtins.str]:
374
+ """
375
+ ID of the creator of the automated archival setting
376
+ """
377
+ return pulumi.get(self, "creator")
378
+
379
+ @property
380
+ @pulumi.getter
381
+ def enabled(self) -> pulumi.Output[builtins.bool]:
382
+ """
383
+ Whether the automated archival is enabled for this organization or not
384
+ """
385
+ return pulumi.get(self, "enabled")
386
+
387
+ @property
388
+ @pulumi.getter(name="gracePeriod")
389
+ def grace_period(self) -> pulumi.Output[builtins.str]:
390
+ """
391
+ Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
392
+ """
393
+ return pulumi.get(self, "grace_period")
394
+
395
+ @property
396
+ @pulumi.getter(name="lastUpdated")
397
+ def last_updated(self) -> pulumi.Output[builtins.int]:
398
+ """
399
+ Timestamp of when the automated archival setting was last updated
400
+ """
401
+ return pulumi.get(self, "last_updated")
402
+
403
+ @property
404
+ @pulumi.getter(name="lastUpdatedBy")
405
+ def last_updated_by(self) -> pulumi.Output[builtins.str]:
406
+ """
407
+ ID of user who last updated the automated archival setting
408
+ """
409
+ return pulumi.get(self, "last_updated_by")
410
+
411
+ @property
412
+ @pulumi.getter(name="lookbackPeriod")
413
+ def lookback_period(self) -> pulumi.Output[builtins.str]:
414
+ """
415
+ This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
416
+ """
417
+ return pulumi.get(self, "lookback_period")
418
+
419
+ @property
420
+ @pulumi.getter(name="rulesetLimit")
421
+ def ruleset_limit(self) -> pulumi.Output[Optional[builtins.int]]:
422
+ """
423
+ Org limit for the number of rulesets that can be created
424
+ """
425
+ return pulumi.get(self, "ruleset_limit")
426
+
427
+ @property
428
+ @pulumi.getter
429
+ def version(self) -> pulumi.Output[builtins.str]:
430
+ """
431
+ Version of the automated archival setting
432
+ """
433
+ return pulumi.get(self, "version")
434
+
@@ -36,7 +36,8 @@ class IntegrationArgs:
36
36
  named_token: Optional[pulumi.Input[builtins.str]] = None,
37
37
  poll_rate: Optional[pulumi.Input[builtins.int]] = None,
38
38
  resource_filter_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationResourceFilterRuleArgs']]]] = None,
39
- sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None):
39
+ sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None,
40
+ use_batch_api: Optional[pulumi.Input[builtins.bool]] = None):
40
41
  """
41
42
  The set of arguments for constructing a Integration resource.
42
43
  :param pulumi.Input[builtins.str] app_id: Azure application ID for the Splunk Observability Cloud app. To learn how to get this ID, see the topic [Connect to Microsoft Azure](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/azure/azure.html) in the product documentation.
@@ -54,6 +55,7 @@ class IntegrationArgs:
54
55
  :param pulumi.Input[builtins.int] poll_rate: Azure poll rate (in seconds). Value between `60` and `600`. Default: `300`.
55
56
  :param pulumi.Input[Sequence[pulumi.Input['IntegrationResourceFilterRuleArgs']]] resource_filter_rules: List of rules for filtering Azure resources by their tags.
56
57
  :param pulumi.Input[builtins.bool] sync_guest_os_namespaces: If enabled, Splunk Observability Cloud will try to sync additional namespaces for VMs (including VMs in scale sets): telegraf/mem, telegraf/cpu, azure.vm.windows.guest (these are namespaces recommended by Azure when enabling their Diagnostic Extension). If there are no metrics there, no new datapoints will be ingested. Defaults to false.
58
+ :param pulumi.Input[builtins.bool] use_batch_api: If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
57
59
  """
58
60
  pulumi.set(__self__, "app_id", app_id)
59
61
  pulumi.set(__self__, "enabled", enabled)
@@ -79,6 +81,8 @@ class IntegrationArgs:
79
81
  pulumi.set(__self__, "resource_filter_rules", resource_filter_rules)
80
82
  if sync_guest_os_namespaces is not None:
81
83
  pulumi.set(__self__, "sync_guest_os_namespaces", sync_guest_os_namespaces)
84
+ if use_batch_api is not None:
85
+ pulumi.set(__self__, "use_batch_api", use_batch_api)
82
86
 
83
87
  @property
84
88
  @pulumi.getter(name="appId")
@@ -260,6 +264,18 @@ class IntegrationArgs:
260
264
  def sync_guest_os_namespaces(self, value: Optional[pulumi.Input[builtins.bool]]):
261
265
  pulumi.set(self, "sync_guest_os_namespaces", value)
262
266
 
267
+ @property
268
+ @pulumi.getter(name="useBatchApi")
269
+ def use_batch_api(self) -> Optional[pulumi.Input[builtins.bool]]:
270
+ """
271
+ If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
272
+ """
273
+ return pulumi.get(self, "use_batch_api")
274
+
275
+ @use_batch_api.setter
276
+ def use_batch_api(self, value: Optional[pulumi.Input[builtins.bool]]):
277
+ pulumi.set(self, "use_batch_api", value)
278
+
263
279
 
264
280
  @pulumi.input_type
265
281
  class _IntegrationState:
@@ -278,7 +294,8 @@ class _IntegrationState:
278
294
  services: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
279
295
  subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
280
296
  sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None,
281
- tenant_id: Optional[pulumi.Input[builtins.str]] = None):
297
+ tenant_id: Optional[pulumi.Input[builtins.str]] = None,
298
+ use_batch_api: Optional[pulumi.Input[builtins.bool]] = None):
282
299
  """
283
300
  Input properties used for looking up and filtering Integration resources.
284
301
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_services: Additional Azure resource types that you want to sync with Observability Cloud.
@@ -296,6 +313,7 @@ class _IntegrationState:
296
313
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subscriptions: List of Azure subscriptions that Splunk Observability Cloud should monitor.
297
314
  :param pulumi.Input[builtins.bool] sync_guest_os_namespaces: If enabled, Splunk Observability Cloud will try to sync additional namespaces for VMs (including VMs in scale sets): telegraf/mem, telegraf/cpu, azure.vm.windows.guest (these are namespaces recommended by Azure when enabling their Diagnostic Extension). If there are no metrics there, no new datapoints will be ingested. Defaults to false.
298
315
  :param pulumi.Input[builtins.str] tenant_id: Azure ID of the Azure tenant. To learn how to get this ID, see the topic [Connect to Microsoft Azure](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/azure/azure.html) in the product documentation.
316
+ :param pulumi.Input[builtins.bool] use_batch_api: If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
299
317
  """
300
318
  if additional_services is not None:
301
319
  pulumi.set(__self__, "additional_services", additional_services)
@@ -327,6 +345,8 @@ class _IntegrationState:
327
345
  pulumi.set(__self__, "sync_guest_os_namespaces", sync_guest_os_namespaces)
328
346
  if tenant_id is not None:
329
347
  pulumi.set(__self__, "tenant_id", tenant_id)
348
+ if use_batch_api is not None:
349
+ pulumi.set(__self__, "use_batch_api", use_batch_api)
330
350
 
331
351
  @property
332
352
  @pulumi.getter(name="additionalServices")
@@ -508,6 +528,18 @@ class _IntegrationState:
508
528
  def tenant_id(self, value: Optional[pulumi.Input[builtins.str]]):
509
529
  pulumi.set(self, "tenant_id", value)
510
530
 
531
+ @property
532
+ @pulumi.getter(name="useBatchApi")
533
+ def use_batch_api(self) -> Optional[pulumi.Input[builtins.bool]]:
534
+ """
535
+ If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
536
+ """
537
+ return pulumi.get(self, "use_batch_api")
538
+
539
+ @use_batch_api.setter
540
+ def use_batch_api(self, value: Optional[pulumi.Input[builtins.bool]]):
541
+ pulumi.set(self, "use_batch_api", value)
542
+
511
543
 
512
544
  @pulumi.type_token("signalfx:azure/integration:Integration")
513
545
  class Integration(pulumi.CustomResource):
@@ -530,6 +562,7 @@ class Integration(pulumi.CustomResource):
530
562
  subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
531
563
  sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None,
532
564
  tenant_id: Optional[pulumi.Input[builtins.str]] = None,
565
+ use_batch_api: Optional[pulumi.Input[builtins.bool]] = None,
533
566
  __props__=None):
534
567
  """
535
568
  Splunk Observability Cloud Azure integrations. For help with this integration see [Monitoring Microsoft Azure](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/azure/azure.html).
@@ -590,6 +623,7 @@ class Integration(pulumi.CustomResource):
590
623
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subscriptions: List of Azure subscriptions that Splunk Observability Cloud should monitor.
591
624
  :param pulumi.Input[builtins.bool] sync_guest_os_namespaces: If enabled, Splunk Observability Cloud will try to sync additional namespaces for VMs (including VMs in scale sets): telegraf/mem, telegraf/cpu, azure.vm.windows.guest (these are namespaces recommended by Azure when enabling their Diagnostic Extension). If there are no metrics there, no new datapoints will be ingested. Defaults to false.
592
625
  :param pulumi.Input[builtins.str] tenant_id: Azure ID of the Azure tenant. To learn how to get this ID, see the topic [Connect to Microsoft Azure](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/azure/azure.html) in the product documentation.
626
+ :param pulumi.Input[builtins.bool] use_batch_api: If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
593
627
  """
594
628
  ...
595
629
  @overload
@@ -669,6 +703,7 @@ class Integration(pulumi.CustomResource):
669
703
  subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
670
704
  sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None,
671
705
  tenant_id: Optional[pulumi.Input[builtins.str]] = None,
706
+ use_batch_api: Optional[pulumi.Input[builtins.bool]] = None,
672
707
  __props__=None):
673
708
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
674
709
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -705,6 +740,7 @@ class Integration(pulumi.CustomResource):
705
740
  if tenant_id is None and not opts.urn:
706
741
  raise TypeError("Missing required property 'tenant_id'")
707
742
  __props__.__dict__["tenant_id"] = tenant_id
743
+ __props__.__dict__["use_batch_api"] = use_batch_api
708
744
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["appId", "environment", "secretKey"])
709
745
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
710
746
  super(Integration, __self__).__init__(
@@ -731,7 +767,8 @@ class Integration(pulumi.CustomResource):
731
767
  services: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
732
768
  subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
733
769
  sync_guest_os_namespaces: Optional[pulumi.Input[builtins.bool]] = None,
734
- tenant_id: Optional[pulumi.Input[builtins.str]] = None) -> 'Integration':
770
+ tenant_id: Optional[pulumi.Input[builtins.str]] = None,
771
+ use_batch_api: Optional[pulumi.Input[builtins.bool]] = None) -> 'Integration':
735
772
  """
736
773
  Get an existing Integration resource's state with the given name, id, and optional extra
737
774
  properties used to qualify the lookup.
@@ -754,6 +791,7 @@ class Integration(pulumi.CustomResource):
754
791
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subscriptions: List of Azure subscriptions that Splunk Observability Cloud should monitor.
755
792
  :param pulumi.Input[builtins.bool] sync_guest_os_namespaces: If enabled, Splunk Observability Cloud will try to sync additional namespaces for VMs (including VMs in scale sets): telegraf/mem, telegraf/cpu, azure.vm.windows.guest (these are namespaces recommended by Azure when enabling their Diagnostic Extension). If there are no metrics there, no new datapoints will be ingested. Defaults to false.
756
793
  :param pulumi.Input[builtins.str] tenant_id: Azure ID of the Azure tenant. To learn how to get this ID, see the topic [Connect to Microsoft Azure](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/azure/azure.html) in the product documentation.
794
+ :param pulumi.Input[builtins.bool] use_batch_api: If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
757
795
  """
758
796
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
759
797
 
@@ -774,6 +812,7 @@ class Integration(pulumi.CustomResource):
774
812
  __props__.__dict__["subscriptions"] = subscriptions
775
813
  __props__.__dict__["sync_guest_os_namespaces"] = sync_guest_os_namespaces
776
814
  __props__.__dict__["tenant_id"] = tenant_id
815
+ __props__.__dict__["use_batch_api"] = use_batch_api
777
816
  return Integration(resource_name, opts=opts, __props__=__props__)
778
817
 
779
818
  @property
@@ -896,3 +935,11 @@ class Integration(pulumi.CustomResource):
896
935
  """
897
936
  return pulumi.get(self, "tenant_id")
898
937
 
938
+ @property
939
+ @pulumi.getter(name="useBatchApi")
940
+ def use_batch_api(self) -> pulumi.Output[Optional[builtins.bool]]:
941
+ """
942
+ If enabled, Splunk Observability Cloud will collect datapoints using Azure Metrics Batch API. Consider this option if you are synchronizing high loads of data and you want to avoid throttling issues. Contrary to the default Metrics List API, Metrics Batch API is paid. Refer to [Azure documentation](https://azure.microsoft.com/en-us/pricing/details/api-management/) for pricing info.
943
+ """
944
+ return pulumi.get(self, "use_batch_api")
945
+
@@ -38,7 +38,7 @@ Password
38
38
 
39
39
  featurePreview: Optional[str]
40
40
  """
41
- Allows for users to opt-in to new features that are considered experimental or not ready for general availabilty yet.
41
+ Allows for users to opt-in to new features that are considered experimental or not ready for general availability yet.
42
42
  """
43
43
 
44
44
  organizationId: Optional[str]
@@ -53,7 +53,7 @@ class _ExportableConfig(types.ModuleType):
53
53
  @property
54
54
  def feature_preview(self) -> Optional[str]:
55
55
  """
56
- Allows for users to opt-in to new features that are considered experimental or not ready for general availabilty yet.
56
+ Allows for users to opt-in to new features that are considered experimental or not ready for general availability yet.
57
57
  """
58
58
  return __config__.get('featurePreview')
59
59
 
@@ -40,7 +40,7 @@ class ProviderArgs:
40
40
  :param pulumi.Input[builtins.str] custom_app_url: Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
41
41
  :param pulumi.Input[builtins.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
42
42
  Password
43
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.bool]]] feature_preview: Allows for users to opt-in to new features that are considered experimental or not ready for general availabilty yet.
43
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.bool]]] feature_preview: Allows for users to opt-in to new features that are considered experimental or not ready for general availability yet.
44
44
  :param pulumi.Input[builtins.str] organization_id: Required if the user is configured to be part of multiple organizations
45
45
  :param pulumi.Input[builtins.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
46
46
  Password
@@ -56,6 +56,9 @@ class ProviderArgs:
56
56
  pulumi.set(__self__, "api_url", api_url)
57
57
  if auth_token is not None:
58
58
  pulumi.set(__self__, "auth_token", auth_token)
59
+ if custom_app_url is not None:
60
+ warnings.warn("""Remove the definition, the provider will automatically populate the custom app URL as needed""", DeprecationWarning)
61
+ pulumi.log.warn("""custom_app_url is deprecated: Remove the definition, the provider will automatically populate the custom app URL as needed""")
59
62
  if custom_app_url is not None:
60
63
  pulumi.set(__self__, "custom_app_url", custom_app_url)
61
64
  if email is not None:
@@ -105,6 +108,7 @@ class ProviderArgs:
105
108
 
106
109
  @property
107
110
  @pulumi.getter(name="customAppUrl")
111
+ @_utilities.deprecated("""Remove the definition, the provider will automatically populate the custom app URL as needed""")
108
112
  def custom_app_url(self) -> Optional[pulumi.Input[builtins.str]]:
109
113
  """
110
114
  Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
@@ -132,7 +136,7 @@ class ProviderArgs:
132
136
  @pulumi.getter(name="featurePreview")
133
137
  def feature_preview(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.bool]]]]:
134
138
  """
135
- Allows for users to opt-in to new features that are considered experimental or not ready for general availabilty yet.
139
+ Allows for users to opt-in to new features that are considered experimental or not ready for general availability yet.
136
140
  """
137
141
  return pulumi.get(self, "feature_preview")
138
142
 
@@ -272,7 +276,7 @@ class Provider(pulumi.ProviderResource):
272
276
  :param pulumi.Input[builtins.str] custom_app_url: Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
273
277
  :param pulumi.Input[builtins.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
274
278
  Password
275
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.bool]]] feature_preview: Allows for users to opt-in to new features that are considered experimental or not ready for general availabilty yet.
279
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.bool]]] feature_preview: Allows for users to opt-in to new features that are considered experimental or not ready for general availability yet.
276
280
  :param pulumi.Input[builtins.str] organization_id: Required if the user is configured to be part of multiple organizations
277
281
  :param pulumi.Input[builtins.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
278
282
  Password
@@ -372,6 +376,7 @@ class Provider(pulumi.ProviderResource):
372
376
 
373
377
  @property
374
378
  @pulumi.getter(name="customAppUrl")
379
+ @_utilities.deprecated("""Remove the definition, the provider will automatically populate the custom app URL as needed""")
375
380
  def custom_app_url(self) -> pulumi.Output[Optional[builtins.str]]:
376
381
  """
377
382
  Application URL for your Splunk Observability Cloud org, often customized for organizations using SSO
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "signalfx",
4
- "version": "7.14.0-alpha.1752906964"
4
+ "version": "7.15.0-alpha.1753338898"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_signalfx
3
- Version: 7.14.0a1752906964
3
+ Version: 7.15.0a1753338898
4
4
  Summary: A Pulumi package for creating and managing SignalFx resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,4 +1,4 @@
1
- pulumi_signalfx/__init__.py,sha256=UIg4yBRBd8wO3ihfZqfhe5zK6B-0dhRSvJp0ubhcrzc,7732
1
+ pulumi_signalfx/__init__.py,sha256=Vvb2GlIAUHm4F97W1lxsZ9EBsh9N_1HJpAYRPiSucFQ,8332
2
2
  pulumi_signalfx/_inputs.py,sha256=Ss9oZgunVh3A7X935i10ZgsbPK-qfW5Ed3kAnHcF3n0,255415
3
3
  pulumi_signalfx/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
4
4
  pulumi_signalfx/alert_muting_rule.py,sha256=YJkv-3sNZWjz1aMR1f5oQSAdUvk0Ts9mMud2j-Ts4l0,23463
@@ -14,8 +14,8 @@ pulumi_signalfx/metric_ruleset.py,sha256=8iRBoA5MVwTD6o185ccp73SI1bFDQM2b98RVCwK
14
14
  pulumi_signalfx/org_token.py,sha256=iBqIUpNgCQk3ja28p6MoV2j8UTt6tXEZMqAOE3DrE30,24200
15
15
  pulumi_signalfx/organization_members.py,sha256=QgK6Kn1kwkVw4BjyWmCCAaLzAP87fXi3fwqDCsa1jMg,3798
16
16
  pulumi_signalfx/outputs.py,sha256=utMbnypjwLZxtxSPuRr-AfjNIsn25qrjLHMG7WsJ_VQ,176448
17
- pulumi_signalfx/provider.py,sha256=XtOBgmdfY6N1walg_P8qbtWV7snTUY-wfHlw8CvffPk,22333
18
- pulumi_signalfx/pulumi-plugin.json,sha256=51Etv22D9YOaHVBTGsI8cZfXH1_VbR5DRlJTzhtRMIA,85
17
+ pulumi_signalfx/provider.py,sha256=czWvp-emuCfjYnWJKfqpl_naPrjVZmpL43NgeNJ5drs,22933
18
+ pulumi_signalfx/pulumi-plugin.json,sha256=9jWia2d1BR0TAELhUKN4ffJEN0RTAJxHtzF-QcT3Xb4,85
19
19
  pulumi_signalfx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  pulumi_signalfx/single_value_chart.py,sha256=BbnKeQIG4euFpT3vc-iUkDvCkwcPeVn1oUf1NUVEDQQ,44357
21
21
  pulumi_signalfx/slo.py,sha256=dSpTrkj-MUUCsyFCfHcY47OzVtpoLgvvIbMcIZlnSSg,19611
@@ -25,6 +25,11 @@ pulumi_signalfx/team.py,sha256=g0Ye8bbSFi3MXj6_yM5UddgMXsl_1nA5KK2hgy6eCCc,29147
25
25
  pulumi_signalfx/text_chart.py,sha256=2IU4gmMdp4UuYql4onsk-3vRmMBRcjoIZBy_oNjxqb0,14830
26
26
  pulumi_signalfx/time_chart.py,sha256=vVc3trJXrajzIFskujixyZjDdJ0Rw3o_PufsfoImmjk,81817
27
27
  pulumi_signalfx/webhook_integration.py,sha256=cF93Sej001VUsPzc1_xouwwwmt2Ks2yCEX1yZd7BYFQ,20331
28
+ pulumi_signalfx/automatedarchival/__init__.py,sha256=srKigoRr7syymO_Fsk59tB16y_bwxKnmKWh4DhniY4U,365
29
+ pulumi_signalfx/automatedarchival/_inputs.py,sha256=y1Oh5v_Bw_yruKkXrN7SQ7B2_x29hoX2c8BhT55OgW4,4840
30
+ pulumi_signalfx/automatedarchival/exempt_metric.py,sha256=0ZNfgoPt7Z3tgUmpNkuyDKrhP7h1euyBhh_Trz_J_h8,7204
31
+ pulumi_signalfx/automatedarchival/outputs.py,sha256=FbwvNOY8cji6mG9yUcVR86Puw64GoFjjESuAcqQejK0,3679
32
+ pulumi_signalfx/automatedarchival/settings.py,sha256=7etjEY1RWXbTcm2O-d0TpV2KqD5VrJDYEtfjXT1cDN4,22015
28
33
  pulumi_signalfx/aws/__init__.py,sha256=7W9-Z580mxhPWo0FMl8DZxWEzCqIIwfiQcWci7SwH60,408
29
34
  pulumi_signalfx/aws/_inputs.py,sha256=B2t2OfMrtEu5QoFYdwkGn6iXTCPV_2j8xBaEQEtAFd8,14915
30
35
  pulumi_signalfx/aws/external_integration.py,sha256=hGKtH01cxTXDJoQrKi3qVuA-GulmXvlgBLP3sdN0NyY,8892
@@ -33,11 +38,11 @@ pulumi_signalfx/aws/outputs.py,sha256=SHR_QT2ZTDmDM0hcsNoYQc7JEisLmso_Zyau6SxTdR
33
38
  pulumi_signalfx/aws/token_integration.py,sha256=SdiP0QgZHJW0V6QONGituZOI6kFcueD4vtP0VlEUHDc,12330
34
39
  pulumi_signalfx/azure/__init__.py,sha256=EBCXI-zv9CtGo8KbFdumzmjQvDA-1h3KaH9UUwhrObU,339
35
40
  pulumi_signalfx/azure/_inputs.py,sha256=wv-9JvcnC2HNBZfWBVC9X9YYKJKY4zOIvy8sNJYiK1M,4532
36
- pulumi_signalfx/azure/integration.py,sha256=s7mPcIOgo_MGaTxjiUU-EJ_7DX6PhVsAZ9XuBK2Dqtk,56773
41
+ pulumi_signalfx/azure/integration.py,sha256=AbhHat6dXmxSWeyOGXYRrqGacSUigWxPzV_w9IGEu6I,61333
37
42
  pulumi_signalfx/azure/outputs.py,sha256=xBDdL0EHylvijhI852W3jReIE_BXOrMjL2zZW3XmDcw,3366
38
43
  pulumi_signalfx/config/__init__.py,sha256=LBsoZbCKMHDFo-5RJPY0lRzMsShB1weBQPxL9RQBFtY,283
39
- pulumi_signalfx/config/__init__.pyi,sha256=pkXZ2mIqRMS_fdpP94FGYO5o6l86_zIyg6cow2gGXnM,2162
40
- pulumi_signalfx/config/vars.py,sha256=HMMNrWqyf1IK_BqG4DCuziQql7B2xXBkiauA7WrRHMo,3617
44
+ pulumi_signalfx/config/__init__.pyi,sha256=nH-mGHw33W605fZmr1jXWoKUtxUbT_4SnUOMdn81Czg,2163
45
+ pulumi_signalfx/config/vars.py,sha256=f9FORDJjCfyQG20Wu8HTPlDgw_2q03mz8oopTrbEchY,3618
41
46
  pulumi_signalfx/gcp/__init__.py,sha256=EBCXI-zv9CtGo8KbFdumzmjQvDA-1h3KaH9UUwhrObU,339
42
47
  pulumi_signalfx/gcp/_inputs.py,sha256=1cfZ4jdtyJ0UWoRWgZO1irYogW8lgYPbJEcE3nRErs8,2993
43
48
  pulumi_signalfx/gcp/integration.py,sha256=vbhHhmra1iyjiAcA9y1R_ly3pTtfXGLUJrtg5Z8W1Mc,44587
@@ -60,7 +65,7 @@ pulumi_signalfx/slack/__init__.py,sha256=DYyg7LUiNZ6olmtz3R2aRiMH55ZJ_TwmjWJFS4E
60
65
  pulumi_signalfx/slack/integration.py,sha256=zKMBV967M2fsF4JimSSaTlgYyVQHKvYq_ABdNI5Y75M,11042
61
66
  pulumi_signalfx/victorops/__init__.py,sha256=DYyg7LUiNZ6olmtz3R2aRiMH55ZJ_TwmjWJFS4EhcXI,294
62
67
  pulumi_signalfx/victorops/integration.py,sha256=PS57YjMVfHNj_Jc6Qoab99jbATwuIg9eXMH4Omcx03k,10891
63
- pulumi_signalfx-7.14.0a1752906964.dist-info/METADATA,sha256=ZxGqb5ZMjCLWvjl6UxjQ6ghjABGRNJzZr7Co7LemnL0,3094
64
- pulumi_signalfx-7.14.0a1752906964.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
65
- pulumi_signalfx-7.14.0a1752906964.dist-info/top_level.txt,sha256=96zW1Lm-bEkyaNlSwcR6g0cPvusFulK_kulBOfoN6DI,16
66
- pulumi_signalfx-7.14.0a1752906964.dist-info/RECORD,,
68
+ pulumi_signalfx-7.15.0a1753338898.dist-info/METADATA,sha256=vmOvTxyBL4oYXeNbQzJbweo9aw-cMD3moCSPFsUciB0,3094
69
+ pulumi_signalfx-7.15.0a1753338898.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
70
+ pulumi_signalfx-7.15.0a1753338898.dist-info/top_level.txt,sha256=96zW1Lm-bEkyaNlSwcR6g0cPvusFulK_kulBOfoN6DI,16
71
+ pulumi_signalfx-7.15.0a1753338898.dist-info/RECORD,,