1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppResourceTypes
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.WebAppResourceTypes

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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:

    PrimaryResourceType string
    Possible Values: CSS, IMAGE, OTHER, SCRIPT
    RegularExpression 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 string
    Possible Values: CSS, IMAGE, OTHER, SCRIPT
    RegularExpression 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 String
    Possible Values: CSS, IMAGE, OTHER, SCRIPT
    regularExpression 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 string
    Possible Values: CSS, IMAGE, OTHER, SCRIPT
    regularExpression 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 str
    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_type str
    The secondary type of the resource.
    primaryResourceType String
    Possible Values: CSS, IMAGE, OTHER, SCRIPT
    regularExpression 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)
    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.
    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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse