Skip to main content

upgrade_status

Creates, updates, deletes, gets or lists a upgrade_status resource.

Overview​

Nameupgrade_status
TypeResource
Idoci.network.upgrade_status

Fields​

The following fields are returned by SELECT queries:

The DRG is upgrading.

NameDatatypeDescription
drgIdstringThe drgId of the upgraded DRG.
statusstringThe current upgrade status of the DRG attachment. (NOT_UPGRADED, IN_PROGRESS, UPGRADED)
upgradedConnectionsstringThe number of upgraded connections.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdrgId, regionopc-request-idReturns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
drgIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
opc-request-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

SELECT examples​

Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed.<br />

SELECT
drgId,
status,
upgradedConnections
FROM oci.network.upgrade_status
WHERE drgId = '{{ drgId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;