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

dynatrace.WebAppCustomInjection

Explore with Pulumi AI

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

    Create WebAppCustomInjection Resource

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

    Constructor syntax

    new WebAppCustomInjection(name: string, args: WebAppCustomInjectionArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppCustomInjection(resource_name: str,
                              args: WebAppCustomInjectionArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAppCustomInjection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              application_id: Optional[str] = None,
                              enabled: Optional[bool] = None,
                              operator: Optional[str] = None,
                              rule: Optional[str] = None,
                              html_pattern: Optional[str] = None,
                              insert_after: Optional[str] = None,
                              url_pattern: Optional[str] = None)
    func NewWebAppCustomInjection(ctx *Context, name string, args WebAppCustomInjectionArgs, opts ...ResourceOption) (*WebAppCustomInjection, error)
    public WebAppCustomInjection(string name, WebAppCustomInjectionArgs args, CustomResourceOptions? opts = null)
    public WebAppCustomInjection(String name, WebAppCustomInjectionArgs args)
    public WebAppCustomInjection(String name, WebAppCustomInjectionArgs args, CustomResourceOptions options)
    
    type: dynatrace:WebAppCustomInjection
    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 WebAppCustomInjectionArgs
    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 WebAppCustomInjectionArgs
    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 WebAppCustomInjectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppCustomInjectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppCustomInjectionArgs
    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 webAppCustomInjectionResource = new Dynatrace.WebAppCustomInjection("webAppCustomInjectionResource", new()
    {
        ApplicationId = "string",
        Enabled = false,
        Operator = "string",
        Rule = "string",
        HtmlPattern = "string",
        InsertAfter = "string",
        UrlPattern = "string",
    });
    
    example, err := dynatrace.NewWebAppCustomInjection(ctx, "webAppCustomInjectionResource", &dynatrace.WebAppCustomInjectionArgs{
    	ApplicationId: pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    	Operator:      pulumi.String("string"),
    	Rule:          pulumi.String("string"),
    	HtmlPattern:   pulumi.String("string"),
    	InsertAfter:   pulumi.String("string"),
    	UrlPattern:    pulumi.String("string"),
    })
    
    var webAppCustomInjectionResource = new WebAppCustomInjection("webAppCustomInjectionResource", WebAppCustomInjectionArgs.builder()
        .applicationId("string")
        .enabled(false)
        .operator("string")
        .rule("string")
        .htmlPattern("string")
        .insertAfter("string")
        .urlPattern("string")
        .build());
    
    web_app_custom_injection_resource = dynatrace.WebAppCustomInjection("webAppCustomInjectionResource",
        application_id="string",
        enabled=False,
        operator="string",
        rule="string",
        html_pattern="string",
        insert_after="string",
        url_pattern="string")
    
    const webAppCustomInjectionResource = new dynatrace.WebAppCustomInjection("webAppCustomInjectionResource", {
        applicationId: "string",
        enabled: false,
        operator: "string",
        rule: "string",
        htmlPattern: "string",
        insertAfter: "string",
        urlPattern: "string",
    });
    
    type: dynatrace:WebAppCustomInjection
    properties:
        applicationId: string
        enabled: false
        htmlPattern: string
        insertAfter: string
        operator: string
        rule: string
        urlPattern: string
    

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

    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    Rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    HtmlPattern string
    no documentation available
    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
    UrlPattern string
    URL pattern
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    Rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    HtmlPattern string
    no documentation available
    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
    UrlPattern string
    URL pattern
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    operator String
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule String
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    htmlPattern String
    no documentation available
    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
    urlPattern String
    URL pattern
    applicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    htmlPattern string
    no documentation available
    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
    urlPattern string
    URL pattern
    application_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled bool
    This setting is enabled (true) or disabled (false)
    operator str
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule str
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    html_pattern str
    no documentation available
    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
    url_pattern str
    URL pattern
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    operator String
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule String
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    htmlPattern String
    no documentation available
    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
    urlPattern String
    URL pattern

    Outputs

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

    Get an existing WebAppCustomInjection 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?: WebAppCustomInjectionState, opts?: CustomResourceOptions): WebAppCustomInjection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            html_pattern: Optional[str] = None,
            insert_after: Optional[str] = None,
            operator: Optional[str] = None,
            rule: Optional[str] = None,
            url_pattern: Optional[str] = None) -> WebAppCustomInjection
    func GetWebAppCustomInjection(ctx *Context, name string, id IDInput, state *WebAppCustomInjectionState, opts ...ResourceOption) (*WebAppCustomInjection, error)
    public static WebAppCustomInjection Get(string name, Input<string> id, WebAppCustomInjectionState? state, CustomResourceOptions? opts = null)
    public static WebAppCustomInjection get(String name, Output<String> id, WebAppCustomInjectionState 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
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    HtmlPattern string
    no documentation available
    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
    Operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    Rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    UrlPattern string
    URL pattern
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    HtmlPattern string
    no documentation available
    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
    Operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    Rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    UrlPattern string
    URL pattern
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    htmlPattern String
    no documentation available
    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
    operator String
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule String
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    urlPattern String
    URL pattern
    applicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    htmlPattern string
    no documentation available
    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
    operator string
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule string
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    urlPattern string
    URL pattern
    application_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled bool
    This setting is enabled (true) or disabled (false)
    html_pattern str
    no documentation available
    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
    operator str
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule str
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    url_pattern str
    URL pattern
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    htmlPattern String
    no documentation available
    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
    operator String
    Possible Values: AllPages, Contains, Ends, Equals, Starts
    rule String
    Possible Values: AfterSpecificHtml, Automatic, BeforeSpecificHtml, DoNotInject
    urlPattern String
    URL 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