1. Packages
  2. Dynatrace
  3. API Docs
  4. AutotagV2
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.AutotagV2

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create AutotagV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AutotagV2(name: string, args?: AutotagV2Args, opts?: CustomResourceOptions);
    @overload
    def AutotagV2(resource_name: str,
                  args: Optional[AutotagV2Args] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutotagV2(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None,
                  rules: Optional[AutotagV2RulesArgs] = None)
    func NewAutotagV2(ctx *Context, name string, args *AutotagV2Args, opts ...ResourceOption) (*AutotagV2, error)
    public AutotagV2(string name, AutotagV2Args? args = null, CustomResourceOptions? opts = null)
    public AutotagV2(String name, AutotagV2Args args)
    public AutotagV2(String name, AutotagV2Args args, CustomResourceOptions options)
    
    type: dynatrace:AutotagV2
    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 AutotagV2Args
    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 AutotagV2Args
    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 AutotagV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutotagV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutotagV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var autotagV2Resource = new Dynatrace.AutotagV2("autotagV2Resource", new()
    {
        Description = "string",
        Name = "string",
        Rules = new Dynatrace.Inputs.AutotagV2RulesArgs
        {
            Rules = new[]
            {
                new Dynatrace.Inputs.AutotagV2RulesRuleArgs
                {
                    Enabled = false,
                    Type = "string",
                    ValueNormalization = "string",
                    AttributeRule = new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleArgs
                    {
                        Conditions = new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleConditionsArgs
                        {
                            Conditions = new[]
                            {
                                new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs
                                {
                                    Key = "string",
                                    Operator = "string",
                                    CaseSensitive = false,
                                    DynamicKey = "string",
                                    DynamicKeySource = "string",
                                    EntityId = "string",
                                    EnumValue = "string",
                                    IntegerValue = 0,
                                    StringValue = "string",
                                    Tag = "string",
                                },
                            },
                        },
                        EntityType = "string",
                        AzureToPgpropagation = false,
                        AzureToServicePropagation = false,
                        HostToPgpropagation = false,
                        PgToHostPropagation = false,
                        PgToServicePropagation = false,
                        ServiceToHostPropagation = false,
                        ServiceToPgpropagation = false,
                    },
                    EntitySelector = "string",
                    ValueFormat = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewAutotagV2(ctx, "autotagV2Resource", &dynatrace.AutotagV2Args{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Rules: &dynatrace.AutotagV2RulesArgs{
    		Rules: dynatrace.AutotagV2RulesRuleArray{
    			&dynatrace.AutotagV2RulesRuleArgs{
    				Enabled:            pulumi.Bool(false),
    				Type:               pulumi.String("string"),
    				ValueNormalization: pulumi.String("string"),
    				AttributeRule: &dynatrace.AutotagV2RulesRuleAttributeRuleArgs{
    					Conditions: &dynatrace.AutotagV2RulesRuleAttributeRuleConditionsArgs{
    						Conditions: dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArray{
    							&dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs{
    								Key:              pulumi.String("string"),
    								Operator:         pulumi.String("string"),
    								CaseSensitive:    pulumi.Bool(false),
    								DynamicKey:       pulumi.String("string"),
    								DynamicKeySource: pulumi.String("string"),
    								EntityId:         pulumi.String("string"),
    								EnumValue:        pulumi.String("string"),
    								IntegerValue:     pulumi.Int(0),
    								StringValue:      pulumi.String("string"),
    								Tag:              pulumi.String("string"),
    							},
    						},
    					},
    					EntityType:                pulumi.String("string"),
    					AzureToPgpropagation:      pulumi.Bool(false),
    					AzureToServicePropagation: pulumi.Bool(false),
    					HostToPgpropagation:       pulumi.Bool(false),
    					PgToHostPropagation:       pulumi.Bool(false),
    					PgToServicePropagation:    pulumi.Bool(false),
    					ServiceToHostPropagation:  pulumi.Bool(false),
    					ServiceToPgpropagation:    pulumi.Bool(false),
    				},
    				EntitySelector: pulumi.String("string"),
    				ValueFormat:    pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var autotagV2Resource = new AutotagV2("autotagV2Resource", AutotagV2Args.builder()        
        .description("string")
        .name("string")
        .rules(AutotagV2RulesArgs.builder()
            .rules(AutotagV2RulesRuleArgs.builder()
                .enabled(false)
                .type("string")
                .valueNormalization("string")
                .attributeRule(AutotagV2RulesRuleAttributeRuleArgs.builder()
                    .conditions(AutotagV2RulesRuleAttributeRuleConditionsArgs.builder()
                        .conditions(AutotagV2RulesRuleAttributeRuleConditionsConditionArgs.builder()
                            .key("string")
                            .operator("string")
                            .caseSensitive(false)
                            .dynamicKey("string")
                            .dynamicKeySource("string")
                            .entityId("string")
                            .enumValue("string")
                            .integerValue(0)
                            .stringValue("string")
                            .tag("string")
                            .build())
                        .build())
                    .entityType("string")
                    .azureToPgpropagation(false)
                    .azureToServicePropagation(false)
                    .hostToPgpropagation(false)
                    .pgToHostPropagation(false)
                    .pgToServicePropagation(false)
                    .serviceToHostPropagation(false)
                    .serviceToPgpropagation(false)
                    .build())
                .entitySelector("string")
                .valueFormat("string")
                .build())
            .build())
        .build());
    
    autotag_v2_resource = dynatrace.AutotagV2("autotagV2Resource",
        description="string",
        name="string",
        rules=dynatrace.AutotagV2RulesArgs(
            rules=[dynatrace.AutotagV2RulesRuleArgs(
                enabled=False,
                type="string",
                value_normalization="string",
                attribute_rule=dynatrace.AutotagV2RulesRuleAttributeRuleArgs(
                    conditions=dynatrace.AutotagV2RulesRuleAttributeRuleConditionsArgs(
                        conditions=[dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs(
                            key="string",
                            operator="string",
                            case_sensitive=False,
                            dynamic_key="string",
                            dynamic_key_source="string",
                            entity_id="string",
                            enum_value="string",
                            integer_value=0,
                            string_value="string",
                            tag="string",
                        )],
                    ),
                    entity_type="string",
                    azure_to_pgpropagation=False,
                    azure_to_service_propagation=False,
                    host_to_pgpropagation=False,
                    pg_to_host_propagation=False,
                    pg_to_service_propagation=False,
                    service_to_host_propagation=False,
                    service_to_pgpropagation=False,
                ),
                entity_selector="string",
                value_format="string",
            )],
        ))
    
    const autotagV2Resource = new dynatrace.AutotagV2("autotagV2Resource", {
        description: "string",
        name: "string",
        rules: {
            rules: [{
                enabled: false,
                type: "string",
                valueNormalization: "string",
                attributeRule: {
                    conditions: {
                        conditions: [{
                            key: "string",
                            operator: "string",
                            caseSensitive: false,
                            dynamicKey: "string",
                            dynamicKeySource: "string",
                            entityId: "string",
                            enumValue: "string",
                            integerValue: 0,
                            stringValue: "string",
                            tag: "string",
                        }],
                    },
                    entityType: "string",
                    azureToPgpropagation: false,
                    azureToServicePropagation: false,
                    hostToPgpropagation: false,
                    pgToHostPropagation: false,
                    pgToServicePropagation: false,
                    serviceToHostPropagation: false,
                    serviceToPgpropagation: false,
                },
                entitySelector: "string",
                valueFormat: "string",
            }],
        },
    });
    
    type: dynatrace:AutotagV2
    properties:
        description: string
        name: string
        rules:
            rules:
                - attributeRule:
                    azureToPgpropagation: false
                    azureToServicePropagation: false
                    conditions:
                        conditions:
                            - caseSensitive: false
                              dynamicKey: string
                              dynamicKeySource: string
                              entityId: string
                              enumValue: string
                              integerValue: 0
                              key: string
                              operator: string
                              stringValue: string
                              tag: string
                    entityType: string
                    hostToPgpropagation: false
                    pgToHostPropagation: false
                    pgToServicePropagation: false
                    serviceToHostPropagation: false
                    serviceToPgpropagation: false
                  enabled: false
                  entitySelector: string
                  type: string
                  valueFormat: string
                  valueNormalization: string
    

    AutotagV2 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 AutotagV2 resource accepts the following input properties:

    Description string
    Description
    Name string
    Tag name
    Rules AutotagV2RulesArgs
    Rules
    description String
    Description
    name String
    Tag name
    rules AutotagV2Rules
    Rules
    description string
    Description
    name string
    Tag name
    rules AutotagV2Rules
    Rules
    description str
    Description
    name str
    Tag name
    rules AutotagV2RulesArgs
    Rules
    description String
    Description
    name String
    Tag name
    rules Property Map
    Rules

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutotagV2 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 AutotagV2 Resource

    Get an existing AutotagV2 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?: AutotagV2State, opts?: CustomResourceOptions): AutotagV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            rules: Optional[AutotagV2RulesArgs] = None) -> AutotagV2
    func GetAutotagV2(ctx *Context, name string, id IDInput, state *AutotagV2State, opts ...ResourceOption) (*AutotagV2, error)
    public static AutotagV2 Get(string name, Input<string> id, AutotagV2State? state, CustomResourceOptions? opts = null)
    public static AutotagV2 get(String name, Output<String> id, AutotagV2State 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.
    The following state arguments are supported:
    Description string
    Description
    Name string
    Tag name
    Rules AutotagV2RulesArgs
    Rules
    description String
    Description
    name String
    Tag name
    rules AutotagV2Rules
    Rules
    description string
    Description
    name string
    Tag name
    rules AutotagV2Rules
    Rules
    description str
    Description
    name str
    Tag name
    rules AutotagV2RulesArgs
    Rules
    description String
    Description
    name String
    Tag name
    rules Property Map
    Rules

    Supporting Types

    AutotagV2Rules, AutotagV2RulesArgs

    AutotagV2RulesRule, AutotagV2RulesRuleArgs

    AutotagV2RulesRuleAttributeRule, AutotagV2RulesRuleAttributeRuleArgs

    AutotagV2RulesRuleAttributeRuleConditions, AutotagV2RulesRuleAttributeRuleConditionsArgs

    AutotagV2RulesRuleAttributeRuleConditionsCondition, AutotagV2RulesRuleAttributeRuleConditionsConditionArgs

    Key string
    Operator string
    CaseSensitive bool
    DynamicKey string
    DynamicKeySource string
    EntityId string
    EnumValue string
    IntegerValue int
    StringValue string
    Tag string
    Key string
    Operator string
    CaseSensitive bool
    DynamicKey string
    DynamicKeySource string
    EntityId string
    EnumValue string
    IntegerValue int
    StringValue string
    Tag string
    key String
    operator String
    caseSensitive Boolean
    dynamicKey String
    dynamicKeySource String
    entityId String
    enumValue String
    integerValue Integer
    stringValue String
    tag String
    key string
    operator string
    caseSensitive boolean
    dynamicKey string
    dynamicKeySource string
    entityId string
    enumValue string
    integerValue number
    stringValue string
    tag string
    key String
    operator String
    caseSensitive Boolean
    dynamicKey String
    dynamicKeySource String
    entityId String
    enumValue String
    integerValue Number
    stringValue String
    tag String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs