1. Packages
  2. Dynatrace
  3. API Docs
  4. AutomationApproval
Dynatrace v0.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse

dynatrace.AutomationApproval

Get Started
dynatrace logo
Dynatrace v0.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Dynatrace Workflows - https://www.dynatrace.com/support/help/platform-modules/cloud-automation/workflows

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:automation.approval)

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const _name_ = new dynatrace.AutomationApproval("#name#", {workflowAppAccessApprovalEnabled: true});
    
    import pulumi
    import pulumiverse_dynatrace as dynatrace
    
    _name_ = dynatrace.AutomationApproval("#name#", workflow_app_access_approval_enabled=True)
    
    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.NewAutomationApproval(ctx, "#name#", &dynatrace.AutomationApprovalArgs{
    			WorkflowAppAccessApprovalEnabled: pulumi.Bool(true),
    		})
    		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.AutomationApproval("#name#", new()
        {
            WorkflowAppAccessApprovalEnabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.AutomationApproval;
    import com.pulumi.dynatrace.AutomationApprovalArgs;
    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 AutomationApproval("#name#", AutomationApprovalArgs.builder()
                .workflowAppAccessApprovalEnabled(true)
                .build());
    
        }
    }
    
    resources:
      '#name#':
        type: dynatrace:AutomationApproval
        properties:
          workflowAppAccessApprovalEnabled: true
    

    Create AutomationApproval Resource

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

    Constructor syntax

    new AutomationApproval(name: string, args: AutomationApprovalArgs, opts?: CustomResourceOptions);
    @overload
    def AutomationApproval(resource_name: str,
                           args: AutomationApprovalArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutomationApproval(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           workflow_app_access_approval_enabled: Optional[bool] = None)
    func NewAutomationApproval(ctx *Context, name string, args AutomationApprovalArgs, opts ...ResourceOption) (*AutomationApproval, error)
    public AutomationApproval(string name, AutomationApprovalArgs args, CustomResourceOptions? opts = null)
    public AutomationApproval(String name, AutomationApprovalArgs args)
    public AutomationApproval(String name, AutomationApprovalArgs args, CustomResourceOptions options)
    
    type: dynatrace:AutomationApproval
    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 AutomationApprovalArgs
    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 AutomationApprovalArgs
    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 AutomationApprovalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutomationApprovalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutomationApprovalArgs
    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 automationApprovalResource = new Dynatrace.AutomationApproval("automationApprovalResource", new()
    {
        WorkflowAppAccessApprovalEnabled = false,
    });
    
    example, err := dynatrace.NewAutomationApproval(ctx, "automationApprovalResource", &dynatrace.AutomationApprovalArgs{
    	WorkflowAppAccessApprovalEnabled: pulumi.Bool(false),
    })
    
    var automationApprovalResource = new AutomationApproval("automationApprovalResource", AutomationApprovalArgs.builder()
        .workflowAppAccessApprovalEnabled(false)
        .build());
    
    automation_approval_resource = dynatrace.AutomationApproval("automationApprovalResource", workflow_app_access_approval_enabled=False)
    
    const automationApprovalResource = new dynatrace.AutomationApproval("automationApprovalResource", {workflowAppAccessApprovalEnabled: false});
    
    type: dynatrace:AutomationApproval
    properties:
        workflowAppAccessApprovalEnabled: false
    

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

    WorkflowAppAccessApprovalEnabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    WorkflowAppAccessApprovalEnabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled Boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflow_app_access_approval_enabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled Boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.

    Outputs

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

    Get an existing AutomationApproval 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?: AutomationApprovalState, opts?: CustomResourceOptions): AutomationApproval
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            workflow_app_access_approval_enabled: Optional[bool] = None) -> AutomationApproval
    func GetAutomationApproval(ctx *Context, name string, id IDInput, state *AutomationApprovalState, opts ...ResourceOption) (*AutomationApproval, error)
    public static AutomationApproval Get(string name, Input<string> id, AutomationApprovalState? state, CustomResourceOptions? opts = null)
    public static AutomationApproval get(String name, Output<String> id, AutomationApprovalState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:AutomationApproval    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.
    The following state arguments are supported:
    WorkflowAppAccessApprovalEnabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    WorkflowAppAccessApprovalEnabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled Boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflow_app_access_approval_enabled bool
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.
    workflowAppAccessApprovalEnabled Boolean
    Allow on tenant level anyone with access to the app can respond to requests via an approval link.

    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.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse
      Meet Neo: Your AI Platform Teammate