CreateV1DashboardDetails

class oci.dashboard_service.models.CreateV1DashboardDetails(**kwargs)

Bases: oci.dashboard_service.models.create_dashboard_details.CreateDashboardDetails

Details for creating a version 1 dashboard. The interpretation of the config and widgets fields depends on the runtime behavior of the Oracle Cloud Infrastructure Console. The sum of the config and widget fields JSON text representation cannot exceed 200 KB.

Methods

__init__(**kwargs) Initializes a new CreateV1DashboardDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes

config Gets the config of this CreateV1DashboardDetails.
dashboard_group_id [Required] Gets the dashboard_group_id of this CreateDashboardDetails.
defined_tags Gets the defined_tags of this CreateDashboardDetails.
description Gets the description of this CreateDashboardDetails.
display_name Gets the display_name of this CreateDashboardDetails.
freeform_tags Gets the freeform_tags of this CreateDashboardDetails.
schema_version [Required] Gets the schema_version of this CreateDashboardDetails.
widgets [Required] Gets the widgets of this CreateV1DashboardDetails.
__init__(**kwargs)

Initializes a new CreateV1DashboardDetails object with values from keyword arguments. The default value of the schema_version attribute of this class is V1 and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • dashboard_group_id (str) – The value to assign to the dashboard_group_id property of this CreateV1DashboardDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateV1DashboardDetails.
  • description (str) – The value to assign to the description property of this CreateV1DashboardDetails.
  • schema_version (str) – The value to assign to the schema_version property of this CreateV1DashboardDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateV1DashboardDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateV1DashboardDetails.
  • config (object) – The value to assign to the config property of this CreateV1DashboardDetails.
  • widgets (list[object]) – The value to assign to the widgets property of this CreateV1DashboardDetails.
config

Gets the config of this CreateV1DashboardDetails. The layout and widget placement for the dashboard.

Returns:The config of this CreateV1DashboardDetails.
Return type:object
dashboard_group_id

[Required] Gets the dashboard_group_id of this CreateDashboardDetails. The OCID of the dashboard group that the dashbaord is associated with.

Returns:The dashboard_group_id of this CreateDashboardDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateDashboardDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateDashboardDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateDashboardDetails. A short description of the dashboard. It can be changed. Avoid entering confidential information. The following special characters are not allowed: <>()=/’”&

Returns:The description of this CreateDashboardDetails.
Return type:str
display_name

Gets the display_name of this CreateDashboardDetails. A user-friendly name for the dashboard. Does not have to be unique, and it can be changed. Avoid entering confidential information. Leading and trailing spaces and the following special characters are not allowed: <>()=/’”&

Returns:The display_name of this CreateDashboardDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDashboardDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateDashboardDetails.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

schema_version

[Required] Gets the schema_version of this CreateDashboardDetails. The schema describing how to interpret the dashboard configuration and widgets.

Returns:The schema_version of this CreateDashboardDetails.
Return type:str
widgets

[Required] Gets the widgets of this CreateV1DashboardDetails. The basic visualization building blocks of a dashboard.

Returns:The widgets of this CreateV1DashboardDetails.
Return type:list[object]