dynatrace.WebAppCustomInjection
Explore with Pulumi AI
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:
- Application
Id 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
- Html
Pattern string - no documentation available
- Insert
After 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
- Url
Pattern string - URL pattern
- Application
Id 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
- Html
Pattern string - no documentation available
- Insert
After 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
- Url
Pattern string - URL pattern
- application
Id 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
- html
Pattern String - no documentation available
- insert
After 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
- url
Pattern String - URL pattern
- application
Id 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
- html
Pattern string - no documentation available
- insert
After 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
- url
Pattern 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
- application
Id 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
- html
Pattern String - no documentation available
- insert
After 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
- url
Pattern 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.
- Application
Id 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
) - Html
Pattern string - no documentation available
- Insert
After 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
- Url
Pattern string - URL pattern
- Application
Id 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
) - Html
Pattern string - no documentation available
- Insert
After 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
- Url
Pattern string - URL pattern
- application
Id 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
) - html
Pattern String - no documentation available
- insert
After 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
- url
Pattern String - URL pattern
- application
Id 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
) - html
Pattern string - no documentation available
- insert
After 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
- url
Pattern 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
- application
Id 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
) - html
Pattern String - no documentation available
- insert
After 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
- url
Pattern 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.