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

dynatrace.WebAppJavascriptVersion

Explore with Pulumi AI

Create WebAppJavascriptVersion Resource

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

Constructor syntax

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

@overload
def WebAppJavascriptVersion(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            custom_javascript_version: Optional[str] = None)
func NewWebAppJavascriptVersion(ctx *Context, name string, args *WebAppJavascriptVersionArgs, opts ...ResourceOption) (*WebAppJavascriptVersion, error)
public WebAppJavascriptVersion(string name, WebAppJavascriptVersionArgs? args = null, CustomResourceOptions? opts = null)
public WebAppJavascriptVersion(String name, WebAppJavascriptVersionArgs args)
public WebAppJavascriptVersion(String name, WebAppJavascriptVersionArgs args, CustomResourceOptions options)
type: dynatrace:WebAppJavascriptVersion
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 WebAppJavascriptVersionArgs
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 WebAppJavascriptVersionArgs
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 WebAppJavascriptVersionArgs
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 WebAppJavascriptVersionArgs
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. WebAppJavascriptVersionArgs
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 webAppJavascriptVersionResource = new Dynatrace.WebAppJavascriptVersion("webAppJavascriptVersionResource", new()
{
    CustomJavascriptVersion = "string",
});
Copy
example, err := dynatrace.NewWebAppJavascriptVersion(ctx, "webAppJavascriptVersionResource", &dynatrace.WebAppJavascriptVersionArgs{
	CustomJavascriptVersion: pulumi.String("string"),
})
Copy
var webAppJavascriptVersionResource = new WebAppJavascriptVersion("webAppJavascriptVersionResource", WebAppJavascriptVersionArgs.builder()
    .customJavascriptVersion("string")
    .build());
Copy
web_app_javascript_version_resource = dynatrace.WebAppJavascriptVersion("webAppJavascriptVersionResource", custom_javascript_version="string")
Copy
const webAppJavascriptVersionResource = new dynatrace.WebAppJavascriptVersion("webAppJavascriptVersionResource", {customJavascriptVersion: "string"});
Copy
type: dynatrace:WebAppJavascriptVersion
properties:
    customJavascriptVersion: string
Copy

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

CustomJavascriptVersion string
Choose custom version
CustomJavascriptVersion string
Choose custom version
customJavascriptVersion String
Choose custom version
customJavascriptVersion string
Choose custom version
custom_javascript_version str
Choose custom version
customJavascriptVersion String
Choose custom version

Outputs

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

Get an existing WebAppJavascriptVersion 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?: WebAppJavascriptVersionState, opts?: CustomResourceOptions): WebAppJavascriptVersion
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        custom_javascript_version: Optional[str] = None) -> WebAppJavascriptVersion
func GetWebAppJavascriptVersion(ctx *Context, name string, id IDInput, state *WebAppJavascriptVersionState, opts ...ResourceOption) (*WebAppJavascriptVersion, error)
public static WebAppJavascriptVersion Get(string name, Input<string> id, WebAppJavascriptVersionState? state, CustomResourceOptions? opts = null)
public static WebAppJavascriptVersion get(String name, Output<String> id, WebAppJavascriptVersionState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:WebAppJavascriptVersion    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:
CustomJavascriptVersion string
Choose custom version
CustomJavascriptVersion string
Choose custom version
customJavascriptVersion String
Choose custom version
customJavascriptVersion string
Choose custom version
custom_javascript_version str
Choose custom version
customJavascriptVersion String
Choose custom version

Package Details

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