Class CreateTemplateDetails
Creation details for a template.
Inherited Members
Namespace: Oci.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class CreateTemplateDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing this template. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the template. Avoid entering confidential information. |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The template's display name. Avoid entering confidential information. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | 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"} |
LogoFileBase64Encoded
Declaration
[JsonProperty(PropertyName = "logoFileBase64Encoded")]
public string LogoFileBase64Encoded { get; set; }
Property Value
Type | Description |
---|---|
string | Base64-encoded logo to use as the template icon. Template icon file requirements: PNG format, 50 KB maximum, 110 x 110 pixels. |
LongDescription
Declaration
[JsonProperty(PropertyName = "longDescription")]
public string LongDescription { get; set; }
Property Value
Type | Description |
---|---|
string | Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information. |
TemplateConfigSource
Declaration
[Required(ErrorMessage = "TemplateConfigSource is required.")]
[JsonProperty(PropertyName = "templateConfigSource")]
public CreateTemplateConfigSourceDetails TemplateConfigSource { get; set; }
Property Value
Type | Description |
---|---|
CreateTemplateConfigSourceDetails |
Remarks
Required