signalfx.automatedarchival.ExemptMetric
Explore with Pulumi AI
Create ExemptMetric Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExemptMetric(name: string, args: ExemptMetricArgs, opts?: CustomResourceOptions);
@overload
def ExemptMetric(resource_name: str,
args: ExemptMetricArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExemptMetric(resource_name: str,
opts: Optional[ResourceOptions] = None,
exempt_metrics: Optional[Sequence[ExemptMetricExemptMetricArgs]] = None)
func NewExemptMetric(ctx *Context, name string, args ExemptMetricArgs, opts ...ResourceOption) (*ExemptMetric, error)
public ExemptMetric(string name, ExemptMetricArgs args, CustomResourceOptions? opts = null)
public ExemptMetric(String name, ExemptMetricArgs args)
public ExemptMetric(String name, ExemptMetricArgs args, CustomResourceOptions options)
type: signalfx:automatedarchival:ExemptMetric
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 ExemptMetricArgs
- 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 ExemptMetricArgs
- 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 ExemptMetricArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExemptMetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExemptMetricArgs
- 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 exemptMetricResource = new SignalFx.AutomatedArchival.ExemptMetric("exemptMetricResource", new()
{
ExemptMetrics = new[]
{
new SignalFx.automatedArchival.Inputs.ExemptMetricExemptMetricArgs
{
Name = "string",
Created = 0,
Creator = "string",
LastUpdated = 0,
LastUpdatedBy = "string",
},
},
});
example, err := automatedarchival.NewExemptMetric(ctx, "exemptMetricResource", &automatedarchival.ExemptMetricArgs{
ExemptMetrics: automatedarchival.ExemptMetricExemptMetricArray{
&automatedarchival.ExemptMetricExemptMetricArgs{
Name: pulumi.String("string"),
Created: pulumi.Int(0),
Creator: pulumi.String("string"),
LastUpdated: pulumi.Int(0),
LastUpdatedBy: pulumi.String("string"),
},
},
})
var exemptMetricResource = new ExemptMetric("exemptMetricResource", ExemptMetricArgs.builder()
.exemptMetrics(ExemptMetricExemptMetricArgs.builder()
.name("string")
.created(0)
.creator("string")
.lastUpdated(0)
.lastUpdatedBy("string")
.build())
.build());
exempt_metric_resource = signalfx.automatedarchival.ExemptMetric("exemptMetricResource", exempt_metrics=[{
"name": "string",
"created": 0,
"creator": "string",
"last_updated": 0,
"last_updated_by": "string",
}])
const exemptMetricResource = new signalfx.automatedarchival.ExemptMetric("exemptMetricResource", {exemptMetrics: [{
name: "string",
created: 0,
creator: "string",
lastUpdated: 0,
lastUpdatedBy: "string",
}]});
type: signalfx:automatedarchival:ExemptMetric
properties:
exemptMetrics:
- created: 0
creator: string
lastUpdated: 0
lastUpdatedBy: string
name: string
ExemptMetric 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 ExemptMetric resource accepts the following input properties:
- Exempt
Metrics List<Pulumi.Signal Fx.automated Archival. Inputs. Exempt Metric Exempt Metric> - List of metrics to be exempted from automated archival
- Exempt
Metrics []ExemptMetric Exempt Metric Args - List of metrics to be exempted from automated archival
- exempt
Metrics List<ExemptMetric Exempt Metric> - List of metrics to be exempted from automated archival
- exempt
Metrics ExemptMetric Exempt Metric[] - List of metrics to be exempted from automated archival
- exempt_
metrics Sequence[ExemptMetric Exempt Metric Args] - List of metrics to be exempted from automated archival
- exempt
Metrics List<Property Map> - List of metrics to be exempted from automated archival
Outputs
All input properties are implicitly available as output properties. Additionally, the ExemptMetric resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ExemptMetric Resource
Get an existing ExemptMetric 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?: ExemptMetricState, opts?: CustomResourceOptions): ExemptMetric
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
exempt_metrics: Optional[Sequence[ExemptMetricExemptMetricArgs]] = None) -> ExemptMetric
func GetExemptMetric(ctx *Context, name string, id IDInput, state *ExemptMetricState, opts ...ResourceOption) (*ExemptMetric, error)
public static ExemptMetric Get(string name, Input<string> id, ExemptMetricState? state, CustomResourceOptions? opts = null)
public static ExemptMetric get(String name, Output<String> id, ExemptMetricState state, CustomResourceOptions options)
resources: _: type: signalfx:automatedarchival:ExemptMetric 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.
- Exempt
Metrics List<Pulumi.Signal Fx.automated Archival. Inputs. Exempt Metric Exempt Metric> - List of metrics to be exempted from automated archival
- Exempt
Metrics []ExemptMetric Exempt Metric Args - List of metrics to be exempted from automated archival
- exempt
Metrics List<ExemptMetric Exempt Metric> - List of metrics to be exempted from automated archival
- exempt
Metrics ExemptMetric Exempt Metric[] - List of metrics to be exempted from automated archival
- exempt_
metrics Sequence[ExemptMetric Exempt Metric Args] - List of metrics to be exempted from automated archival
- exempt
Metrics List<Property Map> - List of metrics to be exempted from automated archival
Supporting Types
ExemptMetricExemptMetric, ExemptMetricExemptMetricArgs
- Name string
- Name of the metric to be exempted from automated archival
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- 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
- Name string
- Name of the metric to be exempted from automated archival
- Created int
- Timestamp of when the automated archival setting was created
- Creator string
- ID of the creator of the automated archival setting
- 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
- name String
- Name of the metric to be exempted from automated archival
- created Integer
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- 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
- name string
- Name of the metric to be exempted from automated archival
- created number
- Timestamp of when the automated archival setting was created
- creator string
- ID of the creator of the automated archival setting
- 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
- name str
- Name of the metric to be exempted from automated archival
- created int
- Timestamp of when the automated archival setting was created
- creator str
- ID of the creator of the automated archival setting
- 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
- name String
- Name of the metric to be exempted from automated archival
- created Number
- Timestamp of when the automated archival setting was created
- creator String
- ID of the creator of the automated archival setting
- 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
Package Details
- Repository
- SignalFx pulumi/pulumi-signalfx
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
signalfx
Terraform Provider.