Class ViewSummary
An OCI DNS view.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.DnsService.Models
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class ViewSummary
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 owning compartment. |
Remarks
Required
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the view. |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
**Example: ** {"Department": "Finance"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the view. |
Remarks
Required
IsProtected
Declaration
[Required(ErrorMessage = "IsProtected is required.")]
[JsonProperty(PropertyName = "isProtected")]
public bool? IsProtected { get; set; }
Property Value
Type | Description |
---|---|
bool? | A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ViewSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ViewSummary.LifecycleStateEnum? | The current state of the resource. |
Remarks
Required
Self
Declaration
[Required(ErrorMessage = "Self is required.")]
[JsonProperty(PropertyName = "self")]
public string Self { get; set; }
Property Value
Type | Description |
---|---|
string | The canonical absolute URL of the resource. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
with a Z offset, as defined by RFC 3339.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
format with a Z offset, as defined by RFC 3339.
|
Remarks
Required