1. Packages
  2. Dynatrace
  3. API Docs
  4. DashboardsPresets
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.DashboardsPresets

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create DashboardsPresets Resource

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

    Constructor syntax

    new DashboardsPresets(name: string, args: DashboardsPresetsArgs, opts?: CustomResourceOptions);
    @overload
    def DashboardsPresets(resource_name: str,
                          args: DashboardsPresetsArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DashboardsPresets(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          enable_dashboard_presets: Optional[bool] = None,
                          dashboard_presets_list: Optional[DashboardsPresetsDashboardPresetsListArgs] = None)
    func NewDashboardsPresets(ctx *Context, name string, args DashboardsPresetsArgs, opts ...ResourceOption) (*DashboardsPresets, error)
    public DashboardsPresets(string name, DashboardsPresetsArgs args, CustomResourceOptions? opts = null)
    public DashboardsPresets(String name, DashboardsPresetsArgs args)
    public DashboardsPresets(String name, DashboardsPresetsArgs args, CustomResourceOptions options)
    
    type: dynatrace:DashboardsPresets
    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 DashboardsPresetsArgs
    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 DashboardsPresetsArgs
    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 DashboardsPresetsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DashboardsPresetsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DashboardsPresetsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var dashboardsPresetsResource = new Dynatrace.DashboardsPresets("dashboardsPresetsResource", new()
    {
        EnableDashboardPresets = false,
        DashboardPresetsList = new Dynatrace.Inputs.DashboardsPresetsDashboardPresetsListArgs
        {
            DashboardPresets = new[]
            {
                new Dynatrace.Inputs.DashboardsPresetsDashboardPresetsListDashboardPresetArgs
                {
                    DashboardPreset = "string",
                    UserGroup = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewDashboardsPresets(ctx, "dashboardsPresetsResource", &dynatrace.DashboardsPresetsArgs{
    	EnableDashboardPresets: pulumi.Bool(false),
    	DashboardPresetsList: &dynatrace.DashboardsPresetsDashboardPresetsListArgs{
    		DashboardPresets: dynatrace.DashboardsPresetsDashboardPresetsListDashboardPresetArray{
    			&dynatrace.DashboardsPresetsDashboardPresetsListDashboardPresetArgs{
    				DashboardPreset: pulumi.String("string"),
    				UserGroup:       pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var dashboardsPresetsResource = new DashboardsPresets("dashboardsPresetsResource", DashboardsPresetsArgs.builder()        
        .enableDashboardPresets(false)
        .dashboardPresetsList(DashboardsPresetsDashboardPresetsListArgs.builder()
            .dashboardPresets(DashboardsPresetsDashboardPresetsListDashboardPresetArgs.builder()
                .dashboardPreset("string")
                .userGroup("string")
                .build())
            .build())
        .build());
    
    dashboards_presets_resource = dynatrace.DashboardsPresets("dashboardsPresetsResource",
        enable_dashboard_presets=False,
        dashboard_presets_list=dynatrace.DashboardsPresetsDashboardPresetsListArgs(
            dashboard_presets=[dynatrace.DashboardsPresetsDashboardPresetsListDashboardPresetArgs(
                dashboard_preset="string",
                user_group="string",
            )],
        ))
    
    const dashboardsPresetsResource = new dynatrace.DashboardsPresets("dashboardsPresetsResource", {
        enableDashboardPresets: false,
        dashboardPresetsList: {
            dashboardPresets: [{
                dashboardPreset: "string",
                userGroup: "string",
            }],
        },
    });
    
    type: dynatrace:DashboardsPresets
    properties:
        dashboardPresetsList:
            dashboardPresets:
                - dashboardPreset: string
                  userGroup: string
        enableDashboardPresets: false
    

    DashboardsPresets Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DashboardsPresets resource accepts the following input properties:

    EnableDashboardPresets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    DashboardPresetsList Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    EnableDashboardPresets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    DashboardPresetsList DashboardsPresetsDashboardPresetsListArgs
    Show selected preset to respective user group only.
    enableDashboardPresets Boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    enableDashboardPresets boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    enable_dashboard_presets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboard_presets_list DashboardsPresetsDashboardPresetsListArgs
    Show selected preset to respective user group only.
    enableDashboardPresets Boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList Property Map
    Show selected preset to respective user group only.

    Outputs

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

    Get an existing DashboardsPresets 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?: DashboardsPresetsState, opts?: CustomResourceOptions): DashboardsPresets
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dashboard_presets_list: Optional[DashboardsPresetsDashboardPresetsListArgs] = None,
            enable_dashboard_presets: Optional[bool] = None) -> DashboardsPresets
    func GetDashboardsPresets(ctx *Context, name string, id IDInput, state *DashboardsPresetsState, opts ...ResourceOption) (*DashboardsPresets, error)
    public static DashboardsPresets Get(string name, Input<string> id, DashboardsPresetsState? state, CustomResourceOptions? opts = null)
    public static DashboardsPresets get(String name, Output<String> id, DashboardsPresetsState 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:
    DashboardPresetsList Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    EnableDashboardPresets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    DashboardPresetsList DashboardsPresetsDashboardPresetsListArgs
    Show selected preset to respective user group only.
    EnableDashboardPresets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    enableDashboardPresets Boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList DashboardsPresetsDashboardPresetsList
    Show selected preset to respective user group only.
    enableDashboardPresets boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboard_presets_list DashboardsPresetsDashboardPresetsListArgs
    Show selected preset to respective user group only.
    enable_dashboard_presets bool
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
    dashboardPresetsList Property Map
    Show selected preset to respective user group only.
    enableDashboardPresets Boolean
    Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.

    Supporting Types

    DashboardsPresetsDashboardPresetsList, DashboardsPresetsDashboardPresetsListArgs

    DashboardsPresetsDashboardPresetsListDashboardPreset, DashboardsPresetsDashboardPresetsListDashboardPresetArgs

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs