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 string
- The unique name of the resource.
- args WebAppResourceTypesArgs
- 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 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 string
- The unique name of the resource.
- args WebAppResourceTypesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppResourceTypesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := dynatrace.NewWebAppResourceTypes(ctx, "webAppResourceTypesResource", &dynatrace.WebAppResourceTypesArgs{
PrimaryResourceType: pulumi.String("string"),
RegularExpression: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
SecondaryResourceType: pulumi.String("string"),
})
var webAppResourceTypesResource = new WebAppResourceTypes("webAppResourceTypesResource", WebAppResourceTypesArgs.builder()
.primaryResourceType("string")
.regularExpression("string")
.insertAfter("string")
.secondaryResourceType("string")
.build());
web_app_resource_types_resource = dynatrace.WebAppResourceTypes("webAppResourceTypesResource",
primary_resource_type="string",
regular_expression="string",
insert_after="string",
secondary_resource_type="string")
const webAppResourceTypesResource = new dynatrace.WebAppResourceTypes("webAppResourceTypesResource", {
primaryResourceType: "string",
regularExpression: "string",
insertAfter: "string",
secondaryResourceType: "string",
});
type: dynatrace:WebAppResourceTypes
properties:
insertAfter: string
primaryResourceType: string
regularExpression: string
secondaryResourceType: string
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:
- Primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- Regular
Expression string - The regular expression to detect the resource.
- 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
- Secondary
Resource stringType - The secondary type of the resource.
- Primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- Regular
Expression string - The regular expression to detect the resource.
- 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
- Secondary
Resource stringType - The secondary type of the resource.
- primary
Resource StringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression String - The regular expression to detect the resource.
- 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
- secondary
Resource StringType - The secondary type of the resource.
- primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression string - The regular expression to detect the resource.
- 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
- secondary
Resource stringType - The secondary type of the resource.
- primary_
resource_ strtype - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular_
expression 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_ strtype - The secondary type of the resource.
- primary
Resource StringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression String - The regular expression to detect the resource.
- 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
- secondary
Resource StringType - 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)
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.
- 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
- Primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- Regular
Expression string - The regular expression to detect the resource.
- Secondary
Resource stringType - The secondary type of the resource.
- 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
- Primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- Regular
Expression string - The regular expression to detect the resource.
- Secondary
Resource stringType - The secondary type of the resource.
- 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
- primary
Resource StringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression String - The regular expression to detect the resource.
- secondary
Resource StringType - The secondary type of the resource.
- 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
- primary
Resource stringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression string - The regular expression to detect the resource.
- secondary
Resource stringType - 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_ strtype - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular_
expression str - The regular expression to detect the resource.
- secondary_
resource_ strtype - The secondary type of the resource.
- 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
- primary
Resource StringType - Possible Values:
CSS
,IMAGE
,OTHER
,SCRIPT
- regular
Expression String - The regular expression to detect the resource.
- secondary
Resource StringType - 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.