Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere
chronosphere.OtelMetricsIngestion
Explore with Pulumi AI
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere
Create OtelMetricsIngestion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OtelMetricsIngestion(name: string, args?: OtelMetricsIngestionArgs, opts?: CustomResourceOptions);
@overload
def OtelMetricsIngestion(resource_name: str,
args: Optional[OtelMetricsIngestionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OtelMetricsIngestion(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_attributes: Optional[OtelMetricsIngestionResourceAttributesArgs] = None)
func NewOtelMetricsIngestion(ctx *Context, name string, args *OtelMetricsIngestionArgs, opts ...ResourceOption) (*OtelMetricsIngestion, error)
public OtelMetricsIngestion(string name, OtelMetricsIngestionArgs? args = null, CustomResourceOptions? opts = null)
public OtelMetricsIngestion(String name, OtelMetricsIngestionArgs args)
public OtelMetricsIngestion(String name, OtelMetricsIngestionArgs args, CustomResourceOptions options)
type: chronosphere:OtelMetricsIngestion
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 OtelMetricsIngestionArgs
- 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 OtelMetricsIngestionArgs
- 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 OtelMetricsIngestionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OtelMetricsIngestionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OtelMetricsIngestionArgs
- 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 otelMetricsIngestionResource = new Pulumi.OtelMetricsIngestion("otelMetricsIngestionResource", new()
{
ResourceAttributes = new Pulumi.Inputs.OtelMetricsIngestionResourceAttributesArgs
{
ExcludeKeys = new[]
{
"string",
},
FilterMode = "string",
FlattenMode = "string",
GenerateTargetInfo = false,
},
});
example, err := chronosphere.NewOtelMetricsIngestion(ctx, "otelMetricsIngestionResource", &chronosphere.OtelMetricsIngestionArgs{
ResourceAttributes: &chronosphere.OtelMetricsIngestionResourceAttributesArgs{
ExcludeKeys: pulumi.StringArray{
pulumi.String("string"),
},
FilterMode: pulumi.String("string"),
FlattenMode: pulumi.String("string"),
GenerateTargetInfo: pulumi.Bool(false),
},
})
var otelMetricsIngestionResource = new OtelMetricsIngestion("otelMetricsIngestionResource", OtelMetricsIngestionArgs.builder()
.resourceAttributes(OtelMetricsIngestionResourceAttributesArgs.builder()
.excludeKeys("string")
.filterMode("string")
.flattenMode("string")
.generateTargetInfo(false)
.build())
.build());
otel_metrics_ingestion_resource = chronosphere.OtelMetricsIngestion("otelMetricsIngestionResource", resource_attributes=chronosphere.OtelMetricsIngestionResourceAttributesArgs(
exclude_keys=["string"],
filter_mode="string",
flatten_mode="string",
generate_target_info=False,
))
const otelMetricsIngestionResource = new chronosphere.OtelMetricsIngestion("otelMetricsIngestionResource", {resourceAttributes: {
excludeKeys: ["string"],
filterMode: "string",
flattenMode: "string",
generateTargetInfo: false,
}});
type: chronosphere:OtelMetricsIngestion
properties:
resourceAttributes:
excludeKeys:
- string
filterMode: string
flattenMode: string
generateTargetInfo: false
OtelMetricsIngestion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OtelMetricsIngestion resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the OtelMetricsIngestion 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 OtelMetricsIngestion Resource
Get an existing OtelMetricsIngestion 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?: OtelMetricsIngestionState, opts?: CustomResourceOptions): OtelMetricsIngestion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
resource_attributes: Optional[OtelMetricsIngestionResourceAttributesArgs] = None) -> OtelMetricsIngestion
func GetOtelMetricsIngestion(ctx *Context, name string, id IDInput, state *OtelMetricsIngestionState, opts ...ResourceOption) (*OtelMetricsIngestion, error)
public static OtelMetricsIngestion Get(string name, Input<string> id, OtelMetricsIngestionState? state, CustomResourceOptions? opts = null)
public static OtelMetricsIngestion get(String name, Output<String> id, OtelMetricsIngestionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
Supporting Types
OtelMetricsIngestionResourceAttributes, OtelMetricsIngestionResourceAttributesArgs
- Exclude
Keys List<string> - Filter
Mode string - Flatten
Mode string - Generate
Target boolInfo
- Exclude
Keys []string - Filter
Mode string - Flatten
Mode string - Generate
Target boolInfo
- exclude
Keys List<String> - filter
Mode String - flatten
Mode String - generate
Target BooleanInfo
- exclude
Keys string[] - filter
Mode string - flatten
Mode string - generate
Target booleanInfo
- exclude_
keys Sequence[str] - filter_
mode str - flatten_
mode str - generate_
target_ boolinfo
- exclude
Keys List<String> - filter
Mode String - flatten
Mode String - generate
Target BooleanInfo
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphere
Terraform Provider.
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere