1. Packages
  2. Signalfx Provider
  3. API Docs
  4. automatedarchival
  5. ExemptMetric
SignalFx v7.16.0 published on Tuesday, Aug 5, 2025 by Pulumi

signalfx.automatedarchival.ExemptMetric

Explore with Pulumi AI

signalfx logo
SignalFx v7.16.0 published on Tuesday, Aug 5, 2025 by Pulumi

    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:

    ExemptMetrics []ExemptMetricExemptMetricArgs
    List of metrics to be exempted from automated archival
    exemptMetrics List<ExemptMetricExemptMetric>
    List of metrics to be exempted from automated archival
    exemptMetrics ExemptMetricExemptMetric[]
    List of metrics to be exempted from automated archival
    exempt_metrics Sequence[ExemptMetricExemptMetricArgs]
    List of metrics to be exempted from automated archival
    exemptMetrics 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.
    The following state arguments are supported:
    ExemptMetrics []ExemptMetricExemptMetricArgs
    List of metrics to be exempted from automated archival
    exemptMetrics List<ExemptMetricExemptMetric>
    List of metrics to be exempted from automated archival
    exemptMetrics ExemptMetricExemptMetric[]
    List of metrics to be exempted from automated archival
    exempt_metrics Sequence[ExemptMetricExemptMetricArgs]
    List of metrics to be exempted from automated archival
    exemptMetrics 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
    LastUpdated int
    Timestamp of when the automated archival setting was last updated
    LastUpdatedBy string
    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
    LastUpdated int
    Timestamp of when the automated archival setting was last updated
    LastUpdatedBy string
    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
    lastUpdated Integer
    Timestamp of when the automated archival setting was last updated
    lastUpdatedBy String
    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
    lastUpdated number
    Timestamp of when the automated archival setting was last updated
    lastUpdatedBy string
    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_by str
    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
    lastUpdated Number
    Timestamp of when the automated archival setting was last updated
    lastUpdatedBy String
    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.
    signalfx logo
    SignalFx v7.16.0 published on Tuesday, Aug 5, 2025 by Pulumi