dynatrace.WebAppJavascriptFilename
Explore with Pulumi AI
This resource requires the API token scopes Read settings (
settings.read
) and Write settings (settings.write
)
Dynatrace Documentation
Web applications - https://docs.dynatrace.com/docs/platform-modules/digital-experience/web-applications
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:rum.web.rum-javascript-file-name
)
Resource Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const _name_ = new dynatrace.WebAppJavascriptFilename("#name#", {filename: "tf"});
import pulumi
import pulumiverse_dynatrace as dynatrace
_name_ = dynatrace.WebAppJavascriptFilename("#name#", filename="tf")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynatrace.NewWebAppJavascriptFilename(ctx, "#name#", &dynatrace.WebAppJavascriptFilenameArgs{
Filename: pulumi.String("tf"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var _name_ = new Dynatrace.WebAppJavascriptFilename("#name#", new()
{
Filename = "tf",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.WebAppJavascriptFilename;
import com.pulumi.dynatrace.WebAppJavascriptFilenameArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var _name_ = new WebAppJavascriptFilename("#name#", WebAppJavascriptFilenameArgs.builder()
.filename("tf")
.build());
}
}
resources:
'#name#':
type: dynatrace:WebAppJavascriptFilename
properties:
filename: tf
Create WebAppJavascriptFilename Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppJavascriptFilename(name: string, args: WebAppJavascriptFilenameArgs, opts?: CustomResourceOptions);
@overload
def WebAppJavascriptFilename(resource_name: str,
args: WebAppJavascriptFilenameArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppJavascriptFilename(resource_name: str,
opts: Optional[ResourceOptions] = None,
filename: Optional[str] = None)
func NewWebAppJavascriptFilename(ctx *Context, name string, args WebAppJavascriptFilenameArgs, opts ...ResourceOption) (*WebAppJavascriptFilename, error)
public WebAppJavascriptFilename(string name, WebAppJavascriptFilenameArgs args, CustomResourceOptions? opts = null)
public WebAppJavascriptFilename(String name, WebAppJavascriptFilenameArgs args)
public WebAppJavascriptFilename(String name, WebAppJavascriptFilenameArgs args, CustomResourceOptions options)
type: dynatrace:WebAppJavascriptFilename
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 WebAppJavascriptFilenameArgs
- 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 WebAppJavascriptFilenameArgs
- 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 WebAppJavascriptFilenameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppJavascriptFilenameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppJavascriptFilenameArgs
- 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 webAppJavascriptFilenameResource = new Dynatrace.WebAppJavascriptFilename("webAppJavascriptFilenameResource", new()
{
Filename = "string",
});
example, err := dynatrace.NewWebAppJavascriptFilename(ctx, "webAppJavascriptFilenameResource", &dynatrace.WebAppJavascriptFilenameArgs{
Filename: pulumi.String("string"),
})
var webAppJavascriptFilenameResource = new WebAppJavascriptFilename("webAppJavascriptFilenameResource", WebAppJavascriptFilenameArgs.builder()
.filename("string")
.build());
web_app_javascript_filename_resource = dynatrace.WebAppJavascriptFilename("webAppJavascriptFilenameResource", filename="string")
const webAppJavascriptFilenameResource = new dynatrace.WebAppJavascriptFilename("webAppJavascriptFilenameResource", {filename: "string"});
type: dynatrace:WebAppJavascriptFilename
properties:
filename: string
WebAppJavascriptFilename 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 WebAppJavascriptFilename resource accepts the following input properties:
- Filename string
- Custom filename prefix
- Filename string
- Custom filename prefix
- filename String
- Custom filename prefix
- filename string
- Custom filename prefix
- filename str
- Custom filename prefix
- filename String
- Custom filename prefix
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAppJavascriptFilename 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 WebAppJavascriptFilename Resource
Get an existing WebAppJavascriptFilename 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?: WebAppJavascriptFilenameState, opts?: CustomResourceOptions): WebAppJavascriptFilename
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
filename: Optional[str] = None) -> WebAppJavascriptFilename
func GetWebAppJavascriptFilename(ctx *Context, name string, id IDInput, state *WebAppJavascriptFilenameState, opts ...ResourceOption) (*WebAppJavascriptFilename, error)
public static WebAppJavascriptFilename Get(string name, Input<string> id, WebAppJavascriptFilenameState? state, CustomResourceOptions? opts = null)
public static WebAppJavascriptFilename get(String name, Output<String> id, WebAppJavascriptFilenameState state, CustomResourceOptions options)
resources: _: type: dynatrace:WebAppJavascriptFilename get: id: ${id}
- 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.
- Filename string
- Custom filename prefix
- Filename string
- Custom filename prefix
- filename String
- Custom filename prefix
- filename string
- Custom filename prefix
- filename str
- Custom filename prefix
- filename String
- Custom filename prefix
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.