Class Include
Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, definedTags, freeformTagsIn or systemTags criteria then it qualifies for inclusion in the target database group.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class Include
Properties
Compartments
Declaration
[JsonProperty(PropertyName = "compartments")]
public List<Compartments> Compartments { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Compartments> | List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group. |
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"}} |
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
|
FreeformTagsIn
Declaration
[JsonProperty(PropertyName = "freeformTagsIn")]
public Dictionary<string, object> FreeformTagsIn { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> | Map of freeform tag filters. Each key maps to an array of strings. Target database matches the key if it's tag value equals any of the values in the array. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Map of system tag filters. Target database matches when for each specified namespace.key and the tag value equals any of the values in the array. |
TargetDatabaseIds
Declaration
[JsonProperty(PropertyName = "targetDatabaseIds")]
public List<string> TargetDatabaseIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | The list of target database OCIDs to be included in the target database group. |