Class Template
The properties that define a template. A template is a pre-built Terraform configuration that provisions a set of resources used in a common scenario.
Inherited Members
Namespace: Oci.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class TemplateProperties
CategoryId
Declaration
[JsonProperty(PropertyName = "categoryId")]
public string CategoryId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique identifier for the category where the template is located.
Possible values are  | 
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment containing this template. | 
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
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Brief description of the template. | 
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. | 
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"} | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique identifier (OCID) for the template. | 
Remarks
Required
IsFreeTier
Declaration
[JsonProperty(PropertyName = "isFreeTier")]
public bool? IsFreeTier { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | whether the template will work for free tier tenancy. | 
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Template.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| Template.LifecycleStateEnum? | The current lifecycle state of the template. | 
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. | 
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} | 
TemplateConfigSource
Declaration
[JsonProperty(PropertyName = "templateConfigSource")]
public TemplateConfigSource TemplateConfigSource { get; set; }Property Value
| Type | Description | 
|---|---|
| TemplateConfigSource | 
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time at which the template was created. Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z |