Show / Hide Table of Contents

Class Property

Global metadata element details.

Inheritance
object
Property
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class Property

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

Compartment OCID

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. Example: {"foo-namespace": {"bar-key": "value"}}

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[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.
Example: My new resource

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the resource.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Property.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Property.LifecycleStateEnum?

The current state of the Property.

Remarks

Required

ResourceRegion

Declaration
[Required(ErrorMessage = "ResourceRegion is required.")]
[JsonProperty(PropertyName = "resourceRegion")]
public string ResourceRegion { get; set; }
Property Value
Type Description
string

Associated region

Remarks

Required

Scope

Declaration
[JsonProperty(PropertyName = "scope")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Scope? Scope { get; set; }
Property Value
Type Description
Scope?

The scope of the property.

Selection

Declaration
[JsonProperty(PropertyName = "selection")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Selection? Selection { get; set; }
Property Value
Type Description
Selection?

Text selection of the property.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time this resource was created. An RFC3339 formatted datetime string.

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time this resource was last updated. An RFC3339 formatted datetime string.

Type

Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Property.TypeEnum? Type { get; set; }
Property Value
Type Description
Property.TypeEnum?

The type of the property.

ValueType

Declaration
[JsonProperty(PropertyName = "valueType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ValueType? ValueType { get; set; }
Property Value
Type Description
ValueType?

Format of the value.

Values

Declaration
[JsonProperty(PropertyName = "values")]
public List<string> Values { get; set; }
Property Value
Type Description
List<string>

Values of the property (must be a single value if selection = 'SINGLE_CHOICE').

In this article
Back to top