signalfx.automatedarchival.Settings
Explore with Pulumi AI
Create Settings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Settings(name: string, args: SettingsArgs, opts?: CustomResourceOptions);
@overload
def Settings(resource_name: str,
args: SettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Settings(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
grace_period: Optional[str] = None,
lookback_period: Optional[str] = None,
ruleset_limit: Optional[int] = None)
func NewSettings(ctx *Context, name string, args SettingsArgs, opts ...ResourceOption) (*Settings, error)
public Settings(string name, SettingsArgs args, CustomResourceOptions? opts = null)
public Settings(String name, SettingsArgs args)
public Settings(String name, SettingsArgs args, CustomResourceOptions options)
type: signalfx:automatedarchival:Settings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var settingsResource = new SignalFx.AutomatedArchival.Settings("settingsResource", new()
{
Enabled = false,
GracePeriod = "string",
LookbackPeriod = "string",
RulesetLimit = 0,
});
example, err := automatedarchival.NewSettings(ctx, "settingsResource", &automatedarchival.SettingsArgs{
Enabled: pulumi.Bool(false),
GracePeriod: pulumi.String("string"),
LookbackPeriod: pulumi.String("string"),
RulesetLimit: pulumi.Int(0),
})
var settingsResource = new Settings("settingsResource", SettingsArgs.builder()
.enabled(false)
.gracePeriod("string")
.lookbackPeriod("string")
.rulesetLimit(0)
.build());
settings_resource = signalfx.automatedarchival.Settings("settingsResource",
enabled=False,
grace_period="string",
lookback_period="string",
ruleset_limit=0)
const settingsResource = new signalfx.automatedarchival.Settings("settingsResource", {
enabled: false,
gracePeriod: "string",
lookbackPeriod: "string",
rulesetLimit: 0,
});
type: signalfx:automatedarchival:Settings
properties:
enabled: false
gracePeriod: string
lookbackPeriod: string
rulesetLimit: 0
Settings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Settings resource accepts the following input properties:
- Enabled bool
- Whether the automated archival is enabled for this organization or not
- Grace
Period string - 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'
- Lookback
Period string - 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'
- Ruleset
Limit int - Org limit for the number of rulesets that can be created
- Enabled bool
- Whether the automated archival is enabled for this organization or not
- Grace
Period string - 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'
- Lookback
Period string - 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'
- Ruleset
Limit int - Org limit for the number of rulesets that can be created
- enabled Boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period String - 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'
- lookback
Period String - 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'
- ruleset
Limit Integer - Org limit for the number of rulesets that can be created
- enabled boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period string - 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'
- lookback
Period string - 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'
- ruleset
Limit number - Org limit for the number of rulesets that can be created
- enabled bool
- Whether the automated archival is enabled for this organization or not
- grace_
period str - 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'
- lookback_
period str - 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'
- ruleset_
limit int - Org limit for the number of rulesets that can be created
- enabled Boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period String - 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'
- lookback
Period String - 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'
- ruleset
Limit Number - Org limit for the number of rulesets that can be created
Outputs
All input properties are implicitly available as output properties. Additionally, the Settings resource produces the following output properties:
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated int - Timestamp of when the automated archival setting was last updated
- Last
Updated stringBy - ID of user who last updated the automated archival setting
- Version string
- Version of the automated archival setting
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated int - Timestamp of when the automated archival setting was last updated
- Last
Updated stringBy - ID of user who last updated the automated archival setting
- Version string
- Version of the automated archival setting
- created Integer
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated Integer - Timestamp of when the automated archival setting was last updated
- last
Updated StringBy - ID of user who last updated the automated archival setting
- version String
- Version of the automated archival setting
- created number
- Timestamp of when the automated archival setting was created
- creator string
- ID of the creator of the automated archival setting
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated number - Timestamp of when the automated archival setting was last updated
- last
Updated stringBy - ID of user who last updated the automated archival setting
- version string
- Version of the automated archival setting
- created int
- Timestamp of when the automated archival setting was created
- creator str
- ID of the creator of the automated archival setting
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated int - Timestamp of when the automated archival setting was last updated
- last_
updated_ strby - ID of user who last updated the automated archival setting
- version str
- Version of the automated archival setting
- created Number
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated Number - Timestamp of when the automated archival setting was last updated
- last
Updated StringBy - ID of user who last updated the automated archival setting
- version String
- Version of the automated archival setting
Look up Existing Settings Resource
Get an existing Settings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SettingsState, opts?: CustomResourceOptions): Settings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created: Optional[int] = None,
creator: Optional[str] = None,
enabled: Optional[bool] = None,
grace_period: Optional[str] = None,
last_updated: Optional[int] = None,
last_updated_by: Optional[str] = None,
lookback_period: Optional[str] = None,
ruleset_limit: Optional[int] = None,
version: Optional[str] = None) -> Settings
func GetSettings(ctx *Context, name string, id IDInput, state *SettingsState, opts ...ResourceOption) (*Settings, error)
public static Settings Get(string name, Input<string> id, SettingsState? state, CustomResourceOptions? opts = null)
public static Settings get(String name, Output<String> id, SettingsState state, CustomResourceOptions options)
resources: _: type: signalfx:automatedarchival:Settings get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- Enabled bool
- Whether the automated archival is enabled for this organization or not
- Grace
Period string - 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'
- Last
Updated int - Timestamp of when the automated archival setting was last updated
- Last
Updated stringBy - ID of user who last updated the automated archival setting
- Lookback
Period string - 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'
- Ruleset
Limit int - Org limit for the number of rulesets that can be created
- Version string
- Version of the automated archival setting
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- Enabled bool
- Whether the automated archival is enabled for this organization or not
- Grace
Period string - 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'
- Last
Updated int - Timestamp of when the automated archival setting was last updated
- Last
Updated stringBy - ID of user who last updated the automated archival setting
- Lookback
Period string - 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'
- Ruleset
Limit int - Org limit for the number of rulesets that can be created
- Version string
- Version of the automated archival setting
- created Integer
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- enabled Boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period String - 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'
- last
Updated Integer - Timestamp of when the automated archival setting was last updated
- last
Updated StringBy - ID of user who last updated the automated archival setting
- lookback
Period String - 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'
- ruleset
Limit Integer - Org limit for the number of rulesets that can be created
- version String
- Version of the automated archival setting
- created number
- Timestamp of when the automated archival setting was created
- creator string
- ID of the creator of the automated archival setting
- enabled boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period string - 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'
- last
Updated number - Timestamp of when the automated archival setting was last updated
- last
Updated stringBy - ID of user who last updated the automated archival setting
- lookback
Period string - 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'
- ruleset
Limit number - Org limit for the number of rulesets that can be created
- version string
- Version of the automated archival setting
- created int
- Timestamp of when the automated archival setting was created
- creator str
- ID of the creator of the automated archival setting
- enabled bool
- Whether the automated archival is enabled for this organization or not
- grace_
period str - 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'
- last_
updated int - Timestamp of when the automated archival setting was last updated
- last_
updated_ strby - ID of user who last updated the automated archival setting
- lookback_
period str - 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'
- ruleset_
limit int - Org limit for the number of rulesets that can be created
- version str
- Version of the automated archival setting
- created Number
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- enabled Boolean
- Whether the automated archival is enabled for this organization or not
- grace
Period String - 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'
- last
Updated Number - Timestamp of when the automated archival setting was last updated
- last
Updated StringBy - ID of user who last updated the automated archival setting
- lookback
Period String - 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'
- ruleset
Limit Number - Org limit for the number of rulesets that can be created
- version String
- Version of the automated archival setting
Package Details
- Repository
- SignalFx pulumi/pulumi-signalfx
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
signalfx
Terraform Provider.