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

dynatrace.GenericTypes

Explore with Pulumi AI

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

    Create GenericTypes Resource

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

    Constructor syntax

    new GenericTypes(name: string, args: GenericTypesArgs, opts?: CustomResourceOptions);
    @overload
    def GenericTypes(resource_name: str,
                     args: GenericTypesArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def GenericTypes(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     created_by: Optional[str] = None,
                     display_name: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     rules: Optional[GenericTypesRulesArgs] = None,
                     name: Optional[str] = None)
    func NewGenericTypes(ctx *Context, name string, args GenericTypesArgs, opts ...ResourceOption) (*GenericTypes, error)
    public GenericTypes(string name, GenericTypesArgs args, CustomResourceOptions? opts = null)
    public GenericTypes(String name, GenericTypesArgs args)
    public GenericTypes(String name, GenericTypesArgs args, CustomResourceOptions options)
    
    type: dynatrace:GenericTypes
    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 GenericTypesArgs
    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 GenericTypesArgs
    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 GenericTypesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GenericTypesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GenericTypesArgs
    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 genericTypesResource = new Dynatrace.GenericTypes("genericTypesResource", new()
    {
        CreatedBy = "string",
        DisplayName = "string",
        Enabled = false,
        Rules = new Dynatrace.Inputs.GenericTypesRulesArgs
        {
            Rules = new[]
            {
                new Dynatrace.Inputs.GenericTypesRulesRuleArgs
                {
                    IdPattern = "string",
                    Sources = new Dynatrace.Inputs.GenericTypesRulesRuleSourcesArgs
                    {
                        Sources = new[]
                        {
                            new Dynatrace.Inputs.GenericTypesRulesRuleSourcesSourceArgs
                            {
                                SourceType = "string",
                                Condition = "string",
                            },
                        },
                    },
                    Attributes = new Dynatrace.Inputs.GenericTypesRulesRuleAttributesArgs
                    {
                        Attributes = new[]
                        {
                            new Dynatrace.Inputs.GenericTypesRulesRuleAttributesAttributeArgs
                            {
                                Key = "string",
                                Pattern = "string",
                                DisplayName = "string",
                            },
                        },
                    },
                    IconPattern = "string",
                    InstanceNamePattern = "string",
                    RequiredDimensions = new Dynatrace.Inputs.GenericTypesRulesRuleRequiredDimensionsArgs
                    {
                        RequiredDimensions = new[]
                        {
                            new Dynatrace.Inputs.GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArgs
                            {
                                Key = "string",
                                ValuePattern = "string",
                            },
                        },
                    },
                    Role = "string",
                },
            },
        },
        Name = "string",
    });
    
    example, err := dynatrace.NewGenericTypes(ctx, "genericTypesResource", &dynatrace.GenericTypesArgs{
    	CreatedBy:   pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Rules: &dynatrace.GenericTypesRulesArgs{
    		Rules: dynatrace.GenericTypesRulesRuleArray{
    			&dynatrace.GenericTypesRulesRuleArgs{
    				IdPattern: pulumi.String("string"),
    				Sources: &dynatrace.GenericTypesRulesRuleSourcesArgs{
    					Sources: dynatrace.GenericTypesRulesRuleSourcesSourceArray{
    						&dynatrace.GenericTypesRulesRuleSourcesSourceArgs{
    							SourceType: pulumi.String("string"),
    							Condition:  pulumi.String("string"),
    						},
    					},
    				},
    				Attributes: &dynatrace.GenericTypesRulesRuleAttributesArgs{
    					Attributes: dynatrace.GenericTypesRulesRuleAttributesAttributeArray{
    						&dynatrace.GenericTypesRulesRuleAttributesAttributeArgs{
    							Key:         pulumi.String("string"),
    							Pattern:     pulumi.String("string"),
    							DisplayName: pulumi.String("string"),
    						},
    					},
    				},
    				IconPattern:         pulumi.String("string"),
    				InstanceNamePattern: pulumi.String("string"),
    				RequiredDimensions: &dynatrace.GenericTypesRulesRuleRequiredDimensionsArgs{
    					RequiredDimensions: dynatrace.GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArray{
    						&dynatrace.GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArgs{
    							Key:          pulumi.String("string"),
    							ValuePattern: pulumi.String("string"),
    						},
    					},
    				},
    				Role: pulumi.String("string"),
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    var genericTypesResource = new GenericTypes("genericTypesResource", GenericTypesArgs.builder()        
        .createdBy("string")
        .displayName("string")
        .enabled(false)
        .rules(GenericTypesRulesArgs.builder()
            .rules(GenericTypesRulesRuleArgs.builder()
                .idPattern("string")
                .sources(GenericTypesRulesRuleSourcesArgs.builder()
                    .sources(GenericTypesRulesRuleSourcesSourceArgs.builder()
                        .sourceType("string")
                        .condition("string")
                        .build())
                    .build())
                .attributes(GenericTypesRulesRuleAttributesArgs.builder()
                    .attributes(GenericTypesRulesRuleAttributesAttributeArgs.builder()
                        .key("string")
                        .pattern("string")
                        .displayName("string")
                        .build())
                    .build())
                .iconPattern("string")
                .instanceNamePattern("string")
                .requiredDimensions(GenericTypesRulesRuleRequiredDimensionsArgs.builder()
                    .requiredDimensions(GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArgs.builder()
                        .key("string")
                        .valuePattern("string")
                        .build())
                    .build())
                .role("string")
                .build())
            .build())
        .name("string")
        .build());
    
    generic_types_resource = dynatrace.GenericTypes("genericTypesResource",
        created_by="string",
        display_name="string",
        enabled=False,
        rules=dynatrace.GenericTypesRulesArgs(
            rules=[dynatrace.GenericTypesRulesRuleArgs(
                id_pattern="string",
                sources=dynatrace.GenericTypesRulesRuleSourcesArgs(
                    sources=[dynatrace.GenericTypesRulesRuleSourcesSourceArgs(
                        source_type="string",
                        condition="string",
                    )],
                ),
                attributes=dynatrace.GenericTypesRulesRuleAttributesArgs(
                    attributes=[dynatrace.GenericTypesRulesRuleAttributesAttributeArgs(
                        key="string",
                        pattern="string",
                        display_name="string",
                    )],
                ),
                icon_pattern="string",
                instance_name_pattern="string",
                required_dimensions=dynatrace.GenericTypesRulesRuleRequiredDimensionsArgs(
                    required_dimensions=[dynatrace.GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArgs(
                        key="string",
                        value_pattern="string",
                    )],
                ),
                role="string",
            )],
        ),
        name="string")
    
    const genericTypesResource = new dynatrace.GenericTypes("genericTypesResource", {
        createdBy: "string",
        displayName: "string",
        enabled: false,
        rules: {
            rules: [{
                idPattern: "string",
                sources: {
                    sources: [{
                        sourceType: "string",
                        condition: "string",
                    }],
                },
                attributes: {
                    attributes: [{
                        key: "string",
                        pattern: "string",
                        displayName: "string",
                    }],
                },
                iconPattern: "string",
                instanceNamePattern: "string",
                requiredDimensions: {
                    requiredDimensions: [{
                        key: "string",
                        valuePattern: "string",
                    }],
                },
                role: "string",
            }],
        },
        name: "string",
    });
    
    type: dynatrace:GenericTypes
    properties:
        createdBy: string
        displayName: string
        enabled: false
        name: string
        rules:
            rules:
                - attributes:
                    attributes:
                        - displayName: string
                          key: string
                          pattern: string
                  iconPattern: string
                  idPattern: string
                  instanceNamePattern: string
                  requiredDimensions:
                    requiredDimensions:
                        - key: string
                          valuePattern: string
                  role: string
                  sources:
                    sources:
                        - condition: string
                          sourceType: string
    

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

    CreatedBy string
    The user or extension that created this type.
    DisplayName string
    The human readable type name for this entity type.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Rules Lbrlabs.PulumiPackage.Dynatrace.Inputs.GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    Name string
    The entity type name. This type name must be unique and must not be changed after creation.
    CreatedBy string
    The user or extension that created this type.
    DisplayName string
    The human readable type name for this entity type.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Rules GenericTypesRulesArgs
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    Name string
    The entity type name. This type name must be unique and must not be changed after creation.
    createdBy String
    The user or extension that created this type.
    displayName String
    The human readable type name for this entity type.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    rules GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    name String
    The entity type name. This type name must be unique and must not be changed after creation.
    createdBy string
    The user or extension that created this type.
    displayName string
    The human readable type name for this entity type.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    rules GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    name string
    The entity type name. This type name must be unique and must not be changed after creation.
    created_by str
    The user or extension that created this type.
    display_name str
    The human readable type name for this entity type.
    enabled bool
    This setting is enabled (true) or disabled (false)
    rules GenericTypesRulesArgs
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    name str
    The entity type name. This type name must be unique and must not be changed after creation.
    createdBy String
    The user or extension that created this type.
    displayName String
    The human readable type name for this entity type.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    rules Property Map
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    name String
    The entity type name. This type name must be unique and must not be changed after creation.

    Outputs

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

    Get an existing GenericTypes 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?: GenericTypesState, opts?: CustomResourceOptions): GenericTypes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_by: Optional[str] = None,
            display_name: Optional[str] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            rules: Optional[GenericTypesRulesArgs] = None) -> GenericTypes
    func GetGenericTypes(ctx *Context, name string, id IDInput, state *GenericTypesState, opts ...ResourceOption) (*GenericTypes, error)
    public static GenericTypes Get(string name, Input<string> id, GenericTypesState? state, CustomResourceOptions? opts = null)
    public static GenericTypes get(String name, Output<String> id, GenericTypesState 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:
    CreatedBy string
    The user or extension that created this type.
    DisplayName string
    The human readable type name for this entity type.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Name string
    The entity type name. This type name must be unique and must not be changed after creation.
    Rules Lbrlabs.PulumiPackage.Dynatrace.Inputs.GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    CreatedBy string
    The user or extension that created this type.
    DisplayName string
    The human readable type name for this entity type.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Name string
    The entity type name. This type name must be unique and must not be changed after creation.
    Rules GenericTypesRulesArgs
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    createdBy String
    The user or extension that created this type.
    displayName String
    The human readable type name for this entity type.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    name String
    The entity type name. This type name must be unique and must not be changed after creation.
    rules GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    createdBy string
    The user or extension that created this type.
    displayName string
    The human readable type name for this entity type.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    name string
    The entity type name. This type name must be unique and must not be changed after creation.
    rules GenericTypesRules
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    created_by str
    The user or extension that created this type.
    display_name str
    The human readable type name for this entity type.
    enabled bool
    This setting is enabled (true) or disabled (false)
    name str
    The entity type name. This type name must be unique and must not be changed after creation.
    rules GenericTypesRulesArgs
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.
    createdBy String
    The user or extension that created this type.
    displayName String
    The human readable type name for this entity type.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    name String
    The entity type name. This type name must be unique and must not be changed after creation.
    rules Property Map
    Specify a list of rules which are evaluated in order. When any rule matches, the entity defined according to that rule will be extracted. Subsequent rules will not be evaluated.

    Supporting Types

    GenericTypesRules, GenericTypesRulesArgs

    GenericTypesRulesRule, GenericTypesRulesRuleArgs

    GenericTypesRulesRuleAttributes, GenericTypesRulesRuleAttributesArgs

    GenericTypesRulesRuleAttributesAttribute, GenericTypesRulesRuleAttributesAttributeArgs

    Key string
    Pattern string
    DisplayName string
    The human readable type name for this entity type.
    Key string
    Pattern string
    DisplayName string
    The human readable type name for this entity type.
    key String
    pattern String
    displayName String
    The human readable type name for this entity type.
    key string
    pattern string
    displayName string
    The human readable type name for this entity type.
    key str
    pattern str
    display_name str
    The human readable type name for this entity type.
    key String
    pattern String
    displayName String
    The human readable type name for this entity type.

    GenericTypesRulesRuleRequiredDimensions, GenericTypesRulesRuleRequiredDimensionsArgs

    GenericTypesRulesRuleRequiredDimensionsRequiredDimension, GenericTypesRulesRuleRequiredDimensionsRequiredDimensionArgs

    Key string
    ValuePattern string
    Key string
    ValuePattern string
    key String
    valuePattern String
    key string
    valuePattern string
    key String
    valuePattern String

    GenericTypesRulesRuleSources, GenericTypesRulesRuleSourcesArgs

    GenericTypesRulesRuleSourcesSource, GenericTypesRulesRuleSourcesSourceArgs

    SourceType string
    Condition string
    SourceType string
    Condition string
    sourceType String
    condition String
    sourceType string
    condition string
    sourceType String
    condition 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