Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateGovernanceRuleDetails

Request object for CreateGovernanceRule operation.

Properties

compartmentId

compartmentId: string

The Oracle ID (OCID) of the root compartment containing the governance rule.

creationOption

creationOption: CreationOption

The type of option used to create the governance rule, could be one of TEMPLATE or CLONE.

Example: {@code TEMPLATE}

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional description

description: undefined | string

Description of the governance rule.

displayName

displayName: string

Display name of the governance rule.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {@code {"bar-key": "value"}}

Optional relatedResourceId

relatedResourceId: undefined | string

The Oracle ID (OCID) of the resource, which was used as a template to create this governance rule.

template

type

Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.

Example: {@code QUOTA}

Functions

getDeserializedJsonObj

getJsonObj