Show / Hide Table of Contents

Class CreateAttributeSetDetails

The details for an attribute set.

Inheritance
object
CreateAttributeSetDetails
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 CreateAttributeSetDetails

Properties

AttributeSetType

Declaration
[Required(ErrorMessage = "AttributeSetType is required.")]
[JsonProperty(PropertyName = "attributeSetType")]
[JsonConverter(typeof(StringEnumConverter))]
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 that contains the attribute set.

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 the 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 the attribute set. The name is unique and 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"}

In this article
Back to top