Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse
dynatrace.DashboardsGeneral
Explore with Pulumi AI
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:
- Enable
Public boolSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- Default
Dashboard Pulumiverse.List Dynatrace. Inputs. Dashboards General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- Enable
Public boolSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- Default
Dashboard DashboardsList General Default Dashboard List Args - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public BooleanSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard DashboardsList General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public booleanSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard DashboardsList General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable_
public_ boolsharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default_
dashboard_ Dashboardslist General Default Dashboard List Args - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public BooleanSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard Property MapList - 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.
- Default
Dashboard Pulumiverse.List Dynatrace. Inputs. Dashboards General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- Enable
Public boolSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- Default
Dashboard DashboardsList General Default Dashboard List Args - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- Enable
Public boolSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard DashboardsList General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public BooleanSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard DashboardsList General Default Dashboard List - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public booleanSharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default_
dashboard_ Dashboardslist General Default Dashboard List Args - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable_
public_ boolsharing - Allow users to grant anonymous access to dashboards. No sign-in will be required to view those dashboards read-only.
- default
Dashboard Property MapList - Configure home dashboard for selected user group. The selected preset dashboard will be loaded as default landing page for this environment.
- enable
Public BooleanSharing - 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 str
- Preset dashboard to show as default landing page
- user_
group str - 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.