dynatrace.WebAppResourceCleanup
Explore with Pulumi AI
Create WebAppResourceCleanup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppResourceCleanup(name: string, args: WebAppResourceCleanupArgs, opts?: CustomResourceOptions);
@overload
def WebAppResourceCleanup(resource_name: str,
args: WebAppResourceCleanupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppResourceCleanup(resource_name: str,
opts: Optional[ResourceOptions] = None,
regular_expression: Optional[str] = None,
replace_with: Optional[str] = None,
insert_after: Optional[str] = None,
name: Optional[str] = None)
func NewWebAppResourceCleanup(ctx *Context, name string, args WebAppResourceCleanupArgs, opts ...ResourceOption) (*WebAppResourceCleanup, error)
public WebAppResourceCleanup(string name, WebAppResourceCleanupArgs args, CustomResourceOptions? opts = null)
public WebAppResourceCleanup(String name, WebAppResourceCleanupArgs args)
public WebAppResourceCleanup(String name, WebAppResourceCleanupArgs args, CustomResourceOptions options)
type: dynatrace:WebAppResourceCleanup
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 WebAppResourceCleanupArgs
- 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 WebAppResourceCleanupArgs
- 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 WebAppResourceCleanupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppResourceCleanupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppResourceCleanupArgs
- 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 webAppResourceCleanupResource = new Dynatrace.WebAppResourceCleanup("webAppResourceCleanupResource", new()
{
RegularExpression = "string",
ReplaceWith = "string",
InsertAfter = "string",
Name = "string",
});
example, err := dynatrace.NewWebAppResourceCleanup(ctx, "webAppResourceCleanupResource", &dynatrace.WebAppResourceCleanupArgs{
RegularExpression: pulumi.String("string"),
ReplaceWith: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
Name: pulumi.String("string"),
})
var webAppResourceCleanupResource = new WebAppResourceCleanup("webAppResourceCleanupResource", WebAppResourceCleanupArgs.builder()
.regularExpression("string")
.replaceWith("string")
.insertAfter("string")
.name("string")
.build());
web_app_resource_cleanup_resource = dynatrace.WebAppResourceCleanup("webAppResourceCleanupResource",
regular_expression="string",
replace_with="string",
insert_after="string",
name="string")
const webAppResourceCleanupResource = new dynatrace.WebAppResourceCleanup("webAppResourceCleanupResource", {
regularExpression: "string",
replaceWith: "string",
insertAfter: "string",
name: "string",
});
type: dynatrace:WebAppResourceCleanup
properties:
insertAfter: string
name: string
regularExpression: string
replaceWith: string
WebAppResourceCleanup 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 WebAppResourceCleanup resource accepts the following input properties:
- Regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- Replace
With string - For example:
$1$2\*$3
- 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
- Name string
- For example: Mask journeyId
- Regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- Replace
With string - For example:
$1$2\*$3
- 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
- Name string
- For example: Mask journeyId
- regular
Expression String - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With String - For example:
$1$2\*$3
- 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
- name String
- For example: Mask journeyId
- regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With string - For example:
$1$2\*$3
- 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
- name string
- For example: Mask journeyId
- regular_
expression str - For example:
(.*)(journeyId=)-?\d+(.*)
- replace_
with str - For example:
$1$2\*$3
- 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
- name str
- For example: Mask journeyId
- regular
Expression String - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With String - For example:
$1$2\*$3
- 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
- name String
- For example: Mask journeyId
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAppResourceCleanup 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 WebAppResourceCleanup Resource
Get an existing WebAppResourceCleanup 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?: WebAppResourceCleanupState, opts?: CustomResourceOptions): WebAppResourceCleanup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
insert_after: Optional[str] = None,
name: Optional[str] = None,
regular_expression: Optional[str] = None,
replace_with: Optional[str] = None) -> WebAppResourceCleanup
func GetWebAppResourceCleanup(ctx *Context, name string, id IDInput, state *WebAppResourceCleanupState, opts ...ResourceOption) (*WebAppResourceCleanup, error)
public static WebAppResourceCleanup Get(string name, Input<string> id, WebAppResourceCleanupState? state, CustomResourceOptions? opts = null)
public static WebAppResourceCleanup get(String name, Output<String> id, WebAppResourceCleanupState 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
- Name string
- For example: Mask journeyId
- Regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- Replace
With string - For example:
$1$2\*$3
- 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
- Name string
- For example: Mask journeyId
- Regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- Replace
With string - For example:
$1$2\*$3
- 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
- name String
- For example: Mask journeyId
- regular
Expression String - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With String - For example:
$1$2\*$3
- 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
- name string
- For example: Mask journeyId
- regular
Expression string - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With string - For example:
$1$2\*$3
- 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
- name str
- For example: Mask journeyId
- regular_
expression str - For example:
(.*)(journeyId=)-?\d+(.*)
- replace_
with str - For example:
$1$2\*$3
- 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
- name String
- For example: Mask journeyId
- regular
Expression String - For example:
(.*)(journeyId=)-?\d+(.*)
- replace
With String - For example:
$1$2\*$3
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.