Show / Hide Table of Contents

Class Compartments

Containing the OCID of the compartment and a boolean value to indicates compartmentIdInSubtree.

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

Properties

Id

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

The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.

Remarks

Required

IsIncludeSubtree

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

This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.

In this article
Back to top