1. Packages
  2. Dynatrace
  3. API Docs
  4. ApplicationDetectionRuleV2
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.ApplicationDetectionRuleV2

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create ApplicationDetectionRuleV2 Resource

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

    Constructor syntax

    new ApplicationDetectionRuleV2(name: string, args: ApplicationDetectionRuleV2Args, opts?: CustomResourceOptions);
    @overload
    def ApplicationDetectionRuleV2(resource_name: str,
                                   args: ApplicationDetectionRuleV2Args,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationDetectionRuleV2(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   application_id: Optional[str] = None,
                                   matcher: Optional[str] = None,
                                   pattern: Optional[str] = None,
                                   description: Optional[str] = None,
                                   insert_after: Optional[str] = None)
    func NewApplicationDetectionRuleV2(ctx *Context, name string, args ApplicationDetectionRuleV2Args, opts ...ResourceOption) (*ApplicationDetectionRuleV2, error)
    public ApplicationDetectionRuleV2(string name, ApplicationDetectionRuleV2Args args, CustomResourceOptions? opts = null)
    public ApplicationDetectionRuleV2(String name, ApplicationDetectionRuleV2Args args)
    public ApplicationDetectionRuleV2(String name, ApplicationDetectionRuleV2Args args, CustomResourceOptions options)
    
    type: dynatrace:ApplicationDetectionRuleV2
    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 ApplicationDetectionRuleV2Args
    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 ApplicationDetectionRuleV2Args
    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 ApplicationDetectionRuleV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationDetectionRuleV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationDetectionRuleV2Args
    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 applicationDetectionRuleV2Resource = new Dynatrace.ApplicationDetectionRuleV2("applicationDetectionRuleV2Resource", new()
    {
        ApplicationId = "string",
        Matcher = "string",
        Pattern = "string",
        Description = "string",
        InsertAfter = "string",
    });
    
    example, err := dynatrace.NewApplicationDetectionRuleV2(ctx, "applicationDetectionRuleV2Resource", &dynatrace.ApplicationDetectionRuleV2Args{
    	ApplicationId: pulumi.String("string"),
    	Matcher:       pulumi.String("string"),
    	Pattern:       pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	InsertAfter:   pulumi.String("string"),
    })
    
    var applicationDetectionRuleV2Resource = new ApplicationDetectionRuleV2("applicationDetectionRuleV2Resource", ApplicationDetectionRuleV2Args.builder()
        .applicationId("string")
        .matcher("string")
        .pattern("string")
        .description("string")
        .insertAfter("string")
        .build());
    
    application_detection_rule_v2_resource = dynatrace.ApplicationDetectionRuleV2("applicationDetectionRuleV2Resource",
        application_id="string",
        matcher="string",
        pattern="string",
        description="string",
        insert_after="string")
    
    const applicationDetectionRuleV2Resource = new dynatrace.ApplicationDetectionRuleV2("applicationDetectionRuleV2Resource", {
        applicationId: "string",
        matcher: "string",
        pattern: "string",
        description: "string",
        insertAfter: "string",
    });
    
    type: dynatrace:ApplicationDetectionRuleV2
    properties:
        applicationId: string
        description: string
        insertAfter: string
        matcher: string
        pattern: string
    

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

    ApplicationId string
    Select an existing application or create a new one.
    Matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    Pattern string
    Pattern
    Description string
    (v1.274) Add a description for your rule
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    ApplicationId string
    Select an existing application or create a new one.
    Matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    Pattern string
    Pattern
    Description string
    (v1.274) Add a description for your rule
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    applicationId String
    Select an existing application or create a new one.
    matcher String
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern String
    Pattern
    description String
    (v1.274) Add a description for your rule
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    applicationId string
    Select an existing application or create a new one.
    matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern string
    Pattern
    description string
    (v1.274) Add a description for your rule
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    application_id str
    Select an existing application or create a new one.
    matcher str
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern str
    Pattern
    description str
    (v1.274) Add a description for your rule
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    applicationId String
    Select an existing application or create a new one.
    matcher String
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern String
    Pattern
    description String
    (v1.274) Add a description for your rule
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched

    Outputs

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

    Get an existing ApplicationDetectionRuleV2 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?: ApplicationDetectionRuleV2State, opts?: CustomResourceOptions): ApplicationDetectionRuleV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            description: Optional[str] = None,
            insert_after: Optional[str] = None,
            matcher: Optional[str] = None,
            pattern: Optional[str] = None) -> ApplicationDetectionRuleV2
    func GetApplicationDetectionRuleV2(ctx *Context, name string, id IDInput, state *ApplicationDetectionRuleV2State, opts ...ResourceOption) (*ApplicationDetectionRuleV2, error)
    public static ApplicationDetectionRuleV2 Get(string name, Input<string> id, ApplicationDetectionRuleV2State? state, CustomResourceOptions? opts = null)
    public static ApplicationDetectionRuleV2 get(String name, Output<String> id, ApplicationDetectionRuleV2State 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:
    ApplicationId string
    Select an existing application or create a new one.
    Description string
    (v1.274) Add a description for your rule
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    Pattern string
    Pattern
    ApplicationId string
    Select an existing application or create a new one.
    Description string
    (v1.274) Add a description for your rule
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    Pattern string
    Pattern
    applicationId String
    Select an existing application or create a new one.
    description String
    (v1.274) Add a description for your rule
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    matcher String
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern String
    Pattern
    applicationId string
    Select an existing application or create a new one.
    description string
    (v1.274) Add a description for your rule
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    matcher string
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern string
    Pattern
    application_id str
    Select an existing application or create a new one.
    description str
    (v1.274) Add a description for your rule
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    matcher str
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern str
    Pattern
    applicationId String
    Select an existing application or create a new one.
    description String
    (v1.274) Add a description for your rule
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    matcher String
    Possible Values: DOMAIN_CONTAINS, DOMAIN_ENDS_WITH, DOMAIN_EQUALS, DOMAIN_MATCHES, DOMAIN_STARTS_WITH, URL_CONTAINS, URL_ENDS_WITH, URL_EQUALS, URL_STARTS_WITH
    pattern String
    Pattern

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse