oci360 2a.32. Volumes (OCI360_VOLUMES)


# DISPLAY_NAME IS_H SIZE_IN_GBS SIZE_IN_MBS TIME_CREATED VPUS_PER_GB COMPARTMENT_NAME S S LIFECYCLE_STATE VOLU AVAILABILITY_DOMAIN POLICY_N ID
1 test_vol true 50 51200 2020-06-26T19:28:23.433000+00:00 10 compt_dev_app     AVAILABLE   CYtq:US-ASHBURN-AD-3   ocid1.volume.oc1.iad.000000000000000000000000000000000000000000000000000000000710
2 oci360_u01 true 50 51200 2020-05-20T15:05:40.997000+00:00 10 compt_dev_app     AVAILABLE   CYtq:US-ASHBURN-AD-3   ocid1.volume.oc1.iad.000000000000000000000000000000000000000000000000000000000712
3 test_vol true 50 51200 2020-06-26T18:15:04.901000+00:00 0 compt_dev_db     TERMINATED   CYtq:US-ASHBURN-AD-3   ocid1.volume.oc1.iad.000000000000000000000000000000000000000000000000000000000711

#: click on a column heading to sort on it

 Name                                                                                Null?    Type
 ----------------------------------------------------------------------------------- -------- --------------------------------------------------------
 ID                                                                                           VARCHAR2(128)
 KMS_KEY_ID                                                                                   VARCHAR2(4)
 IS_HYDRATED                                                                                  VARCHAR2(4)
 SIZE_IN_GBS                                                                                  NUMBER
 SIZE_IN_MBS                                                                                  NUMBER
 SYSTEM_TAGS$ORCL_CLOUD$FREE_TIER_RETAINED                                                    VARCHAR2(4)
 VPUS_PER_GB                                                                                  NUMBER
 DEFINED_TAGS$ORACLE_TAGS$CREATEDBY                                                           VARCHAR2(64)
 DEFINED_TAGS$ORACLE_TAGS$CREATEDON                                                           VARCHAR2(32)
 DISPLAY_NAME                                                                                 VARCHAR2(16)
 TIME_CREATED                                                                                 VARCHAR2(32)
 COMPARTMENT_ID                                                                               VARCHAR2(128)
 LIFECYCLE_STATE                                                                              VARCHAR2(16)
 VOLUME_GROUP_ID                                                                              VARCHAR2(4)
 AVAILABILITY_DOMAIN                                                                          VARCHAR2(32)
 SOURCE_DETAILS$ID                                                                            VARCHAR2(1)
 SOURCE_DETAILS$TYPE                                                                          VARCHAR2(1)


SELECT jt.DISPLAY_NAME,
       jt.IS_HYDRATED,
       jt.SIZE_IN_GBS,
       jt.SIZE_IN_MBS,
       jt.TIME_CREATED,
       jt.VPUS_PER_GB,
       tcomp.NAME COMPARTMENT_NAME,
       jt.SOURCE_DETAILS$ID,
       jt.SOURCE_DETAILS$TYPE,
       jt.LIFECYCLE_STATE,
       jt.VOLUME_GROUP_ID,
       jt.AVAILABILITY_DOMAIN,
       tbkppol.POLICY_NAME,
       jt.ID
FROM   OCI360_VOLUMES jt,
       OCI360_COMPARTMENTS tcomp,
       OCI360_BKP_POLICY_ASSIGN tbkppolassign,
       (select distinct id, display_name policy_name from OCI360_BKP_POLICY) tbkppol
WHERE  jt.COMPARTMENT_ID = tcomp.ID
AND    jt.ID = tbkppolassign.ASSET_ID (+)
AND    tbkppolassign.POLICY_ID = tbkppol.ID (+)
ORDER  BY COMPARTMENT_NAME, jt.TIME_CREATED DESC;


3 rows selected.

oci360 (c) 2020, All rights reserved. oci360 v20.06 (2020-06-25) based on moat369 v2002 (2020-02-27). Timestamp: 2020-06-30T15:51:44