Show / Hide Table of Contents

Class CreateCompartmentDetails

Inheritance
System.Object
CreateCompartmentDetails
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class CreateCompartmentDetails : object

Properties

CompartmentId

Declaration
public string CompartmentId { get; set; }
Property Value
Type Description
System.String

The OCID of the parent compartment containing the compartment.

Remarks

Required

DefinedTags

Declaration
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> DefinedTags { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, System.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
public string Description { get; set; }
Property Value
Type Description
System.String

The description you assign to the compartment during creation. Does not have to be unique, and it's changeable.

Remarks

Required

FreeformTags

Declaration
public System.Collections.Generic.Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.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"}

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name you assign to the compartment during creation. The name must be unique across all compartments in the parent compartment. Avoid entering confidential information.

Remarks

Required

In This Article
Back to top