Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.DashboardsPresets
Explore with Pulumi AI
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.
Constructor 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:
- Enable
Dashboard boolPresets - 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 Pulumiverse.List Dynatrace. Inputs. Dashboards Presets Dashboard Presets List - Show selected preset to respective user group only.
- Enable
Dashboard boolPresets - 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 DashboardsList Presets Dashboard Presets List Args - Show selected preset to respective user group only.
- enable
Dashboard BooleanPresets - 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 DashboardsList Presets Dashboard Presets List - Show selected preset to respective user group only.
- enable
Dashboard booleanPresets - 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 DashboardsList Presets Dashboard Presets List - Show selected preset to respective user group only.
- enable_
dashboard_ boolpresets - 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_ Dashboardslist Presets Dashboard Presets List Args - Show selected preset to respective user group only.
- enable
Dashboard BooleanPresets - 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 Property MapList - 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.
- Dashboard
Presets Pulumiverse.List Dynatrace. Inputs. Dashboards Presets Dashboard Presets List - Show selected preset to respective user group only.
- Enable
Dashboard boolPresets - 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 DashboardsList Presets Dashboard Presets List Args - Show selected preset to respective user group only.
- Enable
Dashboard boolPresets - 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 DashboardsList Presets Dashboard Presets List - Show selected preset to respective user group only.
- enable
Dashboard BooleanPresets - 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 DashboardsList Presets Dashboard Presets List - Show selected preset to respective user group only.
- enable
Dashboard booleanPresets - 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_ Dashboardslist Presets Dashboard Presets List Args - Show selected preset to respective user group only.
- enable_
dashboard_ boolpresets - 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 Property MapList - Show selected preset to respective user group only.
- enable
Dashboard BooleanPresets - 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
- Dashboard
Preset string - Dashboard preset to limit visibility for
- User
Group string - User group to show selected dashboard preset to
- Dashboard
Preset string - Dashboard preset to limit visibility for
- User
Group string - User group to show selected dashboard preset to
- dashboard
Preset String - Dashboard preset to limit visibility for
- user
Group String - User group to show selected dashboard preset to
- dashboard
Preset string - Dashboard preset to limit visibility for
- user
Group string - User group to show selected dashboard preset to
- dashboard_
preset str - Dashboard preset to limit visibility for
- user_
group str - User group to show selected dashboard preset to
- dashboard
Preset String - Dashboard preset to limit visibility for
- user
Group String - User group to show selected dashboard preset to
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.