CreateTemplateDetails

class oci.resource_manager.models.CreateTemplateDetails(**kwargs)

Bases: object

The configuration details for creating a template.

Methods

__init__(**kwargs) Initializes a new CreateTemplateDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateTemplateDetails.
defined_tags Gets the defined_tags of this CreateTemplateDetails.
description [Required] Gets the description of this CreateTemplateDetails.
display_name [Required] Gets the display_name of this CreateTemplateDetails.
freeform_tags Gets the freeform_tags of this CreateTemplateDetails.
logo_file_base64_encoded Gets the logo_file_base64_encoded of this CreateTemplateDetails.
long_description Gets the long_description of this CreateTemplateDetails.
template_config_source [Required] Gets the template_config_source of this CreateTemplateDetails.
__init__(**kwargs)

Initializes a new CreateTemplateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateTemplateDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateTemplateDetails.
  • description (str) – The value to assign to the description property of this CreateTemplateDetails.
  • long_description (str) – The value to assign to the long_description property of this CreateTemplateDetails.
  • logo_file_base64_encoded (str) – The value to assign to the logo_file_base64_encoded property of this CreateTemplateDetails.
  • template_config_source (oci.resource_manager.models.CreateTemplateConfigSourceDetails) – The value to assign to the template_config_source property of this CreateTemplateDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateTemplateDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateTemplateDetails.
compartment_id

[Required] Gets the compartment_id of this CreateTemplateDetails. The OCID of the compartment containing this template.

Returns:The compartment_id of this CreateTemplateDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateTemplateDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

[Required] Gets the description of this CreateTemplateDetails. Description of the template. Avoid entering confidential information.

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

[Required] Gets the display_name of this CreateTemplateDetails. The template’s display name. Avoid entering confidential information.

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

Gets the freeform_tags of this CreateTemplateDetails. Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateTemplateDetails.
Return type:dict(str, str)
logo_file_base64_encoded

Gets the logo_file_base64_encoded of this CreateTemplateDetails. Base64-encoded logo to use as the template icon. Template icon file requirements: PNG format, 50 KB maximum, 110 x 110 pixels.

Returns:The logo_file_base64_encoded of this CreateTemplateDetails.
Return type:str
long_description

Gets the long_description of this CreateTemplateDetails. Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information.

Returns:The long_description of this CreateTemplateDetails.
Return type:str
template_config_source

[Required] Gets the template_config_source of this CreateTemplateDetails.

Returns:The template_config_source of this CreateTemplateDetails.
Return type:oci.resource_manager.models.CreateTemplateConfigSourceDetails