Data Source: oci_golden_gate_deployment_upgrades
This data source provides the list of Deployment Upgrades in Oracle Cloud Infrastructure Golden Gate service.
Lists the Deployment Upgrades in a compartment.
Example Usage
data "oci_golden_gate_deployment_upgrades" "test_deployment_upgrades" {
#Required
compartment_id = var.compartment_id
#Optional
deployment_id = oci_golden_gate_deployment.test_deployment.id
display_name = var.deployment_upgrade_display_name
state = var.deployment_upgrade_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.deployment_id
- (Optional) The OCID of the deployment in which to list resources.display_name
- (Optional) A filter to return only the resources that match the entire ‘displayName’ given.state
- (Optional) A filter to return only the resources that match the ‘lifecycleState’ given.
Attributes Reference
The following attributes are exported:
deployment_upgrade_collection
- The list of deployment_upgrade_collection.
DeploymentUpgrade Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment being referenced.defined_tags
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
deployment_id
- The OCID of the deployment being referenced.deployment_upgrade_type
- The type of the deployment upgrade: MANUAL or AUTOMATICdescription
- Metadata about this specific object.display_name
- An object’s Display Name.freeform_tags
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the deployment upgrade being referenced.is_cancel_allowed
- Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is not forced by service, otherwise only reschedule allowed.is_reschedule_allowed
- Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the service defined auto-upgrade period.is_rollback_allowed
- Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.- Manual upgrade is allowed to rollback only until the old version isn’t deprecated yet.
- Automatic upgrade by default is not allowed, unless a serious issue does not justify.
is_security_fix
- Indicates if OGG release contains security fix.is_snoozed
- Indicates if upgrade notifications are snoozed or not.lifecycle_details
- Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.lifecycle_sub_state
- Possible GGS lifecycle sub-states.ogg_version
- Version of OGGprevious_ogg_version
- Version of OGGrelease_type
- The type of release.state
- Possible lifecycle states.system_tags
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:{orcl-cloud: {free-tier-retain: true}}
time_created
- The time the resource was created. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_finished
- The date and time the request was finished. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_ogg_version_supported_until
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_released
- The time the resource was released. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_schedule
- The time of upgrade schedule. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_schedule_max
- Indicates the latest time until the deployment upgrade could be rescheduled. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_snoozed_until
- The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_started
- The date and time the request was started. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.time_updated
- The time the resource was last updated. The format is defined by RFC3339, such as2016-08-25T21:10:29.600Z
.