Show / Hide Table of Contents

Class AttributeSet

Represents an attribute set. An attribute set is a collection of data attributes defined by the user. i.e an attribute set of ip addresses, os user names or database privileged users.

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

Properties

AttributeSetType

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

The type of attribute set.

Remarks

Required

AttributeSetValues

Declaration
[Required(ErrorMessage = "AttributeSetValues is required.")]
[JsonProperty(PropertyName = "attributeSetValues")]
public List<string> AttributeSetValues { get; set; }
Property Value
Type Description
List<string>

The list of values in an attribute set

Remarks

Required

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 where the attribute set is stored.

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
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Description of an attribute set.

DisplayName

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

The display name of an attribute set. The name does not have to be unique, and is changeable.

Remarks

Required

FreeformTags

Declaration
[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"}

Id

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

The OCID of an attribute set.

Remarks

Required

InUse

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

Indicates whether the attribute set is in use by other resource.

IsUserDefined

Declaration
[JsonProperty(PropertyName = "isUserDefined")]
public bool? IsUserDefined { get; set; }
Property Value
Type Description
bool?

A boolean flag indicating to list user defined or seeded attribute sets.

LifecycleState

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

The current state of an attribute set.

Remarks

Required

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. For more information, see Resource Tags. 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 date and time an attribute set was created, in the format defined by RFC3339.

Remarks

Required

TimeUpdated

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

The date and time an attribute set was updated, in the format defined by RFC3339.

In this article
Back to top