1. Packages
  2. Dynatrace
  3. API Docs
  4. DashboardsGeneral
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.DashboardsGeneral

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    Create DashboardsGeneral Resource

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

    Constructor syntax

    new DashboardsGeneral(name: string, args: DashboardsGeneralArgs, opts?: CustomResourceOptions);
    @overload
    def DashboardsGeneral(resource_name: str,
                          args: DashboardsGeneralArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DashboardsGeneral(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          enable_public_sharing: Optional[bool] = None,
                          default_dashboard_list: Optional[DashboardsGeneralDefaultDashboardListArgs] = None)
    func NewDashboardsGeneral(ctx *Context, name string, args DashboardsGeneralArgs, opts ...ResourceOption) (*DashboardsGeneral, error)
    public DashboardsGeneral(string name, DashboardsGeneralArgs args, CustomResourceOptions? opts = null)
    public DashboardsGeneral(String name, DashboardsGeneralArgs args)
    public DashboardsGeneral(String name, DashboardsGeneralArgs args, CustomResourceOptions options)
    
    type: dynatrace:DashboardsGeneral
    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 DashboardsGeneralArgs
    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 DashboardsGeneralArgs
    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 DashboardsGeneralArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DashboardsGeneralArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DashboardsGeneralArgs
    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 dashboardsGeneralResource = new Dynatrace.DashboardsGeneral("dashboardsGeneralResource", new()
    {
        EnablePublicSharing = false,
        DefaultDashboardList = new Dynatrace.Inputs.DashboardsGeneralDefaultDashboardListArgs
        {
            DefaultDashboards = new[]
            {
                new Dynatrace.Inputs.DashboardsGeneralDefaultDashboardListDefaultDashboardArgs
                {
                    Dashboard = "string",
                    UserGroup = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewDashboardsGeneral(ctx, "dashboardsGeneralResource", &dynatrace.DashboardsGeneralArgs{
    	EnablePublicSharing: pulumi.Bool(false),
    	DefaultDashboardList: &dynatrace.DashboardsGeneralDefaultDashboardListArgs{
    		DefaultDashboards: dynatrace.DashboardsGeneralDefaultDashboardListDefaultDashboardArray{
    			&dynatrace.DashboardsGeneralDefaultDashboardListDefaultDashboardArgs{
    				Dashboard: pulumi.String("string"),
    				UserGroup: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var dashboardsGeneralResource = new DashboardsGeneral("dashboardsGeneralResource", DashboardsGeneralArgs.builder()
        .enablePublicSharing(false)
        .defaultDashboardList(DashboardsGeneralDefaultDashboardListArgs.builder()
            .defaultDashboards(DashboardsGeneralDefaultDashboardListDefaultDashboardArgs.builder()
                .dashboard("string")
                .userGroup("string")
                .build())
            .build())
        .build());
    
    dashboards_general_resource = dynatrace.DashboardsGeneral("dashboardsGeneralResource",
        enable_public_sharing=False,
        default_dashboard_list=dynatrace.DashboardsGeneralDefaultDashboardListArgs(
            default_dashboards=[dynatrace.DashboardsGeneralDefaultDashboardListDefaultDashboardArgs(
                dashboard="string",
                user_group="string",
            )],
        ))
    
    const dashboardsGeneralResource = new dynatrace.DashboardsGeneral("dashboardsGeneralResource", {
        enablePublicSharing: false,
        defaultDashboardList: {
            defaultDashboards: [{
                dashboard: "string",
                userGroup: "string",
            }],
        },
    });
    
    type: dynatrace:DashboardsGeneral
    properties:
        defaultDashboardList:
            defaultDashboards:
                - dashboard: string
                  userGroup: string
        enablePublicSharing: false
    

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

    EnablePublicSharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    DefaultDashboardList Pulumiverse.Dynatrace.Inputs.DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    EnablePublicSharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    DefaultDashboardList DashboardsGeneralDefaultDashboardListArgs
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing Boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enable_public_sharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    default_dashboard_list DashboardsGeneralDefaultDashboardListArgs
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing Boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList Property Map
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.

    Outputs

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

    Get an existing DashboardsGeneral 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?: DashboardsGeneralState, opts?: CustomResourceOptions): DashboardsGeneral
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_dashboard_list: Optional[DashboardsGeneralDefaultDashboardListArgs] = None,
            enable_public_sharing: Optional[bool] = None) -> DashboardsGeneral
    func GetDashboardsGeneral(ctx *Context, name string, id IDInput, state *DashboardsGeneralState, opts ...ResourceOption) (*DashboardsGeneral, error)
    public static DashboardsGeneral Get(string name, Input<string> id, DashboardsGeneralState? state, CustomResourceOptions? opts = null)
    public static DashboardsGeneral get(String name, Output<String> id, DashboardsGeneralState 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:
    DefaultDashboardList Pulumiverse.Dynatrace.Inputs.DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    EnablePublicSharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    DefaultDashboardList DashboardsGeneralDefaultDashboardListArgs
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    EnablePublicSharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing Boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList DashboardsGeneralDefaultDashboardList
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    default_dashboard_list DashboardsGeneralDefaultDashboardListArgs
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enable_public_sharing bool
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
    defaultDashboardList Property Map
    Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
    enablePublicSharing Boolean
    Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.

    Supporting Types

    DashboardsGeneralDefaultDashboardList, DashboardsGeneralDefaultDashboardListArgs

    DashboardsGeneralDefaultDashboardListDefaultDashboard, DashboardsGeneralDefaultDashboardListDefaultDashboardArgs

    Dashboard string
    Preset dashboard to show as default landing page
    UserGroup string
    Show selected dashboard by default for this user group
    Dashboard string
    Preset dashboard to show as default landing page
    UserGroup string
    Show selected dashboard by default for this user group
    dashboard String
    Preset dashboard to show as default landing page
    userGroup String
    Show selected dashboard by default for this user group
    dashboard string
    Preset dashboard to show as default landing page
    userGroup string
    Show selected dashboard by default for this user group
    dashboard str
    Preset dashboard to show as default landing page
    user_group str
    Show selected dashboard by default for this user group
    dashboard String
    Preset dashboard to show as default landing page
    userGroup String
    Show selected dashboard by default for this user group

    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.10.0 published on Friday, Jun 7, 2024 by Pulumiverse