1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppResourceTypes
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.WebAppResourceTypes

Explore with Pulumi AI

Create WebAppResourceTypes Resource

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

Constructor syntax

new WebAppResourceTypes(name: string, args: WebAppResourceTypesArgs, opts?: CustomResourceOptions);
@overload
def WebAppResourceTypes(resource_name: str,
                        args: WebAppResourceTypesArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def WebAppResourceTypes(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        primary_resource_type: Optional[str] = None,
                        regular_expression: Optional[str] = None,
                        insert_after: Optional[str] = None,
                        secondary_resource_type: Optional[str] = None)
func NewWebAppResourceTypes(ctx *Context, name string, args WebAppResourceTypesArgs, opts ...ResourceOption) (*WebAppResourceTypes, error)
public WebAppResourceTypes(string name, WebAppResourceTypesArgs args, CustomResourceOptions? opts = null)
public WebAppResourceTypes(String name, WebAppResourceTypesArgs args)
public WebAppResourceTypes(String name, WebAppResourceTypesArgs args, CustomResourceOptions options)
type: dynatrace:WebAppResourceTypes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WebAppResourceTypesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WebAppResourceTypesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WebAppResourceTypesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WebAppResourceTypesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WebAppResourceTypesArgs
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 webAppResourceTypesResource = new Dynatrace.WebAppResourceTypes("webAppResourceTypesResource", new()
{
    PrimaryResourceType = "string",
    RegularExpression = "string",
    InsertAfter = "string",
    SecondaryResourceType = "string",
});
Copy
example, err := dynatrace.NewWebAppResourceTypes(ctx, "webAppResourceTypesResource", &dynatrace.WebAppResourceTypesArgs{
	PrimaryResourceType:   pulumi.String("string"),
	RegularExpression:     pulumi.String("string"),
	InsertAfter:           pulumi.String("string"),
	SecondaryResourceType: pulumi.String("string"),
})
Copy
var webAppResourceTypesResource = new WebAppResourceTypes("webAppResourceTypesResource", WebAppResourceTypesArgs.builder()
    .primaryResourceType("string")
    .regularExpression("string")
    .insertAfter("string")
    .secondaryResourceType("string")
    .build());
Copy
web_app_resource_types_resource = dynatrace.WebAppResourceTypes("webAppResourceTypesResource",
    primary_resource_type="string",
    regular_expression="string",
    insert_after="string",
    secondary_resource_type="string")
Copy
const webAppResourceTypesResource = new dynatrace.WebAppResourceTypes("webAppResourceTypesResource", {
    primaryResourceType: "string",
    regularExpression: "string",
    insertAfter: "string",
    secondaryResourceType: "string",
});
Copy
type: dynatrace:WebAppResourceTypes
properties:
    insertAfter: string
    primaryResourceType: string
    regularExpression: string
    secondaryResourceType: string
Copy

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

PrimaryResourceType This property is required. string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
RegularExpression This property is required. string
The regular expression to detect the resource.
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
SecondaryResourceType string
The secondary type of the resource.
PrimaryResourceType This property is required. string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
RegularExpression This property is required. string
The regular expression to detect the resource.
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
SecondaryResourceType string
The secondary type of the resource.
primaryResourceType This property is required. String
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression This property is required. String
The regular expression to detect the resource.
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
secondaryResourceType String
The secondary type of the resource.
primaryResourceType This property is required. string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression This property is required. string
The regular expression to detect the resource.
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
secondaryResourceType string
The secondary type of the resource.
primary_resource_type This property is required. str
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regular_expression This property is required. str
The regular expression to detect the resource.
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
secondary_resource_type str
The secondary type of the resource.
primaryResourceType This property is required. String
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression This property is required. String
The regular expression to detect the resource.
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
secondaryResourceType String
The secondary type of the resource.

Outputs

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

Get an existing WebAppResourceTypes 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?: WebAppResourceTypesState, opts?: CustomResourceOptions): WebAppResourceTypes
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        insert_after: Optional[str] = None,
        primary_resource_type: Optional[str] = None,
        regular_expression: Optional[str] = None,
        secondary_resource_type: Optional[str] = None) -> WebAppResourceTypes
func GetWebAppResourceTypes(ctx *Context, name string, id IDInput, state *WebAppResourceTypesState, opts ...ResourceOption) (*WebAppResourceTypes, error)
public static WebAppResourceTypes Get(string name, Input<string> id, WebAppResourceTypesState? state, CustomResourceOptions? opts = null)
public static WebAppResourceTypes get(String name, Output<String> id, WebAppResourceTypesState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:WebAppResourceTypes    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
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
PrimaryResourceType string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
RegularExpression string
The regular expression to detect the resource.
SecondaryResourceType string
The secondary type of the resource.
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
PrimaryResourceType string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
RegularExpression string
The regular expression to detect the resource.
SecondaryResourceType string
The secondary type of the resource.
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
primaryResourceType String
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression String
The regular expression to detect the resource.
secondaryResourceType String
The secondary type of the resource.
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
primaryResourceType string
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression string
The regular expression to detect the resource.
secondaryResourceType string
The secondary type of the resource.
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
primary_resource_type str
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regular_expression str
The regular expression to detect the resource.
secondary_resource_type str
The secondary type of the resource.
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
primaryResourceType String
Possible Values: CSS, IMAGE, OTHER, SCRIPT
regularExpression String
The regular expression to detect the resource.
secondaryResourceType String
The secondary type of the resource.

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.