Property Compartment
Compartment
Cloud service only. Gets or sets a compartment id or a
compartment name for operations with this
NoSQLClient instance.
Declaration
public string Compartment { get; set; }
Property Value
Type | Description |
---|---|
String | Compartment id or compartment name. The default is the OCID of the root compartment of the tenancy. |
Remarks
This property serves a a default value of Compartment
property of all operation options classes.
If compartment name is used it can be either the name of a top-level compartment or a path to a nested compartment, e.g. compartmentA.compartmentB.compartmentC. The path should not include the root compartment name (tenant). If this property is not specified either here or for an individual operation, the tenant OCID is used as the compartment id for the operation, which is the id of the root compartment for the tenancy. See