diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e36d6e5caf..df6f5de790 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,25 @@ Change Log All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_. +==================== +2.108.0 - 2023-07-25 +==================== + +Added +----- +* Support for composing multiple document service custom key value models into one single model in Document Understanding Service +* Support for custom hostname in the Compute service +* Support for cloud subscription in the Organizations service +* Support for automatic backup download in the GoldenGate service +* Support for creating single use (non-recurring) budgets in the Budgets service + +Breaking +-------- +* Support for retries by default on operations of the Budgets service +* Properties `is_classic_subscription`, `payment_model`, `region_assignment`, `lifecycle_state`, `start_date`, `end_date`, `classic_subscription_id`, `time_created` are deleted from model `SubscriptionSummary` in the Organizations service +* Properties `classic_subscription_id`, `is_classic_subscription`, `payment_model`, `region_assignment`, `lifecycle_state`, `skus`, `program_type`, `customer_country_code`, `cloud_amount_currency`, `csi_number`, `subscription_tier`, `is_government_subscription`, `promotion`, `purchase_entitlement_id`, `start_date`, `end_date` are deleted from models `Subscription` and `AssignedSubscription` in the Organizations service +* Properties `classic_subscription_id`, `is_classic_subscription`, `payment_model`, `region_assignment`, `lifecycle_state`, `start_date`, `end_date`, `csi_number` are deleted from model `AssignedSubscriptionSummary` in the Organizations service + ==================== 2.107.0 - 2023-07-18 ==================== diff --git a/docs/api/golden_gate.rst b/docs/api/golden_gate.rst index 98c964844d..72a6bdcba2 100644 --- a/docs/api/golden_gate.rst +++ b/docs/api/golden_gate.rst @@ -37,6 +37,7 @@ Golden Gate oci.golden_gate.models.ConnectionAssignmentSummary oci.golden_gate.models.ConnectionCollection oci.golden_gate.models.ConnectionSummary + oci.golden_gate.models.CopyDeploymentBackupDetails oci.golden_gate.models.CreateAmazonS3ConnectionDetails oci.golden_gate.models.CreateAzureDataLakeStorageConnectionDetails oci.golden_gate.models.CreateAzureSynapseConnectionDetails diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CopyDeploymentBackupDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CopyDeploymentBackupDetails.rst new file mode 100644 index 0000000000..effce2c559 --- /dev/null +++ b/docs/api/golden_gate/models/oci.golden_gate.models.CopyDeploymentBackupDetails.rst @@ -0,0 +1,11 @@ +CopyDeploymentBackupDetails +=========================== + +.. currentmodule:: oci.golden_gate.models + +.. autoclass:: CopyDeploymentBackupDetails + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane.rst b/docs/api/tenant_manager_control_plane.rst index 21d970dbf9..b01139fffc 100644 --- a/docs/api/tenant_manager_control_plane.rst +++ b/docs/api/tenant_manager_control_plane.rst @@ -39,9 +39,19 @@ Tenant Manager Control Plane oci.tenant_manager_control_plane.models.ActivateOrderDetails oci.tenant_manager_control_plane.models.AssignedSubscription oci.tenant_manager_control_plane.models.AssignedSubscriptionCollection + oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemCollection + oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary oci.tenant_manager_control_plane.models.AssignedSubscriptionSummary oci.tenant_manager_control_plane.models.AvailableRegionCollection oci.tenant_manager_control_plane.models.AvailableRegionSummary + oci.tenant_manager_control_plane.models.ClassicAssignedSubscription + oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary + oci.tenant_manager_control_plane.models.ClassicSubscription + oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary + oci.tenant_manager_control_plane.models.CloudAssignedSubscription + oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary + oci.tenant_manager_control_plane.models.CloudSubscription + oci.tenant_manager_control_plane.models.CloudSubscriptionSummary oci.tenant_manager_control_plane.models.CreateChildTenancyDetails oci.tenant_manager_control_plane.models.CreateDomainDetails oci.tenant_manager_control_plane.models.CreateDomainGovernanceDetails @@ -67,6 +77,7 @@ Tenant Manager Control Plane oci.tenant_manager_control_plane.models.RecipientInvitation oci.tenant_manager_control_plane.models.RecipientInvitationCollection oci.tenant_manager_control_plane.models.RecipientInvitationSummary + oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails oci.tenant_manager_control_plane.models.SenderInvitation oci.tenant_manager_control_plane.models.SenderInvitationCollection oci.tenant_manager_control_plane.models.SenderInvitationSummary @@ -74,6 +85,8 @@ Tenant Manager Control Plane oci.tenant_manager_control_plane.models.Subscription oci.tenant_manager_control_plane.models.SubscriptionCollection oci.tenant_manager_control_plane.models.SubscriptionInfo + oci.tenant_manager_control_plane.models.SubscriptionLineItemCollection + oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary oci.tenant_manager_control_plane.models.SubscriptionMapping oci.tenant_manager_control_plane.models.SubscriptionMappingCollection oci.tenant_manager_control_plane.models.SubscriptionMappingSummary diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemCollection.rst new file mode 100644 index 0000000000..7f31239955 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemCollection.rst @@ -0,0 +1,11 @@ +AssignedSubscriptionLineItemCollection +====================================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: AssignedSubscriptionLineItemCollection + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary.rst new file mode 100644 index 0000000000..f271d2cebb --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary.rst @@ -0,0 +1,11 @@ +AssignedSubscriptionLineItemSummary +=================================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: AssignedSubscriptionLineItemSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscription.rst new file mode 100644 index 0000000000..e0333306e3 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscription.rst @@ -0,0 +1,11 @@ +ClassicAssignedSubscription +=========================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: ClassicAssignedSubscription + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary.rst new file mode 100644 index 0000000000..a523d3d6e5 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary.rst @@ -0,0 +1,11 @@ +ClassicAssignedSubscriptionSummary +================================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: ClassicAssignedSubscriptionSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscription.rst new file mode 100644 index 0000000000..7b82592312 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscription.rst @@ -0,0 +1,11 @@ +ClassicSubscription +=================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: ClassicSubscription + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary.rst new file mode 100644 index 0000000000..422231b18e --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary.rst @@ -0,0 +1,11 @@ +ClassicSubscriptionSummary +========================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: ClassicSubscriptionSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscription.rst new file mode 100644 index 0000000000..7512336c68 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscription.rst @@ -0,0 +1,11 @@ +CloudAssignedSubscription +========================= + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: CloudAssignedSubscription + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary.rst new file mode 100644 index 0000000000..c1aeb3c925 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary.rst @@ -0,0 +1,11 @@ +CloudAssignedSubscriptionSummary +================================ + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: CloudAssignedSubscriptionSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscription.rst new file mode 100644 index 0000000000..c50e66cb4b --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscription.rst @@ -0,0 +1,11 @@ +CloudSubscription +================= + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: CloudSubscription + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscriptionSummary.rst new file mode 100644 index 0000000000..ddc42fb37e --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CloudSubscriptionSummary.rst @@ -0,0 +1,11 @@ +CloudSubscriptionSummary +======================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: CloudSubscriptionSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails.rst new file mode 100644 index 0000000000..89f6bf4ca5 --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails.rst @@ -0,0 +1,11 @@ +ReviveWorkflowInstanceDetails +============================= + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: ReviveWorkflowInstanceDetails + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemCollection.rst new file mode 100644 index 0000000000..374273b5cc --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemCollection.rst @@ -0,0 +1,11 @@ +SubscriptionLineItemCollection +============================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: SubscriptionLineItemCollection + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary.rst new file mode 100644 index 0000000000..5b7461cf4c --- /dev/null +++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary.rst @@ -0,0 +1,11 @@ +SubscriptionLineItemSummary +=========================== + +.. currentmodule:: oci.tenant_manager_control_plane.models + +.. autoclass:: SubscriptionLineItemSummary + :show-inheritance: + :special-members: __init__ + :members: + :undoc-members: + :inherited-members: \ No newline at end of file diff --git a/examples/showoci/CHANGELOG.rst b/examples/showoci/CHANGELOG.rst index a4193ca9af..ff17434abf 100644 --- a/examples/showoci/CHANGELOG.rst +++ b/examples/showoci/CHANGELOG.rst @@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_. +===================== +23.07.26 - 23.07.26 +===================== +* Added support for identity domain password policies, can be skipped using -isc flag +* Added more information to database service (vault_id) and other areas + ===================== 23.07.19 - 23.07.19 ===================== * Added additional attributes for compute csv extract -* reform output of False and True and None, completed Core and Identity (up to line 7500 of showoci_services) +* reform output of False and True and None 50% completed (up to line 7500) ===================== 23.07.04 - 23.07.04 diff --git a/examples/showoci/showoci.py b/examples/showoci/showoci.py index 3eabb165f2..4e42ce4e55 100644 --- a/examples/showoci/showoci.py +++ b/examples/showoci/showoci.py @@ -6,6 +6,7 @@ # showoci.py # # @author: Adi Zohar +# @contributors: Olaf Heimburger # # Supports Python 3 and above # @@ -116,7 +117,7 @@ import contextlib import os -version = "23.07.19" +version = "23.07.26" ########################################################################## # check OCI version @@ -198,7 +199,7 @@ def execute_extract(): if cmd.servicefile or cmd.servicescr: if cmd.servicefile: if cmd.servicefile.name: - print_to_json_file(cmd.servicefile.name, data.get_service_data(), "Service Data") + print_to_json_file(output, cmd.servicefile.name, data.get_service_data(), "Service Data") elif cmd.servicescr: print(json.dumps(data.get_service_data(), indent=4, sort_keys=False)) diff --git a/examples/showoci/showoci_data.py b/examples/showoci/showoci_data.py index f27bba594d..53fb0ffd35 100644 --- a/examples/showoci/showoci_data.py +++ b/examples/showoci/showoci_data.py @@ -5,6 +5,7 @@ # showoci_data.py # # @author: Adi Zohar +# @contributors: Olaf Heimburger # # Supports Python 3 and above # @@ -18,7 +19,7 @@ class ShowOCIData(object): - version = "23.07.19" + version = "23.07.26" ############################################ # ShowOCIService - Service object to query @@ -132,7 +133,7 @@ def get_showoci_config(self, cmdline, start_time): data = { 'program': "showoci.py", 'author': "Adi Zohar", - 'contributers': "", + 'contributors': "Olaf Heimburger", 'disclaimer': "This is not an official Oracle application, it is not supported by Oracle. It should NOT be used for utilization calculation purposes. If you run into issues using this, please file an issue at https://github.com/oracle/oci-python-sdk/issues rather than contacting support", 'config_file': self.service.flags.config_file, 'config_profile': self.service.flags.config_section, @@ -672,7 +673,6 @@ def __get_core_network_vcn_subnets(self, vcn_id): except Exception as e: self.__print_error("__get_core_network_vcn_subnets", e) return data - pass ########################################################################## # __get_core_network_vcn_vlans @@ -735,7 +735,6 @@ def __get_core_network_vcn_vlans(self, vcn_id): except Exception as e: self.__print_error("__get_core_network_vcn_vlans", e) return data - pass ########################################################################## # Print Network vcn security list @@ -1584,6 +1583,7 @@ def __get_core_block_volume_boot_backup(self, region_name, compartment, volume_n value['volume_id'] = backup['volume_id'] value['source_name'] = backup['backup_name'] value['backup_type'] = backup['type'] + value['kms_key_id'] = backup['kms_key_id'] value['schedule_type'] = backup['source_type'] value['time_created'] = backup['time_created'][0:16] value['expiration_time'] = backup['expiration_time'][0:16] @@ -1718,25 +1718,30 @@ def __get_core_block_volume_groups(self, region_name, compartment): volgroups = self.service.search_multi_items(self.service.C_BLOCK, self.service.C_BLOCK_VOLGRP, 'region_name', region_name, 'compartment_id', compartment['id']) for vplgrp in volgroups: - value = {'id': vplgrp['id'], 'name': vplgrp['display_name'], 'size_in_gbs': vplgrp['size_in_gbs'], + value = {'id': vplgrp['id'], + 'name': vplgrp['display_name'], + 'size_in_gbs': vplgrp['size_in_gbs'], 'compartment_name': str(vplgrp['compartment_name']), 'compartment_path': str(vplgrp['compartment_path']), 'volumes': [], 'time_created': vplgrp['time_created'], 'defined_tags': vplgrp['defined_tags'], 'freeform_tags': vplgrp['freeform_tags']} - - # check volumes for vol_id in vplgrp['volume_ids']: vol = self.service.search_unique_item(self.service.C_BLOCK, self.service.C_BLOCK_VOL, 'id', vol_id) - if vol: - value['volumes'].append(vol['display_name'] + " - " + vol['size_in_gbs'] + "GB") - # check boot vol - for vol_id in vplgrp['volume_ids']: - vol = self.service.search_unique_item(self.service.C_BLOCK, self.service.C_BLOCK_BOOT, 'id', vol_id) - if vol: - value['volumes'].append(vol['display_name'] + " - " + vol['size_in_gbs'] + "GB") + # if Not a volume, try boot volume + if vol is None: + vol = self.service.search_unique_item(self.service.C_BLOCK, self.service.C_BLOCK_BOOT, 'id', vol_id) + + # if None continue + if vol is None: + continue + value['volumes'].append({ + 'id': vol['id'], + 'display_name': vol['display_name'], + 'desc': vol['display_name'] + " - " + vol['size_in_gbs'] + 'GB' + }) data.append(value) @@ -2227,6 +2232,7 @@ def __get_database_db_databases(self, dbs): 'connection_strings_cdb': db['connection_strings_cdb'], 'source_database_point_in_time_recovery_timestamp': db['source_database_point_in_time_recovery_timestamp'], 'kms_key_id': db['kms_key_id'], + 'vault_id': db['vault_id'], 'last_backup_timestamp': db['last_backup_timestamp'], 'id': db['id'] } @@ -2834,6 +2840,8 @@ def __get_database_adb_databases_backups(self, backups): 'lifecycle_state': backup['lifecycle_state'], 'type': backup['type'], 'id': backup['id'], + 'kms_key_id': backup['kms_key_id'], + 'vault_id': backup['vault_id'], 'is_automatic': backup['is_automatic'] } ) @@ -2909,6 +2917,8 @@ def __get_database_adb_database_info(self, dbs): 'dataguard_region_type': dbs['dataguard_region_type'], 'customer_contacts': dbs['customer_contacts'], 'supported_regions_to_clone_to': dbs['supported_regions_to_clone_to'], + 'kms_key_id': dbs['kms_key_id'], + 'vault_id': dbs['vault_id'], 'key_store_wallet_name': dbs['key_store_wallet_name'], 'key_store_id': dbs['key_store_id'], 'role': dbs['role'], @@ -3283,8 +3293,13 @@ def __get_file_storage_exports(self, file_system_id): exports = self.service.search_multi_items(self.service.C_FILE_STORAGE, self.service.C_FILE_STORAGE_EXPORTS, 'file_system_id', file_system_id) for export in exports: - dataval = {'id': export['id'], 'file_system_id': export['file_system_id'], - 'time_created': export['time_created'], 'path': export['path'], 'exportset': ""} + dataval = { + 'id': export['id'], + 'file_system_id': export['file_system_id'], + 'time_created': export['time_created'], + 'path': export['path'], + 'exportset': "", + 'options': []} # export set if export['export_set']: @@ -3292,7 +3307,11 @@ def __get_file_storage_exports(self, file_system_id): dataval['exportset'] = str(exp['display_name']) + ", " + str(exp['availability_domain']) + ", Limits: " + self.__get_file_storage_limits(exp) dataval['display_name'] = str(exp['display_name']) dataval['availability_domain'] = str(exp['availability_domain']) - + for opt in exp['options']: + v = {} + for k in opt.keys(): + v[k] = opt[k] + dataval['options'].append(v) # Mount Target dataval['mount_target'] = self.__get_file_storage_mount_target(export['export_set_id']) data.append(dataval) @@ -3331,6 +3350,7 @@ def __get_file_storage_main(self, region_name, compartment): 'compartment_name': fs['compartment_name'], 'compartment_path': fs['compartment_path'], 'compartment_id': fs['compartment_id'], + 'kms_key_id': fs['kms_key_id'], 'region_name': region_name, 'exports': self.__get_file_storage_exports(fs['id'])} data.append(dataval) diff --git a/examples/showoci/showoci_output.py b/examples/showoci/showoci_output.py index a7756036d6..4525932f61 100644 --- a/examples/showoci/showoci_output.py +++ b/examples/showoci/showoci_output.py @@ -5,6 +5,7 @@ # showoci_output.py # # @author: Adi Zohar +# @contributors: Olaf Heimburger # # Supports Python 3 and above # @@ -20,7 +21,7 @@ class ShowOCIOutput(object): - version = "23.07.19" + version = "23.07.26" ########################################################################## # spaces for align @@ -113,14 +114,14 @@ def print_showoci_config(self, data): try: self.print_header(data['program'], 1) print("Author : " + data['author']) - print("Contributers : " + data['contributers']) + print("Contributors : " + data['contributors']) print("Disclaimer : " + data['disclaimer']) print("Machine : " + data['machine']) print("Python Version : " + data['python']) if data['use_instance_principals']: print("Authentication : Instance Principals") elif data['use_delegation_token']: - print("Authentication : Instance Principals With Delegation Token") + print("Authentication : Instance Principals with Delegation Token") print("Config File : " + data['config_file']) print("Config Profile : " + data['config_profile']) elif data['use_security_token']: @@ -134,7 +135,7 @@ def print_showoci_config(self, data): print("Date/Time : " + data['datetime']) print("API Conn Timeout: " + str(data['connection_timeout'])) print("API Read Timeout: " + str(data['read_timeout'])) - print("Comand Line : " + data['cmdline']) + print("Command Line : " + data['cmdline']) print("Showoci Version : " + data['version']) print("OCI SDK Version : " + data['oci_sdk_version']) if 'proxy' in data: @@ -2388,7 +2389,7 @@ def __print_security_main(self, security): print(self.tabs2 + "Management URL: " + val['management_endpoint']) print(self.tabs2 + "Crypto URL : " + val['crypto_endpoint']) for rep in val['replicas']: - print(self.tabs2 + "Replicas : " + val['status'] + ", " + val['region'] + ", " + val['crypto_endpoint']) + print(self.tabs2 + "Replicas : " + rep['status'] + ", " + rep['region'] + ", " + rep['crypto_endpoint']) print("") # Logging @@ -3213,6 +3214,9 @@ def __summary_identity(self, identity): if 'identity_providers' in domain: self.__summary_core_count(domain['identity_providers'], "Identity Domains - IDPs") + if 'password_policies' in domain: + self.__summary_core_count(domain['password_policies'], 'Identity Domains - Password Policies') + # aggregate the data self.summary_global_list = self.__summary_group_by("type", self.summary_global_list) @@ -3882,6 +3886,7 @@ class ShowOCICSV(object): csv_identity_domains_groups = [] csv_identity_domains_dyngroups = [] csv_identity_domains_kmsi_setting = [] + csv_identity_domains_password_policies = [] csv_identity_domains_idps = [] csv_identity_domains_auth_factors = [] csv_compute = [] @@ -4000,6 +4005,7 @@ def generate_csv(self, data, csv_file_header, tenancy, add_date_field=True, csv_ self.__export_to_csv_file("identity_domains_kmsi", self.csv_identity_domains_kmsi_setting) self.__export_to_csv_file("identity_domains_idps", self.csv_identity_domains_idps) self.__export_to_csv_file("identity_domains_auth", self.csv_identity_domains_auth_factors) + self.__export_to_csv_file("identity_domains_pwd_policies", self.csv_identity_domains_password_policies) self.__export_to_csv_file("compute", self.csv_compute) self.__export_to_csv_file("compute_reservations", self.csv_compute_reservations) @@ -4260,9 +4266,12 @@ def __csv_identity_users(self, users): 'id': user['id'], 'user_name': user['name'], 'description': user['description'], + 'email': user['email'], 'is_mfa_activated': user['is_mfa_activated'], 'lifecycle_state': user['lifecycle_state'], 'identity_provider_name': user['identity_provider_name'], + 'identity_provider_id': user['identity_provider_id'], + 'external_identifier': user['external_identifier'], 'user_time_created': user['time_created'], 'groups': user['groups'], 'api_keys': "Not Checked", @@ -4273,6 +4282,10 @@ def __csv_identity_users(self, users): 'previous_successful_login_time': user['previous_successful_login_time'] } + capabilities = user['capabilities'] + for k in capabilities: + data[k] = capabilities[k] + # Check if credential exist if 'api_keys' in user: data['api_keys'] = str(', '.join(x['id'] + " - " + x['lifecycle_state'] + " - " + x['time_created'] for x in user['api_keys'])) @@ -4303,10 +4316,10 @@ def __csv_identity_domains(self, domains): 'home_region_url': var['home_region_url'], 'home_region': var['home_region'], 'type': var['type'], - 'license_type': var['type'], - 'is_hidden_on_login': var['type'], - 'time_created': var['type'], - 'lifecycle_state': var['type'], + 'license_type': var['license_type'], + 'is_hidden_on_login': var['is_hidden_on_login'], + 'time_created': var['time_created'], + 'lifecycle_state': var['lifecycle_state'], 'freeform_tags': self.__get_freeform_tags(var['freeform_tags']), 'defined_tags': self.__get_defined_tags(var['defined_tags']), 'replica_regions': var['replica_regions'], @@ -4338,6 +4351,9 @@ def __csv_identity_domains(self, domains): if var['authentication_factor_settings']: self.__csv_identity_domains_auth_factor(var['authentication_factor_settings'], var['display_name'], var['id']) + if var['password_policies']: + self.__csv_identity_domains_password_policies(var['password_policies'], var['display_name'], var['id']) + except Exception as e: self.__print_error("__csv_identity_domains", e) @@ -4790,6 +4806,72 @@ def __csv_identity_domains_auth_factor(self, groups, domain_name, domain_id): except Exception as e: self.__print_error("__csv_identity_domains_auth_factor", e) + ########################################################################## + # CSV Identity Domain Password Policies + ########################################################################## + + def __csv_identity_domains_password_policies(self, policies, domain_name, domain_id): + try: + for var in policies: + data = { + 'domain_id': domain_id, + 'domain_name': domain_name, + 'id': var['id'], + 'ocid': var['ocid'], + 'schemas': var['schemas'], + 'meta_resource_type': var['meta']['resource_type'], + 'meta_created': var['meta']['created'], + 'meta_last_modified': var['meta']['last_modified'], + 'meta_location': var['meta']['location'], + 'meta_version': var['meta']['version'], + 'idcs_created_by': str(var['idcs_created_by']), + 'idcs_last_modified_by': str(var['idcs_last_modified_by']), + 'idcs_last_upgraded_in_release': str(var['idcs_last_upgraded_in_release']), + 'idcs_prevented_operations': str(var['idcs_prevented_operations']), + 'tags': str(','.join(x['key'] + "=" + x['value'] for x in var['tags'])), + 'compartment_ocid': var['compartment_ocid'], + 'domain_ocid': var['domain_ocid'], + 'external_id': var['external_id'], + 'name': var['name'], + 'description': var['description'], + 'allowed_chars': var['allowed_chars'], + 'configured_password_policy_rules': str(','.join(x['key'] + '=' + x['value'] for x in var['configured_password_policy_rules'])), + 'dictionary_delimiter': var['dictionary_delimiter'], + 'dictionary_location': var['dictionary_location'], + 'dictionary_word_disallowed': var['dictionary_word_disallowed'], + 'disallowed_chars': var['disallowed_chars'], + 'disallowed_substrings': var['disallowed_substrings'], + 'first_name_disallowed': var['first_name_disallowed'], + 'force_password_reset': var['force_password_reset'], + 'groups': str(','.join(x['ref'] + '=' + x['value'] for x in var['groups'])), + 'last_name_disallowed': var['last_name_disallowed'], + 'lockout_duration': var['lockout_duration'], + 'max_incorrect_attempts': var['max_incorrect_attempts'], + 'max_length': var['max_length'], + 'max_repeated_chars': var['max_repeated_chars'], + 'max_special_chars': var['max_special_chars'], + 'min_alpha_numerals': var['min_alpha_numerals'], + 'min_alphas': var['min_alphas'], + 'min_length': var['min_length'], + 'min_lower_case': var['min_lower_case'], + 'min_numerals': var['min_numerals'], + 'min_password_age': var['min_password_age'], + 'min_special_chars': var['min_special_chars'], + 'min_unique_chars': var['min_unique_chars'], + 'min_upper_case': var['min_upper_case'], + 'num_passwords_in_history': var['num_passwords_in_history'], + 'password_expire_warning': var['password_expire_warning'], + 'password_expires_after': var['password_expires_after'], + 'password_strength': var['password_strength'], + 'priority': var['priority'], + 'required_chars': var['required_chars'], + 'starts_with_alphabet': var['starts_with_alphabet'], + 'user_name_disallowed': var['user_name_disallowed'] + } + self.csv_identity_domains_password_policies.append(data) + except Exception as e: + self.__print_error("__csv_identity_domains_password_policies", e) + ########################################################################## # CSV Identity Compartments ########################################################################## @@ -4834,7 +4916,13 @@ def __csv_identity_policies(self, policies_data): seq = 0 for statement in policy['statements']: seq += 1 - self.csv_identity_policies.append({'compartment': c['compartment_path'], 'policy_name': policy['name'], 'seq': seq, 'statement': statement}) + self.csv_identity_policies.append({ + 'compartment': c['compartment_path'], + 'policy_name': policy['name'], + 'id': policy['id'], + 'seq': seq, + 'statement': statement + }) except Exception as e: self.__print_error("__csv_identity_policies", e) @@ -5531,6 +5619,8 @@ def __csv_database_db_system(self, region_name, list_db_systems): 'db_nodes': str(', '.join(x['desc'] for x in dbs['db_nodes'])), 'freeform_tags': self.__get_freeform_tags(db['freeform_tags']), 'defined_tags': self.__get_defined_tags(db['defined_tags']), + 'kms_key_id': db['kms_key_id'], + 'vault_id': db['vault_id'], 'database_id': db['id'], 'dbsystem_id': dbs['id'], 'db_home': db_home['home_name'], @@ -5566,6 +5656,8 @@ def __csv_database_backup_item(self, backups, dbs_name, db_name): 'size': backup['sum_size_gb'], 'id': backup['id'], 'database_id': backup['database_id'], + 'kms_key_id': backup['kms_key_id'], + 'vault_id': backup['vault_id'], 'lifecycle_state': backup['lifecycle_state'] } # if not exist in array add @@ -5759,6 +5851,8 @@ def __csv_database_db_exacc(self, region_name, list_exa): 'cluster_count': len(dbs['vm_clusters']), 'cluster_names': str(', '.join(x['display_name'] for x in dbs['vm_clusters'])), 'time_created': dbs['time_created'], + 'kms_key_id': dbs['kms_key_id'], + 'vault_id': dbs['vault_id'], 'freeform_tags': self.__get_freeform_tags(dbs['freeform_tags']), 'defined_tags': self.__get_defined_tags(dbs['defined_tags']), 'maintenance_window': dbs['maintenance_window']['display'] if dbs['maintenance_window'] else "", @@ -5847,6 +5941,8 @@ def __csv_database_db_exacc(self, region_name, list_exa): 'domain': "", 'auto_backup_enabled': db['auto_backup_enabled'], 'db_nodes': str(', '.join(x['desc'] for x in vm['db_nodes'])), + 'kms_key_id': db['kms_key_id'], + 'vault_id': db['vault_id'], 'freeform_tags': self.__get_freeform_tags(db['freeform_tags']), 'defined_tags': self.__get_defined_tags(db['defined_tags']), 'database_id': db['id'], @@ -5947,6 +6043,8 @@ def __csv_database_db_autonomous(self, region_name, databases): 'domain': "", 'auto_backup_enabled': "True", 'db_nodes': "", + 'kms_key_id': dbs['kms_key_id'], + 'vault_id': dbs['vault_id'], 'freeform_tags': self.__get_freeform_tags(dbs['freeform_tags']), 'defined_tags': self.__get_defined_tags(dbs['defined_tags']), 'database_id': dbs['id'], @@ -5995,6 +6093,8 @@ def __csv_database_db_autonomous(self, region_name, databases): 'supported_regions_to_clone_to': dbs['supported_regions_to_clone_to'], 'key_store_wallet_name': dbs['key_store_wallet_name'], 'key_store_id': dbs['key_store_id'], + 'kms_key_id': dbs['kms_key_id'], + 'vault_id': dbs['vault_id'], 'freeform_tags': self.__get_freeform_tags(dbs['freeform_tags']), 'defined_tags': self.__get_defined_tags(dbs['defined_tags']), 'id': dbs['id'] @@ -6018,6 +6118,8 @@ def __csv_database_db_autonomous(self, region_name, databases): 'size': "", 'id': backup['id'], 'database_id': dbs['id'], + 'kms_key_id': dbs['kms_key_id'], + 'vault_id': dbs['vault_id'], 'lifecycle_state': backup['lifecycle_state'] } self.csv_database_backups.append(data) @@ -6916,26 +7018,38 @@ def __csv_file_storage_main(self, region_name, file_storage): mount_ips = "" exports = "" + options = "" # list the exports - for ex in fs['exports']: - if ex['path'] not in exports: - exports += ex['path'] + "," + fs_exports = fs['exports'] + if fs_exports: + for ex in fs_exports: + if ex['path'] not in exports: + exports += ex['path'] + "," + + ex_options = ex['options'] + if ex_options: + for opt in ex_options: + options += str(opt) # list the Ips for each mount - for mnt in ex['mount_target']: - ip_to_add = str(','.join(x for x in mnt['private_ip_ids'])) - if ip_to_add not in mount_ips: - mount_ips += ip_to_add + "," + ex_mount_target = ex['mount_target'] + if ex_mount_target: + for mnt in ex_mount_target: + ip_to_add = str(','.join(x for x in mnt['private_ip_ids'])) + if ip_to_add not in mount_ips: + mount_ips += ip_to_add + "," data = {'region_name': region_name, 'compartment_name': fs['compartment_name'], 'compartment_path': fs['compartment_path'], 'availability_domain': fs['availability_domain'], 'display_name': fs['display_name'], + 'kms_key_id': fs['kms_key_id'], 'size_gb': fs['size_gb'], 'id': fs['id'], 'time_created': fs['time_created'], 'exports': exports, + 'export_options': options, 'mount_ips': mount_ips, 'snapshots': str(','.join(x for x in fs['snapshots'])), 'freeform_tags': self.__get_freeform_tags(fs['freeform_tags']), diff --git a/examples/showoci/showoci_service.py b/examples/showoci/showoci_service.py index 2e1b10ffcc..e4e2afd40b 100644 --- a/examples/showoci/showoci_service.py +++ b/examples/showoci/showoci_service.py @@ -5,6 +5,7 @@ # showoci_service.py # # @author: Adi Zohar +# @contributors: Olaf Heimburger # # Supports Python 3 and above # @@ -34,8 +35,8 @@ # class ShowOCIService ########################################################################## class ShowOCIService(object): - version = "23.07.19" - oci_compatible_version = "2.104.3" + version = "23.07.26" + oci_compatible_version = "2.106.0" ########################################################################## # Global Constants @@ -541,7 +542,7 @@ def generate_signer_from_config(self, config_file, config_section): except oci.exceptions.ProfileNotFound as e: print("*********************************************************************") print("* " + str(e)) - print("* Aboting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -564,7 +565,7 @@ def generate_signer_from_config_and_security_token(self, config_file, config_sec except oci.exceptions.ProfileNotFound as e: print("*********************************************************************") print("* " + str(e)) - print("* Aborting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -572,7 +573,7 @@ def generate_signer_from_config_and_security_token(self, config_file, config_sec except Exception as e: print("*********************************************************************") print("* " + str(e)) - print("* Aborting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -589,7 +590,7 @@ def generate_signer_from_instance_principals(self): except Exception: print("*********************************************************************") print("* Error obtaining instance principals certificate. *") - print("* Aboting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -627,7 +628,7 @@ def generate_signer_from_delegation_token(self): print("* Key Error obtaining delegation_token_file") print("* Config File = " + self.flags.config_file) print("* Section File = " + self.flags.config_section) - print("* Aborting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -636,7 +637,7 @@ def generate_signer_from_delegation_token(self): print("*********************************************************************") print("* Error obtaining instance principals certificate *") print("* with delegation token *") - print("* Aborting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -968,7 +969,7 @@ def check_oci_version_compatible(self): print("Please use below command to upgrade OCI SDK:") print(" python -m pip install --upgrade oci") print("") - print("Aboting.") + print("Aborting.") print("*********************************************************************") print("") raise SystemExit @@ -1364,7 +1365,7 @@ def __load_identity_main(self): # Load Identity Domains print("") - showoci_domains = ShowOCIDomains(self.config, self.signer, self.flags.proxy, self.flags.read_timeout, self.flags.connection_timeout) + showoci_domains = ShowOCIDomains(self.config, self.signer, self.flags.proxy, self.flags.read_timeout, self.flags.connection_timeout, self.flags.skip_identity_user_credential) domains_data = showoci_domains.load_identity_domains_main() self.error += showoci_domains.error self.warning += showoci_domains.warning @@ -1450,7 +1451,7 @@ def __load_identity_tenancy(self, identity, tenancy_id): print("\n*********************************************************************") print("* Error Authenticating in __load_identity_tenancy:") print("* " + str(e.message)) - print("* Aborting. *") + print("* Aborting. *") print("*********************************************************************") print("") raise SystemExit @@ -1708,7 +1709,7 @@ def __load_identity_users_groups(self, identity, tenancy_id): 'last_successful_login_time': self.get_value(user.last_successful_login_time), 'previous_successful_login_time': self.get_value(user.previous_successful_login_time), 'groups': ', '.join(x for x in group_users), - 'capabilities': {} + 'capabilities': user.capabilities } if user.capabilities: @@ -1892,7 +1893,11 @@ def __load_identity_policies(self, identity): if policies: datapol = [] for policy in policies: - datapol.append({'name': policy.name, 'statements': [str(e) for e in policy.statements]}) + datapol.append({ + 'name': policy.name, + 'id': policy.id, + 'statements': [str(e) for e in policy.statements] + }) dataval = { 'compartment_id': str(c['id']), @@ -2833,11 +2838,12 @@ def __load_core_network_seclst_rule(self, direction, security_rule): 'dst_port_max': "", 'icmp_code': "", 'icmp_type': "", + 'direction': direction, 'security_alert': False } # Process the security rule - line = str(direction).ljust(7) + " : " + line = str(direction).ljust(7) + ": " # process the source or dest if isinstance(security_rule, oci.core.models.EgressSecurityRule): @@ -5709,7 +5715,8 @@ def __load_core_block_volume(self, block_storage, compartments): 'time_created': str(arr.time_created), 'kms_key_id': str(arr.kms_key_id), 'volume_group_id': str(arr.volume_group_id), - 'volume_group_name': "", 'availability_domain': str(arr.availability_domain), + 'volume_group_name': "", + 'availability_domain': str(arr.availability_domain), 'compartment_name': str(compartment['name']), 'compartment_path': str(compartment['path']), 'compartment_id': str(compartment['id']), @@ -5787,16 +5794,19 @@ def __load_core_block_volume_group(self, block_storage, compartments): # loop on array # arr = oci.core.models.VolumeGroup. for arr in arrs: - val = {'id': str(arr.id), 'display_name': str(arr.display_name), - 'size_in_gbs': str(arr.size_in_gbs), - 'time_created': str(arr.time_created), - 'volume_ids': [str(a) for a in arr.volume_ids], - 'compartment_name': str(compartment['name']), - 'compartment_path': str(compartment['path']), - 'defined_tags': [] if arr.defined_tags is None else arr.defined_tags, - 'freeform_tags': [] if arr.freeform_tags is None else arr.freeform_tags, - 'lifecycle_state': arr.lifecycle_state, - 'compartment_id': str(compartment['id']), 'region_name': str(self.config['region'])} + val = { + 'id': str(arr.id), + 'display_name': str(arr.display_name), + 'size_in_gbs': str(arr.size_in_gbs), + 'time_created': str(arr.time_created), + 'volume_ids': [str(a) for a in arr.volume_ids], + 'compartment_name': str(compartment['name']), + 'compartment_path': str(compartment['path']), + 'defined_tags': [] if arr.defined_tags is None else arr.defined_tags, + 'freeform_tags': [] if arr.freeform_tags is None else arr.freeform_tags, + 'lifecycle_state': arr.lifecycle_state, + 'compartment_id': str(compartment['id']), + 'region_name': str(self.config['region'])} # check boot volume backup policy data.append(val) @@ -5860,6 +5870,7 @@ def __load_core_block_boot_backup(self, block_storage, compartments): 'time_created': self.get_value(arr.time_created), 'display_name': self.get_value(arr.display_name), 'size_in_gbs': self.get_value(arr.size_in_gbs), + 'kms_key_id': self.get_value(arr.kms_key_id), 'unique_size_in_gbs': self.get_value(arr.unique_size_in_gbs), 'compartment_name': str(compartment['name']), 'compartment_path': str(compartment['path']), @@ -5946,6 +5957,7 @@ def __load_core_block_volume_backup(self, block_storage, compartments): 'display_name': self.get_value(arr.display_name), 'size_in_gbs': self.get_value(arr.size_in_gbs), 'unique_size_in_gbs': self.get_value(arr.unique_size_in_gbs), + 'kms_key_id': self.get_value(arr.kms_key_id), 'compartment_name': str(compartment['name']), 'compartment_path': str(compartment['path']), 'compartment_id': str(compartment['id']), @@ -6031,6 +6043,7 @@ def __load_core_block_volume_group_backup(self, block_storage, compartments): 'compartment_id': str(compartment['id']), 'region_name': str(self.config['region']), 'backup_lifecycle_state': "", + 'kms_key_id': "", 'defined_tags': [] if arr.defined_tags is None else arr.defined_tags, 'freeform_tags': [] if arr.freeform_tags is None else arr.freeform_tags, 'expiration_time': "Keep" if arr.expiration_time is None else str(arr.expiration_time)} @@ -6494,8 +6507,8 @@ def __load_load_balancer_backendset(self, load_balancer): continue else: self.__load_print_auth_warning("b", False) - continue time.sleep(1) + continue # print next load balancer print("L", end="") @@ -6676,8 +6689,8 @@ def __load_load_balancer_backendset_network(self, network_load_balancer): continue else: self.__load_print_auth_warning("b", False) - continue time.sleep(1) + continue # print next load balancer print("L", end="") @@ -7337,6 +7350,7 @@ def __load_file_storage_filesystems(self, file_storage, compartments): 'compartment_name': str(compartment['name']), 'compartment_id': str(compartment['id']), 'compartment_path': str(compartment['path']), + 'kms_key_id': str(fs.kms_key_id), 'region_name': str(self.config['region'])} # add snapshots to the file systems @@ -7498,7 +7512,21 @@ def __load_file_storage_exports(self, file_storage, compartments): 'max_fs_stat_bytes': self.get_value(exp.max_fs_stat_bytes), 'max_fs_stat_files': self.get_value(exp.max_fs_stat_files), 'time_created': str(exp.time_created), - 'vcn_id': self.get_value(exp.vcn_id)} + 'vcn_id': self.get_value(exp.vcn_id), + 'options': []} + exp_summary = file_storage.list_exports(export_set_id=exp.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data + for e in exp_summary: + xport = file_storage.get_export(e.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data + opts = xport.export_options + for opt in opts: + valexp['options'].append({ + 'access': opt.access, + 'anonymous_gid': opt.anonymous_gid, + 'anonymous_uid': opt.anonymous_uid, + 'identity_squash': opt.identity_squash, + 'require_privileged_source_port': opt.require_privileged_source_port, + 'source': opt.source + }) val['export_set'] = valexp except oci.exceptions.ServiceError as e: @@ -7539,7 +7567,7 @@ def __load_database_main(self): try: print("Database...") - # LoadBalancerClient + # DatabaseClient database_client = oci.database.DatabaseClient(self.config, signer=self.signer, timeout=(self.flags.connection_timeout, self.flags.read_timeout)) if self.flags.proxy: database_client.base_client.session.proxies = {'https': self.flags.proxy} @@ -8915,6 +8943,7 @@ def __load_database_dbsystems_dbhomes_databases(self, database_client, db_home_i 'time_created': str(db.time_created), 'last_backup_timestamp': str(db.last_backup_timestamp), 'kms_key_id': str(db.kms_key_id), + 'vault_id': str(db.vault_id), 'source_database_point_in_time_recovery_timestamp': str(db.source_database_point_in_time_recovery_timestamp), 'database_software_image_id': str(db.database_software_image_id), 'is_cdb': str(db.is_cdb), @@ -9480,6 +9509,8 @@ def __load_database_adb_database(self, database_client, compartments): 'dataguard_region_type': str(dbs.dataguard_region_type), 'customer_contacts': "" if dbs.customer_contacts is None else str(', '.join(x.email for x in dbs.customer_contacts)), 'supported_regions_to_clone_to': dbs.supported_regions_to_clone_to, + 'kms_key_id': str(dbs.kms_key_id), + 'vault_id': str(dbs.vault_id), 'key_store_wallet_name': str(dbs.key_store_wallet_name), 'key_store_id': str(dbs.key_store_id), 'available_upgrade_versions': str(dbs.available_upgrade_versions), @@ -10330,6 +10361,8 @@ def __load_database_autonomouns_backups(self, database_client, db_id): 'display_name': str(backup.display_name), 'is_automatic': str(backup.is_automatic), 'type': str(backup.type), + 'kms_key_id': str(backup.kms_key_id), + 'vault_id': str(backup.vault_id), 'lifecycle_state': str(backup.lifecycle_state), 'lifecycle_details': str(backup.lifecycle_details), 'time_started': str(backup.time_started), @@ -14924,6 +14957,7 @@ def is_load_basic_network(self): # list_kmsi_settings # list_identity_providers # list_authentication_factor_settings +# list_password_policies ########################################################################## class ShowOCIDomains(object): @@ -14935,17 +14969,19 @@ class ShowOCIDomains(object): warning = 0 read_timeout = 30 connection_timeout = 30 + skip_identity_user_credential = False ########################################################################## # init class # Creates a new data object ########################################################################## - def __init__(self, config, signer, proxy=None, read_timeout=30, connection_timeout=30): + def __init__(self, config, signer, proxy=None, read_timeout=30, connection_timeout=30, skip_identity_user_credential=False): self.data = [] self.config = config self.signer = signer self.read_timeout = read_timeout self.connection_timeout = connection_timeout + self.skip_identity_user_credential = skip_identity_user_credential self.proxy = proxy ################################################################################## @@ -14978,6 +15014,143 @@ def get_date(self, val): return "" return str(val)[0:16].replace("T", " ") + ################################################################################## + # __get_api_keys + ################################################################################## + def __get_api_keys(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.ApiKeySearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_api_keys(api_key_search_request=search_request) + for r in result.data.resources: + k = { + "ocid": r.ocid, + "fingerprint": r.fingerprint, + "time_created": self.get_date(r.meta.created), + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_api_keys", e) + return keys + + ################################################################################## + # __get_auth_tokens + ################################################################################## + def __get_auth_tokens(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.AuthTokenSearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_auth_tokens(auth_token_search_request=search_request) + for r in result.data.resources: + k = { + "ocid": r.ocid, + "status": r.status, + "time_created": self.get_date(r.meta.created), + "expires_on": r.expires_on + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_auth_tokens", e) + return keys + + ################################################################################## + # __get_customer_secret_keys + ################################################################################## + def __get_customer_secret_keys(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.CustomerSecretKeySearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_customer_secret_keys(customer_secret_key_search_request=search_request) + for r in result.data.resources: + k = { + "ocid": r.ocid, + "display_name": r.display_name, + "description": r.description, + "status": r.status, + "time_created": self.get_date(r.meta.created), + "expires_on": r.expires_on + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_customer_secret_keys", e) + return keys + + ################################################################################## + # __get_o_auth2_client_credentials + ################################################################################## + def __get_o_auth2_client_credentials(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.OAuth2ClientCredentialSearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_o_auth2_client_credentials(o_auth2_client_credential_search_request=search_request) + for r in result.data.resources: + print(">> " + str(r)) + k = { + "ocid": r.ocid, + "description": r.description, + "status": r.status, + "time_created": self.get_date(r.meta.created), + "expires_on": r.expires_on + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_o_auth2_client_credentials", e) + return keys + + ################################################################################## + # __get_smtp_credentials + ################################################################################## + def __get_smtp_credentials(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.SmtpCredentialSearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_smtp_credentials(smtp_credential_search_request=search_request) + for r in result.data.resources: + k = { + "ocid": r.ocid, + "description": r.description, + "status": r.status, + "time_created": self.get_date(r.meta.created), + "expires_on": r.expires_on + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_smtp_credentials", e) + return keys + + ################################################################################## + # __get_user_db_credentials + ################################################################################## + def __get_user_db_credentials(self, identity_domain_client, ocid, ext_credential): + keys = [] + try: + if ext_credential is not None: + search_request = oci.identity_domains.models.UserDbCredentialsSearchRequest(filter='user.ocid eq "' + self.get_value(ocid) + '"', schemas=["urn:ietf:params:scim:api:messages:2.0:SearchRequest"]) + result = identity_domain_client.search_user_db_credentials(user_db_credentials_search_request=search_request) + for r in result.data.resources: + k = { + "ocid": r.ocid, + "description": r.description, + "status": r.status, + "time_created": self.get_date(r.meta.created), + "expires_on": r.expires_on + } + keys.append(k) + return keys + except Exception as e: + self.__print_error("__get_user_db_credentials", e) + return keys + ########################################################################## # print count result ########################################################################## @@ -15185,7 +15358,7 @@ def __load_identity_domain_users(self, identity_domain_client, domain_name): ext_capabilities = var.urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user ext_self_change = var.urn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_user - data.append({ + user_value = { 'id': self.get_value(var.id), 'ocid': self.get_value(var.ocid), 'display_name': self.get_value(var.display_name), @@ -15304,14 +15477,24 @@ def __load_identity_domain_users(self, identity_domain_client, domain_name): 'can_use_db_credentials': self.get_value(ext_capabilities.can_use_db_credentials) if ext_capabilities else "" }, 'roles': [{'value': x.value, 'type': x.type} for x in var.roles] if var.roles else [], - 'api_keys': self.get_value_ocid_ref(ext_credential.api_keys) if ext_credential else [], - 'customer_secret_keys': self.get_value_ocid_ref(ext_credential.customer_secret_keys) if ext_credential else [], - 'auth_tokens': self.get_value_ocid_ref(ext_credential.auth_tokens) if ext_credential else [], - 'smtp_credentials': self.get_value_ocid_ref(ext_credential.smtp_credentials) if ext_credential else [], - 'o_auth2_client_credentials': self.get_value_ocid_ref(ext_credential.o_auth2_client_credentials) if ext_credential else [], - 'db_credentials': self.get_value_ocid_ref(ext_credential.db_credentials) if ext_credential else [], + 'api_keys': [], + 'customer_secret_keys': [], + 'auth_tokens': [], + 'smtp_credentials': [], + 'o_auth2_client_credentials': [], + 'db_credentials': [], 'allow_self_change': self.get_value(ext_self_change.allow_self_change) if ext_self_change else "" - }) + } + + if not self.skip_identity_user_credential: + user_value['api_keys'] = self.__get_api_keys(identity_domain_client, var.ocid, ext_credential) + user_value['customer_secret_keys'] = self.__get_customer_secret_keys(identity_domain_client, var.ocid, ext_credential) + user_value['auth_tokens'] = self.__get_auth_tokens(identity_domain_client, var.ocid, ext_credential) + user_value['smtp_credentials'] = self.__get_smtp_credentials(identity_domain_client, var.ocid, ext_credential) + user_value['o_auth2_client_credentials'] = self.__get_o_auth2_client_credentials(identity_domain_client, var.ocid, ext_credential) + user_value['db_credentials'] = self.__get_user_db_credentials(identity_domain_client, var.ocid, ext_credential) + + data.append(user_value) self.__load_print_cnt(len(data), start_time) return data @@ -15331,7 +15514,7 @@ def __load_identity_domain_users(self, identity_domain_client, domain_name): self.__print_error("__load_identity_domain_users", e) ################################################################################## -# load_identity_domain_users +# load_identity_domain_groups ################################################################################## def __load_identity_domain_groups(self, identity_domain_client, domain_name): data = [] @@ -15694,7 +15877,7 @@ def __load_identity_domain_kmsi_setting(self, identity_domain_client, domain_nam def __load_identity_domain_authentication_factor_settings(self, identity_domain_client, domain_name): data = [] - self.__load_print_status(domain_name[0:10] + ".Kmsi Setting") + self.__load_print_status(domain_name[0:10] + ".AuthN Factors") start_time = time.time() try: @@ -15821,6 +16004,94 @@ def __load_identity_domain_authentication_factor_settings(self, identity_domain_ except Exception as e: self.__print_error("__load_identity_domain_authentication_factor_settings", e) +################################################################################## +# __load_identity_domain_password_policies +################################################################################## + def __load_identity_domain_password_policies(self, identity_domain_client, domain_name): + data = [] + self.__load_print_status(domain_name[0:10] + ".Password Policies") + start_time = time.time() + try: + policies = self.__list_call_get_all_results( + identity_domain_client.list_password_policies, + attribute_sets=["all"], + retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY + ).data + # oci.identity_domains.models.PasswordPolicy + for var in policies: + if var.delete_in_progress: + continue + print(".", end="") + data.append({ + 'id': self.get_value(var.id), + 'ocid': self.get_value(var.ocid), + 'schemas': str(','.join(x for x in var.schemas)) if var.schemas else "", + 'meta': self.__load_identity_meta_info(var.meta), + 'idcs_created_by': var.idcs_created_by.value if var.idcs_created_by else "", + 'idcs_last_modified_by': var.idcs_last_modified_by.value if var.idcs_last_modified_by else "", + 'idcs_prevented_operations': str(','.join(x for x in var.idcs_prevented_operations)) if var.idcs_prevented_operations else "", + 'tags': [{'key': x.key, 'value': x.value} for x in var.tags] if var.tags else [], + 'idcs_last_upgraded_in_release': self.get_value(var.idcs_last_upgraded_in_release), + 'compartment_ocid': self.get_value(var.compartment_ocid), + 'domain_ocid': self.get_value(var.domain_ocid), + 'external_id': self.get_value(var.external_id), + 'name': self.get_value(var.name), + 'description': self.get_value(var.description), + 'allowed_chars': self.get_value(var.allowed_chars), + 'configured_password_policy_rules': [{ + 'key': x.key, + 'value': x.value + } for x in var.configured_password_policy_rules] if var.configured_password_policy_rules else [], + 'dictionary_delimiter': self.get_value(var.dictionary_delimiter), + 'dictionary_location': self.get_value(var.dictionary_location), + 'dictionary_word_disallowed': self.get_value(var.dictionary_word_disallowed), + 'disallowed_chars': self.get_value(var.disallowed_chars), + 'disallowed_substrings': self.get_value(var.disallowed_substrings), + 'first_name_disallowed': self.get_value(var.first_name_disallowed), + 'force_password_reset': self.get_value(var.force_password_reset), + 'groups': [{ + 'display': x.display, + 'ref': x.ref, + 'value': x.value + } for x in var.groups] if var.groups else [], + 'last_name_disallowed': self.get_value(var.last_name_disallowed), + 'lockout_duration': self.get_value(var.lockout_duration), + 'max_incorrect_attempts': self.get_value(var.max_incorrect_attempts), + 'max_length': self.get_value(var.max_length), + 'max_repeated_chars': self.get_value(var.max_repeated_chars), + 'max_special_chars': self.get_value(var.max_special_chars), + 'min_alpha_numerals': self.get_value(var.min_alpha_numerals), + 'min_alphas': self.get_value(var.min_alphas), + 'min_length': self.get_value(var.min_length), + 'min_lower_case': self.get_value(var.min_lower_case), + 'min_numerals': self.get_value(var.min_numerals), + 'min_password_age': self.get_value(var.min_password_age), + 'min_special_chars': self.get_value(var.min_special_chars), + 'min_unique_chars': self.get_value(var.min_unique_chars), + 'min_upper_case': self.get_value(var.min_upper_case), + 'num_passwords_in_history': self.get_value(var.num_passwords_in_history), + 'password_expire_warning': self.get_value(var.password_expire_warning), + 'password_expires_after': self.get_value(var.password_expires_after), + 'password_strength': self.get_value(var.password_strength), + 'priority': self.get_value(var.priority), + 'required_chars': self.get_value(var.required_chars), + 'starts_with_alphabet': self.get_value(var.starts_with_alphabet), + 'user_name_disallowed': self.get_value(var.user_name_disallowed) + }) + self.__load_print_cnt(len(data), start_time) + return data + except oci.exceptions.ServiceError as e: + if self.__check_service_error(e.code): + self.__load_print_auth_warning() + else: + raise + except oci.exceptions.RequestException as e: + if self.__check_request_error(e): + return + raise + except Exception as e: + self.__print_error("__load_identity_domain_password_policies", e) + ########################################################################## # Identity Module ########################################################################## @@ -15880,7 +16151,8 @@ def load_identity_domains_main(self): 'dynamic_groups': self.__load_identity_domain_dynamic_resource_groups(identity_domain_client, domain.display_name), 'kmsi_setting': self.__load_identity_domain_kmsi_setting(identity_domain_client, domain.display_name), 'identity_providers': self.__load_identity_domain_identity_providers(identity_domain_client, domain.display_name), - 'authentication_factor_settings': self.__load_identity_domain_authentication_factor_settings(identity_domain_client, domain.display_name) + 'authentication_factor_settings': self.__load_identity_domain_authentication_factor_settings(identity_domain_client, domain.display_name), + 'password_policies': self.__load_identity_domain_password_policies(identity_domain_client, domain.display_name) } self.data.append(domain_data) diff --git a/examples/usage_reports_to_adw/CHANGELOG.rst b/examples/usage_reports_to_adw/CHANGELOG.rst deleted file mode 100644 index 35f8c56ad1..0000000000 --- a/examples/usage_reports_to_adw/CHANGELOG.rst +++ /dev/null @@ -1,264 +0,0 @@ -Change Log -~~~~~~~~~~ -All notable changes to this project will be documented in this file. - -The format is based on `Keep a Changelog `_. - -===================== -23.04.18 - 2023.04.18 -===================== -* Added showoci_csv2adw.py to load showoci csv files to adw if showoci enabled - -===================== -23.04.11 - 2023.04.11 -===================== -* Point to OCI Python SDK Repo - -===================== -23.03.22 - 2023.03.22 -===================== -* Added OCI_RESOURCES Table populated from showoci - -===================== -23.03.15 - 2023.03.15 -===================== -* Fix OCI_LOAD_STATUS Constraint bug - -===================== -23.03.14 - 2023.03.14 -===================== -* Added 51 ShowOCI tables to the APEX Page - -===================== -23.03.07 - 2023.03.07 -===================== -* Added ShowOCI Section if ShowOCI data enabled - -===================== -23.03.01 - 2023.03.01 -===================== -* Added Load statistics to Apex main page -* Added Service Grouping in cost over time report - -===================== -23.02.22 - 2023.02.22 -===================== -* Added Load Status Page and OCI_LOAD_STATUS table -* Added Public Load Balancer to the Private End Point Image - -===================== -23.02.16 - 2023.02.16 -===================== -* Change Image to Oracle Linux 8 -* Added showoci code to the image - -===================== -23.02.07 - 2023.02.07 -===================== -* Migrated cx_oracle to oracledb libraries - -===================== -22.11.22 - 2022.11.22 -===================== -* Update the list price API - -===================== -22.10.15 - 2022.10.15 -===================== -* Added additional output information -* Added Option to Tag resources - -===================== -22.10.04 - 2022.10.04 -===================== -* Added new report to Cost Analysis -* Fix few report to include billing amendment rows - -===================== -22.09.02 - 2022.09.02 -===================== -* Fix error with script run_single_daily_usage2adw.sh - -===================== -22.08.12 - 2022.08.12 -===================== -* Added second special tag key and corresponding reports and charts -* Added Report for Cost Analysis - -===================== -22.08.08 - 2022.08.08 -===================== -* Fix few bugs -* Added OCPU report by service to daily_report and Data Statistics page - -===================== -22.02.22 - 2022.02.22 -===================== -* New Marketplace Version - -===================== -21.12.12 - 2021-12-12 -===================== -* Added option to run report on all Tenants when multi tenants loaded - -===================== -21.11.02 - 2021-11-02 -===================== -* Amended APEX application for version 21.1 -* Amended the APEX Theme -* Added instructions to the installation guide how to change the Autonomous database to private endpoint. - -===================== -21.07.13 - 2021-07-13 -===================== -* Added Parallel queries for better performance for both APEX and usage2adw.py - -===================== -21.05.25 - 2021-05-25 -===================== -* Added table view in APEX Application for current usage -* Redesign the usage over time on APEX Application - -===================== -21.05.18 - 2021-05-18 -===================== -* Remove Oracle IDCS prefix from the tag special if exist -* Added OCI_INTERNAL_COST for internal usage - -===================== -21.05.04 - 2021-05-04 -===================== -* Added OCPU and Storage report to the daily shell script - -===================== -21.04.27 - 2021-04-27 -===================== -* Added gather stats crontab weekly with script run_gather_stats.sh -* Fixed bug calling reference update - -===================== -21.04.04 - 2021-04-04 -===================== -* Added option to specify one Tag Key to extract the data to TAG_SPECIAL column , use -ts -* Added the Tag Special to filter and reports. -* Fixed filter by Tag Data Bug - -===================== -20.12.03 - 2020-12-03 -===================== -* Added Pagination call to the list_objects - -===================== -20.11.10 - 2020-11-10 -===================== -* Added tenant aggregation for cost report -* Added sub tenants in daily report - -===================== -20.11.03 - 2020-11-03 -===================== -* Added functionality for faster deployment (Step by Step installation amended) -* Added functionality to support Market Place Image with automatic deployment -* Changed shell scripts to support credential at file config.user - -===================== -20.10.27 - 2020-10.27 -===================== -* Added flag -sr to skip public rate -* Fix Public Rate new SKUs -* Added TENANT_ID with 6 last digits to support organization - -===================== -20.08.04 - 2020-08-04 -===================== -* Aligned to APEX Version 20.1 -* Aligned to one cost instead of Paygo/Monthly -* Added monthly consumption in the Data Statistics tab - -===================== -20.07.28 - 2020-07-28 -===================== -* Added sleep 0.5 to the public API call to avoid too many requests error -* Change Public Rate API to use one value only after OCI change costs - -===================== -20.07.21 - 2020-07-21 -===================== -* Added Full + Parallel scan when retrieving max cost and usage file - -===================== -20.07.14 - 2020-07-14 -===================== -* Support for Cost column changed - OCI amend the column billingUnitReadable to skuUnitDescription -* Added daily report script with step by step configuration - requires OCI Email setup -* Fixed bug on Apex related to the column change for Cost Report - -===================== -20.07.07 - 2020-07-07 -===================== -* Added flags to skip usage or skip cost with -sc and -su -* Added buffer size and array size for database multi insert to avoid large transaction failing - -===================== -20.06.02 - 2020-06-02 -===================== -* Added Hourly cost over time - -===================== -20.06.02 - 2020-06-02 -===================== -* Added Summary cost per day to the Data Statistics - if you manage many tenants, it is a great view to see them all -* Added Cost by SKU to the Cost Over Time - Daily/Weekly and Monthly - -===================== -20.05.18 - 2020-05-18 -===================== -* Added Rate Card with OCI_PRICE_LIST and using API to obtain info, Thanks to Fabio for the Idea and the API -* Added discount and public rate to the cost report - -===================== -20.05.11 - 2020-05-11 -===================== -* Added performance improvements to Cost by adding index OCI_COST_1IX and reference table OCI_COST_REFERENCE -* Added Graph Report Selector to the Cost pages -* Added accumulative Chart to Cost -* Added Manual Descriptions for products that don't have. -* Added More Charts to Cost Over Time -* Added More Charts to Cost Analysis - -===================== -20.05.04 - 2020-05-04 -===================== -* Added connectivity to the home region where bling bucket exist -* Added performance improvements by adding stats tables OCI_USAGE_STATS and OCI_COST_STATS and indexes OCI_USAGE_1IX, OCI_COST_1IX, - Please run the load script before importing the APEX app in order to create those tables and index - -===================== -20.04.27 - 2020-04-27 -===================== -* Added limit, prefix and start to the list_object call -* Added support for special chars -* Added Currency Code to the pages -* Added checks if columns exist in the file to avoid failure -* Added Support for null overage -* Align code to use functions properly - -===================== -20.04.20 - 2020-04-20 -===================== -* Added table OCI_USAGE_TAG_KEYS for tags -* Added table OCI_COST and OCI_COST_TAG_KEYS for cost usage -* Added support for cost files -* Added Cost Analysis and Cost Overview to the APEX App - -===================== -20.04.13 - 2020-04-13 -===================== -* Added support for tags - TAGS_DATA columns to the table OCI_USAGE -* Added step by step installation guide for instant principles -* Added APEX Application to query the data - -===================== -20.02.01 - 2020-02-01 -===================== -* Initial Release diff --git a/examples/usage_reports_to_adw/apex_demo_app/usage.demo.apex.sql b/examples/usage_reports_to_adw/apex_demo_app/usage.demo.apex.sql deleted file mode 100644 index 063404146c..0000000000 --- a/examples/usage_reports_to_adw/apex_demo_app/usage.demo.apex.sql +++ /dev/null @@ -1,54131 +0,0 @@ -prompt --application/set_environment -set define off verify off feedback off -whenever sqlerror exit sql.sqlcode rollback --------------------------------------------------------------------------------- --- --- Oracle APEX export file --- --- You should run the script connected to SQL*Plus as the owner (parsing schema) --- of the application. --- --- NOTE: Calls to apex_application_install override the defaults below. --- --------------------------------------------------------------------------------- -begin -wwv_flow_imp.import_begin ( - p_version_yyyy_mm_dd=>'2022.10.07' -,p_release=>'22.2.4' -,p_default_workspace_id=>8458123041844848 -,p_default_application_id=>100 -,p_default_id_offset=>16918310929265932 -,p_default_owner=>'USAGE' -); -end; -/ - -prompt APPLICATION 100 - OCI Usage and Cost Report --- --- Application Export: --- Application: 100 --- Name: OCI Usage and Cost Report --- Date and Time: 00:30 Friday April 7, 2023 --- Exported By: ADIZOHAR --- Flashback: 0 --- Export Type: Application Export --- Pages: 11 --- Items: 123 --- Computations: 36 --- Processes: 9 --- Regions: 163 --- Buttons: 9 --- Dynamic Actions: 1 --- Shared Components: --- Logic: --- Items: 1 --- Computations: 1 --- App Settings: 1 --- Build Options: 1 --- Navigation: --- Lists: 3 --- Breadcrumbs: 1 --- Entries: 2 --- Security: --- Authentication: 1 --- Authorization: 3 --- ACL Roles: 3 --- User Interface: --- Themes: 1 --- Templates: --- Page: 10 --- Region: 21 --- Label: 7 --- List: 13 --- Popup LOV: 1 --- Calendar: 1 --- Breadcrumb: 1 --- Button: 3 --- Report: 12 --- LOVs: 3 --- Shortcuts: 1 --- PWA: --- Globalization: --- Reports: --- E-Mail: --- Supporting Objects: Excluded --- Version: 22.2.4 --- Instance ID: 8458019837672333 --- - -prompt --application/delete_application -begin -wwv_flow_imp.remove_flow(wwv_flow.g_flow_id); -end; -/ -prompt --application/create_application -begin -wwv_flow_imp.create_flow( - p_id=>wwv_flow.g_flow_id -,p_owner=>nvl(wwv_flow_application_install.get_schema,'USAGE') -,p_name=>nvl(wwv_flow_application_install.get_application_name,'OCI Usage and Cost Report') -,p_alias=>nvl(wwv_flow_application_install.get_application_alias,'USAGE2ADW') -,p_page_view_logging=>'YES' -,p_page_protection_enabled_y_n=>'Y' -,p_checksum_salt=>'875FACC9195C359EC344917E15564C1D485DD4068144173F315788BE04F6A9F4' -,p_bookmark_checksum_function=>'SH512' -,p_accept_old_checksums=>false -,p_compatibility_mode=>'21.2' -,p_flow_language=>'en' -,p_flow_language_derived_from=>'FLOW_PRIMARY_LANGUAGE' -,p_allow_feedback_yn=>'Y' -,p_direction_right_to_left=>'N' -,p_flow_image_prefix => nvl(wwv_flow_application_install.get_image_prefix,'') -,p_documentation_banner=>'Application created from create application wizard 2020.02.27.' -,p_authentication=>'PLUGIN' -,p_authentication_id=>wwv_flow_imp.id(26632739482953813) -,p_application_tab_set=>1 -,p_logo_type=>'T' -,p_logo_text=>'OCI Usage and Cost Report' -,p_app_builder_icon_name=>'app-icon.svg' -,p_public_user=>'APEX_PUBLIC_USER' -,p_proxy_server=>nvl(wwv_flow_application_install.get_proxy,'') -,p_no_proxy_domains=>nvl(wwv_flow_application_install.get_no_proxy_domains,'') -,p_flow_version=>'Usage2ADW 23.04.11' -,p_flow_status=>'AVAILABLE_W_EDIT_LINK' -,p_flow_unavailable_text=>'This application is currently unavailable at this time.' -,p_exact_substitutions_only=>'Y' -,p_browser_cache=>'N' -,p_browser_frame=>'D' -,p_referrer_policy=>'strict-origin-when-cross-origin' -,p_vpd=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -'execute immediate q''[ALTER SESSION SET OPTIMIZER_IGNORE_HINTS=FALSE]'';', -'execute immediate q''[ALTER SESSION SET OPTIMIZER_IGNORE_PARALLEL_HINTS=FALSE]'';', -'end;')) -,p_runtime_api_usage=>'T' -,p_security_scheme=>'MUST_NOT_BE_PUBLIC_USER' -,p_rejoin_existing_sessions=>'N' -,p_csv_encoding=>'Y' -,p_auto_time_zone=>'N' -,p_tokenize_row_search=>'N' -,p_friendly_url=>'N' -,p_substitution_string_01=>'APP_NAME' -,p_substitution_value_01=>'OCI Usage and Cost Report' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230407003039' -,p_file_prefix => nvl(wwv_flow_application_install.get_static_app_file_prefix,'') -,p_files_version=>3 -,p_print_server_type=>'INSTANCE' -,p_is_pwa=>'N' -); -end; -/ -prompt --application/user_interfaces -begin -wwv_flow_imp_shared.create_user_interface( - p_id=>wwv_flow_imp.id(100) -,p_theme_id=>42 -,p_home_url=>'f?p=&APP_ID.:1:&SESSION.' -,p_login_url=>'f?p=&APP_ID.:LOGIN_DESKTOP:&SESSION.' -,p_theme_style_by_user_pref=>false -,p_global_page_id=>0 -,p_navigation_list_id=>wwv_flow_imp.id(26633532895953822) -,p_navigation_list_position=>'TOP' -,p_navigation_list_template_id=>wwv_flow_imp.id(26734045467954012) -,p_nav_list_template_options=>'#DEFAULT#:js-tabLike' -,p_css_file_urls=>'#APP_IMAGES#app-icon.css?version=#APP_VERSION#' -,p_nav_bar_type=>'LIST' -,p_nav_bar_list_id=>wwv_flow_imp.id(26761686493954129) -,p_nav_bar_list_template_id=>wwv_flow_imp.id(26731301093954009) -,p_nav_bar_template_options=>'#DEFAULT#' -); -end; -/ -prompt --application/shared_components/navigation/lists/desktop_navigation_menu -begin -wwv_flow_imp_shared.create_list( - p_id=>wwv_flow_imp.id(26633532895953822) -,p_name=>'Desktop Navigation Menu' -,p_list_status=>'PUBLIC' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26773486413954312) -,p_list_item_display_sequence=>10 -,p_list_item_link_text=>'Home' -,p_list_item_link_target=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.:' -,p_list_item_icon=>'fa-home' -,p_list_item_current_type=>'TARGET_PAGE' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26822622499999748) -,p_list_item_display_sequence=>30 -,p_list_item_link_text=>'Current State' -,p_list_item_link_target=>'f?p=&APP_ID.:2:&SESSION.::&DEBUG.' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'2' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26893995714185420) -,p_list_item_display_sequence=>40 -,p_list_item_link_text=>'Usage Over Time' -,p_list_item_link_target=>'f?p=&APP_ID.:3:&SESSION.::&DEBUG.' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'3' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(28619800674039111) -,p_list_item_display_sequence=>50 -,p_list_item_link_text=>'Cost Analysis' -,p_list_item_link_target=>'f?p=&APP_ID.:4:&SESSION.::&DEBUG.::::' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'4' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(28948609354341900) -,p_list_item_display_sequence=>60 -,p_list_item_link_text=>'Cost Over Time' -,p_list_item_link_target=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'5' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(33290102187788168) -,p_list_item_display_sequence=>80 -,p_list_item_link_text=>'Rate Card' -,p_list_item_link_target=>'f?p=&APP_ID.:7:&SESSION.::&DEBUG.' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'7' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(10409220371145904) -,p_list_item_display_sequence=>85 -,p_list_item_link_text=>'ShowOCI Data' -,p_list_item_link_target=>'f?p=&APP_ID.:11:&SESSION.::&DEBUG.::::' -,p_list_item_icon=>'fa-table' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'11' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(29548626779307524) -,p_list_item_display_sequence=>90 -,p_list_item_link_text=>'Data Statistics' -,p_list_item_link_target=>'f?p=&APP_ID.:6:&SESSION.::&DEBUG.::::' -,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' -,p_list_item_current_for_pages=>'6' -); -end; -/ -prompt --application/shared_components/navigation/lists/desktop_navigation_bar -begin -wwv_flow_imp_shared.create_list( - p_id=>wwv_flow_imp.id(26761686493954129) -,p_name=>'Desktop Navigation Bar' -,p_list_status=>'PUBLIC' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26809955975954492) -,p_list_item_display_sequence=>10 -,p_list_item_link_text=>'&APP_USER.' -,p_list_item_link_target=>'#' -,p_list_item_icon=>'fa-user' -,p_list_text_02=>'has-username' -,p_list_item_current_type=>'TARGET_PAGE' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26810496180954492) -,p_list_item_display_sequence=>20 -,p_list_item_link_text=>'---' -,p_list_item_link_target=>'separator' -,p_parent_list_item_id=>wwv_flow_imp.id(26809955975954492) -,p_list_item_current_type=>'TARGET_PAGE' -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26810889103954493) -,p_list_item_display_sequence=>30 -,p_list_item_link_text=>'Sign Out' -,p_list_item_link_target=>'&LOGOUT_URL.' -,p_list_item_icon=>'fa-sign-out' -,p_parent_list_item_id=>wwv_flow_imp.id(26809955975954492) -,p_list_item_current_type=>'TARGET_PAGE' -); -end; -/ -prompt --application/shared_components/navigation/lists/access_control -begin -wwv_flow_imp_shared.create_list( - p_id=>wwv_flow_imp.id(26812550198954500) -,p_name=>'Access Control' -,p_list_status=>'PUBLIC' -,p_required_patch=>wwv_flow_imp.id(26763483938954182) -); -wwv_flow_imp_shared.create_list_item( - p_id=>wwv_flow_imp.id(26812938830954500) -,p_list_item_display_sequence=>10 -,p_list_item_link_text=>'Users' -,p_list_item_link_target=>'f?p=&APP_ID.:10011:&SESSION.::&DEBUG.:RP:::' -,p_list_item_icon=>'fa-users' -,p_list_text_01=>'Change access control settings and disable access control' -,p_list_item_current_type=>'TARGET_PAGE' -); -end; -/ -prompt --application/shared_components/files/app_icon_svg -begin -wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table; -wwv_flow_imp.g_varchar2_table(1) := '3C73766720786D6C6E733D22687474703A2F2F7777772E77332E6F72672F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A2F2F7777772E77332E6F72672F313939392F786C696E6B222076696577426F783D223020302036342036'; -wwv_flow_imp.g_varchar2_table(2) := '34223E3C646566733E3C7374796C653E2E636C732D317B66696C6C3A75726C282372616469616C2D6772616469656E74293B7D2E636C732D327B6F7061636974793A302E313B7D2E636C732D332C2E636C732D347B66696C6C3A236666663B7D2E636C73'; -wwv_flow_imp.g_varchar2_table(3) := '2D337B6F7061636974793A302E363B7D3C2F7374796C653E3C72616469616C4772616469656E742069643D2272616469616C2D6772616469656E74222063783D223332222063793D222E30352220723D22363422206772616469656E74556E6974733D22'; -wwv_flow_imp.g_varchar2_table(4) := '7573657253706163654F6E557365223E3C73746F70206F66667365743D2230222073746F702D636F6C6F723D2223666666222073746F702D6F7061636974793D22302E3135222F3E3C73746F70206F66667365743D222E35222073746F702D636F6C6F72'; -wwv_flow_imp.g_varchar2_table(5) := '3D2223666666222073746F702D6F7061636974793D22302E31222F3E3C73746F70206F66667365743D2231222073746F702D636F6C6F723D2223666666222073746F702D6F7061636974793D2230222F3E3C2F72616469616C4772616469656E743E3C73'; -wwv_flow_imp.g_varchar2_table(6) := '796D626F6C2069643D22616D6269656E742D6C69676874696E67222076696577426F783D22302030203634203634223E3C7061746820636C6173733D22636C732D312220643D224D302030683634763634682D36347A222F3E3C2F73796D626F6C3E3C2F'; -wwv_flow_imp.g_varchar2_table(7) := '646566733E3C7469746C653E6261722D6C696E652D63686172743C2F7469746C653E3C726563742077696474683D22363422206865696768743D223634222066696C6C3D2223364538353938222F3E3C672069643D2269636F6E73223E3C706174682063'; -wwv_flow_imp.g_varchar2_table(8) := '6C6173733D22636C732D322220643D224D313920343668357631682D357A4D323620343668357631682D357A4D333320343668357631682D357A4D343020343668357631682D357A222F3E3C7061746820636C6173733D22636C732D332220643D224D31'; -wwv_flow_imp.g_varchar2_table(9) := '3920333868357638682D357A4D32362033326835763134682D357A4D33332033326835763134682D357A4D34302032376835763139682D357A222F3E3C6720636C6173733D22636C732D32223E3C636972636C652063783D2234322E35222063793D2232'; -wwv_flow_imp.g_varchar2_table(10) := '302E352220723D22312E35222F3E3C636972636C652063783D2233352E35222063793D2232352E352220723D22312E35222F3E3C636972636C652063783D2232382E35222063793D2232352E352220723D22312E35222F3E3C636972636C652063783D22'; -wwv_flow_imp.g_varchar2_table(11) := '32312E35222063793D2233312E352220723D22312E35222F3E3C7061746820643D224D32312E3832352033312E3837396C2D2E36352D2E37353820372E31342D362E31323168372E3032356C362E3836392D342E3930372E3538322E3831342D372E3133'; -wwv_flow_imp.g_varchar2_table(12) := '3120352E303933682D362E3937356C2D362E383620352E3837397A222F3E3C2F673E3C636972636C6520636C6173733D22636C732D34222063783D2234322E35222063793D2231392E352220723D22312E35222F3E3C636972636C6520636C6173733D22'; -wwv_flow_imp.g_varchar2_table(13) := '636C732D34222063783D2233352E35222063793D2232342E352220723D22312E35222F3E3C636972636C6520636C6173733D22636C732D34222063783D2232382E35222063793D2232342E352220723D22312E35222F3E3C636972636C6520636C617373'; -wwv_flow_imp.g_varchar2_table(14) := '3D22636C732D34222063783D2232312E35222063793D2233302E352220723D22312E35222F3E3C7061746820636C6173733D22636C732D342220643D224D32312E3832352033302E3837396C2D2E36352D2E37353820372E31342D362E31323168372E30'; -wwv_flow_imp.g_varchar2_table(15) := '32356C362E3836392D342E3930372E3538322E3831342D372E31333120352E303933682D362E3937356C2D362E383620352E3837397A222F3E3C2F673E3C7573652077696474683D22363422206865696768743D2236342220786C696E6B3A687265663D'; -wwv_flow_imp.g_varchar2_table(16) := '2223616D6269656E742D6C69676874696E67222069643D226C69676874696E67222F3E3C2F7376673E'; -wwv_flow_imp_shared.create_app_static_file( - p_id=>wwv_flow_imp.id(26762914353954178) -,p_file_name=>'app-icon.svg' -,p_mime_type=>'image/svg+xml' -,p_file_charset=>'utf-8' -,p_file_content => wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table) -); -end; -/ -prompt --application/shared_components/files/app_icon_css -begin -wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table; -wwv_flow_imp.g_varchar2_table(1) := '2E6170702D69636F6E207B0A202020206261636B67726F756E642D696D6167653A2075726C286170702D69636F6E2E737667293B0A202020206261636B67726F756E642D7265706561743A206E6F2D7265706561743B0A202020206261636B67726F756E'; -wwv_flow_imp.g_varchar2_table(2) := '642D73697A653A20636F7665723B0A202020206261636B67726F756E642D706F736974696F6E3A203530253B0A202020206261636B67726F756E642D636F6C6F723A20233645383539383B0A7D'; -wwv_flow_imp_shared.create_app_static_file( - p_id=>wwv_flow_imp.id(26763290385954181) -,p_file_name=>'app-icon.css' -,p_mime_type=>'text/css' -,p_file_charset=>'utf-8' -,p_file_content => wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table) -); -end; -/ -prompt --application/plugin_settings -begin -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(17634134270343001) -,p_plugin_type=>'REGION TYPE' -,p_plugin=>'NATIVE_MAP_REGION' -,p_attribute_01=>'Y' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(18100640675335570) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_SINGLE_CHECKBOX' -,p_attribute_01=>'Y' -,p_attribute_02=>'N' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(18318318394369477) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_DATE_PICKER_APEX' -,p_attribute_01=>'MONTH-PICKER:YEAR-PICKER' -,p_attribute_02=>'VISIBLE' -,p_attribute_03=>'15' -,p_attribute_04=>'FOCUS' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(18415478195888154) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_GEOCODED_ADDRESS' -,p_attribute_01=>'RELAX_HOUSE_NUMBER' -,p_attribute_02=>'N' -,p_attribute_03=>'POPUP:ITEM' -,p_attribute_04=>'default' -,p_attribute_06=>'LIST' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(26129010146714727) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_DATE_PICKER_JET' -,p_attribute_01=>'MONTH-PICKER:YEAR-PICKER' -,p_attribute_02=>'VISIBLE' -,p_attribute_03=>'15' -,p_attribute_04=>'FOCUS' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(26630729531953807) -,p_plugin_type=>'REGION TYPE' -,p_plugin=>'NATIVE_DISPLAY_SELECTOR' -,p_attribute_01=>'Y' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(26631555326953810) -,p_plugin_type=>'REGION TYPE' -,p_plugin=>'NATIVE_IR' -,p_attribute_01=>'IG' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(26631827130953810) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_YES_NO' -,p_attribute_01=>'Y' -,p_attribute_03=>'N' -,p_attribute_05=>'SWITCH' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(26632495151953811) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_COLOR_PICKER' -,p_attribute_01=>'FULL' -,p_attribute_02=>'POPUP' -); -wwv_flow_imp_shared.create_plugin_setting( - p_id=>wwv_flow_imp.id(33342784469661324) -,p_plugin_type=>'ITEM TYPE' -,p_plugin=>'NATIVE_STAR_RATING' -,p_attribute_01=>'fa-star' -,p_attribute_04=>'#VALUE#' -); -end; -/ -prompt --application/shared_components/security/authorizations/administration_rights -begin -wwv_flow_imp_shared.create_security_scheme( - p_id=>wwv_flow_imp.id(26765175363954188) -,p_name=>'Administration Rights' -,p_scheme_type=>'NATIVE_IS_IN_GROUP' -,p_attribute_01=>'Administrator' -,p_attribute_02=>'A' -,p_error_message=>'Insufficient privileges, user is not an Administrator' -,p_caching=>'BY_USER_BY_PAGE_VIEW' -); -end; -/ -prompt --application/shared_components/security/authorizations/reader_rights -begin -wwv_flow_imp_shared.create_security_scheme( - p_id=>wwv_flow_imp.id(26765289517954188) -,p_name=>'Reader Rights' -,p_scheme_type=>'NATIVE_FUNCTION_BODY' -,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if nvl(apex_app_setting.get_value(', -' p_name => ''ACCESS_CONTROL_SCOPE''),''x'') = ''ALL_USERS'' then', -' -- allow user not in the ACL to access the application', -' return true;', -'else', -' -- require user to have at least one role', -' return apex_acl.has_user_any_roles (', -' p_application_id => :APP_ID, ', -' p_user_name => :APP_USER);', -'end if;')) -,p_error_message=>'You are not authorized to view this application, either because you have not been granted access, or your account has been locked. Please contact the application administrator.' -,p_caching=>'BY_USER_BY_SESSION' -); -end; -/ -prompt --application/shared_components/security/authorizations/contribution_rights -begin -wwv_flow_imp_shared.create_security_scheme( - p_id=>wwv_flow_imp.id(26765410072954188) -,p_name=>'Contribution Rights' -,p_scheme_type=>'NATIVE_IS_IN_GROUP' -,p_attribute_01=>'Administrator,Contributor' -,p_attribute_02=>'A' -,p_error_message=>'Insufficient privileges, user is not a Contributor' -,p_caching=>'BY_USER_BY_PAGE_VIEW' -); -end; -/ -prompt --application/shared_components/security/app_access_control/administrator -begin -wwv_flow_imp_shared.create_acl_role( - p_id=>wwv_flow_imp.id(26764795053954184) -,p_static_id=>'ADMINISTRATOR' -,p_name=>'Administrator' -,p_description=>'Role assigned to application administrators.' -); -end; -/ -prompt --application/shared_components/security/app_access_control/contributor -begin -wwv_flow_imp_shared.create_acl_role( - p_id=>wwv_flow_imp.id(26764962529954188) -,p_static_id=>'CONTRIBUTOR' -,p_name=>'Contributor' -,p_description=>'Role assigned to application contributors.' -); -end; -/ -prompt --application/shared_components/security/app_access_control/reader -begin -wwv_flow_imp_shared.create_acl_role( - p_id=>wwv_flow_imp.id(26765036289954188) -,p_static_id=>'READER' -,p_name=>'Reader' -,p_description=>'Role assigned to application readers.' -); -end; -/ -prompt --application/shared_components/navigation/navigation_bar -begin -null; -end; -/ -prompt --application/shared_components/logic/application_items/a_oci_resources_count -begin -wwv_flow_imp_shared.create_flow_item( - p_id=>wwv_flow_imp.id(12997563645586806) -,p_name=>'A_OCI_RESOURCES_COUNT' -,p_protection_level=>'I' -); -end; -/ -prompt --application/shared_components/logic/application_computations/a_oci_resources_count -begin -wwv_flow_imp_shared.create_flow_computation( - p_id=>wwv_flow_imp.id(12997999976592865) -,p_computation_sequence=>10 -,p_computation_item=>'A_OCI_RESOURCES_COUNT' -,p_computation_point=>'ON_NEW_INSTANCE' -,p_computation_type=>'QUERY' -,p_computation_processed=>'REPLACE_EXISTING' -,p_computation=>'select count(*) from OCI_RESOURCES' -); -end; -/ -prompt --application/shared_components/logic/application_settings -begin -wwv_flow_imp_shared.create_app_setting( - p_id=>wwv_flow_imp.id(26766509555954202) -,p_name=>'ACCESS_CONTROL_SCOPE' -,p_value=>'ACL_ONLY' -,p_is_required=>'N' -,p_valid_values=>'ACL_ONLY, ALL_USERS' -,p_on_upgrade_keep_value=>true -,p_required_patch=>wwv_flow_imp.id(26763483938954182) -,p_comments=>'The default access level given to authenticated users who are not in the access control list' -); -end; -/ -prompt --application/shared_components/navigation/tabs/standard -begin -null; -end; -/ -prompt --application/shared_components/navigation/tabs/parent -begin -null; -end; -/ -prompt --application/shared_components/user_interface/lovs/access_roles -begin -wwv_flow_imp_shared.create_list_of_values( - p_id=>wwv_flow_imp.id(26788571463954410) -,p_lov_name=>'ACCESS_ROLES' -,p_lov_query=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select role_name d, role_id r', -'from APEX_APPL_ACL_ROLES where application_id = :APP_ID ', -'order by 1')) -,p_source_type=>'LEGACY_SQL' -,p_location=>'LOCAL' -); -end; -/ -prompt --application/shared_components/user_interface/lovs/email_username_format -begin -wwv_flow_imp_shared.create_list_of_values( - p_id=>wwv_flow_imp.id(26796305350954418) -,p_lov_name=>'EMAIL_USERNAME_FORMAT' -,p_lov_query=>'.'||wwv_flow_imp.id(26796305350954418)||'.' -,p_location=>'STATIC' -); -wwv_flow_imp_shared.create_static_lov_data( - p_id=>wwv_flow_imp.id(26796547760954419) -,p_lov_disp_sequence=>1 -,p_lov_disp_value=>'Email Addresses' -,p_lov_return_value=>'EMAIL' -); -end; -/ -prompt --application/shared_components/user_interface/lovs/login_remember_username -begin -wwv_flow_imp_shared.create_list_of_values( - p_id=>wwv_flow_imp.id(26768795595954263) -,p_lov_name=>'LOGIN_REMEMBER_USERNAME' -,p_lov_query=>'.'||wwv_flow_imp.id(26768795595954263)||'.' -,p_location=>'STATIC' -); -wwv_flow_imp_shared.create_static_lov_data( - p_id=>wwv_flow_imp.id(26769170455954264) -,p_lov_disp_sequence=>10 -,p_lov_disp_value=>'Remember username' -,p_lov_return_value=>'Y' -); -end; -/ -prompt --application/pages/page_groups -begin -wwv_flow_imp_page.create_page_group( - p_id=>wwv_flow_imp.id(26766792348954205) -,p_group_name=>'Administration' -); -end; -/ -prompt --application/comments -begin -null; -end; -/ -prompt --application/shared_components/navigation/breadcrumbs/breadcrumb -begin -wwv_flow_imp_shared.create_menu( - p_id=>wwv_flow_imp.id(26633082201953815) -,p_name=>'Breadcrumb' -); -wwv_flow_imp_shared.create_menu_option( - p_id=>wwv_flow_imp.id(10410183593145925) -,p_short_name=>'ShowOCI Data' -,p_link=>'f?p=&APP_ID.:11:&APP_SESSION.::&DEBUG.:::' -,p_page_id=>11 -); -wwv_flow_imp_shared.create_menu_option( - p_id=>wwv_flow_imp.id(26633243562953818) -,p_short_name=>'Home' -,p_link=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.' -,p_page_id=>1 -); -end; -/ -prompt --application/shared_components/navigation/breadcrumbentry -begin -null; -end; -/ -prompt --application/shared_components/user_interface/templates/page/left_side_column -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26633894152953835) -,p_theme_id=>42 -,p_name=>'Left Side Column' -,p_internal_name=>'LEFT_SIDE_COLUMN' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.leftSideCol();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
', -' #SIDE_GLOBAL_NAVIGATION_LIST#', -'
', -'
#REGION_POSITION_01#
', -'
#REGION_POSITION_02#
', -'
', -'
', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
#REGION_POSITION_08#
', -'
#BODY#
', -'
', -'
', -' ', -' ', -'
', -'
', -'
', -'
', -'
#REGION_POSITION_04#
')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
', -'
', -'
', -'
', -' ', -'
', -'
', -'
', -' ', -'
', -'
', -'
', -' ', -'
', -'
', -'
', -'
')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
', -' ', -'
')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
  • ', -' ', -' ', -' &APP_USER.', -' ', -'
  • #BAR_BODY#', -'
')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>17 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2525196570560608698 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17515651579259723) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17516121328259723) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17516670914259723) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17517127945259724) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17517674720259724) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17518122058259724) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Left Column' -,p_placeholder=>'REGION_POSITION_02' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17518632054259725) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17519133760259725) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17519602549259725) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17520175606259725) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17520604239259726) -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>8 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/left_and_right_side_columns -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26636702259953885) -,p_theme_id=>42 -,p_name=>'Left and Right Side Columns' -,p_internal_name=>'LEFT_AND_RIGHT_SIDE_COLUMNS' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.bothSideCols();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #SIDE_GLOBAL_NAVIGATION_LIST#', -'
    ', -'
    #REGION_POSITION_01#
    ', -'
    #REGION_POSITION_02#
    ', -'
    ', -'
    ', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
    #REGION_POSITION_08#
    ', -'
    #BODY#
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    #REGION_POSITION_04#
    ')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'
    • ', -' ', -' ', -' &APP_USER.', -' ', -'
    • #BAR_BODY#', -'
    ')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_sidebar_def_reg_pos=>'REGION_POSITION_03' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>17 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2525203692562657055 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17526507325259730) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17527064735259731) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17527575050259731) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17528009200259731) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>6 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17528555879259731) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17529050683259732) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Left Column' -,p_placeholder=>'REGION_POSITION_02' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>3 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17529523565259732) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Right Column' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>3 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17530086526259732) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17530534985259732) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>6 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17531040599259732) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17531510987259733) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17532028265259733) -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>6 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/login -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26639724786953887) -,p_theme_id=>42 -,p_name=>'Login' -,p_internal_name=>'LOGIN' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.appLogin();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'#FORM_OPEN#', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT#', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>6 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2099711150063350616 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17534709554259735) -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_name=>'Background Image' -,p_placeholder=>'BACKGROUND_IMAGE' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17535195319259735) -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_name=>'Content Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17535717388259735) -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_name=>'Body Header' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17536267158259736) -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_name=>'Body Footer' -,p_placeholder=>'REGION_POSITION_02' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/master_detail -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26640535484953888) -,p_theme_id=>42 -,p_name=>'Marquee' -,p_internal_name=>'MASTER_DETAIL' -,p_is_popup=>false -,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.stickyTableHeader#MIN#.js?v=#APEX_VERSION#', -'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#')) -,p_javascript_code_onload=>'apex.theme42.initializePage.masterDetail();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #SIDE_GLOBAL_NAVIGATION_LIST#', -'
    ', -'
    #REGION_POSITION_01#
    ', -'
    ', -'
    ', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
    #REGION_POSITION_08#
    ', -'
    #REGION_POSITION_02#
    ', -'
    #BODY#
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    #REGION_POSITION_04#
    ')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'
    • ', -' ', -' ', -' &APP_USER.', -' ', -'
    • #BAR_BODY#', -'
    ')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_sidebar_def_reg_pos=>'REGION_POSITION_03' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>17 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>1996914646461572319 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17544248827259742) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17544691986259742) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17545286755259742) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17545756689259743) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17546287345259743) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17546702950259743) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Master Detail' -,p_placeholder=>'REGION_POSITION_02' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17547208443259743) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Right Side Column' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17547693126259743) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17548222536259744) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17548780831259744) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17549231744259744) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17549698786259745) -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/minimal_no_navigation -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26643645278953891) -,p_theme_id=>42 -,p_name=>'Minimal (No Navigation)' -,p_internal_name=>'MINIMAL_NO_NAVIGATION' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS# ', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'', -' ')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    #REGION_POSITION_01#
    ', -'
    ', -'
    ', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
    #REGION_POSITION_08#
    ', -'
    #BODY#
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    ', -'
    ', -'
    #REGION_POSITION_04#
    ')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'
    • ', -' ', -' ', -' &APP_USER.', -' ', -'
    • #BAR_BODY#', -'
    ')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>4 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2977628563533209425 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17554875080259748) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17555332610259748) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17555799786259749) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17556315007259749) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17556799521259749) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17557347138259749) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17557820553259750) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17558382129259750) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17558880398259750) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17559329006259751) -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/modal_dialog -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26646158128953892) -,p_theme_id=>42 -,p_name=>'Modal Dialog' -,p_internal_name=>'MODAL_DIALOG' -,p_is_popup=>true -,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'#FORM_OPEN#')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>3 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_js_init_code=>'apex.theme42.dialog(#PAGE_URL#,{title:#TITLE#,h:#DIALOG_HEIGHT#,w:#DIALOG_WIDTH#,mxw:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,dlgCls:''t-Dialog-page--standard ''+#DIALOG_CSS_CLASSES#,#DIALOG_ATTRIBUTES#},#PAGE_CSS_CLASSES#,#TRIGGERING_ELEMEN' -||'T#)' -,p_dialog_js_close_code=>'apex.theme42.dialog.close(#IS_MODAL#,#TARGET#)' -,p_dialog_js_cancel_code=>'apex.theme42.dialog.cancel(#IS_MODAL#)' -,p_dialog_height=>'auto' -,p_dialog_width=>'720' -,p_dialog_max_width=>'960' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2098960803539086924 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17561661884259752) -,p_page_template_id=>wwv_flow_imp.id(26646158128953892) -,p_name=>'Content Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17562168112259752) -,p_page_template_id=>wwv_flow_imp.id(26646158128953892) -,p_name=>'Dialog Header' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17562597813259753) -,p_page_template_id=>wwv_flow_imp.id(26646158128953892) -,p_name=>'Dialog Footer' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/right_side_column -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26647643590953893) -,p_theme_id=>42 -,p_name=>'Right Side Column' -,p_internal_name=>'RIGHT_SIDE_COLUMN' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.rightSideCol();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #SIDE_GLOBAL_NAVIGATION_LIST#', -'
    ', -'
    #REGION_POSITION_01#
    ', -'
    ', -'
    ', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
    #REGION_POSITION_08#
    ', -'
    #BODY#
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    ', -'
    ', -'
    ', -'
    ', -'
    #REGION_POSITION_04#
    ')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'
    • ', -' ', -' ', -' &APP_USER.', -' ', -'
    • #BAR_BODY#', -'
    ')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_sidebar_def_reg_pos=>'REGION_POSITION_03' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>17 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2525200116240651575 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17568485518259757) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17568948496259757) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17569398458259757) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17569984598259757) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17570459423259758) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17570981284259758) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Right Column' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17571394375259758) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17571899542259760) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17572438640259761) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17572935113259761) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17573423791259761) -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>8 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/standard -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26650505737953895) -,p_theme_id=>42 -,p_name=>'Standard' -,p_internal_name=>'STANDARD' -,p_is_popup=>false -,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.', -'#FORM_OPEN#', -'', -'')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #SIDE_GLOBAL_NAVIGATION_LIST#', -'
    ', -'
    #REGION_POSITION_01#
    ', -'
    ', -'
    ', -' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', -'
    #REGION_POSITION_08#
    ', -'
    #BODY#
    ', -'
    ', -'
    ', -' ', -' ', -'
    ', -'
    ', -'
    ', -'
    ', -'
    #REGION_POSITION_04#
    ')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'
    • ', -' ', -' ', -' &APP_USER.', -' ', -'
    • #BAR_BODY#', -'
    ')) -,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>1 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>4070909157481059304 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17578504714259764) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'After Logo' -,p_placeholder=>'AFTER_LOGO' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17579013142259765) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'After Navigation Bar' -,p_placeholder=>'AFTER_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17579492688259765) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Before Navigation Bar' -,p_placeholder=>'BEFORE_NAVIGATION_BAR' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -,p_max_fixed_grid_columns=>4 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17580034628259765) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17580522297259765) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Breadcrumb Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17581023134259766) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Dialogs, Drawers and Popups' -,p_placeholder=>'REGION_POSITION_04' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17581514117259766) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Footer' -,p_placeholder=>'REGION_POSITION_05' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17582055014259766) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Top Navigation' -,p_placeholder=>'REGION_POSITION_06' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17582564907259767) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Banner' -,p_placeholder=>'REGION_POSITION_07' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17582991796259767) -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_name=>'Full Width Content' -,p_placeholder=>'REGION_POSITION_08' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/wizard_modal_dialog -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(26652920992953896) -,p_theme_id=>42 -,p_name=>'Wizard Modal Dialog' -,p_internal_name=>'WIZARD_MODAL_DIALOG' -,p_is_popup=>true -,p_javascript_code_onload=>'apex.theme42.initializePage.wizardModal();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'#FORM_OPEN#')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_theme_class_id=>3 -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_js_init_code=>'apex.theme42.dialog(#PAGE_URL#,{title:#TITLE#,h:#DIALOG_HEIGHT#,w:#DIALOG_WIDTH#,mxw:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,dlgCls:''t-Dialog-page--wizard ''+#DIALOG_CSS_CLASSES#,#DIALOG_ATTRIBUTES#},#PAGE_CSS_CLASSES#,#TRIGGERING_ELEMENT#' -||')' -,p_dialog_js_close_code=>'apex.theme42.dialog.close(#IS_MODAL#,#TARGET#)' -,p_dialog_js_cancel_code=>'apex.theme42.dialog.cancel(#IS_MODAL#)' -,p_dialog_height=>'auto' -,p_dialog_width=>'720' -,p_dialog_max_width=>'960' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>2120348229686426515 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17585370613259768) -,p_page_template_id=>wwv_flow_imp.id(26652920992953896) -,p_name=>'Wizard Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17585878752259769) -,p_page_template_id=>wwv_flow_imp.id(26652920992953896) -,p_name=>'Wizard Progress Bar' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17586318803259769) -,p_page_template_id=>wwv_flow_imp.id(26652920992953896) -,p_name=>'Wizard Buttons' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/page/drawer -begin -wwv_flow_imp_shared.create_template( - p_id=>wwv_flow_imp.id(28958831405125814) -,p_theme_id=>42 -,p_name=>'Drawer' -,p_internal_name=>'DRAWER' -,p_is_popup=>true -,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();' -,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -' ', -' ', -' #TITLE#', -' #APEX_CSS#', -' #THEME_CSS#', -' #TEMPLATE_CSS#', -' #THEME_STYLE_CSS#', -' #APPLICATION_CSS#', -' #PAGE_CSS#', -' #FAVICONS#', -' #HEAD#', -' ', -'', -'', -'#FORM_OPEN#')) -,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#FORM_CLOSE#', -'#DEVELOPER_TOOLBAR#', -'#APEX_JAVASCRIPT#', -'#GENERATED_CSS#', -'#THEME_JAVASCRIPT#', -'#TEMPLATE_JAVASCRIPT#', -'#APPLICATION_JAVASCRIPT#', -'#PAGE_JAVASCRIPT# ', -'#GENERATED_JAVASCRIPT#', -'', -'')) -,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'
    ')) -,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' -,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' -,p_theme_class_id=>11 -,p_preset_template_options=>'js-dialog-class-t-Drawer--pullOutEnd' -,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #MESSAGE#

    ', -'

    #ADDITIONAL_INFO#

    ', -'
    #TECHNICAL_INFO#
    ', -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ')) -,p_grid_type=>'FIXED' -,p_grid_max_columns=>12 -,p_grid_always_use_max_columns=>true -,p_grid_has_column_span=>true -,p_grid_always_emit=>true -,p_grid_emit_empty_leading_cols=>true -,p_grid_emit_empty_trail_cols=>false -,p_grid_default_label_col_span=>2 -,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#ROWS#', -'
    ')) -,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#COLUMNS#', -'
    ')) -,p_grid_column_template=>'
    #CONTENT#
    ' -,p_grid_first_column_attributes=>'col-start' -,p_grid_last_column_attributes=>'col-end' -,p_dialog_js_init_code=>'apex.theme42.dialog(#PAGE_URL#,{title:#TITLE#,w:#DIALOG_WIDTH#,mxw:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,dlgCls:''t-Drawer-page--standard ''+#DIALOG_CSS_CLASSES#,#DIALOG_ATTRIBUTES#},#PAGE_CSS_CLASSES#,#TRIGGERING_ELEMENT#)' -,p_dialog_js_close_code=>'apex.theme42.dialog.close(#IS_MODAL#,#TARGET#)' -,p_dialog_js_cancel_code=>'apex.theme42.dialog.cancel(#IS_MODAL#)' -,p_dialog_height=>'auto' -,p_dialog_width=>'720' -,p_dialog_max_width=>'960' -,p_dialog_browser_frame=>'MODAL' -,p_reference_id=>1659739787629394056 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17505557047259711) -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_name=>'Content Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17506080733259711) -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_name=>'Dialog Header' -,p_placeholder=>'REGION_POSITION_01' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_page_tmpl_display_point( - p_id=>wwv_flow_imp.id(17506582762259712) -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_name=>'Dialog Footer' -,p_placeholder=>'REGION_POSITION_03' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/button/icon -begin -wwv_flow_imp_shared.create_button_templates( - p_id=>wwv_flow_imp.id(26738711133954024) -,p_template_name=>'Icon' -,p_internal_name=>'ICON' -,p_template=>'' -,p_hot_template=>'' -,p_reference_id=>2347660919680321258 -,p_translate_this_template=>'N' -,p_theme_class_id=>5 -,p_theme_id=>42 -); -end; -/ -prompt --application/shared_components/user_interface/templates/button/text -begin -wwv_flow_imp_shared.create_button_templates( - p_id=>wwv_flow_imp.id(26739430162954028) -,p_template_name=>'Text' -,p_internal_name=>'TEXT' -,p_template=>'' -,p_hot_template=>'' -,p_reference_id=>4070916158035059322 -,p_translate_this_template=>'N' -,p_theme_class_id=>1 -,p_theme_id=>42 -); -end; -/ -prompt --application/shared_components/user_interface/templates/button/text_with_icon -begin -wwv_flow_imp_shared.create_button_templates( - p_id=>wwv_flow_imp.id(26739530686954028) -,p_template_name=>'Text with Icon' -,p_internal_name=>'TEXT_WITH_ICON' -,p_template=>'' -,p_hot_template=>'' -,p_reference_id=>2081382742158699622 -,p_translate_this_template=>'N' -,p_theme_class_id=>4 -,p_preset_template_options=>'t-Button--iconLeft' -,p_theme_id=>42 -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/alert -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26654418278953904) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -'

    #TITLE#

    ', -'
    ', -'
    #BODY##SUB_REGIONS#
    ', -'
    ', -'
    #PREVIOUS##CLOSE##CREATE##NEXT#
    ', -'
    ', -'
    ')) -,p_page_plug_template_name=>'Alert' -,p_internal_name=>'ALERT' -,p_plug_table_bgcolor=>'#ffffff' -,p_theme_id=>42 -,p_theme_class_id=>21 -,p_preset_template_options=>'t-Alert--horizontal:t-Alert--defaultIcons:t-Alert--warning' -,p_plug_heading_bgcolor=>'#ffffff' -,p_plug_font_size=>'-1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>2039236646100190748 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17590100988259777) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17590655089259778) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17591109904259778) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17591644587259778) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17592177876259779) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17592681461259779) -,p_plug_template_id=>wwv_flow_imp.id(26654418278953904) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/blank_with_attributes -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26658184993953922) -,p_layout=>'TABLE' -,p_template=>'
    #PREVIOUS##BODY##SUB_REGIONS##NEXT#
    ' -,p_page_plug_template_name=>'Blank with Attributes' -,p_internal_name=>'BLANK_WITH_ATTRIBUTES' -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>4499993862448380551 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17601939626259786) -,p_plug_template_id=>wwv_flow_imp.id(26658184993953922) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17602475594259787) -,p_plug_template_id=>wwv_flow_imp.id(26658184993953922) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17602925765259787) -,p_plug_template_id=>wwv_flow_imp.id(26658184993953922) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17603468386259787) -,p_plug_template_id=>wwv_flow_imp.id(26658184993953922) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/blank_with_attributes_no_grid -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26658335190953923) -,p_layout=>'TABLE' -,p_template=>'
    #PREVIOUS##BODY##SUB_REGIONS##NEXT#
    ' -,p_page_plug_template_name=>'Blank with Attributes (No Grid)' -,p_internal_name=>'BLANK_WITH_ATTRIBUTES_NO_GRID' -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>3369790999010910123 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17605846849259791) -,p_plug_template_id=>wwv_flow_imp.id(26658335190953923) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17606352927259791) -,p_plug_template_id=>wwv_flow_imp.id(26658335190953923) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17606836968259791) -,p_plug_template_id=>wwv_flow_imp.id(26658335190953923) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17607189097259792) -,p_plug_template_id=>wwv_flow_imp.id(26658335190953923) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/buttons_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26659138683953923) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    #PREVIOUS##CLOSE##DELETE#
    ', -'
    ', -' #BODY#', -'
    #CHANGE#
    ', -' #SUB_REGIONS#', -'
    ', -'
    #EDIT##CREATE##NEXT#
    ', -'
    ', -'
    ')) -,p_page_plug_template_name=>'Buttons Container' -,p_internal_name=>'BUTTONS_CONTAINER' -,p_plug_table_bgcolor=>'#ffffff' -,p_theme_id=>42 -,p_theme_class_id=>17 -,p_plug_heading_bgcolor=>'#ffffff' -,p_plug_font_size=>'-1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>2124982336649579661 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17611596081259795) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17612120539259795) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17612684595259795) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17613109997259795) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17613635488259796) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17614182369259796) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17614641705259796) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17615113905259797) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17615675508259797) -,p_plug_template_id=>wwv_flow_imp.id(26659138683953923) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/carousel_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26661374046953925) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #SUB_REGION#', -'
    ')) -,p_page_plug_template_name=>'Carousel Container' -,p_internal_name=>'CAROUSEL_CONTAINER' -,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#', -'#APEX_FILES#plugins/com.oracle.apex.carousel/1.1/com.oracle.apex.carousel#MIN#.js?v=#APEX_VERSION#')) -,p_plug_table_bgcolor=>'#ffffff' -,p_theme_id=>42 -,p_theme_class_id=>5 -,p_default_template_options=>'t-Region--showCarouselControls' -,p_preset_template_options=>'t-Region--hiddenOverflow' -,p_plug_heading_bgcolor=>'#ffffff' -,p_plug_font_size=>'-1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>2865840475322558786 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17628637156259807) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17629100930259807) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17629588817259808) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17630172054259808) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Copy' -,p_placeholder=>'COPY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17630607223259808) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17631094567259809) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17631602577259809) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17632124641259809) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Help' -,p_placeholder=>'HELP' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17632668422259809) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17633158422259810) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17633620460259810) -,p_plug_template_id=>wwv_flow_imp.id(26661374046953925) -,p_name=>'Slides' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/collapsible -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26668531606953932) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    ', -'

    ', -'
    ', -'
    #EDIT#
    ', -'
    ', -'
    ', -'
    ', -'
    #CLOSE#
    ', -'
    #CREATE#
    ', -'
    ', -'
    ', -' #COPY#', -' #BODY#', -' #SUB_REGIONS#', -' #CHANGE#', -'
    ', -'
    ', -'
    #PREVIOUS#
    ', -'
    #NEXT#
    ', -'
    ', -'
    ', -'
    ')) -,p_page_plug_template_name=>'Collapsible' -,p_internal_name=>'COLLAPSIBLE' -,p_plug_table_bgcolor=>'#ffffff' -,p_theme_id=>42 -,p_theme_class_id=>1 -,p_preset_template_options=>'is-expanded:t-Region--scrollBody' -,p_plug_heading_bgcolor=>'#ffffff' -,p_plug_font_size=>'-1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_region_title_dom_id=>'#REGION_STATIC_ID#_heading' -,p_reference_id=>2662888092628347716 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17652153587259824) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17652672713259824) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17653179829259825) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17653668134259825) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Copy' -,p_placeholder=>'COPY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17654119182259825) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17654605531259825) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17655177699259826) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17655598945259826) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17656120942259826) -,p_plug_template_id=>wwv_flow_imp.id(26668531606953932) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/content_block -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26673949162953943) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'

    #TITLE#

    ', -' #EDIT#', -'
    ', -'
    #CHANGE#
    ', -'
    ', -'
    #BODY##SUB_REGIONS#
    ', -'
    #PREVIOUS##NEXT#
    ', -'
    ', -'')) -,p_page_plug_template_name=>'Content Block' -,p_internal_name=>'CONTENT_BLOCK' -,p_theme_id=>42 -,p_theme_class_id=>21 -,p_preset_template_options=>'t-ContentBlock--h1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_region_title_dom_id=>'#REGION_STATIC_ID#_heading' -,p_reference_id=>2320668864738842174 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17676765732259841) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17677287333259842) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17677694634259842) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17678249019259842) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17678780454259842) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17679280454259843) -,p_plug_template_id=>wwv_flow_imp.id(26673949162953943) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/hero -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26675974030953945) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -'
    #REGION_IMAGE#
    ', -'
    ', -'

    #TITLE#

    ', -' #BODY#', -'
    ', -'
    #SUB_REGIONS#
    #NEXT#
    ', -'
    ', -'
    ', -'
    #SMART_FILTERS#
    ', -'
    ', -'')) -,p_page_plug_template_name=>'Hero' -,p_internal_name=>'HERO' -,p_image_template=>'' -,p_theme_id=>42 -,p_theme_class_id=>22 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_region_title_dom_id=>'#REGION_STATIC_ID#_heading' -,p_reference_id=>2672571031438297268 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17687024109259849) -,p_plug_template_id=>wwv_flow_imp.id(26675974030953945) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>false -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17687509045259850) -,p_plug_template_id=>wwv_flow_imp.id(26675974030953945) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17688015497259850) -,p_plug_template_id=>wwv_flow_imp.id(26675974030953945) -,p_name=>'Search Field and Smart Filters' -,p_placeholder=>'SMART_FILTERS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17688504733259850) -,p_plug_template_id=>wwv_flow_imp.id(26675974030953945) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/inline_dialog -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26678094828953948) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'', -'
    ')) -,p_page_plug_template_name=>'Inline Dialog' -,p_internal_name=>'INLINE_DIALOG' -,p_theme_id=>42 -,p_theme_class_id=>24 -,p_default_template_options=>'js-modal:js-draggable:js-resizable' -,p_preset_template_options=>'js-dialog-size600x400' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>2671226943886536762 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17709678370259882) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17710115630259882) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17710629278259883) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17711141065259883) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17711684173259883) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17712129656259883) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17712626280259884) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17713127901259884) -,p_plug_template_id=>wwv_flow_imp.id(26678094828953948) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/inline_popup -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26680328856953950) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'', -'
    ')) -,p_page_plug_template_name=>'Inline Popup' -,p_internal_name=>'INLINE_POPUP' -,p_theme_id=>42 -,p_theme_class_id=>24 -,p_preset_template_options=>'js-dialog-size600x400' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>1483922538999385230 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17733250305259897) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17733756892259898) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17734204076259898) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17734752272259898) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17735269623259898) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17735700098259899) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17736277671259899) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17736766971259899) -,p_plug_template_id=>wwv_flow_imp.id(26680328856953950) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/interactive_report -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26682226918953951) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    #PREVIOUS##ORDER_BY_ITEM##BODY##SUB_REGIONS##NEXT#
    ', -'')) -,p_page_plug_template_name=>'Interactive Report' -,p_internal_name=>'INTERACTIVE_REPORT' -,p_theme_id=>42 -,p_theme_class_id=>9 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>2099079838218790610 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17746153221259906) -,p_plug_template_id=>wwv_flow_imp.id(26682226918953951) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17746676242259906) -,p_plug_template_id=>wwv_flow_imp.id(26682226918953951) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17747130680259906) -,p_plug_template_id=>wwv_flow_imp.id(26682226918953951) -,p_name=>'Sort Order' -,p_placeholder=>'ORDER_BY_ITEM' -,p_has_grid_support=>true -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17747668869259907) -,p_plug_template_id=>wwv_flow_imp.id(26682226918953951) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17748180431259907) -,p_plug_template_id=>wwv_flow_imp.id(26682226918953951) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/login -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26682905064953952) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_page_plug_template_name=>'Login' -,p_internal_name=>'LOGIN' -,p_image_template=>'' -,p_theme_id=>42 -,p_theme_class_id=>23 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_region_title_dom_id=>'#REGION_STATIC_ID#_heading' -,p_reference_id=>2672711194551076376 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17757557527259913) -,p_plug_template_id=>wwv_flow_imp.id(26682905064953952) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17758051284259913) -,p_plug_template_id=>wwv_flow_imp.id(26682905064953952) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17758568335259914) -,p_plug_template_id=>wwv_flow_imp.id(26682905064953952) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17759003919259914) -,p_plug_template_id=>wwv_flow_imp.id(26682905064953952) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17759568073259914) -,p_plug_template_id=>wwv_flow_imp.id(26682905064953952) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/standard -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26683353252953952) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'
    ', -' ', -'

    #TITLE#

    ', -'
    ', -'
    #COPY##EDIT#
    ', -'
    ', -'
    ', -'
    ', -'
    #PREVIOUS#
    ', -'
    #NEXT#
    ', -'
    ', -'
    ', -' #ORDER_BY_ITEM#', -' #BODY#', -' #SUB_REGIONS#', -'
    ', -'
    ', -'
    #CLOSE##HELP#
    ', -'
    #DELETE##CHANGE##CREATE#
    ', -'
    ', -'
    ', -'
    ', -'')) -,p_page_plug_template_name=>'Standard' -,p_internal_name=>'STANDARD' -,p_plug_table_bgcolor=>'#ffffff' -,p_theme_id=>42 -,p_theme_class_id=>8 -,p_preset_template_options=>'t-Region--scrollBody' -,p_plug_heading_bgcolor=>'#ffffff' -,p_plug_font_size=>'-1' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>4070912133526059312 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17773193189259924) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17773764978259924) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17774253314259924) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17774725260259925) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Copy' -,p_placeholder=>'COPY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17775259940259925) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17775703974259925) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17776219662259925) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17776772120259926) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Help' -,p_placeholder=>'HELP' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17777248270259926) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17777753667259926) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Sort Order' -,p_placeholder=>'ORDER_BY_ITEM' -,p_has_grid_support=>true -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17778228451259926) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17778772760259926) -,p_plug_template_id=>wwv_flow_imp.id(26683353252953952) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -,p_max_fixed_grid_columns=>12 -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/tabs_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26690111800953958) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #BODY#', -'
    #SUB_REGIONS#
    ', -'
    ')) -,p_sub_plug_template=>'
    #SUB_REGION#
    ' -,p_page_plug_template_name=>'Tabs Container' -,p_internal_name=>'TABS_CONTAINER' -,p_javascript_file_urls=>'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#' -,p_theme_id=>42 -,p_theme_class_id=>5 -,p_preset_template_options=>'t-TabsRegion-mod--simple' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>3221725015618492759 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17797466045259941) -,p_plug_template_id=>wwv_flow_imp.id(26690111800953958) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17797977526259942) -,p_plug_template_id=>wwv_flow_imp.id(26690111800953958) -,p_name=>'Tabs' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/title_bar -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26692736997953960) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_page_plug_template_name=>'Title Bar' -,p_internal_name=>'TITLE_BAR' -,p_theme_id=>42 -,p_theme_class_id=>6 -,p_default_template_options=>'t-BreadcrumbRegion--showBreadcrumb' -,p_preset_template_options=>'t-BreadcrumbRegion--useBreadcrumbTitle' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'navigation' -,p_reference_id=>2530016523834132090 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17806800409259948) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17807323232259948) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Change' -,p_placeholder=>'CHANGE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17807806315259948) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17808333710259948) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Copy' -,p_placeholder=>'COPY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17808857618259949) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17809325268259949) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17809856637259949) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17810333869259949) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Help' -,p_placeholder=>'HELP' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17810806303259950) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17811371646259950) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17811848906259950) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Search Field and Smart Filters' -,p_placeholder=>'SMART_FILTERS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17812371331259950) -,p_plug_template_id=>wwv_flow_imp.id(26692736997953960) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/wizard_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(26693808939953961) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'

    #TITLE#

    ', -'
    ', -'
    #PREVIOUS##CLOSE#
    ', -'
    #BODY#
    ', -'
    #NEXT#
    ', -'
    ', -'
    ', -'
    #SUB_REGIONS#
    ', -'
    ')) -,p_page_plug_template_name=>'Wizard Container' -,p_internal_name=>'WIZARD_CONTAINER' -,p_theme_id=>42 -,p_theme_class_id=>8 -,p_preset_template_options=>'t-Wizard--hideStepsXSmall' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_region_title_dom_id=>'#REGION_STATIC_ID#_heading' -,p_reference_id=>2117602213152591491 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17817536325259954) -,p_plug_template_id=>wwv_flow_imp.id(26693808939953961) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17818037003259954) -,p_plug_template_id=>wwv_flow_imp.id(26693808939953961) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17818587001259955) -,p_plug_template_id=>wwv_flow_imp.id(26693808939953961) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17819076066259955) -,p_plug_template_id=>wwv_flow_imp.id(26693808939953961) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17819587574259955) -,p_plug_template_id=>wwv_flow_imp.id(26693808939953961) -,p_name=>'Wizard Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/image -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(27039607129707265) -,p_layout=>'TABLE' -,p_template=>'
    #REGION_IMAGE_ALT_TEXT#
    ' -,p_page_plug_template_name=>'Image' -,p_internal_name=>'IMAGE' -,p_theme_id=>42 -,p_theme_class_id=>21 -,p_preset_template_options=>'t-ImageRegion--auto:t-ImageRegion--cover:t-ImageRegion--square:t-ImageRegion--noFilter' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>1673953645642781634 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17694052237259871) -,p_plug_template_id=>wwv_flow_imp.id(27039607129707265) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17694491166259871) -,p_plug_template_id=>wwv_flow_imp.id(27039607129707265) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>false -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/search_results_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(27048447620707282) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -' #BODY#', -' #SUB_REGIONS#', -'
    ', -'')) -,p_page_plug_template_name=>'Search Results Container' -,p_internal_name=>'SEARCH_RESULTS_CONTAINER' -,p_theme_id=>42 -,p_theme_class_id=>11 -,p_default_template_options=>'u-colors' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>1554292095258992441 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17763296113259917) -,p_plug_template_id=>wwv_flow_imp.id(27048447620707282) -,p_name=>'Search Results' -,p_placeholder=>'BODY' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17763887892259917) -,p_plug_template_id=>wwv_flow_imp.id(27048447620707282) -,p_name=>'Search Field' -,p_placeholder=>'SEARCH_FIELD' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17764340897259917) -,p_plug_template_id=>wwv_flow_imp.id(27048447620707282) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>false -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/item_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(27052808951707285) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    #BUTTON_START#
    ', -'
    #BODY#
    ', -'
    #BUTTON_END#
    ', -'
    ')) -,p_page_plug_template_name=>'Item Container' -,p_internal_name=>'ITEM_CONTAINER' -,p_theme_id=>42 -,p_theme_class_id=>21 -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>1568547778806319863 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17750730185259909) -,p_plug_template_id=>wwv_flow_imp.id(27052808951707285) -,p_name=>'Item' -,p_placeholder=>'BODY' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>false -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17751275593259909) -,p_plug_template_id=>wwv_flow_imp.id(27052808951707285) -,p_name=>'Button End' -,p_placeholder=>'BUTTON_END' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17751701255259909) -,p_plug_template_id=>wwv_flow_imp.id(27052808951707285) -,p_name=>'Button Start' -,p_placeholder=>'BUTTON_START' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/inline_drawer -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(29156176224126002) -,p_layout=>'TABLE' -,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_page_plug_template_name=>'Inline Drawer' -,p_internal_name=>'INLINE_DRAWER' -,p_theme_id=>42 -,p_theme_class_id=>24 -,p_default_template_options=>'js-modal' -,p_preset_template_options=>'js-dialog-class-t-Drawer--pullOutEnd' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_reference_id=>1659526333647509386 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17721045742259889) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17721526400259890) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Close' -,p_placeholder=>'CLOSE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17722063191259890) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Create' -,p_placeholder=>'CREATE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17722489431259890) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Delete' -,p_placeholder=>'DELETE' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17723027943259890) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Edit' -,p_placeholder=>'EDIT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>false -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17723499883259891) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Next' -,p_placeholder=>'NEXT' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17724076252259891) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Previous' -,p_placeholder=>'PREVIOUS' -,p_has_grid_support=>false -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17724573779259891) -,p_plug_template_id=>wwv_flow_imp.id(29156176224126002) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/region/cards_container -begin -wwv_flow_imp_shared.create_plug_template( - p_id=>wwv_flow_imp.id(65551787007990393) -,p_layout=>'TABLE' -,p_template=>'
    #ORDER_BY_ITEM##BODY##SUB_REGIONS#
    ' -,p_page_plug_template_name=>'Cards Container' -,p_internal_name=>'CARDS_CONTAINER' -,p_theme_id=>42 -,p_theme_class_id=>21 -,p_default_template_options=>'u-colors' -,p_default_label_alignment=>'RIGHT' -,p_default_field_alignment=>'LEFT' -,p_default_landmark_type=>'region' -,p_reference_id=>2071277712695139743 -,p_translate_this_template=>'N' -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17620304673259800) -,p_plug_template_id=>wwv_flow_imp.id(65551787007990393) -,p_name=>'Region Body' -,p_placeholder=>'BODY' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17620847149259801) -,p_plug_template_id=>wwv_flow_imp.id(65551787007990393) -,p_name=>'Sort Order' -,p_placeholder=>'ORDER_BY_ITEM' -,p_has_grid_support=>true -,p_has_region_support=>false -,p_has_item_support=>true -,p_has_button_support=>true -,p_glv_new_row=>true -); -wwv_flow_imp_shared.create_plug_tmpl_display_point( - p_id=>wwv_flow_imp.id(17621387188259801) -,p_plug_template_id=>wwv_flow_imp.id(65551787007990393) -,p_name=>'Sub Regions' -,p_placeholder=>'SUB_REGIONS' -,p_has_grid_support=>true -,p_has_region_support=>true -,p_has_item_support=>false -,p_has_button_support=>false -,p_glv_new_row=>true -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/badge_list -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26715822523953991) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' #TEXT#', -' #A01#', -' ', -'
  • ', -'')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' #TEXT#', -' #A01#', -' ', -'
  • ', -'')) -,p_list_template_name=>'Badge List' -,p_internal_name=>'BADGE_LIST' -,p_theme_id=>42 -,p_theme_class_id=>3 -,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--cols t-BadgeList--3cols:t-BadgeList--circular' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_a01_label=>'Value' -,p_a02_label=>'List item CSS Classes' -,p_a03_label=>'Link Attributes' -,p_a04_label=>'Link Classes' -,p_reference_id=>2062482847268086664 -,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2( -'A01: Large Number', -'A02: List Item Classes', -'A03: Link Attributes')) -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/cards -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26719881325953999) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
  • ')) -,p_list_template_name=>'Cards' -,p_internal_name=>'CARDS' -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--basic' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_a01_label=>'Description' -,p_a02_label=>'Secondary Information' -,p_a03_label=>'Initials' -,p_a04_label=>'List Item CSS Classes' -,p_a05_label=>'Link Attributes' -,p_a06_label=>'Card Color Class' -,p_a07_label=>'Subtitle' -,p_reference_id=>2885322685880632508 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/links_list -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26725497979954003) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_list_template_name=>'Links List' -,p_internal_name=>'LINKS_LIST' -,p_theme_id=>42 -,p_theme_class_id=>18 -,p_list_template_before_rows=>'' -,p_before_sub_list=>'' -,p_sub_list_item_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_sub_list_item_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_a01_label=>'Badge Value' -,p_a02_label=>'Link Attributes' -,p_a03_label=>'List Item CSS Classes' -,p_reference_id=>4070914341144059318 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/media_list -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26727067387954005) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -'
    ', -'

    #TEXT#

    ', -'

    #A01#

    ', -'
    ', -'
    ', -' #A02#', -'
    ', -'
    ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -'
    ', -'

    #TEXT#

    ', -'

    #A01#

    ', -'
    ', -'
    ', -' #A02#', -'
    ', -'
    ', -'
  • ')) -,p_list_template_name=>'Media List' -,p_internal_name=>'MEDIA_LIST' -,p_theme_id=>42 -,p_theme_class_id=>5 -,p_default_template_options=>'t-MediaList--showIcons:t-MediaList--showDesc' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_a01_label=>'Description' -,p_a02_label=>'Badge Value' -,p_a03_label=>'Link Attributes' -,p_a04_label=>'List Item CSS Classes' -,p_a05_label=>'Link Class' -,p_a06_label=>'Icon Color Class' -,p_reference_id=>2066548068783481421 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/menu_bar -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26729842043954007) -,p_list_template_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_list_template_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_list_template_name=>'Menu Bar' -,p_internal_name=>'MENU_BAR' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);', -'if (e.hasClass("js-addActions")) {', -' apex.actions.addFromMarkup( e );', -'}', -'e.menu({', -' behaveLikeTabs: e.hasClass("js-tabLike"),', -' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,', -' iconType: ''fa'',', -' menubar: true,', -' menubarOverflow: true,', -' callout: e.hasClass("js-menu-callout")', -'});')) -,p_theme_id=>42 -,p_theme_class_id=>20 -,p_default_template_options=>'js-showSubMenuIcons' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_before_sub_list=>'
      ' -,p_after_sub_list=>'
    ' -,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_a01_label=>'Menu Item ID / Action Name' -,p_a02_label=>'Disabled (True/False)' -,p_a03_label=>'Hidden (True/False)' -,p_a04_label=>'Title Attribute (Used By Actions Only)' -,p_a05_label=>'Shortcut' -,p_a06_label=>'Link Target' -,p_reference_id=>2008709236185638887 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/menu_popup -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26730814912954008) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • #TEXT_ESC_SC#
  • ', -'')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • #TEXT_ESC_SC#
  • ', -'')) -,p_list_template_name=>'Menu Popup' -,p_internal_name=>'MENU_POPUP' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'var e = apex.jQuery("##PARENT_STATIC_ID#_menu", apex.gPageContext$);', -'if (e.hasClass("js-addActions")) {', -' apex.actions.addFromMarkup( e );', -'}', -'e.menu({ iconType: ''fa'', callout: e.hasClass("js-menu-callout")});')) -,p_theme_id=>42 -,p_theme_class_id=>20 -,p_list_template_before_rows=>'' -,p_before_sub_list=>'
      ' -,p_after_sub_list=>'
    ' -,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_a01_label=>'Menu Item ID / Action Name' -,p_a02_label=>'Disabled (True/False)' -,p_a03_label=>'Hidden (True/False)' -,p_a04_label=>'Title Attribute (Used By Actions Only)' -,p_a05_label=>'Shortcut' -,p_a06_label=>'Link Target' -,p_reference_id=>3492264004432431646 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/navigation_bar -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26731301093954009) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' #TEXT_ESC_SC##A01#', -' ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' #TEXT_ESC_SC##A01#', -' ', -'
  • ')) -,p_list_template_name=>'Navigation Bar' -,p_internal_name=>'NAVIGATION_BAR' -,p_theme_id=>42 -,p_theme_class_id=>20 -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_before_sub_list=>'' -,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ')) -,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ')) -,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#
  • ' -,p_a01_label=>'Badge Value' -,p_a02_label=>'List Item CSS Classes' -,p_a04_label=>'Title Attribute' -,p_a06_label=>'Link Target' -,p_reference_id=>2846096252961119197 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/side_navigation_menu -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26731493111954009) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #TEXT_ESC_SC#', -' ', -'
  • ', -'')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #TEXT_ESC_SC#', -' ', -'
  • ')) -,p_list_template_name=>'Side Navigation Menu' -,p_internal_name=>'SIDE_NAVIGATION_MENU' -,p_javascript_file_urls=>'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.treeView#MIN#.js?v=#APEX_VERSION#' -,p_javascript_code_onload=>'apex.jQuery(''body'').addClass(''t-PageBody--leftNav'');' -,p_theme_id=>42 -,p_theme_class_id=>19 -,p_default_template_options=>'js-defaultCollapsed' -,p_preset_template_options=>'t-TreeNav--styleA:js-navCollapsed--hidden' -,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_before_sub_list=>'
      ' -,p_after_sub_list=>'
    ' -,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #TEXT_ESC_SC#', -' ', -'')) -,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #TEXT_ESC_SC#', -' ', -'')) -,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_a01_label=>'ID Attribute' -,p_a02_label=>'Disabled (True/False)' -,p_a04_label=>'Title Attribute (Used By Actions Only)' -,p_a05_label=>'Shortcut Key' -,p_a06_label=>'Link Target' -,p_reference_id=>2466292414354694776 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/tabs -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26732418484954010) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT#', -' ', -'
  • ')) -,p_list_template_name=>'Tabs' -,p_internal_name=>'TABS' -,p_javascript_file_urls=>'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#' -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_preset_template_options=>'t-Tabs--simple' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_a01_label=>'List Item ID' -,p_a03_label=>'List Item Class' -,p_a04_label=>'Link Class' -,p_reference_id=>3288206686691809997 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/top_navigation_menu -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26734045467954012) -,p_list_template_current=>'
  • #TEXT_ES' -||'C_SC#
  • ' -,p_list_template_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_list_template_name=>'Top Navigation Menu' -,p_internal_name=>'TOP_NAVIGATION_MENU' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'var e = apex.jQuery("#t_MenuNav", apex.gPageContext$);', -'if (e.hasClass("js-addActions")) {', -' apex.actions.addFromMarkup( e );', -'}', -'e.menu({', -' behaveLikeTabs: e.hasClass("js-tabLike"),', -' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,', -' menubar: true,', -' menubarOverflow: true,', -' callout: e.hasClass("js-menu-callout")', -'});', -'')) -,p_theme_id=>42 -,p_theme_class_id=>20 -,p_default_template_options=>'js-tabLike' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_before_sub_list=>'
      ' -,p_after_sub_list=>'
    ' -,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • ' -,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • ' -,p_item_templ_curr_w_child=>'
  • #TEXT_ES' -||'C_SC#' -,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#' -,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#' -,p_a01_label=>'Menu Item ID / Action Name' -,p_a02_label=>'Disabled (True/False)' -,p_a03_label=>'Hidden (True/False)' -,p_a04_label=>'Title Attribute (Used By Actions Only)' -,p_a05_label=>'Shortcut Key' -,p_a06_label=>'Link Target' -,p_reference_id=>2525307901300239072 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/top_navigation_tabs -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26735063243954013) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A02#', -' ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A02#', -' ', -'
  • ')) -,p_list_template_name=>'Top Navigation Tabs' -,p_internal_name=>'TOP_NAVIGATION_TABS' -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_preset_template_options=>'t-NavTabs--inlineLabels-lg:t-NavTabs--displayLabels-sm' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_a01_label=>'List Item ID' -,p_a02_label=>'Badge Value' -,p_a03_label=>'List Item Class' -,p_a04_label=>'Link Class' -,p_a05_label=>'Badge Class' -,p_reference_id=>1453011561172885578 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/wizard_progress -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(26736624768954014) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -' ', -' #TEXT# ', -'
    ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -' ', -' #TEXT# ', -'
    ', -'
  • ')) -,p_list_template_name=>'Wizard Progress' -,p_internal_name=>'WIZARD_PROGRESS' -,p_javascript_code_onload=>'apex.theme.initWizardProgressBar();' -,p_theme_id=>42 -,p_theme_class_id=>17 -,p_preset_template_options=>'t-WizardSteps--displayLabels' -,p_list_template_before_rows=>'
      ' -,p_list_template_after_rows=>'
    ' -,p_reference_id=>2008702338707394488 -); -end; -/ -prompt --application/shared_components/user_interface/templates/list/top_navigation_mega_menu -begin -wwv_flow_imp_shared.create_list_template( - p_id=>wwv_flow_imp.id(65609039854990455) -,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ', -'
  • ')) -,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ', -'
  • ')) -,p_list_template_name=>'Top Navigation Mega Menu' -,p_internal_name=>'TOP_NAVIGATION_MEGA_MENU' -,p_theme_id=>42 -,p_theme_class_id=>20 -,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'' -,p_before_sub_list=>'
      ' -,p_after_sub_list=>'
    ' -,p_sub_list_item_current=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ', -'
  • ')) -,p_sub_list_item_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ', -'
  • ')) -,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ')) -,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ', -'
  • ')) -,p_sub_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ')) -,p_sub_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' ', -' ', -' #TEXT_ESC_SC#', -' #A03#', -' ', -' #A02#', -' ')) -,p_a01_label=>'ID Attribute' -,p_a02_label=>'Badge Value' -,p_a03_label=>'Description' -,p_a04_label=>'List Item Class' -,p_a05_label=>'Shortcut Key' -,p_a06_label=>'Link Target' -,p_a07_label=>'Badge Class' -,p_a08_label=>'Menu Item Class' -,p_reference_id=>1665447133514362075 -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/contextual_info -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26694227429726766) -,p_row_template_name=>'Contextual Info' -,p_internal_name=>'CONTEXTUAL_INFO' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #COLUMN_HEADER#', -' #COLUMN_VALUE#', -'
    ')) -,p_row_template_before_rows=>'
    ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'GENERIC_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>6 -,p_reference_id=>2114325881116323585 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/alerts -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26695069355953966) -,p_row_template_name=>'Alerts' -,p_internal_name=>'ALERTS' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'')) -,p_row_template_before_rows=>'
    ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>14 -,p_reference_id=>2881456138952347027 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/badge_list -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26695234232953969) -,p_row_template_name=>'Badge List' -,p_internal_name=>'BADGE_LIST' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -' #COLUMN_HEADER#', -' #COLUMN_VALUE#', -' ', -'
  • ')) -,p_row_template_before_rows=>'
      ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'GENERIC_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>6 -,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed:t-BadgeList--circular' -,p_reference_id=>2103197159775914759 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/cards -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26699288380953973) -,p_row_template_name=>'Cards' -,p_internal_name=>'CARDS' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
  • ')) -,p_row_template_condition1=>':CARD_LINK is not null' -,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -'
    ', -'
    #CARD_INITIALS#
    ', -'

    #CARD_TITLE#

    #CARD_SUBTITLE#

    ', -'
    ', -'
    #CARD_TEXT#
    ', -'
    #CARD_SUBTEXT#
    ', -'
    ', -' ', -'
    ', -'
    ', -'
  • ')) -,p_row_template_before_rows=>'
      ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'NOT_CONDITIONAL' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'NOT_CONDITIONAL' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--basic' -,p_reference_id=>2973535649510699732 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/comments -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26704638373953980) -,p_row_template_name=>'Comments' -,p_internal_name=>'COMMENTS' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -' ', -'
    ', -'
    ', -'
    ', -' #USER_NAME# #COMMENT_DATE# #ACTIONS#', -'
    ', -'
    ', -' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#', -'
    ', -'
    ', -'
  • ')) -,p_row_template_before_rows=>'
      ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'NOT_CONDITIONAL' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_preset_template_options=>'t-Comments--chat' -,p_reference_id=>2611722012730764232 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/media_list -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26705905842953981) -,p_row_template_name=>'Media List' -,p_internal_name=>'MEDIA_LIST' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
    ', -' ', -'
    ', -'
    ', -'

    #LIST_TITLE#

    ', -'

    #LIST_TEXT#

    ', -'
    ', -'
    ', -' #LIST_BADGE#', -'
    ', -'
    ', -'
  • ', -'')) -,p_row_template_condition1=>':LINK is not null' -,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
  • ', -'')) -,p_row_template_before_rows=>'
      ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'NOT_CONDITIONAL' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'NOT_CONDITIONAL' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>1 -,p_default_template_options=>'t-MediaList--showDesc:t-MediaList--showIcons' -,p_preset_template_options=>'t-MediaList--stack' -,p_reference_id=>2092157460408299055 -,p_translate_this_template=>'N' -,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/search_results -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26708897211953984) -,p_row_template_name=>'Search Results' -,p_internal_name=>'SEARCH_RESULTS' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'

    #SEARCH_TITLE#

    ', -'
    ', -'

    #SEARCH_DESC#

    ', -' #LABEL_01#: #VALUE_01#', -'
    ', -'
  • ')) -,p_row_template_condition1=>':LABEL_02 is null' -,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'

    #SEARCH_TITLE#

    ', -'
    ', -'

    #SEARCH_DESC#

    ', -' #LABEL_01#: #VALUE_01#', -' #LABEL_02#: #VALUE_02#', -'
    ', -'
  • ')) -,p_row_template_condition2=>':LABEL_03 is null' -,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'

    #SEARCH_TITLE#

    ', -'
    ', -'

    #SEARCH_DESC#

    ', -' #LABEL_01#: #VALUE_01#', -' #LABEL_02#: #VALUE_02#', -' #LABEL_03#: #VALUE_03#', -'
    ', -'
  • ')) -,p_row_template_condition3=>':LABEL_04 is null' -,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'

    #SEARCH_TITLE#

    ', -'
    ', -'

    #SEARCH_DESC#

    ', -' #LABEL_01#: #VALUE_01#', -' #LABEL_02#: #VALUE_02#', -' #LABEL_03#: #VALUE_03#', -' #LABEL_04#: #VALUE_04#', -'
    ', -'
  • ')) -,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
      ')) -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#', -'
    ')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'NOT_CONDITIONAL' -,p_row_template_display_cond2=>'NOT_CONDITIONAL' -,p_row_template_display_cond3=>'NOT_CONDITIONAL' -,p_row_template_display_cond4=>'NOT_CONDITIONAL' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>1 -,p_reference_id=>4070913431524059316 -,p_translate_this_template=>'N' -,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/standard -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26709087882953984) -,p_row_template_name=>'Standard' -,p_internal_name=>'STANDARD' -,p_row_template1=>'#COLUMN_VALUE#' -,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -' #TOP_PAGINATION#', -'
    ', -' ')) -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -' ', -'
    ', -'
    ', -' ', -' #PAGINATION#', -'
    ', -'
    ')) -,p_row_template_before_first=>'' -,p_row_template_after_last=>'' -,p_row_template_type=>'GENERIC_COLUMNS' -,p_before_column_heading=>'' -,p_column_heading_template=>'#COLUMN_HEADER#' -,p_after_column_heading=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'')) -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_preset_template_options=>'t-Report--altRowsDefault:t-Report--rowHighlight' -,p_reference_id=>2537207537838287671 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/timeline -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26711630637953986) -,p_row_template_name=>'Timeline' -,p_internal_name=>'TIMELINE' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -'
    ', -' ', -'
    ', -' #USER_NAME#', -' #EVENT_DATE#', -'
    ', -'
    ', -'
    ', -'
    ', -'
    ', -' ', -' #EVENT_TYPE#', -'
    ', -'
    ', -'
    ', -'

    #EVENT_TITLE#

    ', -'

    #EVENT_DESC#

    ', -'
    ', -'
    ', -'
    ', -'
  • ')) -,p_row_template_condition1=>':EVENT_LINK is null' -,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' ', -'
    ', -' ', -'
    ', -' #USER_NAME#', -' #EVENT_DATE#', -'
    ', -'
    ', -'
    ', -'
    ', -'
    ', -' ', -' #EVENT_TYPE#', -'
    ', -'
    ', -'
    ', -'

    #EVENT_TITLE#

    ', -'

    #EVENT_DESC#

    ', -'
    ', -'
    ', -'
    ', -'
  • ')) -,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
      ', -'')) -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'NOT_CONDITIONAL' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'NOT_CONDITIONAL' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_reference_id=>1513373588340069864 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26712060186953987) -,p_row_template_name=>'Value Attribute Pairs - Column' -,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_COLUMN' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #COLUMN_HEADER#', -'
    ', -'
    ', -' #COLUMN_VALUE#', -'
    ')) -,p_row_template_before_rows=>'
    ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'GENERIC_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>6 -,p_preset_template_options=>'t-AVPList--leftAligned' -,p_reference_id=>2099068636272681754 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(26714032044953988) -,p_row_template_name=>'Value Attribute Pairs - Row' -,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_ROW' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #1#', -'
    ', -'
    ', -' #2#', -'
    ')) -,p_row_template_before_rows=>'
    ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>7 -,p_preset_template_options=>'t-AVPList--leftAligned' -,p_reference_id=>2099068321678681753 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/report/content_row -begin -wwv_flow_imp_shared.create_row_template( - p_id=>wwv_flow_imp.id(65662121352990510) -,p_row_template_name=>'Content Row' -,p_internal_name=>'CONTENT_ROW' -,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -'
    ', -'
    #SELECTION#
    ', -'
    ', -' #ICON_HTML#', -'
    ', -'
    ', -'
    ', -'

    #TITLE#

    ', -'
    #DESCRIPTION#
    ', -'
    ', -'
    #MISC#
    ', -'
    #ACTIONS#
    ', -'
    ', -'
    ', -'
  • ')) -,p_row_template_before_rows=>'
      ' -,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'#PAGINATION#')) -,p_row_template_type=>'NAMED_COLUMNS' -,p_row_template_display_cond1=>'0' -,p_row_template_display_cond2=>'0' -,p_row_template_display_cond3=>'0' -,p_row_template_display_cond4=>'0' -,p_pagination_template=>'#TEXT#' -,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT#', -'')) -,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS#', -'')) -,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_NEXT_SET#', -'')) -,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #PAGINATION_PREVIOUS_SET#', -'')) -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_reference_id=>1797843454948280151 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/hidden -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738065423954016) -,p_template_name=>'Hidden' -,p_internal_name=>'HIDDEN' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>'
    #ITEM_PRE_TEXT#' -,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    ' -,p_help_link=>'' -,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#' -,p_error_template=>'#ERROR_MESSAGE#' -,p_theme_id=>42 -,p_theme_class_id=>13 -,p_reference_id=>2039339104148359505 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/optional -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738177760954019) -,p_template_name=>'Optional' -,p_internal_name=>'OPTIONAL' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'', -'
    ', -'')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>'
    #ITEM_PRE_TEXT#' -,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    ' -,p_help_link=>'' -,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#' -,p_error_template=>'#ERROR_MESSAGE#' -,p_theme_id=>42 -,p_theme_class_id=>3 -,p_reference_id=>2317154212072806530 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/optional_above -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738220322954019) -,p_template_name=>'Optional - Above' -,p_internal_name=>'OPTIONAL_ABOVE' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #HELP_TEMPLATE#', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>'
    #ITEM_PRE_TEXT#' -,p_after_element=>'#ITEM_POST_TEXT#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    ' -,p_help_link=>'' -,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#' -,p_error_template=>'#ERROR_MESSAGE#' -,p_theme_id=>42 -,p_theme_class_id=>3 -,p_reference_id=>3030114864004968404 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/optional_floating -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738339406954019) -,p_template_name=>'Optional - Floating' -,p_internal_name=>'OPTIONAL_FLOATING' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>'
    #ITEM_PRE_TEXT#' -,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    ' -,p_help_link=>'' -,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#' -,p_error_template=>'#ERROR_MESSAGE#' -,p_theme_id=>42 -,p_theme_class_id=>3 -,p_reference_id=>1607675164727151865 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/required -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738449610954019) -,p_template_name=>'Required' -,p_internal_name=>'REQUIRED' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    #ITEM_PRE_TEXT#')) -,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#ITEM_POST_TEXT##HELP_TEMPLATE#', -'
    ', -'
    ', -' #ERROR_TEMPLATE#', -' ', -'
    ', -' #INLINE_HELP_TEMPLATE#', -'
    ')) -,p_help_link=>'' -,p_inline_help_text=>'
    #CURRENT_ITEM_INLINE_HELP_TEXT#
    ' -,p_error_template=>'
    #ERROR_MESSAGE#
    ' -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_reference_id=>2525313812251712801 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/required_above -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738575492954020) -,p_template_name=>'Required - Above' -,p_internal_name=>'REQUIRED_ABOVE' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' #HELP_TEMPLATE#', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    #ITEM_PRE_TEXT#')) -,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#ITEM_POST_TEXT#
    ', -'
    ', -' #ERROR_TEMPLATE#', -' ', -'
    ', -' #INLINE_HELP_TEMPLATE#', -'
    ', -'')) -,p_help_link=>'' -,p_inline_help_text=>'
    #CURRENT_ITEM_INLINE_HELP_TEXT#
    ' -,p_error_template=>'
    #ERROR_MESSAGE#
    ' -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_reference_id=>3030115129444970113 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/label/required_floating -begin -wwv_flow_imp_shared.create_field_template( - p_id=>wwv_flow_imp.id(26738611042954020) -,p_template_name=>'Required - Floating' -,p_internal_name=>'REQUIRED_FLOATING' -,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    ')) -,p_before_item=>'
    ' -,p_after_item=>'
    ' -,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#' -,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#' -,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -' ', -'
    #ITEM_PRE_TEXT#')) -,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#ITEM_POST_TEXT##HELP_TEMPLATE#', -'
    ', -'
    ', -' #ERROR_TEMPLATE#', -' ', -'
    ', -' #INLINE_HELP_TEMPLATE#', -'
    ')) -,p_help_link=>'' -,p_inline_help_text=>'
    #CURRENT_ITEM_INLINE_HELP_TEXT#
    ' -,p_error_template=>'
    #ERROR_MESSAGE#
    ' -,p_theme_id=>42 -,p_theme_class_id=>4 -,p_reference_id=>1607675344320152883 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/breadcrumb/breadcrumb -begin -wwv_flow_imp_shared.create_menu_template( - p_id=>wwv_flow_imp.id(26740866592954033) -,p_name=>'Breadcrumb' -,p_internal_name=>'BREADCRUMB' -,p_before_first=>'
      ' -,p_current_page_option=>'
    • #NAME#

    • ' -,p_non_current_page_option=>'
    • #NAME#
    • ' -,p_after_last=>'
    ' -,p_max_levels=>6 -,p_start_with_node=>'PARENT_TO_LEAF' -,p_theme_id=>42 -,p_theme_class_id=>1 -,p_reference_id=>4070916542570059325 -,p_translate_this_template=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/templates/popuplov -begin -wwv_flow_imp_shared.create_popup_lov_template( - p_id=>wwv_flow_imp.id(26741093549954057) -,p_page_name=>'winlov' -,p_page_title=>'Search Dialog' -,p_page_html_head=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -'', -'', -'#TITLE#', -'#APEX_CSS#', -'#THEME_CSS#', -'#THEME_STYLE_CSS#', -'#FAVICONS#', -'#APEX_JAVASCRIPT#', -'#THEME_JAVASCRIPT#', -'', -'')) -,p_page_body_attr=>'onload="first_field()" class="t-Page t-Page--popupLOV"' -,p_before_field_text=>'
    ' -,p_filter_width=>'20' -,p_filter_max_width=>'100' -,p_filter_text_attr=>'class="apex-item-text"' -,p_find_button_text=>'Search' -,p_find_button_attr=>'class="t-Button t-Button--hot t-Button--padLeft"' -,p_close_button_text=>'Close' -,p_close_button_attr=>'class="t-Button u-pullRight"' -,p_next_button_text=>'Next >' -,p_next_button_attr=>'class="t-Button t-PopupLOV-button"' -,p_prev_button_text=>'< Previous' -,p_prev_button_attr=>'class="t-Button t-PopupLOV-button"' -,p_after_field_text=>'
    ' -,p_scrollbars=>'1' -,p_resizable=>'1' -,p_width=>'380' -,p_result_row_x_of_y=>'
    Row(s) #FIRST_ROW# - #LAST_ROW#
    ' -,p_result_rows_per_pg=>100 -,p_before_result_set=>'' -); -end; -/ -prompt --application/shared_components/user_interface/templates/calendar/calendar -begin -wwv_flow_imp_shared.create_calendar_template( - p_id=>wwv_flow_imp.id(26740983101954042) -,p_cal_template_name=>'Calendar' -,p_internal_name=>'CALENDAR' -,p_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #IDAY#', -' ', -'')) -,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'

    #IMONTH# #YYYY#

    ')) -,p_month_open_format=>'' -,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ', -'')) -,p_day_title_format=>'#DD#' -,p_day_open_format=>'#TITLE_FORMAT#
    #DATA#
    ' -,p_day_close_format=>'' -,p_today_open_format=>'#TITLE_FORMAT#
    #DATA#
    ' -,p_weekend_title_format=>'#DD#' -,p_weekend_open_format=>'#TITLE_FORMAT#
    #DATA#
    ' -,p_weekend_close_format=>'' -,p_nonday_title_format=>'#DD#' -,p_nonday_open_format=>'' -,p_nonday_close_format=>'' -,p_week_open_format=>'' -,p_week_close_format=>' ' -,p_daily_title_format=>'' -,p_daily_close_format=>'' -,p_weekly_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'

    #WTITLE#

    ')) -,p_weekly_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ')) -,p_weekly_month_open_format=>'
    #IMONTH# #DD#, #YYYY#
    ' -,p_daily_open_format=>'
    ', -' #DD# #IDAY#', -' ', -'
    ' -,p_weekly_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'')) -,p_weekly_day_open_format=>'
    ' -,p_weekly_day_close_format=>'
    ' -,p_weekly_today_open_format=>'
    ' -,p_weekly_weekend_open_format=>'
    ' -,p_weekly_weekend_close_format=>'
    ' -,p_weekly_time_open_format=>'' -,p_weekly_time_close_format=>'' -,p_weekly_time_title_format=>'#TIME#' -,p_weekly_hour_open_format=>'' -,p_weekly_hour_close_format=>'' -,p_daily_day_of_week_format=>'#IDAY#' -,p_daily_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'

    #IMONTH# #DD#, #YYYY#

    ')) -,p_daily_month_open_format=>'' -,p_daily_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ')) -,p_daily_day_open_format=>'
    ' -,p_daily_day_close_format=>'
    ' -,p_daily_today_open_format=>'
    ' -,p_daily_time_open_format=>'' -,p_daily_time_close_format=>'' -,p_daily_time_title_format=>'#TIME#' -,p_daily_hour_open_format=>'' -,p_daily_hour_close_format=>'' -,p_cust_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'

    #IMONTH# #YYYY#

    ')) -,p_cust_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #IDAY#', -' ', -'')) -,p_cust_month_open_format=>'' -,p_cust_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ')) -,p_cust_week_open_format=>'' -,p_cust_week_close_format=>' ' -,p_cust_day_title_format=>'#DD#' -,p_cust_day_open_format=>'' -,p_cust_day_close_format=>'' -,p_cust_today_open_format=>'' -,p_cust_nonday_title_format=>'#DD#' -,p_cust_nonday_open_format=>'' -,p_cust_nonday_close_format=>'' -,p_cust_weekend_title_format=>'#DD#' -,p_cust_weekend_open_format=>'' -,p_cust_weekend_close_format=>'' -,p_cust_hour_open_format=>'' -,p_cust_hour_close_format=>'' -,p_cust_time_title_format=>'#TIME#' -,p_cust_time_open_format=>'' -,p_cust_time_close_format=>'' -,p_cust_wk_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'

    #WTITLE#

    ')) -,p_cust_wk_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'', -' #DD# #IDAY#', -' ', -'')) -,p_cust_wk_month_open_format=>'' -,p_cust_wk_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    ')) -,p_cust_wk_week_open_format=>'' -,p_cust_wk_week_close_format=>' ' -,p_cust_wk_day_open_format=>'
    ' -,p_cust_wk_day_close_format=>'
    ' -,p_cust_wk_today_open_format=>'
    ' -,p_cust_wk_weekend_open_format=>'' -,p_cust_wk_weekend_close_format=>'' -,p_agenda_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
    ', -'
    #IMONTH# #YYYY#
    ', -'
      ', -' #DAYS#', -'
    ', -'
    ')) -,p_agenda_past_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #IDAY##IMONTH# #DD#', -'
  • ')) -,p_agenda_today_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #IDAY##IMONTH# #DD#', -'
  • ')) -,p_agenda_future_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( -'
  • ', -' #IDAY##IMONTH# #DD#', -'
  • ')) -,p_agenda_past_entry_format=>'
  • #DATA#
  • ' -,p_agenda_today_entry_format=>'
  • #DATA#
  • ' -,p_agenda_future_entry_format=>'
  • #DATA#
  • ' -,p_month_data_format=>'#DAYS#' -,p_month_data_entry_format=>'#DATA#' -,p_theme_id=>42 -,p_theme_class_id=>1 -,p_reference_id=>4070916747979059326 -); -end; -/ -prompt --application/shared_components/user_interface/themes -begin -wwv_flow_imp_shared.create_theme( - p_id=>wwv_flow_imp.id(26742279599954085) -,p_theme_id=>42 -,p_theme_name=>'Universal Theme' -,p_theme_internal_name=>'UNIVERSAL_THEME' -,p_navigation_type=>'L' -,p_nav_bar_type=>'LIST' -,p_reference_id=>4070917134413059350 -,p_is_locked=>false -,p_default_page_template=>wwv_flow_imp.id(26650505737953895) -,p_default_dialog_template=>wwv_flow_imp.id(26646158128953892) -,p_error_template=>wwv_flow_imp.id(26639724786953887) -,p_printer_friendly_template=>wwv_flow_imp.id(26650505737953895) -,p_breadcrumb_display_point=>'REGION_POSITION_01' -,p_sidebar_display_point=>'REGION_POSITION_02' -,p_login_template=>wwv_flow_imp.id(26639724786953887) -,p_default_button_template=>wwv_flow_imp.id(26739430162954028) -,p_default_region_template=>wwv_flow_imp.id(26683353252953952) -,p_default_chart_template=>wwv_flow_imp.id(26683353252953952) -,p_default_form_template=>wwv_flow_imp.id(26683353252953952) -,p_default_reportr_template=>wwv_flow_imp.id(26683353252953952) -,p_default_tabform_template=>wwv_flow_imp.id(26683353252953952) -,p_default_wizard_template=>wwv_flow_imp.id(26683353252953952) -,p_default_menur_template=>wwv_flow_imp.id(26692736997953960) -,p_default_listr_template=>wwv_flow_imp.id(26683353252953952) -,p_default_irr_template=>wwv_flow_imp.id(26682226918953951) -,p_default_report_template=>wwv_flow_imp.id(26709087882953984) -,p_default_label_template=>wwv_flow_imp.id(26738339406954019) -,p_default_menu_template=>wwv_flow_imp.id(26740866592954033) -,p_default_calendar_template=>wwv_flow_imp.id(26740983101954042) -,p_default_list_template=>wwv_flow_imp.id(26725497979954003) -,p_default_nav_list_template=>wwv_flow_imp.id(26734045467954012) -,p_default_top_nav_list_temp=>wwv_flow_imp.id(26734045467954012) -,p_default_side_nav_list_temp=>wwv_flow_imp.id(26731493111954009) -,p_default_nav_list_position=>'SIDE' -,p_default_dialogbtnr_template=>wwv_flow_imp.id(26659138683953923) -,p_default_dialogr_template=>wwv_flow_imp.id(26658184993953922) -,p_default_option_label=>wwv_flow_imp.id(26738339406954019) -,p_default_required_label=>wwv_flow_imp.id(26738611042954020) -,p_default_navbar_list_template=>wwv_flow_imp.id(26731301093954009) -,p_file_prefix => nvl(wwv_flow_application_install.get_static_theme_file_prefix(42),'#APEX_FILES#themes/theme_42/22.2/') -,p_files_version=>64 -,p_icon_library=>'FONTAPEX' -,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#APEX_FILES#libraries/apex/#MIN_DIRECTORY#widget.stickyWidget#MIN#.js?v=#APEX_VERSION#', -'#THEME_FILES#js/theme42#MIN#.js?v=#APEX_VERSION#')) -,p_css_file_urls=>'#THEME_FILES#css/Core#MIN#.css?v=#APEX_VERSION#' -); -end; -/ -prompt --application/shared_components/user_interface/theme_style -begin -wwv_flow_imp_shared.create_theme_style( - p_id=>wwv_flow_imp.id(17217239503259478) -,p_theme_id=>42 -,p_name=>'Redwood Light' -,p_css_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#APEX_FILES#libraries/oracle-fonts/oraclesans-apex#MIN#.css?v=#APEX_VERSION#', -'#THEME_FILES#css/Redwood#MIN#.css?v=#APEX_VERSION#')) -,p_is_current=>false -,p_is_public=>true -,p_is_accessible=>false -,p_theme_roller_input_file_urls=>'#THEME_FILES#less/theme/Redwood-Theme.less' -,p_theme_roller_output_file_url=>'#THEME_FILES#css/Redwood-Theme#MIN#.css?v=#APEX_VERSION#' -,p_theme_roller_read_only=>true -,p_reference_id=>2596426436825065489 -); -wwv_flow_imp_shared.create_theme_style( - p_id=>wwv_flow_imp.id(17217659341259478) -,p_theme_id=>42 -,p_name=>'Vita' -,p_is_current=>true -,p_is_public=>true -,p_is_accessible=>true -,p_theme_roller_input_file_urls=>'#THEME_FILES#less/theme/Vita.less' -,p_theme_roller_output_file_url=>'#THEME_FILES#css/Vita#MIN#.css?v=#APEX_VERSION#' -,p_theme_roller_read_only=>true -,p_reference_id=>2719875314571594493 -); -wwv_flow_imp_shared.create_theme_style( - p_id=>wwv_flow_imp.id(17218019068259479) -,p_theme_id=>42 -,p_name=>'Vita - Dark' -,p_is_current=>false -,p_is_public=>true -,p_is_accessible=>false -,p_theme_roller_input_file_urls=>'#THEME_FILES#less/theme/Vita-Dark.less' -,p_theme_roller_output_file_url=>'#THEME_FILES#css/Vita-Dark#MIN#.css?v=#APEX_VERSION#' -,p_theme_roller_read_only=>true -,p_reference_id=>3543348412015319650 -); -wwv_flow_imp_shared.create_theme_style( - p_id=>wwv_flow_imp.id(17218415148259479) -,p_theme_id=>42 -,p_name=>'Vita - Red' -,p_is_current=>false -,p_is_public=>true -,p_is_accessible=>false -,p_theme_roller_input_file_urls=>'#THEME_FILES#less/theme/Vita-Red.less' -,p_theme_roller_output_file_url=>'#THEME_FILES#css/Vita-Red#MIN#.css?v=#APEX_VERSION#' -,p_theme_roller_read_only=>true -,p_reference_id=>1938457712423918173 -); -wwv_flow_imp_shared.create_theme_style( - p_id=>wwv_flow_imp.id(17218827296259479) -,p_theme_id=>42 -,p_name=>'Vita - Slate' -,p_is_current=>false -,p_is_public=>true -,p_is_accessible=>false -,p_theme_roller_input_file_urls=>'#THEME_FILES#less/theme/Vita-Slate.less' -,p_theme_roller_output_file_url=>'#THEME_FILES#css/Vita-Slate#MIN#.css?v=#APEX_VERSION#' -,p_theme_roller_read_only=>true -,p_reference_id=>3291983347983194966 -); -end; -/ -prompt --application/shared_components/user_interface/theme_files -begin -null; -end; -/ -prompt --application/shared_components/user_interface/template_opt_groups -begin -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17380179017259624) -,p_theme_id=>42 -,p_name=>'BUTTON_SET' -,p_display_name=>'Button Set' -,p_display_sequence=>40 -,p_template_types=>'BUTTON' -,p_help_text=>'Enables you to group many buttons together into a pill. You can use this option to specify where the button is within this set. Set the option to Default if this button is not part of a button set.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17380549304259624) -,p_theme_id=>42 -,p_name=>'ICON_HOVER_ANIMATION' -,p_display_name=>'Icon Hover Animation' -,p_display_sequence=>55 -,p_template_types=>'BUTTON' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17380955474259624) -,p_theme_id=>42 -,p_name=>'ICON_POSITION' -,p_display_name=>'Icon Position' -,p_display_sequence=>50 -,p_template_types=>'BUTTON' -,p_help_text=>'Sets the position of the icon relative to the label.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17381316096259624) -,p_theme_id=>42 -,p_name=>'SIZE' -,p_display_name=>'Size' -,p_display_sequence=>10 -,p_template_types=>'BUTTON' -,p_help_text=>'Sets the size of the button.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17381695497259625) -,p_theme_id=>42 -,p_name=>'SPACING_BOTTOM' -,p_display_name=>'Spacing Bottom' -,p_display_sequence=>100 -,p_template_types=>'BUTTON' -,p_help_text=>'Controls the spacing to the bottom of the button.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17382089031259625) -,p_theme_id=>42 -,p_name=>'SPACING_LEFT' -,p_display_name=>'Spacing Left' -,p_display_sequence=>70 -,p_template_types=>'BUTTON' -,p_help_text=>'Controls the spacing to the left of the button.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17382535237259625) -,p_theme_id=>42 -,p_name=>'SPACING_RIGHT' -,p_display_name=>'Spacing Right' -,p_display_sequence=>80 -,p_template_types=>'BUTTON' -,p_help_text=>'Controls the spacing to the right of the button.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17382940849259625) -,p_theme_id=>42 -,p_name=>'SPACING_TOP' -,p_display_name=>'Spacing Top' -,p_display_sequence=>90 -,p_template_types=>'BUTTON' -,p_help_text=>'Controls the spacing to the top of the button.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17383297441259625) -,p_theme_id=>42 -,p_name=>'STYLE' -,p_display_name=>'Style' -,p_display_sequence=>30 -,p_template_types=>'BUTTON' -,p_help_text=>'Sets the style of the button. Use the "Simple" option for secondary actions or sets of buttons. Use the "Remove UI Decoration" option to make the button appear as text.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17383700782259625) -,p_theme_id=>42 -,p_name=>'TYPE' -,p_display_name=>'Type' -,p_display_sequence=>20 -,p_template_types=>'BUTTON' -,p_null_text=>'Normal' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17384143976259626) -,p_theme_id=>42 -,p_name=>'WIDTH' -,p_display_name=>'Width' -,p_display_sequence=>60 -,p_template_types=>'BUTTON' -,p_help_text=>'Sets the width of the button.' -,p_null_text=>'Auto - Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17384528126259626) -,p_theme_id=>42 -,p_name=>'BOTTOM_MARGIN' -,p_display_name=>'Bottom Margin' -,p_display_sequence=>220 -,p_template_types=>'FIELD' -,p_help_text=>'Set the bottom margin for this field.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17384911217259626) -,p_theme_id=>42 -,p_name=>'DISPLAY_TEXT_STYLE' -,p_display_name=>'Display Text Style' -,p_display_sequence=>400 -,p_template_types=>'FIELD' -,p_help_text=>'Determines the display style for Display Only & Read Only display items.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17385344315259626) -,p_theme_id=>42 -,p_name=>'ITEM_POST_TEXT' -,p_display_name=>'Item Post Text' -,p_display_sequence=>30 -,p_template_types=>'FIELD' -,p_help_text=>'Adjust the display of the Item Post Text' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17385700628259627) -,p_theme_id=>42 -,p_name=>'ITEM_PRE_TEXT' -,p_display_name=>'Item Pre Text' -,p_display_sequence=>20 -,p_template_types=>'FIELD' -,p_help_text=>'Adjust the display of the Item Pre Text' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17386162301259627) -,p_theme_id=>42 -,p_name=>'LEFT_MARGIN' -,p_display_name=>'Left Margin' -,p_display_sequence=>220 -,p_template_types=>'FIELD' -,p_help_text=>'Set the left margin for this field.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17386571397259627) -,p_theme_id=>42 -,p_name=>'PRESERVE_LABEL_SPACING' -,p_display_name=>'Preserve Label Spacing' -,p_display_sequence=>1 -,p_template_types=>'FIELD' -,p_help_text=>'Preserves the label space and enables use of the Label Column Span property.' -,p_null_text=>'Yes' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17386888862259627) -,p_theme_id=>42 -,p_name=>'RADIO_GROUP_DISPLAY' -,p_display_name=>'Item Group Display' -,p_display_sequence=>300 -,p_template_types=>'FIELD' -,p_help_text=>'Determines the display style for radio and check box items.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17387371223259627) -,p_theme_id=>42 -,p_name=>'REQUIRED_INDICATOR' -,p_display_name=>'Required Indicator' -,p_display_sequence=>1 -,p_template_types=>'FIELD' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17387761551259627) -,p_theme_id=>42 -,p_name=>'RIGHT_MARGIN' -,p_display_name=>'Right Margin' -,p_display_sequence=>230 -,p_template_types=>'FIELD' -,p_help_text=>'Set the right margin for this field.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17388113992259628) -,p_theme_id=>42 -,p_name=>'SIZE' -,p_display_name=>'Size' -,p_display_sequence=>10 -,p_template_types=>'FIELD' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17388502818259628) -,p_theme_id=>42 -,p_name=>'TOP_MARGIN' -,p_display_name=>'Top Margin' -,p_display_sequence=>200 -,p_template_types=>'FIELD' -,p_help_text=>'Set the top margin for this field.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17388906046259628) -,p_theme_id=>42 -,p_name=>'ANIMATION' -,p_display_name=>'Animation' -,p_display_sequence=>80 -,p_template_types=>'LIST' -,p_help_text=>'Sets the hover and focus animation.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17389357754259628) -,p_theme_id=>42 -,p_name=>'BADGE_SIZE' -,p_display_name=>'Badge Size' -,p_display_sequence=>70 -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17389765635259628) -,p_theme_id=>42 -,p_name=>'BODY_TEXT' -,p_display_name=>'Body Text' -,p_display_sequence=>40 -,p_template_types=>'LIST' -,p_help_text=>'Determines the height of the card body.' -,p_null_text=>'Auto' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17390125329259629) -,p_theme_id=>42 -,p_name=>'COLLAPSE_STYLE' -,p_display_name=>'Collapse Mode' -,p_display_sequence=>30 -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17390571981259629) -,p_theme_id=>42 -,p_name=>'COLOR_ACCENTS' -,p_display_name=>'Color Accents' -,p_display_sequence=>50 -,p_template_types=>'LIST' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17390919771259629) -,p_theme_id=>42 -,p_name=>'DESKTOP' -,p_display_name=>'Desktop' -,p_display_sequence=>90 -,p_template_types=>'LIST' -,p_help_text=>'Determines the display for a desktop-sized screen' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17391298165259629) -,p_theme_id=>42 -,p_name=>'DISPLAY_ICONS' -,p_display_name=>'Display Icons' -,p_display_sequence=>30 -,p_template_types=>'LIST' -,p_null_text=>'No Icons' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17391710840259629) -,p_theme_id=>42 -,p_name=>'ICONS' -,p_display_name=>'Icons' -,p_display_sequence=>20 -,p_template_types=>'LIST' -,p_null_text=>'No Icons' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17392095892259630) -,p_theme_id=>42 -,p_name=>'ICON_SHAPE' -,p_display_name=>'Icon Shape' -,p_display_sequence=>60 -,p_template_types=>'LIST' -,p_help_text=>'Determines the shape of the icon.' -,p_null_text=>'Circle' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17392579426259630) -,p_theme_id=>42 -,p_name=>'ICON_STYLE' -,p_display_name=>'Icon Style' -,p_display_sequence=>35 -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17392977941259630) -,p_theme_id=>42 -,p_name=>'LABEL_DISPLAY' -,p_display_name=>'Label Display' -,p_display_sequence=>50 -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17393288580259630) -,p_theme_id=>42 -,p_name=>'LAYOUT' -,p_display_name=>'Layout' -,p_display_sequence=>30 -,p_template_types=>'LIST' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17393734153259630) -,p_theme_id=>42 -,p_name=>'MOBILE' -,p_display_name=>'Mobile' -,p_display_sequence=>100 -,p_template_types=>'LIST' -,p_help_text=>'Determines the display for a mobile-sized screen' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17394139812259631) -,p_theme_id=>42 -,p_name=>'SIZE' -,p_display_name=>'Size' -,p_display_sequence=>1 -,p_template_types=>'LIST' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17394570726259631) -,p_theme_id=>42 -,p_name=>'STYLE' -,p_display_name=>'Style' -,p_display_sequence=>10 -,p_template_types=>'LIST' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17394904561259631) -,p_theme_id=>42 -,p_name=>'CONTENT_PADDING' -,p_display_name=>'Content Padding' -,p_display_sequence=>1 -,p_template_types=>'PAGE' -,p_help_text=>'Sets the Content Body padding for the page.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17395314571259631) -,p_theme_id=>42 -,p_name=>'DIALOG_SIZE' -,p_display_name=>'Size' -,p_display_sequence=>1 -,p_template_types=>'PAGE' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17395689769259631) -,p_theme_id=>42 -,p_name=>'DISPLAY_MODE' -,p_display_name=>'Display Mode' -,p_display_sequence=>30 -,p_template_types=>'PAGE' -,p_help_text=>'Determines the default display appearance and positioning of the dialog. The default opens a floating dialog position at the center of the screen.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17396170344259632) -,p_theme_id=>42 -,p_name=>'PAGE_BACKGROUND' -,p_display_name=>'Page Background' -,p_display_sequence=>20 -,p_template_types=>'PAGE' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17396559520259632) -,p_theme_id=>42 -,p_name=>'PAGE_LAYOUT' -,p_display_name=>'Page Layout' -,p_display_sequence=>10 -,p_template_types=>'PAGE' -,p_null_text=>'Floating (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17396979068259632) -,p_theme_id=>42 -,p_name=>'PAGE_POSITION' -,p_display_name=>'Position' -,p_display_sequence=>1 -,p_template_types=>'PAGE' -,p_help_text=>'Sets the position of the page.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17397325142259632) -,p_theme_id=>42 -,p_name=>'ACCENT' -,p_display_name=>'Accent' -,p_display_sequence=>30 -,p_template_types=>'REGION' -,p_help_text=>'Set the Region''s accent. This accent corresponds to a Theme-Rollable color and sets the background of the Region''s Header.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17397786139259632) -,p_theme_id=>42 -,p_name=>'ALERT_DISPLAY' -,p_display_name=>'Alert Display' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Sets the layout of the Alert Region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17398143569259633) -,p_theme_id=>42 -,p_name=>'ALERT_ICONS' -,p_display_name=>'Alert Icons' -,p_display_sequence=>2 -,p_template_types=>'REGION' -,p_help_text=>'Sets how icons are handled for the Alert Region.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17398575123259633) -,p_theme_id=>42 -,p_name=>'ALERT_TITLE' -,p_display_name=>'Alert Title' -,p_display_sequence=>40 -,p_template_types=>'REGION' -,p_help_text=>'Determines how the title of the alert is displayed.' -,p_null_text=>'Visible - Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17398903551259633) -,p_theme_id=>42 -,p_name=>'ALERT_TYPE' -,p_display_name=>'Alert Type' -,p_display_sequence=>3 -,p_template_types=>'REGION' -,p_help_text=>'Sets the type of alert which can be used to determine the icon, icon color, and the background color.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17399376990259633) -,p_theme_id=>42 -,p_name=>'ALIGNMENT' -,p_display_name=>'Alignment' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'This sets the vertical alignment of the region.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17399771991259633) -,p_theme_id=>42 -,p_name=>'ANIMATION' -,p_display_name=>'Animation' -,p_display_sequence=>10 -,p_template_types=>'REGION' -,p_help_text=>'Sets the animation when navigating within the Carousel Region.' -,p_null_text=>'Fade' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17400113950259634) -,p_theme_id=>42 -,p_name=>'BODY_HEIGHT' -,p_display_name=>'Body Height' -,p_display_sequence=>10 -,p_template_types=>'REGION' -,p_help_text=>'Sets the Region Body height. You can also specify a custom height by modifying the Region''s CSS Classes and using the height helper classes "i-hXXX" where XXX is any increment of 10 from 100 to 800.' -,p_null_text=>'Auto - Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17400548485259634) -,p_theme_id=>42 -,p_name=>'BODY_OVERFLOW' -,p_display_name=>'Body Overflow' -,p_display_sequence=>2 -,p_template_types=>'REGION' -,p_help_text=>'Determines the scroll behavior when the region contents are larger than their container.' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17400936746259634) -,p_theme_id=>42 -,p_name=>'BODY_PADDING' -,p_display_name=>'Body Padding' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Sets the Region Body padding for the region.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17401375863259634) -,p_theme_id=>42 -,p_name=>'BODY_STYLE' -,p_display_name=>'Body Style' -,p_display_sequence=>20 -,p_template_types=>'REGION' -,p_help_text=>'Controls the display of the region''s body container.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17401731939259634) -,p_theme_id=>42 -,p_name=>'CALLOUT_POSITION' -,p_display_name=>'Callout Position' -,p_display_sequence=>10 -,p_template_types=>'REGION' -,p_help_text=>'Determines where the callout for the popup will be positioned relative to its parent.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17402124086259635) -,p_theme_id=>42 -,p_name=>'COLLAPSIBLE_BUTTON_ICONS' -,p_display_name=>'Collapsible Button Icons' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Determines which arrows to use to represent the icons for the collapse and expand button.' -,p_null_text=>'Arrows' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17402511376259635) -,p_theme_id=>42 -,p_name=>'COLLAPSIBLE_ICON_POSITION' -,p_display_name=>'Collapsible Icon Position' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Determines the position of the expand and collapse toggle for the region.' -,p_null_text=>'Start' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17402953618259635) -,p_theme_id=>42 -,p_name=>'DEFAULT_STATE' -,p_display_name=>'Default State' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Sets the default state of the region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17403351221259635) -,p_theme_id=>42 -,p_name=>'DIALOG_SIZE' -,p_display_name=>'Size' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17403778179259635) -,p_theme_id=>42 -,p_name=>'DISPLAY_ICON' -,p_display_name=>'Display Icon' -,p_display_sequence=>50 -,p_template_types=>'REGION' -,p_help_text=>'Display the Hero Region icon.' -,p_null_text=>'Yes (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17404103058259636) -,p_theme_id=>42 -,p_name=>'DISPLAY_MODE' -,p_display_name=>'Display Mode' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Determines the default display appearance and positioning of the dialog. The default opens a floating dialog position at the center of the screen.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17404489065259636) -,p_theme_id=>42 -,p_name=>'HEADER' -,p_display_name=>'Header' -,p_display_sequence=>20 -,p_template_types=>'REGION' -,p_help_text=>'Determines the display of the Region Header which also contains the Region Title.' -,p_null_text=>'Visible - Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17404907822259636) -,p_theme_id=>42 -,p_name=>'HEADING_FONT' -,p_display_name=>'Heading Font' -,p_display_sequence=>100 -,p_template_types=>'REGION' -,p_help_text=>'Sets the font-family of the heading for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17405315430259636) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL' -,p_display_name=>'Heading Level' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17405785981259637) -,p_theme_id=>42 -,p_name=>'HIDE_STEPS_FOR' -,p_display_name=>'Hide Steps For' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17406183051259637) -,p_theme_id=>42 -,p_name=>'ICON_SHAPE' -,p_display_name=>'Icon Shape' -,p_display_sequence=>60 -,p_template_types=>'REGION' -,p_help_text=>'Determines the shape of the icon.' -,p_null_text=>'Rounded Corners' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17406516599259637) -,p_theme_id=>42 -,p_name=>'ICON_SIZE' -,p_display_name=>'Icon Size' -,p_display_sequence=>3 -,p_template_types=>'REGION' -,p_null_text=>'Initial' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17406932809259637) -,p_theme_id=>42 -,p_name=>'IMAGE_FILTER' -,p_display_name=>'Filter' -,p_display_sequence=>40 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17407337573259637) -,p_theme_id=>42 -,p_name=>'IMAGE_RATIO' -,p_display_name=>'Ratio' -,p_display_sequence=>10 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17407721917259638) -,p_theme_id=>42 -,p_name=>'IMAGE_SCALE' -,p_display_name=>'Scale' -,p_display_sequence=>20 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17408096697259638) -,p_theme_id=>42 -,p_name=>'IMAGE_SHAPE' -,p_display_name=>'Shape' -,p_display_sequence=>30 -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17408559788259638) -,p_theme_id=>42 -,p_name=>'ITEM_PADDING' -,p_display_name=>'Item Spacing' -,p_display_sequence=>100 -,p_template_types=>'REGION' -,p_help_text=>'Sets the padding around items within this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17408972218259638) -,p_theme_id=>42 -,p_name=>'ITEM_SIZE' -,p_display_name=>'Item Size' -,p_display_sequence=>110 -,p_template_types=>'REGION' -,p_help_text=>'Sets the size of the form items within this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17409335827259639) -,p_theme_id=>42 -,p_name=>'ITEM_WIDTH' -,p_display_name=>'Item Width' -,p_display_sequence=>120 -,p_template_types=>'REGION' -,p_help_text=>'Sets the width of the form items within this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17409716788259639) -,p_theme_id=>42 -,p_name=>'LABEL_ALIGNMENT' -,p_display_name=>'Label Alignment' -,p_display_sequence=>130 -,p_template_types=>'REGION' -,p_help_text=>'Set the label text alignment for items within this region.' -,p_null_text=>'Right' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17410100373259639) -,p_theme_id=>42 -,p_name=>'LABEL_POSITION' -,p_display_name=>'Label Position' -,p_display_sequence=>140 -,p_template_types=>'REGION' -,p_help_text=>'Sets the position of the label relative to the form item.' -,p_null_text=>'Inline - Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17410584107259639) -,p_theme_id=>42 -,p_name=>'LAYOUT' -,p_display_name=>'Layout' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17410975722259639) -,p_theme_id=>42 -,p_name=>'LOGIN_HEADER' -,p_display_name=>'Login Header' -,p_display_sequence=>10 -,p_template_types=>'REGION' -,p_help_text=>'Controls the display of the Login region header.' -,p_null_text=>'Icon and Title (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17411322267259640) -,p_theme_id=>42 -,p_name=>'REGION_BOTTOM_MARGIN' -,p_display_name=>'Bottom Margin' -,p_display_sequence=>210 -,p_template_types=>'REGION' -,p_help_text=>'Set the bottom margin for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17411717318259640) -,p_theme_id=>42 -,p_name=>'REGION_LEFT_MARGIN' -,p_display_name=>'Left Margin' -,p_display_sequence=>220 -,p_template_types=>'REGION' -,p_help_text=>'Set the left margin for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17412166004259640) -,p_theme_id=>42 -,p_name=>'REGION_POSITION' -,p_display_name=>'Position' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Sets the position of the region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17412488380259640) -,p_theme_id=>42 -,p_name=>'REGION_RIGHT_MARGIN' -,p_display_name=>'Right Margin' -,p_display_sequence=>230 -,p_template_types=>'REGION' -,p_help_text=>'Set the right margin for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17412956168259641) -,p_theme_id=>42 -,p_name=>'REGION_TITLE' -,p_display_name=>'Region Title' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_help_text=>'Sets the source of the Title Bar region''s title.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17413348323259641) -,p_theme_id=>42 -,p_name=>'REGION_TOP_MARGIN' -,p_display_name=>'Top Margin' -,p_display_sequence=>200 -,p_template_types=>'REGION' -,p_help_text=>'Set the top margin for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17413734186259641) -,p_theme_id=>42 -,p_name=>'RESULT_APPEARANCE' -,p_display_name=>'Result Appearance' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17414162660259642) -,p_theme_id=>42 -,p_name=>'RESULT_SEPARATOR' -,p_display_name=>'Result Separator' -,p_display_sequence=>2 -,p_template_types=>'REGION' -,p_null_text=>'Show' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17414575542259642) -,p_theme_id=>42 -,p_name=>'STYLE' -,p_display_name=>'Style' -,p_display_sequence=>40 -,p_template_types=>'REGION' -,p_help_text=>'Determines how the region is styled. Use the "Remove Borders" template option to remove the region''s borders and shadows.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17414927039259642) -,p_theme_id=>42 -,p_name=>'TABS_SIZE' -,p_display_name=>'Tabs Size' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17415376698259642) -,p_theme_id=>42 -,p_name=>'TAB_STYLE' -,p_display_name=>'Tab Style' -,p_display_sequence=>1 -,p_template_types=>'REGION' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17415772833259642) -,p_theme_id=>42 -,p_name=>'TIMER' -,p_display_name=>'Timer' -,p_display_sequence=>2 -,p_template_types=>'REGION' -,p_help_text=>'Sets the timer for when to automatically navigate to the next region within the Carousel Region.' -,p_null_text=>'No Timer' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17416090381259642) -,p_theme_id=>42 -,p_name=>'ALTERNATING_ROWS' -,p_display_name=>'Alternating Rows' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_help_text=>'Shades alternate rows in the report with slightly different background colors.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17416526110259643) -,p_theme_id=>42 -,p_name=>'ANIMATION' -,p_display_name=>'Animation' -,p_display_sequence=>70 -,p_template_types=>'REPORT' -,p_help_text=>'Sets the hover and focus animation.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17416958013259643) -,p_theme_id=>42 -,p_name=>'BADGE_SIZE' -,p_display_name=>'Badge Size' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17417344635259643) -,p_theme_id=>42 -,p_name=>'BODY_TEXT' -,p_display_name=>'Body Text' -,p_display_sequence=>40 -,p_template_types=>'REPORT' -,p_help_text=>'Determines the height of the card body.' -,p_null_text=>'Auto' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17417773776259643) -,p_theme_id=>42 -,p_name=>'COLOR_ACCENTS' -,p_display_name=>'Color Accents' -,p_display_sequence=>50 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17418146752259644) -,p_theme_id=>42 -,p_name=>'COL_ACTIONS' -,p_display_name=>'Actions' -,p_display_sequence=>150 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17418489393259644) -,p_theme_id=>42 -,p_name=>'COL_CONTENT_DESCRIPTION' -,p_display_name=>'Description' -,p_display_sequence=>130 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17418945941259644) -,p_theme_id=>42 -,p_name=>'COL_CONTENT_TITLE' -,p_display_name=>'Title' -,p_display_sequence=>120 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17419295855259644) -,p_theme_id=>42 -,p_name=>'COL_ICON' -,p_display_name=>'Icon' -,p_display_sequence=>110 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17419714381259644) -,p_theme_id=>42 -,p_name=>'COL_MISC' -,p_display_name=>'Misc' -,p_display_sequence=>140 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17420155552259645) -,p_theme_id=>42 -,p_name=>'COL_SELECTION' -,p_display_name=>'Selection' -,p_display_sequence=>100 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17420558699259645) -,p_theme_id=>42 -,p_name=>'COMMENTS_STYLE' -,p_display_name=>'Comments Style' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_help_text=>'Determines the style in which comments are displayed.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17420975437259645) -,p_theme_id=>42 -,p_name=>'CONTENT_ALIGNMENT' -,p_display_name=>'Content Alignment' -,p_display_sequence=>90 -,p_template_types=>'REPORT' -,p_null_text=>'Center (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17421351298259645) -,p_theme_id=>42 -,p_name=>'DISPLAY_ITEMS' -,p_display_name=>'Display Items' -,p_display_sequence=>20 -,p_template_types=>'REPORT' -,p_null_text=>'Inline (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17421786111259645) -,p_theme_id=>42 -,p_name=>'DISPLAY_LABELS' -,p_display_name=>'Display Labels' -,p_display_sequence=>30 -,p_template_types=>'REPORT' -,p_null_text=>'Inline (Default)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17422095818259646) -,p_theme_id=>42 -,p_name=>'ICONS' -,p_display_name=>'Icons' -,p_display_sequence=>20 -,p_template_types=>'REPORT' -,p_help_text=>'Controls how to handle icons in the report.' -,p_null_text=>'No Icons' -,p_is_advanced=>'N' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17422524088259646) -,p_theme_id=>42 -,p_name=>'ICON_SHAPE' -,p_display_name=>'Icon Shape' -,p_display_sequence=>60 -,p_template_types=>'REPORT' -,p_help_text=>'Determines the shape of the icon.' -,p_null_text=>'Circle' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17422906088259646) -,p_theme_id=>42 -,p_name=>'LABEL_WIDTH' -,p_display_name=>'Label Width' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17423293258259646) -,p_theme_id=>42 -,p_name=>'LAYOUT' -,p_display_name=>'Layout' -,p_display_sequence=>30 -,p_template_types=>'REPORT' -,p_help_text=>'Determines the layout of Cards in the report.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17423751307259646) -,p_theme_id=>42 -,p_name=>'PAGINATION_DISPLAY' -,p_display_name=>'Pagination Display' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_help_text=>'Controls the display of pagination for this region.' -,p_null_text=>'Default' -,p_is_advanced=>'Y' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17424106316259647) -,p_theme_id=>42 -,p_name=>'REPORT_BORDER' -,p_display_name=>'Report Border' -,p_display_sequence=>30 -,p_template_types=>'REPORT' -,p_help_text=>'Controls the display of the Report''s borders.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17424528922259647) -,p_theme_id=>42 -,p_name=>'ROW_HIGHLIGHTING' -,p_display_name=>'Row Highlighting' -,p_display_sequence=>20 -,p_template_types=>'REPORT' -,p_help_text=>'Determines whether you want the row to be highlighted on hover.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17424921150259647) -,p_theme_id=>42 -,p_name=>'SIZE' -,p_display_name=>'Size' -,p_display_sequence=>35 -,p_template_types=>'REPORT' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_opt_group( - p_id=>wwv_flow_imp.id(17425321303259647) -,p_theme_id=>42 -,p_name=>'STYLE' -,p_display_name=>'Style' -,p_display_sequence=>10 -,p_template_types=>'REPORT' -,p_help_text=>'Determines the overall style for the component.' -,p_null_text=>'Default' -,p_is_advanced=>'N' -); -end; -/ -prompt --application/shared_components/user_interface/template_options -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17449745930259667) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL_H1' -,p_display_name=>'H1' -,p_display_sequence=>10 -,p_css_classes=>'js-headingLevel-1' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H1' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17450439487259668) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL_H2' -,p_display_name=>'H2' -,p_display_sequence=>20 -,p_css_classes=>'js-headingLevel-2' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H2' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17451090046259668) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL_H3' -,p_display_name=>'H3' -,p_display_sequence=>30 -,p_css_classes=>'js-headingLevel-3' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H3' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17451847063259669) -,p_theme_id=>42 -,p_name=>'H4' -,p_display_name=>'H4' -,p_display_sequence=>40 -,p_css_classes=>'js-headingLevel-4' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H4' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17452492917259669) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL_H5' -,p_display_name=>'H5' -,p_display_sequence=>50 -,p_css_classes=>'js-headingLevel-5' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H5' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17453270402259670) -,p_theme_id=>42 -,p_name=>'HEADING_LEVEL_H6' -,p_display_name=>'H6' -,p_display_sequence=>60 -,p_css_classes=>'js-headingLevel-6' -,p_group_id=>wwv_flow_imp.id(17405315430259636) -,p_template_types=>'REGION' -,p_help_text=>'H6' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17453941479259673) -,p_theme_id=>42 -,p_name=>'FBM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-bottom-lg' -,p_group_id=>wwv_flow_imp.id(17384528126259626) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a large bottom margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17454686986259673) -,p_theme_id=>42 -,p_name=>'RBM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-bottom-lg' -,p_group_id=>wwv_flow_imp.id(17411322267259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a large bottom margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17455367634259673) -,p_theme_id=>42 -,p_name=>'FBM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-bottom-md' -,p_group_id=>wwv_flow_imp.id(17384528126259626) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a medium bottom margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17456065497259674) -,p_theme_id=>42 -,p_name=>'RBM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-bottom-md' -,p_group_id=>wwv_flow_imp.id(17411322267259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a medium bottom margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17456714142259674) -,p_theme_id=>42 -,p_name=>'FBM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-bottom-none' -,p_group_id=>wwv_flow_imp.id(17384528126259626) -,p_template_types=>'FIELD' -,p_help_text=>'Removes the bottom margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17457421089259675) -,p_theme_id=>42 -,p_name=>'RBM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-bottom-none' -,p_group_id=>wwv_flow_imp.id(17411322267259640) -,p_template_types=>'REGION' -,p_help_text=>'Removes the bottom margin for this region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17458123721259675) -,p_theme_id=>42 -,p_name=>'FBM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-bottom-sm' -,p_group_id=>wwv_flow_imp.id(17384528126259626) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a small bottom margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17458854481259675) -,p_theme_id=>42 -,p_name=>'RBM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-bottom-sm' -,p_group_id=>wwv_flow_imp.id(17411322267259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a small bottom margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17459497926259676) -,p_theme_id=>42 -,p_name=>'FLM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-left-lg' -,p_group_id=>wwv_flow_imp.id(17386162301259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a large left margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17460251156259676) -,p_theme_id=>42 -,p_name=>'RLM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-left-lg' -,p_group_id=>wwv_flow_imp.id(17411717318259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a large right margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17460923541259677) -,p_theme_id=>42 -,p_name=>'FLM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-left-md' -,p_group_id=>wwv_flow_imp.id(17386162301259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a medium left margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17461603864259677) -,p_theme_id=>42 -,p_name=>'RLM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-left-md' -,p_group_id=>wwv_flow_imp.id(17411717318259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a medium right margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17462358729259678) -,p_theme_id=>42 -,p_name=>'FLM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-left-none' -,p_group_id=>wwv_flow_imp.id(17386162301259627) -,p_template_types=>'FIELD' -,p_help_text=>'Removes the left margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17463012573259678) -,p_theme_id=>42 -,p_name=>'RLM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-left-none' -,p_group_id=>wwv_flow_imp.id(17411717318259640) -,p_template_types=>'REGION' -,p_help_text=>'Removes the left margin from the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17463753511259678) -,p_theme_id=>42 -,p_name=>'FLM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-left-sm' -,p_group_id=>wwv_flow_imp.id(17386162301259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a small left margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17464485377259679) -,p_theme_id=>42 -,p_name=>'RLM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-left-sm' -,p_group_id=>wwv_flow_imp.id(17411717318259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a small left margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17465180602259679) -,p_theme_id=>42 -,p_name=>'FRM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-right-lg' -,p_group_id=>wwv_flow_imp.id(17387761551259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a large right margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17465838162259680) -,p_theme_id=>42 -,p_name=>'RRM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-right-lg' -,p_group_id=>wwv_flow_imp.id(17412488380259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a large right margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17466584079259680) -,p_theme_id=>42 -,p_name=>'FRM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-right-md' -,p_group_id=>wwv_flow_imp.id(17387761551259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a medium right margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17467195239259681) -,p_theme_id=>42 -,p_name=>'RRM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-right-md' -,p_group_id=>wwv_flow_imp.id(17412488380259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a medium right margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17467952197259681) -,p_theme_id=>42 -,p_name=>'FRM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-right-none' -,p_group_id=>wwv_flow_imp.id(17387761551259627) -,p_template_types=>'FIELD' -,p_help_text=>'Removes the right margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17468663073259682) -,p_theme_id=>42 -,p_name=>'RRM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-right-none' -,p_group_id=>wwv_flow_imp.id(17412488380259640) -,p_template_types=>'REGION' -,p_help_text=>'Removes the right margin from the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17469296154259682) -,p_theme_id=>42 -,p_name=>'FRM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-right-sm' -,p_group_id=>wwv_flow_imp.id(17387761551259627) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a small right margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17469988247259682) -,p_theme_id=>42 -,p_name=>'RRM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-right-sm' -,p_group_id=>wwv_flow_imp.id(17412488380259640) -,p_template_types=>'REGION' -,p_help_text=>'Adds a small right margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17470702444259683) -,p_theme_id=>42 -,p_name=>'FTM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-top-lg' -,p_group_id=>wwv_flow_imp.id(17388502818259628) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a large top margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17471478261259683) -,p_theme_id=>42 -,p_name=>'RTM_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>40 -,p_css_classes=>'margin-top-lg' -,p_group_id=>wwv_flow_imp.id(17413348323259641) -,p_template_types=>'REGION' -,p_help_text=>'Adds a large top margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17472151812259684) -,p_theme_id=>42 -,p_name=>'FTM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-top-md' -,p_group_id=>wwv_flow_imp.id(17388502818259628) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a medium top margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17472801829259684) -,p_theme_id=>42 -,p_name=>'RTM_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>30 -,p_css_classes=>'margin-top-md' -,p_group_id=>wwv_flow_imp.id(17413348323259641) -,p_template_types=>'REGION' -,p_help_text=>'Adds a medium top margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17473578429259684) -,p_theme_id=>42 -,p_name=>'FTM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-top-none' -,p_group_id=>wwv_flow_imp.id(17388502818259628) -,p_template_types=>'FIELD' -,p_help_text=>'Removes the top margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17474209482259685) -,p_theme_id=>42 -,p_name=>'RTM_NONE' -,p_display_name=>'None' -,p_display_sequence=>10 -,p_css_classes=>'margin-top-none' -,p_group_id=>wwv_flow_imp.id(17413348323259641) -,p_template_types=>'REGION' -,p_help_text=>'Removes the top margin for this region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17474941631259685) -,p_theme_id=>42 -,p_name=>'FTM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-top-sm' -,p_group_id=>wwv_flow_imp.id(17388502818259628) -,p_template_types=>'FIELD' -,p_help_text=>'Adds a small top margin for this field.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17475593495259686) -,p_theme_id=>42 -,p_name=>'RTM_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'margin-top-sm' -,p_group_id=>wwv_flow_imp.id(17413348323259641) -,p_template_types=>'REGION' -,p_help_text=>'Adds a small top margin to the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17476306219259686) -,p_theme_id=>42 -,p_name=>'DANGER' -,p_display_name=>'Danger' -,p_display_sequence=>30 -,p_css_classes=>'t-Button--danger' -,p_group_id=>wwv_flow_imp.id(17383700782259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17477036311259687) -,p_theme_id=>42 -,p_name=>'LARGEBOTTOMMARGIN' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--gapBottom' -,p_group_id=>wwv_flow_imp.id(17381695497259625) -,p_template_types=>'BUTTON' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17477737459259687) -,p_theme_id=>42 -,p_name=>'LARGELEFTMARGIN' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--gapLeft' -,p_group_id=>wwv_flow_imp.id(17382089031259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17478446403259688) -,p_theme_id=>42 -,p_name=>'LARGERIGHTMARGIN' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--gapRight' -,p_group_id=>wwv_flow_imp.id(17382535237259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17479160271259688) -,p_theme_id=>42 -,p_name=>'LARGETOPMARGIN' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--gapTop' -,p_group_id=>wwv_flow_imp.id(17382940849259625) -,p_template_types=>'BUTTON' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17479887803259688) -,p_theme_id=>42 -,p_name=>'LARGE' -,p_display_name=>'Large' -,p_display_sequence=>30 -,p_css_classes=>'t-Button--large' -,p_group_id=>wwv_flow_imp.id(17381316096259624) -,p_template_types=>'BUTTON' -,p_help_text=>'A large button.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17480555470259689) -,p_theme_id=>42 -,p_name=>'DISPLAY_AS_LINK' -,p_display_name=>'Display as Link' -,p_display_sequence=>30 -,p_css_classes=>'t-Button--link' -,p_group_id=>wwv_flow_imp.id(17383297441259625) -,p_template_types=>'BUTTON' -,p_help_text=>'This option makes the button appear as a text link.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17481233805259690) -,p_theme_id=>42 -,p_name=>'NOUI' -,p_display_name=>'Remove UI Decoration' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--noUI' -,p_group_id=>wwv_flow_imp.id(17383297441259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17481961016259690) -,p_theme_id=>42 -,p_name=>'SMALLBOTTOMMARGIN' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--padBottom' -,p_group_id=>wwv_flow_imp.id(17381695497259625) -,p_template_types=>'BUTTON' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17482643395259691) -,p_theme_id=>42 -,p_name=>'SMALLLEFTMARGIN' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--padLeft' -,p_group_id=>wwv_flow_imp.id(17382089031259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17483338238259691) -,p_theme_id=>42 -,p_name=>'SMALLRIGHTMARGIN' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--padRight' -,p_group_id=>wwv_flow_imp.id(17382535237259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17484075522259691) -,p_theme_id=>42 -,p_name=>'SMALLTOPMARGIN' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--padTop' -,p_group_id=>wwv_flow_imp.id(17382940849259625) -,p_template_types=>'BUTTON' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17484616875259692) -,p_theme_id=>42 -,p_name=>'PILL' -,p_display_name=>'Inner Button' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--pill' -,p_group_id=>wwv_flow_imp.id(17380179017259624) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17485295411259692) -,p_theme_id=>42 -,p_name=>'PILLEND' -,p_display_name=>'Last Button' -,p_display_sequence=>30 -,p_css_classes=>'t-Button--pillEnd' -,p_group_id=>wwv_flow_imp.id(17380179017259624) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17486048185259693) -,p_theme_id=>42 -,p_name=>'PILLSTART' -,p_display_name=>'First Button' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--pillStart' -,p_group_id=>wwv_flow_imp.id(17380179017259624) -,p_template_types=>'BUTTON' -,p_help_text=>'Use this for the start of a pill button.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17486731093259693) -,p_theme_id=>42 -,p_name=>'PRIMARY' -,p_display_name=>'Primary' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--primary' -,p_group_id=>wwv_flow_imp.id(17383700782259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17487453971259693) -,p_theme_id=>42 -,p_name=>'SIMPLE' -,p_display_name=>'Simple' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--simple' -,p_group_id=>wwv_flow_imp.id(17383297441259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17488177886259694) -,p_theme_id=>42 -,p_name=>'SMALL' -,p_display_name=>'Small' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--small' -,p_group_id=>wwv_flow_imp.id(17381316096259624) -,p_template_types=>'BUTTON' -,p_help_text=>'A small button.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17488792605259694) -,p_theme_id=>42 -,p_name=>'STRETCH' -,p_display_name=>'Stretch' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--stretch' -,p_group_id=>wwv_flow_imp.id(17384143976259626) -,p_template_types=>'BUTTON' -,p_help_text=>'Stretches button to fill container' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17489550584259695) -,p_theme_id=>42 -,p_name=>'SUCCESS' -,p_display_name=>'Success' -,p_display_sequence=>40 -,p_css_classes=>'t-Button--success' -,p_group_id=>wwv_flow_imp.id(17383700782259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17490244959259695) -,p_theme_id=>42 -,p_name=>'TINY' -,p_display_name=>'Tiny' -,p_display_sequence=>10 -,p_css_classes=>'t-Button--tiny' -,p_group_id=>wwv_flow_imp.id(17381316096259624) -,p_template_types=>'BUTTON' -,p_help_text=>'A very small button.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17490911070259695) -,p_theme_id=>42 -,p_name=>'WARNING' -,p_display_name=>'Warning' -,p_display_sequence=>20 -,p_css_classes=>'t-Button--warning' -,p_group_id=>wwv_flow_imp.id(17383700782259625) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17491360093259696) -,p_theme_id=>42 -,p_name=>'DEFERRED_PAGE_RENDERING' -,p_display_name=>'Deferred Page Rendering' -,p_display_sequence=>1 -,p_css_classes=>'t-DeferredRendering' -,p_template_types=>'PAGE' -,p_help_text=>'Defer page rendering until all page components have finished loading.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17492035928259696) -,p_theme_id=>42 -,p_name=>'SHOWFORMLABELSABOVE' -,p_display_name=>'Show Form Labels Above' -,p_display_sequence=>10 -,p_css_classes=>'t-Form--labelsAbove' -,p_group_id=>wwv_flow_imp.id(17410100373259639) -,p_template_types=>'REGION' -,p_help_text=>'Show form labels above input fields.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17492764449259697) -,p_theme_id=>42 -,p_name=>'FORMSIZELARGE' -,p_display_name=>'Large' -,p_display_sequence=>10 -,p_css_classes=>'t-Form--large' -,p_group_id=>wwv_flow_imp.id(17408972218259638) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17493469688259697) -,p_theme_id=>42 -,p_name=>'FORMLEFTLABELS' -,p_display_name=>'Left' -,p_display_sequence=>20 -,p_css_classes=>'t-Form--leftLabels' -,p_group_id=>wwv_flow_imp.id(17409716788259639) -,p_template_types=>'REGION' -,p_help_text=>'Align form labels to left.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17494090268259697) -,p_theme_id=>42 -,p_name=>'FORMREMOVEPADDING' -,p_display_name=>'None' -,p_display_sequence=>20 -,p_css_classes=>'t-Form--noPadding' -,p_group_id=>wwv_flow_imp.id(17408559788259638) -,p_template_types=>'REGION' -,p_help_text=>'Removes spacing between items.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17494870518259698) -,p_theme_id=>42 -,p_name=>'FORMSLIMPADDING' -,p_display_name=>'Slim' -,p_display_sequence=>10 -,p_css_classes=>'t-Form--slimPadding' -,p_group_id=>wwv_flow_imp.id(17408559788259638) -,p_template_types=>'REGION' -,p_help_text=>'Reduces form item spacing.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17495536169259698) -,p_theme_id=>42 -,p_name=>'FORMSTANDARDPADDING' -,p_display_name=>'Standard' -,p_display_sequence=>5 -,p_css_classes=>'t-Form--standardPadding' -,p_group_id=>wwv_flow_imp.id(17408559788259638) -,p_template_types=>'REGION' -,p_help_text=>'Uses the standard spacing between items.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17496224464259699) -,p_theme_id=>42 -,p_name=>'STRETCH_FORM_FIELDS' -,p_display_name=>'Stretch Form Fields' -,p_display_sequence=>10 -,p_css_classes=>'t-Form--stretchInputs' -,p_group_id=>wwv_flow_imp.id(17409335827259639) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17496911788259699) -,p_theme_id=>42 -,p_name=>'FORMSIZEXLARGE' -,p_display_name=>'X Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Form--xlarge' -,p_group_id=>wwv_flow_imp.id(17408972218259638) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17497598353259700) -,p_theme_id=>42 -,p_name=>'DISPLAY_TEXT_STYLE_BOLD' -,p_display_name=>'Bold' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--boldDisplay' -,p_group_id=>wwv_flow_imp.id(17384911217259626) -,p_template_types=>'FIELD' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17498357493259700) -,p_theme_id=>42 -,p_name=>'LARGE_FIELD' -,p_display_name=>'Large' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--large' -,p_group_id=>wwv_flow_imp.id(17388113992259628) -,p_template_types=>'FIELD' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17499082482259701) -,p_theme_id=>42 -,p_name=>'DISPLAY_TEXT_STYLE_NORMAL' -,p_display_name=>'Normal' -,p_display_sequence=>20 -,p_css_classes=>'t-Form-fieldContainer--normalDisplay' -,p_group_id=>wwv_flow_imp.id(17384911217259626) -,p_template_types=>'FIELD' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17499729723259701) -,p_theme_id=>42 -,p_name=>'POST_TEXT_BLOCK' -,p_display_name=>'Display as Block' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--postTextBlock' -,p_group_id=>wwv_flow_imp.id(17385344315259626) -,p_template_types=>'FIELD' -,p_help_text=>'Displays the Item Post Text in a block style immediately after the item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17500482360259701) -,p_theme_id=>42 -,p_name=>'PRE_TEXT_BLOCK' -,p_display_name=>'Display as Block' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--preTextBlock' -,p_group_id=>wwv_flow_imp.id(17385700628259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays the Item Pre Text in a block style immediately before the item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17501094076259702) -,p_theme_id=>42 -,p_name=>'DISPLAY_AS_PILL_BUTTON' -,p_display_name=>'Display as Pill Button' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--radioButtonGroup' -,p_group_id=>wwv_flow_imp.id(17386888862259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays the radio buttons to look like a button set / pill button. Note that the the radio buttons must all be in the same row for this option to work.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17501553598259702) -,p_theme_id=>42 -,p_name=>'STRETCH_FORM_ITEM' -,p_display_name=>'Stretch Form Item' -,p_display_sequence=>10 -,p_css_classes=>'t-Form-fieldContainer--stretchInputs' -,p_template_types=>'FIELD' -,p_help_text=>'Stretches the form item to fill its container.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17502257294259703) -,p_theme_id=>42 -,p_name=>'X_LARGE_SIZE' -,p_display_name=>'X Large' -,p_display_sequence=>20 -,p_css_classes=>'t-Form-fieldContainer--xlarge' -,p_group_id=>wwv_flow_imp.id(17388113992259628) -,p_template_types=>'FIELD' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17502937720259703) -,p_theme_id=>42 -,p_name=>'REMOVE_PADDING' -,p_display_name=>'Remove Padding' -,p_display_sequence=>1 -,p_css_classes=>'t-PageBody--noContentPadding' -,p_group_id=>wwv_flow_imp.id(17394904561259631) -,p_template_types=>'PAGE' -,p_help_text=>'Removes padding from the content region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(17503659098259704) -,p_theme_id=>42 -,p_name=>'HIDE_WHEN_ALL_ROWS_DISPLAYED' -,p_display_name=>'Hide when all rows displayed' -,p_display_sequence=>10 -,p_css_classes=>'t-Report--hideNoPagination' -,p_group_id=>wwv_flow_imp.id(17423751307259646) -,p_template_types=>'REPORT' -,p_help_text=>'This option will hide the pagination when all rows are displayed.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26479548164726622) -,p_theme_id=>42 -,p_name=>'ACCENT_6' -,p_display_name=>'Accent 6' -,p_display_sequence=>60 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent6' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26480227930726622) -,p_theme_id=>42 -,p_name=>'ACCENT_7' -,p_display_name=>'Accent 7' -,p_display_sequence=>70 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent7' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26481000645726622) -,p_theme_id=>42 -,p_name=>'ACCENT_8' -,p_display_name=>'Accent 8' -,p_display_sequence=>80 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent8' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26481616220726623) -,p_theme_id=>42 -,p_name=>'ACCENT_9' -,p_display_name=>'Accent 9' -,p_display_sequence=>90 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent9' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26482390652726623) -,p_theme_id=>42 -,p_name=>'ACCENT_10' -,p_display_name=>'Accent 10' -,p_display_sequence=>100 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent10' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26483091813726623) -,p_theme_id=>42 -,p_name=>'ACCENT_11' -,p_display_name=>'Accent 11' -,p_display_sequence=>110 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent11' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26483791489726624) -,p_theme_id=>42 -,p_name=>'ACCENT_12' -,p_display_name=>'Accent 12' -,p_display_sequence=>120 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent12' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26484460908726624) -,p_theme_id=>42 -,p_name=>'ACCENT_13' -,p_display_name=>'Accent 13' -,p_display_sequence=>130 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent13' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26485188036726624) -,p_theme_id=>42 -,p_name=>'ACCENT_14' -,p_display_name=>'Accent 14' -,p_display_sequence=>140 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent14' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26485867102726625) -,p_theme_id=>42 -,p_name=>'ACCENT_15' -,p_display_name=>'Accent 15' -,p_display_sequence=>150 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent15' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26504226790726636) -,p_theme_id=>42 -,p_name=>'HEADING_FONT_ALTERNATIVE' -,p_display_name=>'Alternative' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--headingFontAlt' -,p_group_id=>wwv_flow_imp.id(17404907822259636) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26510377605726639) -,p_theme_id=>42 -,p_name=>'HEADING_FONT_ALTERNATIVE' -,p_display_name=>'Alternative' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--headingFontAlt' -,p_group_id=>wwv_flow_imp.id(17404907822259636) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26578515153726688) -,p_theme_id=>42 -,p_name=>'HEADING_FONT_ALTERNATIVE' -,p_display_name=>'Alternative' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26692736997953960) -,p_css_classes=>'t-BreadcrumbRegion--headingFontAlt' -,p_group_id=>wwv_flow_imp.id(17404907822259636) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26636567072953882) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26633894152953835) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26639618063953887) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26636702259953885) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26643546717953891) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26640535484953888) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26646037594953892) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26643645278953891) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26647336490953893) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(26646158128953892) -,p_css_classes=>'t-Dialog--noPadding' -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26647556014953893) -,p_theme_id=>42 -,p_name=>'STRETCH_TO_FIT_WINDOW' -,p_display_name=>'Stretch to Fit Window' -,p_display_sequence=>1 -,p_page_template_id=>wwv_flow_imp.id(26646158128953892) -,p_css_classes=>'ui-dialog--stretch' -,p_template_types=>'PAGE' -,p_help_text=>'Stretch the dialog to fit the browser window.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26650403471953895) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26647643590953893) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26652882513953896) -,p_theme_id=>42 -,p_name=>'STICKY_HEADER_ON_MOBILE' -,p_display_name=>'Sticky Header on Mobile' -,p_display_sequence=>100 -,p_page_template_id=>wwv_flow_imp.id(26650505737953895) -,p_css_classes=>'js-pageStickyMobileHeader' -,p_template_types=>'PAGE' -,p_help_text=>'This will position the contents of the Breadcrumb Bar region position so it sticks to the top of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26654117592953903) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(26652920992953896) -,p_css_classes=>'t-Dialog--noPadding' -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26654357519953903) -,p_theme_id=>42 -,p_name=>'STRETCH_TO_FIT_WINDOW' -,p_display_name=>'Stretch to Fit Window' -,p_display_sequence=>10 -,p_page_template_id=>wwv_flow_imp.id(26652920992953896) -,p_css_classes=>'ui-dialog--stretch' -,p_template_types=>'PAGE' -,p_help_text=>'Stretch the dialog to fit the browser window.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26655285435953920) -,p_theme_id=>42 -,p_name=>'WARNING' -,p_display_name=>'Warning' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--warning' -,p_group_id=>wwv_flow_imp.id(17398903551259633) -,p_template_types=>'REGION' -,p_help_text=>'Show a warning alert.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26655473565953920) -,p_theme_id=>42 -,p_name=>'SUCCESS' -,p_display_name=>'Success' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--success' -,p_group_id=>wwv_flow_imp.id(17398903551259633) -,p_template_types=>'REGION' -,p_help_text=>'Show success alert.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26655669373953920) -,p_theme_id=>42 -,p_name=>'DANGER' -,p_display_name=>'Danger' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--danger' -,p_group_id=>wwv_flow_imp.id(17398903551259633) -,p_template_types=>'REGION' -,p_help_text=>'Show an error or danger alert.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26655889417953921) -,p_theme_id=>42 -,p_name=>'COLOREDBACKGROUND' -,p_display_name=>'Highlight Background' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--colorBG' -,p_template_types=>'REGION' -,p_help_text=>'Set alert background color to that of the alert type (warning, success, etc.)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26656077222953921) -,p_theme_id=>42 -,p_name=>'INFORMATION' -,p_display_name=>'Information' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--info' -,p_group_id=>wwv_flow_imp.id(17398903551259633) -,p_template_types=>'REGION' -,p_help_text=>'Show informational alert.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26656496537953921) -,p_theme_id=>42 -,p_name=>'USEDEFAULTICONS' -,p_display_name=>'Show Default Icons' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--defaultIcons' -,p_group_id=>wwv_flow_imp.id(17398143569259633) -,p_template_types=>'REGION' -,p_help_text=>'Uses default icons for alert types.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26656820283953921) -,p_theme_id=>42 -,p_name=>'HIDDENHEADERNOAT' -,p_display_name=>'Hidden' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--removeHeading js-removeLandmark' -,p_group_id=>wwv_flow_imp.id(17398575123259633) -,p_template_types=>'REGION' -,p_help_text=>'Hides the Alert Title from being displayed.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26657070905953922) -,p_theme_id=>42 -,p_name=>'HIDDENHEADER' -,p_display_name=>'Hidden but Accessible' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--accessibleHeading' -,p_group_id=>wwv_flow_imp.id(17398575123259633) -,p_template_types=>'REGION' -,p_help_text=>'Visually hides the alert title, but assistive technologies can still read it.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26657439164953922) -,p_theme_id=>42 -,p_name=>'WIZARD' -,p_display_name=>'Wizard' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--wizard' -,p_group_id=>wwv_flow_imp.id(17397786139259632) -,p_template_types=>'REGION' -,p_help_text=>'Show the alert in a wizard style region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26657676215953922) -,p_theme_id=>42 -,p_name=>'HORIZONTAL' -,p_display_name=>'Horizontal' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--horizontal' -,p_group_id=>wwv_flow_imp.id(17397786139259632) -,p_template_types=>'REGION' -,p_help_text=>'Show horizontal alert with buttons to the right.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26657845371953922) -,p_theme_id=>42 -,p_name=>'HIDE_ICONS' -,p_display_name=>'Hide Icons' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--noIcon' -,p_group_id=>wwv_flow_imp.id(17398143569259633) -,p_template_types=>'REGION' -,p_help_text=>'Hides alert icons' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26658023588953922) -,p_theme_id=>42 -,p_name=>'SHOW_CUSTOM_ICONS' -,p_display_name=>'Show Custom Icons' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26654418278953904) -,p_css_classes=>'t-Alert--customIcons' -,p_group_id=>wwv_flow_imp.id(17398143569259633) -,p_template_types=>'REGION' -,p_help_text=>'Set custom icons by modifying the Alert Region''s Icon CSS Classes property.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26660297769953924) -,p_theme_id=>42 -,p_name=>'REMOVEUIDECORATION' -,p_display_name=>'Remove UI Decoration' -,p_display_sequence=>4 -,p_region_template_id=>wwv_flow_imp.id(26659138683953923) -,p_css_classes=>'t-ButtonRegion--noUI' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26660421365953924) -,p_theme_id=>42 -,p_name=>'BORDERLESS' -,p_display_name=>'Borderless' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26659138683953923) -,p_css_classes=>'t-ButtonRegion--noBorder' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26660843750953924) -,p_theme_id=>42 -,p_name=>'SLIMPADDING' -,p_display_name=>'Slim Padding' -,p_display_sequence=>5 -,p_region_template_id=>wwv_flow_imp.id(26659138683953923) -,p_css_classes=>'t-ButtonRegion--slimPadding' -,p_group_id=>wwv_flow_imp.id(17400936746259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26661068851953925) -,p_theme_id=>42 -,p_name=>'NOPADDING' -,p_display_name=>'No Padding' -,p_display_sequence=>3 -,p_region_template_id=>wwv_flow_imp.id(26659138683953923) -,p_css_classes=>'t-ButtonRegion--noPadding' -,p_group_id=>wwv_flow_imp.id(17400936746259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26661244232953925) -,p_theme_id=>42 -,p_name=>'STICK_TO_BOTTOM' -,p_display_name=>'Stick to Bottom for Mobile' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26659138683953923) -,p_css_classes=>'t-ButtonRegion--stickToBottom' -,p_template_types=>'REGION' -,p_help_text=>'This will position the button container region to the bottom of the screen for small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26662213010953926) -,p_theme_id=>42 -,p_name=>'SHOW_REGION_ICON' -,p_display_name=>'Show Region Icon' -,p_display_sequence=>50 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--showIcon' -,p_template_types=>'REGION' -,p_help_text=>'Displays the region icon in the region header beside the region title' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26662493274953926) -,p_theme_id=>42 -,p_name=>'NOBORDER' -,p_display_name=>'Remove Borders' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--noBorder' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes borders from the region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26662642508953926) -,p_theme_id=>42 -,p_name=>'REMEMBER_CAROUSEL_SLIDE' -,p_display_name=>'Remember Carousel Slide' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-useLocalStorage' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26663098152953926) -,p_theme_id=>42 -,p_name=>'SCROLLBODY' -,p_display_name=>'Scroll' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--scrollBody' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26663496967953927) -,p_theme_id=>42 -,p_name=>'SLIDE' -,p_display_name=>'Slide' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--carouselSlide' -,p_group_id=>wwv_flow_imp.id(17399771991259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26663628245953927) -,p_theme_id=>42 -,p_name=>'SPIN' -,p_display_name=>'Spin' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--carouselSpin' -,p_group_id=>wwv_flow_imp.id(17399771991259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26663824698953927) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stack Region' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--stacked' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26664083135953927) -,p_theme_id=>42 -,p_name=>'SHOW_NEXT_AND_PREVIOUS_BUTTONS' -,p_display_name=>'Show Next and Previous Buttons' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--showCarouselControls' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26664283348953927) -,p_theme_id=>42 -,p_name=>'SHOW_MAXIMIZE_BUTTON' -,p_display_name=>'Show Maximize Button' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-showMaximizeButton' -,p_template_types=>'REGION' -,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26664613766953928) -,p_theme_id=>42 -,p_name=>'10_SECONDS' -,p_display_name=>'10 Seconds' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-cycle10s' -,p_group_id=>wwv_flow_imp.id(17415772833259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26664910829953928) -,p_theme_id=>42 -,p_name=>'15_SECONDS' -,p_display_name=>'15 Seconds' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-cycle15s' -,p_group_id=>wwv_flow_imp.id(17415772833259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26665039891953928) -,p_theme_id=>42 -,p_name=>'20_SECONDS' -,p_display_name=>'20 Seconds' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-cycle20s' -,p_group_id=>wwv_flow_imp.id(17415772833259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26665490682953928) -,p_theme_id=>42 -,p_name=>'240PX' -,p_display_name=>'240px' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'i-h240' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 240px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26665696098953929) -,p_theme_id=>42 -,p_name=>'320PX' -,p_display_name=>'320px' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'i-h320' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 320px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26665853157953929) -,p_theme_id=>42 -,p_name=>'480PX' -,p_display_name=>'480px' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'i-h480' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26666069142953929) -,p_theme_id=>42 -,p_name=>'5_SECONDS' -,p_display_name=>'5 Seconds' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'js-cycle5s' -,p_group_id=>wwv_flow_imp.id(17415772833259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26666286244953929) -,p_theme_id=>42 -,p_name=>'640PX' -,p_display_name=>'640px' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'i-h640' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26666628952953929) -,p_theme_id=>42 -,p_name=>'ACCENT_1' -,p_display_name=>'Accent 1' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--accent1' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26666826762953930) -,p_theme_id=>42 -,p_name=>'ACCENT_2' -,p_display_name=>'Accent 2' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--accent2' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26667020634953931) -,p_theme_id=>42 -,p_name=>'ACCENT_3' -,p_display_name=>'Accent 3' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--accent3' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26667249464953931) -,p_theme_id=>42 -,p_name=>'ACCENT_4' -,p_display_name=>'Accent 4' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--accent4' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26667459441953931) -,p_theme_id=>42 -,p_name=>'ACCENT_5' -,p_display_name=>'Accent 5' -,p_display_sequence=>50 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--accent5' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26667827267953931) -,p_theme_id=>42 -,p_name=>'HIDDENHEADERNOAT' -,p_display_name=>'Hidden' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--removeHeader' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26668031226953931) -,p_theme_id=>42 -,p_name=>'HIDEOVERFLOW' -,p_display_name=>'Hide' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--hiddenOverflow' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26668219703953932) -,p_theme_id=>42 -,p_name=>'HIDEREGIONHEADER' -,p_display_name=>'Hidden but accessible' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--hideHeader' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26668431110953932) -,p_theme_id=>42 -,p_name=>'NOBODYPADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26661374046953925) -,p_css_classes=>'t-Region--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes padding from region body.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26669451506953933) -,p_theme_id=>42 -,p_name=>'240PX' -,p_display_name=>'240px' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'i-h240' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 240px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26669666797953933) -,p_theme_id=>42 -,p_name=>'320PX' -,p_display_name=>'320px' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'i-h320' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 320px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26669819838953933) -,p_theme_id=>42 -,p_name=>'ACCENT_1' -,p_display_name=>'Accent 1' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent1' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26670012188953933) -,p_theme_id=>42 -,p_name=>'ACCENT_2' -,p_display_name=>'Accent 2' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent2' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26670262048953934) -,p_theme_id=>42 -,p_name=>'ACCENT_3' -,p_display_name=>'Accent 3' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent3' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26670495644953934) -,p_theme_id=>42 -,p_name=>'ACCENT_4' -,p_display_name=>'Accent 4' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent4' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26670851023953935) -,p_theme_id=>42 -,p_name=>'ICONS_PLUS_OR_MINUS' -,p_display_name=>'Plus or Minus' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--hideShowIconsMath' -,p_group_id=>wwv_flow_imp.id(17402124086259635) -,p_template_types=>'REGION' -,p_help_text=>'Use the plus and minus icons for the expand and collapse button.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26671275565953935) -,p_theme_id=>42 -,p_name=>'CONRTOLS_POSITION_END' -,p_display_name=>'End' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--controlsPosEnd' -,p_group_id=>wwv_flow_imp.id(17402511376259635) -,p_template_types=>'REGION' -,p_help_text=>'Position the expand / collapse button to the end of the region header.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26671453237953939) -,p_theme_id=>42 -,p_name=>'480PX' -,p_display_name=>'480px' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'i-h480' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets body height to 480px.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26671620614953939) -,p_theme_id=>42 -,p_name=>'640PX' -,p_display_name=>'640px' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'i-h640' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets body height to 640px.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26671898081953939) -,p_theme_id=>42 -,p_name=>'REMOVE_UI_DECORATION' -,p_display_name=>'Remove UI Decoration' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--noUI' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26672100005953939) -,p_theme_id=>42 -,p_name=>'ACCENT_5' -,p_display_name=>'Accent 5' -,p_display_sequence=>50 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--accent5' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26672228796953939) -,p_theme_id=>42 -,p_name=>'HIDEOVERFLOW' -,p_display_name=>'Hide' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--hiddenOverflow' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26672434366953940) -,p_theme_id=>42 -,p_name=>'NOBODYPADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes padding from region body.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26672667454953940) -,p_theme_id=>42 -,p_name=>'NOBORDER' -,p_display_name=>'Remove Borders' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--noBorder' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes borders from the region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26672814738953940) -,p_theme_id=>42 -,p_name=>'SCROLLBODY' -,p_display_name=>'Scroll - Default' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--scrollBody' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26673069898953940) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stack Region' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'t-Region--stacked' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26673438658953943) -,p_theme_id=>42 -,p_name=>'EXPANDED' -,p_display_name=>'Expanded' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'is-expanded' -,p_group_id=>wwv_flow_imp.id(17402953618259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26673628162953943) -,p_theme_id=>42 -,p_name=>'COLLAPSED' -,p_display_name=>'Collapsed' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'is-collapsed' -,p_group_id=>wwv_flow_imp.id(17402953618259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26673859899953943) -,p_theme_id=>42 -,p_name=>'REMEMBER_COLLAPSIBLE_STATE' -,p_display_name=>'Remember Collapsible State' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26668531606953932) -,p_css_classes=>'js-useLocalStorage' -,p_template_types=>'REGION' -,p_help_text=>'This option saves the current state of the collapsible region for the duration of the session.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26674482008953944) -,p_theme_id=>42 -,p_name=>'CONTENT_TITLE_H1' -,p_display_name=>'Large' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--h1' -,p_group_id=>wwv_flow_imp.id(17412956168259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26674681418953944) -,p_theme_id=>42 -,p_name=>'CONTENT_TITLE_H2' -,p_display_name=>'Medium' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--h2' -,p_group_id=>wwv_flow_imp.id(17412956168259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26674892380953944) -,p_theme_id=>42 -,p_name=>'CONTENT_TITLE_H3' -,p_display_name=>'Small' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--h3' -,p_group_id=>wwv_flow_imp.id(17412956168259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26675017931953944) -,p_theme_id=>42 -,p_name=>'SHOW_REGION_ICON' -,p_display_name=>'Show Region Icon' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--showIcon' -,p_template_types=>'REGION' -,p_help_text=>'Displays the region icon in the region header beside the region title' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26675303568953944) -,p_theme_id=>42 -,p_name=>'ADD_BODY_PADDING' -,p_display_name=>'Add Body Padding' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--padded' -,p_template_types=>'REGION' -,p_help_text=>'Adds padding to the region''s body container.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26675655975953945) -,p_theme_id=>42 -,p_name=>'SHADOW_BACKGROUND' -,p_display_name=>'Shadow Background' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--shadowBG' -,p_group_id=>wwv_flow_imp.id(17401375863259634) -,p_template_types=>'REGION' -,p_help_text=>'Gives the region body a slightly darker background.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26675908683953945) -,p_theme_id=>42 -,p_name=>'LIGHT_BACKGROUND' -,p_display_name=>'Light Background' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--lightBG' -,p_group_id=>wwv_flow_imp.id(17401375863259634) -,p_template_types=>'REGION' -,p_help_text=>'Gives the region body a slightly lighter background.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26676575029953945) -,p_theme_id=>42 -,p_name=>'FEATURED' -,p_display_name=>'Featured' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--featured' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26676729556953945) -,p_theme_id=>42 -,p_name=>'STACKED_FEATURED' -,p_display_name=>'Stacked Featured' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--featured t-HeroRegion--centered' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26677186111953947) -,p_theme_id=>42 -,p_name=>'DISPLAY_ICON_NO' -,p_display_name=>'No' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--hideIcon' -,p_group_id=>wwv_flow_imp.id(17403778179259635) -,p_template_types=>'REGION' -,p_help_text=>'Hide the Hero Region icon.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26677394711953947) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes the padding around the hero region.' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26677756268953948) -,p_theme_id=>42 -,p_name=>'ICONS_CIRCULAR' -,p_display_name=>'Circle' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--iconsCircle' -,p_group_id=>wwv_flow_imp.id(17406183051259637) -,p_template_types=>'REGION' -,p_help_text=>'The icons are displayed within a circle.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26677942335953948) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26675974030953945) -,p_css_classes=>'t-HeroRegion--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17406183051259637) -,p_template_types=>'REGION' -,p_help_text=>'The icons are displayed within a square.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26678610952953948) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>5 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'t-DialogRegion--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes the padding around the region body.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26678861489953949) -,p_theme_id=>42 -,p_name=>'AUTO_HEIGHT_INLINE_DIALOG' -,p_display_name=>'Auto Height' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-dialog-autoheight' -,p_template_types=>'REGION' -,p_help_text=>'This option will set the height of the dialog to fit its contents.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26679100392953949) -,p_theme_id=>42 -,p_name=>'DRAGGABLE' -,p_display_name=>'Draggable' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-draggable' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26679227625953949) -,p_theme_id=>42 -,p_name=>'MODAL' -,p_display_name=>'Modal' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-modal' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26679434087953949) -,p_theme_id=>42 -,p_name=>'RESIZABLE' -,p_display_name=>'Resizable' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-resizable' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26679892985953949) -,p_theme_id=>42 -,p_name=>'SMALL_480X320' -,p_display_name=>'Small (480x320)' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-dialog-size480x320' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26680051470953949) -,p_theme_id=>42 -,p_name=>'LARGE_720X480' -,p_display_name=>'Large (720x480)' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-dialog-size720x480' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26680282539953950) -,p_theme_id=>42 -,p_name=>'MEDIUM_600X400' -,p_display_name=>'Medium (600x400)' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-dialog-size600x400' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681004748953950) -,p_theme_id=>42 -,p_name=>'AUTO_HEIGHT_INLINE_DIALOG' -,p_display_name=>'Auto Height' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-dialog-autoheight' -,p_template_types=>'REGION' -,p_help_text=>'This option will set the height of the dialog to fit its contents.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681206517953950) -,p_theme_id=>42 -,p_name=>'LARGE_720X480' -,p_display_name=>'Large (720x480)' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-dialog-size720x480' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681378688953950) -,p_theme_id=>42 -,p_name=>'MEDIUM_600X400' -,p_display_name=>'Medium (600x400)' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-dialog-size600x400' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681516261953951) -,p_theme_id=>42 -,p_name=>'SMALL_480X320' -,p_display_name=>'Small (480x320)' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-dialog-size480x320' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681782102953951) -,p_theme_id=>42 -,p_name=>'NONE' -,p_display_name=>'None' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-dialog-nosize' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26681980419953951) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'t-DialogRegion--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes the padding around the region body.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26682200217953951) -,p_theme_id=>42 -,p_name=>'REMOVE_PAGE_OVERLAY' -,p_display_name=>'Remove Page Overlay' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-noOverlay' -,p_template_types=>'REGION' -,p_help_text=>'This option will display the inline dialog without an overlay on the background.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26682569954953951) -,p_theme_id=>42 -,p_name=>'REMOVEBORDERS' -,p_display_name=>'Remove Borders' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26682226918953951) -,p_css_classes=>'t-IRR-region--noBorders' -,p_template_types=>'REGION' -,p_help_text=>'Removes borders around the Interactive Report' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26682723485953952) -,p_theme_id=>42 -,p_name=>'SHOW_MAXIMIZE_BUTTON' -,p_display_name=>'Show Maximize Button' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26682226918953951) -,p_css_classes=>'js-showMaximizeButton' -,p_template_types=>'REGION' -,p_help_text=>'Displays a button in the Interactive Reports toolbar to maximize the report. Clicking this button will toggle the maximize state and stretch the report to fill the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26684298828953953) -,p_theme_id=>42 -,p_name=>'SCROLLBODY' -,p_display_name=>'Scroll - Default' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--scrollBody' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26684440637953953) -,p_theme_id=>42 -,p_name=>'HIDEREGIONHEADER' -,p_display_name=>'Hidden but accessible' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--hideHeader' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26684646623953953) -,p_theme_id=>42 -,p_name=>'HIDEOVERFLOW' -,p_display_name=>'Hide' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--hiddenOverflow' -,p_group_id=>wwv_flow_imp.id(17400548485259634) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26684867113953953) -,p_theme_id=>42 -,p_name=>'HIDDENHEADERNOAT' -,p_display_name=>'Hidden' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--removeHeader js-removeLandmark' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26685093763953953) -,p_theme_id=>42 -,p_name=>'ACCENT_1' -,p_display_name=>'Accent 1' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent1' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26685295597953953) -,p_theme_id=>42 -,p_name=>'ACCENT_2' -,p_display_name=>'Accent 2' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent2' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26685470662953954) -,p_theme_id=>42 -,p_name=>'ACCENT_3' -,p_display_name=>'Accent 3' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent3' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26685703183953954) -,p_theme_id=>42 -,p_name=>'ACCENT_4' -,p_display_name=>'Accent 4' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent4' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26685842008953954) -,p_theme_id=>42 -,p_name=>'ACCENT_5' -,p_display_name=>'Accent 5' -,p_display_sequence=>50 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent5' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26686091189953954) -,p_theme_id=>42 -,p_name=>'SHOW_REGION_ICON' -,p_display_name=>'Show Region Icon' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--showIcon' -,p_template_types=>'REGION' -,p_help_text=>'Displays the region icon in the region header beside the region title' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26686232751953954) -,p_theme_id=>42 -,p_name=>'TEXT_CONTENT' -,p_display_name=>'Text Content' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--textContent' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Useful for displaying primarily text-based content, such as FAQs and more.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26686456918953954) -,p_theme_id=>42 -,p_name=>'NOBORDER' -,p_display_name=>'Remove Borders' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--noBorder' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes borders from the region.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26686662040953955) -,p_theme_id=>42 -,p_name=>'NOBODYPADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes padding from region body.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26686895085953955) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stack Region' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--stacked' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26687028911953955) -,p_theme_id=>42 -,p_name=>'240PX' -,p_display_name=>'240px' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'i-h240' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 240px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26687284073953955) -,p_theme_id=>42 -,p_name=>'320PX' -,p_display_name=>'320px' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'i-h320' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -,p_help_text=>'Sets region body height to 320px.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26687497949953955) -,p_theme_id=>42 -,p_name=>'ACCENT_6' -,p_display_name=>'Accent 6' -,p_display_sequence=>60 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent6' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26687618701953955) -,p_theme_id=>42 -,p_name=>'ACCENT_7' -,p_display_name=>'Accent 7' -,p_display_sequence=>70 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent7' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26687903255953956) -,p_theme_id=>42 -,p_name=>'ACCENT_8' -,p_display_name=>'Accent 8' -,p_display_sequence=>80 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent8' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26688047349953956) -,p_theme_id=>42 -,p_name=>'ACCENT_9' -,p_display_name=>'Accent 9' -,p_display_sequence=>90 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent9' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26688235529953956) -,p_theme_id=>42 -,p_name=>'ACCENT_10' -,p_display_name=>'Accent 10' -,p_display_sequence=>100 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent10' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26688417127953956) -,p_theme_id=>42 -,p_name=>'ACCENT_11' -,p_display_name=>'Accent 11' -,p_display_sequence=>110 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent11' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26688628467953956) -,p_theme_id=>42 -,p_name=>'ACCENT_12' -,p_display_name=>'Accent 12' -,p_display_sequence=>120 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent12' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26688901837953957) -,p_theme_id=>42 -,p_name=>'ACCENT_13' -,p_display_name=>'Accent 13' -,p_display_sequence=>130 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent13' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26689049347953957) -,p_theme_id=>42 -,p_name=>'ACCENT_14' -,p_display_name=>'Accent 14' -,p_display_sequence=>140 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent14' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26689284546953957) -,p_theme_id=>42 -,p_name=>'ACCENT_15' -,p_display_name=>'Accent 15' -,p_display_sequence=>150 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--accent15' -,p_group_id=>wwv_flow_imp.id(17397325142259632) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26689468067953957) -,p_theme_id=>42 -,p_name=>'SHOW_MAXIMIZE_BUTTON' -,p_display_name=>'Show Maximize Button' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'js-showMaximizeButton' -,p_template_types=>'REGION' -,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26689653621953957) -,p_theme_id=>42 -,p_name=>'REMOVE_UI_DECORATION' -,p_display_name=>'Remove UI Decoration' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'t-Region--noUI' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26689811232953957) -,p_theme_id=>42 -,p_name=>'480PX' -,p_display_name=>'480px' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'i-h480' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26690011117953957) -,p_theme_id=>42 -,p_name=>'640PX' -,p_display_name=>'640px' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26683353252953952) -,p_css_classes=>'i-h640' -,p_group_id=>wwv_flow_imp.id(17400113950259634) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26691095162953959) -,p_theme_id=>42 -,p_name=>'REMEMBER_ACTIVE_TAB' -,p_display_name=>'Remember Active Tab' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'js-useLocalStorage' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26691468267953959) -,p_theme_id=>42 -,p_name=>'FILL_TAB_LABELS' -,p_display_name=>'Fill Tab Labels' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'t-TabsRegion-mod--fillLabels' -,p_group_id=>wwv_flow_imp.id(17410584107259639) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26691888249953960) -,p_theme_id=>42 -,p_name=>'SIMPLE' -,p_display_name=>'Simple' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'t-TabsRegion-mod--simple' -,p_group_id=>wwv_flow_imp.id(17415376698259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26692015793953960) -,p_theme_id=>42 -,p_name=>'PILL' -,p_display_name=>'Pill' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'t-TabsRegion-mod--pill' -,p_group_id=>wwv_flow_imp.id(17415376698259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26692415973953960) -,p_theme_id=>42 -,p_name=>'TABS_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'t-TabsRegion-mod--small' -,p_group_id=>wwv_flow_imp.id(17414927039259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26692635298953960) -,p_theme_id=>42 -,p_name=>'TABSLARGE' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26690111800953958) -,p_css_classes=>'t-TabsRegion-mod--large' -,p_group_id=>wwv_flow_imp.id(17414927039259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26693105703953961) -,p_theme_id=>42 -,p_name=>'HIDE_BREADCRUMB' -,p_display_name=>'Show Breadcrumbs' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26692736997953960) -,p_css_classes=>'t-BreadcrumbRegion--showBreadcrumb' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26693223115953961) -,p_theme_id=>42 -,p_name=>'GET_TITLE_FROM_BREADCRUMB' -,p_display_name=>'Use Current Breadcrumb Entry' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26692736997953960) -,p_css_classes=>'t-BreadcrumbRegion--useBreadcrumbTitle' -,p_group_id=>wwv_flow_imp.id(17412956168259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26693418169953961) -,p_theme_id=>42 -,p_name=>'USE_COMPACT_STYLE' -,p_display_name=>'Use Compact Style' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26692736997953960) -,p_css_classes=>'t-BreadcrumbRegion--compactTitle' -,p_template_types=>'REGION' -,p_help_text=>'Uses a compact style for the breadcrumbs.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26693690179953961) -,p_theme_id=>42 -,p_name=>'REGION_HEADER_VISIBLE' -,p_display_name=>'Use Region Title' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(26692736997953960) -,p_css_classes=>'t-BreadcrumbRegion--useRegionTitle' -,p_group_id=>wwv_flow_imp.id(17412956168259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26694550690953962) -,p_theme_id=>42 -,p_name=>'HIDESMALLSCREENS' -,p_display_name=>'Small Screens (Tablet)' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26693808939953961) -,p_css_classes=>'t-Wizard--hideStepsSmall' -,p_group_id=>wwv_flow_imp.id(17405785981259637) -,p_template_types=>'REGION' -,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26694759112953963) -,p_theme_id=>42 -,p_name=>'HIDEXSMALLSCREENS' -,p_display_name=>'X Small Screens (Mobile)' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26693808939953961) -,p_css_classes=>'t-Wizard--hideStepsXSmall' -,p_group_id=>wwv_flow_imp.id(17405785981259637) -,p_template_types=>'REGION' -,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26694792870726774) -,p_theme_id=>42 -,p_name=>'DISPLAY_ITEMS_STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>1 -,p_report_template_id=>wwv_flow_imp.id(26694227429726766) -,p_css_classes=>'t-ContextualInfo-item--stacked' -,p_group_id=>wwv_flow_imp.id(17421351298259645) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26694944591953963) -,p_theme_id=>42 -,p_name=>'SHOW_TITLE' -,p_display_name=>'Show Title' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26693808939953961) -,p_css_classes=>'t-Wizard--showTitle' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26695205551726774) -,p_theme_id=>42 -,p_name=>'DISPLAY_LABELS_STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>1 -,p_report_template_id=>wwv_flow_imp.id(26694227429726766) -,p_css_classes=>'t-ContextualInfo-label--stacked' -,p_group_id=>wwv_flow_imp.id(17421786111259645) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26695743903953969) -,p_theme_id=>42 -,p_name=>'128PX' -,p_display_name=>'128px' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--xxlarge' -,p_group_id=>wwv_flow_imp.id(17416958013259643) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26695951561953969) -,p_theme_id=>42 -,p_name=>'32PX' -,p_display_name=>'32px' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--small' -,p_group_id=>wwv_flow_imp.id(17416958013259643) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26696165168953970) -,p_theme_id=>42 -,p_name=>'48PX' -,p_display_name=>'48px' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--medium' -,p_group_id=>wwv_flow_imp.id(17416958013259643) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26696357105953970) -,p_theme_id=>42 -,p_name=>'64PX' -,p_display_name=>'64px' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--large' -,p_group_id=>wwv_flow_imp.id(17416958013259643) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26696591664953970) -,p_theme_id=>42 -,p_name=>'96PX' -,p_display_name=>'96px' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--xlarge' -,p_group_id=>wwv_flow_imp.id(17416958013259643) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26696880942726778) -,p_theme_id=>42 -,p_name=>'INDICATOR_ASTERISK' -,p_display_name=>'Asterisk' -,p_display_sequence=>10 -,p_field_template_id=>wwv_flow_imp.id(26738449610954019) -,p_css_classes=>'t-Form-fieldContainer--indicatorAsterisk' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays an asterisk * on required items.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26696993951953971) -,p_theme_id=>42 -,p_name=>'2COLUMNGRID' -,p_display_name=>'2 Column Grid' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_help_text=>'Arrange badges in a two column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26697133779953971) -,p_theme_id=>42 -,p_name=>'3COLUMNGRID' -,p_display_name=>'3 Column Grid' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_help_text=>'Arrange badges in a 3 column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26697351115953971) -,p_theme_id=>42 -,p_name=>'4COLUMNGRID' -,p_display_name=>'4 Column Grid' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26697544042726779) -,p_theme_id=>42 -,p_name=>'INDICATOR_LABEL' -,p_display_name=>'Inline Label' -,p_display_sequence=>20 -,p_field_template_id=>wwv_flow_imp.id(26738449610954019) -,p_css_classes=>'t-Form-fieldContainer--indicatorLabel' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays "Required" inline.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26697578446953971) -,p_theme_id=>42 -,p_name=>'5COLUMNGRID' -,p_display_name=>'5 Column Grid' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26697797612953971) -,p_theme_id=>42 -,p_name=>'FLEXIBLEBOX' -,p_display_name=>'Flexible Box' -,p_display_sequence=>80 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--flex' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26698003592953972) -,p_theme_id=>42 -,p_name=>'FLOATITEMS' -,p_display_name=>'Float Items' -,p_display_sequence=>70 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--float' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26698199306953972) -,p_theme_id=>42 -,p_name=>'FIXED' -,p_display_name=>'Span Horizontally' -,p_display_sequence=>60 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--fixed' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26698319047953972) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--stacked' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26698518079953972) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'u-colors' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26698932434953972) -,p_theme_id=>42 -,p_name=>'CIRCULAR' -,p_display_name=>'Circular' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--circular' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26699185567953973) -,p_theme_id=>42 -,p_name=>'GRID' -,p_display_name=>'Grid' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26695234232953969) -,p_css_classes=>'t-BadgeList--dash' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26699671665726780) -,p_theme_id=>42 -,p_name=>'INDICATOR_ASTERISK' -,p_display_name=>'Asterisk' -,p_display_sequence=>10 -,p_field_template_id=>wwv_flow_imp.id(26738575492954020) -,p_css_classes=>'t-Form-fieldContainer--indicatorAsterisk' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays an asterisk * on required items.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26699776035953974) -,p_theme_id=>42 -,p_name=>'CARDS_COLOR_FILL' -,p_display_name=>'Color Fill' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--animColorFill' -,p_group_id=>wwv_flow_imp.id(17416526110259643) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26699976015953974) -,p_theme_id=>42 -,p_name=>'CARD_RAISE_CARD' -,p_display_name=>'Raise Card' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--animRaiseCard' -,p_group_id=>wwv_flow_imp.id(17416526110259643) -,p_template_types=>'REPORT' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26700342008726780) -,p_theme_id=>42 -,p_name=>'INDICATOR_LABEL' -,p_display_name=>'Inline Label' -,p_display_sequence=>20 -,p_field_template_id=>wwv_flow_imp.id(26738575492954020) -,p_css_classes=>'t-Form-fieldContainer--indicatorLabel' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays "Required" inline.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26700369909953975) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square shape.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26700550414953975) -,p_theme_id=>42 -,p_name=>'ICONS_ROUNDED' -,p_display_name=>'Rounded Corners' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--iconsRounded' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square with rounded corners.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26700777212953976) -,p_theme_id=>42 -,p_name=>'BLOCK' -,p_display_name=>'Block' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--featured t-Cards--block force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26700916604953976) -,p_theme_id=>42 -,p_name=>'DISPLAY_SUBTITLE' -,p_display_name=>'Display Subtitle' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--displaySubtitle' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26701126079953976) -,p_theme_id=>42 -,p_name=>'2_COLUMNS' -,p_display_name=>'2 Columns' -,p_display_sequence=>15 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26701340396953976) -,p_theme_id=>42 -,p_name=>'3_COLUMNS' -,p_display_name=>'3 Columns' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--3cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26701585262953976) -,p_theme_id=>42 -,p_name=>'4_COLUMNS' -,p_display_name=>'4 Columns' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--4cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26701801118953977) -,p_theme_id=>42 -,p_name=>'5_COLUMNS' -,p_display_name=>'5 Columns' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--5cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26701942909953977) -,p_theme_id=>42 -,p_name=>'FLOAT' -,p_display_name=>'Float' -,p_display_sequence=>60 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--float' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26702131921953977) -,p_theme_id=>42 -,p_name=>'SPAN_HORIZONTALLY' -,p_display_name=>'Span Horizontally' -,p_display_sequence=>70 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--spanHorizontally' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26702475733726782) -,p_theme_id=>42 -,p_name=>'INDICATOR_ASTERISK' -,p_display_name=>'Asterisk' -,p_display_sequence=>10 -,p_field_template_id=>wwv_flow_imp.id(26738611042954020) -,p_css_classes=>'t-Form-fieldContainer--indicatorAsterisk' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays an asterisk * on required items.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26702568266953977) -,p_theme_id=>42 -,p_name=>'2_LINES' -,p_display_name=>'2 Lines' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--desc-2ln' -,p_group_id=>wwv_flow_imp.id(17417344635259643) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26702727870953978) -,p_theme_id=>42 -,p_name=>'3_LINES' -,p_display_name=>'3 Lines' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--desc-3ln' -,p_group_id=>wwv_flow_imp.id(17417344635259643) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26702969389953978) -,p_theme_id=>42 -,p_name=>'4_LINES' -,p_display_name=>'4 Lines' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--desc-4ln' -,p_group_id=>wwv_flow_imp.id(17417344635259643) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26703134351726783) -,p_theme_id=>42 -,p_name=>'INDICATOR_LABEL' -,p_display_name=>'Inline Label' -,p_display_sequence=>20 -,p_field_template_id=>wwv_flow_imp.id(26738611042954020) -,p_css_classes=>'t-Form-fieldContainer--indicatorLabel' -,p_group_id=>wwv_flow_imp.id(17387371223259627) -,p_template_types=>'FIELD' -,p_help_text=>'Displays "Required" inline.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26703184900953978) -,p_theme_id=>42 -,p_name=>'USE_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'u-colors' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26703578232953978) -,p_theme_id=>42 -,p_name=>'DISPLAY_ICONS' -,p_display_name=>'Display Icons' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--displayIcons' -,p_group_id=>wwv_flow_imp.id(17422095818259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26703726904953978) -,p_theme_id=>42 -,p_name=>'DISPLAY_INITIALS' -,p_display_name=>'Display Initials' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--displayInitials' -,p_group_id=>wwv_flow_imp.id(17422095818259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26703954742953979) -,p_theme_id=>42 -,p_name=>'FEATURED' -,p_display_name=>'Featured' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--featured force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26704208925953979) -,p_theme_id=>42 -,p_name=>'BASIC' -,p_display_name=>'Basic' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--basic' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26704375728953980) -,p_theme_id=>42 -,p_name=>'COMPACT' -,p_display_name=>'Compact' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--compact' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -,p_help_text=>'Use this option when you want to show smaller cards.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26704549149953980) -,p_theme_id=>42 -,p_name=>'HIDDEN_BODY_TEXT' -,p_display_name=>'Hidden' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26699288380953973) -,p_css_classes=>'t-Cards--hideBody' -,p_group_id=>wwv_flow_imp.id(17417344635259643) -,p_template_types=>'REPORT' -,p_help_text=>'This option hides the card body which contains description and subtext.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26704990126953980) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26704638373953980) -,p_css_classes=>'t-Comments--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square shape.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26705149631953980) -,p_theme_id=>42 -,p_name=>'ICONS_ROUNDED' -,p_display_name=>'Rounded Corners' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26704638373953980) -,p_css_classes=>'t-Comments--iconsRounded' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square with rounded corners.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26705601694953981) -,p_theme_id=>42 -,p_name=>'BASIC' -,p_display_name=>'Basic' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26704638373953980) -,p_css_classes=>'t-Comments--basic' -,p_group_id=>wwv_flow_imp.id(17420558699259645) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26705775253953981) -,p_theme_id=>42 -,p_name=>'SPEECH_BUBBLES' -,p_display_name=>'Speech Bubbles' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26704638373953980) -,p_css_classes=>'t-Comments--chat' -,p_group_id=>wwv_flow_imp.id(17420558699259645) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26706152329953982) -,p_theme_id=>42 -,p_name=>'2_COLUMN_GRID' -,p_display_name=>'2 Column Grid' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--cols t-MediaList--2cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26706350070953982) -,p_theme_id=>42 -,p_name=>'3_COLUMN_GRID' -,p_display_name=>'3 Column Grid' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--cols t-MediaList--3cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26706536751953982) -,p_theme_id=>42 -,p_name=>'4_COLUMN_GRID' -,p_display_name=>'4 Column Grid' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--cols t-MediaList--4cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26706747515953982) -,p_theme_id=>42 -,p_name=>'5_COLUMN_GRID' -,p_display_name=>'5 Column Grid' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--cols t-MediaList--5cols' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26706972642953982) -,p_theme_id=>42 -,p_name=>'STACK' -,p_display_name=>'Stack' -,p_display_sequence=>5 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--stack' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26707182788953983) -,p_theme_id=>42 -,p_name=>'SPAN_HORIZONTAL' -,p_display_name=>'Span Horizontal' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--horizontal' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26707328424953983) -,p_theme_id=>42 -,p_name=>'SHOW_ICONS' -,p_display_name=>'Show Icons' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--showIcons' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26707515564953983) -,p_theme_id=>42 -,p_name=>'SHOW_DESCRIPTION' -,p_display_name=>'Show Description' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--showDesc' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26707759136953983) -,p_theme_id=>42 -,p_name=>'SHOW_BADGES' -,p_display_name=>'Show Badges' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--showBadges' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26707936739953983) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'u-colors' -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26708182316953983) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square shape.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26708351452953983) -,p_theme_id=>42 -,p_name=>'ICONS_ROUNDED' -,p_display_name=>'Rounded Corners' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--iconsRounded' -,p_group_id=>wwv_flow_imp.id(17422524088259646) -,p_template_types=>'REPORT' -,p_help_text=>'The icons are displayed within a square with rounded corners.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26708733404953984) -,p_theme_id=>42 -,p_name=>'LARGE' -,p_display_name=>'Large' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26705905842953981) -,p_css_classes=>'t-MediaList--large force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17424921150259647) -,p_template_types=>'REPORT' -,p_help_text=>'Increases the size of the text and icons in the list.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26709532822953985) -,p_theme_id=>42 -,p_name=>'REMOVEALLBORDERS' -,p_display_name=>'No Borders' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--noBorders' -,p_group_id=>wwv_flow_imp.id(17424106316259647) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26709722793953985) -,p_theme_id=>42 -,p_name=>'STRETCHREPORT' -,p_display_name=>'Stretch Report' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--stretch' -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26710007718953985) -,p_theme_id=>42 -,p_name=>'REMOVEOUTERBORDERS' -,p_display_name=>'No Outer Borders' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--inline' -,p_group_id=>wwv_flow_imp.id(17424106316259647) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26710330060953985) -,p_theme_id=>42 -,p_name=>'ALTROWCOLORSDISABLE' -,p_display_name=>'Disable' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--staticRowColors' -,p_group_id=>wwv_flow_imp.id(17416090381259642) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26710569377953985) -,p_theme_id=>42 -,p_name=>'ALTROWCOLORSENABLE' -,p_display_name=>'Enable' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--altRowsDefault' -,p_group_id=>wwv_flow_imp.id(17416090381259642) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26710737620953986) -,p_theme_id=>42 -,p_name=>'HORIZONTALBORDERS' -,p_display_name=>'Horizontal Only' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--horizontalBorders' -,p_group_id=>wwv_flow_imp.id(17424106316259647) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26710983636953986) -,p_theme_id=>42 -,p_name=>'VERTICALBORDERS' -,p_display_name=>'Vertical Only' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--verticalBorders' -,p_group_id=>wwv_flow_imp.id(17424106316259647) -,p_template_types=>'REPORT' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26711408738953986) -,p_theme_id=>42 -,p_name=>'ENABLE' -,p_display_name=>'Enable' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--rowHighlight' -,p_group_id=>wwv_flow_imp.id(17424528922259647) -,p_template_types=>'REPORT' -,p_help_text=>'Enable row highlighting on mouse over' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26711580468953986) -,p_theme_id=>42 -,p_name=>'ROWHIGHLIGHTDISABLE' -,p_display_name=>'Disable' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26709087882953984) -,p_css_classes=>'t-Report--rowHighlightOff' -,p_group_id=>wwv_flow_imp.id(17424528922259647) -,p_template_types=>'REPORT' -,p_help_text=>'Disable row highlighting on mouse over' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26711955614953987) -,p_theme_id=>42 -,p_name=>'COMPACT' -,p_display_name=>'Compact' -,p_display_sequence=>1 -,p_report_template_id=>wwv_flow_imp.id(26711630637953986) -,p_css_classes=>'t-Timeline--compact' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26712365716953987) -,p_theme_id=>42 -,p_name=>'LEFT_ALIGNED_DETAILS' -,p_display_name=>'Left Aligned Details' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--leftAligned' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26712566716953987) -,p_theme_id=>42 -,p_name=>'RIGHT_ALIGNED_DETAILS' -,p_display_name=>'Right Aligned Details' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--rightAligned' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26712998937953988) -,p_theme_id=>42 -,p_name=>'FIXED_SMALL' -,p_display_name=>'Fixed - Small' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--fixedLabelSmall' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26713116422953988) -,p_theme_id=>42 -,p_name=>'FIXED_MEDIUM' -,p_display_name=>'Fixed - Medium' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--fixedLabelMedium' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26713324061953988) -,p_theme_id=>42 -,p_name=>'FIXED_LARGE' -,p_display_name=>'Fixed - Large' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--fixedLabelLarge' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26713554484953988) -,p_theme_id=>42 -,p_name=>'VARIABLE_SMALL' -,p_display_name=>'Variable - Small' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--variableLabelSmall' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26713767452953988) -,p_theme_id=>42 -,p_name=>'VARIABLE_MEDIUM' -,p_display_name=>'Variable - Medium' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--variableLabelMedium' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26713999240953988) -,p_theme_id=>42 -,p_name=>'VARIABLE_LARGE' -,p_display_name=>'Variable - Large' -,p_display_sequence=>60 -,p_report_template_id=>wwv_flow_imp.id(26712060186953987) -,p_css_classes=>'t-AVPList--variableLabelLarge' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26714326331953989) -,p_theme_id=>42 -,p_name=>'FIXED_SMALL' -,p_display_name=>'Fixed - Small' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--fixedLabelSmall' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26714541277953989) -,p_theme_id=>42 -,p_name=>'FIXED_MEDIUM' -,p_display_name=>'Fixed - Medium' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--fixedLabelMedium' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26714744080953989) -,p_theme_id=>42 -,p_name=>'FIXED_LARGE' -,p_display_name=>'Fixed - Large' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--fixedLabelLarge' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26714913886953989) -,p_theme_id=>42 -,p_name=>'VARIABLE_LARGE' -,p_display_name=>'Variable - Large' -,p_display_sequence=>60 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--variableLabelLarge' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26715167508953989) -,p_theme_id=>42 -,p_name=>'VARIABLE_MEDIUM' -,p_display_name=>'Variable - Medium' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--variableLabelMedium' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26715347841953990) -,p_theme_id=>42 -,p_name=>'VARIABLE_SMALL' -,p_display_name=>'Variable - Small' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--variableLabelSmall' -,p_group_id=>wwv_flow_imp.id(17422906088259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26715576793953990) -,p_theme_id=>42 -,p_name=>'LEFT_ALIGNED_DETAILS' -,p_display_name=>'Left Aligned Details' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--leftAligned' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26715748143953990) -,p_theme_id=>42 -,p_name=>'RIGHT_ALIGNED_DETAILS' -,p_display_name=>'Right Aligned Details' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(26714032044953988) -,p_css_classes=>'t-AVPList--rightAligned' -,p_group_id=>wwv_flow_imp.id(17423293258259646) -,p_template_types=>'REPORT' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26716401242953996) -,p_theme_id=>42 -,p_name=>'FLOATITEMS' -,p_display_name=>'Float Items' -,p_display_sequence=>70 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--float' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Float badges to left' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26716606182953996) -,p_theme_id=>42 -,p_name=>'FLEXIBLEBOX' -,p_display_name=>'Flexible Box' -,p_display_sequence=>80 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--flex' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Use flexbox to arrange items' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26716716293953996) -,p_theme_id=>42 -,p_name=>'FIXED' -,p_display_name=>'Span Horizontally' -,p_display_sequence=>60 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--fixed' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Span badges horizontally' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26716958943953996) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--stacked' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Stack badges on top of each other' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26717131980953997) -,p_theme_id=>42 -,p_name=>'2COLUMNGRID' -,p_display_name=>'2 Column Grid' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Arrange badges in a two column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26717402490953997) -,p_theme_id=>42 -,p_name=>'3COLUMNGRID' -,p_display_name=>'3 Column Grid' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Arrange badges in a 3 column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26717579061953997) -,p_theme_id=>42 -,p_name=>'4COLUMNGRID' -,p_display_name=>'4 Column Grid' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Arrange badges in 4 column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26717800059953997) -,p_theme_id=>42 -,p_name=>'5COLUMNGRID' -,p_display_name=>'5 Column Grid' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Arrange badges in a 5 column grid' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26718129529953997) -,p_theme_id=>42 -,p_name=>'SMALL' -,p_display_name=>'32px' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--small' -,p_group_id=>wwv_flow_imp.id(17389357754259628) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26718401750953998) -,p_theme_id=>42 -,p_name=>'MEDIUM' -,p_display_name=>'48px' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--medium' -,p_group_id=>wwv_flow_imp.id(17389357754259628) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26718517208953998) -,p_theme_id=>42 -,p_name=>'LARGE' -,p_display_name=>'64px' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--large' -,p_group_id=>wwv_flow_imp.id(17389357754259628) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26718767374953998) -,p_theme_id=>42 -,p_name=>'XXLARGE' -,p_display_name=>'128px' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--xxlarge' -,p_group_id=>wwv_flow_imp.id(17389357754259628) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26718990747953998) -,p_theme_id=>42 -,p_name=>'XLARGE' -,p_display_name=>'96px' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--xlarge' -,p_group_id=>wwv_flow_imp.id(17389357754259628) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26719166138953998) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'u-colors' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26719511298953999) -,p_theme_id=>42 -,p_name=>'CIRCULAR' -,p_display_name=>'Circular' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--circular' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26719745038953999) -,p_theme_id=>42 -,p_name=>'GRID' -,p_display_name=>'Grid' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26715822523953991) -,p_css_classes=>'t-BadgeList--dash' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26720206699953999) -,p_theme_id=>42 -,p_name=>'CARDS_STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>5 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--stacked' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Stacks the cards on top of each other.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26720602689954000) -,p_theme_id=>42 -,p_name=>'COLOR_FILL' -,p_display_name=>'Color Fill' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--animColorFill' -,p_group_id=>wwv_flow_imp.id(17388906046259628) -,p_template_types=>'LIST' -,p_help_text=>'Fills the card background with the color of the icon or default link style.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26720770279954000) -,p_theme_id=>42 -,p_name=>'RAISE_CARD' -,p_display_name=>'Raise Card' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--animRaiseCard' -,p_group_id=>wwv_flow_imp.id(17388906046259628) -,p_template_types=>'LIST' -,p_help_text=>'Raises the card so it pops up.' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26721208334954000) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17392095892259630) -,p_template_types=>'LIST' -,p_help_text=>'The icons are displayed within a square shape.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26721330068954000) -,p_theme_id=>42 -,p_name=>'ICONS_ROUNDED' -,p_display_name=>'Rounded Corners' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--iconsRounded' -,p_group_id=>wwv_flow_imp.id(17392095892259630) -,p_template_types=>'LIST' -,p_help_text=>'The icons are displayed within a square with rounded corners.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26721574170954000) -,p_theme_id=>42 -,p_name=>'DISPLAY_SUBTITLE' -,p_display_name=>'Display Subtitle' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--displaySubtitle' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26721792596954000) -,p_theme_id=>42 -,p_name=>'BLOCK' -,p_display_name=>'Block' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--featured t-Cards--block force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26721928268954001) -,p_theme_id=>42 -,p_name=>'SPAN_HORIZONTALLY' -,p_display_name=>'Span Horizontally' -,p_display_sequence=>70 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--spanHorizontally' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26722202439954001) -,p_theme_id=>42 -,p_name=>'FLOAT' -,p_display_name=>'Float' -,p_display_sequence=>60 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--float' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26722352304954001) -,p_theme_id=>42 -,p_name=>'2_COLUMNS' -,p_display_name=>'2 Columns' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26722563994954001) -,p_theme_id=>42 -,p_name=>'3_COLUMNS' -,p_display_name=>'3 Columns' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--3cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26722733061954001) -,p_theme_id=>42 -,p_name=>'4_COLUMNS' -,p_display_name=>'4 Columns' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--4cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26722987110954002) -,p_theme_id=>42 -,p_name=>'5_COLUMNS' -,p_display_name=>'5 Columns' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--5cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26723170923954002) -,p_theme_id=>42 -,p_name=>'FEATURED' -,p_display_name=>'Featured' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--featured force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26723332271954002) -,p_theme_id=>42 -,p_name=>'BASIC' -,p_display_name=>'Basic' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--basic' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26723603731954002) -,p_theme_id=>42 -,p_name=>'USE_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'u-colors' -,p_template_types=>'LIST' -,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within cards.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26723912231954002) -,p_theme_id=>42 -,p_name=>'DISPLAY_ICONS' -,p_display_name=>'Display Icons' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--displayIcons' -,p_group_id=>wwv_flow_imp.id(17391710840259629) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26724162090954003) -,p_theme_id=>42 -,p_name=>'DISPLAY_INITIALS' -,p_display_name=>'Display Initials' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--displayInitials' -,p_group_id=>wwv_flow_imp.id(17391710840259629) -,p_template_types=>'LIST' -,p_help_text=>'Initials come from List Attribute 3' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26724549214954003) -,p_theme_id=>42 -,p_name=>'2_LINES' -,p_display_name=>'2 Lines' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--desc-2ln' -,p_group_id=>wwv_flow_imp.id(17389765635259628) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26724722000954003) -,p_theme_id=>42 -,p_name=>'3_LINES' -,p_display_name=>'3 Lines' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--desc-3ln' -,p_group_id=>wwv_flow_imp.id(17389765635259628) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26725007944954003) -,p_theme_id=>42 -,p_name=>'4_LINES' -,p_display_name=>'4 Lines' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--desc-4ln' -,p_group_id=>wwv_flow_imp.id(17389765635259628) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26725193595954003) -,p_theme_id=>42 -,p_name=>'COMPACT' -,p_display_name=>'Compact' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--compact' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Use this option when you want to show smaller cards.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26725369784954003) -,p_theme_id=>42 -,p_name=>'HIDDEN_BODY_TEXT' -,p_display_name=>'Hidden' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26719881325953999) -,p_css_classes=>'t-Cards--hideBody' -,p_group_id=>wwv_flow_imp.id(17389765635259628) -,p_template_types=>'LIST' -,p_help_text=>'This option hides the card body which contains description and subtext.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26725919401954004) -,p_theme_id=>42 -,p_name=>'SHOWICONS' -,p_display_name=>'For All Items' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--showIcons' -,p_group_id=>wwv_flow_imp.id(17391298165259629) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26726192762954004) -,p_theme_id=>42 -,p_name=>'SHOWGOTOARROW' -,p_display_name=>'Show Right Arrow' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--showArrow' -,p_template_types=>'LIST' -,p_help_text=>'Show arrow to the right of link' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26726336066954004) -,p_theme_id=>42 -,p_name=>'DISABLETEXTWRAPPING' -,p_display_name=>'Disable Text Wrapping' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--nowrap' -,p_template_types=>'LIST' -,p_help_text=>'Do not allow link text to wrap to new lines. Truncate with ellipsis.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26726511924954004) -,p_theme_id=>42 -,p_name=>'SHOWBADGES' -,p_display_name=>'Show Badges' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--showBadge' -,p_template_types=>'LIST' -,p_help_text=>'Show badge to right of link (requires Attribute 1 to be populated)' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26726771626954005) -,p_theme_id=>42 -,p_name=>'SHOWTOPICONS' -,p_display_name=>'For Top Level Items Only' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--showTopIcons' -,p_group_id=>wwv_flow_imp.id(17391298165259629) -,p_template_types=>'LIST' -,p_help_text=>'This will show icons for top level items of the list only. It will not show icons for sub lists.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26726927901954005) -,p_theme_id=>42 -,p_name=>'ACTIONS' -,p_display_name=>'Actions' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26725497979954003) -,p_css_classes=>'t-LinksList--actions' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Render as actions to be placed on the right side column.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26727327427954005) -,p_theme_id=>42 -,p_name=>'SPANHORIZONTAL' -,p_display_name=>'Span Horizontal' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--horizontal' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Show all list items in one horizontal row.' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26727605772954005) -,p_theme_id=>42 -,p_name=>'2COLUMNGRID' -,p_display_name=>'2 Column Grid' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--cols t-MediaList--2cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26727715288954006) -,p_theme_id=>42 -,p_name=>'3COLUMNGRID' -,p_display_name=>'3 Column Grid' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--cols t-MediaList--3cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26727991450954006) -,p_theme_id=>42 -,p_name=>'4COLUMNGRID' -,p_display_name=>'4 Column Grid' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--cols t-MediaList--4cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26728197975954006) -,p_theme_id=>42 -,p_name=>'5COLUMNGRID' -,p_display_name=>'5 Column Grid' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--cols t-MediaList--5cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26728318446954006) -,p_theme_id=>42 -,p_name=>'ICONS_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--iconsSquare' -,p_group_id=>wwv_flow_imp.id(17392095892259630) -,p_template_types=>'LIST' -,p_help_text=>'The icons are displayed within a square shape.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26728576213954006) -,p_theme_id=>42 -,p_name=>'ICONS_ROUNDED' -,p_display_name=>'Rounded Corners' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--iconsRounded' -,p_group_id=>wwv_flow_imp.id(17392095892259630) -,p_template_types=>'LIST' -,p_help_text=>'The icons are displayed within a square with rounded corners.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26728713192954006) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'u-colors' -,p_template_types=>'LIST' -,p_help_text=>'Applies colors from the Theme''s color palette to icons in the list.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26729119071954007) -,p_theme_id=>42 -,p_name=>'LIST_SIZE_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--large force-fa-lg' -,p_group_id=>wwv_flow_imp.id(17394139812259631) -,p_template_types=>'LIST' -,p_help_text=>'Increases the size of the text and icons in the list.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26729342076954007) -,p_theme_id=>42 -,p_name=>'SHOW_ICONS' -,p_display_name=>'Show Icons' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--showIcons' -,p_template_types=>'LIST' -,p_help_text=>'Display an icon next to the list item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26729596278954007) -,p_theme_id=>42 -,p_name=>'SHOW_DESCRIPTION' -,p_display_name=>'Show Description' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--showDesc' -,p_template_types=>'LIST' -,p_help_text=>'Shows the description (Attribute 1) for each list item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26729758263954007) -,p_theme_id=>42 -,p_name=>'SHOW_BADGES' -,p_display_name=>'Show Badges' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26727067387954005) -,p_css_classes=>'t-MediaList--showBadges' -,p_template_types=>'LIST' -,p_help_text=>'Show a badge (Attribute 2) to the right of the list item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26730171570954008) -,p_theme_id=>42 -,p_name=>'ADD_ACTIONS' -,p_display_name=>'Add Actions' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26729842043954007) -,p_css_classes=>'js-addActions' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26730400293954008) -,p_theme_id=>42 -,p_name=>'BEHAVE_LIKE_TABS' -,p_display_name=>'Behave Like Tabs' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26729842043954007) -,p_css_classes=>'js-tabLike' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26730746217954008) -,p_theme_id=>42 -,p_name=>'SHOW_SUB_MENU_ICONS' -,p_display_name=>'Show Sub Menu Icons' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26729842043954007) -,p_css_classes=>'js-showSubMenuIcons' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26731133126954009) -,p_theme_id=>42 -,p_name=>'ADD_ACTIONS' -,p_display_name=>'Add Actions' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26730814912954008) -,p_css_classes=>'js-addActions' -,p_template_types=>'LIST' -,p_help_text=>'Enables you to define a keyboard shortcut to activate the menu item.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26731765789954010) -,p_theme_id=>42 -,p_name=>'STYLE_A' -,p_display_name=>'Style A' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'t-TreeNav--styleA' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Style Variation A' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26732003185954010) -,p_theme_id=>42 -,p_name=>'STYLE_B' -,p_display_name=>'Style B' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'t-TreeNav--styleB' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Style Variation B' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26732151875954010) -,p_theme_id=>42 -,p_name=>'STYLE_C' -,p_display_name=>'Classic' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'t-TreeNav--classic' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Classic Style' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26732311749954010) -,p_theme_id=>42 -,p_name=>'COLLAPSED_DEFAULT' -,p_display_name=>'Collapsed by Default' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'js-defaultCollapsed' -,p_template_types=>'LIST' -,p_help_text=>'This option will load the side navigation menu in a collapsed state by default.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26732743278954011) -,p_theme_id=>42 -,p_name=>'LARGE' -,p_display_name=>'Large' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--large' -,p_group_id=>wwv_flow_imp.id(17394139812259631) -,p_template_types=>'LIST' -,p_help_text=>'Increases font size and white space around tab items.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26732973256954011) -,p_theme_id=>42 -,p_name=>'SIMPLE' -,p_display_name=>'Simple' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--simple' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'A very simplistic tab UI.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26733190154954011) -,p_theme_id=>42 -,p_name=>'PILL' -,p_display_name=>'Pill' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--pill' -,p_group_id=>wwv_flow_imp.id(17394570726259631) -,p_template_types=>'LIST' -,p_help_text=>'Displays tabs in a pill container.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26733399252954011) -,p_theme_id=>42 -,p_name=>'INLINE_WITH_LABEL' -,p_display_name=>'Inline with Label' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--inlineIcons' -,p_group_id=>wwv_flow_imp.id(17391710840259629) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26733583360954012) -,p_theme_id=>42 -,p_name=>'ABOVE_LABEL' -,p_display_name=>'Above Label' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--iconsAbove' -,p_group_id=>wwv_flow_imp.id(17391710840259629) -,p_template_types=>'LIST' -,p_help_text=>'Places icons above tab label.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26733791713954012) -,p_theme_id=>42 -,p_name=>'FILL_LABELS' -,p_display_name=>'Fill Labels' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--fillLabels' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -,p_help_text=>'Stretch tabs to fill to the width of the tabs container.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26734003728954012) -,p_theme_id=>42 -,p_name=>'SMALL' -,p_display_name=>'Small' -,p_display_sequence=>5 -,p_list_template_id=>wwv_flow_imp.id(26732418484954010) -,p_css_classes=>'t-Tabs--small' -,p_group_id=>wwv_flow_imp.id(17394139812259631) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26734367230954012) -,p_theme_id=>42 -,p_name=>'ADD_ACTIONS' -,p_display_name=>'Add Actions' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(26734045467954012) -,p_css_classes=>'js-addActions' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26734519086954012) -,p_theme_id=>42 -,p_name=>'BEHAVE_LIKE_TABS' -,p_display_name=>'Behave Like Tabs' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(26734045467954012) -,p_css_classes=>'js-tabLike' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26734939981954013) -,p_theme_id=>42 -,p_name=>'SHOW_SUB_MENU_ICONS' -,p_display_name=>'Show Sub Menu Icons' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(26734045467954012) -,p_css_classes=>'js-showSubMenuIcons' -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26735607542954013) -,p_theme_id=>42 -,p_name=>'LABEL_INLINE_LG' -,p_display_name=>'Display labels inline' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26735063243954013) -,p_css_classes=>'t-NavTabs--inlineLabels-lg' -,p_group_id=>wwv_flow_imp.id(17390919771259629) -,p_template_types=>'LIST' -,p_help_text=>'Display the label inline with the icon and badge' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26735747996954014) -,p_theme_id=>42 -,p_name=>'LABEL_ABOVE_LG' -,p_display_name=>'Display labels above' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26735063243954013) -,p_css_classes=>'t-NavTabs--stacked' -,p_group_id=>wwv_flow_imp.id(17390919771259629) -,p_template_types=>'LIST' -,p_help_text=>'Display the label stacked above the icon and badge' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26736001834954014) -,p_theme_id=>42 -,p_name=>'NO_LABEL_LG' -,p_display_name=>'Do not display labels' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26735063243954013) -,p_css_classes=>'t-NavTabs--hiddenLabels-lg' -,p_group_id=>wwv_flow_imp.id(17390919771259629) -,p_template_types=>'LIST' -,p_help_text=>'Hides the label for the list item' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26736357465954014) -,p_theme_id=>42 -,p_name=>'DISPLAY_LABELS_SM' -,p_display_name=>'Display labels' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26735063243954013) -,p_css_classes=>'t-NavTabs--displayLabels-sm' -,p_group_id=>wwv_flow_imp.id(17393734153259630) -,p_template_types=>'LIST' -,p_help_text=>'Displays the label for the list items below the icon' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26736602018954014) -,p_theme_id=>42 -,p_name=>'HIDE_LABELS_SM' -,p_display_name=>'Do not display labels' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26735063243954013) -,p_css_classes=>'t-NavTabs--hiddenLabels-sm' -,p_group_id=>wwv_flow_imp.id(17393734153259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26737153748954015) -,p_theme_id=>42 -,p_name=>'ALLSTEPS' -,p_display_name=>'All Steps' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26736624768954014) -,p_css_classes=>'t-WizardSteps--displayLabels' -,p_group_id=>wwv_flow_imp.id(17392977941259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26737351201954015) -,p_theme_id=>42 -,p_name=>'CURRENTSTEPONLY' -,p_display_name=>'Current Step Only' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26736624768954014) -,p_css_classes=>'t-WizardSteps--displayCurrentLabelOnly' -,p_group_id=>wwv_flow_imp.id(17392977941259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26737573258954015) -,p_theme_id=>42 -,p_name=>'HIDELABELS' -,p_display_name=>'Hide Labels' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(26736624768954014) -,p_css_classes=>'t-WizardSteps--hideLabels' -,p_group_id=>wwv_flow_imp.id(17392977941259630) -,p_template_types=>'LIST' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26737793298954015) -,p_theme_id=>42 -,p_name=>'WIZARD_PROGRESS_LINKS' -,p_display_name=>'Make Wizard Steps Clickable' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(26736624768954014) -,p_css_classes=>'js-wizardProgressLinks' -,p_template_types=>'LIST' -,p_help_text=>'This option will make the wizard steps clickable links.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26738005560954015) -,p_theme_id=>42 -,p_name=>'VERTICAL_LIST' -,p_display_name=>'Vertical Orientation' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26736624768954014) -,p_css_classes=>'t-WizardSteps--vertical' -,p_template_types=>'LIST' -,p_help_text=>'Displays the wizard progress list in a vertical orientation and is suitable for displaying within a side column of a page.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26739173817954027) -,p_theme_id=>42 -,p_name=>'SPIN' -,p_display_name=>'Spin' -,p_display_sequence=>10 -,p_button_template_id=>wwv_flow_imp.id(26738711133954024) -,p_css_classes=>'t-Button--hoverIconSpin' -,p_group_id=>wwv_flow_imp.id(17380549304259624) -,p_template_types=>'BUTTON' -,p_help_text=>'The icon will spin on button hover or focus.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26739405939954028) -,p_theme_id=>42 -,p_name=>'PUSH' -,p_display_name=>'Push' -,p_display_sequence=>20 -,p_button_template_id=>wwv_flow_imp.id(26738711133954024) -,p_css_classes=>'t-Button--hoverIconPush' -,p_group_id=>wwv_flow_imp.id(17380549304259624) -,p_template_types=>'BUTTON' -,p_help_text=>'The icon will animate to the right or left on button hover or focus.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26739965241954028) -,p_theme_id=>42 -,p_name=>'LEFTICON' -,p_display_name=>'Left' -,p_display_sequence=>10 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--iconLeft' -,p_group_id=>wwv_flow_imp.id(17380955474259624) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26740197435954028) -,p_theme_id=>42 -,p_name=>'RIGHTICON' -,p_display_name=>'Right' -,p_display_sequence=>20 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--iconRight' -,p_group_id=>wwv_flow_imp.id(17380955474259624) -,p_template_types=>'BUTTON' -,p_is_advanced=>'N' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26740338705954029) -,p_theme_id=>42 -,p_name=>'HIDE_LABEL_ON_MOBILE' -,p_display_name=>'Hide Label on Mobile' -,p_display_sequence=>10 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--mobileHideLabel' -,p_template_types=>'BUTTON' -,p_help_text=>'This template options hides the button label on small screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26740553652954029) -,p_theme_id=>42 -,p_name=>'SPIN' -,p_display_name=>'Spin' -,p_display_sequence=>10 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--hoverIconSpin' -,p_group_id=>wwv_flow_imp.id(17380549304259624) -,p_template_types=>'BUTTON' -,p_help_text=>'The icon will spin on button hover or focus.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26740711798954029) -,p_theme_id=>42 -,p_name=>'PUSH' -,p_display_name=>'Push' -,p_display_sequence=>20 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--hoverIconPush' -,p_group_id=>wwv_flow_imp.id(17380549304259624) -,p_template_types=>'BUTTON' -,p_help_text=>'The icon will animate to the right or left on button hover or focus.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26923073364707178) -,p_theme_id=>42 -,p_name=>'HIDEREGIONHEADER' -,p_display_name=>'Hidden but accessible' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-ContentBlock--hideHeader' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(26923637725707179) -,p_theme_id=>42 -,p_name=>'HIDDENHEADERNOAT' -,p_display_name=>'Hidden' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26673949162953943) -,p_css_classes=>'t-Region--removeHeader js-removeLandmark' -,p_group_id=>wwv_flow_imp.id(17404489065259636) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27041100258707277) -,p_theme_id=>42 -,p_name=>'RATIO_AUTO' -,p_display_name=>'Auto' -,p_display_sequence=>100 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--auto' -,p_group_id=>wwv_flow_imp.id(17407337573259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27041439328707278) -,p_theme_id=>42 -,p_name=>'RATIO_1_1' -,p_display_name=>'1:1 (Square)' -,p_display_sequence=>110 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--1x1' -,p_group_id=>wwv_flow_imp.id(17407337573259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27041882851707278) -,p_theme_id=>42 -,p_name=>'RATIO_16_9' -,p_display_name=>'16:9 (Widescreen)' -,p_display_sequence=>120 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--16x9' -,p_group_id=>wwv_flow_imp.id(17407337573259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27042242191707278) -,p_theme_id=>42 -,p_name=>'RATIO_4_3' -,p_display_name=>'4:3 (Standard)' -,p_display_sequence=>130 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--4x3' -,p_group_id=>wwv_flow_imp.id(17407337573259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27042633645707278) -,p_theme_id=>42 -,p_name=>'IMAGE_STRETCH' -,p_display_name=>'Image Stretch' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--stretch' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27043099765707279) -,p_theme_id=>42 -,p_name=>'SCALE_CONTAIN' -,p_display_name=>'Contain' -,p_display_sequence=>200 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--contain' -,p_group_id=>wwv_flow_imp.id(17407721917259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27043341696707279) -,p_theme_id=>42 -,p_name=>'SCALE_COVER' -,p_display_name=>'Cover' -,p_display_sequence=>210 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--cover' -,p_group_id=>wwv_flow_imp.id(17407721917259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27043790575707279) -,p_theme_id=>42 -,p_name=>'SCALE_FILL' -,p_display_name=>'Fill' -,p_display_sequence=>220 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--fill' -,p_group_id=>wwv_flow_imp.id(17407721917259638) -,p_template_types=>'REGION' -); -end; -/ -begin -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27044154072707280) -,p_theme_id=>42 -,p_name=>'SCALE_DOWN' -,p_display_name=>'Scale Down' -,p_display_sequence=>230 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--scale-down' -,p_group_id=>wwv_flow_imp.id(17407721917259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27044553809707280) -,p_theme_id=>42 -,p_name=>'SHAPE_SQUARE' -,p_display_name=>'Square' -,p_display_sequence=>300 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--square' -,p_group_id=>wwv_flow_imp.id(17408096697259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27044978349707280) -,p_theme_id=>42 -,p_name=>'SHAPE_ROUNDED' -,p_display_name=>'Rounded' -,p_display_sequence=>310 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--rounded' -,p_group_id=>wwv_flow_imp.id(17408096697259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27045351095707280) -,p_theme_id=>42 -,p_name=>'SHAPE_CIRCLE' -,p_display_name=>'Circle' -,p_display_sequence=>320 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--circle' -,p_group_id=>wwv_flow_imp.id(17408096697259638) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27045762190707280) -,p_theme_id=>42 -,p_name=>'RATIO_2_1' -,p_display_name=>'2:1 (Univisium)' -,p_display_sequence=>140 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--2x1' -,p_group_id=>wwv_flow_imp.id(17407337573259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27046131906707281) -,p_theme_id=>42 -,p_name=>'FILTER_NONE' -,p_display_name=>'None' -,p_display_sequence=>400 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--noFilter' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27046561428707281) -,p_theme_id=>42 -,p_name=>'FILTER_GRAYSCALE' -,p_display_name=>'Grayscale' -,p_display_sequence=>410 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--grayscale' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27046939630707281) -,p_theme_id=>42 -,p_name=>'FILTER_SEPIA' -,p_display_name=>'Sepia' -,p_display_sequence=>420 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--sepia' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27047377890707281) -,p_theme_id=>42 -,p_name=>'FILTER_BLUR' -,p_display_name=>'Blur' -,p_display_sequence=>430 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--blur' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27047764726707282) -,p_theme_id=>42 -,p_name=>'FILTER_INVERT' -,p_display_name=>'Invert' -,p_display_sequence=>440 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--invert' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27048181805707282) -,p_theme_id=>42 -,p_name=>'FILTER_SATURATE' -,p_display_name=>'Saturate' -,p_display_sequence=>450 -,p_region_template_id=>wwv_flow_imp.id(27039607129707265) -,p_css_classes=>'t-ImageRegion--saturate' -,p_group_id=>wwv_flow_imp.id(17406932809259637) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27050412357707284) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'u-colors' -,p_template_types=>'REGION' -,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within search results.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27050839001707284) -,p_theme_id=>42 -,p_name=>'RESULT_APPEARANCE_BOXED' -,p_display_name=>'Boxed' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'t-ResultsRegion--boxed' -,p_group_id=>wwv_flow_imp.id(17413734186259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27051260539707284) -,p_theme_id=>42 -,p_name=>'RESULT_APPEARANCE_FLAT' -,p_display_name=>'Flat' -,p_display_sequence=>2 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'t-ResultsRegion--flat' -,p_group_id=>wwv_flow_imp.id(17413734186259641) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27051668925707285) -,p_theme_id=>42 -,p_name=>'ICON_SIZE_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'t-ResultsRegion--iconSm' -,p_group_id=>wwv_flow_imp.id(17406516599259637) -,p_template_types=>'REGION' -,p_help_text=>'Sets the icon size to small (16px).' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27052071440707285) -,p_theme_id=>42 -,p_name=>'ICON_SIZE_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>2 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'t-ResultsRegion--iconMd' -,p_group_id=>wwv_flow_imp.id(17406516599259637) -,p_template_types=>'REGION' -,p_help_text=>'Sets the icon size to medium (32px).' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27052455212707285) -,p_theme_id=>42 -,p_name=>'ICON_SIZE_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>3 -,p_region_template_id=>wwv_flow_imp.id(27048447620707282) -,p_css_classes=>'t-ResultsRegion--iconLg' -,p_group_id=>wwv_flow_imp.id(17406516599259637) -,p_template_types=>'REGION' -,p_help_text=>'Sets the icon size to large (64px).' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27054802971707287) -,p_theme_id=>42 -,p_name=>'STACK_MOBILE' -,p_display_name=>'Stack on Mobile' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--stackMobile' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27055149061707288) -,p_theme_id=>42 -,p_name=>'WRAP_ITEMS' -,p_display_name=>'Wrap Items' -,p_display_sequence=>2 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--wrap' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27055531732707288) -,p_theme_id=>42 -,p_name=>'ALIGNMENT_START' -,p_display_name=>'Start' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--alignStart' -,p_group_id=>wwv_flow_imp.id(17399376990259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27055993947707288) -,p_theme_id=>42 -,p_name=>'ALIGNMENT_CENTER' -,p_display_name=>'Center' -,p_display_sequence=>11 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--alignCenter' -,p_group_id=>wwv_flow_imp.id(17399376990259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27056326737707288) -,p_theme_id=>42 -,p_name=>'ALIGNMENT_END' -,p_display_name=>'End' -,p_display_sequence=>12 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--alignEnd' -,p_group_id=>wwv_flow_imp.id(17399376990259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(27056764200707289) -,p_theme_id=>42 -,p_name=>'ALIGNMENT_STRETCH' -,p_display_name=>'Stretch' -,p_display_sequence=>13 -,p_region_template_id=>wwv_flow_imp.id(27052808951707285) -,p_css_classes=>'t-ItemContainer--alignStretch' -,p_group_id=>wwv_flow_imp.id(17399376990259633) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28960791076125830) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'t-Dialog--noPadding' -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28961210108125830) -,p_theme_id=>42 -,p_name=>'POSITION_END' -,p_display_name=>'End' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--pullOutEnd' -,p_group_id=>wwv_flow_imp.id(17396979068259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28961538511125831) -,p_theme_id=>42 -,p_name=>'POSITION_START' -,p_display_name=>'Start' -,p_display_sequence=>10 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--pullOutStart' -,p_group_id=>wwv_flow_imp.id(17396979068259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28962008197125831) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--sm' -,p_group_id=>wwv_flow_imp.id(17395314571259631) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28962405850125832) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--md' -,p_group_id=>wwv_flow_imp.id(17395314571259631) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28962712798125832) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>30 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--lg' -,p_group_id=>wwv_flow_imp.id(17395314571259631) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(28963180213125832) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_EXTRA_LARGE' -,p_display_name=>'Extra Large' -,p_display_sequence=>40 -,p_page_template_id=>wwv_flow_imp.id(28958831405125814) -,p_css_classes=>'js-dialog-class-t-Drawer--xl' -,p_group_id=>wwv_flow_imp.id(17395314571259631) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29074705119125932) -,p_theme_id=>42 -,p_name=>'NONE' -,p_display_name=>'None' -,p_display_sequence=>5 -,p_region_template_id=>wwv_flow_imp.id(26678094828953948) -,p_css_classes=>'js-dialog-nosize' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29160704017126007) -,p_theme_id=>42 -,p_name=>'MODAL' -,p_display_name=>'Modal' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-modal' -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29161012066126008) -,p_theme_id=>42 -,p_name=>'REMOVE_BODY_PADDING' -,p_display_name=>'Remove Body Padding' -,p_display_sequence=>5 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'t-DialogRegion--noPadding' -,p_template_types=>'REGION' -,p_help_text=>'Removes the padding around the region body.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29161473427126008) -,p_theme_id=>42 -,p_name=>'NONE' -,p_display_name=>'None (Auto)' -,p_display_sequence=>5 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-nosize' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29161811300126009) -,p_theme_id=>42 -,p_name=>'POSITION_START' -,p_display_name=>'Start' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--pullOutStart' -,p_group_id=>wwv_flow_imp.id(17412166004259640) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29162291048126009) -,p_theme_id=>42 -,p_name=>'POSITION_END' -,p_display_name=>'End' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--pullOutEnd' -,p_group_id=>wwv_flow_imp.id(17412166004259640) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29162621795126009) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_SMALL' -,p_display_name=>'Small' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--sm' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29163060995126010) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_MEDIUM' -,p_display_name=>'Medium' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--md' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29163453957126010) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_LARGE' -,p_display_name=>'Large' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--lg' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29163889119126010) -,p_theme_id=>42 -,p_name=>'DRAWER_SIZE_EXTRA_LARGE' -,p_display_name=>'Extra Large' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(29156176224126002) -,p_css_classes=>'js-dialog-class-t-Drawer--xl' -,p_group_id=>wwv_flow_imp.id(17403351221259635) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(29283457831126185) -,p_theme_id=>42 -,p_name=>'HIDE_ICON_ON_DESKTOP' -,p_display_name=>'Hide Icon on Desktop' -,p_display_sequence=>20 -,p_button_template_id=>wwv_flow_imp.id(26739530686954028) -,p_css_classes=>'t-Button--desktopHideIcon' -,p_template_types=>'BUTTON' -,p_help_text=>'This template options hides the button icon on large screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65404518490990262) -,p_theme_id=>42 -,p_name=>'PAGE_LAYOUT_SPLIT' -,p_display_name=>'Split' -,p_display_sequence=>1 -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_css_classes=>'t-LoginPage--split' -,p_group_id=>wwv_flow_imp.id(17396559520259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65405227348990264) -,p_theme_id=>42 -,p_name=>'PAGE_BACKGROUND_1' -,p_display_name=>'Background 1' -,p_display_sequence=>10 -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_css_classes=>'t-LoginPage--bg1' -,p_group_id=>wwv_flow_imp.id(17396170344259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65405984773990265) -,p_theme_id=>42 -,p_name=>'PAGE_BACKGROUND_2' -,p_display_name=>'Background 2' -,p_display_sequence=>20 -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_css_classes=>'t-LoginPage--bg2' -,p_group_id=>wwv_flow_imp.id(17396170344259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65406630133990265) -,p_theme_id=>42 -,p_name=>'PAGE_BACKGROUND_3' -,p_display_name=>'Background 3' -,p_display_sequence=>30 -,p_page_template_id=>wwv_flow_imp.id(26639724786953887) -,p_css_classes=>'t-LoginPage--bg3' -,p_group_id=>wwv_flow_imp.id(17396170344259632) -,p_template_types=>'PAGE' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65506089022990360) -,p_theme_id=>42 -,p_name=>'DISPLAY_POPUP_CALLOUT' -,p_display_name=>'Display Popup Callout' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-callout' -,p_template_types=>'REGION' -,p_help_text=>'Use this option to add display a callout for the popup. Note that callout will only be displayed if the data-parent-element custom attribute is defined.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65506639239990361) -,p_theme_id=>42 -,p_name=>'BEFORE' -,p_display_name=>'Before' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-pos-before' -,p_group_id=>wwv_flow_imp.id(17401731939259634) -,p_template_types=>'REGION' -,p_help_text=>'Positions the callout before or typically to the left of the parent.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65507361894990361) -,p_theme_id=>42 -,p_name=>'AFTER' -,p_display_name=>'After' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-pos-after' -,p_group_id=>wwv_flow_imp.id(17401731939259634) -,p_template_types=>'REGION' -,p_help_text=>'Positions the callout after or typically to the right of the parent.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65508094443990362) -,p_theme_id=>42 -,p_name=>'ABOVE' -,p_display_name=>'Above' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-pos-above' -,p_group_id=>wwv_flow_imp.id(17401731939259634) -,p_template_types=>'REGION' -,p_help_text=>'Positions the callout above or typically on top of the parent.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65508725553990362) -,p_theme_id=>42 -,p_name=>'BELOW' -,p_display_name=>'Below' -,p_display_sequence=>40 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-pos-below' -,p_group_id=>wwv_flow_imp.id(17401731939259634) -,p_template_types=>'REGION' -,p_help_text=>'Positions the callout below or typically to the bottom of the parent.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65509446696990362) -,p_theme_id=>42 -,p_name=>'INSIDE' -,p_display_name=>'Inside' -,p_display_sequence=>50 -,p_region_template_id=>wwv_flow_imp.id(26680328856953950) -,p_css_classes=>'js-popup-pos-inside' -,p_group_id=>wwv_flow_imp.id(17401731939259634) -,p_template_types=>'REGION' -,p_help_text=>'Positions the callout inside of the parent. This is useful when the parent is sufficiently large, such as a report or large region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65518871121990369) -,p_theme_id=>42 -,p_name=>'LOGIN_HEADER_ICON' -,p_display_name=>'Icon' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(26682905064953952) -,p_css_classes=>'t-Login-region--headerIcon' -,p_group_id=>wwv_flow_imp.id(17410975722259639) -,p_template_types=>'REGION' -,p_help_text=>'Displays only the Region Icon in the Login region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65519516359990369) -,p_theme_id=>42 -,p_name=>'LOGIN_HEADER_TITLE' -,p_display_name=>'Title' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(26682905064953952) -,p_css_classes=>'t-Login-region--headerTitle js-removeLandmark' -,p_group_id=>wwv_flow_imp.id(17410975722259639) -,p_template_types=>'REGION' -,p_help_text=>'Displays only the Region Title in the Login region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65520288380990369) -,p_theme_id=>42 -,p_name=>'LOGO_HEADER_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(26682905064953952) -,p_css_classes=>'t-Login-region--headerHidden js-removeLandmark' -,p_group_id=>wwv_flow_imp.id(17410975722259639) -,p_template_types=>'REGION' -,p_help_text=>'Hides both the Region Icon and Title from the Login region.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65552292122990400) -,p_theme_id=>42 -,p_name=>'STYLE_A' -,p_display_name=>'Style A' -,p_display_sequence=>10 -,p_region_template_id=>wwv_flow_imp.id(65551787007990393) -,p_css_classes=>'t-CardsRegion--styleA' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65552665559990400) -,p_theme_id=>42 -,p_name=>'STYLE_B' -,p_display_name=>'Style B' -,p_display_sequence=>20 -,p_region_template_id=>wwv_flow_imp.id(65551787007990393) -,p_css_classes=>'t-CardsRegion--styleB' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65553071273990400) -,p_theme_id=>42 -,p_name=>'STYLE_C' -,p_display_name=>'Style C' -,p_display_sequence=>30 -,p_region_template_id=>wwv_flow_imp.id(65551787007990393) -,p_css_classes=>'t-CardsRegion--styleC' -,p_group_id=>wwv_flow_imp.id(17414575542259642) -,p_template_types=>'REGION' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65553427788990400) -,p_theme_id=>42 -,p_name=>'APPLY_THEME_COLORS' -,p_display_name=>'Apply Theme Colors' -,p_display_sequence=>1 -,p_region_template_id=>wwv_flow_imp.id(65551787007990393) -,p_css_classes=>'u-colors' -,p_template_types=>'REGION' -,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within cards.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65586834324990430) -,p_theme_id=>42 -,p_name=>'DISPLAY_MENU_CALLOUT' -,p_display_name=>'Display Menu Callout' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26729842043954007) -,p_css_classes=>'js-menu-callout' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add display a callout for the menu.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65588715203990432) -,p_theme_id=>42 -,p_name=>'DISPLAY_MENU_CALLOUT' -,p_display_name=>'Display Menu Callout' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26730814912954008) -,p_css_classes=>'js-menu-callout' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add display a callout for the menu. Note that callout will only be displayed if the data-parent-element custom attribute is defined.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65590049223990434) -,p_theme_id=>42 -,p_name=>'DISPLAY_MENU_CALLOUT' -,p_display_name=>'Display Menu Callout' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26731301093954009) -,p_css_classes=>'js-menu-callout' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add display a callout for the menu.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65591326315990436) -,p_theme_id=>42 -,p_name=>'COLLAPSE_STYLE_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'js-navCollapsed--hidden' -,p_group_id=>wwv_flow_imp.id(17390125329259629) -,p_template_types=>'LIST' -,p_help_text=>'Completely hide the navigation menu when it is collapsed.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65591804026990436) -,p_theme_id=>42 -,p_name=>'ADD_ACTIONS' -,p_display_name=>'Add Actions' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'js-addActions' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65592436016990436) -,p_theme_id=>42 -,p_name=>'ICON_DEFAULT' -,p_display_name=>'Icon' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(26731493111954009) -,p_css_classes=>'js-navCollapsed--default' -,p_group_id=>wwv_flow_imp.id(17390125329259629) -,p_template_types=>'LIST' -,p_help_text=>'Display icons when the navigation menu is collapsed for large screens.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65601541536990443) -,p_theme_id=>42 -,p_name=>'DISPLAY_MENU_CALLOUT' -,p_display_name=>'Display Menu Callout' -,p_display_sequence=>50 -,p_list_template_id=>wwv_flow_imp.id(26734045467954012) -,p_css_classes=>'js-menu-callout' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add display a callout for the menu.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65609525522990460) -,p_theme_id=>42 -,p_name=>'ADD_ACTIONS' -,p_display_name=>'Add Actions' -,p_display_sequence=>1 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'js-addActions' -,p_template_types=>'LIST' -,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65609861760990462) -,p_theme_id=>42 -,p_name=>'DISPLAY_MENU_CALLOUT' -,p_display_name=>'Display Menu Callout' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'js-menu-callout' -,p_template_types=>'LIST' -,p_help_text=>'Displays a callout arrow that points to where the menu was activated from.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65610273968990462) -,p_theme_id=>42 -,p_name=>'FULL_WIDTH' -,p_display_name=>'Full Width' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--fullWidth' -,p_template_types=>'LIST' -,p_help_text=>'Stretches the menu to fill the width of the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65610662065990463) -,p_theme_id=>42 -,p_name=>'2_COLUMNS' -,p_display_name=>'2 Columns' -,p_display_sequence=>10 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layout2Cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65611095778990463) -,p_theme_id=>42 -,p_name=>'3_COLUMNS' -,p_display_name=>'3 Columns' -,p_display_sequence=>20 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layout3Cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65611438960990463) -,p_theme_id=>42 -,p_name=>'4_COLUMNS' -,p_display_name=>'4 Columns' -,p_display_sequence=>30 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layout4Cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65611883320990463) -,p_theme_id=>42 -,p_name=>'5_COLUMNS' -,p_display_name=>'5 Columns' -,p_display_sequence=>40 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layout5Cols' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65612243153990464) -,p_theme_id=>42 -,p_name=>'CUSTOM' -,p_display_name=>'Custom' -,p_display_sequence=>60 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layoutCustom' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65612641483990464) -,p_theme_id=>42 -,p_name=>'STACKED' -,p_display_name=>'Stacked' -,p_display_sequence=>60 -,p_list_template_id=>wwv_flow_imp.id(65609039854990455) -,p_css_classes=>'t-MegaMenu--layoutStacked' -,p_group_id=>wwv_flow_imp.id(17393288580259630) -,p_template_types=>'LIST' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65662671037990517) -,p_theme_id=>42 -,p_name=>'ALIGNMENT_TOP' -,p_display_name=>'Top' -,p_display_sequence=>100 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--alignTop' -,p_group_id=>wwv_flow_imp.id(17420975437259645) -,p_template_types=>'REPORT' -,p_help_text=>'Aligns the content to the top of the row. This is useful when you expect that yours rows will vary in height (e.g. some rows will have longer descriptions than others).' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65663101126990518) -,p_theme_id=>42 -,p_name=>'ACTIONS_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>60 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideActions' -,p_group_id=>wwv_flow_imp.id(17418146752259644) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Actions column from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65663425943990518) -,p_theme_id=>42 -,p_name=>'DESCRIPTION_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>40 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideDescription' -,p_group_id=>wwv_flow_imp.id(17418489393259644) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Description from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65663873819990518) -,p_theme_id=>42 -,p_name=>'ICON_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>20 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideIcon' -,p_group_id=>wwv_flow_imp.id(17419295855259644) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Icon from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65664253308990518) -,p_theme_id=>42 -,p_name=>'MISC_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>50 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideMisc' -,p_group_id=>wwv_flow_imp.id(17419714381259644) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Misc column from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65664667023990519) -,p_theme_id=>42 -,p_name=>'SELECTION_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>10 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideSelection' -,p_group_id=>wwv_flow_imp.id(17420155552259645) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Selection column from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65665068439990519) -,p_theme_id=>42 -,p_name=>'TITLE_HIDDEN' -,p_display_name=>'Hidden' -,p_display_sequence=>30 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--hideTitle' -,p_group_id=>wwv_flow_imp.id(17418945941259644) -,p_template_types=>'REPORT' -,p_help_text=>'Hides the Title from being rendered on the screen.' -); -wwv_flow_imp_shared.create_template_option( - p_id=>wwv_flow_imp.id(65665469925990519) -,p_theme_id=>42 -,p_name=>'STYLE_COMPACT' -,p_display_name=>'Compact' -,p_display_sequence=>1 -,p_report_template_id=>wwv_flow_imp.id(65662121352990510) -,p_css_classes=>'t-ContentRow--styleCompact' -,p_group_id=>wwv_flow_imp.id(17425321303259647) -,p_template_types=>'REPORT' -,p_help_text=>'This option reduces the padding and font sizes to present a compact display of the same information.' -); -end; -/ -prompt --application/shared_components/globalization/language -begin -null; -end; -/ -prompt --application/shared_components/globalization/translations -begin -null; -end; -/ -prompt --application/shared_components/logic/build_options -begin -wwv_flow_imp_shared.create_build_option( - p_id=>wwv_flow_imp.id(26763483938954182) -,p_build_option_name=>'Feature: Access Control' -,p_build_option_status=>'INCLUDE' -,p_feature_identifier=>'APPLICATION_ACCESS_CONTROL' -,p_build_option_comment=>'Incorporate role based user authentication within your application and manage username mappings to application roles.' -); -end; -/ -prompt --application/shared_components/globalization/messages -begin -null; -end; -/ -prompt --application/shared_components/globalization/dyntranslations -begin -null; -end; -/ -prompt --application/shared_components/user_interface/shortcuts/delete_confirm_msg -begin -wwv_flow_imp_shared.create_shortcut( - p_id=>wwv_flow_imp.id(26766183195954191) -,p_shortcut_name=>'DELETE_CONFIRM_MSG' -,p_shortcut_type=>'TEXT_ESCAPE_JS' -,p_shortcut=>'Would you like to perform this delete action?' -); -end; -/ -prompt --application/shared_components/security/authentications/application_express_authentication -begin -wwv_flow_imp_shared.create_authentication( - p_id=>wwv_flow_imp.id(26632739482953813) -,p_name=>'Application Express Authentication' -,p_scheme_type=>'NATIVE_APEX_ACCOUNTS' -,p_invalid_session_type=>'LOGIN' -,p_use_secure_cookie_yn=>'N' -,p_ras_mode=>0 -); -end; -/ -prompt --application/user_interfaces/combined_files -begin -null; -end; -/ -prompt --application/pages/page_00000 -begin -wwv_flow_imp_page.create_page( - p_id=>0 -,p_name=>'Global Page - Desktop' -,p_autocomplete_on_off=>'OFF' -,p_protection_level=>'D' -,p_page_component_map=>'14' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20200506182841' -); -end; -/ -prompt --application/pages/page_00001 -begin -wwv_flow_imp_page.create_page( - p_id=>1 -,p_name=>'Home' -,p_alias=>'HOME' -,p_step_title=>'OCI Usage and Cost Report' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.t-Footer{', -'display:none;', -'}')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'13' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230407003016' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(17131501807059044) -,p_plug_name=>'Cost Files Statistics' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_region_attributes=>'style="height:450px;background-color:#e8effa; font-weight:bold;"' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>3 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(20834492612305689) -,p_plug_name=>'Usage Files Statistics' -,p_region_name=>'usage' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_region_attributes=>'style="height:450px;background-color:#e8effa; font-weight:bold;"' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>3 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26774393131954325) -,p_plug_name=>'OCI Usage and Cost Report' -,p_icon_css_classes=>'app-icon' -,p_region_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26675974030953945) -,p_plug_display_sequence=>10 -,p_plug_display_point=>'REGION_POSITION_01' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28851420211457556) -,p_plug_name=>'Welcome &USER. ...' -,p_region_name=>'main' -,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' -,p_region_attributes=>'style="height:450px;background-color:#e8effa; font-weight:bold;"' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(10520363309654936) -,p_button_sequence=>30 -,p_button_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_button_name=>'Load_Statistics_cost' -,p_button_action=>'REDIRECT_PAGE' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Click for more Statistics' -,p_button_redirect_url=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.::P8_FILE_TYPE:COST' -,p_grid_new_row=>'Y' -,p_grid_column_span=>12 -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(8673997562638619) -,p_button_sequence=>90 -,p_button_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_button_name=>'Load_Statistics_Usage' -,p_button_action=>'REDIRECT_PAGE' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Click for more Statistics' -,p_button_redirect_url=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.::P8_FILE_TYPE:USAGE' -,p_grid_new_row=>'Y' -,p_grid_column_span=>12 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131303250059042) -,p_name=>'P1_USAGE_DAYS_BEHIND' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_prompt=>'Days Behind' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131397841059043) -,p_name=>'P1_USAGE_FILES_TO_LOAD' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_prompt=>'Files to Load' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131652432059045) -,p_name=>'P1_COST_LAST_LOAD_DATE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_prompt=>'Last Load Date' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131694168059046) -,p_name=>'P1_COST_MAX_FILE_DATE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_prompt=>'Max File Date' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131790164059047) -,p_name=>'P1_COST_DAYS_BEHIND' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_prompt=>'Days Behind' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17131918790059048) -,p_name=>'P1_COST_FILES_TO_LOAD' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_prompt=>'Files to Load' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17132206674059051) -,p_name=>'P1_STORAGE_GB' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(28851420211457556) -,p_display_as=>'NATIVE_HIDDEN' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17132780849059056) -,p_name=>'P1_USAGE_FILE_LOAD_TIME' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_prompt=>'File Load Time (Sec)' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17132791023059057) -,p_name=>'P1_COST_FILE_LOAD_TIME' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(17131501807059044) -,p_prompt=>'File Load Time (Sec)' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(17133023456059059) -,p_name=>'P1_VERSION' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(28851420211457556) -,p_item_default=>'23.04.11' -,p_display_as=>'NATIVE_HIDDEN' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(20834662212305690) -,p_name=>'P1_USAGE_LAST_LOAD_DATE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_prompt=>'Last Load Date' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(20834779781305691) -,p_name=>'P1_USAGE_MAX_FILE_DATE' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(20834492612305689) -,p_prompt=>'Max File Date' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#ffffff; font-weight:bold;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28851524440457557) -,p_name=>'P1_WELCOME' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(28851420211457556) -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'Usage and Cost Reports to Autonomous database version &P1_VERSION.

    ', -'Created by Adi Zohar, Feb 2020-Apr 2023


    ', -'Application github link, ', -'How To Manual link, ', -'', -'Please check ShowOCI.
    ', -'', -'
    Total Storage Used &P1_STORAGE_GB. GB
    ', -'
    Total &A_OCI_RESOURCES_COUNT. Resource IDs and Names from ShowOCI.
    ', -'
    DISCLAIMER - This is not an official Oracle application.
    ', -'For any issue or suggestion please open ticket at GitHub Issues
    ', -'', -'
    Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
    ', -'This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. ', -'You may choose either license.
    ')) -,p_source_type=>'STATIC' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="font-weight:bold;font-size:13pt"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_05=>'HTML' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(17132035491059049) -,p_process_sequence=>10 -,p_process_point=>'BEFORE_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'PreFill_Usage' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -' with data_usage as', -' (', -' select ', -' to_char(load_start_time,''DD-MON-YYYY HH24:MI'') usage_last_load_date,', -' to_char(FILE_DATE,''DD-MON-YYYY HH24:MI'') usage_max_file_date,', -' round(sysdate-FILE_DATE,1) usage_days_behind,', -' batch_total-batch_id usage_files_to_load,', -' round((LOAD_END_TIME-LOAD_START_TIME)*24*60*60,1) usage_file_load_time', -' from', -' (', -' select ', -' a.*,', -' ROW_NUMBER() OVER (order by load_start_time desc) rn ', -' from oci_load_status a', -' where file_type=''USAGE''', -' ) where rn=1', -' )', -' select ', -' usage_last_load_date,', -' usage_max_file_date,', -' usage_days_behind,', -' case ', -' when usage_files_to_load = 0 then to_char(usage_files_to_load) ', -' else to_char(usage_files_to_load)||'' (''||round(usage_files_to_load*usage_file_load_time/60,1)||'' minutes)'' ', -' end usage_files_to_load,', -' usage_file_load_time', -' into', -' :p1_usage_last_load_date,', -' :p1_usage_max_file_date,', -' :p1_usage_days_behind,', -' :p1_usage_files_to_load,', -' :p1_usage_file_load_time', -' from', -' data_usage;', -'', -' EXCEPTION', -' WHEN NO_DATA_FOUND THEN', -' return;', -'end;')) -,p_process_clob_language=>'PLSQL' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(8463412871486801) -,p_process_sequence=>20 -,p_process_point=>'BEFORE_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'PreFill_Cost' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -' with data_cost as', -' (', -' select ', -' to_char(load_start_time,''DD-MON-YYYY HH24:MI'') cost_last_load_date,', -' to_char(FILE_DATE,''DD-MON-YYYY HH24:MI'') cost_max_file_date,', -' round(sysdate-FILE_DATE,1) cost_days_behind,', -' batch_total-batch_id cost_files_to_load,', -' round((LOAD_END_TIME-LOAD_START_TIME)*24*60*60,1) cost_file_load_time', -' from', -' (', -' select ', -' a.*,', -' ROW_NUMBER() OVER (order by load_start_time desc) rn ', -' from oci_load_status a', -' where file_type=''COST''', -' ) where rn=1', -' )', -' select ', -' cost_last_load_date,', -' cost_max_file_date,', -' cost_days_behind,', -' case ', -' when cost_files_to_load = 0 then to_char(cost_files_to_load) ', -' else to_char(cost_files_to_load)||'' (''||round(cost_files_to_load*cost_file_load_time/60,1)||'' minutes)'' ', -' end cost_files_to_load,', -' cost_file_load_time', -' into', -' :p1_cost_last_load_date,', -' :p1_cost_max_file_date,', -' :p1_cost_days_behind,', -' :p1_cost_files_to_load,', -' :p1_cost_file_load_time', -' from', -' data_cost;', -' ', -' EXCEPTION', -' WHEN NO_DATA_FOUND THEN', -' return;', -'end;')) -,p_process_clob_language=>'PLSQL' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(8463598861486802) -,p_process_sequence=>30 -,p_process_point=>'BEFORE_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'PreFill_Size' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -' select round(sum(bytes/1024/1024/1024),1) STORAGE_GB ', -' into :p1_storage_gb', -' from user_segments;', -' EXCEPTION', -' WHEN NO_DATA_FOUND THEN', -' return;', -'end;')) -,p_process_clob_language=>'PLSQL' -); -end; -/ -prompt --application/pages/page_00002 -begin -wwv_flow_imp_page.create_page( - p_id=>2 -,p_name=>'Current State' -,p_step_title=>'Current State' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if ($v("P2_PRODUCT_REGION") != "") {$("#P2_PRODUCT_REGION" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_PRODUCT_SERVICE") != "") {$("#P2_PRODUCT_SERVICE" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_COMPARTMENT_TOP") != "") {$("#P2_COMPARTMENT_TOP" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_COMPARTMENT_NAME") != "") {$("#P2_COMPARTMENT_NAME").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_TAG1_SPECIAL") != "") {$("#P2_TAG1_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_TAG2_SPECIAL") != "") {$("#P2_TAG2_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_PRODUCT_RESOURCE") != "") {$("#P2_PRODUCT_RESOURCE").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_TAG_DATA") != "") {$("#P2_TAG_DATA" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_WINDOWS_OCPUS") != "") {$("#P2_WINDOWS_OCPUS" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_TAG_KEY") != "") {$("#P2_TAG_KEY" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P2_TENANT_ID") != "") {$("#P2_TENANT_ID" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }')) -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#report .t-fht-thead{', -' overflow: auto !important;', -'}', -'')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'18' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230405004408' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26823379352006433) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26826030767006460) -,p_plug_name=>'ShowGraphs' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P2_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26823608680006435) -,p_plug_name=>'Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(26826030767006460) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tenant_id,', -' prd_compartment_path, ', -' prd_compartment_name, ', -' prd_region, ', -' prd_service, ', -' prd_resource,', -' USAGE_INTERVAL_START,', -' USAGE_INTERVAL_END,', -' USG_RESOURCE_ID,', -' oci_resources.resource_name,', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS, ', -' USG_CONSUMED_MEASURE,', -' TAG_SPECIAL,', -' TAG_SPECIAL2,', -' TAGS_DATA', -'from oci_usage, oci_resources', -'where ', -' USG_RESOURCE_ID = oci_resources.resource_id (+) and', -' oci_usage.tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and ', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0', -'group by ', -' tenant_id,', -' prd_compartment_path, ', -' prd_compartment_name, ', -' prd_region, ', -' prd_service, ', -' prd_resource, ', -' USG_RESOURCE_ID,', -' oci_resources.resource_name,', -' USG_CONSUMED_UNITS, ', -' USG_CONSUMED_MEASURE,', -' USAGE_INTERVAL_START,', -' USAGE_INTERVAL_END,', -' TAGS_DATA,', -' TAG_SPECIAL,', -' TAG_SPECIAL2', -'order by 1,2,3,4', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_plug_footer=>'*** Resource Name only available from ShowOCI and not for all resources' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(26823618787006436) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'USAGE' -,p_internal_uid=>9905307857740504 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26823807396006437) -,p_db_column_name=>'PRD_COMPARTMENT_PATH' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Prd Compartment Path' -,p_column_html_expression=>'#PRD_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26823834977006438) -,p_db_column_name=>'PRD_COMPARTMENT_NAME' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Prd Compartment Name' -,p_column_html_expression=>'#PRD_COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824010113006439) -,p_db_column_name=>'PRD_REGION' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Prd Region' -,p_column_html_expression=>'#PRD_REGION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824088290006440) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Prd Service' -,p_column_html_expression=>'#PRD_SERVICE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824209011006441) -,p_db_column_name=>'PRD_RESOURCE' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Prd Resource' -,p_column_html_expression=>'#PRD_RESOURCE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824289325006442) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Usg Billed Quantity' -,p_column_html_expression=>'#USG_BILLED_QUANTITY#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824368491006443) -,p_db_column_name=>'USG_CONSUMED_UNITS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Usg Consumed Units' -,p_column_html_expression=>'#USG_CONSUMED_UNITS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26824502596006444) -,p_db_column_name=>'USG_CONSUMED_MEASURE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Usg Consumed Measure' -,p_column_html_expression=>'#USG_CONSUMED_MEASURE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26843219690982053) -,p_db_column_name=>'USAGE_INTERVAL_START' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Usage Interval Start' -,p_column_html_expression=>'#USAGE_INTERVAL_START#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(26843404921982054) -,p_db_column_name=>'USAGE_INTERVAL_END' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Usage Interval End' -,p_column_html_expression=>'#USAGE_INTERVAL_END#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(27732849582431649) -,p_db_column_name=>'TAGS_DATA' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Tags Data (Separated by #)' -,p_column_html_expression=>'#TAGS_DATA#' -,p_column_type=>'STRING' -,p_heading_alignment=>'LEFT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29224024867840161) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Tenant Id' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28707416650443156) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Tag Special 1' -,p_column_html_expression=>'#TAG_SPECIAL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(51691307214738373) -,p_db_column_name=>'TAG_SPECIAL2' -,p_display_order=>150 -,p_column_identifier=>'P' -,p_column_label=>'Tag Special 2' -,p_column_html_expression=>'#TAG_SPECIAL2#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158526543081773) -,p_db_column_name=>'USG_RESOURCE_ID' -,p_display_order=>160 -,p_column_identifier=>'O' -,p_column_label=>'Resource Id' -,p_column_html_expression=>'#USG_RESOURCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722101087336618) -,p_db_column_name=>'RESOURCE_NAME' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Resource Name' -,p_column_html_expression=>'#RESOURCE_NAME#' -,p_column_type=>'STRING' -,p_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_display_condition=>'A_OCI_RESOURCES_COUNT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(26835783869201214) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'99175' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_ID:PRD_COMPARTMENT_PATH:PRD_COMPARTMENT_NAME:PRD_REGION:PRD_SERVICE:PRD_RESOURCE:USG_BILLED_QUANTITY:USG_CONSUMED_UNITS:USG_CONSUMED_MEASURE:USAGE_INTERVAL_START:USAGE_INTERVAL_END:TAG_SPECIAL:TAG_SPECIAL2:USG_RESOURCE_ID:RESOURCE_NAME:TAGS_DA' -||'TA:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49156092066081748) -,p_plug_name=>'Charts' -,p_parent_plug_id=>wwv_flow_imp.id(26826030767006460) -,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--removeHeader js-removeLandmark:t-Region--noBorder:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P2_CHART_TABLE' -,p_plug_display_when_cond2=>'Charts' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24267897412225637) -,p_plug_name=>'Storage Chart per Tag 1 Special Data TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>130 -,p_plug_new_grid_row=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(24267956091225638) -,p_region_id=>wwv_flow_imp.id(24267897412225637) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(24268048186225639) -,p_chart_id=>wwv_flow_imp.id(24267956091225638) -,p_seq=>10 -,p_name=>'Storage per Service in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' prd_service,', -' USG_BILLED_QUANTITY', -'from ', -'(', -' select ', -' tag_special,', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE'' and', -' tag_special is not null', -' group by ', -' tag_special,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by tag_special, prd_service order by 3 desc', -') where USG_BILLED_QUANTITY > -0', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'TAG_SPECIAL' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_family=>'Arial' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24268262642225641) -,p_chart_id=>wwv_flow_imp.id(24267956091225638) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24268138029225640) -,p_chart_id=>wwv_flow_imp.id(24267956091225638) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26824647947006446) -,p_plug_name=>'OCPUs Chart per Compartment' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>100 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26824734756006447) -,p_region_id=>wwv_flow_imp.id(26824647947006446) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26824813162006448) -,p_chart_id=>wwv_flow_imp.id(26824734756006447) -,p_seq=>10 -,p_name=>'OCPUs per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_compartment_name,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_compartment_name, prd_service', -'order by 3 desc', -'', -'', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_COMPARTMENT_NAME' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26825091511006450) -,p_chart_id=>wwv_flow_imp.id(26824734756006447) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26824984317006449) -,p_chart_id=>wwv_flow_imp.id(26824734756006447) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26825132571006451) -,p_plug_name=>'Storage Chart per Compartment in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>110 -,p_plug_new_grid_row=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26825299711006452) -,p_region_id=>wwv_flow_imp.id(26825132571006451) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26825356177006453) -,p_chart_id=>wwv_flow_imp.id(26825299711006452) -,p_seq=>10 -,p_name=>'Storage per Service in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_compartment_name,', -' prd_service,', -' USG_BILLED_QUANTITY', -'from', -'( ', -' select ', -' prd_compartment_name,', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_compartment_name,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_compartment_name,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by prd_compartment_name, prd_service order by 3 desc', -') where USG_BILLED_QUANTITY>0', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_COMPARTMENT_NAME' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_family=>'Arial' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26825573779006455) -,p_chart_id=>wwv_flow_imp.id(26825299711006452) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26825507935006454) -,p_chart_id=>wwv_flow_imp.id(26825299711006452) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -end; -/ -begin -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26827716083006477) -,p_plug_name=>'OCPUs Resource Chart' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26827862673006478) -,p_region_id=>wwv_flow_imp.id(26827716083006477) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26827985614006479) -,p_chart_id=>wwv_flow_imp.id(26827862673006478) -,p_seq=>10 -,p_name=>'OCPUs per Resource' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_resource, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_resource', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_RESOURCE' -,p_color=>'#4CD964' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26828122311006481) -,p_chart_id=>wwv_flow_imp.id(26827862673006478) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26828094446006480) -,p_chart_id=>wwv_flow_imp.id(26827862673006478) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26841340568982034) -,p_plug_name=>'OCPUs Product Chart' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26841501172982035) -,p_region_id=>wwv_flow_imp.id(26841340568982034) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26841608215982036) -,p_chart_id=>wwv_flow_imp.id(26841501172982035) -,p_seq=>10 -,p_name=>'OCPUs per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_service', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_SERVICE' -,p_color=>'#4CD964' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26841615784982037) -,p_chart_id=>wwv_flow_imp.id(26841501172982035) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26841787845982038) -,p_chart_id=>wwv_flow_imp.id(26841501172982035) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26841852096982039) -,p_plug_name=>'Storage Chart in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_plug_new_grid_row=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26841951257982040) -,p_region_id=>wwv_flow_imp.id(26841852096982039) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26842054651982041) -,p_chart_id=>wwv_flow_imp.id(26841951257982040) -,p_seq=>10 -,p_name=>'Storage per Service in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select', -'prd_service, USG_BILLED_QUANTITY', -'from', -'(', -' select ', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by prd_service order by 2 desc', -') where USG_BILLED_QUANTITY>0', -'', -'')) -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_SERVICE' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26842147132982042) -,p_chart_id=>wwv_flow_imp.id(26841951257982040) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26842226334982043) -,p_chart_id=>wwv_flow_imp.id(26841951257982040) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(27731634358431637) -,p_plug_name=>'Storage Resource in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>90 -,p_plug_new_grid_row=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(27731738373431638) -,p_region_id=>wwv_flow_imp.id(27731634358431637) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(27731900911431639) -,p_chart_id=>wwv_flow_imp.id(27731738373431638) -,p_seq=>10 -,p_name=>'Storage per Resource in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select prd_resource, USG_BILLED_QUANTITY', -'from', -'(', -' select ', -' prd_resource,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_resource, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_resource,', -' USG_CONSUMED_UNITS,', -' prd_service', -' )', -' group by prd_resource order by 2 desc', -') where USG_BILLED_QUANTITY> 0 ', -'', -'')) -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'PRD_RESOURCE' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(27732004941431640) -,p_chart_id=>wwv_flow_imp.id(27731738373431638) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(27732107327431641) -,p_chart_id=>wwv_flow_imp.id(27731738373431638) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28707578211443157) -,p_plug_name=>'OCPUs Chart per Tag 1 Special Data' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>120 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28707645099443158) -,p_region_id=>wwv_flow_imp.id(28707578211443157) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28707725980443159) -,p_chart_id=>wwv_flow_imp.id(28707645099443158) -,p_seq=>10 -,p_name=>'OCPUs per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS'' and', -' tag_special is not null', -'group by ', -' tag_special, prd_service', -'order by 3 desc', -'', -'', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'TAG_SPECIAL' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28708005772443161) -,p_chart_id=>wwv_flow_imp.id(28707645099443158) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28707880400443160) -,p_chart_id=>wwv_flow_imp.id(28707645099443158) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28708099630443162) -,p_plug_name=>'Storage Chart per Tag 2 Special Data TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>150 -,p_plug_new_grid_row=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28708206464443163) -,p_region_id=>wwv_flow_imp.id(28708099630443162) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28708257134443164) -,p_chart_id=>wwv_flow_imp.id(28708206464443163) -,p_seq=>10 -,p_name=>'Storage per Service in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' prd_service,', -' USG_BILLED_QUANTITY', -'from ', -'(', -' select ', -' tag_special,', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' tag_special2 tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE'' and', -' tag_special2 is not null', -' group by ', -' tag_special2,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by tag_special, prd_service order by 3 desc', -') where USG_BILLED_QUANTITY > -0', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'TAG_SPECIAL' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_family=>'Arial' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -end; -/ -begin -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28708470304443166) -,p_chart_id=>wwv_flow_imp.id(28708206464443163) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28708379349443165) -,p_chart_id=>wwv_flow_imp.id(28708206464443163) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(51692149001738382) -,p_plug_name=>'OCPUs Chart per Tag 2 Special Data' -,p_parent_plug_id=>wwv_flow_imp.id(49156092066081748) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>140 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(24267505620225633) -,p_region_id=>wwv_flow_imp.id(51692149001738382) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(24267558836225634) -,p_chart_id=>wwv_flow_imp.id(24267505620225633) -,p_seq=>10 -,p_name=>'OCPUs per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special2 tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS'' and', -' tag_special2 is not null', -'group by ', -' tag_special2, prd_service', -'order by 3 desc', -'', -'', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'TAG_SPECIAL' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_style=>'normal' -,p_items_label_font_size=>'8' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24267766961225636) -,p_chart_id=>wwv_flow_imp.id(24267505620225633) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24267643609225635) -,p_chart_id=>wwv_flow_imp.id(24267505620225633) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49156113261081749) -,p_plug_name=>'Tables' -,p_parent_plug_id=>wwv_flow_imp.id(26826030767006460) -,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--removeHeader js-removeLandmark:t-Region--noBorder:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P2_CHART_TABLE' -,p_plug_display_when_cond2=>'Tables' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28899956735705180) -,p_plug_name=>'OCPUs Product Table' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_service', -'order by 2 desc', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCPUs' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(28900018262705181) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11981707333439249 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28900182216705182) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Service' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49154526202081733) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'OCPUs' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49163015965087358) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322448' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_SERVICE:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49154653122081734) -,p_plug_name=>'Storage Table in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select', -'prd_service, USG_BILLED_QUANTITY', -'from', -'(', -' select ', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by prd_service order by 2 desc', -') where USG_BILLED_QUANTITY>0', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49154789224081735) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32236478294815803 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49154897072081736) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Service' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49154985365081737) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Storage in TB' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49167982281122258) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322497' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_SERVICE:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49155088402081738) -,p_plug_name=>'OCPUs Resource Table' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_resource, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_resource', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49155207273081739) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32236896343815807 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49155874191081746) -,p_db_column_name=>'PRD_RESOURCE' -,p_display_order=>10 -,p_column_identifier=>'B' -,p_column_label=>' Resource' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49155329943081741) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'OCPUs' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49174774796155226) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322565' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_RESOURCE:USG_BILLED_QUANTITY:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49155479481081742) -,p_plug_name=>'Storage Resource Table in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>70 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select prd_resource, USG_BILLED_QUANTITY', -'from', -'(', -' select ', -' prd_resource,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_resource, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_resource,', -' USG_CONSUMED_UNITS,', -' prd_service', -' )', -' group by prd_resource order by 2 desc', -') where USG_BILLED_QUANTITY> 0 ', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49155583268081743) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32237272338815811 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49155952001081747) -,p_db_column_name=>'PRD_RESOURCE' -,p_display_order=>10 -,p_column_identifier=>'B' -,p_column_label=>'Resource' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49155785243081745) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Storage in TB' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49175336241155240) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322571' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_RESOURCE:USG_BILLED_QUANTITY:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49156220099081750) -,p_plug_name=>'OCPUs Per Compartment' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_compartment_path,', -' prd_compartment_name,', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' prd_compartment_path,', -' prd_compartment_name', -'order by 3 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49156323986081751) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32238013056815819 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49157023860081758) -,p_db_column_name=>'PRD_COMPARTMENT_NAME' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Compartment Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158640599081774) -,p_db_column_name=>'PRD_COMPARTMENT_PATH' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Compartment Path' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49156484916081752) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>40 -,p_column_identifier=>'A' -,p_column_label=>'OCPUs' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49190588457224753) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322723' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_COMPARTMENT_PATH:PRD_COMPARTMENT_NAME:USG_BILLED_QUANTITY:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49156661803081754) -,p_plug_name=>'Storage Per Compartment in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>90 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' prd_compartment_name,', -' prd_compartment_path,', -' USG_BILLED_QUANTITY', -'from', -'( ', -' select ', -' prd_compartment_path,', -' prd_compartment_name,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' prd_compartment_path,', -' prd_compartment_name,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' prd_compartment_path,', -' prd_compartment_name,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by prd_compartment_path, prd_compartment_name order by 3 desc', -') where USG_BILLED_QUANTITY>0', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49156723070081755) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32238412140815823 -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158764665081775) -,p_db_column_name=>'PRD_COMPARTMENT_PATH' -,p_display_order=>10 -,p_column_identifier=>'D' -,p_column_label=>'Prd Compartment Path' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49157217396081760) -,p_db_column_name=>'PRD_COMPARTMENT_NAME' -,p_display_order=>20 -,p_column_identifier=>'C' -,p_column_label=>'Compartment Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49156850533081756) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>30 -,p_column_identifier=>'A' -,p_column_label=>'Storage in TB' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49191188975224771) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322729' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_COMPARTMENT_PATH:PRD_COMPARTMENT_NAME:USG_BILLED_QUANTITY:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49157471360081762) -,p_plug_name=>'OCPUs Per Tag 1 Special' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>100 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS'' and', -' tag_special is not null', -'group by ', -' tag_special', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49157521545081763) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32239210615815831 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158287065081770) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>10 -,p_column_identifier=>'C' -,p_column_label=>'Tag Special' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49157655509081764) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'OCPUs' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49203021053255040) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322848' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(49157892815081766) -,p_plug_name=>'Storage Per Tag 1 Special in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>110 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' USG_BILLED_QUANTITY', -'from ', -'(', -' select ', -' tag_special,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE'' and', -' tag_special is not null', -' group by ', -' tag_special,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by tag_special order by 2 desc', -') where USG_BILLED_QUANTITY > -0', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49157999430081767) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32239688500815835 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158413861081772) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>10 -,p_column_identifier=>'C' -,p_column_label=>'Tag Special' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49158025153081768) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Storage in TB' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49203697753255044) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'322854' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(51691389186738374) -,p_plug_name=>'OCPUs Per Tag 2 Special' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>120 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special2 tag_special,', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS'' and', -' tag_special2 is not null', -'group by ', -' tag_special2', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(51691429580738375) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>34773118651472443 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(51691568631738376) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tag Special' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(51691643651738377) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'OCPUs' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24282838473243355) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'73646' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(51691758981738378) -,p_plug_name=>'Storage Per Tag 2 Special in TB' -,p_parent_plug_id=>wwv_flow_imp.id(49156113261081749) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>140 -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tag_special,', -' USG_BILLED_QUANTITY', -'from ', -'(', -' select ', -' tag_special,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -' from ', -' (', -' select ', -' tag_special2 tag_special,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_TENANT_ID is null or tenant_id = :P2_TENANT_ID) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE'' and', -' tag_special2 is not null', -' group by ', -' tag_special2,', -' prd_service,', -' USG_CONSUMED_UNITS', -' )', -' group by tag_special order by 2 desc', -') where USG_BILLED_QUANTITY > -0', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(51691842857738379) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>34773531928472447 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(51691943662738380) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tag Special' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(51692023248738381) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Storage in TB' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24283412850243361) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'73652' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL:USG_BILLED_QUANTITY' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26826200978006461) -,p_plug_name=>'Choose Tenant' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_source=>'No Data Found, Please Choose Tenant, Date and press Submit.' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_ZERO' -,p_plug_display_when_condition=>'P2_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(26825751161006457) -,p_button_sequence=>160 -,p_button_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_button_name=>'P2_SUBMIT' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Submit' -,p_grid_new_row=>'Y' -,p_grid_column_span=>2 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26823481013006434) -,p_name=>'P2_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'select distinct tenant_name o, tenant_name r from oci_usage_stats order by 1' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose...' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26824595096006445) -,p_name=>'P2_COMPARTMENT_NAME' -,p_item_sequence=>180 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct prd_compartment_name o, prd_compartment_name r from ', -'oci_usage ', -'where', -'tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26825615773006456) -,p_name=>'P2_COMPARTMENT_TOP' -,p_item_sequence=>120 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Top Level Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select top_level_compartment o, top_level_compartment r', -'from ', -'(', -' select distinct ', -' case when prd_compartment_path like ''%/%'' then substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ', -' else prd_compartment_path', -' end top_level_compartment ', -' from oci_usage', -' where prd_compartment_path is not null and tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -') where top_level_compartment is not null order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26826735536006467) -,p_name=>'P2_ROWS' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_use_cache_before_default=>'NO' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' count(*) cnt', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and ', -' (:P2_TAG_KEY is null or :P2_TAG_KEY=''notag'' and tags_data is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26841270134982033) -,p_name=>'P2_PRODUCT_SERVICE' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Product Service' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct prd_service o, prd_service r ', -'from ', -' oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26842409314982044) -,p_name=>'P2_PRODUCT_REGION' -,p_item_sequence=>110 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Product Region' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct prd_region o, prd_region r from ', -'oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME ', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26843040217982051) -,p_name=>'P2_DATE' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_item_default=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') R', -'from ', -'(', -' select ', -' USAGE_INTERVAL_START, ', -' dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn ', -' from oci_usage_stats ', -' where tenant_name=:P2_TENANT_NAME ', -') where rn=3', -'')) -,p_item_default_type=>'SQL_QUERY' -,p_prompt=>'Date' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') O, to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') R', -'from oci_usage_stats', -'where ', -' tenant_name=:P2_TENANT_NAME and ', -' USAGE_INTERVAL_START > trunc(sysdate-3)', -'union', -'select to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') O, to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') R', -'from oci_usage_stats ', -'where ', -' tenant_name=:P2_TENANT_NAME and ', -' USAGE_INTERVAL_START between trunc(sysdate-60) and trunc(sysdate-3) and USAGE_INTERVAL_START = trunc(USAGE_INTERVAL_START)', -'union', -'select to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') O, to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') R', -'from oci_usage_stats ', -'where ', -' tenant_name=:P2_TENANT_NAME and ', -' USAGE_INTERVAL_START < trunc(sysdate-60) and USAGE_INTERVAL_START = trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DD'')),5)=1', -'order by 1 desc')) -,p_lov_cascade_parent_items=>'P2_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27727802179219594) -,p_name=>'P2_TAG_DATA' -,p_item_sequence=>140 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tag Data Filter' -,p_display_as=>'NATIVE_TEXT_FIELD' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'N' -,p_attribute_04=>'TEXT' -,p_attribute_05=>'BOTH' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27732205751431642) -,p_name=>'P2_PRODUCT_RESOURCE' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Product Resource' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct prd_resource o, prd_resource r ', -'from ', -' oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -' and prd_resource is not null', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27732420677431645) -,p_name=>'P2_WINDOWS_OCPUS' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Inc Win OCPUs ?' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:No;N' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Yes' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27732521669431646) -,p_name=>'P2_LAST_DATE_LOADED' -,p_item_sequence=>150 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Last Date Loaded' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(max(USAGE_INTERVAL_START),''DD-MON-YYYY DY HH24:MI'') dte', -'from oci_usage_stats', -'where ', -' tenant_name=:P2_TENANT_NAME')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28708581429443167) -,p_name=>'P2_TAG1_SPECIAL' -,p_item_sequence=>190 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tag 1 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tag_special o, tag_special r ', -'from ', -' oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -'and tag_special is not null', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28849543206457537) -,p_name=>'P2_TAG_KEY' -,p_item_sequence=>130 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tag Key' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ''-No Tag-'' o, ''notag'' r from dual', -'union all', -'(', -' select distinct tag_key o, tag_key r ', -'from ', -' oci_usage_tag_keys', -'where', -' tenant_name=:P2_TENANT_NAME', -')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28896972729705150) -,p_name=>'P2_TAG_SPECIAL_KEY_DISPLAY' -,p_item_sequence=>210 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Tag 1+2 Special Keys' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select key1||case when key2 is null then null else '','' end||key2 from ', -'(select MIN(ref_name) key1 from OCI_COST_REFERENCE where tenant_name=:P2_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY'') a,', -'(select MIN(ref_name) key2 from OCI_COST_REFERENCE where tenant_name=:P2_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY2'') b')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898108358705161) -,p_name=>'P2_ROWS_DISPLAY' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Rows Filtered' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(count(*),''999,999,999'') cnt', -'from oci_usage', -'where ', -' tenant_name=:P2_TENANT_NAME and', -' (:P2_COMPARTMENT_NAME is null or prd_compartment_name = :P2_COMPARTMENT_NAME) and', -' (:P2_PRODUCT_SERVICE is null or prd_service = :P2_PRODUCT_SERVICE) and', -' (:P2_PRODUCT_REGION is null or prd_region = :P2_PRODUCT_REGION) and', -' (:P2_COMPARTMENT_TOP is null or prd_compartment_path like :P2_COMPARTMENT_TOP ||''%'') and', -' (:P2_PRODUCT_RESOURCE is null or prd_resource = :P2_PRODUCT_RESOURCE) and', -' (:P2_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and ', -' (:P2_TAG_KEY is null or tags_data like ''%#'' || :P2_TAG_KEY || ''=%'') and', -' (:P2_TAG_DATA is null or tags_data like ''%#'' || nvl(:P2_TAG_KEY,''%'') || ''='' || :P2_TAG_DATA || ''#%'') and', -' (:P2_TAG1_SPECIAL is null or tag_special = :P2_TAG1_SPECIAL) and', -' (:P2_TAG2_SPECIAL is null or tag_special2 = :P2_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'') and', -' USG_BILLED_QUANTITY>0')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28899796971705178) -,p_name=>'P2_CHART_TABLE' -,p_item_sequence=>170 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_item_default=>'Charts' -,p_prompt=>'Charts or Tables' -,p_display_as=>'NATIVE_RADIOGROUP' -,p_lov=>'STATIC:Charts;Charts,Tables;Tables' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs:t-Form-fieldContainer--radioButtonGroup' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'2' -,p_attribute_02=>'NONE' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29223963676840160) -,p_name=>'P2_TENANT_ID' -,p_item_sequence=>100 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tenant Id' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tenant_id o, tenant_id r ', -'from ', -' oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -' and tenant_id is not null', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(51691113449738372) -,p_name=>'P2_TAG2_SPECIAL' -,p_item_sequence=>200 -,p_item_plug_id=>wwv_flow_imp.id(26823379352006433) -,p_prompt=>'Tag 2 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tag_special2 o, tag_special2 r ', -'from ', -' oci_usage ', -'where', -' tenant_name=:P2_TENANT_NAME', -' and USAGE_INTERVAL_START = to_date(:P2_DATE,''YYYY-MM-DD HH24:MI'')', -'and tag_special2 is not null', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME,P2_DATE' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29196426629568580) -,p_computation_sequence=>10 -,p_computation_item=>'P2_TENANT_NAME' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select tenant_name from oci_usage where rownum<2' -,p_compute_when=>'P2_TENANT_NAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(26843208851982052) -,p_computation_sequence=>20 -,p_computation_item=>'P2_DATE' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') R', -'from ', -'(', -' select ', -' USAGE_INTERVAL_START, ', -' dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn ', -' from oci_usage_stats ', -' where tenant_name=:P2_TENANT_NAME ', -') where rn=3', -'')) -,p_compute_when=>'P2_DATE' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28899846493705179) -,p_computation_sequence=>10 -,p_computation_item=>'P2_CHART_TABLE' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Charts' -,p_compute_when=>'P2_CHART_TABLE' -,p_compute_when_type=>'ITEM_IS_NULL' -); -end; -/ -prompt --application/pages/page_00003 -begin -wwv_flow_imp_page.create_page( - p_id=>3 -,p_name=>'Usage Over Time' -,p_step_title=>'Usage Over Time' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if ($v("P3_PRODUCT_REGION") != "") {$("#P3_PRODUCT_REGION" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_PRODUCT_SERVICE") != "") {$("#P3_PRODUCT_SERVICE" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_COMPARTMENT_TOP") != "") {$("#P3_COMPARTMENT_TOP" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_COMPARTMENT_NAME") != "") {$("#P3_COMPARTMENT_NAME").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_TAG1_SPECIAL") != "") {$("#P3_TAG1_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_TAG2_SPECIAL") != "") {$("#P3_TAG2_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_PRODUCT_RESOURCE") != "") {$("#P3_PRODUCT_RESOURCE").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_TAG_DATA") != "") {$("#P3_TAG_DATA" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_WINDOWS_OCPUS") != "") {$("#P3_WINDOWS_OCPUS" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_TAG_KEY") != "") {$("#P3_TAG_KEY" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P3_TENANT_ID") != "") {$("#P3_TENANT_ID" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }')) -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#P3_DATE_TO_CONTAINER .oj-text-field-middle {background-color: #d0ffff;}', -'#P3_DATE_FROM_CONTAINER .oj-text-field-middle {background-color: #d0ffff;}', -'', -'#P3_DATE_TO_CONTAINER .oj-inputdatetime-input {font-weight:bold}', -'#P3_DATE_FROM_CONTAINER .oj-inputdatetime-input {font-weight:bold}')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'04' -,p_last_updated_by=>'ADI.ZOHAR@ORACLE.COM' -,p_last_upd_yyyymmddhh24miss=>'20230127025509' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26826902001006468) -,p_plug_name=>'ChooseTenant' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_source=>'No Data Found, Please Choose Tenant, Date and press Submit.' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_ZERO' -,p_plug_display_when_condition=>'P3_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26827078364006470) -,p_plug_name=>'ShowCharts' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P3_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(36816709911901517) -,p_plug_name=>'Daily OCPUs Chart' -,p_parent_plug_id=>wwv_flow_imp.id(26827078364006470) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26904652153185482) -,p_region_id=>wwv_flow_imp.id(36816709911901517) -,p_chart_type=>'bar' -,p_height=>'400' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26906348050185483) -,p_chart_id=>wwv_flow_imp.id(26904652153185482) -,p_seq=>10 -,p_name=>'OCPUs per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_usage,8) full(oci_usage) */ ', -' case when :P3_FRAME like ''%Hour%'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') else to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') end USAGE_INTERVAL_START,', -' prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY', -'from oci_usage', -'where ', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'') and', -' (:P3_COMPARTMENT_NAME is null or prd_compartment_name = :P3_COMPARTMENT_NAME) and', -' (:P3_COMPARTMENT_TOP is null or prd_compartment_path like :P3_COMPARTMENT_TOP ||''%'') and', -' (:P3_PRODUCT_SERVICE is null or prd_service = :P3_PRODUCT_SERVICE) and', -' (:P3_PRODUCT_REGION is null or prd_region = :P3_PRODUCT_REGION) and', -' (:P3_PRODUCT_RESOURCE is null or prd_resource = :P3_PRODUCT_RESOURCE) and', -' (:P3_PRODUCT_RESOURCE is null or prd_resource = :P3_PRODUCT_RESOURCE) and', -' (:P3_TAG1_SPECIAL is null or tag_special = :P3_TAG1_SPECIAL) and', -' (:P3_TAG2_SPECIAL is null or tag_special2 = :P3_TAG2_SPECIAL) and', -' (:P3_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P3_TAG_KEY is null or tags_data like ''%#'' || :P3_TAG_KEY || ''=%'') and', -' (:P3_TAG_DATA is null or tags_data like ''%#'' || nvl(:P3_TAG_KEY,''%'') || ''='' || :P3_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P3_DATE_FROM,''DD-MON-YYYY'') and ', -' USAGE_INTERVAL_START < to_date(:P3_DATE_TO,''DD-MON-YYYY'') and', -' (', -' :P3_FRAME=''Hour'' ', -' or ', -' :P3_FRAME=''2 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),2) = 0', -' or', -' :P3_FRAME=''3 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),3) = 0', -' or', -' :P3_FRAME=''6 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),6) = 0', -' or', -' :P3_FRAME=''12 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),12) = 0', -' or', -' :P3_FRAME=''Day'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START)', -' or', -' :P3_FRAME=''2 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),2) = 0', -' or', -' :P3_FRAME=''3 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),3) = 0', -' or', -' :P3_FRAME=''5 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),5) = 0', -' or', -' :P3_FRAME=''7 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),7) = 0', -' or', -' :P3_FRAME=''14 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),14) = 0', -' or', -' :P3_FRAME=''30 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),30) = 0', -' ) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''OCPUS''', -'group by ', -' case when :P3_FRAME like ''%Hour%'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') else to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') end,', -' prd_service', -'order by 2 desc', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'USAGE_INTERVAL_START' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26905197661185482) -,p_chart_id=>wwv_flow_imp.id(26904652153185482) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26905747953185483) -,p_chart_id=>wwv_flow_imp.id(26904652153185482) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(36817221439901522) -,p_plug_name=>'Daily Storage Chart in TB' -,p_parent_plug_id=>wwv_flow_imp.id(26827078364006470) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(26907281149185484) -,p_region_id=>wwv_flow_imp.id(36817221439901522) -,p_chart_type=>'bar' -,p_height=>'400' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(26908970581185485) -,p_chart_id=>wwv_flow_imp.id(26907281149185484) -,p_seq=>10 -,p_name=>'Storage per Service in TB' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' USAGE_INTERVAL_START,', -' prd_service,', -' round(sum(', -' case ', -' when USG_CONSUMED_UNITS = ''BYTES'' then USG_BILLED_QUANTITY/1000/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''KB'' then USG_BILLED_QUANTITY/1000/1000/1000', -' when USG_CONSUMED_UNITS = ''MB'' then USG_BILLED_QUANTITY/1000/1000', -' when USG_CONSUMED_UNITS = ''GB'' then USG_BILLED_QUANTITY/1000', -' when USG_CONSUMED_UNITS = ''TB'' then USG_BILLED_QUANTITY', -' end', -' ),2) as USG_BILLED_QUANTITY', -'from ', -'(', -' select /*+ parallel(oci_usage,8) full(oci_usage) */ ', -' case when :P3_FRAME like ''%Hour%'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') else to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') end USAGE_INTERVAL_START, prd_service, ', -' sum(', -' case when USG_CONSUMED_UNITS like ''%MS%'' ', -' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end ', -' ) as USG_BILLED_QUANTITY,', -' case ', -' when prd_service = ''DEVOPS'' then ''BYTES'' -- to handle devops metering bug', -' when USG_CONSUMED_UNITS like ''%MS%'' ', -' then replace(replace(USG_CONSUMED_UNITS,''MS'',''''),''_'','''')', -' else USG_CONSUMED_UNITS', -' end as USG_CONSUMED_UNITS', -' from oci_usage', -' where ', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'') and', -' (:P3_COMPARTMENT_NAME is null or prd_compartment_name = :P3_COMPARTMENT_NAME) and', -' (:P3_PRODUCT_SERVICE is null or prd_service = :P3_PRODUCT_SERVICE) and', -' (:P3_PRODUCT_REGION is null or prd_region = :P3_PRODUCT_REGION) and', -' (:P3_COMPARTMENT_TOP is null or prd_compartment_path like :P3_COMPARTMENT_TOP ||''%'') and', -' (:P3_PRODUCT_RESOURCE is null or prd_resource = :P3_PRODUCT_RESOURCE) and', -' (:P3_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P3_TAG1_SPECIAL is null or tag_special = :P3_TAG1_SPECIAL) and', -' (:P3_TAG2_SPECIAL is null or tag_special2 = :P3_TAG2_SPECIAL) and', -' (:P3_TENANT_ID is null or tenant_id = :P3_TENANT_ID) and', -' (:P3_TAG_KEY is null or tags_data like ''%#'' || :P3_TAG_KEY || ''=%'') and', -' (:P3_TAG_DATA is null or tags_data like ''%#'' || nvl(:P3_TAG_KEY,''%'') || ''='' || :P3_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P3_DATE_FROM,''DD-MON-YYYY'') and ', -' USAGE_INTERVAL_START < to_date(:P3_DATE_TO,''DD-MON-YYYY'') and', -' (', -' :P3_FRAME=''Hour'' ', -' or ', -' :P3_FRAME=''2 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),2) = 0', -' or', -' :P3_FRAME=''3 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),3) = 0', -' or', -' :P3_FRAME=''6 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),6) = 0', -' or', -' :P3_FRAME=''12 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),12) = 0', -' or', -' :P3_FRAME=''Day'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START)', -' or', -' :P3_FRAME=''2 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),2) = 0', -' or', -' :P3_FRAME=''3 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),3) = 0', -' or', -' :P3_FRAME=''5 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),5) = 0', -' or', -' :P3_FRAME=''7 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),7) = 0', -' or', -' :P3_FRAME=''14 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),14) = 0', -' or', -' :P3_FRAME=''30 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),30) = 0', -' ) and', -' USG_BILLED_QUANTITY>0 and', -' USG_CONSUMED_MEASURE=''STORAGE_SIZE''', -' group by ', -' case when :P3_FRAME like ''%Hour%'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24:MI'') else to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') end,', -' prd_service,', -' USG_CONSUMED_UNITS', -')', -'group by USAGE_INTERVAL_START,prd_service order by 1,2 desc', -'', -'', -'')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'USG_BILLED_QUANTITY' -,p_group_short_desc_column_name=>'USG_BILLED_QUANTITY' -,p_items_label_column_name=>'USAGE_INTERVAL_START' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26907747684185484) -,p_chart_id=>wwv_flow_imp.id(26907281149185484) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(26908369682185484) -,p_chart_id=>wwv_flow_imp.id(26907281149185484) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(36798748694925916) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(26825941547006459) -,p_button_sequence=>150 -,p_button_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_button_name=>'P3_BUTTON' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Submit' -,p_grid_new_row=>'Y' -,p_grid_column_span=>2 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(24268350992225642) -,p_name=>'P3_TAG2_SPECIAL' -,p_item_sequence=>200 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Tag 2 Special' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_TAG_SPECIAL2''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26826924487006469) -,p_name=>'P3_ROWS' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_use_cache_before_default=>'NO' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_usage,8) full(oci_usage) */', -' count(*) cnt', -'from oci_usage', -'where ', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'') and', -' (:P3_COMPARTMENT_NAME is null or prd_compartment_name = :P3_COMPARTMENT_NAME) and', -' (:P3_COMPARTMENT_TOP is null or prd_compartment_path like :P3_COMPARTMENT_TOP ||''%'') and', -' (:P3_PRODUCT_SERVICE is null or prd_service = :P3_PRODUCT_SERVICE) and', -' (:P3_PRODUCT_REGION is null or prd_region = :P3_PRODUCT_REGION) and', -' (:P3_PRODUCT_RESOURCE is null or prd_resource = :P3_PRODUCT_RESOURCE) and', -' (:P3_WINDOWS_OCPUS is null or prd_resource not like ''%WINDOW%'') and', -' (:P3_TAG_KEY is null or tags_data like ''%#'' || :P3_TAG_KEY || ''=%'') and', -' (:P3_TAG_DATA is null or tags_data like ''%#'' || nvl(:P3_TAG_KEY,''%'') || ''=%'' || :P3_TAG_DATA || ''#'') and', -' (:P3_TAG1_SPECIAL is null or tag_special = :P3_TAG1_SPECIAL) and', -' (:P3_TAG2_SPECIAL is null or tag_special2 = :P3_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P3_DATE_FROM,''DD-MON-YYYY'') and ', -' USAGE_INTERVAL_START < to_date(:P3_DATE_TO,''DD-MON-YYYY'') and', -' USG_BILLED_QUANTITY>0', -' and (', -' :P3_FRAME=''Hour'' ', -' or ', -' :P3_FRAME=''2 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),2) = 0', -' or', -' :P3_FRAME=''3 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),3) = 0', -' or', -' :P3_FRAME=''6 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),6) = 0', -' or', -' :P3_FRAME=''12 Hours'' and mod(to_number(to_char(USAGE_INTERVAL_START,''HH24'')),12) = 0', -' or', -' :P3_FRAME=''Day'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START)', -' or', -' :P3_FRAME=''2 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),2) = 0', -' or', -' :P3_FRAME=''3 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),3) = 0', -' or', -' :P3_FRAME=''5 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),5) = 0', -' or', -' :P3_FRAME=''7 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),7) = 0', -' or', -' :P3_FRAME=''14 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),14) = 0', -' or', -' :P3_FRAME=''30 Days'' and USAGE_INTERVAL_START=trunc(USAGE_INTERVAL_START) and mod(to_number(to_char(USAGE_INTERVAL_START,''DDD'')),30) = 0', -' )')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26827621410006476) -,p_name=>'P3_LAST_DATE_LOADED' -,p_item_sequence=>140 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Last Date Loaded' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(max(USAGE_INTERVAL_START),''DD-MON-YYYY DY HH24:MI'') dte', -'from oci_usage_stats', -'where ', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26897262543185460) -,p_name=>'P3_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ''All'' o, ''ALL'' r from dual', -'union all', -'select distinct tenant_name o, tenant_name r from OCI_COST_REFERENCE order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose...' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26898051689185465) -,p_name=>'P3_PRODUCT_REGION' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Product Region' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_PRD_REGION''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26898420046185465) -,p_name=>'P3_COMPARTMENT_TOP' -,p_item_sequence=>110 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Top Level Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_PRD_COMPARTMENT_PATH''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26898842689185466) -,p_name=>'P3_COMPARTMENT_NAME' -,p_item_sequence=>180 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_PRD_COMPARTMENT_NAME''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26899265405185466) -,p_name=>'P3_PRODUCT_SERVICE' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Product' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_PRD_SERVICE''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27732647054431647) -,p_name=>'P3_TAG_DATA' -,p_item_sequence=>130 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Filter Tag Data' -,p_display_as=>'NATIVE_TEXT_FIELD' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'N' -,p_attribute_04=>'TEXT' -,p_attribute_05=>'BOTH' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27759800415626666) -,p_name=>'P3_WINDOWS_OCPUS' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Inc Win OCPUs ?' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:No;N' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Yes' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27760035798628817) -,p_name=>'P3_PRODUCT_RESOURCE' -,p_item_sequence=>120 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Product Resource' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_PRD_RESOURCE''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28877831729591080) -,p_name=>'P3_TAG_KEY' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Tag Key' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tag_key o, tag_key r ', -'from ', -' oci_usage_tag_keys', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P2_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898165784705162) -,p_name=>'P3_ROWS_DISPLAY' -,p_item_sequence=>210 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Rows Filtered' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(:P3_ROWS,''999,999,999'') from dual')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -end; -/ -begin -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898388359705164) -,p_name=>'P3_DATE_TO' -,p_is_required=>true -,p_item_sequence=>100 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'To Date' -,p_format_mask=>'DD-MON-YYYY' -,p_display_as=>'NATIVE_DATE_PICKER_APEX' -,p_cSize=>30 -,p_tag_attributes=>'style="background-color:#e0f0f0"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'POPUP' -,p_attribute_03=>'STATIC' -,p_attribute_04=>'01-JAN-2018' -,p_attribute_06=>'STATIC' -,p_attribute_07=>'31-DEC-2030' -,p_attribute_09=>'N' -,p_attribute_11=>'Y' -,p_attribute_12=>'MONTH-PICKER:YEAR-PICKER' -,p_attribute_13=>'VISIBLE' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898666967705167) -,p_name=>'P3_FRAME' -,p_item_sequence=>160 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Time Frame' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:Hour;Hour,2 Hours;2 Hours,3 Hours;3 Hours,6 Hours;6 Hours,12 Hours;12 Hours,Day;Day,2 Days;2 Days,3 Days;3 Days,5 Days;5 Days,7 Days;7 Days,14 Days;14 Days,30 Days;30 Days' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#e0f0f0"' -,p_begin_on_new_line=>'N' -,p_colspan=>1 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898883327705169) -,p_name=>'P3_TAG1_SPECIAL' -,p_item_sequence=>190 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Tag 1 Special' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_TAG_SPECIAL''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28899404817705174) -,p_name=>'P3_QUICKTIME' -,p_item_sequence=>170 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Quick Time' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:Last 2 Days (Hourly);Last 2 Days,Last 3 Days (2 Hourly);Last 3 Days,Last 14 Days (Daily);Last 14 Days,Last Month;Last Month,Last 2 Months;Last 2 Months,Last 4 Months;Last 4 Months,Last 6 Months;Last 6 Months,Last 12 Months;Last 12 Months,Last' -||' 24 Months (7 days);Last 24 Months (7 days),Last 24 Months (14 days);Last 24 Months (14 days)' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#e0f0c0"' -,p_begin_on_new_line=>'N' -,p_colspan=>1 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29224210705840162) -,p_name=>'P3_TENANT_ID' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'Tenant Id' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')', -' and ref_type=''USAGE_TENANT_ID''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P3_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(48932323116274161) -,p_name=>'P3_DATE_FROM' -,p_is_required=>true -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(36798748694925916) -,p_prompt=>'From Date' -,p_format_mask=>'DD-MON-YYYY' -,p_display_as=>'NATIVE_DATE_PICKER_APEX' -,p_cSize=>30 -,p_tag_attributes=>'style="background-color:#e0f0f0"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'POPUP' -,p_attribute_03=>'STATIC' -,p_attribute_04=>'01-JAN-2018' -,p_attribute_06=>'STATIC' -,p_attribute_07=>'31-DEC-2030' -,p_attribute_09=>'N' -,p_attribute_11=>'Y' -,p_attribute_12=>'MONTH-PICKER:YEAR-PICKER' -,p_attribute_13=>'VISIBLE' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29196359950568579) -,p_computation_sequence=>10 -,p_computation_item=>'P3_TENANT_NAME' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select tenant_name from OCI_COST_REFERENCE where rownum<2' -,p_compute_when=>'P3_TENANT_NAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28898509828705165) -,p_computation_sequence=>10 -,p_computation_item=>'P3_DATE_FROM' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_Char(trunc(max(USAGE_INTERVAL_START)-14),''DD-MON-YYYY'') from oci_usage_stats where (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')' -,p_compute_when=>'P3_DATE_FROM' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28898573686705166) -,p_computation_sequence=>20 -,p_computation_item=>'P3_DATE_TO' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(max(trunc(USAGE_INTERVAL_START)+1),''DD-MON-YYYY'') from oci_usage_stats where (tenant_name=:P3_TENANT_NAME or :P3_TENANT_NAME = ''ALL'')' -,p_compute_when=>'P3_DATE_TO' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28898738983705168) -,p_computation_sequence=>30 -,p_computation_item=>'P3_FRAME' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Day' -,p_compute_when=>'P3_FRAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_da_event( - p_id=>wwv_flow_imp.id(28899423922705175) -,p_name=>'DA_QUICK_TIME' -,p_event_sequence=>10 -,p_triggering_element_type=>'ITEM' -,p_triggering_element=>'P3_QUICKTIME' -,p_condition_element=>'P3_QUICKTIME' -,p_triggering_condition_type=>'NOT_NULL' -,p_bind_type=>'bind' -,p_execution_type=>'IMMEDIATE' -,p_bind_event_type=>'change' -); -wwv_flow_imp_page.create_page_da_action( - p_id=>wwv_flow_imp.id(28899549200705176) -,p_event_id=>wwv_flow_imp.id(28899423922705175) -,p_event_result=>'TRUE' -,p_action_sequence=>10 -,p_execute_on_page_init=>'N' -,p_action=>'NATIVE_SET_VALUE' -,p_affected_elements_type=>'ITEM' -,p_affected_elements=>'P3_DATE_FROM,P3_DATE_TO,P3_FRAME' -,p_attribute_01=>'SQL_STATEMENT' -,p_attribute_03=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' case ', -' when :P3_QUICKTIME = ''Last 2 Days'' then TO_CHAR(TRUNC(SYSDATE)-2,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 3 Days'' then TO_CHAR(TRUNC(SYSDATE)-3,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 14 Days'' then TO_CHAR(TRUNC(SYSDATE)-14,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last Month'' then TO_CHAR(TRUNC(SYSDATE)-31,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 2 Months'' then TO_CHAR(TRUNC(SYSDATE)-62,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 4 Months'' then TO_CHAR(TRUNC(SYSDATE)-122,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 6 Months'' then TO_CHAR(TRUNC(SYSDATE)-183,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 12 Months'' then TO_CHAR(TRUNC(SYSDATE)-356,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 24 Months (7 days)'' then TO_CHAR(TRUNC(SYSDATE)-712,''DD-MON-YYYY'')', -' when :P3_QUICKTIME = ''Last 24 Months (14 days)'' then TO_CHAR(TRUNC(SYSDATE)-712,''DD-MON-YYYY'')', -' end P3_DATE_FROM,', -' TO_CHAR(TRUNC(SYSDATE)+1,''DD-MON-YYYY'') P3_DATE_TO,', -' case ', -' when :P3_QUICKTIME = ''Last 2 Days'' then ''Hour''', -' when :P3_QUICKTIME = ''Last 3 Days'' then ''2 Hours''', -' when :P3_QUICKTIME = ''Last 14 Days'' then ''Day''', -' when :P3_QUICKTIME = ''Last Month'' then ''Day'' ', -' when :P3_QUICKTIME = ''Last 2 Months'' then ''Day'' ', -' when :P3_QUICKTIME = ''Last 4 Months'' then ''2 Days'' ', -' when :P3_QUICKTIME = ''Last 6 Months'' then ''3 Days'' ', -' when :P3_QUICKTIME = ''Last 12 Months'' then ''5 Days'' ', -' when :P3_QUICKTIME = ''Last 24 Months (7 days)'' then ''7 Days'' ', -' when :P3_QUICKTIME = ''Last 24 Months (14 days)'' then ''14 Days'' ', -' end P3_FRAME', -'from dual')) -,p_attribute_07=>'P3_QUICKTIME' -,p_attribute_08=>'N' -,p_attribute_09=>'N' -,p_wait_for_result=>'Y' -); -wwv_flow_imp_page.create_page_da_action( - p_id=>wwv_flow_imp.id(28899675167705177) -,p_event_id=>wwv_flow_imp.id(28899423922705175) -,p_event_result=>'TRUE' -,p_action_sequence=>20 -,p_execute_on_page_init=>'N' -,p_action=>'NATIVE_SUBMIT_PAGE' -,p_attribute_02=>'Y' -); -end; -/ -prompt --application/pages/page_00004 -begin -wwv_flow_imp_page.create_page( - p_id=>4 -,p_name=>'Cost Analysis' -,p_step_title=>'Cost Analysis' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if ($v("P4_PRODUCT_REGION") != "") {$("#P4_PRODUCT_REGION" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_PRODUCT_SERVICE") != "") {$("#P4_PRODUCT_SERVICE" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_COMPARTMENT_TOP") != "") {$("#P4_COMPARTMENT_TOP" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_COMPARTMENT_NAME") != "") {$("#P4_COMPARTMENT_NAME").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_COST_PRODUCT_SKU") != "") {$("#P4_COST_PRODUCT_SKU").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_TAG1_SPECIAL") != "") {$("#P4_TAG1_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_TAG2_SPECIAL") != "") {$("#P4_TAG2_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_TAG_DATA") != "") {$("#P4_TAG_DATA" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_TAG_KEY") != "") {$("#P4_TAG_KEY" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P4_TENANT_ID") != "") {$("#P4_TENANT_ID" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'')) -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.a-IRR-table tr td[headers*="rep_col_grey"] { background-color: #efffff; }', -'.a-IRR-table tr td[headers*="rep_col_pink"] { background-color: #ffefff; }', -'', -'#cost_explorer .t-fht-thead{ overflow: auto !important;}', -'#resource_report .t-fht-thead{ overflow: auto !important;}', -'#cost_report .t-fht-thead{ overflow: auto !important;}', -'', -'#P4_DATE_TO_CONTAINER .oj-text-field-middle {background-color: #d0ffff;}', -'#P4_DATE_FROM_CONTAINER .oj-text-field-middle {background-color: #d0ffff;}', -'', -'#P4_DATE_TO_CONTAINER .oj-inputdatetime-input {font-weight:bold}', -'#P4_DATE_FROM_CONTAINER .oj-inputdatetime-input {font-weight:bold}', -'', -'')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'18' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230401012504' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(27734864051431669) -,p_plug_name=>' Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_grid_column_span=>9 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(27735357322431674) -,p_plug_name=>'Stats Info' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody:margin-top-none:margin-bottom-none:margin-left-none:margin-right-none' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>3 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(38527154473779625) -,p_plug_name=>'ShowGraphs' -,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--removeHeader js-removeLandmark:t-Region--noUI:t-Region--scrollBody:t-Form--noPadding:margin-top-none:margin-bottom-none:margin-left-none:margin-right-none' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P4_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24268650007225645) -,p_plug_name=>'Cost Per Tag 2 Special' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>200 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 2 Special' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(24268778007225646) -,p_region_id=>wwv_flow_imp.id(24268650007225645) -,p_chart_type=>'bar' -,p_height=>'700' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(24268908472225647) -,p_chart_id=>wwv_flow_imp.id(24268778007225646) -,p_seq=>10 -,p_name=>'Cost per Special Tag 2' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special2,''No Tag'') as prd_compartment_name,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 2 Special''', -'group by ', -' nvl(tag_special2,''No Tag'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'PRD_COMPARTMENT_NAME' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>false -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24268968737225648) -,p_chart_id=>wwv_flow_imp.id(24268778007225646) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24269034412225649) -,p_chart_id=>wwv_flow_imp.id(24268778007225646) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24269140422225650) -,p_plug_name=>'Cost Per Day Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and not (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :' -||'P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day''', -'group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -'union all', -'select ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost_stats', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :P4_' -||'TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day''', -'group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -'order by 1', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Day' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Day Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24269273141225651) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7350962211959719 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24269345696225652) -,p_db_column_name=>'USAGE_DAY' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Usage Day' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24269499618225653) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24306576816956042) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'73883' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'USAGE_DAY:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24269546541225654) -,p_plug_name=>'Cost Per Day Accumulated Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' USAGE_DAY,', -' cost_my_cost,', -' sum(cost_my_cost) over (partition by null order by usage_day) cost_accumulated', -'from', -'(', -' select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -' from oci_cost', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and not (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null a' -||'nd :P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day Accumulated''', -' group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -' union all', -' select ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -' from oci_cost_stats', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :' -||'P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day Accumulated''', -' group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -')', -'order by 1', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Day Accumulated' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Day Accumulated Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24269680228225655) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7351369298959723 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24269728456225656) -,p_db_column_name=>'USAGE_DAY' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Usage Day' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24269821026225657) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24269980273225658) -,p_db_column_name=>'COST_ACCUMULATED' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Cost Accumulated' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24311829532968785) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'73936' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'USAGE_DAY:COST_MY_COST:COST_ACCUMULATED' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24270110627225659) -,p_plug_name=>'Cost Per Region Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' prd_region, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Region''', -'group by ', -' prd_region', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Region' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Region Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24270150031225660) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7351839101959728 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24270573566225664) -,p_db_column_name=>'PRD_REGION' -,p_display_order=>10 -,p_column_identifier=>'B' -,p_column_label=>'Region' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24270391926225662) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24316653084976880) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'73984' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_REGION:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24270634420225665) -,p_plug_name=>'Cost Per Service Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>100 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '') prd_service,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Service''', -'', -'group by ', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '')', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Service' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Service Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24270758213225666) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7352447283959734 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24271040548225669) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>10 -,p_column_identifier=>'B' -,p_column_label=>'Service' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24270942833225668) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24320970210986966) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74027' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_SERVICE:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24271174590225670) -,p_plug_name=>'Cost Per SKU Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>130 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' COST_PRODUCT_SKU as COST_PRODUCT_SKU,', -' min(prd_description) as prd_description, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per SKU''', -'group by ', -' COST_PRODUCT_SKU ', -'having sum(COST_MY_COST) > 0', -'order by 3 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per SKU' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per SKU Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24271307133225671) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7352996203959739 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24271424618225673) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24271580155225674) -,p_db_column_name=>'COST_PRODUCT_SKU' -,p_display_order=>30 -,p_column_identifier=>'B' -,p_column_label=>'Product SKU' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24271702358225675) -,p_db_column_name=>'PRD_DESCRIPTION' -,p_display_order=>40 -,p_column_identifier=>'C' -,p_column_label=>'Description' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24325167392996421) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74069' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'COST_PRODUCT_SKU:PRD_DESCRIPTION:COST_MY_COST:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24271743045225676) -,p_plug_name=>'Cost Per Top Compartment Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>150 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1),''(root)'') ', -' else prd_compartment_path', -' end top_level_compartment ,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Top Compartment''', -'group by ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1),''(root)'') ', -' else prd_compartment_path', -' end ', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Top Compartment' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Top Compartment Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24271819492225677) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7353508562959745 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24272269508225681) -,p_db_column_name=>'TOP_LEVEL_COMPARTMENT' -,p_display_order=>10 -,p_column_identifier=>'B' -,p_column_label=>'Top Level Compartment' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24271935166225678) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>20 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24330970850017120) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74127' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TOP_LEVEL_COMPARTMENT:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24272339794225682) -,p_plug_name=>'Cost Per Single Compartment Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>170 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(prd_compartment_path,''No Compartment'') as prd_compartment_path,', -' nvl(prd_compartment_name,''No Compartment'') as prd_compartment_name,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Single Compartment''', -'group by ', -' nvl(prd_compartment_path,''No Compartment''),', -' nvl(prd_compartment_name,''No Compartment'')', -'order by 3 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Single Compartment' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Single Compartment Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24331584870018333) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7413273940752401 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24331867350018336) -,p_db_column_name=>'PRD_COMPARTMENT_PATH' -,p_display_order=>30 -,p_column_identifier=>'B' -,p_column_label=>'Compartment Path' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24331949125018337) -,p_db_column_name=>'PRD_COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'C' -,p_column_label=>'Compartment Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24331711480018335) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>50 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24339631328031231) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74214' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRD_COMPARTMENT_PATH:PRD_COMPARTMENT_NAME:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24332101642018338) -,p_plug_name=>'Cost Per Tag 1 Special Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>190 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special,''No Tag'') as tag_special_1,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 1 Special''', -'group by ', -' nvl(tag_special,''No Tag'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 1 Special' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Tag 1 Special Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24332148401018339) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7413837471752407 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24332412185018342) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>30 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24332598936018343) -,p_db_column_name=>'TAG_SPECIAL_1' -,p_display_order=>40 -,p_column_identifier=>'B' -,p_column_label=>'Tag Special 1' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24342763121047121) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74245' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL_1:COST_MY_COST:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24332633887018344) -,p_plug_name=>'Cost Per Tag 2 Special Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>210 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special2,''No Tag'') as tag_special_2,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 2 Special''', -'group by ', -' nvl(tag_special2,''No Tag'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 2 Special' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Tag 2 Special Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24332730849018345) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7414419919752413 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24332840523018346) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24333059993018348) -,p_db_column_name=>'TAG_SPECIAL_2' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tag Special 2' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24345709653053707) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74274' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL_2:COST_MY_COST:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24333170368018349) -,p_plug_name=>'Cost Per Tag 1+2 Special' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>220 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 1+2 Special' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(24333238055018350) -,p_region_id=>wwv_flow_imp.id(24333170368018349) -,p_chart_type=>'bar' -,p_height=>'700' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(24333312043018351) -,p_chart_id=>wwv_flow_imp.id(24333238055018350) -,p_seq=>10 -,p_name=>'Cost per Special Tag 1+2' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special,''No Tag'')||'':''||nvl(tag_special2,''No Tag'') as tag_special,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 1+2 Special''', -'group by ', -' nvl(tag_special,''No Tag'')||'':''||nvl(tag_special2,''No Tag'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'TAG_SPECIAL' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>false -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24333414539018352) -,p_chart_id=>wwv_flow_imp.id(24333238055018350) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(24333549306018353) -,p_chart_id=>wwv_flow_imp.id(24333238055018350) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(24333636726018354) -,p_plug_name=>'Cost Per Tag 1+2 Special Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>230 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special,''No Tag'') tag_special_1,', -' nvl(tag_special2,''No Tag'') as tag_special_2,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 1+2 Special''', -'group by ', -' nvl(tag_special,''No Tag''),nvl(tag_special2,''No Tag'')', -'order by 3 desc', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 1+2 Special' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Tag 1+2 Special Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(24333795582018355) -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_LEFT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>7415484652752423 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24333899819018356) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24333995167018357) -,p_db_column_name=>'TAG_SPECIAL_2' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tag Special 2' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24334076093018358) -,p_db_column_name=>'TAG_SPECIAL_1' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Tag Special 1' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(24351408190086549) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'74331' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TAG_SPECIAL_1:TAG_SPECIAL_2:COST_MY_COST:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(27733171792431652) -,p_plug_name=>'Cost Per SKU' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>120 -,p_plug_new_grid_row=>false -,p_plug_new_grid_column=>false -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per SKU' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(27733266509431653) -,p_region_id=>wwv_flow_imp.id(27733171792431652) -,p_chart_type=>'donut' -,p_height=>'400' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_value_format_type=>'decimal' -,p_value_decimal_places=>1 -,p_value_format_scaling=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_pie_other_threshold=>0 -,p_pie_selection_effect=>'highlight' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(27733339555431654) -,p_chart_id=>wwv_flow_imp.id(27733266509431653) -,p_seq=>10 -,p_name=>'Cost Per Product SKU' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' COST_PRODUCT_SKU||'' ''||min(prd_description) as COST_PRODUCT_SKU,', -' min(prd_description || '' - ''||prd_resource) as prd_description, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per SKU''', -'group by ', -' COST_PRODUCT_SKU ', -'having sum(COST_MY_COST) > 0', -'order by 3 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'COST_PRODUCT_SKU' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'ALL' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -end; -/ -begin -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(27734173547431662) -,p_plug_name=>'Cost Per Top Compartment' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>140 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Top Compartment' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(27734229727431663) -,p_region_id=>wwv_flow_imp.id(27734173547431662) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(27734333647431664) -,p_chart_id=>wwv_flow_imp.id(27734229727431663) -,p_seq=>10 -,p_name=>'Cost per Top Compartment' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1),''(root)'') ', -' else prd_compartment_path', -' end top_level_compartment ,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Top Compartment''', -'group by ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1),''(root)'') ', -' else prd_compartment_path', -' end ', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'TOP_LEVEL_COMPARTMENT' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>false -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(27734492760431665) -,p_chart_id=>wwv_flow_imp.id(27734229727431663) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(27734524006431666) -,p_chart_id=>wwv_flow_imp.id(27734229727431663) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28850127040457543) -,p_plug_name=>'Cost Per Day' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Day' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28850261080457544) -,p_region_id=>wwv_flow_imp.id(28850127040457543) -,p_chart_type=>'bar' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28850331622457545) -,p_chart_id=>wwv_flow_imp.id(28850261080457544) -,p_seq=>10 -,p_name=>'Cost Per Day' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and not (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :' -||'P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day''', -'group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -'union all', -'select ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost_stats', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and COST_MY_COST > 0', -' and (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :P4_T' -||'AG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day''', -'group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -'order by 1', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'USAGE_DAY' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'auto' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28850510583457546) -,p_chart_id=>wwv_flow_imp.id(28850261080457544) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_tick_label_font_size=>'10' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28850519416457547) -,p_chart_id=>wwv_flow_imp.id(28850261080457544) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28850626294457548) -,p_plug_name=>'Cost Per Service' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>90 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Service' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28850738383457549) -,p_region_id=>wwv_flow_imp.id(28850626294457548) -,p_chart_type=>'donut' -,p_height=>'400' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_value_format_type=>'decimal' -,p_value_decimal_places=>1 -,p_value_format_scaling=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_pie_other_threshold=>0 -,p_pie_selection_effect=>'highlight' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28850859546457550) -,p_chart_id=>wwv_flow_imp.id(28850738383457549) -,p_seq=>10 -,p_name=>'Cost Per Service' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '') prd_service,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Service''', -'', -'group by ', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '')', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'PRD_SERVICE' -,p_items_label_rendered=>true -,p_items_label_position=>'insideBarEdge' -,p_items_label_display_as=>'LBL_VAL' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28897189756705152) -,p_plug_name=>'Cost Per Tag 1 Special' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>180 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Tag 1 Special' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28897277542705153) -,p_region_id=>wwv_flow_imp.id(28897189756705152) -,p_chart_type=>'bar' -,p_height=>'700' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28897376563705154) -,p_chart_id=>wwv_flow_imp.id(28897277542705153) -,p_seq=>10 -,p_name=>'Cost per Special Tag 1' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(tag_special,''No Tag'') as prd_compartment_name,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Tag 1 Special''', -'group by ', -' nvl(tag_special,''No Tag'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'PRD_COMPARTMENT_NAME' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>false -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28897499920705155) -,p_chart_id=>wwv_flow_imp.id(28897277542705153) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28897550977705156) -,p_chart_id=>wwv_flow_imp.id(28897277542705153) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29222105572840141) -,p_plug_name=>'Cost Resource Report' -,p_region_name=>'resource_report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>250 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with data as', -'(', -' select /*+ parallel(a,8) full(a) */ ', -' a.tenant_name,', -' a.tenant_id,', -' a.USG_RESOURCE_ID as RESOURCE_ID,', -' min(a.COST_PRODUCT_SKU || '' '' || replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '','''')) as PRODUCT,', -' min(prd_compartment_name) COMPARTMENT_NAME,', -' min(prd_compartment_path) COMPARTMENT_PATH,', -' min(COST_BILLING_UNIT) COST_BILLING_UNIT,', -' max(COST_UNIT_PRICE) RATE,', -' min(tags_data) as tags_data,', -' min(TAG_SPECIAL) as TAG_SPECIAL,', -' min(TAG_SPECIAL2) as TAG_SPECIAL2,', -' min(COST_CURRENCY_CODE) CURRENCY,', -' case when count(distinct USAGE_INTERVAL_START) > 0 then', -' case ', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%HOUR%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%TIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GIGA%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%TB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(PRD_DESCRIPTION)) like ''%HOUR%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(PRD_DESCRIPTION)) like ''%GIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(PRD_DESCRIPTION)) like ''%TIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%REQUESTS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%EMAILS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%ASSETS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' else null', -' end', -' end SINGLE_QUANTITY,', -' count(distinct USAGE_INTERVAL_START) HOURS_QUANTITY,', -' sum(USG_BILLED_QUANTITY) TOTAL_QUANTITY,', -' sum(COST_MY_COST_OVERAGE) OVERAGE_COST,', -' sum(COST_MY_COST) USAGE_COST,', -' sum(COST_MY_COST)*(24 * 31 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_MONTH_31,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_YEAR', -' from oci_cost a', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_COST_PRODUCT_SKU is null or a.COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and COST_MY_COST<>0', -' and :P4_REPORT_SELECTOR = ''Cost Resource Report''', -' group by ', -' a.tenant_name,a.USG_RESOURCE_ID, tenant_id', -')', -'select ', -' TENANT_NAME,', -' TENANT_ID,', -' A.RESOURCE_ID,', -' B.RESOURCE_NAME,', -' A.COMPARTMENT_NAME,', -' A.COMPARTMENT_PATH,', -' PRODUCT,', -' COST_BILLING_UNIT,', -' RATE,', -' CURRENCY,', -' SINGLE_QUANTITY,', -' HOURS_QUANTITY,', -' TOTAL_QUANTITY,', -' USAGE_COST,', -' ESTIMATE_MONTH_31,', -' ESTIMATE_YEAR,', -' tags_data,', -' TAG_SPECIAL,', -' TAG_SPECIAL2', -'from', -' data a, OCI_RESOURCES b', -'where ', -' a.resource_id = b.resource_id (+)', -'order by 1', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Resource Report' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -,p_plug_footer=>'*** Resource Name only available from ShowOCI and not for all resources' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(29222185364840142) -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12303874435574210 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535771099313438) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'L' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535871728313439) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'M' -,p_column_label=>'Tenant Id' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29223542300840156) -,p_db_column_name=>'RESOURCE_ID' -,p_display_order=>30 -,p_column_identifier=>'K' -,p_column_label=>'Resource Id' -,p_column_html_expression=>'#RESOURCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222224933840143) -,p_db_column_name=>'PRODUCT' -,p_display_order=>40 -,p_column_identifier=>'A' -,p_column_label=>'Product' -,p_column_html_expression=>'#PRODUCT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222408028840144) -,p_db_column_name=>'COST_BILLING_UNIT' -,p_display_order=>50 -,p_column_identifier=>'B' -,p_column_label=>'Cost Billing Unit' -,p_column_html_expression=>'#COST_BILLING_UNIT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222475166840145) -,p_db_column_name=>'RATE' -,p_display_order=>60 -,p_column_identifier=>'C' -,p_column_label=>'Customer Rate' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29223247145840153) -,p_db_column_name=>'CURRENCY' -,p_display_order=>70 -,p_column_identifier=>'J' -,p_column_label=>'Cur' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222566645840146) -,p_db_column_name=>'SINGLE_QUANTITY' -,p_display_order=>80 -,p_column_identifier=>'D' -,p_column_label=>'Single Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222631137840147) -,p_db_column_name=>'HOURS_QUANTITY' -,p_display_order=>90 -,p_column_identifier=>'E' -,p_column_label=>'Hours Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29222796406840148) -,p_db_column_name=>'TOTAL_QUANTITY' -,p_display_order=>100 -,p_column_identifier=>'F' -,p_column_label=>'Total Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29223001457840150) -,p_db_column_name=>'USAGE_COST' -,p_display_order=>110 -,p_column_identifier=>'G' -,p_column_label=>'Usage Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_static_id=>'rep_col_grey' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29223081699840151) -,p_db_column_name=>'ESTIMATE_MONTH_31' -,p_display_order=>120 -,p_column_identifier=>'H' -,p_column_label=>'Estimate Month 31' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29223131967840152) -,p_db_column_name=>'ESTIMATE_YEAR' -,p_display_order=>130 -,p_column_identifier=>'I' -,p_column_label=>'Estimate Year' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063428351353214) -,p_db_column_name=>'RESOURCE_NAME' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Resource Name' -,p_column_html_expression=>'#RESOURCE_NAME#' -,p_column_type=>'STRING' -,p_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_display_condition=>'A_OCI_RESOURCES_COUNT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063568168353215) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063633475353216) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721753801336614) -,p_db_column_name=>'TAGS_DATA' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Tags Data' -,p_column_html_expression=>'#TAGS_DATA#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721844888336615) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Tag Special' -,p_column_html_expression=>'#TAG_SPECIAL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721952774336616) -,p_db_column_name=>'TAG_SPECIAL2' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Tag Special2' -,p_column_html_expression=>'#TAG_SPECIAL2#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(31324419498455233) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'144062' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:COMPARTMENT_PATH:COMPARTMENT_NAME:RESOURCE_ID:RESOURCE_NAME:PRODUCT:COST_BILLING_UNIT:RATE:CURRENCY:SINGLE_QUANTITY:HOURS_QUANTITY:TOTAL_QUANTITY:USAGE_COST:ESTIMATE_MONTH_31:ESTIMATE_YEAR:TAGS_DATA:TAG_SPECIAL:TAG_SPECIAL2:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29235453984912667) -,p_plug_name=>'Cost Explorer' -,p_region_name=>'cost_explorer' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>260 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) use_hash(oci_cost,oci_resources) */ ', -' TENANT_ID,', -' USAGE_INTERVAL_START ,', -' USAGE_INTERVAL_END ,', -' FILE_ID ,', -' PRD_COMPARTMENT_ID ,', -' PRD_COMPARTMENT_NAME ,', -' PRD_COMPARTMENT_PATH ,', -' PRD_AVAILABILITY_DOMAIN ,', -' PRD_REGION ,', -' PRD_SERVICE ,', -' USG_RESOURCE_ID ,', -' USG_BILLED_QUANTITY ,', -' USG_BILLED_QUANTITY_OVERAGE,', -' COST_SUBSCRIPTION_ID ,', -' COST_PRODUCT_SKU ,', -' PRD_DESCRIPTION ,', -' COST_UNIT_PRICE ,', -' COST_UNIT_PRICE_OVERAGE ,', -' COST_MY_COST ,', -' COST_MY_COST_OVERAGE ,', -' COST_CURRENCY_CODE ,', -' COST_BILLING_UNIT ,', -' COST_OVERAGE_FLAG ,', -' decode(IS_CORRECTION,''True'',''Y'',''N'') IS_CORRECTION ,', -' TAG_SPECIAL,', -' TAG_SPECIAL2,', -' TAGS_DATA,', -' oci_resources.resource_name ', -'from ', -' oci_cost, oci_resources', -'WHERE ', -' usg_resource_id = oci_resources.resource_id (+) and ', -' (oci_cost.tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and USG_BILLED_QUANTITY <> 0', -' and :P4_REPORT_SELECTOR = ''Cost Explorer''', -'order by FILE_ID, USAGE_INTERVAL_START, PRD_COMPARTMENT_PATH, PRD_RESOURCE', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Explorer' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(29235517154912668) -,p_max_row_count=>'1000000' -,p_max_rows_per_page=>'20' -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>12317206225646736 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29236825437912681) -,p_db_column_name=>'FILE_ID' -,p_display_order=>10 -,p_column_identifier=>'D' -,p_column_label=>'File Id' -,p_column_html_expression=>'#FILE_ID#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29236651496912679) -,p_db_column_name=>'USAGE_INTERVAL_START' -,p_display_order=>30 -,p_column_identifier=>'B' -,p_column_label=>'Interval Start' -,p_column_html_expression=>'#USAGE_INTERVAL_START#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29236758792912680) -,p_db_column_name=>'USAGE_INTERVAL_END' -,p_display_order=>40 -,p_column_identifier=>'C' -,p_column_label=>'Interval End' -,p_column_html_expression=>'#USAGE_INTERVAL_END#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29237008088912682) -,p_db_column_name=>'PRD_COMPARTMENT_ID' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Id' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29468681944579233) -,p_db_column_name=>'PRD_COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#PRD_COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29468732309579234) -,p_db_column_name=>'PRD_COMPARTMENT_PATH' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#PRD_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29468814902579235) -,p_db_column_name=>'PRD_AVAILABILITY_DOMAIN' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#PRD_AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29468948675579236) -,p_db_column_name=>'PRD_REGION' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Region' -,p_column_html_expression=>'#PRD_REGION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469032013579237) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Service' -,p_column_html_expression=>'#PRD_SERVICE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469254401579239) -,p_db_column_name=>'USG_RESOURCE_ID' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Resource Id' -,p_column_html_expression=>'#USG_RESOURCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469369242579240) -,p_db_column_name=>'USG_BILLED_QUANTITY' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Billed Quantity' -,p_column_html_expression=>'#USG_BILLED_QUANTITY#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469478696579241) -,p_db_column_name=>'USG_BILLED_QUANTITY_OVERAGE' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Billed Quantity Overage' -,p_column_html_expression=>'#USG_BILLED_QUANTITY_OVERAGE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469520013579242) -,p_db_column_name=>'COST_SUBSCRIPTION_ID' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Subscription Id' -,p_column_type=>'NUMBER' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469652565579243) -,p_db_column_name=>'COST_PRODUCT_SKU' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Product SKU' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469774486579244) -,p_db_column_name=>'PRD_DESCRIPTION' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Prd Description' -,p_column_html_expression=>'#PRD_DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29235778688912670) -,p_db_column_name=>'COST_BILLING_UNIT' -,p_display_order=>180 -,p_column_identifier=>'A' -,p_column_label=>'Billing Unit' -,p_column_html_expression=>'#COST_BILLING_UNIT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469881214579245) -,p_db_column_name=>'COST_UNIT_PRICE' -,p_display_order=>190 -,p_column_identifier=>'R' -,p_column_label=>'Unit Price' -,p_column_html_expression=>'#COST_UNIT_PRICE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29469967389579246) -,p_db_column_name=>'COST_UNIT_PRICE_OVERAGE' -,p_display_order=>200 -,p_column_identifier=>'S' -,p_column_label=>'Unit Price Overage' -,p_column_html_expression=>'#COST_UNIT_PRICE_OVERAGE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470084977579247) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>210 -,p_column_identifier=>'T' -,p_column_label=>'My Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470189237579248) -,p_db_column_name=>'COST_MY_COST_OVERAGE' -,p_display_order=>220 -,p_column_identifier=>'U' -,p_column_label=>'My Cost Overage' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470255623579249) -,p_db_column_name=>'COST_CURRENCY_CODE' -,p_display_order=>230 -,p_column_identifier=>'V' -,p_column_label=>'Currency Code' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470369081579250) -,p_db_column_name=>'COST_OVERAGE_FLAG' -,p_display_order=>240 -,p_column_identifier=>'W' -,p_column_label=>'Overage Flag' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470467753579251) -,p_db_column_name=>'IS_CORRECTION' -,p_display_order=>250 -,p_column_identifier=>'X' -,p_column_label=>'Is Correction' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470519280579252) -,p_db_column_name=>'TAGS_DATA' -,p_display_order=>260 -,p_column_identifier=>'Y' -,p_column_label=>'Tags Data' -,p_column_html_expression=>'#TAGS_DATA#' -,p_column_type=>'STRING' -,p_heading_alignment=>'LEFT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29224409609840164) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>270 -,p_column_identifier=>'Z' -,p_column_label=>'Tenant Id' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28708927517443171) -,p_db_column_name=>'TAG_SPECIAL' -,p_display_order=>280 -,p_column_identifier=>'AA' -,p_column_label=>'Tag 1 Special' -,p_column_html_expression=>'#TAG_SPECIAL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(24268563162225644) -,p_db_column_name=>'TAG_SPECIAL2' -,p_display_order=>290 -,p_column_identifier=>'AB' -,p_column_label=>'Tag 2 Special' -,p_column_html_expression=>'#TAG_SPECIAL2#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722094588336617) -,p_db_column_name=>'RESOURCE_NAME' -,p_display_order=>300 -,p_column_identifier=>'AC' -,p_column_label=>'Resource Name' -,p_column_html_expression=>'#RESOURCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(29481671811594488) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'125634' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_display_rows=>20 -,p_report_columns=>'TENANT_ID:FILE_ID:USAGE_INTERVAL_START:USAGE_INTERVAL_END:PRD_COMPARTMENT_NAME:PRD_COMPARTMENT_PATH:PRD_AVAILABILITY_DOMAIN:PRD_REGION:PRD_SERVICE:COST_PRODUCT_SKU:PRD_DESCRIPTION:USG_BILLED_QUANTITY:USG_BILLED_QUANTITY_OVERAGE:COST_BILLING_UNIT:COST' -||'_UNIT_PRICE:COST_UNIT_PRICE_OVERAGE:COST_MY_COST:COST_MY_COST_OVERAGE:COST_CURRENCY_CODE:COST_OVERAGE_FLAG:IS_CORRECTION:TAG_SPECIAL:TAG_SPECIAL2:TAGS_DATA:USG_RESOURCE_ID:RESOURCE_NAME:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29291441065151158) -,p_plug_name=>'Cost Per Day Compartment and Service Report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>110 -,p_plug_grid_column_span=>6 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' prd_compartment_name COMPARTMENT_NAME,', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '') prd_service,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Day Comp and Service Report''', -'group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD''),', -' prd_compartment_name,', -' replace(nvl(prd_service,COST_PRODUCT_SKU),''_'','' '')', -'order by 1,2,3', -'', -'', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Day Comp and Service Report' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'Cost Per Day Compartment and Service Report' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(29291598742151159) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>12373287812885227 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291831393151162) -,p_db_column_name=>'USAGE_DAY' -,p_display_order=>10 -,p_column_identifier=>'C' -,p_column_label=>'Usage Day' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291933651151163) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>20 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291628858151160) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>30 -,p_column_identifier=>'A' -,p_column_label=>'Service' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291756864151161) -,p_db_column_name=>'COST_MY_COST' -,p_display_order=>40 -,p_column_identifier=>'B' -,p_column_label=>'Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(26185767070194774) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'92675' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'USAGE_DAY:COMPARTMENT_NAME:PRD_SERVICE:COST_MY_COST' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(30892408734307349) -,p_plug_name=>'Cost Per Day Accumulated' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Day Accumulated' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(30892413479307350) -,p_region_id=>wwv_flow_imp.id(30892408734307349) -,p_chart_type=>'lineWithArea' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'on' -,p_data_cursor_behavior=>'snap' -,p_hover_behavior=>'none' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(30892550383307351) -,p_chart_id=>wwv_flow_imp.id(30892413479307350) -,p_seq=>10 -,p_name=>'Cost Per Day Accumulated' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' USAGE_DAY,', -' cost_my_cost,', -' sum(cost_my_cost) over (partition by null order by usage_day) cost_accumulated', -'from', -'(', -' select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -' from oci_cost', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and not (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null ' -||'and :P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day Accumulated''', -' group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -' union all', -' select ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') as USAGE_DAY, ', -' sum(COST_MY_COST) as COST_MY_COST', -' from oci_cost_stats', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -' and (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :' -||'P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' and :P4_REPORT_SELECTOR = ''Cost Per Day Accumulated''', -' group by ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'')', -')', -'order by 1', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_ACCUMULATED' -,p_items_label_column_name=>'USAGE_DAY' -,p_color=>'#34AADC' -,p_line_style=>'solid' -,p_line_type=>'auto' -,p_marker_rendered=>'on' -,p_marker_shape=>'diamond' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'aboveMarker' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(30892695289307352) -,p_chart_id=>wwv_flow_imp.id(30892413479307350) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_tick_label_font_size=>'10' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(30892779749307353) -,p_chart_id=>wwv_flow_imp.id(30892413479307350) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_title=>'Cost Accumulated' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'bottom' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'on' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(38524732386779600) -,p_plug_name=>'Cost Report' -,p_region_name=>'cost_report' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>240 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with data as', -'(', -' select /*+ parallel(a,8) full(a) */ ', -' a.COST_PRODUCT_SKU || '' '' || min(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '','''')) as PRODUCT,', -' a.COST_PRODUCT_SKU,', -' min(COST_BILLING_UNIT) COST_BILLING_UNIT,', -' max(COST_UNIT_PRICE) RATE,', -' min(COST_CURRENCY_CODE) CURRENCY,', -' case when count(distinct USAGE_INTERVAL_START) > 0 then', -' case ', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%HOUR%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%TIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GIGA%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%GB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%TB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(PRD_DESCRIPTION)) like ''%HOUR%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(PRD_DESCRIPTION)) like ''%GIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(PRD_DESCRIPTION)) like ''%TIB%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%REQUESTS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%EMAILS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' when min(upper(nvl(COST_BILLING_UNIT,''ZZ''))) like ''%ASSETS%'' then sum(USG_BILLED_QUANTITY)/count(distinct USAGE_INTERVAL_START)*744', -' else null', -' end', -' end SINGLE_QUANTITY,', -' count(distinct USAGE_INTERVAL_START) HOURS_QUANTITY,', -' sum(USG_BILLED_QUANTITY) TOTAL_QUANTITY,', -' sum(COST_MY_COST_OVERAGE) OVERAGE_COST,', -' sum(COST_MY_COST) USAGE_COST,', -' sum(COST_MY_COST)*(24 * 31 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_MONTH_31,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_YEAR', -' from oci_cost a', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_COST_PRODUCT_SKU is null or a.COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' COST_MY_COST<>0 and', -' :P4_REPORT_SELECTOR = ''Cost Report''', -' group by ', -' a.COST_PRODUCT_SKU', -'), ', -'pubic_rate_tab as', -'(', -' select ', -' COST_PRODUCT_SKU,', -' max(RATE_MONTHLY_FLEX_PRICE) as RATE_MONTHLY_FLEX_PRICE', -' from ', -' oci_price_list', -' where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') ', -' and RATE_MONTHLY_FLEX_PRICE is not null ', -' group by COST_PRODUCT_SKU', -')', -'select ', -' A.PRODUCT,', -' A.COST_BILLING_UNIT,', -' case when RATE_MONTHLY_FLEX_PRICE = 0 then null else RATE_MONTHLY_FLEX_PRICE end PUBLIC_RATE,', -' CASE WHEN RATE_MONTHLY_FLEX_PRICE > 0 AND RATE_MONTHLY_FLEX_PRICE IS NOT NULL and RATE>0 THEN', -' ROUND((RATE_MONTHLY_FLEX_PRICE - RATE )/RATE_MONTHLY_FLEX_PRICE * 100,1)', -' ELSE NULL END PCT_MONTH,', -' RATE,', -' CURRENCY,', -' SINGLE_QUANTITY,', -' HOURS_QUANTITY,', -' TOTAL_QUANTITY,', -' USAGE_COST,', -' ESTIMATE_MONTH_31,', -' ESTIMATE_YEAR', -'from', -' data a,', -' pubic_rate_tab b', -'where ', -' a.COST_PRODUCT_SKU = b.COST_PRODUCT_SKU (+)', -'order by USAGE_COST', -'', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Report' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(28852768154457569) -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_LEFT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>11934457225191637 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28852910728457570) -,p_db_column_name=>'PRODUCT' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Product' -,p_column_html_expression=>'#PRODUCT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28852987356457571) -,p_db_column_name=>'COST_BILLING_UNIT' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Cost Billing Unit' -,p_column_html_expression=>'#COST_BILLING_UNIT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31106582903535955) -,p_db_column_name=>'PUBLIC_RATE' -,p_display_order=>30 -,p_column_identifier=>'L' -,p_column_label=>'Public Rate' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31106664092535956) -,p_db_column_name=>'PCT_MONTH' -,p_display_order=>40 -,p_column_identifier=>'M' -,p_column_label=>'% Discount' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_static_id=>'rep_col_pink' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853047467457572) -,p_db_column_name=>'RATE' -,p_display_order=>50 -,p_column_identifier=>'C' -,p_column_label=>'Customer Rate' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29470612543579253) -,p_db_column_name=>'CURRENCY' -,p_display_order=>60 -,p_column_identifier=>'K' -,p_column_label=>'Cur' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853112766457573) -,p_db_column_name=>'SINGLE_QUANTITY' -,p_display_order=>70 -,p_column_identifier=>'D' -,p_column_label=>'Single Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853243164457574) -,p_db_column_name=>'HOURS_QUANTITY' -,p_display_order=>80 -,p_column_identifier=>'E' -,p_column_label=>'Hours Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853358740457575) -,p_db_column_name=>'TOTAL_QUANTITY' -,p_display_order=>90 -,p_column_identifier=>'F' -,p_column_label=>'Total Quantity' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853584990457577) -,p_db_column_name=>'USAGE_COST' -,p_display_order=>110 -,p_column_identifier=>'H' -,p_column_label=>'Usage Cost' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D000' -,p_static_id=>'rep_col_grey' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853620024457578) -,p_db_column_name=>'ESTIMATE_MONTH_31' -,p_display_order=>120 -,p_column_identifier=>'I' -,p_column_label=>'Estimate Month 31' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28853802542457579) -,p_db_column_name=>'ESTIMATE_YEAR' -,p_display_order=>130 -,p_column_identifier=>'J' -,p_column_label=>'Estimate Year' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(29183266817598594) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'122650' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_display_rows=>100 -,p_report_columns=>'PRODUCT:COST_BILLING_UNIT:CURRENCY:PUBLIC_RATE:PCT_MONTH:RATE:SINGLE_QUANTITY:USAGE_COST:ESTIMATE_MONTH_31:ESTIMATE_YEAR' -,p_sum_columns_on_break=>'OVERAGE_COST:USAGE_COST:ESTIMATE_MONTH_31:ESTIMATE_YEAR' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(33360553192345313) -,p_application_user=>'APXWS_ALTERNATIVE' -,p_name=>'Compact' -,p_report_seq=>10 -,p_report_alias=>'164423' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'PRODUCT:CURRENCY:PCT_MONTH:RATE:SINGLE_QUANTITY:USAGE_COST:ESTIMATE_MONTH_31:ESTIMATE_YEAR' -,p_sum_columns_on_break=>'OVERAGE_COST:USAGE_COST:ESTIMATE_MONTH_31:ESTIMATE_YEAR' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(38525771653779611) -,p_plug_name=>'Cost Per Single Compartment' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>160 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Single Compartment' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28628444950039136) -,p_region_id=>wwv_flow_imp.id(38525771653779611) -,p_chart_type=>'bar' -,p_height=>'700' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'horizontal' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'value-desc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28630182199039137) -,p_chart_id=>wwv_flow_imp.id(28628444950039136) -,p_seq=>10 -,p_name=>'Cost per Single Compartment' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' nvl(prd_compartment_name,''No Compartment'') as prd_compartment_name,', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Single Compartment''', -'group by ', -' nvl(prd_compartment_name,''No Compartment'')', -'order by 2 desc', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'PRD_COMPARTMENT_NAME' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>false -,p_items_label_display_as=>'PERCENT' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28629540119039136) -,p_chart_id=>wwv_flow_imp.id(28628444950039136) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(28628987987039136) -,p_chart_id=>wwv_flow_imp.id(28628444950039136) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'none' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(38542464275755199) -,p_plug_name=>'Cost Per Region' -,p_parent_plug_id=>wwv_flow_imp.id(38527154473779625) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>70 -,p_plug_grid_column_span=>12 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P4_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Cost Per Region' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(28633671313039140) -,p_region_id=>wwv_flow_imp.id(38542464275755199) -,p_chart_type=>'donut' -,p_height=>'400' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hover_behavior=>'dim' -,p_stack=>'off' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_value_format_type=>'decimal' -,p_value_decimal_places=>1 -,p_value_format_scaling=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'off' -,p_legend_position=>'auto' -,p_overview_rendered=>'off' -,p_pie_other_threshold=>0 -,p_pie_selection_effect=>'highlight' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(28635391034039141) -,p_chart_id=>wwv_flow_imp.id(28633671313039140) -,p_seq=>10 -,p_name=>'Cost Per Region' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' prd_region, ', -' sum(COST_MY_COST) as COST_MY_COST', -'from oci_cost', -'where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' :P4_REPORT_SELECTOR = ''Cost Per Region''', -'group by ', -' prd_region', -'order by 2 desc', -'', -'', -'', -'')) -,p_series_name_column_name=>'PRD_REGION' -,p_items_value_column_name=>'COST_MY_COST' -,p_items_label_column_name=>'PRD_REGION' -,p_items_label_rendered=>true -,p_items_label_position=>'aboveMarker' -,p_items_label_display_as=>'ALL' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(38527324684779626) -,p_plug_name=>'Choose Tenant' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_source=>'No Data Found, Please Choose Tenant, Date and press Submit.' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_ZERO' -,p_plug_display_when_condition=>'P4_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(28620506880039119) -,p_button_sequence=>130 -,p_button_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_button_name=>'P4_SUBMIT' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Submit' -,p_grid_new_row=>'Y' -,p_grid_column_span=>3 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(24268489819225643) -,p_name=>'P4_TAG2_SPECIAL' -,p_item_sequence=>170 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tag 2 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''TAG_SPECIAL2''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME,P4_DATE_FROM, P4_DATE_TO' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27733100742431651) -,p_name=>'P4_COST_PRODUCT_SKU' -,p_item_sequence=>110 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Product SKU' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct replace(replace(ref_name,substr(ref_name,1,6)||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') o, substr(ref_name,1,6) r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''COST_PRODUCT_SKU''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27734684109431667) -,p_name=>'P4_DATE_FROM' -,p_is_required=>true -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'From Date' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_display_as=>'NATIVE_DATE_PICKER_APEX' -,p_cSize=>30 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'POPUP' -,p_attribute_03=>'STATIC' -,p_attribute_04=>'01-JAN-2018' -,p_attribute_06=>'STATIC' -,p_attribute_07=>'31-DEC-2025' -,p_attribute_09=>'N' -,p_attribute_11=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27734719179431668) -,p_name=>'P4_DATE_TO' -,p_is_required=>true -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'To Date (Not Inclusive)' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_display_as=>'NATIVE_DATE_PICKER_APEX' -,p_cSize=>30 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'POPUP' -,p_attribute_03=>'STATIC' -,p_attribute_04=>'01-JAN-2018' -,p_attribute_06=>'STATIC' -,p_attribute_07=>'31-DEC-2025' -,p_attribute_09=>'N' -,p_attribute_11=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(27735808000431678) -,p_name=>'P4_FULL_DAYS_BETWEEN' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Days of Data' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select to_char(count(*)/24,''99999.0'') DAYS', -'from', -'(', -' select distinct', -' USAGE_INTERVAL_START DATE_HOUR', -' from oci_cost_stats', -' where', -' (tenant_name=:P4_TENANT_NAME or ''ALL''=:P4_TENANT_NAME) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'')', -')')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28620890253039122) -,p_name=>'P4_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ''All'' o, ''ALL'' r from dual', -'union all', -'select distinct tenant_name o, tenant_name r from OCI_COST_REFERENCE order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose...' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28621704588039124) -,p_name=>'P4_COMPARTMENT_TOP' -,p_item_sequence=>100 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Top Level Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_COMPARTMENT_PATH''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28622103893039125) -,p_name=>'P4_PRODUCT_SERVICE' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Product Service' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct initcap(ref_name) o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_SERVICE''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME,P4_DATE_FROM, P4_DATE_TO' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28622879045039125) -,p_name=>'P4_ROWS' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_format_mask=>'999G999G999G999G999G999G990' -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28623213383039126) -,p_name=>'P4_PRODUCT_REGION' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Product Region' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_REGION''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28623612482039126) -,p_name=>'P4_COMPARTMENT_NAME' -,p_item_sequence=>150 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_COMPARTMENT_NAME''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28624480594039127) -,p_name=>'P4_TAG_DATA' -,p_item_sequence=>120 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tag Data Filter' -,p_display_as=>'NATIVE_TEXT_FIELD' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'N' -,p_attribute_04=>'TEXT' -,p_attribute_05=>'BOTH' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28624858489039127) -,p_name=>'P4_LAST_DATE_LOADED' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Last Date Loaded' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(max(USAGE_INTERVAL_START),''DD-MON-YY HH24:MI'') dte', -'from oci_cost_stats', -'where ', -' (tenant_name=:P4_TENANT_NAME or ''ALL''=:P4_TENANT_NAME)')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28708822602443170) -,p_name=>'P4_TAG1_SPECIAL' -,p_item_sequence=>160 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tag 1 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''TAG_SPECIAL''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME,P4_DATE_FROM, P4_DATE_TO' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28851168525457553) -,p_name=>'P4_COST' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_prompt=>'Total Cost' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 14px;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28882201880632998) -,p_name=>'P4_TAG_KEY' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tag Key' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tag_key o, tag_key r ', -'from ', -' oci_cost_tag_keys', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28897015056705151) -,p_name=>'P4_TAG_SPECIAL_KEY_DISPLAY' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Tag 1+2 Special Keys' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select key1||case when key2 is null then null else '','' end||key2 from ', -'(select MIN(ref_name) key1 from OCI_COST_REFERENCE where tenant_name=:P4_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY'') a,', -'(select MIN(ref_name) key2 from OCI_COST_REFERENCE where tenant_name=:P4_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY2'') b')) -,p_source_type=>'QUERY_COLON' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28898226724705163) -,p_name=>'P4_ROWS_DISPLAY' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_prompt=>'Cost Rows Filtered' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29224230305840163) -,p_name=>'P4_TENANT_ID' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Tenant Id' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'')', -' and ref_type=''TENANT_ID''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P4_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(30887186879283043) -,p_name=>'P4_REPORT_SELECTOR' -,p_item_sequence=>140 -,p_item_plug_id=>wwv_flow_imp.id(27734864051431669) -,p_prompt=>'Chart/Report Selector' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:Cost Per Day;Cost Per Day,Cost Per Day Accumulated;Cost Per Day Accumulated,Cost Per Region;Cost Per Region,Cost Per Service;Cost Per Service,Cost Per SKU;Cost Per SKU,Cost Per Top Compartment;Cost Per Top Compartment,Cost Per Single Compartm' -||'ent;Cost Per Single Compartment,Cost Per Tag 1 Special;Cost Per Tag 1 Special,Cost Per Tag 2 Special;Cost Per Tag 2 Special,Cost Per Tag 1+2 Special;Cost Per Tag 1+2 Special,Cost Report;Cost Report,Cost Explorer;Cost Explorer,Cost Resource Report;Cos' -||'t Resource Report,Cost Per Day Comp and Service Report;Cost Per Day Comp and Service Report' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 13px;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31104453627535934) -,p_name=>'P4_YEARLY' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(27735357322431674) -,p_prompt=>'Yearly Prediction' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 14px;"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29196073998568576) -,p_computation_sequence=>5 -,p_computation_item=>'P4_TENANT_NAME' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select tenant_name from oci_cost where rownum=1' -,p_compute_when=>'P4_TENANT_NAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -end; -/ -begin -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29196199616568577) -,p_computation_sequence=>10 -,p_computation_item=>'P4_DATE_TO' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(max(trunc(USAGE_INTERVAL_START)),''DD-MON-YYYY HH24:MI'') from oci_cost_stats where tenant_name=:P4_TENANT_NAME' -,p_compute_when=>'P4_DATE_TO' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29196298553568578) -,p_computation_sequence=>10 -,p_computation_item=>'P4_DATE_FROM' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select to_Char(trunc(max(USAGE_INTERVAL_START)-7),''DD-MON-YYYY HH24:MI'') from oci_cost_stats where tenant_name=:P4_TENANT_NAME' -,p_compute_when=>'P4_DATE_FROM' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(30892290770307348) -,p_computation_sequence=>10 -,p_computation_item=>'P4_REPORT_SELECTOR' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Cost Per Day' -,p_compute_when=>'P4_REPORT_SELECTOR' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(28708781069443169) -,p_process_sequence=>10 -,p_process_point=>'AFTER_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'PreFill' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -' select ', -' to_char(nvl(sum(COST_MY_COST),0),''999,999,999,990.00'')||'' ''||min(COST_CURRENCY_CODE) MY_COST,', -' to_char(nvl(sum(COST_YEAR),0),''999,999,999,990'')||'' ''||min(COST_CURRENCY_CODE) MY_COST_YEAR,', -' SUM(CNT) as TOTAL_ROWS,', -' to_char(SUM(CNT),''999,999,999'') as TOTAL_ROWS', -' into', -' :P4_COST,', -' :P4_YEARLY,', -' :P4_ROWS,', -' :P4_ROWS_DISPLAY', -' from', -' (', -' select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' sum(COST_MY_COST) COST_MY_COST,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) COST_YEAR,', -' min(COST_CURRENCY_CODE) COST_CURRENCY_CODE,', -' count(*) cnt', -' from oci_cost', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' (:P4_COMPARTMENT_NAME is null or prd_compartment_name = :P4_COMPARTMENT_NAME) and', -' (:P4_PRODUCT_SERVICE is null or prd_service = :P4_PRODUCT_SERVICE) and', -' (:P4_PRODUCT_REGION is null or prd_region = :P4_PRODUCT_REGION) and', -' (:P4_TENANT_ID is null or tenant_id = :P4_TENANT_ID) and', -' (:P4_COMPARTMENT_TOP is null or prd_compartment_path like :P4_COMPARTMENT_TOP ||''%'') and', -' (:P4_TAG_KEY is null or tags_data like ''%#'' || :P4_TAG_KEY || ''=%'') and', -' (:P4_TAG_DATA is null or tags_data like ''%#'' || nvl(:P4_TAG_KEY,''%'') || ''='' || :P4_TAG_DATA || ''#%'') and', -' (:P4_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P4_COST_PRODUCT_SKU) and', -' (:P4_TAG1_SPECIAL is null or TAG_SPECIAL = :P4_TAG1_SPECIAL) and', -' (:P4_TAG2_SPECIAL is null or TAG_SPECIAL2 = :P4_TAG2_SPECIAL) and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' not (:P4_TENANT_ID is null and :P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and ', -' :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' union all', -' select ', -' sum(COST_MY_COST) COST_MY_COST,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) COST_YEAR,', -' min(COST_CURRENCY_CODE) COST_CURRENCY_CODE,', -' sum(num_rows) cnt', -' from oci_cost_stats', -' where ', -' (tenant_name=:P4_TENANT_NAME or :P4_TENANT_NAME = ''ALL'') and', -' USAGE_INTERVAL_START >= to_date(:P4_DATE_FROM,''DD-MON-YYYY HH24:MI'') and USAGE_INTERVAL_START < to_date(:P4_DATE_TO,''DD-MON-YYYY HH24:MI'') and', -' (:P4_COMPARTMENT_NAME is null and :P4_PRODUCT_SERVICE is null and :P4_PRODUCT_REGION is null and :P4_COMPARTMENT_TOP is null and ', -' :P4_TAG_KEY is null and :P4_TAG_DATA is null and :P4_COST_PRODUCT_SKU is null and :P4_TENANT_ID is null and :P4_TAG1_SPECIAL is null and :P4_TAG2_SPECIAL is null)', -' );', -'end;', -'')) -,p_process_clob_language=>'PLSQL' -); -end; -/ -prompt --application/pages/page_00005 -begin -wwv_flow_imp_page.create_page( - p_id=>5 -,p_name=>'Cost Over Time' -,p_step_title=>'Cost Over Time' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if ($v("P5_PRODUCT_REGION") != "") {$("#P5_PRODUCT_REGION" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_PRODUCT_SERVICE") != "") {$("#P5_PRODUCT_SERVICE" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_COMPARTMENT_TOP") != "") {$("#P5_COMPARTMENT_TOP" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_COMPARTMENT_NAME") != "") {$("#P5_COMPARTMENT_NAME").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_COST_PRODUCT_SKU") != "") {$("#P5_COST_PRODUCT_SKU").css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_TAG1_SPECIAL") != "") {$("#P5_TAG1_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_TAG2_SPECIAL") != "") {$("#P5_TAG2_SPECIAL" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_TAG_DATA") != "") {$("#P5_TAG_DATA" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_TAG_KEY") != "") {$("#P5_TAG_KEY" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P5_TENANT_ID") != "") {$("#P5_TENANT_ID" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }')) -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.a-IRR-table tr td[headers*="rep_col_grey"] { background-color: #efffff; }', -'.a-IRR-table tr td[headers*="rep_col_pink"] { background-color: #ffefff; }', -'', -'#report .t-fht-thead{ overflow: auto !important; }', -'#cost_explorer .t-fht-thead{ overflow: auto !important;}', -'#resource_report .t-fht-thead{ overflow: auto !important;}', -'#cost_report .t-fht-thead{ overflow: auto !important;}', -'')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'03' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230401012122' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(39764862521507625) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_grid_column_span=>9 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(39765355792507630) -,p_plug_name=>'Stats Info' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody:margin-top-none:margin-bottom-none:margin-left-none:margin-right-none' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_new_grid_row=>false -,p_plug_grid_column_span=>3 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(50557152943855581) -,p_plug_name=>'ShowGraphs' -,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--removeHeader js-removeLandmark:t-Region--noUI:t-Region--scrollBody:margin-top-none:margin-bottom-none:margin-left-none:margin-right-none' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P5_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(26845061173982071) -,p_name=>'Monthly Cost Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>90 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) use_hash(oci_cost,oci_resources) */ ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end product_name,', -' sum(COST_MY_COST) TOTAL,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''01'' then COST_MY_COST else null end) Jan,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''02'' then COST_MY_COST else null end) Feb,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''03'' then COST_MY_COST else null end) Mar,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''04'' then COST_MY_COST else null end) Apr,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''05'' then COST_MY_COST else null end) May,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''06'' then COST_MY_COST else null end) Jun,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''07'' then COST_MY_COST else null end) Jul,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''08'' then COST_MY_COST else null end) Aug,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''09'' then COST_MY_COST else null end) Sep,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''10'' then COST_MY_COST else null end) Oct,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''11'' then COST_MY_COST else null end) Nov,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''12'' then COST_MY_COST else null end) Dec', -'FROM ', -' oci_cost, oci_resources', -'WHERE ', -' usg_resource_id = oci_resources.resource_id (+) and ', -' (oci_cost.tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Monthly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Monthly Cost Report''', -'GROUP BY ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end', -'having sum(COST_MY_COST)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Monthly Cost Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>100 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'ROW_RANGES_WITH_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29008917286136139) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'&P5_REPORT_GROUP.' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009058550136140) -,p_query_column_id=>2 -,p_column_alias=>'TOTAL' -,p_column_display_sequence=>2 -,p_column_heading=>'Total' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009169030136141) -,p_query_column_id=>3 -,p_column_alias=>'JAN' -,p_column_display_sequence=>3 -,p_column_heading=>'Jan &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009234609136142) -,p_query_column_id=>4 -,p_column_alias=>'FEB' -,p_column_display_sequence=>4 -,p_column_heading=>'Feb &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009342306136143) -,p_query_column_id=>5 -,p_column_alias=>'MAR' -,p_column_display_sequence=>5 -,p_column_heading=>'Mar &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009472854136144) -,p_query_column_id=>6 -,p_column_alias=>'APR' -,p_column_display_sequence=>6 -,p_column_heading=>'Apr &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009593484136145) -,p_query_column_id=>7 -,p_column_alias=>'MAY' -,p_column_display_sequence=>7 -,p_column_heading=>'May &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009612259136146) -,p_query_column_id=>8 -,p_column_alias=>'JUN' -,p_column_display_sequence=>8 -,p_column_heading=>'Jun &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009809753136147) -,p_query_column_id=>9 -,p_column_alias=>'JUL' -,p_column_display_sequence=>9 -,p_column_heading=>'Jul &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009832460136148) -,p_query_column_id=>10 -,p_column_alias=>'AUG' -,p_column_display_sequence=>10 -,p_column_heading=>'Aug &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29009991167136149) -,p_query_column_id=>11 -,p_column_alias=>'SEP' -,p_column_display_sequence=>11 -,p_column_heading=>'Sep &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29010037915136150) -,p_query_column_id=>12 -,p_column_alias=>'OCT' -,p_column_display_sequence=>12 -,p_column_heading=>'Oct &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29010174998136151) -,p_query_column_id=>13 -,p_column_alias=>'NOV' -,p_column_display_sequence=>13 -,p_column_heading=>'Nov &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29010254077136152) -,p_query_column_id=>14 -,p_column_alias=>'DEC' -,p_column_display_sequence=>14 -,p_column_heading=>'Dec &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(29010340797136153) -,p_name=>'Daily Cost Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>110 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) use_hash(oci_cost,oci_resources) */ ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end product_name,', -' sum(COST_MY_COST) TOTAL,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''01'' then COST_MY_COST else null end) D01,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''02'' then COST_MY_COST else null end) D02,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''03'' then COST_MY_COST else null end) D03,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''04'' then COST_MY_COST else null end) D04,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''05'' then COST_MY_COST else null end) D05,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''06'' then COST_MY_COST else null end) D06,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''07'' then COST_MY_COST else null end) D07,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''08'' then COST_MY_COST else null end) D08,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''09'' then COST_MY_COST else null end) D09,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''10'' then COST_MY_COST else null end) D10,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''11'' then COST_MY_COST else null end) D11,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''12'' then COST_MY_COST else null end) D12,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''13'' then COST_MY_COST else null end) D13,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''14'' then COST_MY_COST else null end) D14,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''15'' then COST_MY_COST else null end) D15,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''16'' then COST_MY_COST else null end) D16,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''17'' then COST_MY_COST else null end) D17,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''18'' then COST_MY_COST else null end) D18,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''19'' then COST_MY_COST else null end) D19,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''20'' then COST_MY_COST else null end) D20,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''21'' then COST_MY_COST else null end) D21,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''22'' then COST_MY_COST else null end) D22,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''23'' then COST_MY_COST else null end) D23,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''24'' then COST_MY_COST else null end) D24,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''25'' then COST_MY_COST else null end) D25,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''26'' then COST_MY_COST else null end) D26,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''27'' then COST_MY_COST else null end) D27,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''28'' then COST_MY_COST else null end) D28,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''29'' then COST_MY_COST else null end) D29,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''30'' then COST_MY_COST else null end) D30,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''31'' then COST_MY_COST else null end) D31', -'FROM ', -' oci_cost, oci_resources', -'WHERE ', -' usg_resource_id = oci_resources.resource_id (+) and ', -' (oci_cost.tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Daily'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Daily Cost Report''', -'GROUP BY ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end', -'having sum(COST_MY_COST)>0', -'order by 2 desc')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Daily Cost Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>100 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'ROW_RANGES_WITH_LINKS' -,p_pagination_display_position=>'BOTTOM_LEFT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29010548641136155) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'&P5_REPORT_GROUP.' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29010702474136156) -,p_query_column_id=>2 -,p_column_alias=>'TOTAL' -,p_column_display_sequence=>2 -,p_column_heading=>'Total' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012003467136169) -,p_query_column_id=>3 -,p_column_alias=>'D01' -,p_column_display_sequence=>3 -,p_column_heading=>'D01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012061570136170) -,p_query_column_id=>4 -,p_column_alias=>'D02' -,p_column_display_sequence=>4 -,p_column_heading=>'D02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012138235136171) -,p_query_column_id=>5 -,p_column_alias=>'D03' -,p_column_display_sequence=>5 -,p_column_heading=>'D03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012287023136172) -,p_query_column_id=>6 -,p_column_alias=>'D04' -,p_column_display_sequence=>6 -,p_column_heading=>'D04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012399835136173) -,p_query_column_id=>7 -,p_column_alias=>'D05' -,p_column_display_sequence=>7 -,p_column_heading=>'D05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012435697136174) -,p_query_column_id=>8 -,p_column_alias=>'D06' -,p_column_display_sequence=>8 -,p_column_heading=>'D06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012540263136175) -,p_query_column_id=>9 -,p_column_alias=>'D07' -,p_column_display_sequence=>9 -,p_column_heading=>'D07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012653789136176) -,p_query_column_id=>10 -,p_column_alias=>'D08' -,p_column_display_sequence=>10 -,p_column_heading=>'D08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012751857136177) -,p_query_column_id=>11 -,p_column_alias=>'D09' -,p_column_display_sequence=>11 -,p_column_heading=>'D09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012826405136178) -,p_query_column_id=>12 -,p_column_alias=>'D10' -,p_column_display_sequence=>12 -,p_column_heading=>'D10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29012974132136179) -,p_query_column_id=>13 -,p_column_alias=>'D11' -,p_column_display_sequence=>13 -,p_column_heading=>'D11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29013046553136180) -,p_query_column_id=>14 -,p_column_alias=>'D12' -,p_column_display_sequence=>14 -,p_column_heading=>'D12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29013156690136181) -,p_query_column_id=>15 -,p_column_alias=>'D13' -,p_column_display_sequence=>15 -,p_column_heading=>'D13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29013309595136182) -,p_query_column_id=>16 -,p_column_alias=>'D14' -,p_column_display_sequence=>16 -,p_column_heading=>'D14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29057989847251833) -,p_query_column_id=>17 -,p_column_alias=>'D15' -,p_column_display_sequence=>17 -,p_column_heading=>'D15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058046645251834) -,p_query_column_id=>18 -,p_column_alias=>'D16' -,p_column_display_sequence=>18 -,p_column_heading=>'D16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058206298251835) -,p_query_column_id=>19 -,p_column_alias=>'D17' -,p_column_display_sequence=>19 -,p_column_heading=>'D17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058298664251836) -,p_query_column_id=>20 -,p_column_alias=>'D18' -,p_column_display_sequence=>20 -,p_column_heading=>'D18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058331887251837) -,p_query_column_id=>21 -,p_column_alias=>'D19' -,p_column_display_sequence=>21 -,p_column_heading=>'D19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058474304251838) -,p_query_column_id=>22 -,p_column_alias=>'D20' -,p_column_display_sequence=>22 -,p_column_heading=>'D20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058569202251839) -,p_query_column_id=>23 -,p_column_alias=>'D21' -,p_column_display_sequence=>23 -,p_column_heading=>'D21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058632176251840) -,p_query_column_id=>24 -,p_column_alias=>'D22' -,p_column_display_sequence=>24 -,p_column_heading=>'D22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058790891251841) -,p_query_column_id=>25 -,p_column_alias=>'D23' -,p_column_display_sequence=>25 -,p_column_heading=>'D23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058815316251842) -,p_query_column_id=>26 -,p_column_alias=>'D24' -,p_column_display_sequence=>26 -,p_column_heading=>'D24' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29058953942251843) -,p_query_column_id=>27 -,p_column_alias=>'D25' -,p_column_display_sequence=>27 -,p_column_heading=>'D25' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059101478251844) -,p_query_column_id=>28 -,p_column_alias=>'D26' -,p_column_display_sequence=>28 -,p_column_heading=>'D26' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059165040251845) -,p_query_column_id=>29 -,p_column_alias=>'D27' -,p_column_display_sequence=>29 -,p_column_heading=>'D27' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059257366251846) -,p_query_column_id=>30 -,p_column_alias=>'D28' -,p_column_display_sequence=>30 -,p_column_heading=>'D28' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059375433251847) -,p_query_column_id=>31 -,p_column_alias=>'D29' -,p_column_display_sequence=>31 -,p_column_heading=>'D29' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059418977251848) -,p_query_column_id=>32 -,p_column_alias=>'D30' -,p_column_display_sequence=>32 -,p_column_heading=>'D30' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29059604871251849) -,p_query_column_id=>33 -,p_column_alias=>'D31' -,p_column_display_sequence=>33 -,p_column_heading=>'D31' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(29186729513547433) -,p_name=>'Weekly Cost Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>170 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) use_hash(oci_cost,oci_resources) */ ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end product_name,', -' sum(COST_MY_COST) TOTAL,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''01'' then COST_MY_COST else null end) W01,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''02'' then COST_MY_COST else null end) W02,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''03'' then COST_MY_COST else null end) W03,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''04'' then COST_MY_COST else null end) W04,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''05'' then COST_MY_COST else null end) W05,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''06'' then COST_MY_COST else null end) W06,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''07'' then COST_MY_COST else null end) W07,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''08'' then COST_MY_COST else null end) W08,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''09'' then COST_MY_COST else null end) W09,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''10'' then COST_MY_COST else null end) W10,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''11'' then COST_MY_COST else null end) W11,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''12'' then COST_MY_COST else null end) W12,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''13'' then COST_MY_COST else null end) W13,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''14'' then COST_MY_COST else null end) W14,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''15'' then COST_MY_COST else null end) W15,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''16'' then COST_MY_COST else null end) W16,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''17'' then COST_MY_COST else null end) W17,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''18'' then COST_MY_COST else null end) W18,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''19'' then COST_MY_COST else null end) W19,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''20'' then COST_MY_COST else null end) W20,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''21'' then COST_MY_COST else null end) W21,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''22'' then COST_MY_COST else null end) W22,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''23'' then COST_MY_COST else null end) W23,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''24'' then COST_MY_COST else null end) W24,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''25'' then COST_MY_COST else null end) W25,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''26'' then COST_MY_COST else null end) W26,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''27'' then COST_MY_COST else null end) W27,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''28'' then COST_MY_COST else null end) W28,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''29'' then COST_MY_COST else null end) W29,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''30'' then COST_MY_COST else null end) W30,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''31'' then COST_MY_COST else null end) W31,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''32'' then COST_MY_COST else null end) W32,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''33'' then COST_MY_COST else null end) W33,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''34'' then COST_MY_COST else null end) W34,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''35'' then COST_MY_COST else null end) W35,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''36'' then COST_MY_COST else null end) W36,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''37'' then COST_MY_COST else null end) W37,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''38'' then COST_MY_COST else null end) W38,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''39'' then COST_MY_COST else null end) W39,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''40'' then COST_MY_COST else null end) W40,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''41'' then COST_MY_COST else null end) W41,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''42'' then COST_MY_COST else null end) W42,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''43'' then COST_MY_COST else null end) W43,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''44'' then COST_MY_COST else null end) W44,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''45'' then COST_MY_COST else null end) W45,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''46'' then COST_MY_COST else null end) W46,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''47'' then COST_MY_COST else null end) W47,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''48'' then COST_MY_COST else null end) W48,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''49'' then COST_MY_COST else null end) W49,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''50'' then COST_MY_COST else null end) W50,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''51'' then COST_MY_COST else null end) W51,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''52'' then COST_MY_COST else null end) W52', -'FROM ', -' oci_cost, oci_resources', -'WHERE ', -' usg_resource_id = oci_resources.resource_id (+) and ', -' (oci_cost.tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Weekly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Weekly Cost Report''', -'GROUP BY ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end', -'having sum(COST_MY_COST)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Weekly Cost Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>100 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'ROW_RANGES_WITH_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29186901926547434) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'&P5_REPORT_GROUP.' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29186920223547435) -,p_query_column_id=>2 -,p_column_alias=>'TOTAL' -,p_column_display_sequence=>2 -,p_column_heading=>'Total' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190160872547467) -,p_query_column_id=>3 -,p_column_alias=>'W01' -,p_column_display_sequence=>3 -,p_column_heading=>'W01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190233046547468) -,p_query_column_id=>4 -,p_column_alias=>'W02' -,p_column_display_sequence=>4 -,p_column_heading=>'W02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190374981547469) -,p_query_column_id=>5 -,p_column_alias=>'W03' -,p_column_display_sequence=>5 -,p_column_heading=>'W03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190424794547470) -,p_query_column_id=>6 -,p_column_alias=>'W04' -,p_column_display_sequence=>6 -,p_column_heading=>'W04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190554375547471) -,p_query_column_id=>7 -,p_column_alias=>'W05' -,p_column_display_sequence=>7 -,p_column_heading=>'W05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190696915547472) -,p_query_column_id=>8 -,p_column_alias=>'W06' -,p_column_display_sequence=>8 -,p_column_heading=>'W06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190714570547473) -,p_query_column_id=>9 -,p_column_alias=>'W07' -,p_column_display_sequence=>9 -,p_column_heading=>'W07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190892226547474) -,p_query_column_id=>10 -,p_column_alias=>'W08' -,p_column_display_sequence=>10 -,p_column_heading=>'W08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29190977751547475) -,p_query_column_id=>11 -,p_column_alias=>'W09' -,p_column_display_sequence=>11 -,p_column_heading=>'W09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191092474547476) -,p_query_column_id=>12 -,p_column_alias=>'W10' -,p_column_display_sequence=>12 -,p_column_heading=>'W10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191111607547477) -,p_query_column_id=>13 -,p_column_alias=>'W11' -,p_column_display_sequence=>13 -,p_column_heading=>'W11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191265200547478) -,p_query_column_id=>14 -,p_column_alias=>'W12' -,p_column_display_sequence=>14 -,p_column_heading=>'W12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191401394547479) -,p_query_column_id=>15 -,p_column_alias=>'W13' -,p_column_display_sequence=>15 -,p_column_heading=>'W13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191410947547480) -,p_query_column_id=>16 -,p_column_alias=>'W14' -,p_column_display_sequence=>16 -,p_column_heading=>'W14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191585213547481) -,p_query_column_id=>17 -,p_column_alias=>'W15' -,p_column_display_sequence=>17 -,p_column_heading=>'W15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191625622547482) -,p_query_column_id=>18 -,p_column_alias=>'W16' -,p_column_display_sequence=>18 -,p_column_heading=>'W16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191728600568533) -,p_query_column_id=>19 -,p_column_alias=>'W17' -,p_column_display_sequence=>19 -,p_column_heading=>'W17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191829667568534) -,p_query_column_id=>20 -,p_column_alias=>'W18' -,p_column_display_sequence=>20 -,p_column_heading=>'W18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29191942720568535) -,p_query_column_id=>21 -,p_column_alias=>'W19' -,p_column_display_sequence=>21 -,p_column_heading=>'W19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192033032568536) -,p_query_column_id=>22 -,p_column_alias=>'W20' -,p_column_display_sequence=>22 -,p_column_heading=>'W20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192166948568537) -,p_query_column_id=>23 -,p_column_alias=>'W21' -,p_column_display_sequence=>23 -,p_column_heading=>'W21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192223411568538) -,p_query_column_id=>24 -,p_column_alias=>'W22' -,p_column_display_sequence=>24 -,p_column_heading=>'W22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192320223568539) -,p_query_column_id=>25 -,p_column_alias=>'W23' -,p_column_display_sequence=>25 -,p_column_heading=>'W23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192467815568540) -,p_query_column_id=>26 -,p_column_alias=>'W24' -,p_column_display_sequence=>26 -,p_column_heading=>'W24' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192563549568541) -,p_query_column_id=>27 -,p_column_alias=>'W25' -,p_column_display_sequence=>27 -,p_column_heading=>'W25' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192657830568542) -,p_query_column_id=>28 -,p_column_alias=>'W26' -,p_column_display_sequence=>28 -,p_column_heading=>'W26' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192803228568543) -,p_query_column_id=>29 -,p_column_alias=>'W27' -,p_column_display_sequence=>29 -,p_column_heading=>'W27' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192907261568544) -,p_query_column_id=>30 -,p_column_alias=>'W28' -,p_column_display_sequence=>30 -,p_column_heading=>'W28' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29192928699568545) -,p_query_column_id=>31 -,p_column_alias=>'W29' -,p_column_display_sequence=>31 -,p_column_heading=>'W29' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193042343568546) -,p_query_column_id=>32 -,p_column_alias=>'W30' -,p_column_display_sequence=>32 -,p_column_heading=>'W30' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193191236568547) -,p_query_column_id=>33 -,p_column_alias=>'W31' -,p_column_display_sequence=>33 -,p_column_heading=>'W31' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193228993568548) -,p_query_column_id=>34 -,p_column_alias=>'W32' -,p_column_display_sequence=>34 -,p_column_heading=>'W32' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193348176568549) -,p_query_column_id=>35 -,p_column_alias=>'W33' -,p_column_display_sequence=>35 -,p_column_heading=>'W33' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193411311568550) -,p_query_column_id=>36 -,p_column_alias=>'W34' -,p_column_display_sequence=>36 -,p_column_heading=>'W34' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193517478568551) -,p_query_column_id=>37 -,p_column_alias=>'W35' -,p_column_display_sequence=>37 -,p_column_heading=>'W35' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193701190568552) -,p_query_column_id=>38 -,p_column_alias=>'W36' -,p_column_display_sequence=>38 -,p_column_heading=>'W36' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193782410568553) -,p_query_column_id=>39 -,p_column_alias=>'W37' -,p_column_display_sequence=>39 -,p_column_heading=>'W37' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29193882279568554) -,p_query_column_id=>40 -,p_column_alias=>'W38' -,p_column_display_sequence=>40 -,p_column_heading=>'W38' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194003171568555) -,p_query_column_id=>41 -,p_column_alias=>'W39' -,p_column_display_sequence=>41 -,p_column_heading=>'W39' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194057353568556) -,p_query_column_id=>42 -,p_column_alias=>'W40' -,p_column_display_sequence=>42 -,p_column_heading=>'W40' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194152362568557) -,p_query_column_id=>43 -,p_column_alias=>'W41' -,p_column_display_sequence=>43 -,p_column_heading=>'W41' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194238567568558) -,p_query_column_id=>44 -,p_column_alias=>'W42' -,p_column_display_sequence=>44 -,p_column_heading=>'W42' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194390527568559) -,p_query_column_id=>45 -,p_column_alias=>'W43' -,p_column_display_sequence=>45 -,p_column_heading=>'W43' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194480324568560) -,p_query_column_id=>46 -,p_column_alias=>'W44' -,p_column_display_sequence=>46 -,p_column_heading=>'W44' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194546354568561) -,p_query_column_id=>47 -,p_column_alias=>'W45' -,p_column_display_sequence=>47 -,p_column_heading=>'W45' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194690365568562) -,p_query_column_id=>48 -,p_column_alias=>'W46' -,p_column_display_sequence=>48 -,p_column_heading=>'W46' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194772442568563) -,p_query_column_id=>49 -,p_column_alias=>'W47' -,p_column_display_sequence=>49 -,p_column_heading=>'W47' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194836435568564) -,p_query_column_id=>50 -,p_column_alias=>'W48' -,p_column_display_sequence=>50 -,p_column_heading=>'W48' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29194956400568565) -,p_query_column_id=>51 -,p_column_alias=>'W49' -,p_column_display_sequence=>51 -,p_column_heading=>'W49' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29195093393568566) -,p_query_column_id=>52 -,p_column_alias=>'W50' -,p_column_display_sequence=>52 -,p_column_heading=>'W50' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29195198714568567) -,p_query_column_id=>53 -,p_column_alias=>'W51' -,p_column_display_sequence=>53 -,p_column_heading=>'W51' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29195252879568568) -,p_query_column_id=>54 -,p_column_alias=>'W52' -,p_column_display_sequence=>54 -,p_column_heading=>'W52' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(29196586854568581) -,p_name=>'Daily Product Unit Report - Single' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>140 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -' SELECT /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' product_name,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''01'' then SINGLE_QUANTITY else null end) D01,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''02'' then SINGLE_QUANTITY else null end) D02,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''03'' then SINGLE_QUANTITY else null end) D03,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''04'' then SINGLE_QUANTITY else null end) D04,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''05'' then SINGLE_QUANTITY else null end) D05,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''06'' then SINGLE_QUANTITY else null end) D06,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''07'' then SINGLE_QUANTITY else null end) D07,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''08'' then SINGLE_QUANTITY else null end) D08,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''09'' then SINGLE_QUANTITY else null end) D09,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''10'' then SINGLE_QUANTITY else null end) D10,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''11'' then SINGLE_QUANTITY else null end) D11,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''12'' then SINGLE_QUANTITY else null end) D12,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''13'' then SINGLE_QUANTITY else null end) D13,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''14'' then SINGLE_QUANTITY else null end) D14,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''15'' then SINGLE_QUANTITY else null end) D15,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''16'' then SINGLE_QUANTITY else null end) D16,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''17'' then SINGLE_QUANTITY else null end) D17,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''18'' then SINGLE_QUANTITY else null end) D18,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''19'' then SINGLE_QUANTITY else null end) D19,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''20'' then SINGLE_QUANTITY else null end) D20,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''21'' then SINGLE_QUANTITY else null end) D21,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''22'' then SINGLE_QUANTITY else null end) D22,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''23'' then SINGLE_QUANTITY else null end) D23,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''24'' then SINGLE_QUANTITY else null end) D24,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''25'' then SINGLE_QUANTITY else null end) D25,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''26'' then SINGLE_QUANTITY else null end) D26,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''27'' then SINGLE_QUANTITY else null end) D27,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''28'' then SINGLE_QUANTITY else null end) D28,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''29'' then SINGLE_QUANTITY else null end) D29,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''30'' then SINGLE_QUANTITY else null end) D30,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''31'' then SINGLE_QUANTITY else null end) D31', -'FROM ', -'(', -' SELECT ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') PRODUCT_NAME,', -' USAGE_INTERVAL_START,', -' case ', -' when upper(PRD_DESCRIPTION) like ''%HOUR%'' then USG_BILLED_QUANTITY/24', -' when upper(COST_BILLING_UNIT) like ''%HOUR%'' then USG_BILLED_QUANTITY/24', -' when upper(COST_BILLING_UNIT) like ''%GIB%'' then USG_BILLED_QUANTITY*31', -' when upper(COST_BILLING_UNIT) like ''%GB%'' then USG_BILLED_QUANTITY*31', -' when upper(COST_BILLING_UNIT) like ''%GIGA%'' then USG_BILLED_QUANTITY*31', -' when upper(COST_BILLING_UNIT) like ''%TIB%'' then USG_BILLED_QUANTITY*31', -' when upper(PRD_DESCRIPTION) like ''%GiB%'' then USG_BILLED_QUANTITY*31', -' when upper(PRD_DESCRIPTION) like ''%GB%'' then USG_BILLED_QUANTITY*31', -' when upper(PRD_DESCRIPTION) like ''%GIGA%'' then USG_BILLED_QUANTITY*31', -' when upper(PRD_DESCRIPTION) like ''%TIB%'' then USG_BILLED_QUANTITY*31', -' when upper(PRD_DESCRIPTION) like ''%TB%'' then USG_BILLED_QUANTITY*31', -' else null', -' end SINGLE_QUANTITY', -' FROM', -' oci_cost ', -' WHERE ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Daily'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') AND', -' :P5_REPORT_SELECTOR = ''Daily Product Unit Report - Single''', -')', -'GROUP BY PRODUCT_NAME', -'having sum(SINGLE_QUANTITY)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Daily Product Unit Report - Single' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>9999 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29196623171568582) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'Product' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232117502912634) -,p_query_column_id=>2 -,p_column_alias=>'D01' -,p_column_display_sequence=>2 -,p_column_heading=>'D01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232241548912635) -,p_query_column_id=>3 -,p_column_alias=>'D02' -,p_column_display_sequence=>3 -,p_column_heading=>'D02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232335899912636) -,p_query_column_id=>4 -,p_column_alias=>'D03' -,p_column_display_sequence=>4 -,p_column_heading=>'D03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232453224912637) -,p_query_column_id=>5 -,p_column_alias=>'D04' -,p_column_display_sequence=>5 -,p_column_heading=>'D04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232583860912638) -,p_query_column_id=>6 -,p_column_alias=>'D05' -,p_column_display_sequence=>6 -,p_column_heading=>'D05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232706419912639) -,p_query_column_id=>7 -,p_column_alias=>'D06' -,p_column_display_sequence=>7 -,p_column_heading=>'D06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232740000912640) -,p_query_column_id=>8 -,p_column_alias=>'D07' -,p_column_display_sequence=>8 -,p_column_heading=>'D07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232865794912641) -,p_query_column_id=>9 -,p_column_alias=>'D08' -,p_column_display_sequence=>9 -,p_column_heading=>'D08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29232957602912642) -,p_query_column_id=>10 -,p_column_alias=>'D09' -,p_column_display_sequence=>10 -,p_column_heading=>'D09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233020818912643) -,p_query_column_id=>11 -,p_column_alias=>'D10' -,p_column_display_sequence=>11 -,p_column_heading=>'D10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233178820912644) -,p_query_column_id=>12 -,p_column_alias=>'D11' -,p_column_display_sequence=>12 -,p_column_heading=>'D11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233225269912645) -,p_query_column_id=>13 -,p_column_alias=>'D12' -,p_column_display_sequence=>13 -,p_column_heading=>'D12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233355059912646) -,p_query_column_id=>14 -,p_column_alias=>'D13' -,p_column_display_sequence=>14 -,p_column_heading=>'D13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233509118912647) -,p_query_column_id=>15 -,p_column_alias=>'D14' -,p_column_display_sequence=>15 -,p_column_heading=>'D14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233553282912648) -,p_query_column_id=>16 -,p_column_alias=>'D15' -,p_column_display_sequence=>16 -,p_column_heading=>'D15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233700716912649) -,p_query_column_id=>17 -,p_column_alias=>'D16' -,p_column_display_sequence=>17 -,p_column_heading=>'D16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233724005912650) -,p_query_column_id=>18 -,p_column_alias=>'D17' -,p_column_display_sequence=>18 -,p_column_heading=>'D17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233832641912651) -,p_query_column_id=>19 -,p_column_alias=>'D18' -,p_column_display_sequence=>19 -,p_column_heading=>'D18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29233967622912652) -,p_query_column_id=>20 -,p_column_alias=>'D19' -,p_column_display_sequence=>20 -,p_column_heading=>'D19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234076147912653) -,p_query_column_id=>21 -,p_column_alias=>'D20' -,p_column_display_sequence=>21 -,p_column_heading=>'D20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234197222912654) -,p_query_column_id=>22 -,p_column_alias=>'D21' -,p_column_display_sequence=>22 -,p_column_heading=>'D21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234214888912655) -,p_query_column_id=>23 -,p_column_alias=>'D22' -,p_column_display_sequence=>23 -,p_column_heading=>'D22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234400166912656) -,p_query_column_id=>24 -,p_column_alias=>'D23' -,p_column_display_sequence=>24 -,p_column_heading=>'D23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234421394912657) -,p_query_column_id=>25 -,p_column_alias=>'D24' -,p_column_display_sequence=>25 -,p_column_heading=>'D24' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234578566912658) -,p_query_column_id=>26 -,p_column_alias=>'D25' -,p_column_display_sequence=>26 -,p_column_heading=>'D25' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234644720912659) -,p_query_column_id=>27 -,p_column_alias=>'D26' -,p_column_display_sequence=>27 -,p_column_heading=>'D26' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234785269912660) -,p_query_column_id=>28 -,p_column_alias=>'D27' -,p_column_display_sequence=>28 -,p_column_heading=>'D27' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234895491912661) -,p_query_column_id=>29 -,p_column_alias=>'D28' -,p_column_display_sequence=>29 -,p_column_heading=>'D28' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29234942954912662) -,p_query_column_id=>30 -,p_column_alias=>'D29' -,p_column_display_sequence=>30 -,p_column_heading=>'D29' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29235055726912663) -,p_query_column_id=>31 -,p_column_alias=>'D30' -,p_column_display_sequence=>31 -,p_column_heading=>'D30' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(29235191149912664) -,p_query_column_id=>32 -,p_column_alias=>'D31' -,p_column_display_sequence=>32 -,p_column_heading=>'D31' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(30894979952307375) -,p_plug_name=>'Cost Over Time - Total - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost Over Time - Total:Daily Cost Over Time - Total:Weekly Cost Over Time - Total:Monthly Cost Over Time - Total' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(30895052385307376) -,p_region_id=>wwv_flow_imp.id(30894979952307375) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'off' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'bottom' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(30895177839307377) -,p_chart_id=>wwv_flow_imp.id(30895052385307376) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' not (:P5_TENANT_ID is null and :P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null and :P5_T' -||'AG1_SPECIAL is null and :P5_TAG2_SPECIAL is null) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost Over Time - Total'',''Daily Cost Over Time - Total'',''Weekly Cost Over Time - Total'',''Monthly Cost Over Time - Total'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end', -'union all', -'select ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost_stats', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' (:P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null and :P5_TENANT_ID is null and :P5_TAG1_' -||'SPECIAL is null and :P5_TAG2_SPECIAL is null) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost Over Time - Total'',''Daily Cost Over Time - Total'',''Weekly Cost Over Time - Total'',''Monthly Cost Over Time - Total'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end', -'order by 1', -'', -'', -'', -'')) -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_color=>'#34AADC' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(30895419834307380) -,p_chart_id=>wwv_flow_imp.id(30895052385307376) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(30895389895307379) -,p_chart_id=>wwv_flow_imp.id(30895052385307376) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(31104773710535937) -,p_plug_name=>'Cost By Region - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>70 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost By Region:Daily Cost By Region:Weekly Cost By Region:Monthly Cost By Region' -); -end; -/ -begin -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(31104881417535938) -,p_region_id=>wwv_flow_imp.id(31104773710535937) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'end' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(31104983085535939) -,p_chart_id=>wwv_flow_imp.id(31104881417535938) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' prd_region as region,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost By Region'',''Daily Cost By Region'',''Weekly Cost By Region'',''Monthly Cost By Region'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end,', -' prd_region ', -'order by 1,2')) -,p_series_name_column_name=>'REGION' -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31105139430535941) -,p_chart_id=>wwv_flow_imp.id(31104881417535938) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31105086612535940) -,p_chart_id=>wwv_flow_imp.id(31104881417535938) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(31969282974255833) -,p_plug_name=>'Cost By Service - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost By Service:Daily Cost By Service:Weekly Cost By Service:Monthly Cost By Service' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(31969321335255834) -,p_region_id=>wwv_flow_imp.id(31969282974255833) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'end' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(31969443154255835) -,p_chart_id=>wwv_flow_imp.id(31969321335255834) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' nvl(PRD_SERVICE,''-'') PRD_SERVICE,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost By Service'',''Daily Cost By Service'',''Weekly Cost By Service'',''Monthly Cost By Service'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end,', -' nvl(PRD_SERVICE,''-'') ', -'order by 1,2')) -,p_series_name_column_name=>'PRD_SERVICE' -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31969654559255837) -,p_chart_id=>wwv_flow_imp.id(31969321335255834) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31969574424255836) -,p_chart_id=>wwv_flow_imp.id(31969321335255834) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(31970038216255841) -,p_plug_name=>'Cost By Compartment - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost By Compartment:Daily Cost By Compartment:Weekly Cost By Compartment:Monthly Cost By Compartment' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(31970210590255842) -,p_region_id=>wwv_flow_imp.id(31970038216255841) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'end' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(31970256729255843) -,p_chart_id=>wwv_flow_imp.id(31970210590255842) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' nvl(prd_compartment_name,''-'') compartment_name,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost By Compartment'',''Daily Cost By Compartment'',''Weekly Cost By Compartment'',''Monthly Cost By Compartment'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end,', -' nvl(prd_compartment_name,''-'') ', -'order by 1,2')) -,p_series_name_column_name=>'COMPARTMENT_NAME' -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31970407830255844) -,p_chart_id=>wwv_flow_imp.id(31970210590255842) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31970437143255845) -,p_chart_id=>wwv_flow_imp.id(31970210590255842) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(31970816449255849) -,p_plug_name=>'Cost By Top Compartment - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost By Top Compartment:Daily Cost By Top Compartment:Weekly Cost By Top Compartment:Monthly Cost By Top Compartment' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(31970985541255850) -,p_region_id=>wwv_flow_imp.id(31970816449255849) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'end' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(31971087111255851) -,p_chart_id=>wwv_flow_imp.id(31970985541255850) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' nvl(case when prd_compartment_path like ''%/%'' then substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) else prd_compartment_path end,''-'') as top_compartment,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost By Top Compartment'',''Daily Cost By Top Compartment'',''Weekly Cost By Top Compartment'',''Monthly Cost By Compartment'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end,', -' nvl(case when prd_compartment_path like ''%/%'' then substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) else prd_compartment_path end,''-'')', -'order by 1,2')) -,p_series_name_column_name=>'TOP_COMPARTMENT' -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31971211793255853) -,p_chart_id=>wwv_flow_imp.id(31970985541255850) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(31971207968255852) -,p_chart_id=>wwv_flow_imp.id(31970985541255850) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(31971699207255857) -,p_name=>'Daily Product Unit Report - Total' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>150 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -' SELECT /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' product_name,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''01'' then USG_BILLED_QUANTITY else null end) D01,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''02'' then USG_BILLED_QUANTITY else null end) D02,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''03'' then USG_BILLED_QUANTITY else null end) D03,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''04'' then USG_BILLED_QUANTITY else null end) D04,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''05'' then USG_BILLED_QUANTITY else null end) D05,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''06'' then USG_BILLED_QUANTITY else null end) D06,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''07'' then USG_BILLED_QUANTITY else null end) D07,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''08'' then USG_BILLED_QUANTITY else null end) D08,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''09'' then USG_BILLED_QUANTITY else null end) D09,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''10'' then USG_BILLED_QUANTITY else null end) D10,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''11'' then USG_BILLED_QUANTITY else null end) D11,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''12'' then USG_BILLED_QUANTITY else null end) D12,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''13'' then USG_BILLED_QUANTITY else null end) D13,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''14'' then USG_BILLED_QUANTITY else null end) D14,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''15'' then USG_BILLED_QUANTITY else null end) D15,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''16'' then USG_BILLED_QUANTITY else null end) D16,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''17'' then USG_BILLED_QUANTITY else null end) D17,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''18'' then USG_BILLED_QUANTITY else null end) D18,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''19'' then USG_BILLED_QUANTITY else null end) D19,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''20'' then USG_BILLED_QUANTITY else null end) D20,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''21'' then USG_BILLED_QUANTITY else null end) D21,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''22'' then USG_BILLED_QUANTITY else null end) D22,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''23'' then USG_BILLED_QUANTITY else null end) D23,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''24'' then USG_BILLED_QUANTITY else null end) D24,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''25'' then USG_BILLED_QUANTITY else null end) D25,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''26'' then USG_BILLED_QUANTITY else null end) D26,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''27'' then USG_BILLED_QUANTITY else null end) D27,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''28'' then USG_BILLED_QUANTITY else null end) D28,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''29'' then USG_BILLED_QUANTITY else null end) D29,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''30'' then USG_BILLED_QUANTITY else null end) D30,', -' sum(case when to_char(USAGE_INTERVAL_START,''DD'') = ''31'' then USG_BILLED_QUANTITY else null end) D31', -'FROM ', -'(', -' SELECT ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') PRODUCT_NAME,', -' USAGE_INTERVAL_START,', -' USG_BILLED_QUANTITY', -' FROM', -' oci_cost ', -' WHERE ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Daily'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') AND', -' :P5_REPORT_SELECTOR = ''Daily Product Unit Report - Total''', -')', -'GROUP BY PRODUCT_NAME', -'having sum(USG_BILLED_QUANTITY)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Daily Product Unit Report - Total' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>9999 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31971744471255858) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'Product ' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31971874917255859) -,p_query_column_id=>2 -,p_column_alias=>'D01' -,p_column_display_sequence=>2 -,p_column_heading=>'D01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31971935279255860) -,p_query_column_id=>3 -,p_column_alias=>'D02' -,p_column_display_sequence=>3 -,p_column_heading=>'D02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972054741255861) -,p_query_column_id=>4 -,p_column_alias=>'D03' -,p_column_display_sequence=>4 -,p_column_heading=>'D03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972180161255862) -,p_query_column_id=>5 -,p_column_alias=>'D04' -,p_column_display_sequence=>5 -,p_column_heading=>'D04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972233860255863) -,p_query_column_id=>6 -,p_column_alias=>'D05' -,p_column_display_sequence=>6 -,p_column_heading=>'D05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972397575255864) -,p_query_column_id=>7 -,p_column_alias=>'D06' -,p_column_display_sequence=>7 -,p_column_heading=>'D06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972494353255865) -,p_query_column_id=>8 -,p_column_alias=>'D07' -,p_column_display_sequence=>8 -,p_column_heading=>'D07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972528366255866) -,p_query_column_id=>9 -,p_column_alias=>'D08' -,p_column_display_sequence=>9 -,p_column_heading=>'D08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972655116255867) -,p_query_column_id=>10 -,p_column_alias=>'D09' -,p_column_display_sequence=>10 -,p_column_heading=>'D09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972774996255868) -,p_query_column_id=>11 -,p_column_alias=>'D10' -,p_column_display_sequence=>11 -,p_column_heading=>'D10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31972868000255869) -,p_query_column_id=>12 -,p_column_alias=>'D11' -,p_column_display_sequence=>12 -,p_column_heading=>'D11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973002567255870) -,p_query_column_id=>13 -,p_column_alias=>'D12' -,p_column_display_sequence=>13 -,p_column_heading=>'D12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973101490255871) -,p_query_column_id=>14 -,p_column_alias=>'D13' -,p_column_display_sequence=>14 -,p_column_heading=>'D13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973174230255872) -,p_query_column_id=>15 -,p_column_alias=>'D14' -,p_column_display_sequence=>15 -,p_column_heading=>'D14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973226464255873) -,p_query_column_id=>16 -,p_column_alias=>'D15' -,p_column_display_sequence=>16 -,p_column_heading=>'D15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973325042255874) -,p_query_column_id=>17 -,p_column_alias=>'D16' -,p_column_display_sequence=>17 -,p_column_heading=>'D16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973471160255875) -,p_query_column_id=>18 -,p_column_alias=>'D17' -,p_column_display_sequence=>18 -,p_column_heading=>'D17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973610244255876) -,p_query_column_id=>19 -,p_column_alias=>'D18' -,p_column_display_sequence=>19 -,p_column_heading=>'D18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973708306255877) -,p_query_column_id=>20 -,p_column_alias=>'D19' -,p_column_display_sequence=>20 -,p_column_heading=>'D19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973736237255878) -,p_query_column_id=>21 -,p_column_alias=>'D20' -,p_column_display_sequence=>21 -,p_column_heading=>'D20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973905638255879) -,p_query_column_id=>22 -,p_column_alias=>'D21' -,p_column_display_sequence=>22 -,p_column_heading=>'D21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31973943563255880) -,p_query_column_id=>23 -,p_column_alias=>'D22' -,p_column_display_sequence=>23 -,p_column_heading=>'D22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31974074749255881) -,p_query_column_id=>24 -,p_column_alias=>'D23' -,p_column_display_sequence=>24 -,p_column_heading=>'D23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(31974173707255882) -,p_query_column_id=>25 -,p_column_alias=>'D24' -,p_column_display_sequence=>25 -,p_column_heading=>'D24' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32000949458763433) -,p_query_column_id=>26 -,p_column_alias=>'D25' -,p_column_display_sequence=>26 -,p_column_heading=>'D25' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001069387763434) -,p_query_column_id=>27 -,p_column_alias=>'D26' -,p_column_display_sequence=>27 -,p_column_heading=>'D26' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001133778763435) -,p_query_column_id=>28 -,p_column_alias=>'D27' -,p_column_display_sequence=>28 -,p_column_heading=>'D27' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001251789763436) -,p_query_column_id=>29 -,p_column_alias=>'D28' -,p_column_display_sequence=>29 -,p_column_heading=>'D28' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001390396763437) -,p_query_column_id=>30 -,p_column_alias=>'D29' -,p_column_display_sequence=>30 -,p_column_heading=>'D29' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001489961763438) -,p_query_column_id=>31 -,p_column_alias=>'D30' -,p_column_display_sequence=>31 -,p_column_heading=>'D30' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32001601461763439) -,p_query_column_id=>32 -,p_column_alias=>'D31' -,p_column_display_sequence=>32 -,p_column_heading=>'D31' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(32001946651763443) -,p_name=>'Weekly Product Unit Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>180 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -' SELECT /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') as product_name,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''01'' then USG_BILLED_QUANTITY else null end) W01,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''02'' then USG_BILLED_QUANTITY else null end) W02,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''03'' then USG_BILLED_QUANTITY else null end) W03,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''04'' then USG_BILLED_QUANTITY else null end) W04,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''05'' then USG_BILLED_QUANTITY else null end) W05,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''06'' then USG_BILLED_QUANTITY else null end) W06,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''07'' then USG_BILLED_QUANTITY else null end) W07,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''08'' then USG_BILLED_QUANTITY else null end) W08,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''09'' then USG_BILLED_QUANTITY else null end) W09,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''10'' then USG_BILLED_QUANTITY else null end) W10,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''11'' then USG_BILLED_QUANTITY else null end) W11,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''12'' then USG_BILLED_QUANTITY else null end) W12,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''13'' then USG_BILLED_QUANTITY else null end) W13,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''14'' then USG_BILLED_QUANTITY else null end) W14,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''15'' then USG_BILLED_QUANTITY else null end) W15,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''16'' then USG_BILLED_QUANTITY else null end) W16,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''17'' then USG_BILLED_QUANTITY else null end) W17,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''18'' then USG_BILLED_QUANTITY else null end) W18,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''19'' then USG_BILLED_QUANTITY else null end) W19,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''20'' then USG_BILLED_QUANTITY else null end) W20,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''21'' then USG_BILLED_QUANTITY else null end) W21,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''22'' then USG_BILLED_QUANTITY else null end) W22,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''23'' then USG_BILLED_QUANTITY else null end) W23,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''24'' then USG_BILLED_QUANTITY else null end) W24,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''25'' then USG_BILLED_QUANTITY else null end) W25,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''26'' then USG_BILLED_QUANTITY else null end) W26,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''27'' then USG_BILLED_QUANTITY else null end) W27,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''28'' then USG_BILLED_QUANTITY else null end) W28,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''29'' then USG_BILLED_QUANTITY else null end) W29,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''30'' then USG_BILLED_QUANTITY else null end) W30,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''31'' then USG_BILLED_QUANTITY else null end) W31,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''32'' then USG_BILLED_QUANTITY else null end) W32,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''33'' then USG_BILLED_QUANTITY else null end) W33,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''34'' then USG_BILLED_QUANTITY else null end) W34,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''35'' then USG_BILLED_QUANTITY else null end) W35,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''36'' then USG_BILLED_QUANTITY else null end) W36,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''37'' then USG_BILLED_QUANTITY else null end) W37,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''38'' then USG_BILLED_QUANTITY else null end) W38,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''39'' then USG_BILLED_QUANTITY else null end) W39,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''40'' then USG_BILLED_QUANTITY else null end) W40,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''41'' then USG_BILLED_QUANTITY else null end) W41,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''42'' then USG_BILLED_QUANTITY else null end) W42,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''43'' then USG_BILLED_QUANTITY else null end) W43,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''44'' then USG_BILLED_QUANTITY else null end) W44,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''45'' then USG_BILLED_QUANTITY else null end) W45,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''46'' then USG_BILLED_QUANTITY else null end) W46,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''47'' then USG_BILLED_QUANTITY else null end) W47,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''48'' then USG_BILLED_QUANTITY else null end) W48,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''49'' then USG_BILLED_QUANTITY else null end) W49,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''50'' then USG_BILLED_QUANTITY else null end) W50,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''51'' then USG_BILLED_QUANTITY else null end) W51,', -' sum(case when to_char(USAGE_INTERVAL_START,''WW'') = ''52'' then USG_BILLED_QUANTITY else null end) W52', -'from', -' oci_cost ', -'WHERE ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Weekly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Weekly Product Unit Report''', -'GROUP BY ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -'having sum(USG_BILLED_QUANTITY)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Weekly Product Unit Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>9999 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002193387763445) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'Product' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002331301763447) -,p_query_column_id=>2 -,p_column_alias=>'W01' -,p_column_display_sequence=>2 -,p_column_heading=>'W01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002507593763448) -,p_query_column_id=>3 -,p_column_alias=>'W02' -,p_column_display_sequence=>3 -,p_column_heading=>'W02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002545462763449) -,p_query_column_id=>4 -,p_column_alias=>'W03' -,p_column_display_sequence=>4 -,p_column_heading=>'W03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002620190763450) -,p_query_column_id=>5 -,p_column_alias=>'W04' -,p_column_display_sequence=>5 -,p_column_heading=>'W04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002740320763451) -,p_query_column_id=>6 -,p_column_alias=>'W05' -,p_column_display_sequence=>6 -,p_column_heading=>'W05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002837109763452) -,p_query_column_id=>7 -,p_column_alias=>'W06' -,p_column_display_sequence=>7 -,p_column_heading=>'W06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002948079763453) -,p_query_column_id=>8 -,p_column_alias=>'W07' -,p_column_display_sequence=>8 -,p_column_heading=>'W07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003108551763454) -,p_query_column_id=>9 -,p_column_alias=>'W08' -,p_column_display_sequence=>9 -,p_column_heading=>'W08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003147069763455) -,p_query_column_id=>10 -,p_column_alias=>'W09' -,p_column_display_sequence=>10 -,p_column_heading=>'W09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003306175763456) -,p_query_column_id=>11 -,p_column_alias=>'W10' -,p_column_display_sequence=>11 -,p_column_heading=>'W10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003344246763457) -,p_query_column_id=>12 -,p_column_alias=>'W11' -,p_column_display_sequence=>12 -,p_column_heading=>'W11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003488703763458) -,p_query_column_id=>13 -,p_column_alias=>'W12' -,p_column_display_sequence=>13 -,p_column_heading=>'W12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003561089763459) -,p_query_column_id=>14 -,p_column_alias=>'W13' -,p_column_display_sequence=>14 -,p_column_heading=>'W13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003696258763460) -,p_query_column_id=>15 -,p_column_alias=>'W14' -,p_column_display_sequence=>15 -,p_column_heading=>'W14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003791294763461) -,p_query_column_id=>16 -,p_column_alias=>'W15' -,p_column_display_sequence=>16 -,p_column_heading=>'W15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003887461763462) -,p_query_column_id=>17 -,p_column_alias=>'W16' -,p_column_display_sequence=>17 -,p_column_heading=>'W16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32003980557763463) -,p_query_column_id=>18 -,p_column_alias=>'W17' -,p_column_display_sequence=>18 -,p_column_heading=>'W17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004108432763464) -,p_query_column_id=>19 -,p_column_alias=>'W18' -,p_column_display_sequence=>19 -,p_column_heading=>'W18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004142827763465) -,p_query_column_id=>20 -,p_column_alias=>'W19' -,p_column_display_sequence=>20 -,p_column_heading=>'W19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004306346763466) -,p_query_column_id=>21 -,p_column_alias=>'W20' -,p_column_display_sequence=>21 -,p_column_heading=>'W20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004344724763467) -,p_query_column_id=>22 -,p_column_alias=>'W21' -,p_column_display_sequence=>22 -,p_column_heading=>'W21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004480317763468) -,p_query_column_id=>23 -,p_column_alias=>'W22' -,p_column_display_sequence=>23 -,p_column_heading=>'W22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004567166763469) -,p_query_column_id=>24 -,p_column_alias=>'W23' -,p_column_display_sequence=>24 -,p_column_heading=>'W23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004615958763470) -,p_query_column_id=>25 -,p_column_alias=>'W24' -,p_column_display_sequence=>25 -,p_column_heading=>'W24' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004735047763471) -,p_query_column_id=>26 -,p_column_alias=>'W25' -,p_column_display_sequence=>26 -,p_column_heading=>'W25' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004885973763472) -,p_query_column_id=>27 -,p_column_alias=>'W26' -,p_column_display_sequence=>27 -,p_column_heading=>'W26' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32004955401763473) -,p_query_column_id=>28 -,p_column_alias=>'W27' -,p_column_display_sequence=>28 -,p_column_heading=>'W27' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005047388763474) -,p_query_column_id=>29 -,p_column_alias=>'W28' -,p_column_display_sequence=>29 -,p_column_heading=>'W28' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005177908763475) -,p_query_column_id=>30 -,p_column_alias=>'W29' -,p_column_display_sequence=>30 -,p_column_heading=>'W29' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32002048278763444) -,p_query_column_id=>31 -,p_column_alias=>'W30' -,p_column_display_sequence=>31 -,p_column_heading=>'W30' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005283413763476) -,p_query_column_id=>32 -,p_column_alias=>'W31' -,p_column_display_sequence=>32 -,p_column_heading=>'W31' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005354582763477) -,p_query_column_id=>33 -,p_column_alias=>'W32' -,p_column_display_sequence=>33 -,p_column_heading=>'W32' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005451261763478) -,p_query_column_id=>34 -,p_column_alias=>'W33' -,p_column_display_sequence=>34 -,p_column_heading=>'W33' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005523466763479) -,p_query_column_id=>35 -,p_column_alias=>'W34' -,p_column_display_sequence=>35 -,p_column_heading=>'W34' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005612400763480) -,p_query_column_id=>36 -,p_column_alias=>'W35' -,p_column_display_sequence=>36 -,p_column_heading=>'W35' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005746112763481) -,p_query_column_id=>37 -,p_column_alias=>'W36' -,p_column_display_sequence=>37 -,p_column_heading=>'W36' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32005889077763482) -,p_query_column_id=>38 -,p_column_alias=>'W37' -,p_column_display_sequence=>38 -,p_column_heading=>'W37' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32019625416797933) -,p_query_column_id=>39 -,p_column_alias=>'W38' -,p_column_display_sequence=>39 -,p_column_heading=>'W38' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32019778670797934) -,p_query_column_id=>40 -,p_column_alias=>'W39' -,p_column_display_sequence=>40 -,p_column_heading=>'W39' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32019812516797935) -,p_query_column_id=>41 -,p_column_alias=>'W40' -,p_column_display_sequence=>41 -,p_column_heading=>'W40' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32019939528797936) -,p_query_column_id=>42 -,p_column_alias=>'W41' -,p_column_display_sequence=>42 -,p_column_heading=>'W41' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020086049797937) -,p_query_column_id=>43 -,p_column_alias=>'W42' -,p_column_display_sequence=>43 -,p_column_heading=>'W42' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020145351797938) -,p_query_column_id=>44 -,p_column_alias=>'W43' -,p_column_display_sequence=>44 -,p_column_heading=>'W43' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020229228797939) -,p_query_column_id=>45 -,p_column_alias=>'W44' -,p_column_display_sequence=>45 -,p_column_heading=>'W44' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020327779797940) -,p_query_column_id=>46 -,p_column_alias=>'W45' -,p_column_display_sequence=>46 -,p_column_heading=>'W45' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020413408797941) -,p_query_column_id=>47 -,p_column_alias=>'W46' -,p_column_display_sequence=>47 -,p_column_heading=>'W46' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020512863797942) -,p_query_column_id=>48 -,p_column_alias=>'W47' -,p_column_display_sequence=>48 -,p_column_heading=>'W47' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020687893797943) -,p_query_column_id=>49 -,p_column_alias=>'W48' -,p_column_display_sequence=>49 -,p_column_heading=>'W48' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020735174797944) -,p_query_column_id=>50 -,p_column_alias=>'W49' -,p_column_display_sequence=>50 -,p_column_heading=>'W49' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020830145797945) -,p_query_column_id=>51 -,p_column_alias=>'W50' -,p_column_display_sequence=>51 -,p_column_heading=>'W50' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32020913776797946) -,p_query_column_id=>52 -,p_column_alias=>'W51' -,p_column_display_sequence=>52 -,p_column_heading=>'W51' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021063353797947) -,p_query_column_id=>53 -,p_column_alias=>'W52' -,p_column_display_sequence=>53 -,p_column_heading=>'W52' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(32021170565797948) -,p_name=>'Monthly Product Unit Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>100 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') as product_name,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''01'' then USG_BILLED_QUANTITY else null end) Jan,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''02'' then USG_BILLED_QUANTITY else null end) Feb,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''03'' then USG_BILLED_QUANTITY else null end) Mar,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''04'' then USG_BILLED_QUANTITY else null end) Apr,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''05'' then USG_BILLED_QUANTITY else null end) May,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''06'' then USG_BILLED_QUANTITY else null end) Jun,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''07'' then USG_BILLED_QUANTITY else null end) Jul,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''08'' then USG_BILLED_QUANTITY else null end) Aug,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''09'' then USG_BILLED_QUANTITY else null end) Sep,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''10'' then USG_BILLED_QUANTITY else null end) Oct,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''11'' then USG_BILLED_QUANTITY else null end) Nov,', -' sum(case when to_char(USAGE_INTERVAL_START,''MM'') = ''12'' then USG_BILLED_QUANTITY else null end) Dec', -'FROM ', -' oci_cost ', -'WHERE ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Monthly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Monthly Product Unit Report''', -'GROUP BY ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -'having sum(USG_BILLED_QUANTITY)>0', -'order by 2 desc', -'', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Monthly Product Unit Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>9999 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021239369797949) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'&P5_REPORT_GROUP.' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021460487797951) -,p_query_column_id=>2 -,p_column_alias=>'JAN' -,p_column_display_sequence=>2 -,p_column_heading=>'Jan &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021518830797952) -,p_query_column_id=>3 -,p_column_alias=>'FEB' -,p_column_display_sequence=>3 -,p_column_heading=>'Feb &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021692288797953) -,p_query_column_id=>4 -,p_column_alias=>'MAR' -,p_column_display_sequence=>4 -,p_column_heading=>'Mar &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021782036797954) -,p_query_column_id=>5 -,p_column_alias=>'APR' -,p_column_display_sequence=>5 -,p_column_heading=>'Apr &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021855797797955) -,p_query_column_id=>6 -,p_column_alias=>'MAY' -,p_column_display_sequence=>6 -,p_column_heading=>'May &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32021969419797956) -,p_query_column_id=>7 -,p_column_alias=>'JUN' -,p_column_display_sequence=>7 -,p_column_heading=>'Jun &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022060866797957) -,p_query_column_id=>8 -,p_column_alias=>'JUL' -,p_column_display_sequence=>8 -,p_column_heading=>'Jul &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022150657797958) -,p_query_column_id=>9 -,p_column_alias=>'AUG' -,p_column_display_sequence=>9 -,p_column_heading=>'Aug &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022244915797959) -,p_query_column_id=>10 -,p_column_alias=>'SEP' -,p_column_display_sequence=>10 -,p_column_heading=>'Sep &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022372322797960) -,p_query_column_id=>11 -,p_column_alias=>'OCT' -,p_column_display_sequence=>11 -,p_column_heading=>'Oct &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022446777797961) -,p_query_column_id=>12 -,p_column_alias=>'NOV' -,p_column_display_sequence=>12 -,p_column_heading=>'Nov &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(32022579154797962) -,p_query_column_id=>13 -,p_column_alias=>'DEC' -,p_column_display_sequence=>13 -,p_column_heading=>'Dec &P5_PERIOD_RANGE.' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_report_column_width=>90 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(33278300388756256) -,p_plug_name=>'Cost By SKU - &P5_PERIOD.' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source_type=>'NATIVE_JET_CHART' -,p_plug_query_num_rows=>15 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Hourly Cost By SKU:Daily Cost By SKU:Weekly Cost By SKU:Monthly Cost By SKU' -); -wwv_flow_imp_page.create_jet_chart( - p_id=>wwv_flow_imp.id(33278353293756257) -,p_region_id=>wwv_flow_imp.id(33278300388756256) -,p_chart_type=>'bar' -,p_height=>'500' -,p_animation_on_display=>'auto' -,p_animation_on_data_change=>'auto' -,p_orientation=>'vertical' -,p_data_cursor=>'auto' -,p_data_cursor_behavior=>'auto' -,p_hide_and_show_behavior=>'none' -,p_hover_behavior=>'none' -,p_stack=>'on' -,p_stack_label=>'on' -,p_connect_nulls=>'Y' -,p_value_position=>'auto' -,p_sorting=>'label-asc' -,p_fill_multi_series_gaps=>true -,p_zoom_and_scroll=>'off' -,p_tooltip_rendered=>'Y' -,p_show_series_name=>true -,p_show_group_name=>true -,p_show_value=>true -,p_show_label=>true -,p_show_row=>true -,p_show_start=>true -,p_show_end=>true -,p_show_progress=>true -,p_show_baseline=>true -,p_legend_rendered=>'on' -,p_legend_position=>'end' -,p_overview_rendered=>'off' -,p_horizontal_grid=>'auto' -,p_vertical_grid=>'auto' -,p_gauge_orientation=>'circular' -,p_gauge_plot_area=>'on' -,p_show_gauge_value=>true -); -wwv_flow_imp_page.create_jet_chart_series( - p_id=>wwv_flow_imp.id(33278485679756258) -,p_chart_id=>wwv_flow_imp.id(33278353293756257) -,p_seq=>10 -,p_name=>'Usage' -,p_data_source_type=>'SQL' -,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end PERIOD,', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') COST_PRODUCT_SKU,', -' sum(COST_MY_COST) as COST_USAGE', -'from oci_cost', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YY' -||'YY'') = :P5_PERIOD_RANGE) and', -' :P5_REPORT_SELECTOR in (''Hourly Cost By SKU'',''Daily Cost By SKU'',''Weekly Cost By SKU'',''Monthly Cost By SKU'') ', -' group by ', -' case ', -' when :P5_PERIOD=''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD HH24'') ', -' when :P5_PERIOD=''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD=''Weekly'' then to_char(USAGE_INTERVAL_START,''YYYY-WW'') ', -' when :P5_PERIOD=''Monthly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-MON'')', -' end,', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -'order by 1,2')) -,p_series_name_column_name=>'COST_PRODUCT_SKU' -,p_items_value_column_name=>'COST_USAGE' -,p_items_label_column_name=>'PERIOD' -,p_assigned_to_y2=>'off' -,p_items_label_rendered=>true -,p_items_label_position=>'center' -,p_items_label_display_as=>'PERCENT' -,p_items_label_font_size=>'10' -,p_threshold_display=>'onIndicator' -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(33278600772756259) -,p_chart_id=>wwv_flow_imp.id(33278353293756257) -,p_axis=>'y' -,p_is_rendered=>'on' -,p_format_type=>'decimal' -,p_decimal_places=>1 -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_position=>'auto' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_jet_chart_axis( - p_id=>wwv_flow_imp.id(33278662143756260) -,p_chart_id=>wwv_flow_imp.id(33278353293756257) -,p_axis=>'x' -,p_is_rendered=>'on' -,p_format_type=>'date-short' -,p_numeric_pattern=>'DD-MON-YYYY' -,p_format_scaling=>'auto' -,p_scaling=>'linear' -,p_baseline_scaling=>'zero' -,p_major_tick_rendered=>'on' -,p_minor_tick_rendered=>'off' -,p_tick_label_rendered=>'on' -,p_tick_label_rotation=>'auto' -,p_tick_label_position=>'outside' -,p_zoom_order_seconds=>false -,p_zoom_order_minutes=>false -,p_zoom_order_hours=>false -,p_zoom_order_days=>false -,p_zoom_order_weeks=>false -,p_zoom_order_months=>false -,p_zoom_order_quarters=>false -,p_zoom_order_years=>false -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(33280228335756276) -,p_name=>'Hourly Cost Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>130 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT /*+ parallel(oci_cost,8) full(oci_cost) use_hash(oci_cost,oci_resources) */ ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end product_name,', -' sum(COST_MY_COST) TOTAL,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''00'' then COST_MY_COST else null end) H00,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''01'' then COST_MY_COST else null end) H01,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''02'' then COST_MY_COST else null end) H02,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''03'' then COST_MY_COST else null end) H03,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''04'' then COST_MY_COST else null end) H04,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''05'' then COST_MY_COST else null end) H05,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''06'' then COST_MY_COST else null end) H06,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''07'' then COST_MY_COST else null end) H07,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''08'' then COST_MY_COST else null end) H08,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''09'' then COST_MY_COST else null end) H09,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''10'' then COST_MY_COST else null end) H10,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''11'' then COST_MY_COST else null end) H11,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''12'' then COST_MY_COST else null end) H12,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''13'' then COST_MY_COST else null end) H13,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''14'' then COST_MY_COST else null end) H14,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''15'' then COST_MY_COST else null end) H15,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''16'' then COST_MY_COST else null end) H16,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''17'' then COST_MY_COST else null end) H17,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''18'' then COST_MY_COST else null end) H18,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''19'' then COST_MY_COST else null end) H19,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''20'' then COST_MY_COST else null end) H20,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''21'' then COST_MY_COST else null end) H21,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''22'' then COST_MY_COST else null end) H22,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''23'' then COST_MY_COST else null end) H23', -'FROM ', -' oci_cost, oci_resources', -'WHERE ', -' usg_resource_id = oci_resources.resource_id (+) and ', -' (oci_cost.tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Hourly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' :P5_REPORT_SELECTOR = ''Hourly Cost Report''', -'GROUP BY ', -' case ', -' when :P5_REPORT_GROUP = ''Product'' or :P5_REPORT_GROUP is null then COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'')', -' when :P5_REPORT_GROUP = ''Service'' then prd_service', -' when :P5_REPORT_GROUP = ''Region'' then prd_region', -' when :P5_REPORT_GROUP = ''Resource Id'' then usg_resource_id', -' when :P5_REPORT_GROUP = ''Resource Id+Name'' then usg_resource_id || '' '' || oci_resources.resource_name', -' when :P5_REPORT_GROUP = ''Tag Special 1'' then tag_special', -' when :P5_REPORT_GROUP = ''Tag Special 2'' then tag_special2', -' when :P5_REPORT_GROUP = ''Tag Special 1+2'' then tag_special||'':''||tag_special2', -' when :P5_REPORT_GROUP = ''Top Compartment'' then ', -' case ', -' when prd_compartment_path is null then ''No Compartment''', -' when prd_compartment_path like ''%/%'' then nvl(substr(prd_compartment_path,1,instr(prd_compartment_path,'' /'')-1) ,''(Root)'')', -' else prd_compartment_path ', -' end ', -' when :P5_REPORT_GROUP = ''Compartment'' then nvl(prd_compartment_name,''No Compartment'')', -' when :P5_REPORT_GROUP = ''Tenant'' then nvl(tenant_id,''No TenantId'')', -' end', -'having sum(COST_MY_COST)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Hourly Cost Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>100 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'ROW_RANGES_WITH_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33681584977100650) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'&P5_REPORT_GROUP.' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33681674954100651) -,p_query_column_id=>2 -,p_column_alias=>'TOTAL' -,p_column_display_sequence=>2 -,p_column_heading=>'Total' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_sum_column=>'Y' -,p_report_column_width=>85 -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33688822446107173) -,p_query_column_id=>3 -,p_column_alias=>'H00' -,p_column_display_sequence=>3 -,p_column_heading=>'H00' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689000358107174) -,p_query_column_id=>4 -,p_column_alias=>'H01' -,p_column_display_sequence=>4 -,p_column_heading=>'H01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689048383107175) -,p_query_column_id=>5 -,p_column_alias=>'H02' -,p_column_display_sequence=>5 -,p_column_heading=>'H02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689165493107176) -,p_query_column_id=>6 -,p_column_alias=>'H03' -,p_column_display_sequence=>6 -,p_column_heading=>'H03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689308390107177) -,p_query_column_id=>7 -,p_column_alias=>'H04' -,p_column_display_sequence=>7 -,p_column_heading=>'H04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689342398107178) -,p_query_column_id=>8 -,p_column_alias=>'H05' -,p_column_display_sequence=>8 -,p_column_heading=>'H05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689429449107179) -,p_query_column_id=>9 -,p_column_alias=>'H06' -,p_column_display_sequence=>9 -,p_column_heading=>'H06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689573349107180) -,p_query_column_id=>10 -,p_column_alias=>'H07' -,p_column_display_sequence=>10 -,p_column_heading=>'H07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689639993107181) -,p_query_column_id=>11 -,p_column_alias=>'H08' -,p_column_display_sequence=>11 -,p_column_heading=>'H08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33689752033107182) -,p_query_column_id=>12 -,p_column_alias=>'H09' -,p_column_display_sequence=>12 -,p_column_heading=>'H09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745190196294933) -,p_query_column_id=>13 -,p_column_alias=>'H10' -,p_column_display_sequence=>13 -,p_column_heading=>'H10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745243939294934) -,p_query_column_id=>14 -,p_column_alias=>'H11' -,p_column_display_sequence=>14 -,p_column_heading=>'H11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745400714294935) -,p_query_column_id=>15 -,p_column_alias=>'H12' -,p_column_display_sequence=>15 -,p_column_heading=>'H12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745427502294936) -,p_query_column_id=>16 -,p_column_alias=>'H13' -,p_column_display_sequence=>16 -,p_column_heading=>'H13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745535762294937) -,p_query_column_id=>17 -,p_column_alias=>'H14' -,p_column_display_sequence=>17 -,p_column_heading=>'H14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745614269294938) -,p_query_column_id=>18 -,p_column_alias=>'H15' -,p_column_display_sequence=>18 -,p_column_heading=>'H15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745807009294939) -,p_query_column_id=>19 -,p_column_alias=>'H16' -,p_column_display_sequence=>19 -,p_column_heading=>'H16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745827197294940) -,p_query_column_id=>20 -,p_column_alias=>'H17' -,p_column_display_sequence=>20 -,p_column_heading=>'H17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33745925564294941) -,p_query_column_id=>21 -,p_column_alias=>'H18' -,p_column_display_sequence=>21 -,p_column_heading=>'H18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746060834294942) -,p_query_column_id=>22 -,p_column_alias=>'H19' -,p_column_display_sequence=>22 -,p_column_heading=>'H19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746207836294943) -,p_query_column_id=>23 -,p_column_alias=>'H20' -,p_column_display_sequence=>23 -,p_column_heading=>'H20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746245071294944) -,p_query_column_id=>24 -,p_column_alias=>'H21' -,p_column_display_sequence=>24 -,p_column_heading=>'H21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746392053294945) -,p_query_column_id=>25 -,p_column_alias=>'H22' -,p_column_display_sequence=>25 -,p_column_heading=>'H22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746476310294946) -,p_query_column_id=>26 -,p_column_alias=>'H23' -,p_column_display_sequence=>26 -,p_column_heading=>'H23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_region( - p_id=>wwv_flow_imp.id(33685214224107137) -,p_name=>'Hourly Product Unit Report' -,p_region_name=>'report' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_template=>wwv_flow_imp.id(26683353252953952) -,p_display_sequence=>160 -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' -,p_display_point=>'SUB_REGIONS' -,p_source_type=>'NATIVE_SQL_REPORT' -,p_query_type=>'SQL' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -' SELECT /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' product_name,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''00'' then USG_BILLED_QUANTITY else null end) D00,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''01'' then USG_BILLED_QUANTITY else null end) D01,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''02'' then USG_BILLED_QUANTITY else null end) D02,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''03'' then USG_BILLED_QUANTITY else null end) D03,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''04'' then USG_BILLED_QUANTITY else null end) D04,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''05'' then USG_BILLED_QUANTITY else null end) D05,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''06'' then USG_BILLED_QUANTITY else null end) D06,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''07'' then USG_BILLED_QUANTITY else null end) D07,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''08'' then USG_BILLED_QUANTITY else null end) D08,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''09'' then USG_BILLED_QUANTITY else null end) D09,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''10'' then USG_BILLED_QUANTITY else null end) D10,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''11'' then USG_BILLED_QUANTITY else null end) D11,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''12'' then USG_BILLED_QUANTITY else null end) D12,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''13'' then USG_BILLED_QUANTITY else null end) D13,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''14'' then USG_BILLED_QUANTITY else null end) D14,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''15'' then USG_BILLED_QUANTITY else null end) D15,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''16'' then USG_BILLED_QUANTITY else null end) D16,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''17'' then USG_BILLED_QUANTITY else null end) D17,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''18'' then USG_BILLED_QUANTITY else null end) D18,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''19'' then USG_BILLED_QUANTITY else null end) D19,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''20'' then USG_BILLED_QUANTITY else null end) D20,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''21'' then USG_BILLED_QUANTITY else null end) D21,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''22'' then USG_BILLED_QUANTITY else null end) D22,', -' sum(case when to_char(USAGE_INTERVAL_START,''HH24'') = ''23'' then USG_BILLED_QUANTITY else null end) D23', -'FROM ', -'(', -' SELECT ', -' COST_PRODUCT_SKU || '' '' || replace(replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') PRODUCT_NAME,', -' USAGE_INTERVAL_START,', -' USG_BILLED_QUANTITY', -' FROM', -' oci_cost ', -' WHERE ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' :P5_PERIOD=''Hourly'' and ', -' to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') AND', -' :P5_REPORT_SELECTOR = ''Hourly Product Unit Report''', -')', -'GROUP BY PRODUCT_NAME', -'having sum(USG_BILLED_QUANTITY)>0', -'order by 2 desc', -'')) -,p_display_when_condition=>'P5_REPORT_SELECTOR' -,p_display_when_cond2=>'Hourly Product Unit Report' -,p_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_ajax_enabled=>'Y' -,p_lazy_loading=>true -,p_query_row_template=>wwv_flow_imp.id(26709087882953984) -,p_query_num_rows=>9999 -,p_query_options=>'DERIVED_REPORT_COLUMNS' -,p_query_show_nulls_as=>'-' -,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' -,p_pagination_display_position=>'BOTTOM_RIGHT' -,p_csv_output=>'Y' -,p_csv_output_link_text=>'Download' -,p_prn_output=>'Y' -,p_prn_format=>'PDF' -,p_prn_output_link_text=>'Print' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width_units=>'PERCENTAGE' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_sort_null=>'L' -,p_plug_query_strip_html=>'N' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33685349076107138) -,p_query_column_id=>1 -,p_column_alias=>'PRODUCT_NAME' -,p_column_display_sequence=>1 -,p_column_heading=>'Product' -,p_use_as_row_header=>'N' -,p_column_html_expression=>'#PRODUCT_NAME#' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746554101294947) -,p_query_column_id=>2 -,p_column_alias=>'D00' -,p_column_display_sequence=>2 -,p_column_heading=>'D00' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746683039294948) -,p_query_column_id=>3 -,p_column_alias=>'D01' -,p_column_display_sequence=>3 -,p_column_heading=>'D01' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746748544294949) -,p_query_column_id=>4 -,p_column_alias=>'D02' -,p_column_display_sequence=>4 -,p_column_heading=>'D02' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746860920294950) -,p_query_column_id=>5 -,p_column_alias=>'D03' -,p_column_display_sequence=>5 -,p_column_heading=>'D03' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33746942427294951) -,p_query_column_id=>6 -,p_column_alias=>'D04' -,p_column_display_sequence=>6 -,p_column_heading=>'D04' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747104483294952) -,p_query_column_id=>7 -,p_column_alias=>'D05' -,p_column_display_sequence=>7 -,p_column_heading=>'D05' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747124619294953) -,p_query_column_id=>8 -,p_column_alias=>'D06' -,p_column_display_sequence=>8 -,p_column_heading=>'D06' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747228343294954) -,p_query_column_id=>9 -,p_column_alias=>'D07' -,p_column_display_sequence=>9 -,p_column_heading=>'D07' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747372613294955) -,p_query_column_id=>10 -,p_column_alias=>'D08' -,p_column_display_sequence=>10 -,p_column_heading=>'D08' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747423281294956) -,p_query_column_id=>11 -,p_column_alias=>'D09' -,p_column_display_sequence=>11 -,p_column_heading=>'D09' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747550605294957) -,p_query_column_id=>12 -,p_column_alias=>'D10' -,p_column_display_sequence=>12 -,p_column_heading=>'D10' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747685069294958) -,p_query_column_id=>13 -,p_column_alias=>'D11' -,p_column_display_sequence=>13 -,p_column_heading=>'D11' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747720505294959) -,p_query_column_id=>14 -,p_column_alias=>'D12' -,p_column_display_sequence=>14 -,p_column_heading=>'D12' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747826257294960) -,p_query_column_id=>15 -,p_column_alias=>'D13' -,p_column_display_sequence=>15 -,p_column_heading=>'D13' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33747975870294961) -,p_query_column_id=>16 -,p_column_alias=>'D14' -,p_column_display_sequence=>16 -,p_column_heading=>'D14' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748035198294962) -,p_query_column_id=>17 -,p_column_alias=>'D15' -,p_column_display_sequence=>17 -,p_column_heading=>'D15' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748112955294963) -,p_query_column_id=>18 -,p_column_alias=>'D16' -,p_column_display_sequence=>18 -,p_column_heading=>'D16' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748270234294964) -,p_query_column_id=>19 -,p_column_alias=>'D17' -,p_column_display_sequence=>19 -,p_column_heading=>'D17' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748396250294965) -,p_query_column_id=>20 -,p_column_alias=>'D18' -,p_column_display_sequence=>20 -,p_column_heading=>'D18' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748506921294966) -,p_query_column_id=>21 -,p_column_alias=>'D19' -,p_column_display_sequence=>21 -,p_column_heading=>'D19' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748512947294967) -,p_query_column_id=>22 -,p_column_alias=>'D20' -,p_column_display_sequence=>22 -,p_column_heading=>'D20' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748679769294968) -,p_query_column_id=>23 -,p_column_alias=>'D21' -,p_column_display_sequence=>23 -,p_column_heading=>'D21' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748791735294969) -,p_query_column_id=>24 -,p_column_alias=>'D22' -,p_column_display_sequence=>24 -,p_column_heading=>'D22' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_report_columns( - p_id=>wwv_flow_imp.id(33748859432294970) -,p_query_column_id=>25 -,p_column_alias=>'D23' -,p_column_display_sequence=>25 -,p_column_heading=>'D23' -,p_use_as_row_header=>'N' -,p_column_format=>'999G999G999G999G990D00' -,p_column_alignment=>'RIGHT' -,p_derived_column=>'N' -,p_include_in_export=>'Y' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(58406437715466832) -,p_plug_name=>'Graph Report Selector' -,p_parent_plug_id=>wwv_flow_imp.id(50557152943855581) -,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--removeHeader js-removeLandmark:t-Region--noUI:t-Region--hiddenOverflow:t-Form--noPadding:margin-top-none:margin-bottom-md:margin-left-none:margin-right-none' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST' -,p_plug_display_when_condition=>'P5_REPORT_SELECTOR' -,p_plug_display_when_cond2=>'Daily Cost Report:Weekly Cost Report:Monthly Cost Report:Hourly Cost Report' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(50557323154855582) -,p_plug_name=>'Choose Tenant' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_source=>'No Data Found, Please Choose Tenant, Date and press Submit.' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_ZERO' -,p_plug_display_when_condition=>'P5_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(28967271671341992) -,p_button_sequence=>120 -,p_button_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_button_name=>'P5_SUBMIT' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Submit' -,p_grid_new_row=>'Y' -,p_grid_column_span=>3 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(24334182798018359) -,p_name=>'P5_TAG2_SPECIAL' -,p_item_sequence=>160 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tag 2 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''TAG_SPECIAL2''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28709087821443172) -,p_name=>'P5_TAG1_SPECIAL' -,p_item_sequence=>150 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tag 1 Special Data' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''TAG_SPECIAL''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28709146573443173) -,p_name=>'P5_ROWS_DISPLAY' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_prompt=>'Rows Filtered' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28851642836457558) -,p_name=>'P5_PERIOD' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Report Period' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC2:Hourly;Hourly,Daily;Daily,Weekly;Weekly,Monthly;Monthly' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28851749040457559) -,p_name=>'P5_PERIOD_RANGE' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_item_default=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select max(', -' case ', -' when :P5_PERIOD = ''Hourly'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD = ''Daily'' or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY-MM'') ', -' when :P5_PERIOD in (''Monthly'',''Weekly'') then to_char(USAGE_INTERVAL_START,''YYYY'') ', -' end) period', -' from ', -' oci_cost_stats', -' where', -' tenant_name=:P5_TENANT_NAME and (:P5_PERIOD <> ''Hourly'' or USAGE_INTERVAL_START'SQL_QUERY' -,p_prompt=>'Year / Month / Day' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' case when :P5_PERIOD = ''Hourly'' then period_d else period_r end o, period_r r', -'from ', -'(', -' select ', -' case ', -' when :P5_PERIOD = ''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD DY'') ', -' when :P5_PERIOD = ''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM'') ', -' when :P5_PERIOD in (''Monthly'',''Weekly'') or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY'') ', -' end||'' - ''||to_char(sum(COST_MY_COST),''999,999,999.9'') period_d,', -' case ', -' when :P5_PERIOD = ''Hourly'' then to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') ', -' when :P5_PERIOD = ''Daily'' then to_char(USAGE_INTERVAL_START,''YYYY-MM'') ', -' when :P5_PERIOD in (''Monthly'',''Weekly'') or :P5_PERIOD is null then to_char(USAGE_INTERVAL_START,''YYYY'') ', -' end period_r', -' from ', -' oci_cost_stats', -' where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and :P5_PERIOD is not null', -' and (:P5_PERIOD <> ''Hourly'' or USAGE_INTERVAL_START>trunc(sysdate)-90 and USAGE_INTERVAL_START'P5_PERIOD,P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28852139523457563) -,p_name=>'P5_REPORT_GROUP' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(58406437715466832) -,p_item_default=>'Product' -,p_prompt=>'Report Group Option' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select report_name as d, report_name as r', -'from', -'(', -' select ''Product'' report_name from dual union all', -' select ''Service'' report_name from dual union all', -' select ''Region'' from dual union all', -' select ''Top Compartment'' from dual union all', -' select ''Compartment'' from dual union all', -' select ''Tenant'' from dual union all', -' select ''Tag Special 1'' from dual union all', -' select ''Tag Special 2'' from dual union all', -' select ''Tag Special 1+2'' from dual union all', -' select ''Resource Id'' from dual union all', -' select ''Resource Id+Name'' from dual where :A_OCI_RESOURCES_COUNT>0', -')')) -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color: #F5FBB4;"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'SUBMIT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28897968249705160) -,p_name=>'P5_TAG_SPECIAL_KEY' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Tag 1+2 Special Keys' -,p_format_mask=>'FML999G999G999G999G990D00' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select key1||case when key2 is null then null else '','' end||key2 from ', -'(select MIN(ref_name) key1 from OCI_COST_REFERENCE where tenant_name=:P5_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY'') a,', -'(select MIN(ref_name) key2 from OCI_COST_REFERENCE where tenant_name=:P5_TENANT_NAME and ref_type=''TAG_SPECIAL_KEY2'') b')) -,p_source_type=>'QUERY_COLON' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -end; -/ -begin -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28967627998341993) -,p_name=>'P5_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ''All'' o, ''ALL'' r from dual', -'union all', -'select distinct tenant_name o, tenant_name r from OCI_COST_REFERENCE order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose...' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold;"' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28968507547341995) -,p_name=>'P5_PRODUCT_SERVICE' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Product Service' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct initcap(ref_name) o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_SERVICE''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28968848544341996) -,p_name=>'P5_COMPARTMENT_TOP' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Top Level Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_COMPARTMENT_PATH''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28969246910341996) -,p_name=>'P5_PRODUCT_REGION' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Product Region' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_REGION''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28970089948341997) -,p_name=>'P5_COST_PRODUCT_SKU' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Product SKU' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct replace(replace(ref_name,substr(ref_name,1,6)||'' - '',''''),''Oracle Cloud Infrastructure'',''OCI'') o, substr(ref_name,1,6) r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''COST_PRODUCT_SKU''', -'order by 1', -'')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME,P5_PERIOD_RANGE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28970413258341997) -,p_name=>'P5_COMPARTMENT_NAME' -,p_item_sequence=>140 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Compartment' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''PRD_COMPARTMENT_NAME''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME,P5_PERIOD_RANGE' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28971235989341998) -,p_name=>'P5_TAG_KEY' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tag Key' -,p_display_as=>'NATIVE_POPUP_LOV' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct tag_key o, tag_key r ', -'from ', -' oci_cost_tag_keys', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'POPUP' -,p_attribute_02=>'FIRST_ROWSET' -,p_attribute_03=>'N' -,p_attribute_04=>'N' -,p_attribute_05=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28971709275341998) -,p_name=>'P5_TAG_DATA' -,p_item_sequence=>110 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tag Data Filter' -,p_display_as=>'NATIVE_TEXT_FIELD' -,p_cSize=>30 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'N' -,p_attribute_04=>'TEXT' -,p_attribute_05=>'BOTH' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28972392848341999) -,p_name=>'P5_COST' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_prompt=>'Total Cost' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 14px;"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28973196163341999) -,p_name=>'P5_ROWS' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29224423166840165) -,p_name=>'P5_TENANT_ID' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Tenant Id' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select distinct ref_name o, ref_name r ', -'from ', -' OCI_COST_REFERENCE ', -'where', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')', -' and ref_type=''TENANT_ID''', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_lov_cascade_parent_items=>'P5_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31084340389210606) -,p_name=>'P5_REPORT_SELECTOR' -,p_item_sequence=>130 -,p_item_plug_id=>wwv_flow_imp.id(39764862521507625) -,p_prompt=>'Chart/Report Selector' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with data as', -'(', -' select ''Hourly Cost Over Time - Total'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost By Service'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost By SKU'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost By Region'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost By Compartment'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost By Top Compartment'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Cost Report'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Hourly Product Unit Report'' report_name from dual where :P5_PERIOD=''Hourly''', -' union all', -' select ''Daily Cost Over Time - Total'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost By Service'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost By SKU'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost By Region'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost By Compartment'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost By Top Compartment'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Cost Report'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Product Unit Report - Single'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Daily Product Unit Report - Total'' report_name from dual where :P5_PERIOD=''Daily''', -' union all', -' select ''Weekly Cost Over Time - Total'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost By Service'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost By SKU'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost By Region'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost By Compartment'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost By Top Compartment'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Cost Report'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Weekly Product Unit Report'' report_name from dual where :P5_PERIOD=''Weekly''', -' union all', -' select ''Monthly Cost Over Time - Total'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost By Service'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost By SKU'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost By Region'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost By Compartment'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost By Top Compartment'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Cost Report'' report_name from dual where :P5_PERIOD=''Monthly''', -' union all', -' select ''Monthly Product Unit Report'' report_name from dual where :P5_PERIOD=''Monthly''', -')', -'select report_name r, report_name o', -'from data', -'')) -,p_lov_cascade_parent_items=>'P5_PERIOD' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 13px;"' -,p_begin_on_new_line=>'N' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31104541430535935) -,p_name=>'P5_YEARLY' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_prompt=>'Yearly Prediction' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color: #F5FBB4; font-weight: bold; font-size: 14px;"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(32394170506716136) -,p_name=>'P5_LAST_DATE_LOADED' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Last Date Loaded' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' to_char(max(USAGE_INTERVAL_START),''DD-MON-YY HH24:MI'') dte', -'from oci_cost_stats', -'where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'')')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(32395098485730647) -,p_name=>'P5_DAYS_DATA' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(39765355792507630) -,p_use_cache_before_default=>'NO' -,p_prompt=>'Days of Data' -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select to_char(sum(cnt)/24,''99999.0'')', -'from', -'(', -' select ', -' count(distinct USAGE_INTERVAL_START) cnt', -' from oci_cost', -' where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE) and', -' not (:P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null)', -' union all', -' select ', -' count(distinct USAGE_INTERVAL_START) cnt', -' from oci_cost_stats', -' where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START,''YYYY'') = :P5_PERIOD_RANGE) and', -' (:P5_TENANT_ID is null and :P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null)', -')')) -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#e8e8e8"' -,p_begin_on_new_line=>'N' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28852388457457565) -,p_computation_sequence=>10 -,p_computation_item=>'P5_REPORT_GROUP' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Product' -,p_compute_when=>'P5_REPORT_GROUP' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28854036519457582) -,p_computation_sequence=>10 -,p_computation_item=>'P5_TENANT_NAME' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select tenant_name from oci_cost_stats where rownum=1' -,p_compute_when=>'P5_TENANT_NAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31104638453535936) -,p_computation_sequence=>10 -,p_computation_item=>'P5_REPORT_SELECTOR' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Daily Cost Over Time - Total' -,p_compute_when=>'P5_REPORT_SELECTOR' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29195943744568575) -,p_computation_sequence=>15 -,p_computation_item=>'P5_PERIOD_RANGE' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select max(to_char(USAGE_INTERVAL_START,''YYYY-MM''))', -'from ', -' oci_cost_stats', -'where', -'(tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') ')) -,p_compute_when=>'P5_PERIOD_RANGE' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28852507352457566) -,p_computation_sequence=>20 -,p_computation_item=>'P5_PERIOD' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'STATIC_ASSIGNMENT' -,p_computation=>'Daily' -,p_compute_when=>'P5_PERIOD' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(28709233314443174) -,p_process_sequence=>10 -,p_process_point=>'AFTER_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'PreFill' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'begin', -'select ', -' to_char(nvl(sum(COST_MY_COST),0),''999,999,999,990.00'')||'' ''||min(COST_CURRENCY_CODE) MY_COST,', -' to_char(nvl(sum(ESTIMATE_YEAR),0),''999,999,999,990'')||'' ''||min(COST_CURRENCY_CODE) MY_COST_YEAR,', -' to_char(sum(cnt),''999,999,999,999'') NUM_ROWS,', -' sum(cnt) NUM_ROWS_DISPLAY', -'into', -' :P5_COST,', -' :P5_YEARLY,', -' :P5_ROWS_DISPLAY,', -' :P5_ROWS', -'from ', -'(', -' select /*+ parallel(oci_cost,8) full(oci_cost) */ ', -' sum(COST_MY_COST) COST_MY_COST, ', -' min(COST_CURRENCY_CODE) COST_CURRENCY_CODE,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_YEAR,', -' count(*) CNT', -' from oci_cost', -' where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_COMPARTMENT_NAME is null or prd_compartment_name = :P5_COMPARTMENT_NAME) and', -' (:P5_PRODUCT_SERVICE is null or prd_service = :P5_PRODUCT_SERVICE) and', -' (:P5_PRODUCT_REGION is null or prd_region = :P5_PRODUCT_REGION) and', -' (:P5_TENANT_ID is null or tenant_id = :P5_TENANT_ID) and', -' (:P5_COMPARTMENT_TOP is null or prd_compartment_path like :P5_COMPARTMENT_TOP ||''%'') and', -' (:P5_TAG_KEY is null or tags_data like ''%#'' || :P5_TAG_KEY || ''=%'') and', -' (:P5_TAG_DATA is null or tags_data like ''%#'' || nvl(:P5_TAG_KEY,''%'') || ''=%'' || :P5_TAG_DATA || ''#'') and', -' (:P5_TAG1_SPECIAL is null or :P5_TAG1_SPECIAL = TAG_SPECIAL) and', -' (:P5_TAG2_SPECIAL is null or :P5_TAG2_SPECIAL = TAG_SPECIAL2) and', -' (:P5_COST_PRODUCT_SKU is null or COST_PRODUCT_SKU = :P5_COST_PRODUCT_SKU) and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START' -||',''YYYY'') = :P5_PERIOD_RANGE) and', -' not (:P5_TENANT_ID is null and :P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null and :' -||'P5_TAG1_SPECIAL is null and :P5_TAG2_SPECIAL is null)', -' union all', -' select', -' sum(COST_MY_COST) COST_MY_COST, ', -' min(COST_CURRENCY_CODE) COST_CURRENCY_CODE,', -' sum(COST_MY_COST)*(24 * 365 / count(distinct USAGE_INTERVAL_START)) ESTIMATE_YEAR,', -' sum(num_rows) cnt', -' from oci_cost_stats', -' where ', -' (tenant_name=:P5_TENANT_NAME or :P5_TENANT_NAME = ''ALL'') and', -' (:P5_PERIOD=''Hourly'' and to_char(USAGE_INTERVAL_START,''YYYY-MM-DD'') = :P5_PERIOD_RANGE or :P5_PERIOD=''Daily'' and to_char(USAGE_INTERVAL_START,''YYYY-MM'') = :P5_PERIOD_RANGE or :P5_PERIOD in (''Monthly'',''Weekly'') and to_char(USAGE_INTERVAL_START' -||',''YYYY'') = :P5_PERIOD_RANGE) and', -' (:P5_COMPARTMENT_NAME is null and :P5_PRODUCT_SERVICE is null and :P5_PRODUCT_REGION is null and :P5_COMPARTMENT_TOP is null and :P5_TAG_KEY is null and :P5_TAG_DATA is null and :P5_COST_PRODUCT_SKU is null and :P5_TENANT_ID is null and :P5_T' -||'AG1_SPECIAL is null and :P5_TAG2_SPECIAL is null)', -');', -'end;')) -,p_process_clob_language=>'PLSQL' -); -end; -/ -prompt --application/pages/page_00006 -begin -wwv_flow_imp_page.create_page( - p_id=>6 -,p_name=>'Data Statistics' -,p_step_title=>'Data Statistics' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.a-IRR-table tr td[headers*="rep_col_grey"]', -'{', -' background-color: #efffff;', -'}')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'18' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230401012716' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28126375548902548) -,p_plug_name=>'Cost Summary Monthly' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tenant_name, ', -' month6, ', -' month5, ', -' month4, ', -' month3, ', -' month2, ', -' month1, ', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month1) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month1_color,', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month2) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month2_color,', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month3) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month3_color,', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month4) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month4_color,', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month5) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month5_color,', -' case when trunc(greatest(month1,month2,month3,month4,month5,month6)) = trunc(month6) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as month6_color', -'from', -'(', -' select ', -' tenant_name,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''),-5) then COST_MY_COST else 0 end) month6,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''),-4) then COST_MY_COST else 0 end) month5,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''),-3) then COST_MY_COST else 0 end) month4,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''),-2) then COST_MY_COST else 0 end) month3,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''),-1) then COST_MY_COST else 0 end) month2,', -' sum(case when trunc(USAGE_INTERVAL_START,''MM'') = add_months(trunc(sysdate,''MM''), 0) then COST_MY_COST else 0 end) month1', -' from oci_cost_stats', -' where ', -' tenant_name like ''%'' and', -' USAGE_INTERVAL_START >= add_months(trunc(sysdate,''MM''),-5)', -' group by tenant_name', -')', -'order by 1')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(28127185655902556) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11208874726636624 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28127269363902557) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28129438386902579) -,p_db_column_name=>'MONTH6' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'&P6_MONTH6.' -,p_column_html_expression=>'#MONTH6#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28129606778902580) -,p_db_column_name=>'MONTH5' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'&P6_MONTH5.' -,p_column_html_expression=>'#MONTH5#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28129690144902581) -,p_db_column_name=>'MONTH4' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'&P6_MONTH4.' -,p_column_html_expression=>wwv_flow_string.join(wwv_flow_t_varchar2( -'#MONTH4#', -'')) -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(28129805342902582) -,p_db_column_name=>'MONTH3' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'&P6_MONTH3.' -,p_column_html_expression=>'#MONTH3#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221270378840133) -,p_db_column_name=>'MONTH2' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'&P6_MONTH2.' -,p_column_html_expression=>'#MONTH2#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221316919840134) -,p_db_column_name=>'MONTH1' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'&P6_MONTH1.' -,p_column_html_expression=>'#MONTH1#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221482443840135) -,p_db_column_name=>'MONTH1_COLOR' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Month1 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221598813840136) -,p_db_column_name=>'MONTH2_COLOR' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Month2 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221655149840137) -,p_db_column_name=>'MONTH3_COLOR' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Month3 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221809824840138) -,p_db_column_name=>'MONTH4_COLOR' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Month4 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221851838840139) -,p_db_column_name=>'MONTH5_COLOR' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Month5 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29221921850840140) -,p_db_column_name=>'MONTH6_COLOR' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Month6 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(29226250885858509) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'123080' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:MONTH6:MONTH5:MONTH4:MONTH3:MONTH2:MONTH1:MONTH1_COLOR:MONTH2_COLOR:MONTH3_COLOR:MONTH4_COLOR:MONTH5_COLOR:MONTH6_COLOR' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(28709395142443175) -,p_plug_name=>'Usage OCPUs Summary Last 10 Days' -,p_region_template_options=>'#DEFAULT#:t-Region--accent4:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>70 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with data as', -'(', -' select tenant_name,', -' trunc(USAGE_INTERVAL_START) as USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE,', -' max(USG_BILLED_QUANTITY) as USG_BILLED_QUANTITY', -' from', -' (', -' select ', -' tenant_name,', -' USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE,', -' sum(USG_BILLED_QUANTITY) USG_BILLED_QUANTITY', -' from', -' (', -' select /*+ parallel(d,8) full(d) */', -' USAGE_INTERVAL_START,', -' tenant_name,', -' USG_CONSUMED_MEASURE,', -' case', -' when USG_CONSUMED_UNITS like ''%MS%'' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end as USG_BILLED_QUANTITY', -' from', -' oci_usage d', -' where', -' USAGE_INTERVAL_START > trunc(sysdate-15) and', -' prd_service not in (''ORACLE_NOTIFICATION_SERVICE'') and', -' prd_resource not in (''PIC_STANDARD_PERFORMANCE'',''PIC_COMPUTE_OUTBOUND_DATA_TRANSFER'') and', -' USG_CONSUMED_MEASURE in (''OCPUS'')', -' )', -' group by', -' tenant_name,', -' USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE', -' )', -' group by tenant_name, USG_CONSUMED_MEASURE, trunc(USAGE_INTERVAL_START)', -')', -'select', -' tenant_name,day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day1) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day1_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day2) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day2_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day3) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day3_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day4) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day4_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day5) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day5_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day6) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day6_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day7) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day7_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day8) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day8_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day9) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day9_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day10) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day10_color', -'from', -'(', -' select', -' tenant_name,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then USG_BILLED_QUANTITY else 0 end) DAY10,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then USG_BILLED_QUANTITY else 0 end) DAY9,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then USG_BILLED_QUANTITY else 0 end) DAY8,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then USG_BILLED_QUANTITY else 0 end) DAY7,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then USG_BILLED_QUANTITY else 0 end) DAY6,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then USG_BILLED_QUANTITY else 0 end) DAY5,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then USG_BILLED_QUANTITY else 0 end) DAY4,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then USG_BILLED_QUANTITY else 0 end) DAY3,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then USG_BILLED_QUANTITY else 0 end) DAY2,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then USG_BILLED_QUANTITY else 0 end) DAY1', -' from data s', -' where', -' USG_CONSUMED_MEASURE = ''OCPUS''', -' group by tenant_name', -' order by 1', -')', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49530290081274033) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32611979152008101 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530376519274034) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49532124354274052) -,p_db_column_name=>'DAY10' -,p_display_order=>20 -,p_column_identifier=>'K' -,p_column_label=>'&P6_DAY10.' -,p_column_html_expression=>'#DAY10#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49532034148274051) -,p_db_column_name=>'DAY9' -,p_display_order=>30 -,p_column_identifier=>'J' -,p_column_label=>'&P6_DAY9.' -,p_column_html_expression=>'#DAY9#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49531944577274050) -,p_db_column_name=>'DAY8' -,p_display_order=>40 -,p_column_identifier=>'I' -,p_column_label=>'&P6_DAY8.' -,p_column_html_expression=>'#DAY8#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530417692274035) -,p_db_column_name=>'DAY7' -,p_display_order=>50 -,p_column_identifier=>'B' -,p_column_label=>'&P6_DAY7.' -,p_column_html_expression=>'#DAY7#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530533871274036) -,p_db_column_name=>'DAY6' -,p_display_order=>60 -,p_column_identifier=>'C' -,p_column_label=>'&P6_DAY6.' -,p_column_html_expression=>'#DAY6#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530646940274037) -,p_db_column_name=>'DAY5' -,p_display_order=>70 -,p_column_identifier=>'D' -,p_column_label=>'&P6_DAY5.' -,p_column_html_expression=>'#DAY5#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530768341274038) -,p_db_column_name=>'DAY4' -,p_display_order=>80 -,p_column_identifier=>'E' -,p_column_label=>'&P6_DAY4.' -,p_column_html_expression=>'#DAY4#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530826300274039) -,p_db_column_name=>'DAY3' -,p_display_order=>90 -,p_column_identifier=>'F' -,p_column_label=>'&P6_DAY3.' -,p_column_html_expression=>'#DAY3#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49530983604274040) -,p_db_column_name=>'DAY2' -,p_display_order=>100 -,p_column_identifier=>'G' -,p_column_label=>'&P6_DAY2.' -,p_column_html_expression=>'#DAY2#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49531093557274041) -,p_db_column_name=>'DAY1' -,p_display_order=>110 -,p_column_identifier=>'H' -,p_column_label=>'&P6_DAY1.' -,p_column_html_expression=>'#DAY1#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49534658116274077) -,p_db_column_name=>'DAY1_COLOR' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Day1 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49534720789274078) -,p_db_column_name=>'DAY2_COLOR' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Day2 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49534833330274079) -,p_db_column_name=>'DAY3_COLOR' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Day3 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49534957841274080) -,p_db_column_name=>'DAY4_COLOR' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Day4 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535095003274081) -,p_db_column_name=>'DAY5_COLOR' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Day5 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535186233274082) -,p_db_column_name=>'DAY6_COLOR' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Day6 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535242509313433) -,p_db_column_name=>'DAY7_COLOR' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Day7 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535328287313434) -,p_db_column_name=>'DAY8_COLOR' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Day8 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535508066313435) -,p_db_column_name=>'DAY9_COLOR' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Day9 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(49535588959313436) -,p_db_column_name=>'DAY10_COLOR' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'Day10 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49549348549319269) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'326311' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:DAY10:DAY9:DAY8:DAY7:DAY6:DAY5:DAY4:DAY3:DAY2:DAY1:DAY1_COLOR:DAY2_COLOR:DAY3_COLOR:DAY4_COLOR:DAY5_COLOR:DAY6_COLOR:DAY7_COLOR:DAY8_COLOR:DAY9_COLOR:DAY10_COLOR' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29288933013151133) -,p_plug_name=>'Usage OCPUs Daily Report by Service for Last 10 Days' -,p_region_template_options=>'#DEFAULT#:t-Region--accent4:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with data as', -'(', -' select tenant_name,', -' prd_service,', -' prd_resource,', -' trunc(USAGE_INTERVAL_START) as USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE,', -' max(USG_BILLED_QUANTITY) as USG_BILLED_QUANTITY', -' from', -' (', -' select ', -' tenant_name,', -' prd_service,', -' prd_resource,', -' USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE,', -' sum(USG_BILLED_QUANTITY) USG_BILLED_QUANTITY', -' from', -' (', -' select /*+ parallel(d,8) full(d) */', -' USAGE_INTERVAL_START,', -' tenant_name,', -' USG_CONSUMED_MEASURE,', -' prd_service,', -' prd_resource,', -' case', -' when USG_CONSUMED_UNITS like ''%MS%'' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000', -' else USG_BILLED_QUANTITY', -' end as USG_BILLED_QUANTITY', -' from', -' oci_usage d', -' where', -' USAGE_INTERVAL_START > trunc(sysdate-15) and', -' USG_CONSUMED_MEASURE in (''OCPUS'')', -' )', -' group by', -' tenant_name,', -' USAGE_INTERVAL_START,', -' USG_CONSUMED_MEASURE,', -' prd_service,', -' prd_resource', -' )', -' group by ', -' tenant_name,', -' prd_service,', -' prd_resource,', -' USG_CONSUMED_MEASURE, trunc(USAGE_INTERVAL_START)', -')', -'select', -' tenant_name,', -' prd_service,', -' prd_resource,', -' day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day1) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day1_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day2) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day2_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day3) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day3_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day4) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day4_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day5) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day5_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day6) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day6_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day7) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day7_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day8) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day8_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day9) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day9_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day10) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day10_color', -'from', -'(', -' select', -' tenant_name,', -' prd_service,', -' prd_resource,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then USG_BILLED_QUANTITY else 0 end) DAY10,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then USG_BILLED_QUANTITY else 0 end) DAY9,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then USG_BILLED_QUANTITY else 0 end) DAY8,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then USG_BILLED_QUANTITY else 0 end) DAY7,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then USG_BILLED_QUANTITY else 0 end) DAY6,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then USG_BILLED_QUANTITY else 0 end) DAY5,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then USG_BILLED_QUANTITY else 0 end) DAY4,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then USG_BILLED_QUANTITY else 0 end) DAY3,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then USG_BILLED_QUANTITY else 0 end) DAY2,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then USG_BILLED_QUANTITY else 0 end) DAY1', -' from data s', -' where', -' USG_CONSUMED_MEASURE = ''OCPUS''', -' group by ', -' tenant_name,', -' prd_service,', -' prd_resource', -' order by 1,2,3', -')', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(29289072465151134) -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12370761535885202 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289183906151135) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291254587151156) -,p_db_column_name=>'PRD_SERVICE' -,p_display_order=>20 -,p_column_identifier=>'V' -,p_column_label=>'Prd Service' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291405572151157) -,p_db_column_name=>'PRD_RESOURCE' -,p_display_order=>30 -,p_column_identifier=>'W' -,p_column_label=>'Prd Resource' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289304774151136) -,p_db_column_name=>'DAY10' -,p_display_order=>40 -,p_column_identifier=>'B' -,p_column_label=>'&P6_DAY10.' -,p_column_html_expression=>'#DAY10#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289329493151137) -,p_db_column_name=>'DAY9' -,p_display_order=>50 -,p_column_identifier=>'C' -,p_column_label=>'&P6_DAY9.' -,p_column_html_expression=>'#DAY9#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289442920151138) -,p_db_column_name=>'DAY8' -,p_display_order=>60 -,p_column_identifier=>'D' -,p_column_label=>'&P6_DAY8.' -,p_column_html_expression=>'#DAY8#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289602138151139) -,p_db_column_name=>'DAY7' -,p_display_order=>70 -,p_column_identifier=>'E' -,p_column_label=>'&P6_DAY7.' -,p_column_html_expression=>'#DAY7#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289647525151140) -,p_db_column_name=>'DAY6' -,p_display_order=>80 -,p_column_identifier=>'F' -,p_column_label=>'&P6_DAY6.' -,p_column_html_expression=>'#DAY6#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289724506151141) -,p_db_column_name=>'DAY5' -,p_display_order=>90 -,p_column_identifier=>'G' -,p_column_label=>'&P6_DAY5.' -,p_column_html_expression=>'#DAY5#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29289901368151142) -,p_db_column_name=>'DAY4' -,p_display_order=>100 -,p_column_identifier=>'H' -,p_column_label=>'&P6_DAY4.' -,p_column_html_expression=>'#DAY4#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290004038151143) -,p_db_column_name=>'DAY3' -,p_display_order=>110 -,p_column_identifier=>'I' -,p_column_label=>'&P6_DAY3.' -,p_column_html_expression=>'#DAY3#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290106266151144) -,p_db_column_name=>'DAY2' -,p_display_order=>120 -,p_column_identifier=>'J' -,p_column_label=>'&P6_DAY2.' -,p_column_html_expression=>'#DAY2#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290208996151145) -,p_db_column_name=>'DAY1' -,p_display_order=>130 -,p_column_identifier=>'K' -,p_column_label=>'&P6_DAY1.' -,p_column_html_expression=>'#DAY1#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290306202151146) -,p_db_column_name=>'DAY1_COLOR' -,p_display_order=>140 -,p_column_identifier=>'L' -,p_column_label=>'Day1 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290345080151147) -,p_db_column_name=>'DAY2_COLOR' -,p_display_order=>150 -,p_column_identifier=>'M' -,p_column_label=>'Day2 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290444286151148) -,p_db_column_name=>'DAY3_COLOR' -,p_display_order=>160 -,p_column_identifier=>'N' -,p_column_label=>'Day3 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290531274151149) -,p_db_column_name=>'DAY4_COLOR' -,p_display_order=>170 -,p_column_identifier=>'O' -,p_column_label=>'Day4 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290662153151150) -,p_db_column_name=>'DAY5_COLOR' -,p_display_order=>180 -,p_column_identifier=>'P' -,p_column_label=>'Day5 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290735200151151) -,p_db_column_name=>'DAY6_COLOR' -,p_display_order=>190 -,p_column_identifier=>'Q' -,p_column_label=>'Day6 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290817424151152) -,p_db_column_name=>'DAY7_COLOR' -,p_display_order=>200 -,p_column_identifier=>'R' -,p_column_label=>'Day7 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29290982245151153) -,p_db_column_name=>'DAY8_COLOR' -,p_display_order=>210 -,p_column_identifier=>'S' -,p_column_label=>'Day8 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291077976151154) -,p_db_column_name=>'DAY9_COLOR' -,p_display_order=>220 -,p_column_identifier=>'T' -,p_column_label=>'Day9 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29291210223151155) -,p_db_column_name=>'DAY10_COLOR' -,p_display_order=>230 -,p_column_identifier=>'U' -,p_column_label=>'Day10 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(29301129214180037) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'123829' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:PRD_SERVICE:PRD_RESOURCE:DAY10:DAY9:DAY8:DAY7:DAY6:DAY5:DAY4:DAY3:DAY2:DAY1:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29471126599579258) -,p_plug_name=>'Usage Statistics - &P6_USAGE_SIZE.' -,p_region_template_options=>'#DEFAULT#:t-Region--accent4:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select /*+ parallel(oci_usage_stats,8) full(oci_usage_stats) */ ', -' tenant_name,', -' to_char(min(USAGE_INTERVAL_START),''MM/DD/YYYY HH24:MI'') MIN_FILE_TIME, ', -' to_char(max(USAGE_INTERVAL_START),''MM/DD/YYYY HH24:MI'') MAX_FILE_TIME, ', -' min(file_id) MIN_FILE_ID, ', -' max(file_id) MAX_FILE_ID, ', -' count(distinct file_id) num_files, ', -' sum(num_rows) as num_rows , ', -' count(distinct USAGE_INTERVAL_START) num_hours,', -' count(distinct trunc(USAGE_INTERVAL_START)) num_days,', -' to_char(max(UPDATE_DATE),''MM/DD/YYYY HH24:MI'') LAST_LOAD,', -' max(AGENT_VERSION) agent_version', -'from ', -' oci_usage_stats', -'group by tenant_name', -'order by 1,2')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(30270552873505051) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>13352241944239119 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270680014505052) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270737245505053) -,p_db_column_name=>'MIN_FILE_TIME' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Min File Time' -,p_column_html_expression=>'#MIN_FILE_TIME#' -,p_column_type=>'STRING' -,p_heading_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270868153505054) -,p_db_column_name=>'MAX_FILE_TIME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Max File Time' -,p_column_html_expression=>'#MAX_FILE_TIME#' -,p_column_type=>'STRING' -,p_heading_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270957973505055) -,p_db_column_name=>'MIN_FILE_ID' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Min File Id' -,p_column_type=>'STRING' -,p_heading_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271031115505056) -,p_db_column_name=>'MAX_FILE_ID' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Max File Id' -,p_column_type=>'STRING' -,p_heading_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271176811505057) -,p_db_column_name=>'NUM_FILES' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Num Files' -,p_column_type=>'NUMBER' -,p_heading_alignment=>'RIGHT' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271291280505058) -,p_db_column_name=>'NUM_ROWS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Num Rows' -,p_column_type=>'NUMBER' -,p_heading_alignment=>'RIGHT' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271353446505059) -,p_db_column_name=>'NUM_HOURS' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Num Hours' -,p_column_type=>'NUMBER' -,p_heading_alignment=>'RIGHT' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271429740505060) -,p_db_column_name=>'NUM_DAYS' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Num Days' -,p_column_type=>'NUMBER' -,p_heading_alignment=>'RIGHT' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271528781505061) -,p_db_column_name=>'LAST_LOAD' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Last Load' -,p_column_html_expression=>'#LAST_LOAD#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30271628341505062) -,p_db_column_name=>'AGENT_VERSION' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Agent Version' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(30491203726276377) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'135729' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:MIN_FILE_TIME:MAX_FILE_TIME:MIN_FILE_ID:MAX_FILE_ID:NUM_FILES:NUM_ROWS:NUM_HOURS:NUM_DAYS:LAST_LOAD:AGENT_VERSION' -,p_sum_columns_on_break=>'NUM_ROWS:NUM_FILES' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(29549024074307531) -,p_plug_name=>'Cost Statistics - &P6_COST_SIZE.' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'with full_days as', -'(', -' select ', -' tenant_name, ', -' max(COST_DAY) MAX_COST_DAY,', -' avg(COST_DAY) AVG_COST_DAY,', -' to_Char(min(date_day),''MM/DD/YYYY'') MIN_FULL_DAY,', -' to_Char(max(date_day),''MM/DD/YYYY'') MAX_FULL_DAY,', -' count(*) NUM_FULL_DAYS', -' from', -' (', -' select /*+ parallel(a,4) materialize */ ', -' tenant_name,', -' trunc(USAGE_INTERVAL_START) date_day,', -' count(distinct USAGE_INTERVAL_START) DAY_HOURS,', -' sum(COST_MY_COST) COST_DAY', -' from oci_cost_stats a', -' group by ', -' tenant_name,', -' trunc(USAGE_INTERVAL_START) ', -' having count(distinct USAGE_INTERVAL_START) = 24 ', -' )', -' group by tenant_name', -'),', -'total_stats as', -'(', -' select /*+ parallel(a,4) materialize */ ', -' tenant_name,', -' to_char(min(USAGE_INTERVAL_START),''MM/DD/YYYY HH24:MI'') MIN_FILE_TIME, ', -' to_char(max(USAGE_INTERVAL_START),''MM/DD/YYYY HH24:MI'') MAX_FILE_TIME, ', -' min(file_id) MIN_FILE_ID, ', -' max(file_id) MAX_FILE_ID, ', -' count(distinct file_id) num_files, ', -' sum(num_rows) as num_rows,', -' to_char(max(UPDATE_DATE),''MM/DD/YYYY HH24:MI'') LAST_LOAD,', -' max(agent_version) AGENT_VERSION', -' from ', -' oci_cost_stats a', -' group by tenant_name', -')', -'select ', -' a.tenant_name,', -' a.MIN_FILE_TIME, ', -' a.MAX_FILE_TIME, ', -' a.MIN_FILE_ID, ', -' a.MAX_FILE_ID, ', -' a.num_files, ', -' a.num_rows,', -' b.AVG_COST_DAY,', -' b.MAX_COST_DAY,', -' nvl(b.NUM_FULL_DAYS,0) NUM_FULL_DAYS,', -' (select count(*) from OCI_COST_REFERENCE b where a.tenant_name=b.tenant_name and ref_type=''TENANT_ID'') sub_tenants,', -' LAST_LOAD,', -' AGENT_VERSION', -'from', -' total_stats a,', -' full_days b', -'where ', -' a.tenant_name = b.tenant_name(+)', -'order by 1')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(30269264332505038) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADI.ZOHAR@ORACLE.COM' -,p_internal_uid=>13350953403239106 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269350143505039) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269441600505040) -,p_db_column_name=>'MIN_FILE_TIME' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Min File Time' -,p_column_html_expression=>'#MIN_FILE_TIME#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269513529505041) -,p_db_column_name=>'MAX_FILE_TIME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Max File Time' -,p_column_html_expression=>'#MAX_FILE_TIME#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269619919505042) -,p_db_column_name=>'MIN_FILE_ID' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Min File Id' -,p_column_html_expression=>'#MIN_FILE_ID#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269743136505043) -,p_db_column_name=>'MAX_FILE_ID' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Max File Id' -,p_column_html_expression=>'#MAX_FILE_ID#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30269898920505044) -,p_db_column_name=>'NUM_FILES' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Num Files' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270008621505045) -,p_db_column_name=>'NUM_ROWS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Num Rows' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270061723505046) -,p_db_column_name=>'AVG_COST_DAY' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Avg Cost Day' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270128705505047) -,p_db_column_name=>'MAX_COST_DAY' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Max Cost Day' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270220243505048) -,p_db_column_name=>'NUM_FULL_DAYS' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Num Full Days' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33592709343868054) -,p_db_column_name=>'SUB_TENANTS' -,p_display_order=>110 -,p_column_identifier=>'M' -,p_column_label=>'Sub Tenants' -,p_column_type=>'NUMBER' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270385152505049) -,p_db_column_name=>'LAST_LOAD' -,p_display_order=>120 -,p_column_identifier=>'K' -,p_column_label=>'Last Load' -,p_column_html_expression=>'#LAST_LOAD#' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(30270415207505050) -,p_db_column_name=>'AGENT_VERSION' -,p_display_order=>130 -,p_column_identifier=>'L' -,p_column_label=>'Agent Version' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(30490528094276362) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_type=>'REPORT' -,p_report_alias=>'135723' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:MIN_FILE_TIME:MAX_FILE_TIME:MIN_FILE_ID:MAX_FILE_ID:NUM_FILES:NUM_ROWS:AVG_COST_DAY:MAX_COST_DAY:NUM_FULL_DAYS:SUB_TENANTS:LAST_LOAD:AGENT_VERSION:' -,p_sum_columns_on_break=>'NUM_ROWS:NUM_FILES' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(31106943707535959) -,p_plug_name=>'Cost Summary Last 7 Days' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' tenant_name, ', -' day7, ', -' day6, ', -' day5, ', -' day4, ', -' day3, ', -' day2, ', -' day1, ', -' greatest(day1,day2,day3,day4,day5,day6,day7)*365 year,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day1) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day1_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day2) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day2_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day3) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day3_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day4) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day4_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day5) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day5_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day6) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day6_color,', -' case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7)) = trunc(day7) then ''background-color:#CCFFCC;font-weight:bold;'' else ''background-color:#FFFFFF'' END as day7_color', -'from', -'(', -' select ', -' tenant_name,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7) then COST_MY_COST else 0 end) DAY7,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6) then COST_MY_COST else 0 end) DAY6,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5) then COST_MY_COST else 0 end) DAY5,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4) then COST_MY_COST else 0 end) DAY4,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3) then COST_MY_COST else 0 end) DAY3,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2) then COST_MY_COST else 0 end) DAY2,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1) then COST_MY_COST else 0 end) DAY1,', -' sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4) then COST_MY_COST else 0 end)*365 YEAR3 ', -' from oci_cost_stats', -' where ', -' tenant_name like ''%'' and', -' USAGE_INTERVAL_START > trunc(sysdate-8)', -' group by tenant_name', -')', -'order by 1')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(31107185986535961) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>14188875057270029 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107258445535962) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107366766535963) -,p_db_column_name=>'DAY7' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'&P6_DAY7.' -,p_column_html_expression=>'#DAY7#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107475844535964) -,p_db_column_name=>'DAY6' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'&P6_DAY6.' -,p_column_html_expression=>'#DAY6#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107512997535965) -,p_db_column_name=>'DAY5' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'&P6_DAY5.' -,p_column_html_expression=>'#DAY5#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107628972535966) -,p_db_column_name=>'DAY4' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'&P6_DAY4.' -,p_column_html_expression=>'#DAY4#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107740566535967) -,p_db_column_name=>'DAY3' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'&P6_DAY3.' -,p_column_html_expression=>'#DAY3#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107871937535968) -,p_db_column_name=>'DAY2' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'&P6_DAY2.' -,p_column_html_expression=>'#DAY2#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(31107929870535969) -,p_db_column_name=>'DAY1' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'&P6_DAY1.' -,p_column_html_expression=>'#DAY1#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33590726688868035) -,p_db_column_name=>'YEAR' -,p_display_order=>90 -,p_column_identifier=>'J' -,p_column_label=>'Year Estimation' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990' -,p_static_id=>'rep_col_grey' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279338219756267) -,p_db_column_name=>'DAY1_COLOR' -,p_display_order=>100 -,p_column_identifier=>'K' -,p_column_label=>'Day1 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279458297756268) -,p_db_column_name=>'DAY2_COLOR' -,p_display_order=>110 -,p_column_identifier=>'L' -,p_column_label=>'Day2 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279543669756269) -,p_db_column_name=>'DAY3_COLOR' -,p_display_order=>120 -,p_column_identifier=>'M' -,p_column_label=>'Day3 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279705964756270) -,p_db_column_name=>'DAY4_COLOR' -,p_display_order=>130 -,p_column_identifier=>'N' -,p_column_label=>'Day4 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279810759756271) -,p_db_column_name=>'DAY5_COLOR' -,p_display_order=>140 -,p_column_identifier=>'O' -,p_column_label=>'Day5 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279851307756272) -,p_db_column_name=>'DAY6_COLOR' -,p_display_order=>150 -,p_column_identifier=>'P' -,p_column_label=>'Day6 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33279950160756273) -,p_db_column_name=>'DAY7_COLOR' -,p_display_order=>160 -,p_column_identifier=>'Q' -,p_column_label=>'Day7 Color' -,p_column_type=>'STRING' -,p_display_text_as=>'HIDDEN' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(33587868507823051) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'166696' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:DAY7:DAY6:DAY5:DAY4:DAY3:DAY2:DAY1:YEAR::DAY1_COLOR:DAY2_COLOR:DAY3_COLOR:DAY4_COLOR:DAY5_COLOR:DAY6_COLOR:DAY7_COLOR' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(33592717071868055) -,p_plug_name=>'Storage Statistics' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>90 -,p_plug_grid_column_span=>3 -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select', -' ''Cost Tables and Indexes'' area,', -' to_char(sum(bytes/1024/1024/1024),''999,999.99'') GB', -'from', -' user_segments', -'where segment_name like ''%OCI_COST%''', -'union all', -'select', -' ''Usage Tables and Indexes'' object_name,', -' to_char(sum(bytes/1024/1024/1024),''999,999.99'') GB', -'from', -' user_segments', -'where segment_name like ''%OCI_USAGE%''', -'union all', -'select', -' ''Other Objects'' object_name,', -' to_char(sum(bytes/1024/1024/1024),''999,999.99'') GB', -'from', -' user_segments', -'where segment_name not like ''BIN%'' and segment_name not like ''%OCI_USAGE%'' and segment_name not like ''%OCI_COST%''', -'union all', -'select', -' ''Total All Objects'' object_name,', -' to_char(sum(bytes/1024/1024/1024),''999,999.99'') GB', -'from', -' user_segments', -'where segment_name not like ''BIN%''', -'')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(33593006665868057) -,p_show_nulls_as=>'-' -,p_show_search_bar=>'N' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>16674695736602125 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33594201857868069) -,p_db_column_name=>'AREA' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Area' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33594227275868070) -,p_db_column_name=>'GB' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'GB' -,p_column_type=>'STRING' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(39732593454613747) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'228143' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'AREA:GB' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126427139902549) -,p_name=>'P6_MONTH1' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126582405902550) -,p_name=>'P6_MONTH2' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126662698902551) -,p_name=>'P6_MONTH3' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126800580902552) -,p_name=>'P6_MONTH4' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126844370902553) -,p_name=>'P6_MONTH5' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(28126983134902554) -,p_name=>'P6_MONTH6' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(28126375548902548) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29473513010579282) -,p_name=>'P6_USAGE_SIZE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(29471126599579258) -,p_use_cache_before_default=>'NO' -,p_source=>'select to_char(sum(bytes/1024/1024/1024),''999,990.9'') ||'' GB'' GB from user_segments where segment_name=''OCI_USAGE''' -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -end; -/ -begin -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(30268889766505034) -,p_name=>'P6_COST_SIZE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(29549024074307531) -,p_use_cache_before_default=>'NO' -,p_source=>'select to_char(sum(bytes/1024/1024/1024),''999,990.9'') ||'' GB'' GB from user_segments where segment_name=''OCI_COST''' -,p_source_type=>'QUERY' -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108056882535970) -,p_name=>'P6_DAY1' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108283639535972) -,p_name=>'P6_DAY2' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108421447535974) -,p_name=>'P6_DAY3' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108525946535975) -,p_name=>'P6_DAY4' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108625351535976) -,p_name=>'P6_DAY5' -,p_item_sequence=>50 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108798801535977) -,p_name=>'P6_DAY6' -,p_item_sequence=>60 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(31108878515535978) -,p_name=>'P6_DAY7' -,p_item_sequence=>70 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(49534032328274071) -,p_name=>'P6_DAY8' -,p_item_sequence=>80 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(49534124414274072) -,p_name=>'P6_DAY9' -,p_item_sequence=>90 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(49534298060274073) -,p_name=>'P6_DAY10' -,p_item_sequence=>100 -,p_item_plug_id=>wwv_flow_imp.id(31106943707535959) -,p_display_as=>'NATIVE_HIDDEN' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31108172644535971) -,p_computation_sequence=>10 -,p_computation_item=>'P6_DAY1' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-1),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31108340955535973) -,p_computation_sequence=>20 -,p_computation_item=>'P6_DAY2' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-2),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31108976555535979) -,p_computation_sequence=>30 -,p_computation_item=>'P6_DAY3' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-3),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31109084921535980) -,p_computation_sequence=>40 -,p_computation_item=>'P6_DAY4' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-4),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31109171295535981) -,p_computation_sequence=>50 -,p_computation_item=>'P6_DAY5' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-5),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(31109307020535982) -,p_computation_sequence=>60 -,p_computation_item=>'P6_DAY6' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-6),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(33590597940868033) -,p_computation_sequence=>70 -,p_computation_item=>'P6_DAY7' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-7),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28128847626902573) -,p_computation_sequence=>80 -,p_computation_item=>'P6_MONTH1' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),0),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28129005472902574) -,p_computation_sequence=>90 -,p_computation_item=>'P6_MONTH2' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),-1),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28129056293902575) -,p_computation_sequence=>100 -,p_computation_item=>'P6_MONTH3' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),-2),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28129162749902576) -,p_computation_sequence=>110 -,p_computation_item=>'P6_MONTH4' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),-3),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28129251587902577) -,p_computation_sequence=>120 -,p_computation_item=>'P6_MONTH5' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),-4),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(28129349713902578) -,p_computation_sequence=>130 -,p_computation_item=>'P6_MONTH6' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(add_months(trunc(sysdate,''MM''),-5),''MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(49534403071274074) -,p_computation_sequence=>140 -,p_computation_item=>'P6_DAY8' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-8),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(49534462353274075) -,p_computation_sequence=>150 -,p_computation_item=>'P6_DAY9' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-9),''DD-MON-YYYY'') val from dual' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(49534554856274076) -,p_computation_sequence=>160 -,p_computation_item=>'P6_DAY10' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select to_char(trunc(sysdate-10),''DD-MON-YYYY'') val from dual' -); -end; -/ -prompt --application/pages/page_00007 -begin -wwv_flow_imp_page.create_page( - p_id=>7 -,p_name=>'Rate Card' -,p_step_title=>'Rate Card' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.a-IRR-table tr td[headers*="rep_col_grey"]', -'{', -' background-color: #efffff;', -'}', -'.a-IRR-table tr td[headers*="rep_col_blue"]', -'{', -' background-color: #ffefff;', -'}', -'', -'')) -,p_page_template_options=>'#DEFAULT#' -,p_page_component_map=>'18' -,p_last_updated_by=>'USAGE' -,p_last_upd_yyyymmddhh24miss=>'20211025151827' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(89287622627078316) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_grid_column_span=>12 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(100079913049426272) -,p_plug_name=>'ShowGraphs' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(78709489619118124) -,p_plug_name=>'Rate Card Report' -,p_parent_plug_id=>wwv_flow_imp.id(100079913049426272) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'SELECT', -' TENANT_NAME TENANT,', -' TENANT_ID TENANT_ID,', -' COST_PRODUCT_SKU SKU,', -' replace(PRD_DESCRIPTION,COST_PRODUCT_SKU||'' - '','''') PRODUCT,', -' COST_CURRENCY_CODE CURRENCY,', -' COST_UNIT_PRICE COST_PRICE,', -' COST_LAST_UPDATE,', -' RATE_DESCRIPTION,', -' ROUND(RATE_MONTHLY_FLEX_PRICE,4) RATE_MONTHLY,', -' CASE WHEN RATE_MONTHLY_FLEX_PRICE > 0 AND RATE_MONTHLY_FLEX_PRICE IS NOT NULL and COST_UNIT_PRICE>0 THEN', -' ROUND((RATE_MONTHLY_FLEX_PRICE - COST_UNIT_PRICE )/RATE_MONTHLY_FLEX_PRICE * 100,1)', -' ELSE NULL END PCT_MONTH,', -' RATE_UPDATE_DATE', -'FROM', -' OCI_PRICE_LIST', -'where tenant_name=:P7_TENANT_NAME and tenant_id=:P7_TENANT_ID', -'order by cost_product_sku;')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(33276711913756241) -,p_max_row_count=>'1000000' -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>16358400984490309 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33276830153756242) -,p_db_column_name=>'TENANT' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33276991758756243) -,p_db_column_name=>'SKU' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Sku' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277064126756244) -,p_db_column_name=>'PRODUCT' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Product' -,p_column_html_expression=>'#PRODUCT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277195774756245) -,p_db_column_name=>'CURRENCY' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Currency' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277270590756246) -,p_db_column_name=>'COST_PRICE' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Cost Price' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0000' -,p_static_id=>'rep_col_grey' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277399317756247) -,p_db_column_name=>'COST_LAST_UPDATE' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Cost Last Update' -,p_column_html_expression=>'#COST_LAST_UPDATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277468277756248) -,p_db_column_name=>'RATE_DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Rate Full Description' -,p_column_html_expression=>'#RATE_DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277760778756251) -,p_db_column_name=>'RATE_MONTHLY' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Public Rate' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D0000' -,p_static_id=>'rep_col_grey' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277850856756252) -,p_db_column_name=>'PCT_MONTH' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'% Discount' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G990D00' -,p_static_id=>'rep_col_blue' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(33277951347756253) -,p_db_column_name=>'RATE_UPDATE_DATE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Rate Update Date' -,p_column_html_expression=>'#RATE_UPDATE_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29224746192840168) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Tenant Id' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(33311099629253972) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'163928' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'SKU:PRODUCT:CURRENCY:RATE_MONTHLY:PCT_MONTH:COST_PRICE:RATE_DESCRIPTION:RATE_UPDATE_DATE:' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(40721806645769283) -,p_button_sequence=>30 -,p_button_plug_id=>wwv_flow_imp.id(89287622627078316) -,p_button_name=>'P7_SUBMIT' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Submit' -,p_grid_new_row=>'N' -,p_grid_new_column=>'Y' -,p_grid_column_span=>2 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29224565396840166) -,p_name=>'P7_TENANT_ID' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(89287622627078316) -,p_prompt=>'Tenant Id' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'select distinct tenant_id o, tenant_id r from OCI_PRICE_LIST where tenant_name = :P7_TENANT_NAME order by 1' -,p_lov_cascade_parent_items=>'P7_TENANT_NAME' -,p_ajax_optimize_refresh=>'Y' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_warn_on_unsaved_changes=>'I' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(33290722528788180) -,p_name=>'P7_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(89287622627078316) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'select distinct tenant_name o, tenant_name r from OCI_PRICE_LIST order by 1' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Choose...' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold"' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_warn_on_unsaved_changes=>'I' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'NONE' -,p_attribute_02=>'N' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(33296698586788195) -,p_computation_sequence=>10 -,p_computation_item=>'P7_TENANT_NAME' -,p_computation_point=>'AFTER_HEADER' -,p_computation_type=>'QUERY' -,p_computation=>'select tenant_name from oci_cost where rownum=1' -,p_compute_when=>'P7_TENANT_NAME' -,p_compute_when_type=>'ITEM_IS_NULL' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29224621342840167) -,p_computation_sequence=>10 -,p_computation_item=>'P7_TENANT_ID' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>'select min(tenant_id) from OCI_PRICE_LIST where tenant_name = :P7_TENANT_NAME ' -,p_compute_when=>'P7_TENANT_ID' -,p_compute_when_type=>'ITEM_IS_NULL' -); -end; -/ -prompt --application/pages/page_00008 -begin -wwv_flow_imp_page.create_page( - p_id=>8 -,p_name=>'Load Status' -,p_alias=>'LOAD-STATUS' -,p_page_mode=>'MODAL' -,p_step_title=>'Load Status' -,p_warn_on_unsaved_changes=>'N' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( -'if ($v("P8_TENANT_NAME") != "") {$("#P8_TENANT_NAME" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }', -'if ($v("P8_FILE_TYPE") != "") {$("#P8_FILE_TYPE" ).css({"background-color":"#ddffff", "font-weight":"bold"}); }')) -,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( -'.a-IRR-table tr td[headers*="rep_col_grey"]', -'{', -' background-color: #efffff;', -'}', -'.a-IRR-table tr td[headers*="rep_col_blue"]', -'{', -' background-color: #ffefff;', -'}', -'', -'')) -,p_page_template_options=>'#DEFAULT#' -,p_dialog_width=>'1400' -,p_page_component_map=>'18' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230401013116' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(105619921556865454) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--accent12:t-Region--scrollBody' -,p_region_attributes=>'style="font-weight:bold"' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>10 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_grid_column_span=>12 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(116412211979213410) -,p_plug_name=>'ShowGraphs' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(95041788548905262) -,p_plug_name=>'Load Status Report' -,p_parent_plug_id=>wwv_flow_imp.id(116412211979213410) -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_plug_display_point=>'SUB_REGIONS' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' TENANT_NAME,', -' FILE_TYPE,', -' FILE_ID,', -' FILE_NAME,', -' FILE_DATE,', -' FILE_SIZE,', -' NUM_ROWS,', -' LOAD_START_TIME,', -' LOAD_END_TIME,', -' (LOAD_END_TIME-LOAD_START_TIME)*24*60*60 DURATION,', -' AGENT_VERSION,', -' BATCH_ID || '' / '' ||BATCH_TOTAL AS BATCH,', -' BATCH_TOTAL - BATCH_ID LEFT_IN_BATCH', -'from OCI_LOAD_STATUS', -'where ', -' (:P8_TENANT_NAME is null or tenant_name=:P8_TENANT_NAME) and ', -' (:P8_FILE_TYPE is null or FILE_TYPE=:P8_FILE_TYPE)', -'order by load_start_time desc')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P8_ROWS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>8.5 -,p_prn_height=>11 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#9bafde' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'normal' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#efefef' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(49609010843543379) -,p_allow_save_rpt_public=>'Y' -,p_show_nulls_as=>'-' -,p_pagination_type=>'ROWS_X_TO_Y' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_show_display_row_count=>'Y' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>true -,p_show_detail_link=>'N' -,p_show_rows_per_page=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>32690699914277447 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292042231151164) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'N' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292139189151165) -,p_db_column_name=>'FILE_TYPE' -,p_display_order=>20 -,p_column_identifier=>'O' -,p_column_label=>'File Type' -,p_column_html_expression=>'#FILE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292305204151166) -,p_db_column_name=>'FILE_ID' -,p_display_order=>30 -,p_column_identifier=>'P' -,p_column_label=>'File Id' -,p_column_html_expression=>'#FILE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292388389151167) -,p_db_column_name=>'FILE_NAME' -,p_display_order=>40 -,p_column_identifier=>'Q' -,p_column_label=>'File Name' -,p_column_html_expression=>'#FILE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292477153151168) -,p_db_column_name=>'FILE_DATE' -,p_display_order=>50 -,p_column_identifier=>'R' -,p_column_label=>'File Date' -,p_column_html_expression=>'#FILE_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292533785151169) -,p_db_column_name=>'FILE_SIZE' -,p_display_order=>60 -,p_column_identifier=>'S' -,p_column_label=>'File Size MB' -,p_column_html_expression=>'#FILE_SIZE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292670055151170) -,p_db_column_name=>'NUM_ROWS' -,p_display_order=>70 -,p_column_identifier=>'T' -,p_column_label=>'Num Rows' -,p_column_html_expression=>'#NUM_ROWS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292738632151171) -,p_db_column_name=>'LOAD_START_TIME' -,p_display_order=>80 -,p_column_identifier=>'U' -,p_column_label=>'Load Start Time' -,p_column_html_expression=>'#LOAD_START_TIME#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI:SS' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29292825421151172) -,p_db_column_name=>'LOAD_END_TIME' -,p_display_order=>90 -,p_column_identifier=>'V' -,p_column_label=>'Load End Time' -,p_column_html_expression=>'#LOAD_END_TIME#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI:SS' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29293434355151178) -,p_db_column_name=>'DURATION' -,p_display_order=>100 -,p_column_identifier=>'Z' -,p_column_label=>'Duration (Seconds)' -,p_column_html_expression=>'#DURATION#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29293043113151174) -,p_db_column_name=>'AGENT_VERSION' -,p_display_order=>110 -,p_column_identifier=>'X' -,p_column_label=>'Agent Version' -,p_column_html_expression=>'#AGENT_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29293156618151175) -,p_db_column_name=>'BATCH' -,p_display_order=>120 -,p_column_identifier=>'Y' -,p_column_label=>'Batch' -,p_column_html_expression=>'#BATCH#' -,p_column_type=>'STRING' -,p_column_alignment=>'CENTER' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(29293610213151179) -,p_db_column_name=>'LEFT_IN_BATCH' -,p_display_order=>130 -,p_column_identifier=>'AA' -,p_column_label=>'Files Left In Batch' -,p_column_html_expression=>'#LEFT_IN_BATCH#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_format_mask=>'999G999G999G999G999G999G990' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(49643398559041110) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'163928' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:FILE_TYPE:FILE_DATE:FILE_NAME:FILE_SIZE:NUM_ROWS:LOAD_START_TIME:LOAD_END_TIME:DURATION:LEFT_IN_BATCH:AGENT_VERSION:' -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(17132437646059053) -,p_button_sequence=>30 -,p_button_plug_id=>wwv_flow_imp.id(105619921556865454) -,p_button_name=>'Refresh' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#:t-Button--large:t-Button--stretch:t-Button--gapTop' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Refresh' -,p_grid_new_row=>'N' -,p_grid_new_column=>'Y' -,p_grid_column_span=>2 -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(29293288089151176) -,p_name=>'P8_ROWS' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(105619921556865454) -,p_prompt=>'Rows Filtered' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="background-color:#f0f0f0"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_grid_column=>11 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_attribute_01=>'Y' -,p_attribute_02=>'VALUE' -,p_attribute_04=>'Y' -,p_attribute_05=>'PLAIN' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(33251911794053168) -,p_name=>'P8_TENANT_NAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(105619921556865454) -,p_prompt=>'Tenant Name' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'select distinct tenant_name o, tenant_name r from OCI_LOAD_STATUS order by 1' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_cHeight=>1 -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_warn_on_unsaved_changes=>'I' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'SUBMIT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(33252364755053174) -,p_name=>'P8_FILE_TYPE' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(105619921556865454) -,p_prompt=>'File Type' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC:COST;COST,USAGE;USAGE' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'All' -,p_cHeight=>1 -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_warn_on_unsaved_changes=>'I' -,p_lov_display_extra=>'NO' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'SUBMIT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(29293350993151177) -,p_computation_sequence=>10 -,p_computation_item=>'P8_ROWS' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -' count(*)', -'from OCI_LOAD_STATUS', -'where ', -' (:P8_TENANT_NAME is null or tenant_name=:P8_TENANT_NAME) and ', -' (:P8_FILE_TYPE is null or FILE_TYPE=:P8_FILE_TYPE)', -'')) -); -end; -/ -prompt --application/pages/page_00011 -begin -wwv_flow_imp_page.create_page( - p_id=>11 -,p_name=>'ShowOCI Data' -,p_alias=>'SHOWOCI-DATA' -,p_step_title=>'ShowOCI Data' -,p_autocomplete_on_off=>'OFF' -,p_javascript_code=>'$(function() { $("td[headers=repcol]").attr("nowrap","nowrap"); }); ' -,p_inline_css=>'#report .t-fht-thead{ overflow: auto !important; }' -,p_page_template_options=>'#DEFAULT#' -,p_protection_level=>'C' -,p_page_component_map=>'18' -,p_last_updated_by=>'ADIZOHAR' -,p_last_upd_yyyymmddhh24miss=>'20230331195524' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(7416020618752429) -,p_plug_name=>'OCI_SHOWOCI_OAC' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>200 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_OAC' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_OAC)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_OAC' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_OAC' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(7416136827752430) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>7416136827752430 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416242606752431) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416327578752432) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416476637752433) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416565454752434) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416642216752435) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(7416795547752436) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641440024656404) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>240 -,p_column_identifier=>'I' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641555001656405) -,p_db_column_name=>'FEATURE_SET' -,p_display_order=>250 -,p_column_identifier=>'J' -,p_column_label=>'Feature Set' -,p_column_html_expression=>'#FEATURE_SET#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641671982656406) -,p_db_column_name=>'LICENSE_TYPE' -,p_display_order=>260 -,p_column_identifier=>'K' -,p_column_label=>'License Type' -,p_column_html_expression=>'#LICENSE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641794946656407) -,p_db_column_name=>'CAPACITY_TYPE' -,p_display_order=>270 -,p_column_identifier=>'L' -,p_column_label=>'Capacity Type' -,p_column_html_expression=>'#CAPACITY_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641896994656408) -,p_db_column_name=>'CAPACITY_VALUE' -,p_display_order=>280 -,p_column_identifier=>'M' -,p_column_label=>'Capacity Value' -,p_column_html_expression=>'#CAPACITY_VALUE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641928987656409) -,p_db_column_name=>'EMAIL_NOTIFICATION' -,p_display_order=>290 -,p_column_identifier=>'N' -,p_column_label=>'Email Notification' -,p_column_html_expression=>'#EMAIL_NOTIFICATION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642041376656410) -,p_db_column_name=>'SERVICE_URL' -,p_display_order=>300 -,p_column_identifier=>'O' -,p_column_label=>'Service Url' -,p_column_html_expression=>'#SERVICE_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642162430656411) -,p_db_column_name=>'VANITY_DOMAIN' -,p_display_order=>310 -,p_column_identifier=>'P' -,p_column_label=>'Vanity Domain' -,p_column_html_expression=>'#VANITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642202469656412) -,p_db_column_name=>'VANITY_URL' -,p_display_order=>320 -,p_column_identifier=>'Q' -,p_column_label=>'Vanity Url' -,p_column_html_expression=>'#VANITY_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642314721656413) -,p_db_column_name=>'NETWORK_ENDPOINT_DETAILS' -,p_display_order=>330 -,p_column_identifier=>'R' -,p_column_label=>'Network Endpoint Details' -,p_column_html_expression=>'#NETWORK_ENDPOINT_DETAILS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642657015656416) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>340 -,p_column_identifier=>'U' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642444310656414) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>350 -,p_column_identifier=>'S' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642583835656415) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'T' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641276023656402) -,p_db_column_name=>'ID' -,p_display_order=>380 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10641304781656403) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>390 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10652802066689595) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'106529' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:LIFECYCLE_STATE:FEATURE_SET:LICENSE_TYPE:CAPACITY_TYPE:CAPACITY_VALUE:EMAIL_NOTIFICATION:SERVICE_URL:VANITY_DOMAIN:VANITY_URL:NETWORK_ENDPOINT_DETAILS:TIME_CREATED:DEFINED_TAGS:' -||'FREEFORM_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(8674067451638620) -,p_plug_name=>'Filter' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>20 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_NOT_ZERO' -,p_plug_display_when_condition=>'P11_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(8674492947638624) -,p_plug_name=>'OCI_RESOURCES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>40 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_RESOURCES' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_RESOURCES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_RESOURCES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(8674502146638625) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>8674502146638625 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834204518172405) -,p_db_column_name=>'RESOURCE_ID' -,p_display_order=>10 -,p_column_identifier=>'AK' -,p_column_label=>'Resource Id' -,p_column_html_expression=>'#RESOURCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834331430172406) -,p_db_column_name=>'RESOURCE_NAME' -,p_display_order=>20 -,p_column_identifier=>'AL' -,p_column_label=>'Resource Name' -,p_column_html_expression=>'#RESOURCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834485728172407) -,p_db_column_name=>'SOURCE_TENANT' -,p_display_order=>30 -,p_column_identifier=>'AM' -,p_column_label=>'Source Tenant' -,p_column_html_expression=>'#SOURCE_TENANT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834592449172408) -,p_db_column_name=>'SOURCE_TABLE' -,p_display_order=>40 -,p_column_identifier=>'AN' -,p_column_label=>'Source Table' -,p_column_html_expression=>'#SOURCE_TABLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834671678172409) -,p_db_column_name=>'LAST_LOADED' -,p_display_order=>50 -,p_column_identifier=>'AO' -,p_column_label=>'Last Loaded' -,p_column_html_expression=>'#LAST_LOADED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10468742661332798) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'104688' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'RESOURCE_ID:RESOURCE_NAME:SOURCE_TABLE:SOURCE_TENANT:LAST_LOADED:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10444329146278709) -,p_plug_name=>'OCI_SHOWOCI_BLOCK_VOLUMES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>70 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' REGION_NAME,', -' AVAILABILITY_DOMAIN,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' DISPLAY_NAME,', -' SIZE_GB,', -' BACKUP_POLICY,', -' VPUS_PER_GB,', -' VOLUME_GROUP_NAME,', -' INSTANCE_NAME,', -' INSTANCE_ID,', -' DEFINED_TAGS,', -' FREEFORM_TAGS,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_BLOCK_VOLUMES', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_BLOCK_VOLUMES)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_BLOCK_VOLUMES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_BLOCK_VOLUMES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10444429175278710) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10444429175278710 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10444530650278711) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10444687582278712) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10444890241278714) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10444976594278715) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10445158881278717) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>70 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10445245634278718) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>80 -,p_column_identifier=>'G' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10447941234278745) -,p_db_column_name=>'DISPLAY_NAME' -,p_display_order=>90 -,p_column_identifier=>'L' -,p_column_label=>'Display Name' -,p_column_html_expression=>'#DISPLAY_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10448064815278746) -,p_db_column_name=>'SIZE_GB' -,p_display_order=>100 -,p_column_identifier=>'M' -,p_column_label=>'Size Gb' -,p_column_html_expression=>'#SIZE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10448248389278748) -,p_db_column_name=>'VPUS_PER_GB' -,p_display_order=>110 -,p_column_identifier=>'O' -,p_column_label=>'Vpus Per Gb' -,p_column_html_expression=>'#VPUS_PER_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10448315682278749) -,p_db_column_name=>'VOLUME_GROUP_NAME' -,p_display_order=>120 -,p_column_identifier=>'P' -,p_column_label=>'Volume Group Name' -,p_column_html_expression=>'#VOLUME_GROUP_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10444757837278713) -,p_db_column_name=>'INSTANCE_ID' -,p_display_order=>130 -,p_column_identifier=>'C' -,p_column_label=>'Instance Id' -,p_column_html_expression=>'#INSTANCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10448446919278750) -,p_db_column_name=>'INSTANCE_NAME' -,p_display_order=>140 -,p_column_identifier=>'Q' -,p_column_label=>'Instance Name' -,p_column_html_expression=>'#INSTANCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10448127346278747) -,p_db_column_name=>'BACKUP_POLICY' -,p_display_order=>160 -,p_column_identifier=>'N' -,p_column_label=>'Backup Policy' -,p_column_html_expression=>'#BACKUP_POLICY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10447534820278741) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>170 -,p_column_identifier=>'H' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10447652512278742) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>180 -,p_column_identifier=>'I' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10447874050278744) -,p_db_column_name=>'ID' -,p_display_order=>190 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10447715558278743) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>200 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10476145090412582) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'104762' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:DISPLAY_NAME:SIZE_GB:VPUS_PER_GB:VOLUME_GROUP_NAME:INSTANCE_ID:INSTANCE_NAME:BACKUP_POLICY:DEFINED_TAGS:FREEFORM_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10476990576419401) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_ALL' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>80 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' REGION_NAME,', -' AVAILABILITY_DOMAIN,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' STATUS,', -' TYPE,', -' NAME,', -' VM_NAME,', -' SHAPE,', -' GI_VERSION,', -' GI_VERSION_DATE,', -' SYSTEM_VERSION,', -' SYSTEM_VERSION_DATE,', -' DATABASE_EDITION,', -' LICENSE_MODEL,', -' DATA_SUBNET,', -' BACKUP_SUBNET,', -' SCAN_IPS,', -' VIP_IPS,', -' CLUSTER_NAME,', -' DOMAIN,', -' DB_NODES,', -' DB_HOMES,', -' MAINTENANCE_WINDOW,', -' LAST_MAINTENANCE_RUN,', -' NEXT_MAINTENANCE_RUN,', -' INFRA_ID,', -' CPU_CORE_COUNT,', -' SHAPE_OCPUS,', -' DB_STORAGE_GB,', -' MEMORY_GB,', -' LOCAL_STORAGE_TB,', -' NODE_COUNT,', -' DEFINED_TAGS,', -' FREEFORM_TAGS,', -' TIME_CREATED,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_DATABASE_ALL', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_ALL)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_ALL' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_ALL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10477007870419402) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10477007870419402 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477109573419403) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477256734419404) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477382532419405) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477418317419406) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477561562419407) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10477603580419408) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478825863419420) -,p_db_column_name=>'STATUS' -,p_display_order=>180 -,p_column_identifier=>'K' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478902291419421) -,p_db_column_name=>'TYPE' -,p_display_order=>190 -,p_column_identifier=>'L' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479080832419422) -,p_db_column_name=>'NAME' -,p_display_order=>200 -,p_column_identifier=>'M' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479181277419423) -,p_db_column_name=>'VM_NAME' -,p_display_order=>210 -,p_column_identifier=>'N' -,p_column_label=>'Vm Name' -,p_column_html_expression=>'#VM_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480380247419435) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>220 -,p_column_identifier=>'Z' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479288247419424) -,p_db_column_name=>'SHAPE' -,p_display_order=>230 -,p_column_identifier=>'O' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481113795419443) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>240 -,p_column_identifier=>'AH' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481684256419448) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>250 -,p_column_identifier=>'AM' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481353386419445) -,p_db_column_name=>'DB_STORAGE_GB' -,p_display_order=>260 -,p_column_identifier=>'AJ' -,p_column_label=>'Db Storage Gb' -,p_column_html_expression=>'#DB_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479344448419425) -,p_db_column_name=>'GI_VERSION' -,p_display_order=>270 -,p_column_identifier=>'P' -,p_column_label=>'Gi Version' -,p_column_html_expression=>'#GI_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479455510419426) -,p_db_column_name=>'GI_VERSION_DATE' -,p_display_order=>280 -,p_column_identifier=>'Q' -,p_column_label=>'Gi Version Date' -,p_column_html_expression=>'#GI_VERSION_DATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479582182419427) -,p_db_column_name=>'SYSTEM_VERSION' -,p_display_order=>290 -,p_column_identifier=>'R' -,p_column_label=>'System Version' -,p_column_html_expression=>'#SYSTEM_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479664729419428) -,p_db_column_name=>'SYSTEM_VERSION_DATE' -,p_display_order=>300 -,p_column_identifier=>'S' -,p_column_label=>'System Version Date' -,p_column_html_expression=>'#SYSTEM_VERSION_DATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479712156419429) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>310 -,p_column_identifier=>'T' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479844076419430) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>320 -,p_column_identifier=>'U' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10479919532419431) -,p_db_column_name=>'DATA_SUBNET' -,p_display_order=>330 -,p_column_identifier=>'V' -,p_column_label=>'Data Subnet' -,p_column_html_expression=>'#DATA_SUBNET#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480038248419432) -,p_db_column_name=>'BACKUP_SUBNET' -,p_display_order=>340 -,p_column_identifier=>'W' -,p_column_label=>'Backup Subnet' -,p_column_html_expression=>'#BACKUP_SUBNET#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480110356419433) -,p_db_column_name=>'SCAN_IPS' -,p_display_order=>350 -,p_column_identifier=>'X' -,p_column_label=>'Scan Ips' -,p_column_html_expression=>'#SCAN_IPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480207911419434) -,p_db_column_name=>'VIP_IPS' -,p_display_order=>360 -,p_column_identifier=>'Y' -,p_column_label=>'Vip Ips' -,p_column_html_expression=>'#VIP_IPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480469051419436) -,p_db_column_name=>'DOMAIN' -,p_display_order=>370 -,p_column_identifier=>'AA' -,p_column_label=>'Domain' -,p_column_html_expression=>'#DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480523679419437) -,p_db_column_name=>'DB_NODES' -,p_display_order=>380 -,p_column_identifier=>'AB' -,p_column_label=>'Db Nodes' -,p_column_html_expression=>'#DB_NODES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480617425419438) -,p_db_column_name=>'DB_HOMES' -,p_display_order=>390 -,p_column_identifier=>'AC' -,p_column_label=>'Db Homes' -,p_column_html_expression=>'#DB_HOMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480720663419439) -,p_db_column_name=>'MAINTENANCE_WINDOW' -,p_display_order=>400 -,p_column_identifier=>'AD' -,p_column_label=>'Maintenance Window' -,p_column_html_expression=>'#MAINTENANCE_WINDOW#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480852566419440) -,p_db_column_name=>'LAST_MAINTENANCE_RUN' -,p_display_order=>410 -,p_column_identifier=>'AE' -,p_column_label=>'Last Maintenance Run' -,p_column_html_expression=>'#LAST_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10480969283419441) -,p_db_column_name=>'NEXT_MAINTENANCE_RUN' -,p_display_order=>420 -,p_column_identifier=>'AF' -,p_column_label=>'Next Maintenance Run' -,p_column_html_expression=>'#NEXT_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481220559419444) -,p_db_column_name=>'SHAPE_OCPUS' -,p_display_order=>430 -,p_column_identifier=>'AI' -,p_column_label=>'Shape Ocpus' -,p_column_html_expression=>'#SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481401098419446) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>450 -,p_column_identifier=>'AK' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481580489419447) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>460 -,p_column_identifier=>'AL' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478473113419416) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>470 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478575815419417) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>480 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481729124419449) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>490 -,p_column_identifier=>'AN' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10481049089419442) -,p_db_column_name=>'INFRA_ID' -,p_display_order=>500 -,p_column_identifier=>'AG' -,p_column_label=>'Infra Id' -,p_column_html_expression=>'#INFRA_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478604679419418) -,p_db_column_name=>'ID' -,p_display_order=>510 -,p_column_identifier=>'I' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10478728480419419) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>520 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10494378692456341) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'104944' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:VM_NAME:CLUSTER_NAME:SHAPE:CPU_CORE_COUNT:NODE_COUNT:DB_STORAGE_GB:GI_VERSION:GI_VERSION_DATE:SYSTEM_VERSION:SYSTEM_VERSION_DATE:DATABASE_EDITION' -||':LICENSE_MODEL:DATA_SUBNET:BACKUP_SUBNET:SCAN_IPS:VIP_IPS:DOMAIN:DB_NODES:DB_HOMES:MAINTENANCE_WINDOW:LAST_MAINTENANCE_RUN:NEXT_MAINTENANCE_RUN:SHAPE_OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:DEFINED_TAGS:FREEFORM_TAGS:TIME_CREATED:INFRA_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10481809710419450) -,p_plug_name=>'OCI_SHOWOCI_DATABASES_ADB' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>150 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASES_ADB' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASES_ADB)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASES_ADB' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASES_ADB' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10495394650467101) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10495394650467101 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10495481512467102) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10495500575467103) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10495689642467104) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10495807784467106) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10495928329467107) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10496038175467108) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'F' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10496189801467109) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'G' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10496298392467110) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'H' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10496412272467112) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>110 -,p_column_identifier=>'I' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10496685321467114) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>130 -,p_column_identifier=>'J' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499451922467142) -,p_db_column_name=>'INFRA_NAME' -,p_display_order=>410 -,p_column_identifier=>'P' -,p_column_label=>'Infra Name' -,p_column_html_expression=>'#INFRA_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499551776467143) -,p_db_column_name=>'CONTAINER_NAME' -,p_display_order=>420 -,p_column_identifier=>'Q' -,p_column_label=>'Container Name' -,p_column_html_expression=>'#CONTAINER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499668090467144) -,p_db_column_name=>'DB_VERSION' -,p_display_order=>430 -,p_column_identifier=>'R' -,p_column_label=>'Db Version' -,p_column_html_expression=>'#DB_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499709362467145) -,p_db_column_name=>'DB_NAME' -,p_display_order=>440 -,p_column_identifier=>'S' -,p_column_label=>'Db Name' -,p_column_html_expression=>'#DB_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499814645467146) -,p_db_column_name=>'VERSION_LICENSE_MODEL' -,p_display_order=>450 -,p_column_identifier=>'T' -,p_column_label=>'Version License Model' -,p_column_html_expression=>'#VERSION_LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499944748467147) -,p_db_column_name=>'DATA_SAFE_STATUS' -,p_display_order=>460 -,p_column_identifier=>'U' -,p_column_label=>'Data Safe Status' -,p_column_html_expression=>'#DATA_SAFE_STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500005735467148) -,p_db_column_name=>'TIME_MAINTENANCE_BEGIN' -,p_display_order=>470 -,p_column_identifier=>'V' -,p_column_label=>'Time Maintenance Begin' -,p_column_html_expression=>'#TIME_MAINTENANCE_BEGIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500198794467149) -,p_db_column_name=>'TIME_MAINTENANCE_END' -,p_display_order=>480 -,p_column_identifier=>'W' -,p_column_label=>'Time Maintenance End' -,p_column_html_expression=>'#TIME_MAINTENANCE_END#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500215503467150) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>490 -,p_column_identifier=>'X' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500344666468501) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>500 -,p_column_identifier=>'Y' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500499800468502) -,p_db_column_name=>'PRIVATE_ENDPOINT' -,p_display_order=>510 -,p_column_identifier=>'Z' -,p_column_label=>'Private Endpoint' -,p_column_html_expression=>'#PRIVATE_ENDPOINT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500595681468503) -,p_db_column_name=>'PRIVATE_ENDPOINT_LABEL' -,p_display_order=>520 -,p_column_identifier=>'AA' -,p_column_label=>'Private Endpoint Label' -,p_column_html_expression=>'#PRIVATE_ENDPOINT_LABEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500656904468504) -,p_db_column_name=>'NSG_IDS' -,p_display_order=>530 -,p_column_identifier=>'AB' -,p_column_label=>'Nsg Ids' -,p_column_html_expression=>'#NSG_IDS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500764317468505) -,p_db_column_name=>'NSG_NAMES' -,p_display_order=>540 -,p_column_identifier=>'AC' -,p_column_label=>'Nsg Names' -,p_column_html_expression=>'#NSG_NAMES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500834313468506) -,p_db_column_name=>'WHITELISTED_IPS' -,p_display_order=>550 -,p_column_identifier=>'AD' -,p_column_label=>'Whitelisted Ips' -,p_column_html_expression=>'#WHITELISTED_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10500925283468507) -,p_db_column_name=>'SERVICE_CONSOLE_URL' -,p_display_order=>560 -,p_column_identifier=>'AE' -,p_column_label=>'Service Console Url' -,p_column_html_expression=>'#SERVICE_CONSOLE_URL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501027384468508) -,p_db_column_name=>'CONNECTION_STRINGS' -,p_display_order=>570 -,p_column_identifier=>'AF' -,p_column_label=>'Connection Strings' -,p_column_html_expression=>'#CONNECTION_STRINGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501140834468509) -,p_db_column_name=>'IS_AUTO_SCALING_ENABLED' -,p_display_order=>580 -,p_column_identifier=>'AG' -,p_column_label=>'Is Auto Scaling Enabled' -,p_column_html_expression=>'#IS_AUTO_SCALING_ENABLED#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501294699468510) -,p_db_column_name=>'IS_DEDICATED' -,p_display_order=>590 -,p_column_identifier=>'AH' -,p_column_label=>'Is Dedicated' -,p_column_html_expression=>'#IS_DEDICATED#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501374835468511) -,p_db_column_name=>'DB_STORAGE_TB' -,p_display_order=>600 -,p_column_identifier=>'AI' -,p_column_label=>'Db Storage Tb' -,p_column_html_expression=>'#DB_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499027601467138) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>630 -,p_column_identifier=>'M' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720778285336604) -,p_db_column_name=>'IS_DATA_GUARD_ENABLED' -,p_display_order=>640 -,p_column_identifier=>'AJ' -,p_column_label=>'Is Data Guard Enabled' -,p_column_html_expression=>'#IS_DATA_GUARD_ENABLED#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720917271336606) -,p_db_column_name=>'STANDBY_LIFECYCLE_STATE' -,p_display_order=>660 -,p_column_identifier=>'AL' -,p_column_label=>'Standby Lifecycle State' -,p_column_html_expression=>'#STANDBY_LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721611914336613) -,p_db_column_name=>'STANDBY_LAG_TIME_IN_SECONDS' -,p_display_order=>670 -,p_column_identifier=>'AS' -,p_column_label=>'Standby Lag Time In Seconds' -,p_column_html_expression=>'#STANDBY_LAG_TIME_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721044580336607) -,p_db_column_name=>'TIME_OF_LAST_SWITCHOVER' -,p_display_order=>680 -,p_column_identifier=>'AM' -,p_column_label=>'Time Of Last Switchover' -,p_column_html_expression=>'#TIME_OF_LAST_SWITCHOVER#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721140342336608) -,p_db_column_name=>'TIME_LOCAL_DATA_GUARD_ENABLED' -,p_display_order=>690 -,p_column_identifier=>'AN' -,p_column_label=>'Time Local Data Guard Enabled' -,p_column_html_expression=>'#TIME_LOCAL_DATA_GUARD_ENABLED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721265595336609) -,p_db_column_name=>'DATAGUARD_REGION_TYPE' -,p_display_order=>700 -,p_column_identifier=>'AO' -,p_column_label=>'Dataguard Region Type' -,p_column_html_expression=>'#DATAGUARD_REGION_TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721307428336610) -,p_db_column_name=>'SUPPORTED_REGIONS_TO_CLONE_TO' -,p_display_order=>710 -,p_column_identifier=>'AP' -,p_column_label=>'Supported Regions To Clone To' -,p_column_html_expression=>'#SUPPORTED_REGIONS_TO_CLONE_TO#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721421832336611) -,p_db_column_name=>'KEY_STORE_WALLET_NAME' -,p_display_order=>720 -,p_column_identifier=>'AQ' -,p_column_label=>'Key Store Wallet Name' -,p_column_html_expression=>'#KEY_STORE_WALLET_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10721583689336612) -,p_db_column_name=>'KEY_STORE_ID' -,p_display_order=>730 -,p_column_identifier=>'AR' -,p_column_label=>'Key Store Id' -,p_column_html_expression=>'#KEY_STORE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10498800901467136) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>740 -,p_column_identifier=>'K' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10498927558467137) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>750 -,p_column_identifier=>'L' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499290726467140) -,p_db_column_name=>'ID' -,p_display_order=>760 -,p_column_identifier=>'N' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10499360382467141) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>770 -,p_column_identifier=>'O' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10516272733492076) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'105163' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:CLUSTER_NAME:CPU_CORE_COUNT:INFRA_NAME:CONTAINER_NAME:DB_VERSION:DB_NAME:VERSION_LICENSE_MODEL:DATA_SAFE_STATUS:TIME_MAINTENANCE_BEGIN:TIME_MAINTENANCE_END:SUBNET_ID' -||':SUBNET_NAME:PRIVATE_ENDPOINT:PRIVATE_ENDPOINT_LABEL:NSG_IDS:NSG_NAMES:WHITELISTED_IPS:SERVICE_CONSOLE_URL:CONNECTION_STRINGS:IS_AUTO_SCALING_ENABLED:IS_DEDICATED:DB_STORAGE_TB:DATAGUARD_REGION_TYPE:IS_DATA_GUARD_ENABLED:KEY_STORE_ID:KEY_STORE_WALLET' -||'_NAME:STANDBY_LIFECYCLE_STATE:STANDBY_LAG_TIME_IN_SECONDS:SUPPORTED_REGIONS_TO_CLONE_TO:TIME_LOCAL_DATA_GUARD_ENABLED:TIME_OF_LAST_SWITCHOVER:DEFINED_TAGS:FREEFORM_TAGS:TIME_CREATED:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10501450344468512) -,p_plug_name=>'OCI_SHOWOCI_FILE_STORAGE' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>160 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' REGION_NAME,', -' AVAILABILITY_DOMAIN,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' DISPLAY_NAME,', -' SIZE_GB,', -' EXPORTS,', -' SNAPSHOTS,', -' MOUNT_IPS,', -' DEFINED_TAGS,', -' FREEFORM_TAGS,', -' TIME_CREATED,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_FILE_STORAGE', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_FILE_STORAGE)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_FILE_STORAGE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_FILE_STORAGE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10501526689468513) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10501526689468513 -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501642670468514) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501769833468515) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501878166468516) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10501955295468517) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10502052161468518) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10505203347468550) -,p_db_column_name=>'DISPLAY_NAME' -,p_display_order=>60 -,p_column_identifier=>'K' -,p_column_label=>'Display Name' -,p_column_html_expression=>'#DISPLAY_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10505150131468549) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>110 -,p_column_identifier=>'J' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10516877159654901) -,p_db_column_name=>'SIZE_GB' -,p_display_order=>130 -,p_column_identifier=>'L' -,p_column_label=>'Size Gb' -,p_column_html_expression=>'#SIZE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10516916421654902) -,p_db_column_name=>'EXPORTS' -,p_display_order=>140 -,p_column_identifier=>'M' -,p_column_label=>'Exports' -,p_column_html_expression=>'#EXPORTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517057277654903) -,p_db_column_name=>'SNAPSHOTS' -,p_display_order=>150 -,p_column_identifier=>'N' -,p_column_label=>'Snapshots' -,p_column_html_expression=>'#SNAPSHOTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517107148654904) -,p_db_column_name=>'MOUNT_IPS' -,p_display_order=>160 -,p_column_identifier=>'O' -,p_column_label=>'Mount Ips' -,p_column_html_expression=>'#MOUNT_IPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10504601447468544) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>170 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10504790906468545) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>180 -,p_column_identifier=>'G' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10504905986468547) -,p_db_column_name=>'ID' -,p_display_order=>190 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546139170255529) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>200 -,p_column_identifier=>'P' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10505004091468548) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>210 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10526891228663251) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'105269' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:DISPLAY_NAME:AVAILABILITY_DOMAIN:SIZE_GB:EXPORTS:SNAPSHOTS:MOUNT_IPS:DEFINED_TAGS:FREEFORM_TAGS:ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10517207104654905) -,p_plug_name=>'OCI_SHOWOCI_OBJECT_STORAGE' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>170 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' NAMESPACE_NAME,', -' REGION_NAME,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' BUCKET_NAME,', -' SIZE_GB,', -' OBJECTS,', -' OBJECT_LIFECYCLE,', -' PUBLIC_ACCESS_TYPE,', -' STORAGE_TIER,', -' IS_READ_ONLY,', -' VERSIONING,', -' AUTO_TIERING,', -' KMS_KEY_ID,', -' LOGS,', -' DEFINED_TAGS,', -' FREEFORM_TAGS,', -' PREAUTHENTICATED_REQUESTS,', -' OBJECT_EVENTS_ENABLED,', -' REPLICATION_ENABLED,', -' TIME_CREATED,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_OBJECT_STORAGE', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_OBJECT_STORAGE)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_OBJECT_STORAGE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_OBJECT_STORAGE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10517338904654906) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10517338904654906 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517430220654907) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517581696654908) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517677344654909) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517782562654910) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10517845860654911) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518926807654922) -,p_db_column_name=>'NAMESPACE_NAME' -,p_display_order=>60 -,p_column_identifier=>'K' -,p_column_label=>'Namespace Name' -,p_column_html_expression=>'#NAMESPACE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519012409654923) -,p_db_column_name=>'BUCKET_NAME' -,p_display_order=>70 -,p_column_identifier=>'L' -,p_column_label=>'Bucket Name' -,p_column_html_expression=>'#BUCKET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518132417654914) -,p_db_column_name=>'SIZE_GB' -,p_display_order=>80 -,p_column_identifier=>'F' -,p_column_label=>'Size Gb' -,p_column_html_expression=>'#SIZE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519109353654924) -,p_db_column_name=>'OBJECTS' -,p_display_order=>90 -,p_column_identifier=>'M' -,p_column_label=>'Objects' -,p_column_html_expression=>'#OBJECTS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519215401654925) -,p_db_column_name=>'OBJECT_LIFECYCLE' -,p_display_order=>110 -,p_column_identifier=>'N' -,p_column_label=>'Object Lifecycle' -,p_column_html_expression=>'#OBJECT_LIFECYCLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519308003654926) -,p_db_column_name=>'PUBLIC_ACCESS_TYPE' -,p_display_order=>120 -,p_column_identifier=>'O' -,p_column_label=>'Public Access Type' -,p_column_html_expression=>'#PUBLIC_ACCESS_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519460375654927) -,p_db_column_name=>'STORAGE_TIER' -,p_display_order=>130 -,p_column_identifier=>'P' -,p_column_label=>'Storage Tier' -,p_column_html_expression=>'#STORAGE_TIER#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519516210654928) -,p_db_column_name=>'IS_READ_ONLY' -,p_display_order=>140 -,p_column_identifier=>'Q' -,p_column_label=>'Is Read Only' -,p_column_html_expression=>'#IS_READ_ONLY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519695588654929) -,p_db_column_name=>'VERSIONING' -,p_display_order=>150 -,p_column_identifier=>'R' -,p_column_label=>'Versioning' -,p_column_html_expression=>'#VERSIONING#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519749164654930) -,p_db_column_name=>'AUTO_TIERING' -,p_display_order=>160 -,p_column_identifier=>'S' -,p_column_label=>'Auto Tiering' -,p_column_html_expression=>'#AUTO_TIERING#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519868392654931) -,p_db_column_name=>'KMS_KEY_ID' -,p_display_order=>170 -,p_column_identifier=>'T' -,p_column_label=>'Kms Key Id' -,p_column_html_expression=>'#KMS_KEY_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10519979903654932) -,p_db_column_name=>'LOGS' -,p_display_order=>180 -,p_column_identifier=>'U' -,p_column_label=>'Logs' -,p_column_html_expression=>'#LOGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520091647654933) -,p_db_column_name=>'PREAUTHENTICATED_REQUESTS' -,p_display_order=>190 -,p_column_identifier=>'V' -,p_column_label=>'Preauthenticated Requests' -,p_column_html_expression=>'#PREAUTHENTICATED_REQUESTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520153287654934) -,p_db_column_name=>'OBJECT_EVENTS_ENABLED' -,p_display_order=>200 -,p_column_identifier=>'W' -,p_column_label=>'Object Events Enabled' -,p_column_html_expression=>'#OBJECT_EVENTS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520269890654935) -,p_db_column_name=>'REPLICATION_ENABLED' -,p_display_order=>210 -,p_column_identifier=>'X' -,p_column_label=>'Replication Enabled' -,p_column_html_expression=>'#REPLICATION_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518528804654918) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>220 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518631782654919) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>230 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518782984654920) -,p_db_column_name=>'ID' -,p_display_order=>240 -,p_column_identifier=>'I' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546216572255530) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>250 -,p_column_identifier=>'Y' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10518888741654921) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>260 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10535370448764491) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'105354' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAMESPACE_NAME:BUCKET_NAME:SIZE_GB:OBJECTS:OBJECT_LIFECYCLE:PUBLIC_ACCESS_TYPE:STORAGE_TIER:IS_READ_ONLY:VERSIONING:AUTO_TIERING:KMS_KEY_ID:LOGS:PREAUTHENTICATED_REQUESTS:OBJECT_EVEN' -||'TS_ENABLED:REPLICATION_ENABLED:DEFINED_TAGS:FREEFORM_TAGS:ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10520411101654937) -,p_plug_name=>'OCI_SHOWOCI_LB_LISTENERS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>180 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' LOADBALANCER_ID,', -' REGION_NAME,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' NAME,', -' STATUS,', -' SHAPE,', -' TYPE,', -' IP_ADDRESSES,', -' LOG_ERRORS,', -' LOG_ACCESS,', -' LOGS,', -' SUBNETS,', -' LISTENER_NAME,', -' LISTENER_PORT,', -' LISTENER_DEF_BS,', -' LISTENER_SSL,', -' LISTENER_HOST,', -' LISTENER_PATH,', -' LISTENER_RULE,', -' LB_CERTIFICATES,', -' DEFINED_TAGS,', -' FREEFORM_TAGS,', -' TIME_CREATED,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_LB_LISTENERS', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_LB_LISTENERS)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_LB_LISTENERS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_LB_LISTENERS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10520591392654938) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10520591392654938 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520651387654939) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520710782654940) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520816940654941) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10520948481654942) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10521056988654943) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544572741255513) -,p_db_column_name=>'NAME' -,p_display_order=>250 -,p_column_identifier=>'K' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544654420255514) -,p_db_column_name=>'STATUS' -,p_display_order=>260 -,p_column_identifier=>'L' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544786559255515) -,p_db_column_name=>'SHAPE' -,p_display_order=>270 -,p_column_identifier=>'M' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544882857255516) -,p_db_column_name=>'TYPE' -,p_display_order=>280 -,p_column_identifier=>'N' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544999177255517) -,p_db_column_name=>'IP_ADDRESSES' -,p_display_order=>290 -,p_column_identifier=>'O' -,p_column_label=>'Ip Addresses' -,p_column_html_expression=>'#IP_ADDRESSES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545087602255518) -,p_db_column_name=>'LOG_ERRORS' -,p_display_order=>300 -,p_column_identifier=>'P' -,p_column_label=>'Log Errors' -,p_column_html_expression=>'#LOG_ERRORS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545100308255519) -,p_db_column_name=>'LOG_ACCESS' -,p_display_order=>310 -,p_column_identifier=>'Q' -,p_column_label=>'Log Access' -,p_column_html_expression=>'#LOG_ACCESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10543761918255505) -,p_db_column_name=>'LOGS' -,p_display_order=>320 -,p_column_identifier=>'F' -,p_column_label=>'Logs' -,p_column_html_expression=>'#LOGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545216012255520) -,p_db_column_name=>'SUBNETS' -,p_display_order=>330 -,p_column_identifier=>'R' -,p_column_label=>'Subnets' -,p_column_html_expression=>'#SUBNETS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613901123241420) -,p_db_column_name=>'LISTENER_NAME' -,p_display_order=>340 -,p_column_identifier=>'AB' -,p_column_label=>'Listener Name' -,p_column_html_expression=>'#LISTENER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545358442255521) -,p_db_column_name=>'LISTENER_PORT' -,p_display_order=>350 -,p_column_identifier=>'S' -,p_column_label=>'Listener Port' -,p_column_html_expression=>'#LISTENER_PORT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545401066255522) -,p_db_column_name=>'LISTENER_DEF_BS' -,p_display_order=>360 -,p_column_identifier=>'T' -,p_column_label=>'Listener Def Bs' -,p_column_html_expression=>'#LISTENER_DEF_BS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545517755255523) -,p_db_column_name=>'LISTENER_SSL' -,p_display_order=>370 -,p_column_identifier=>'U' -,p_column_label=>'Listener Ssl' -,p_column_html_expression=>'#LISTENER_SSL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545671524255524) -,p_db_column_name=>'LISTENER_HOST' -,p_display_order=>380 -,p_column_identifier=>'V' -,p_column_label=>'Listener Host' -,p_column_html_expression=>'#LISTENER_HOST#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545751624255525) -,p_db_column_name=>'LISTENER_PATH' -,p_display_order=>390 -,p_column_identifier=>'W' -,p_column_label=>'Listener Path' -,p_column_html_expression=>'#LISTENER_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545878429255526) -,p_db_column_name=>'LISTENER_RULE' -,p_display_order=>400 -,p_column_identifier=>'X' -,p_column_label=>'Listener Rule' -,p_column_html_expression=>'#LISTENER_RULE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10545936477255527) -,p_db_column_name=>'LB_CERTIFICATES' -,p_display_order=>410 -,p_column_identifier=>'Y' -,p_column_label=>'Lb Certificates' -,p_column_html_expression=>'#LB_CERTIFICATES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546053001255528) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>420 -,p_column_identifier=>'Z' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544104324255509) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>430 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544211419255510) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>440 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544382719255511) -,p_db_column_name=>'ID' -,p_display_order=>450 -,p_column_identifier=>'I' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10544455954255512) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>460 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613849159241419) -,p_db_column_name=>'LOADBALANCER_ID' -,p_display_order=>470 -,p_column_identifier=>'AA' -,p_column_label=>'Loadbalancer Id' -,p_column_html_expression=>'#LOADBALANCER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10556569848280596) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'105566' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:STATUS:SHAPE:TYPE:IP_ADDRESSES:LOG_ERRORS:LOG_ACCESS:LOGS:SUBNETS:LISTENER_NAME:LISTENER_PORT:LISTENER_DEF_BS:LISTENER_SSL:LISTENER_HOST:LISTENER_PATH:LISTENER_RULE:LB_CERTIFICA' -||'TES:TIME_CREATED:DEFINED_TAGS:FREEFORM_TAGS:LOADBALANCER_ID:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10546300190255531) -,p_plug_name=>'OCI_SHOWOCI_LB_BACKENDSET' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>190 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'SQL' -,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select TENANT_NAME,', -' TENANT_ID,', -' ID,', -' REGION_NAME,', -' COMPARTMENT_PATH,', -' COMPARTMENT_NAME,', -' NAME,', -' STATUS,', -' SHAPE,', -' TYPE,', -' IP_ADDRESSES,', -' SUBNETS,', -' BS_NAME,', -' BS_DESC,', -' BS_STATUS,', -' HEALTH_CHECK,', -' SESSION_PERSISTENCE,', -' SSL_CERT,', -' BACKEND_NAME,', -' BACKEND,', -' BACKEND_IP,', -' LOADBALANCER_ID,', -' EXTRACT_DATE', -' from OCI_SHOWOCI_LB_BACKENDSET', -' where (:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_LB_BACKENDSET)) ')) -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_LB_BACKENDSET' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_LB_BACKENDSET' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10546439599255532) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10546439599255532 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546564589255533) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546621936255534) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546722187255535) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546896647255536) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10546942491255537) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547052725255538) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547166389255539) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547267993255540) -,p_db_column_name=>'SHAPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547383879255541) -,p_db_column_name=>'TYPE' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547480292255542) -,p_db_column_name=>'IP_ADDRESSES' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Ip Addresses' -,p_column_html_expression=>'#IP_ADDRESSES#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10547846204255546) -,p_db_column_name=>'SUBNETS' -,p_display_order=>140 -,p_column_identifier=>'K' -,p_column_label=>'Subnets' -,p_column_html_expression=>'#SUBNETS#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10612835791241409) -,p_db_column_name=>'BS_NAME' -,p_display_order=>270 -,p_column_identifier=>'N' -,p_column_label=>'Bs Name' -,p_column_html_expression=>'#BS_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10612915652241410) -,p_db_column_name=>'BS_DESC' -,p_display_order=>280 -,p_column_identifier=>'O' -,p_column_label=>'Bs Desc' -,p_column_html_expression=>'#BS_DESC#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613085617241411) -,p_db_column_name=>'BS_STATUS' -,p_display_order=>290 -,p_column_identifier=>'P' -,p_column_label=>'Bs Status' -,p_column_html_expression=>'#BS_STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613136771241412) -,p_db_column_name=>'HEALTH_CHECK' -,p_display_order=>300 -,p_column_identifier=>'Q' -,p_column_label=>'Health Check' -,p_column_html_expression=>'#HEALTH_CHECK#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613263936241413) -,p_db_column_name=>'SESSION_PERSISTENCE' -,p_display_order=>310 -,p_column_identifier=>'R' -,p_column_label=>'Session Persistence' -,p_column_html_expression=>'#SESSION_PERSISTENCE#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613385712241414) -,p_db_column_name=>'SSL_CERT' -,p_display_order=>320 -,p_column_identifier=>'S' -,p_column_label=>'Ssl Cert' -,p_column_html_expression=>'#SSL_CERT#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613455253241415) -,p_db_column_name=>'BACKEND_NAME' -,p_display_order=>330 -,p_column_identifier=>'T' -,p_column_label=>'Backend Name' -,p_column_html_expression=>'#BACKEND_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613536341241416) -,p_db_column_name=>'BACKEND' -,p_display_order=>340 -,p_column_identifier=>'U' -,p_column_label=>'Backend' -,p_column_html_expression=>'#BACKEND#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613674660241417) -,p_db_column_name=>'BACKEND_IP' -,p_display_order=>350 -,p_column_identifier=>'V' -,p_column_label=>'Backend Ip' -,p_column_html_expression=>'#BACKEND_IP#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10613713198241418) -,p_db_column_name=>'LOADBALANCER_ID' -,p_display_order=>360 -,p_column_identifier=>'W' -,p_column_label=>'Loadbalancer Id' -,p_column_html_expression=>'#LOADBALANCER_ID#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10612696017241407) -,p_db_column_name=>'ID' -,p_display_order=>370 -,p_column_identifier=>'L' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10612777429241408) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>380 -,p_column_identifier=>'M' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'static' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10624470014253057) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'106245' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:STATUS:SHAPE:TYPE:IP_ADDRESSES:SUBNETS:BS_NAME:BS_DESC:BS_STATUS:HEALTH_CHECK:SESSION_PERSISTENCE:SSL_CERT:BACKEND_NAME:BACKEND:BACKEND_IP:LOADBALANCER_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10614082144241421) -,p_plug_name=>'OCI_SHOWOCI_DATABASES' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>130 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASES' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASES)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10614193563241422) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10614193563241422 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614206874241423) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614375022241424) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614440676241425) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614555409241426) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614640489241427) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614747279241428) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614854473241429) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10614931635241430) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615085941241431) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615161381241432) -,p_db_column_name=>'VM_NAME' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Vm Name' -,p_column_html_expression=>'#VM_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615295082241433) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615319873241434) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615445836241435) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615505035241436) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10615651065241437) -,p_db_column_name=>'DB_STORAGE_GB' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Db Storage Gb' -,p_column_html_expression=>'#DB_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616160618241442) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>200 -,p_column_identifier=>'P' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616205656241443) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>210 -,p_column_identifier=>'Q' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616355141241444) -,p_db_column_name=>'DATA_SUBNET' -,p_display_order=>220 -,p_column_identifier=>'R' -,p_column_label=>'Data Subnet' -,p_column_html_expression=>'#DATA_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616494559241445) -,p_db_column_name=>'BACKUP_SUBNET' -,p_display_order=>230 -,p_column_identifier=>'S' -,p_column_label=>'Backup Subnet' -,p_column_html_expression=>'#BACKUP_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616527055241446) -,p_db_column_name=>'SCAN_IPS' -,p_display_order=>240 -,p_column_identifier=>'T' -,p_column_label=>'Scan Ips' -,p_column_html_expression=>'#SCAN_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616655386241447) -,p_db_column_name=>'VIP_IPS' -,p_display_order=>250 -,p_column_identifier=>'U' -,p_column_label=>'Vip Ips' -,p_column_html_expression=>'#VIP_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616734094241448) -,p_db_column_name=>'DOMAIN' -,p_display_order=>260 -,p_column_identifier=>'V' -,p_column_label=>'Domain' -,p_column_html_expression=>'#DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10616842945241449) -,p_db_column_name=>'DB_NODES' -,p_display_order=>270 -,p_column_identifier=>'W' -,p_column_label=>'Db Nodes' -,p_column_html_expression=>'#DB_NODES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10824526630311804) -,p_db_column_name=>'SHAPE_OCPUS' -,p_display_order=>320 -,p_column_identifier=>'X' -,p_column_label=>'Shape Ocpus' -,p_column_html_expression=>'#SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10824625877311805) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>330 -,p_column_identifier=>'Y' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10824743311311806) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>340 -,p_column_identifier=>'Z' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825410874311813) -,p_db_column_name=>'DATABASE' -,p_display_order=>410 -,p_column_identifier=>'AF' -,p_column_label=>'Database' -,p_column_html_expression=>'#DATABASE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825590925311814) -,p_db_column_name=>'PDBS' -,p_display_order=>420 -,p_column_identifier=>'AG' -,p_column_label=>'Pdbs' -,p_column_html_expression=>'#PDBS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825682452311815) -,p_db_column_name=>'AUTO_BACKUP_ENABLED' -,p_display_order=>430 -,p_column_identifier=>'AH' -,p_column_label=>'Auto Backup Enabled' -,p_column_html_expression=>'#AUTO_BACKUP_ENABLED#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825797518311816) -,p_db_column_name=>'DB_HOME' -,p_display_order=>440 -,p_column_identifier=>'AI' -,p_column_label=>'Db Home' -,p_column_html_expression=>'#DB_HOME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825821383311817) -,p_db_column_name=>'DB_HOME_VERSION' -,p_display_order=>450 -,p_column_identifier=>'AJ' -,p_column_label=>'Db Home Version' -,p_column_html_expression=>'#DB_HOME_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825090146311809) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>460 -,p_column_identifier=>'AC' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825971076311818) -,p_db_column_name=>'DATABASE_ID' -,p_display_order=>470 -,p_column_identifier=>'AK' -,p_column_label=>'Database Id' -,p_column_html_expression=>'#DATABASE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826006756311819) -,p_db_column_name=>'DBSYSTEM_ID' -,p_display_order=>480 -,p_column_identifier=>'AL' -,p_column_label=>'Dbsystem Id' -,p_column_html_expression=>'#DBSYSTEM_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10824850595311807) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>490 -,p_column_identifier=>'AA' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10824976765311808) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>500 -,p_column_identifier=>'AB' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825290398311811) -,p_db_column_name=>'ID' -,p_display_order=>520 -,p_column_identifier=>'AD' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10825370934311812) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>530 -,p_column_identifier=>'AE' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10844870758337994) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'108449' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:VM_NAME:CLUSTER_NAME:SHAPE:CPU_CORE_COUNT:NODE_COUNT:DB_STORAGE_GB:DATABASE_EDITION:LICENSE_MODEL:DATA_SUBNET:BACKUP_SUBNET:SCAN_IPS:VIP_IPS:DOMA' -||'IN:DB_NODES:SHAPE_OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:DATABASE:PDBS:AUTO_BACKUP_ENABLED:DB_HOME:DB_HOME_VERSION:TIME_CREATED:DATABASE_ID:DBSYSTEM_ID:DEFINED_TAGS:FREEFORM_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10642789020656417) -,p_plug_name=>'OCI_SHOWOCI_OIC' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>210 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_OIC' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_OIC)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_OIC' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_OIC' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10642875674656418) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10642875674656418 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10642971804656419) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643060209656420) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643138122656421) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643245834656422) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643315065656423) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643478018656424) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10643560072656425) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10644532773656435) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>170 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645084163656440) -,p_db_column_name=>'INSTANCE_URL' -,p_display_order=>180 -,p_column_identifier=>'M' -,p_column_label=>'Instance Url' -,p_column_html_expression=>'#INSTANCE_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645134792656441) -,p_db_column_name=>'MESSAGE_PACKS' -,p_display_order=>190 -,p_column_identifier=>'N' -,p_column_label=>'Message Packs' -,p_column_html_expression=>'#MESSAGE_PACKS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645280692656442) -,p_db_column_name=>'IS_BYOL' -,p_display_order=>200 -,p_column_identifier=>'O' -,p_column_label=>'Is Byol' -,p_column_html_expression=>'#IS_BYOL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645345057656443) -,p_db_column_name=>'IS_FILE_SERVER_ENABLED' -,p_display_order=>210 -,p_column_identifier=>'P' -,p_column_label=>'Is File Server Enabled' -,p_column_html_expression=>'#IS_FILE_SERVER_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645562950656445) -,p_db_column_name=>'IS_VISUAL_BUILDER_ENABLED' -,p_display_order=>220 -,p_column_identifier=>'R' -,p_column_label=>'Is Visual Builder Enabled' -,p_column_html_expression=>'#IS_VISUAL_BUILDER_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645640282656446) -,p_db_column_name=>'NETWORK_ENDPOINT_TYPE' -,p_display_order=>230 -,p_column_identifier=>'S' -,p_column_label=>'Network Endpoint Type' -,p_column_html_expression=>'#NETWORK_ENDPOINT_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645709053656447) -,p_db_column_name=>'SHAPE' -,p_display_order=>240 -,p_column_identifier=>'T' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10645428537656444) -,p_db_column_name=>'CONSUMPTION_MODEL' -,p_display_order=>250 -,p_column_identifier=>'Q' -,p_column_label=>'Consumption Model' -,p_column_html_expression=>'#CONSUMPTION_MODEL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10644620600656436) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>260 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10644774256656437) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>270 -,p_column_identifier=>'J' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10644855817656438) -,p_db_column_name=>'ID' -,p_display_order=>280 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10644928899656439) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>290 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10659288676755287) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'106593' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:LIFECYCLE_STATE:TIME_CREATED:INSTANCE_URL:MESSAGE_PACKS:IS_BYOL:IS_FILE_SERVER_ENABLED:IS_VISUAL_BUILDER_ENABLED:NETWORK_ENDPOINT_TYPE:SHAPE:CONSUMPTION_MODEL:DEFINED_TAGS:FREEF' -||'ORM_TAGS:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10645870870656448) -,p_plug_name=>'OCI_SHOWOCI_OCE' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>220 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_OCE' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_OCE)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_OCE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_OCE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10645985141656449) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10645985141656449 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10646026737656450) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10662938062864101) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663026850864102) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663199246864103) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663283262864104) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663310774864105) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664886168864120) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663450089864106) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>80 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10663538098864107) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>90 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664902077864121) -,p_db_column_name=>'GUID' -,p_display_order=>110 -,p_column_identifier=>'N' -,p_column_label=>'Guid' -,p_column_html_expression=>'#GUID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665077068864122) -,p_db_column_name=>'IDCS_TENANCY' -,p_display_order=>120 -,p_column_identifier=>'O' -,p_column_label=>'Idcs Tenancy' -,p_column_html_expression=>'#IDCS_TENANCY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665123391864123) -,p_db_column_name=>'OBJECT_STORAGE_NAMESPACE' -,p_display_order=>130 -,p_column_identifier=>'P' -,p_column_label=>'Object Storage Namespace' -,p_column_html_expression=>'#OBJECT_STORAGE_NAMESPACE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665268722864124) -,p_db_column_name=>'ADMIN_EMAIL' -,p_display_order=>140 -,p_column_identifier=>'Q' -,p_column_label=>'Admin Email' -,p_column_html_expression=>'#ADMIN_EMAIL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665344138864125) -,p_db_column_name=>'SERVICE' -,p_display_order=>150 -,p_column_identifier=>'R' -,p_column_label=>'Service' -,p_column_html_expression=>'#SERVICE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664467595864116) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>160 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664563165864117) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>170 -,p_column_identifier=>'J' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664657517864118) -,p_db_column_name=>'ID' -,p_display_order=>180 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10664761911864119) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>190 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10673830170874228) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'106739' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:DESCRIPTION:LIFECYCLE_STATE:TIME_CREATED:GUID:IDCS_TENANCY:OBJECT_STORAGE_NAMESPACE:ADMIN_EMAIL:SERVICE:DEFINED_TAGS:FREEFORM_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10665413161864126) -,p_plug_name=>'OCI_SHOWOCI_VISUAL_BUILDER' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>230 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_VISUAL_BUILDER' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_VISUAL_BUILDER)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_VISUAL_BUILDER' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_VISUAL_BUILDER' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10665563065864127) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10665563065864127 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665634509864128) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665703487864129) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665818207864130) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10665905729864131) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10666034261864132) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10666147375864133) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667433434864146) -,p_db_column_name=>'INSTANCE_URL' -,p_display_order=>190 -,p_column_identifier=>'M' -,p_column_label=>'Instance Url' -,p_column_html_expression=>'#INSTANCE_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667560661864147) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>200 -,p_column_identifier=>'N' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667629750864148) -,p_db_column_name=>'IS_VISUAL_BUILDER_ENABLED' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Is Visual Builder Enabled' -,p_column_html_expression=>'#IS_VISUAL_BUILDER_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667728091864149) -,p_db_column_name=>'CUSTOM_ENDPOINT' -,p_display_order=>220 -,p_column_identifier=>'P' -,p_column_label=>'Custom Endpoint' -,p_column_html_expression=>'#CUSTOM_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667809548864150) -,p_db_column_name=>'ALTERNATE_CUSTOM_ENDPOINTS' -,p_display_order=>230 -,p_column_identifier=>'Q' -,p_column_label=>'Alternate Custom Endpoints' -,p_column_html_expression=>'#ALTERNATE_CUSTOM_ENDPOINTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10674448567906901) -,p_db_column_name=>'CONSUMPTION_MODEL' -,p_display_order=>240 -,p_column_identifier=>'R' -,p_column_label=>'Consumption Model' -,p_column_html_expression=>'#CONSUMPTION_MODEL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10666361942864135) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>250 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10674596583906902) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>260 -,p_column_identifier=>'S' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10666459580864136) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>280 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667055577864142) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>290 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667100154864143) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>300 -,p_column_identifier=>'J' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667294820864144) -,p_db_column_name=>'ID' -,p_display_order=>310 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10667353851864145) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>320 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10685653251915911) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'106857' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:INSTANCE_URL:NODE_COUNT:IS_VISUAL_BUILDER_ENABLED:CUSTOM_ENDPOINT:ALTERNATE_CUSTOM_ENDPOINTS:CONSUMPTION_MODEL:LIFECYCLE_STATE:TIME_UPDATED:TIME_CREATED:DEFINED_TAGS:FREEFORM_TA' -||'GS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10674662852906903) -,p_plug_name=>'OCI_SHOWOCI_CONTAINERS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>240 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_CONTAINERS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_CONTAINERS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_CONTAINERS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_CONTAINERS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10674714291906904) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10674714291906904 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10674872294906905) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10674909032906906) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10675034212906907) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10675178648906908) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10675291010906909) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10675361583906910) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676058348906917) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>130 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676180865906918) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>140 -,p_column_identifier=>'H' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676281447906919) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>150 -,p_column_identifier=>'I' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678133651906938) -,p_db_column_name=>'TIME_DELETED' -,p_display_order=>160 -,p_column_identifier=>'AB' -,p_column_label=>'Time Deleted' -,p_column_html_expression=>'#TIME_DELETED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676322981906920) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>170 -,p_column_identifier=>'J' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676404433906921) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>180 -,p_column_identifier=>'K' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676710706906924) -,p_db_column_name=>'VCN' -,p_display_order=>190 -,p_column_identifier=>'N' -,p_column_label=>'Vcn' -,p_column_html_expression=>'#VCN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676804573906925) -,p_db_column_name=>'NODE_POOLS' -,p_display_order=>200 -,p_column_identifier=>'O' -,p_column_label=>'Node Pools' -,p_column_html_expression=>'#NODE_POOLS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676957859906926) -,p_db_column_name=>'KUBERNETES_VERSION' -,p_display_order=>210 -,p_column_identifier=>'P' -,p_column_label=>'Kubernetes Version' -,p_column_html_expression=>'#KUBERNETES_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677053828906927) -,p_db_column_name=>'ENDPOINT_IS_PUBLIC_IP_ENABLED' -,p_display_order=>220 -,p_column_identifier=>'Q' -,p_column_label=>'Endpoint Is Public Ip Enabled' -,p_column_html_expression=>'#ENDPOINT_IS_PUBLIC_IP_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677159584906928) -,p_db_column_name=>'ENDPOINT_NSG_IDS' -,p_display_order=>230 -,p_column_identifier=>'R' -,p_column_label=>'Endpoint Nsg Ids' -,p_column_html_expression=>'#ENDPOINT_NSG_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677210655906929) -,p_db_column_name=>'ENDPOINT_NSG_NAMES' -,p_display_order=>240 -,p_column_identifier=>'S' -,p_column_label=>'Endpoint Nsg Names' -,p_column_html_expression=>'#ENDPOINT_NSG_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677309510906930) -,p_db_column_name=>'ENDPOINT_SUBNET_ID' -,p_display_order=>250 -,p_column_identifier=>'T' -,p_column_label=>'Endpoint Subnet Id' -,p_column_html_expression=>'#ENDPOINT_SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677450961906931) -,p_db_column_name=>'ENDPOINT_SUBNET_NAME' -,p_display_order=>260 -,p_column_identifier=>'U' -,p_column_label=>'Endpoint Subnet Name' -,p_column_html_expression=>'#ENDPOINT_SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677599853906932) -,p_db_column_name=>'OPTION_LB_IDS' -,p_display_order=>270 -,p_column_identifier=>'V' -,p_column_label=>'Option Lb Ids' -,p_column_html_expression=>'#OPTION_LB_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677626226906933) -,p_db_column_name=>'OPTION_NETWORK_PODS_CIDR' -,p_display_order=>280 -,p_column_identifier=>'W' -,p_column_label=>'Option Network Pods Cidr' -,p_column_html_expression=>'#OPTION_NETWORK_PODS_CIDR#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677799983906934) -,p_db_column_name=>'OPTION_NETWORK_SERVICES_CIDR' -,p_display_order=>290 -,p_column_identifier=>'X' -,p_column_label=>'Option Network Services Cidr' -,p_column_html_expression=>'#OPTION_NETWORK_SERVICES_CIDR#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677899699906935) -,p_db_column_name=>'OPTION_IS_KUBERNETES_DASHBOARD_ENABLED' -,p_display_order=>300 -,p_column_identifier=>'Y' -,p_column_label=>'Option Is Kubernetes Dashboard Enabled' -,p_column_html_expression=>'#OPTION_IS_KUBERNETES_DASHBOARD_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10677935369906936) -,p_db_column_name=>'OPTION_IS_TILLER_ENABLED' -,p_display_order=>310 -,p_column_identifier=>'Z' -,p_column_label=>'Option Is Tiller Enabled' -,p_column_html_expression=>'#OPTION_IS_TILLER_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678078862906937) -,p_db_column_name=>'OPTION_IS_POD_SECURITY_POLICY_ENABLED' -,p_display_order=>320 -,p_column_identifier=>'AA' -,p_column_label=>'Option Is Pod Security Policy Enabled' -,p_column_html_expression=>'#OPTION_IS_POD_SECURITY_POLICY_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678205702906939) -,p_db_column_name=>'CREATED_BY_USER_ID' -,p_display_order=>340 -,p_column_identifier=>'AC' -,p_column_label=>'Created By User Id' -,p_column_html_expression=>'#CREATED_BY_USER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678314813906940) -,p_db_column_name=>'DELETED_BY_USER_ID' -,p_display_order=>350 -,p_column_identifier=>'AD' -,p_column_label=>'Deleted By User Id' -,p_column_html_expression=>'#DELETED_BY_USER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678406839906941) -,p_db_column_name=>'UPDATED_BY_USER_ID' -,p_display_order=>360 -,p_column_identifier=>'AE' -,p_column_label=>'Updated By User Id' -,p_column_html_expression=>'#UPDATED_BY_USER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678511081906942) -,p_db_column_name=>'ENDPOINT_KUBERNETES' -,p_display_order=>370 -,p_column_identifier=>'AF' -,p_column_label=>'Endpoint Kubernetes' -,p_column_html_expression=>'#ENDPOINT_KUBERNETES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678699078906943) -,p_db_column_name=>'ENDPOINT_PUBLIC_ENDPOINT' -,p_display_order=>380 -,p_column_identifier=>'AG' -,p_column_label=>'Endpoint Public Endpoint' -,p_column_html_expression=>'#ENDPOINT_PUBLIC_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678775449906944) -,p_db_column_name=>'ENDPOINT_PRIVATE_ENDPOINT' -,p_display_order=>390 -,p_column_identifier=>'AH' -,p_column_label=>'Endpoint Private Endpoint' -,p_column_html_expression=>'#ENDPOINT_PRIVATE_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678856776906945) -,p_db_column_name=>'ENDPOINT_VCN_HOSTNAME_ENDPOINT' -,p_display_order=>400 -,p_column_identifier=>'AI' -,p_column_label=>'Endpoint Vcn Hostname Endpoint' -,p_column_html_expression=>'#ENDPOINT_VCN_HOSTNAME_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10678931725906946) -,p_db_column_name=>'AVAILABLE_KUBERNETES_UPGRADES' -,p_display_order=>410 -,p_column_identifier=>'AJ' -,p_column_label=>'Available Kubernetes Upgrades' -,p_column_html_expression=>'#AVAILABLE_KUBERNETES_UPGRADES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10679082701906947) -,p_db_column_name=>'VCN_ID' -,p_display_order=>420 -,p_column_identifier=>'AK' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676521719906922) -,p_db_column_name=>'ID' -,p_display_order=>430 -,p_column_identifier=>'L' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10676667521906923) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>440 -,p_column_identifier=>'M' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10712660964976514) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'107127' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:NAME:LIFECYCLE_STATE:TIME_UPDATED:TIME_CREATED:TIME_DELETED:DEFINED_TAGS:FREEFORM_TAGS:VCN:NODE_POOLS:KUBERNETES_VERSION:ENDPOINT_IS_PUBLIC_IP_ENABLED:ENDPOINT_NSG_IDS:ENDPOINT_NSG_N' -||'AMES:ENDPOINT_SUBNET_ID:ENDPOINT_SUBNET_NAME:OPTION_LB_IDS:OPTION_NETWORK_PODS_CIDR:OPTION_NETWORK_SERVICES_CIDR:OPTION_IS_KUBERNETES_DASHBOARD_ENABLED:OPTION_IS_TILLER_ENABLED:OPTION_IS_POD_SECURITY_POLICY_ENABLED:CREATED_BY_USER_ID:DELETED_BY_USER_' -||'ID:UPDATED_BY_USER_ID:ENDPOINT_KUBERNETES:ENDPOINT_PUBLIC_ENDPOINT:ENDPOINT_PRIVATE_ENDPOINT:ENDPOINT_VCN_HOSTNAME_ENDPOINT:AVAILABLE_KUBERNETES_UPGRADES:VCN_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10679133148906948) -,p_plug_name=>'OCI_SHOWOCI_CONTAINERS_NODEPOOLS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>250 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_CONTAINERS_NODEPOOLS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_CONTAINERS_NODEPOOLS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_CONTAINERS_NODEPOOLS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_CONTAINERS_NODEPOOLS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10679264924906949) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10679264924906949 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10679399064906950) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688081101930601) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688173508930602) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688289933930603) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688359068930604) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10689289360930613) -,p_db_column_name=>'VCN' -,p_display_order=>140 -,p_column_identifier=>'J' -,p_column_label=>'Vcn' -,p_column_html_expression=>'#VCN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10689492716930615) -,p_db_column_name=>'KUBERNETES_VERSION' -,p_display_order=>160 -,p_column_identifier=>'K' -,p_column_label=>'Kubernetes Version' -,p_column_html_expression=>'#KUBERNETES_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10691604259930637) -,p_db_column_name=>'CONTAINER_NAME' -,p_display_order=>380 -,p_column_identifier=>'M' -,p_column_label=>'Container Name' -,p_column_html_expression=>'#CONTAINER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10691756270930638) -,p_db_column_name=>'NODE_NAME' -,p_display_order=>390 -,p_column_identifier=>'N' -,p_column_label=>'Node Name' -,p_column_html_expression=>'#NODE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10691887720930639) -,p_db_column_name=>'NODE_IMAGE_NAME' -,p_display_order=>400 -,p_column_identifier=>'O' -,p_column_label=>'Node Image Name' -,p_column_html_expression=>'#NODE_IMAGE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10691983678930640) -,p_db_column_name=>'NODE_SHAPE' -,p_display_order=>410 -,p_column_identifier=>'P' -,p_column_label=>'Node Shape' -,p_column_html_expression=>'#NODE_SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692175106930642) -,p_db_column_name=>'NODE_SHAPE_MEM_GB' -,p_display_order=>430 -,p_column_identifier=>'R' -,p_column_label=>'Node Shape Mem Gb' -,p_column_html_expression=>'#NODE_SHAPE_MEM_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692267471930643) -,p_db_column_name=>'NODE_SHAPE_OCPUS' -,p_display_order=>440 -,p_column_identifier=>'S' -,p_column_label=>'Node Shape Ocpus' -,p_column_html_expression=>'#NODE_SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692373741930644) -,p_db_column_name=>'NODE_SOURCE_TYPE' -,p_display_order=>450 -,p_column_identifier=>'T' -,p_column_label=>'Node Source Type' -,p_column_html_expression=>'#NODE_SOURCE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692415825930645) -,p_db_column_name=>'NODE_SOURCE_NAME' -,p_display_order=>460 -,p_column_identifier=>'U' -,p_column_label=>'Node Source Name' -,p_column_html_expression=>'#NODE_SOURCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692559483930646) -,p_db_column_name=>'SUBNETS' -,p_display_order=>470 -,p_column_identifier=>'V' -,p_column_label=>'Subnets' -,p_column_html_expression=>'#SUBNETS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692675165930647) -,p_db_column_name=>'SUBNET_IDS' -,p_display_order=>480 -,p_column_identifier=>'W' -,p_column_label=>'Subnet Ids' -,p_column_html_expression=>'#SUBNET_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692725137930648) -,p_db_column_name=>'CONTAINER_ID' -,p_display_order=>490 -,p_column_identifier=>'X' -,p_column_label=>'Container Id' -,p_column_html_expression=>'#CONTAINER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692828553930649) -,p_db_column_name=>'NODE_POOL_ID' -,p_display_order=>500 -,p_column_identifier=>'Y' -,p_column_label=>'Node Pool Id' -,p_column_html_expression=>'#NODE_POOL_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688816644930609) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>510 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10688976853930610) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>520 -,p_column_identifier=>'G' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10691501961930636) -,p_db_column_name=>'VCN_ID' -,p_display_order=>530 -,p_column_identifier=>'L' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10689076896930611) -,p_db_column_name=>'ID' -,p_display_order=>540 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10689121707930612) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>550 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10692949978930650) -,p_db_column_name=>'QUANTITY_PER_SUBNET' -,p_display_order=>560 -,p_column_identifier=>'Z' -,p_column_label=>'Quantity Per Subnet' -,p_column_html_expression=>'#QUANTITY_PER_SUBNET#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10713294171980598) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'107133' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:VCN:KUBERNETES_VERSION:CONTAINER_NAME:NODE_NAME:NODE_IMAGE_NAME:NODE_SHAPE:QUANTITY_PER_SUBNET:NODE_SHAPE_MEM_GB:NODE_SHAPE_OCPUS:NODE_SOURCE_TYPE:NODE_SOURCE_NAME:SUBNETS:SUBNET_IDS' -||':CONTAINER_ID:NODE_POOL_ID:DEFINED_TAGS:FREEFORM_TAGS:VCN_ID:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10715451986315301) -,p_plug_name=>'OCI_SHOWOCI_APIGW' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>260 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_APIGW' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_APIGW)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_APIGW' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_APIGW' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10715505145315302) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10715505145315302 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10715600954315303) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10715770671315304) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10715834175315305) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10715951292315306) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10716052829315307) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718142616315328) -,p_db_column_name=>'GW_NAME' -,p_display_order=>250 -,p_column_identifier=>'H' -,p_column_label=>'Gw Name' -,p_column_html_expression=>'#GW_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718282239315329) -,p_db_column_name=>'GW_ENDPOINT_TYPE' -,p_display_order=>260 -,p_column_identifier=>'I' -,p_column_label=>'Gw Endpoint Type' -,p_column_html_expression=>'#GW_ENDPOINT_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718334649315330) -,p_db_column_name=>'GW_HOSTNAME' -,p_display_order=>270 -,p_column_identifier=>'J' -,p_column_label=>'Gw Hostname' -,p_column_html_expression=>'#GW_HOSTNAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718422072315331) -,p_db_column_name=>'GW_SUBNET_ID' -,p_display_order=>280 -,p_column_identifier=>'K' -,p_column_label=>'Gw Subnet Id' -,p_column_html_expression=>'#GW_SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718558450315332) -,p_db_column_name=>'GW_SUBNET_NAME' -,p_display_order=>290 -,p_column_identifier=>'L' -,p_column_label=>'Gw Subnet Name' -,p_column_html_expression=>'#GW_SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718698131315333) -,p_db_column_name=>'GW_TIME_CREATED' -,p_display_order=>300 -,p_column_identifier=>'M' -,p_column_label=>'Gw Time Created' -,p_column_html_expression=>'#GW_TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718761532315334) -,p_db_column_name=>'GW_TIME_UPDATED' -,p_display_order=>310 -,p_column_identifier=>'N' -,p_column_label=>'Gw Time Updated' -,p_column_html_expression=>'#GW_TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718842722315335) -,p_db_column_name=>'GW_LIFECYCLE_STATE' -,p_display_order=>320 -,p_column_identifier=>'O' -,p_column_label=>'Gw Lifecycle State' -,p_column_html_expression=>'#GW_LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10718913846315336) -,p_db_column_name=>'GW_NSG_IDS' -,p_display_order=>330 -,p_column_identifier=>'P' -,p_column_label=>'Gw Nsg Ids' -,p_column_html_expression=>'#GW_NSG_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719049468315337) -,p_db_column_name=>'GW_NSG_NAMES' -,p_display_order=>340 -,p_column_identifier=>'Q' -,p_column_label=>'Gw Nsg Names' -,p_column_html_expression=>'#GW_NSG_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719151915315338) -,p_db_column_name=>'GW_CERTIFICATE_ID' -,p_display_order=>350 -,p_column_identifier=>'R' -,p_column_label=>'Gw Certificate Id' -,p_column_html_expression=>'#GW_CERTIFICATE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720363588315350) -,p_db_column_name=>'GW_FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'AD' -,p_column_label=>'Gw Freeform Tags' -,p_column_html_expression=>'#GW_FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720481062336601) -,p_db_column_name=>'GW_DEFINED_TAGS' -,p_display_order=>370 -,p_column_identifier=>'AE' -,p_column_label=>'Gw Defined Tags' -,p_column_html_expression=>'#GW_DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719267324315339) -,p_db_column_name=>'DP_DISPLAY_NAME' -,p_display_order=>380 -,p_column_identifier=>'S' -,p_column_label=>'Dp Display Name' -,p_column_html_expression=>'#DP_DISPLAY_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719369968315340) -,p_db_column_name=>'PATH_PREFIX' -,p_display_order=>390 -,p_column_identifier=>'T' -,p_column_label=>'Path Prefix' -,p_column_html_expression=>'#PATH_PREFIX#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719497429315341) -,p_db_column_name=>'ENDPOINT' -,p_display_order=>400 -,p_column_identifier=>'U' -,p_column_label=>'Endpoint' -,p_column_html_expression=>'#ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719505019315342) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>410 -,p_column_identifier=>'V' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719616018315343) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>420 -,p_column_identifier=>'W' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719775102315344) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>430 -,p_column_identifier=>'X' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719855373315345) -,p_db_column_name=>'LOG_EXECUTION' -,p_display_order=>440 -,p_column_identifier=>'Y' -,p_column_label=>'Log Execution' -,p_column_html_expression=>'#LOG_EXECUTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10719994862315346) -,p_db_column_name=>'LOG_ACCESS' -,p_display_order=>450 -,p_column_identifier=>'Z' -,p_column_label=>'Log Access' -,p_column_html_expression=>'#LOG_ACCESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720084934315347) -,p_db_column_name=>'LOGS' -,p_display_order=>460 -,p_column_identifier=>'AA' -,p_column_label=>'Logs' -,p_column_html_expression=>'#LOGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720525542336602) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>480 -,p_column_identifier=>'AF' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720645546336603) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>490 -,p_column_identifier=>'AG' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720116203315348) -,p_db_column_name=>'DP_ID' -,p_display_order=>500 -,p_column_identifier=>'AB' -,p_column_label=>'Dp Id' -,p_column_html_expression=>'#DP_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10720239518315349) -,p_db_column_name=>'API_ID' -,p_display_order=>510 -,p_column_identifier=>'AC' -,p_column_label=>'Api Id' -,p_column_html_expression=>'#API_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10717863476315325) -,p_db_column_name=>'ID' -,p_display_order=>520 -,p_column_identifier=>'F' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10717900598315326) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>530 -,p_column_identifier=>'G' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10735928145360781) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'107360' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:GW_NAME:GW_ENDPOINT_TYPE:GW_HOSTNAME:GW_SUBNET_ID:GW_SUBNET_NAME:GW_TIME_CREATED:GW_TIME_UPDATED:GW_LIFECYCLE_STATE:GW_NSG_IDS:GW_NSG_NAMES:GW_CERTIFICATE_ID:GW_FREEFORM_TAGS:GW_DEFI' -||'NED_TAGS:DP_DISPLAY_NAME:PATH_PREFIX:ENDPOINT:LIFECYCLE_STATE:TIME_CREATED:TIME_UPDATED:LOG_EXECUTION:LOG_ACCESS:LOGS:FREEFORM_TAGS:DEFINED_TAGS:DP_ID:API_ID:ID:EXTRACT_DATE' -); -end; -/ -begin -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10722241642336619) -,p_plug_name=>'OCI_SHOWOCI_DB_NOSQL' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>620 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DB_NOSQL' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DB_NOSQL)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DB_NOSQL' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DB_NOSQL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10722368077336620) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10722368077336620 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722427669336621) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722576152336622) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722635665336623) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722700213336624) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10722850175336625) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724624140336643) -,p_db_column_name=>'NAME' -,p_display_order=>230 -,p_column_identifier=>'J' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724778445336644) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>240 -,p_column_identifier=>'K' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724846034336645) -,p_db_column_name=>'IS_AUTO_RECLAIMABLE' -,p_display_order=>250 -,p_column_identifier=>'L' -,p_column_label=>'Is Auto Reclaimable' -,p_column_html_expression=>'#IS_AUTO_RECLAIMABLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724968548336646) -,p_db_column_name=>'CAPACITY_MODE' -,p_display_order=>260 -,p_column_identifier=>'M' -,p_column_label=>'Capacity Mode' -,p_column_html_expression=>'#CAPACITY_MODE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10725078190336647) -,p_db_column_name=>'MAX_READ_UNITS' -,p_display_order=>270 -,p_column_identifier=>'N' -,p_column_label=>'Max Read Units' -,p_column_html_expression=>'#MAX_READ_UNITS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10725128639336648) -,p_db_column_name=>'MAX_WRITE_UNITS' -,p_display_order=>280 -,p_column_identifier=>'O' -,p_column_label=>'Max Write Units' -,p_column_html_expression=>'#MAX_WRITE_UNITS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10725287127336649) -,p_db_column_name=>'MAX_STORAGE_IN_G_BS' -,p_display_order=>290 -,p_column_identifier=>'P' -,p_column_label=>'Max Storage In G Bs' -,p_column_html_expression=>'#MAX_STORAGE_IN_G_BS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10725343933336650) -,p_db_column_name=>'TIME_OF_EXPIRATION' -,p_display_order=>300 -,p_column_identifier=>'Q' -,p_column_label=>'Time Of Expiration' -,p_column_html_expression=>'#TIME_OF_EXPIRATION#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13204765132718801) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>310 -,p_column_identifier=>'R' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13204887050718802) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>320 -,p_column_identifier=>'S' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724258646336639) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>330 -,p_column_identifier=>'F' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724390907336640) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>340 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724479029336641) -,p_db_column_name=>'ID' -,p_display_order=>350 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10724553712336642) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>360 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(13254229633738316) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'132543' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:IS_AUTO_RECLAIMABLE:CAPACITY_MODE:MAX_READ_UNITS:MAX_WRITE_UNITS:MAX_STORAGE_IN_G_BS:TIME_OF_EXPIRATION:TIME_CREATED:TIME_UPDATED:FREEFORM_TAGS:DEFINED_TAGS:ID:E' -||'XTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10826159747311820) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_VM_BM' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>140 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASE_VM_BM' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_VM_BM)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_VM_BM' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_VM_BM' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10826244193311821) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10826244193311821 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826317768311822) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826484433311823) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826566223311824) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826697045311825) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826726666311826) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826871385311827) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10826905699311828) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827066362311829) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827187131311830) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827227857311831) -,p_db_column_name=>'VM_NAME' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Vm Name' -,p_column_html_expression=>'#VM_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827333963311832) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827419480311833) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827583654311834) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827690094311835) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827716877311836) -,p_db_column_name=>'DB_STORAGE_GB' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Db Storage Gb' -,p_column_html_expression=>'#DB_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827857633311837) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10827917260311838) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828043281311839) -,p_db_column_name=>'DATA_SUBNET' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Data Subnet' -,p_column_html_expression=>'#DATA_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828121999311840) -,p_db_column_name=>'BACKUP_SUBNET' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Backup Subnet' -,p_column_html_expression=>'#BACKUP_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828257324311841) -,p_db_column_name=>'SCAN_IPS' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Scan Ips' -,p_column_html_expression=>'#SCAN_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828344124311842) -,p_db_column_name=>'VIP_IPS' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'Vip Ips' -,p_column_html_expression=>'#VIP_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828403243311843) -,p_db_column_name=>'DOMAIN' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Domain' -,p_column_html_expression=>'#DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828559768311844) -,p_db_column_name=>'DB_NODES' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Db Nodes' -,p_column_html_expression=>'#DB_NODES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663172766731537) -,p_db_column_name=>'DB_HOMES' -,p_display_order=>240 -,p_column_identifier=>'AL' -,p_column_label=>'Db Homes' -,p_column_html_expression=>'#DB_HOMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828674663311845) -,p_db_column_name=>'SHAPE_OCPUS' -,p_display_order=>250 -,p_column_identifier=>'X' -,p_column_label=>'Shape Ocpus' -,p_column_html_expression=>'#SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828741612311846) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>260 -,p_column_identifier=>'Y' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10828852690311847) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>270 -,p_column_identifier=>'Z' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857171471416703) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>280 -,p_column_identifier=>'AB' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857801361416710) -,p_db_column_name=>'GI_VERSION' -,p_display_order=>300 -,p_column_identifier=>'AG' -,p_column_label=>'Gi Version' -,p_column_html_expression=>'#GI_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857968320416711) -,p_db_column_name=>'GI_VERSION_DATE' -,p_display_order=>310 -,p_column_identifier=>'AH' -,p_column_label=>'Gi Version Date' -,p_column_html_expression=>'#GI_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858066985416712) -,p_db_column_name=>'SYSTEM_VERSION' -,p_display_order=>320 -,p_column_identifier=>'AI' -,p_column_label=>'System Version' -,p_column_html_expression=>'#SYSTEM_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858124913416713) -,p_db_column_name=>'SYSTEM_VERSION_DATE' -,p_display_order=>330 -,p_column_identifier=>'AJ' -,p_column_label=>'System Version Date' -,p_column_html_expression=>'#SYSTEM_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858289649416714) -,p_db_column_name=>'INFRA_ID' -,p_display_order=>340 -,p_column_identifier=>'AK' -,p_column_label=>'Infra Id' -,p_column_html_expression=>'#INFRA_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857431822416706) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>350 -,p_column_identifier=>'AC' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857576581416707) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'AD' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857650186416708) -,p_db_column_name=>'ID' -,p_display_order=>370 -,p_column_identifier=>'AE' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10857763492416709) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>380 -,p_column_identifier=>'AF' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10877130433423266) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'108772' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:VM_NAME:CLUSTER_NAME:SHAPE:CPU_CORE_COUNT:NODE_COUNT:DB_STORAGE_GB:DATABASE_EDITION:LICENSE_MODEL:DATA_SUBNET:BACKUP_SUBNET:SCAN_IPS:VIP_IPS:DOMA' -||'IN:DB_HOMES:DB_NODES:SHAPE_OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:TIME_CREATED:GI_VERSION:GI_VERSION_DATE:SYSTEM_VERSION:SYSTEM_VERSION_DATE:INFRA_ID:DEFINED_TAGS:FREEFORM_TAGS:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10858372609416715) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_BACKUPS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>120 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASE_BACKUPS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_BACKUPS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_BACKUPS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_BACKUPS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10858467697416716) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10858467697416716 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858547415416717) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858646975416718) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858734404416719) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10858982620416721) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10859085849416722) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10859613218416728) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'F' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10895327066902812) -,p_db_column_name=>'SIZE_GB' -,p_display_order=>130 -,p_column_identifier=>'Q' -,p_column_label=>'Size Gb' -,p_column_html_expression=>'#SIZE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10860473049416736) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>140 -,p_column_identifier=>'G' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10879818352881707) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>150 -,p_column_identifier=>'J' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10879946379881708) -,p_db_column_name=>'DBS_NAME' -,p_display_order=>160 -,p_column_identifier=>'K' -,p_column_label=>'Dbs Name' -,p_column_html_expression=>'#DBS_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880075146881709) -,p_db_column_name=>'DATABASE' -,p_display_order=>170 -,p_column_identifier=>'L' -,p_column_label=>'Database' -,p_column_html_expression=>'#DATABASE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880184800881710) -,p_db_column_name=>'BACKUP_NAME' -,p_display_order=>180 -,p_column_identifier=>'M' -,p_column_label=>'Backup Name' -,p_column_html_expression=>'#BACKUP_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880280701881711) -,p_db_column_name=>'TIME' -,p_display_order=>190 -,p_column_identifier=>'N' -,p_column_label=>'Time' -,p_column_html_expression=>'#TIME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880419425881713) -,p_db_column_name=>'DATABASE_ID' -,p_display_order=>200 -,p_column_identifier=>'P' -,p_column_label=>'Database Id' -,p_column_html_expression=>'#DATABASE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10879690238881705) -,p_db_column_name=>'ID' -,p_display_order=>210 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10879728318881706) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>220 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10946997468909162) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'109470' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_PATH:COMPARTMENT_NAME:SHAPE:DATABASE_EDITION:LIFECYCLE_STATE:SIZE_GB:DBS_NAME:DATABASE:BACKUP_NAME:TIME:DATABASE_ID:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10880522059881714) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_EXA_CS_VMS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>90 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASE_EXA_CS_VMS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_EXA_CS_VMS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_EXA_CS_VMS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_EXA_CS_VMS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10880698691881715) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10880698691881715 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880732016881716) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880820281881717) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10880914302881718) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881070297881719) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881100601881720) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881243711881721) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881354538881722) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881435189881723) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881567660881724) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881603162881725) -,p_db_column_name=>'VM_NAME' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Vm Name' -,p_column_html_expression=>'#VM_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881770318881726) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881877981881727) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10881920046881728) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882015846881729) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882168927881730) -,p_db_column_name=>'DB_STORAGE_GB' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Db Storage Gb' -,p_column_html_expression=>'#DB_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882297153881731) -,p_db_column_name=>'GI_VERSION' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Gi Version' -,p_column_html_expression=>'#GI_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882345238881732) -,p_db_column_name=>'GI_VERSION_DATE' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Gi Version Date' -,p_column_html_expression=>'#GI_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882411592881733) -,p_db_column_name=>'SYSTEM_VERSION' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'System Version' -,p_column_html_expression=>'#SYSTEM_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882597350881734) -,p_db_column_name=>'SYSTEM_VERSION_DATE' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'System Version Date' -,p_column_html_expression=>'#SYSTEM_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882698425881735) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882722996881736) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882803808881737) -,p_db_column_name=>'DATA_SUBNET' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Data Subnet' -,p_column_html_expression=>'#DATA_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10882907686881738) -,p_db_column_name=>'BACKUP_SUBNET' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Backup Subnet' -,p_column_html_expression=>'#BACKUP_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883085311881739) -,p_db_column_name=>'SCAN_IPS' -,p_display_order=>240 -,p_column_identifier=>'X' -,p_column_label=>'Scan Ips' -,p_column_html_expression=>'#SCAN_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883179220881740) -,p_db_column_name=>'VIP_IPS' -,p_display_order=>250 -,p_column_identifier=>'Y' -,p_column_label=>'Vip Ips' -,p_column_html_expression=>'#VIP_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883204085881741) -,p_db_column_name=>'DOMAIN' -,p_display_order=>260 -,p_column_identifier=>'Z' -,p_column_label=>'Domain' -,p_column_html_expression=>'#DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883325905881742) -,p_db_column_name=>'DB_NODES' -,p_display_order=>270 -,p_column_identifier=>'AA' -,p_column_label=>'Db Nodes' -,p_column_html_expression=>'#DB_NODES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883498335881743) -,p_db_column_name=>'DB_HOMES' -,p_display_order=>280 -,p_column_identifier=>'AB' -,p_column_label=>'Db Homes' -,p_column_html_expression=>'#DB_HOMES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883574308881744) -,p_db_column_name=>'MAINTENANCE_WINDOW' -,p_display_order=>290 -,p_column_identifier=>'AC' -,p_column_label=>'Maintenance Window' -,p_column_html_expression=>'#MAINTENANCE_WINDOW#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883608141881745) -,p_db_column_name=>'LAST_MAINTENANCE_RUN' -,p_display_order=>300 -,p_column_identifier=>'AD' -,p_column_label=>'Last Maintenance Run' -,p_column_html_expression=>'#LAST_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883747966881746) -,p_db_column_name=>'NEXT_MAINTENANCE_RUN' -,p_display_order=>310 -,p_column_identifier=>'AE' -,p_column_label=>'Next Maintenance Run' -,p_column_html_expression=>'#NEXT_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883802381881747) -,p_db_column_name=>'SHAPE_OCPUS' -,p_display_order=>320 -,p_column_identifier=>'AF' -,p_column_label=>'Shape Ocpus' -,p_column_html_expression=>'#SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10883957921881748) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>330 -,p_column_identifier=>'AG' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884060591881749) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>340 -,p_column_identifier=>'AH' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884115517881750) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>350 -,p_column_identifier=>'AI' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884236851888201) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'AJ' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884334682888202) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>370 -,p_column_identifier=>'AK' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884451577888203) -,p_db_column_name=>'INFRA_ID' -,p_display_order=>380 -,p_column_identifier=>'AL' -,p_column_label=>'Infra Id' -,p_column_html_expression=>'#INFRA_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884506639888204) -,p_db_column_name=>'ID' -,p_display_order=>390 -,p_column_identifier=>'AM' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884611032888205) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>400 -,p_column_identifier=>'AN' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10952425798968774) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'109525' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:VM_NAME:CLUSTER_NAME:SHAPE:CPU_CORE_COUNT:NODE_COUNT:DB_STORAGE_GB:GI_VERSION:GI_VERSION_DATE:SYSTEM_VERSION:SYSTEM_VERSION_DATE:DATABASE_EDITION' -||':LICENSE_MODEL:DATA_SUBNET:BACKUP_SUBNET:SCAN_IPS:VIP_IPS:DOMAIN:DB_NODES:DB_HOMES:MAINTENANCE_WINDOW:LAST_MAINTENANCE_RUN:NEXT_MAINTENANCE_RUN:SHAPE_OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:DEFINED_TAGS:FREEFORM_TAGS:TIME_CREATED:INFRA_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10884748397888206) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_EXA_CC_VMS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>110 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASE_EXA_CC_VMS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_EXA_CC_VMS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_EXA_CC_VMS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_EXA_CC_VMS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10884822356888207) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10884822356888207 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10884942105888208) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885039311888209) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885175042888210) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885236174888211) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885377328888212) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885420116888213) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885570544888214) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885621321888215) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885707602888216) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885817790888217) -,p_db_column_name=>'VM_NAME' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Vm Name' -,p_column_html_expression=>'#VM_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10885935340888218) -,p_db_column_name=>'CLUSTER_NAME' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Cluster Name' -,p_column_html_expression=>'#CLUSTER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886013967888219) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886128136888220) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886223188888221) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886386306888222) -,p_db_column_name=>'DB_STORAGE_GB' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Db Storage Gb' -,p_column_html_expression=>'#DB_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886403913888223) -,p_db_column_name=>'GI_VERSION' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Gi Version' -,p_column_html_expression=>'#GI_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886542686888224) -,p_db_column_name=>'GI_VERSION_DATE' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Gi Version Date' -,p_column_html_expression=>'#GI_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886628168888225) -,p_db_column_name=>'SYSTEM_VERSION' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'System Version' -,p_column_html_expression=>'#SYSTEM_VERSION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886798970888226) -,p_db_column_name=>'SYSTEM_VERSION_DATE' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'System Version Date' -,p_column_html_expression=>'#SYSTEM_VERSION_DATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886856885888227) -,p_db_column_name=>'DATABASE_EDITION' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Database Edition' -,p_column_html_expression=>'#DATABASE_EDITION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10886963987888228) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887019494888229) -,p_db_column_name=>'DATA_SUBNET' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Data Subnet' -,p_column_html_expression=>'#DATA_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887145220888230) -,p_db_column_name=>'BACKUP_SUBNET' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Backup Subnet' -,p_column_html_expression=>'#BACKUP_SUBNET#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887261454888231) -,p_db_column_name=>'SCAN_IPS' -,p_display_order=>240 -,p_column_identifier=>'X' -,p_column_label=>'Scan Ips' -,p_column_html_expression=>'#SCAN_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887357881888232) -,p_db_column_name=>'VIP_IPS' -,p_display_order=>250 -,p_column_identifier=>'Y' -,p_column_label=>'Vip Ips' -,p_column_html_expression=>'#VIP_IPS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887434403888233) -,p_db_column_name=>'DOMAIN' -,p_display_order=>260 -,p_column_identifier=>'Z' -,p_column_label=>'Domain' -,p_column_html_expression=>'#DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887573152888234) -,p_db_column_name=>'DB_NODES' -,p_display_order=>270 -,p_column_identifier=>'AA' -,p_column_label=>'Db Nodes' -,p_column_html_expression=>'#DB_NODES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887621244888235) -,p_db_column_name=>'DB_HOMES' -,p_display_order=>280 -,p_column_identifier=>'AB' -,p_column_label=>'Db Homes' -,p_column_html_expression=>'#DB_HOMES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887781244888236) -,p_db_column_name=>'MAINTENANCE_WINDOW' -,p_display_order=>290 -,p_column_identifier=>'AC' -,p_column_label=>'Maintenance Window' -,p_column_html_expression=>'#MAINTENANCE_WINDOW#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887814382888237) -,p_db_column_name=>'LAST_MAINTENANCE_RUN' -,p_display_order=>300 -,p_column_identifier=>'AD' -,p_column_label=>'Last Maintenance Run' -,p_column_html_expression=>'#LAST_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10887922057888238) -,p_db_column_name=>'NEXT_MAINTENANCE_RUN' -,p_display_order=>310 -,p_column_identifier=>'AE' -,p_column_label=>'Next Maintenance Run' -,p_column_html_expression=>'#NEXT_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888067011888239) -,p_db_column_name=>'SHAPE_OCPUS' -,p_display_order=>320 -,p_column_identifier=>'AF' -,p_column_label=>'Shape Ocpus' -,p_column_html_expression=>'#SHAPE_OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888185961888240) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>330 -,p_column_identifier=>'AG' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888228429888241) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>340 -,p_column_identifier=>'AH' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888333141888242) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>350 -,p_column_identifier=>'AI' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888423595888243) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'AJ' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888519591888244) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>370 -,p_column_identifier=>'AK' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888632074888245) -,p_db_column_name=>'INFRA_ID' -,p_display_order=>380 -,p_column_identifier=>'AL' -,p_column_label=>'Infra Id' -,p_column_html_expression=>'#INFRA_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888734580888246) -,p_db_column_name=>'ID' -,p_display_order=>390 -,p_column_identifier=>'AM' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10888858611888247) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>400 -,p_column_identifier=>'AN' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10951807719966207) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'109519' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:VM_NAME:CLUSTER_NAME:SHAPE:CPU_CORE_COUNT:NODE_COUNT:DB_STORAGE_GB:GI_VERSION:GI_VERSION_DATE:SYSTEM_VERSION:SYSTEM_VERSION_DATE:DATABASE_EDITION' -||':LICENSE_MODEL:DATA_SUBNET:BACKUP_SUBNET:SCAN_IPS:VIP_IPS:DOMAIN:DB_NODES:DB_HOMES:MAINTENANCE_WINDOW:LAST_MAINTENANCE_RUN:NEXT_MAINTENANCE_RUN:SHAPE_OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:DEFINED_TAGS:FREEFORM_TAGS:TIME_CREATED:INFRA_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10888954410888248) -,p_plug_name=>'OCI_SHOWOCI_DATABASE_EXA_INFRA' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>100 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATABASE_EXA_INFRA' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATABASE_EXA_INFRA)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATABASE_EXA_INFRA' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATABASE_EXA_INFRA' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10889078451888249) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10889078451888249 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889185633888250) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889205856900801) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889326059900802) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889438274900803) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889503155900804) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889676283900805) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889711093900806) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889847057900807) -,p_db_column_name=>'TYPE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10889913835900808) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10890208732900811) -,p_db_column_name=>'SHAPE' -,p_display_order=>120 -,p_column_identifier=>'J' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10890438958900813) -,p_db_column_name=>'NODE_COUNT' -,p_display_order=>140 -,p_column_identifier=>'K' -,p_column_label=>'Node Count' -,p_column_html_expression=>'#NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10891985013900828) -,p_db_column_name=>'MAINTENANCE_WINDOW' -,p_display_order=>290 -,p_column_identifier=>'L' -,p_column_label=>'Maintenance Window' -,p_column_html_expression=>'#MAINTENANCE_WINDOW#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892077246900829) -,p_db_column_name=>'LAST_MAINTENANCE_RUN' -,p_display_order=>300 -,p_column_identifier=>'M' -,p_column_label=>'Last Maintenance Run' -,p_column_html_expression=>'#LAST_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892157427900830) -,p_db_column_name=>'NEXT_MAINTENANCE_RUN' -,p_display_order=>310 -,p_column_identifier=>'N' -,p_column_label=>'Next Maintenance Run' -,p_column_html_expression=>'#NEXT_MAINTENANCE_RUN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892503312900834) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>350 -,p_column_identifier=>'O' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892690121900835) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'P' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892797106900836) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>370 -,p_column_identifier=>'Q' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893170140900840) -,p_db_column_name=>'TIME_ZONE' -,p_display_order=>410 -,p_column_identifier=>'U' -,p_column_label=>'Time Zone' -,p_column_html_expression=>'#TIME_ZONE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893234317900841) -,p_db_column_name=>'CPUS_ENABLED' -,p_display_order=>420 -,p_column_identifier=>'V' -,p_column_label=>'Cpus Enabled' -,p_column_html_expression=>'#CPUS_ENABLED#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893383951900842) -,p_db_column_name=>'MAX_CPU_COUNT' -,p_display_order=>430 -,p_column_identifier=>'W' -,p_column_label=>'Max Cpu Count' -,p_column_html_expression=>'#MAX_CPU_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893496199900843) -,p_db_column_name=>'MEMORY_SIZE_IN_GBS' -,p_display_order=>440 -,p_column_identifier=>'X' -,p_column_label=>'Memory Size In Gbs' -,p_column_html_expression=>'#MEMORY_SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893593876900844) -,p_db_column_name=>'MAX_MEMORY_IN_GBS' -,p_display_order=>450 -,p_column_identifier=>'Y' -,p_column_label=>'Max Memory In Gbs' -,p_column_html_expression=>'#MAX_MEMORY_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893631804900845) -,p_db_column_name=>'DB_NODE_STORAGE_SIZE_IN_GBS' -,p_display_order=>460 -,p_column_identifier=>'Z' -,p_column_label=>'Db Node Storage Size In Gbs' -,p_column_html_expression=>'#DB_NODE_STORAGE_SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893722676900846) -,p_db_column_name=>'MAX_DB_NODE_STORAGE_IN_G_BS' -,p_display_order=>470 -,p_column_identifier=>'AA' -,p_column_label=>'Max Db Node Storage In G Bs' -,p_column_html_expression=>'#MAX_DB_NODE_STORAGE_IN_G_BS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893889664900847) -,p_db_column_name=>'DATA_STORAGE_SIZE_IN_TBS' -,p_display_order=>480 -,p_column_identifier=>'AB' -,p_column_label=>'Data Storage Size In Tbs' -,p_column_html_expression=>'#DATA_STORAGE_SIZE_IN_TBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893947204900848) -,p_db_column_name=>'MAX_DATA_STORAGE_IN_T_BS' -,p_display_order=>490 -,p_column_identifier=>'AC' -,p_column_label=>'Max Data Storage In T Bs' -,p_column_html_expression=>'#MAX_DATA_STORAGE_IN_T_BS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894026751900849) -,p_db_column_name=>'TOTAL_STORAGE_SIZE_IN_GBS' -,p_display_order=>500 -,p_column_identifier=>'AD' -,p_column_label=>'Total Storage Size In Gbs' -,p_column_html_expression=>'#TOTAL_STORAGE_SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894153708900850) -,p_db_column_name=>'AVAILABLE_STORAGE_SIZE_IN_GBS' -,p_display_order=>510 -,p_column_identifier=>'AE' -,p_column_label=>'Available Storage Size In Gbs' -,p_column_html_expression=>'#AVAILABLE_STORAGE_SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894248109902801) -,p_db_column_name=>'STORAGE_COUNT' -,p_display_order=>520 -,p_column_identifier=>'AF' -,p_column_label=>'Storage Count' -,p_column_html_expression=>'#STORAGE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894348092902802) -,p_db_column_name=>'ADDITIONAL_STORAGE_COUNT' -,p_display_order=>530 -,p_column_identifier=>'AG' -,p_column_label=>'Additional Storage Count' -,p_column_html_expression=>'#ADDITIONAL_STORAGE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894440994902803) -,p_db_column_name=>'ACTIVATED_STORAGE_COUNT' -,p_display_order=>540 -,p_column_identifier=>'AH' -,p_column_label=>'Activated Storage Count' -,p_column_html_expression=>'#ACTIVATED_STORAGE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894520398902804) -,p_db_column_name=>'COMPUTE_COUNT' -,p_display_order=>550 -,p_column_identifier=>'AI' -,p_column_label=>'Compute Count' -,p_column_html_expression=>'#COMPUTE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894664738902805) -,p_db_column_name=>'CLUSTER_COUNT' -,p_display_order=>560 -,p_column_identifier=>'AJ' -,p_column_label=>'Cluster Count' -,p_column_html_expression=>'#CLUSTER_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894749417902806) -,p_db_column_name=>'CLUSTER_NAMES' -,p_display_order=>570 -,p_column_identifier=>'AK' -,p_column_label=>'Cluster Names' -,p_column_html_expression=>'#CLUSTER_NAMES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894855077902807) -,p_db_column_name=>'DNS_SERVER' -,p_display_order=>580 -,p_column_identifier=>'AL' -,p_column_label=>'Dns Server' -,p_column_html_expression=>'#DNS_SERVER#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10894990756902808) -,p_db_column_name=>'NTP_SERVER' -,p_display_order=>590 -,p_column_identifier=>'AM' -,p_column_label=>'Ntp Server' -,p_column_html_expression=>'#NTP_SERVER#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10895027449902809) -,p_db_column_name=>'CSI_NUMBER' -,p_display_order=>600 -,p_column_identifier=>'AN' -,p_column_label=>'Csi Number' -,p_column_html_expression=>'#CSI_NUMBER#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10895195668902810) -,p_db_column_name=>'DB_SERVERS' -,p_display_order=>610 -,p_column_identifier=>'AO' -,p_column_label=>'Db Servers' -,p_column_html_expression=>'#DB_SERVERS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10895233842902811) -,p_db_column_name=>'DB_SERVERS_IDS' -,p_display_order=>620 -,p_column_identifier=>'AP' -,p_column_label=>'Db Servers Ids' -,p_column_html_expression=>'#DB_SERVERS_IDS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892818599900837) -,p_db_column_name=>'INFRA_ID' -,p_display_order=>630 -,p_column_identifier=>'R' -,p_column_label=>'Infra Id' -,p_column_html_expression=>'#INFRA_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10892912500900838) -,p_db_column_name=>'ID' -,p_display_order=>640 -,p_column_identifier=>'S' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10893069262900839) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>650 -,p_column_identifier=>'T' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(10953060388969373) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'109531' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:STATUS:TYPE:NAME:SHAPE:NODE_COUNT:MAINTENANCE_WINDOW:LAST_MAINTENANCE_RUN:NEXT_MAINTENANCE_RUN:DEFINED_TAGS:FREEFORM_TAGS:TIME_CREATED:TIME_ZONE:CPUS_ENABLED:MAX_' -||'CPU_COUNT:MEMORY_SIZE_IN_GBS:MAX_MEMORY_IN_GBS:DB_NODE_STORAGE_SIZE_IN_GBS:MAX_DB_NODE_STORAGE_IN_G_BS:DATA_STORAGE_SIZE_IN_TBS:MAX_DATA_STORAGE_IN_T_BS:TOTAL_STORAGE_SIZE_IN_GBS:AVAILABLE_STORAGE_SIZE_IN_GBS:STORAGE_COUNT:ADDITIONAL_STORAGE_COUNT:AC' -||'TIVATED_STORAGE_COUNT:COMPUTE_COUNT:CLUSTER_COUNT:CLUSTER_NAMES:DNS_SERVER:NTP_SERVER:CSI_NUMBER:DB_SERVERS:DB_SERVERS_IDS:INFRA_ID:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(10895765790902816) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_VCN' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>270 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_VCN' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_VCN)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_VCN' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_VCN' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(10895878962902817) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>10895878962902817 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10895955311902818) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10896039436902819) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10896115457902820) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11550619877627001) -,p_db_column_name=>'COMPARTMENT' -,p_display_order=>40 -,p_column_identifier=>'I' -,p_column_label=>'Compartment' -,p_column_html_expression=>'#COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10896200598902821) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11550745434627002) -,p_db_column_name=>'NAME' -,p_display_order=>90 -,p_column_identifier=>'J' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11550880903627003) -,p_db_column_name=>'CIDR' -,p_display_order=>100 -,p_column_identifier=>'K' -,p_column_label=>'Cidr' -,p_column_html_expression=>'#CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11550986430627004) -,p_db_column_name=>'CIDRS' -,p_display_order=>110 -,p_column_identifier=>'L' -,p_column_label=>'Cidrs' -,p_column_html_expression=>'#CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551064727627005) -,p_db_column_name=>'INTERNET_GATEWAY' -,p_display_order=>120 -,p_column_identifier=>'M' -,p_column_label=>'Internet Gateway' -,p_column_html_expression=>'#INTERNET_GATEWAY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551174538627006) -,p_db_column_name=>'SERVICE_GATEWAY' -,p_display_order=>130 -,p_column_identifier=>'N' -,p_column_label=>'Service Gateway' -,p_column_html_expression=>'#SERVICE_GATEWAY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551256682627007) -,p_db_column_name=>'NAT' -,p_display_order=>140 -,p_column_identifier=>'O' -,p_column_label=>'Nat' -,p_column_html_expression=>'#NAT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551399573627008) -,p_db_column_name=>'DRG' -,p_display_order=>150 -,p_column_identifier=>'P' -,p_column_label=>'Drg' -,p_column_html_expression=>'#DRG#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551454742627009) -,p_db_column_name=>'LOCAL_PEERING' -,p_display_order=>160 -,p_column_identifier=>'Q' -,p_column_label=>'Local Peering' -,p_column_html_expression=>'#LOCAL_PEERING#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551535100627010) -,p_db_column_name=>'SUBNETS' -,p_display_order=>170 -,p_column_identifier=>'R' -,p_column_label=>'Subnets' -,p_column_html_expression=>'#SUBNETS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551652965627011) -,p_db_column_name=>'SUBNETS_CIDRS' -,p_display_order=>180 -,p_column_identifier=>'S' -,p_column_label=>'Subnets Cidrs' -,p_column_html_expression=>'#SUBNETS_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10899074759902849) -,p_db_column_name=>'ID' -,p_display_order=>190 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10898658639902845) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>200 -,p_column_identifier=>'E' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10898770668902846) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>210 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(10899188973902850) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>220 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11561739361633215) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'115618' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT:COMPARTMENT_PATH:NAME:CIDR:CIDRS:INTERNET_GATEWAY:SERVICE_GATEWAY:NAT:DRG:LOCAL_PEERING:SUBNETS:SUBNETS_CIDRS:ID:FREEFORM_TAGS:DEFINED_TAGS:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11551707194627012) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_SUBNET' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>280 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_SUBNET' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_SUBNET)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_SUBNET' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_SUBNET' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11551873210627013) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11551873210627013 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11551923782627014) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11552089190627015) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11552135532627016) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11552719401627022) -,p_db_column_name=>'INTERNET_GATEWAY' -,p_display_order=>90 -,p_column_identifier=>'D' -,p_column_label=>'Internet Gateway' -,p_column_html_expression=>'#INTERNET_GATEWAY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11552886107627023) -,p_db_column_name=>'SERVICE_GATEWAY' -,p_display_order=>100 -,p_column_identifier=>'E' -,p_column_label=>'Service Gateway' -,p_column_html_expression=>'#SERVICE_GATEWAY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11552982531627024) -,p_db_column_name=>'NAT' -,p_display_order=>110 -,p_column_identifier=>'F' -,p_column_label=>'Nat' -,p_column_html_expression=>'#NAT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553006973627025) -,p_db_column_name=>'DRG' -,p_display_order=>120 -,p_column_identifier=>'G' -,p_column_label=>'Drg' -,p_column_html_expression=>'#DRG#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553101366627026) -,p_db_column_name=>'LOCAL_PEERING' -,p_display_order=>130 -,p_column_identifier=>'H' -,p_column_label=>'Local Peering' -,p_column_html_expression=>'#LOCAL_PEERING#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553801445627033) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>200 -,p_column_identifier=>'M' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553936039627034) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>210 -,p_column_identifier=>'N' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554049168627035) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>220 -,p_column_identifier=>'O' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554193135627036) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>230 -,p_column_identifier=>'P' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554270836627037) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>240 -,p_column_identifier=>'Q' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554375328627038) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>250 -,p_column_identifier=>'R' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554455000627039) -,p_db_column_name=>'SUBNET_CIDR' -,p_display_order=>260 -,p_column_identifier=>'S' -,p_column_label=>'Subnet Cidr' -,p_column_html_expression=>'#SUBNET_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554530282627040) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>270 -,p_column_identifier=>'T' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554693895627041) -,p_db_column_name=>'SUBNET_COMPARTMENT' -,p_display_order=>280 -,p_column_identifier=>'U' -,p_column_label=>'Subnet Compartment' -,p_column_html_expression=>'#SUBNET_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554713563627042) -,p_db_column_name=>'SUBNET_COMPARTMENT_PATH' -,p_display_order=>290 -,p_column_identifier=>'V' -,p_column_label=>'Subnet Compartment Path' -,p_column_html_expression=>'#SUBNET_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554807329627043) -,p_db_column_name=>'PUBLIC_PRIVATE' -,p_display_order=>300 -,p_column_identifier=>'W' -,p_column_label=>'Public Private' -,p_column_html_expression=>'#PUBLIC_PRIVATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11554979236627044) -,p_db_column_name=>'DHCP_OPTIONS' -,p_display_order=>310 -,p_column_identifier=>'X' -,p_column_label=>'Dhcp Options' -,p_column_html_expression=>'#DHCP_OPTIONS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555083164627045) -,p_db_column_name=>'ROUTE' -,p_display_order=>320 -,p_column_identifier=>'Y' -,p_column_label=>'Route' -,p_column_html_expression=>'#ROUTE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555158690627046) -,p_db_column_name=>'SECURITY_LIST' -,p_display_order=>330 -,p_column_identifier=>'Z' -,p_column_label=>'Security List' -,p_column_html_expression=>'#SECURITY_LIST#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555225237627047) -,p_db_column_name=>'DNS' -,p_display_order=>340 -,p_column_identifier=>'AA' -,p_column_label=>'Dns' -,p_column_html_expression=>'#DNS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555323936627048) -,p_db_column_name=>'LOGS' -,p_display_order=>350 -,p_column_identifier=>'AB' -,p_column_label=>'Logs' -,p_column_html_expression=>'#LOGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555433001627049) -,p_db_column_name=>'VCN_ID' -,p_display_order=>360 -,p_column_identifier=>'AC' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11555571302627050) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>370 -,p_column_identifier=>'AD' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553431099627029) -,p_db_column_name=>'ID' -,p_display_order=>380 -,p_column_identifier=>'I' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553558960627030) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>390 -,p_column_identifier=>'J' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553616958627031) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>400 -,p_column_identifier=>'K' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11553742233627032) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>410 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11571843330648914) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'115719' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:SUBNET_NAME:SUBNET_CIDR:SUBNET_COMPARTMENT:SUBNET_COMPARTMENT_PATH:AVAILABILITY_DOMAIN:PUBLIC_PRIVATE:INTERNET_GATEWAY:SERVICE_GATEWAY:NAT:DRG:LOCAL_PE' -||'ERING:DHCP_OPTIONS:ROUTE:SECURITY_LIST:DNS:LOGS:VCN_ID:SUBNET_ID:ID:FREEFORM_TAGS:DEFINED_TAGS:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11572665165658301) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>290 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11572797088658302) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11572797088658302 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11572890669658303) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11572992678658304) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11573070023658305) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11573619128658311) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>90 -,p_column_identifier=>'D' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11573792264658312) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>100 -,p_column_identifier=>'E' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11573848851658313) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>110 -,p_column_identifier=>'F' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11573927740658314) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>120 -,p_column_identifier=>'G' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11574094037658315) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>130 -,p_column_identifier=>'H' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11574198777658316) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>140 -,p_column_identifier=>'I' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11574212264658317) -,p_db_column_name=>'SUBNET_CIDR' -,p_display_order=>150 -,p_column_identifier=>'J' -,p_column_label=>'Subnet Cidr' -,p_column_html_expression=>'#SUBNET_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11574467304658319) -,p_db_column_name=>'SUBNET_COMPARTMENT' -,p_display_order=>170 -,p_column_identifier=>'K' -,p_column_label=>'Subnet Compartment' -,p_column_html_expression=>'#SUBNET_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11574511050658320) -,p_db_column_name=>'SUBNET_COMPARTMENT_PATH' -,p_display_order=>180 -,p_column_identifier=>'L' -,p_column_label=>'Subnet Compartment Path' -,p_column_html_expression=>'#SUBNET_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575851128658333) -,p_db_column_name=>'IP_ADDRESS' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Ip Address' -,p_column_html_expression=>'#IP_ADDRESS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575981534658334) -,p_db_column_name=>'DISPLAY_NAME' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Display Name' -,p_column_html_expression=>'#DISPLAY_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576094033658335) -,p_db_column_name=>'HOSTNAME_LABEL' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'Hostname Label' -,p_column_html_expression=>'#HOSTNAME_LABEL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576140771658336) -,p_db_column_name=>'IS_PRIMARY' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Is Primary' -,p_column_html_expression=>'#IS_PRIMARY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576238102658337) -,p_db_column_name=>'IP_COMPARTMENT_NAME' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Ip Compartment Name' -,p_column_html_expression=>'#IP_COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576341600658338) -,p_db_column_name=>'IP_COMPARTMENT_PATH' -,p_display_order=>240 -,p_column_identifier=>'X' -,p_column_label=>'Ip Compartment Path' -,p_column_html_expression=>'#IP_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576452439658339) -,p_db_column_name=>'PRIVATEIP_ID' -,p_display_order=>250 -,p_column_identifier=>'Y' -,p_column_label=>'Privateip Id' -,p_column_html_expression=>'#PRIVATEIP_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575269164658327) -,p_db_column_name=>'VCN_ID' -,p_display_order=>260 -,p_column_identifier=>'M' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575313770658328) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>270 -,p_column_identifier=>'N' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575476260658329) -,p_db_column_name=>'ID' -,p_display_order=>280 -,p_column_identifier=>'O' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575578710658330) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>290 -,p_column_identifier=>'P' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575666369658331) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>300 -,p_column_identifier=>'Q' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576579125658340) -,p_db_column_name=>'VLAN_ID' -,p_display_order=>310 -,p_column_identifier=>'Z' -,p_column_label=>'Vlan Id' -,p_column_html_expression=>'#VLAN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576671952658341) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>320 -,p_column_identifier=>'AA' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11575736335658332) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>330 -,p_column_identifier=>'R' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11586189071665647) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'115862' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:IP_COMPARTMENT_NAME:IP_COMPARTMENT_PATH:IP_ADDRESS:DISPLAY_NAME:HOSTNAME_LABEL:IS_PRIMARY:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:SUBNET_NAME:SUBNET_CIDR:SUBNET_COMPARTMENT:SUBNET_COMPARTMENT' -||'_PATH:PRIVATEIP_ID:VCN_ID:SUBNET_ID:ID:FREEFORM_TAGS:DEFINED_TAGS:VLAN_ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11576784844658342) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_DRGS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>300 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_DRGS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_DRGS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_DRGS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_DRGS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11576804713658343) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11576804713658343 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11576964877658344) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11577086787658345) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11577169984658346) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588757033671221) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>280 -,p_column_identifier=>'I' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588899712671222) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>290 -,p_column_identifier=>'J' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588907487671223) -,p_db_column_name=>'NAME' -,p_display_order=>300 -,p_column_identifier=>'K' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589063087671224) -,p_db_column_name=>'REDUNDANCY' -,p_display_order=>310 -,p_column_identifier=>'L' -,p_column_label=>'Redundancy' -,p_column_html_expression=>'#REDUNDANCY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589161474671225) -,p_db_column_name=>'DRG_ROUTE_TABLES' -,p_display_order=>320 -,p_column_identifier=>'M' -,p_column_label=>'Drg Route Tables' -,p_column_html_expression=>'#DRG_ROUTE_TABLES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589203309671226) -,p_db_column_name=>'IP_SEC_CONNECTIONS' -,p_display_order=>330 -,p_column_identifier=>'N' -,p_column_label=>'Ip Sec Connections' -,p_column_html_expression=>'#IP_SEC_CONNECTIONS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589382418671227) -,p_db_column_name=>'VIRTUAL_CIRCUITS' -,p_display_order=>340 -,p_column_identifier=>'O' -,p_column_label=>'Virtual Circuits' -,p_column_html_expression=>'#VIRTUAL_CIRCUITS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589489388671228) -,p_db_column_name=>'REMOTE_PEERINGS' -,p_display_order=>350 -,p_column_identifier=>'P' -,p_column_label=>'Remote Peerings' -,p_column_html_expression=>'#REMOTE_PEERINGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589545445671229) -,p_db_column_name=>'VCNS' -,p_display_order=>360 -,p_column_identifier=>'Q' -,p_column_label=>'Vcns' -,p_column_html_expression=>'#VCNS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588139331671215) -,p_db_column_name=>'ID' -,p_display_order=>370 -,p_column_identifier=>'D' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588234952671216) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>380 -,p_column_identifier=>'E' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588389542671217) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>390 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588592727671219) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>400 -,p_column_identifier=>'G' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11588673182671220) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>410 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11597350852677673) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'115974' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:REDUNDANCY:DRG_ROUTE_TABLES:IP_SEC_CONNECTIONS:VIRTUAL_CIRCUITS:REMOTE_PEERINGS:VCNS:ID:FREEFORM_TAGS:DEFINED_TAGS:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11589695390671230) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_SECGROUPS_RULES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>310 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_SECGROUPS_RULES' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_SECGROUPS_RULES)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_SECGROUPS_RULES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_SECGROUPS_RULES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11589793467671231) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11589793467671231 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589810692671232) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11589911825671233) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11590025973671234) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11591518199671249) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>180 -,p_column_identifier=>'G' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11591619678671250) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>190 -,p_column_identifier=>'H' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11597941753680601) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>200 -,p_column_identifier=>'I' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598034240680602) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>210 -,p_column_identifier=>'J' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598153998680603) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>220 -,p_column_identifier=>'K' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598288637680604) -,p_db_column_name=>'SEC_NAME' -,p_display_order=>230 -,p_column_identifier=>'L' -,p_column_label=>'Sec Name' -,p_column_html_expression=>'#SEC_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598345438680605) -,p_db_column_name=>'SEC_COMPARTMENT' -,p_display_order=>240 -,p_column_identifier=>'M' -,p_column_label=>'Sec Compartment' -,p_column_html_expression=>'#SEC_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598433986680606) -,p_db_column_name=>'SEC_COMPARTMENT_PATH' -,p_display_order=>250 -,p_column_identifier=>'N' -,p_column_label=>'Sec Compartment Path' -,p_column_html_expression=>'#SEC_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598522984680607) -,p_db_column_name=>'SEC_PROTOCOL' -,p_display_order=>260 -,p_column_identifier=>'O' -,p_column_label=>'Sec Protocol' -,p_column_html_expression=>'#SEC_PROTOCOL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598688889680608) -,p_db_column_name=>'SEC_RULES' -,p_display_order=>270 -,p_column_identifier=>'P' -,p_column_label=>'Sec Rules' -,p_column_html_expression=>'#SEC_RULES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598751464680609) -,p_db_column_name=>'IS_STATELESS' -,p_display_order=>280 -,p_column_identifier=>'Q' -,p_column_label=>'Is Stateless' -,p_column_html_expression=>'#IS_STATELESS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598843292680610) -,p_db_column_name=>'VCN_ID' -,p_display_order=>290 -,p_column_identifier=>'R' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11598976176680611) -,p_db_column_name=>'SEC_ID' -,p_display_order=>300 -,p_column_identifier=>'S' -,p_column_label=>'Sec Id' -,p_column_html_expression=>'#SEC_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11591079471671244) -,p_db_column_name=>'ID' -,p_display_order=>310 -,p_column_identifier=>'D' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11591345079671247) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>320 -,p_column_identifier=>'E' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11591496374671248) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>330 -,p_column_identifier=>'F' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11609099939684821) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116091' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:SEC_NAME:SEC_COMPARTMENT:SEC_COMPARTMENT_PATH:SEC_PROTOCOL:SEC_RULES:IS_STATELESS:REGION_NAME:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:VCN_ID:SEC_ID:ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11599036063680612) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_SECLIST_RULES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>320 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_SECLIST_RULES' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_SECLIST_RULES)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_SECLIST_RULES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_SECLIST_RULES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11599182767680613) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11599182767680613 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599239150680614) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599312848680615) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599445719680616) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599529521680617) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599632728680618) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599738415680619) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599810054680620) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11599905431680621) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600076543680622) -,p_db_column_name=>'SEC_NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Sec Name' -,p_column_html_expression=>'#SEC_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600194480680623) -,p_db_column_name=>'SEC_COMPARTMENT' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Sec Compartment' -,p_column_html_expression=>'#SEC_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600252802680624) -,p_db_column_name=>'SEC_COMPARTMENT_PATH' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Sec Compartment Path' -,p_column_html_expression=>'#SEC_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600354010680625) -,p_db_column_name=>'SEC_PROTOCOL' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Sec Protocol' -,p_column_html_expression=>'#SEC_PROTOCOL#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600440064680626) -,p_db_column_name=>'SEC_RULES' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Sec Rules' -,p_column_html_expression=>'#SEC_RULES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600508880680627) -,p_db_column_name=>'IS_STATELESS' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Is Stateless' -,p_column_html_expression=>'#IS_STATELESS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600659308680628) -,p_db_column_name=>'VCN_ID' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600775529680629) -,p_db_column_name=>'SEC_ID' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Sec Id' -,p_column_html_expression=>'#SEC_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600823469680630) -,p_db_column_name=>'ID' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11600981120680631) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601082101680632) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11615729729693241) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116158' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:SEC_COMPARTMENT:SEC_COMPARTMENT_PATH:SEC_NAME:SEC_PROTOCOL:SEC_RULES:IS_STATELESS:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:VCN_ID:SEC_ID:ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11601198136680633) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_DHCP_OPTIONS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>330 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_DHCP_OPTIONS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_DHCP_OPTIONS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_DHCP_OPTIONS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_DHCP_OPTIONS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11601243465680634) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11601243465680634 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601372310680635) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601485637680636) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601545127680637) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601600313680638) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601734960680639) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601800947680640) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11601927573680641) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11602095592680642) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616680832694904) -,p_db_column_name=>'DHCP_NAME' -,p_display_order=>160 -,p_column_identifier=>'T' -,p_column_label=>'Dhcp Name' -,p_column_html_expression=>'#DHCP_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616740525694905) -,p_db_column_name=>'OPTION_1' -,p_display_order=>170 -,p_column_identifier=>'U' -,p_column_label=>'Option 1' -,p_column_html_expression=>'#OPTION_1#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616898426694906) -,p_db_column_name=>'OPTION_2' -,p_display_order=>180 -,p_column_identifier=>'V' -,p_column_label=>'Option 2' -,p_column_html_expression=>'#OPTION_2#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616913720694907) -,p_db_column_name=>'DHCP_COMPARTMENT' -,p_display_order=>190 -,p_column_identifier=>'W' -,p_column_label=>'Dhcp Compartment' -,p_column_html_expression=>'#DHCP_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617080551694908) -,p_db_column_name=>'DHCP_COMPARTMENT_PATH' -,p_display_order=>200 -,p_column_identifier=>'X' -,p_column_label=>'Dhcp Compartment Path' -,p_column_html_expression=>'#DHCP_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11602715434680649) -,p_db_column_name=>'VCN_ID' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616302401694901) -,p_db_column_name=>'ID' -,p_display_order=>220 -,p_column_identifier=>'Q' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616470631694902) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>230 -,p_column_identifier=>'R' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11616557699694903) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>240 -,p_column_identifier=>'S' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11627472273699868) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116275' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:DHCP_COMPARTMENT:DHCP_COMPARTMENT_PATH:DHCP_NAME:OPTION_1:OPTION_2:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:VCN_ID:ID:TIME_CREATED:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11617187176694909) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_ROUTES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>340 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_ROUTES' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_ROUTES)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_ROUTES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_ROUTES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11617219882694910) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11617219882694910 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617380307694911) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617418628694912) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617571286694913) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619033599694928) -,p_db_column_name=>'ROUTE_NAME' -,p_display_order=>40 -,p_column_identifier=>'M' -,p_column_label=>'Route Name' -,p_column_html_expression=>'#ROUTE_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619181026694929) -,p_db_column_name=>'ROUTE_COMPARTMENT' -,p_display_order=>50 -,p_column_identifier=>'N' -,p_column_label=>'Route Compartment' -,p_column_html_expression=>'#ROUTE_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619205887694930) -,p_db_column_name=>'ROUTE_COMPARTMENT_PATH' -,p_display_order=>60 -,p_column_identifier=>'O' -,p_column_label=>'Route Compartment Path' -,p_column_html_expression=>'#ROUTE_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619369452694931) -,p_db_column_name=>'DESTINATION' -,p_display_order=>70 -,p_column_identifier=>'P' -,p_column_label=>'Destination' -,p_column_html_expression=>'#DESTINATION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619452602694932) -,p_db_column_name=>'ROUTE' -,p_display_order=>80 -,p_column_identifier=>'Q' -,p_column_label=>'Route' -,p_column_html_expression=>'#ROUTE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617637314694914) -,p_db_column_name=>'VCN_COMPARTMENT' -,p_display_order=>90 -,p_column_identifier=>'D' -,p_column_label=>'Vcn Compartment' -,p_column_html_expression=>'#VCN_COMPARTMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617702778694915) -,p_db_column_name=>'VCN_COMPARTMENT_PATH' -,p_display_order=>100 -,p_column_identifier=>'E' -,p_column_label=>'Vcn Compartment Path' -,p_column_html_expression=>'#VCN_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617881000694916) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>110 -,p_column_identifier=>'F' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11617916499694917) -,p_db_column_name=>'VCN_CIDR' -,p_display_order=>120 -,p_column_identifier=>'G' -,p_column_label=>'Vcn Cidr' -,p_column_html_expression=>'#VCN_CIDR#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11618044250694918) -,p_db_column_name=>'VCN_CIDRS' -,p_display_order=>130 -,p_column_identifier=>'H' -,p_column_label=>'Vcn Cidrs' -,p_column_html_expression=>'#VCN_CIDRS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11618622625694924) -,p_db_column_name=>'VCN_ID' -,p_display_order=>140 -,p_column_identifier=>'I' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619531732694933) -,p_db_column_name=>'ROUTE_ID' -,p_display_order=>150 -,p_column_identifier=>'R' -,p_column_label=>'Route Id' -,p_column_html_expression=>'#ROUTE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11618709138694925) -,p_db_column_name=>'ID' -,p_display_order=>160 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11618838245694926) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>170 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11618916876694927) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>180 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11641400479715807) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116415' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:ROUTE_NAME:ROUTE_COMPARTMENT:ROUTE_COMPARTMENT_PATH:DESTINATION:ROUTE:VCN_COMPARTMENT:VCN_COMPARTMENT_PATH:VCN_NAME:VCN_CIDR:VCN_CIDRS:VCN_ID:ROUTE_ID:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11619679797694934) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_DRG_VC' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>350 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_DRG_VC' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_DRG_VC)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_DRG_VC' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_DRG_VC' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11619726999694935) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11619726999694935 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619881490694936) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11619901799694937) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11620018784694938) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642334027717804) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>190 -,p_column_identifier=>'G' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642420347717805) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>200 -,p_column_identifier=>'H' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642549626717806) -,p_db_column_name=>'NAME' -,p_display_order=>210 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642642360717807) -,p_db_column_name=>'BANDWIDTH_SHAPE_NAME' -,p_display_order=>220 -,p_column_identifier=>'J' -,p_column_label=>'Bandwidth Shape Name' -,p_column_html_expression=>'#BANDWIDTH_SHAPE_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642766380717808) -,p_db_column_name=>'BGP_MANAGEMENT' -,p_display_order=>230 -,p_column_identifier=>'K' -,p_column_label=>'Bgp Management' -,p_column_html_expression=>'#BGP_MANAGEMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642894962717809) -,p_db_column_name=>'BGP_SESSION_STATE' -,p_display_order=>240 -,p_column_identifier=>'L' -,p_column_label=>'Bgp Session State' -,p_column_html_expression=>'#BGP_SESSION_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642960072717810) -,p_db_column_name=>'BGP_IPV6_SESSION_STATE' -,p_display_order=>250 -,p_column_identifier=>'M' -,p_column_label=>'Bgp Ipv6 Session State' -,p_column_html_expression=>'#BGP_IPV6_SESSION_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643060959717811) -,p_db_column_name=>'BGP_ADMIN_STATE' -,p_display_order=>260 -,p_column_identifier=>'N' -,p_column_label=>'Bgp Admin State' -,p_column_html_expression=>'#BGP_ADMIN_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643148795717812) -,p_db_column_name=>'IS_BFD_ENABLED' -,p_display_order=>270 -,p_column_identifier=>'O' -,p_column_label=>'Is Bfd Enabled' -,p_column_html_expression=>'#IS_BFD_ENABLED#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643264803717813) -,p_db_column_name=>'CUSTOMER_ASN' -,p_display_order=>280 -,p_column_identifier=>'P' -,p_column_label=>'Customer Asn' -,p_column_html_expression=>'#CUSTOMER_ASN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643353574717814) -,p_db_column_name=>'GATEWAY_ID' -,p_display_order=>290 -,p_column_identifier=>'Q' -,p_column_label=>'Gateway Id' -,p_column_html_expression=>'#GATEWAY_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643497491717815) -,p_db_column_name=>'PROVIDER_SERVICE_ID' -,p_display_order=>300 -,p_column_identifier=>'R' -,p_column_label=>'Provider Service Id' -,p_column_html_expression=>'#PROVIDER_SERVICE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643587762717816) -,p_db_column_name=>'PROVIDER_SERVICE_KEY_NAME' -,p_display_order=>310 -,p_column_identifier=>'S' -,p_column_label=>'Provider Service Key Name' -,p_column_html_expression=>'#PROVIDER_SERVICE_KEY_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643641948717817) -,p_db_column_name=>'ROUTING_POLICY' -,p_display_order=>320 -,p_column_identifier=>'T' -,p_column_label=>'Routing Policy' -,p_column_html_expression=>'#ROUTING_POLICY#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643726213717818) -,p_db_column_name=>'PUBLIC_PREFIXES' -,p_display_order=>330 -,p_column_identifier=>'U' -,p_column_label=>'Public Prefixes' -,p_column_html_expression=>'#PUBLIC_PREFIXES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643872003717819) -,p_db_column_name=>'REGION' -,p_display_order=>340 -,p_column_identifier=>'V' -,p_column_label=>'Region' -,p_column_html_expression=>'#REGION#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11643928137717820) -,p_db_column_name=>'CUSTOMER_BGP_ASN' -,p_display_order=>350 -,p_column_identifier=>'W' -,p_column_label=>'Customer Bgp Asn' -,p_column_html_expression=>'#CUSTOMER_BGP_ASN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644035720717821) -,p_db_column_name=>'DRG' -,p_display_order=>360 -,p_column_identifier=>'X' -,p_column_label=>'Drg' -,p_column_html_expression=>'#DRG#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644125013717822) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>370 -,p_column_identifier=>'Y' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644217221717823) -,p_db_column_name=>'ORACLE_BGP_ASN' -,p_display_order=>380 -,p_column_identifier=>'Z' -,p_column_label=>'Oracle Bgp Asn' -,p_column_html_expression=>'#ORACLE_BGP_ASN#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644368235717824) -,p_db_column_name=>'PROVIDER_NAME' -,p_display_order=>390 -,p_column_identifier=>'AA' -,p_column_label=>'Provider Name' -,p_column_html_expression=>'#PROVIDER_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644478495717825) -,p_db_column_name=>'PROVIDER_SERVICE_NAME' -,p_display_order=>400 -,p_column_identifier=>'AB' -,p_column_label=>'Provider Service Name' -,p_column_html_expression=>'#PROVIDER_SERVICE_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644571886717826) -,p_db_column_name=>'PROVIDER_STATE' -,p_display_order=>410 -,p_column_identifier=>'AC' -,p_column_label=>'Provider State' -,p_column_html_expression=>'#PROVIDER_STATE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644646533717827) -,p_db_column_name=>'REFERENCE_COMMENT' -,p_display_order=>420 -,p_column_identifier=>'AD' -,p_column_label=>'Reference Comment' -,p_column_html_expression=>'#REFERENCE_COMMENT#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644706869717828) -,p_db_column_name=>'SERVICE_TYPE' -,p_display_order=>430 -,p_column_identifier=>'AE' -,p_column_label=>'Service Type' -,p_column_html_expression=>'#SERVICE_TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644885750717829) -,p_db_column_name=>'CROSS_CONNECT_MAPPINGS' -,p_display_order=>440 -,p_column_identifier=>'AF' -,p_column_label=>'Cross Connect Mappings' -,p_column_html_expression=>'#CROSS_CONNECT_MAPPINGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11644988378717830) -,p_db_column_name=>'TYPE' -,p_display_order=>450 -,p_column_identifier=>'AG' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645088863717831) -,p_db_column_name=>'DRG_ROUTE_TABLE' -,p_display_order=>460 -,p_column_identifier=>'AH' -,p_column_label=>'Drg Route Table' -,p_column_html_expression=>'#DRG_ROUTE_TABLE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645194510717832) -,p_db_column_name=>'DRG_ID' -,p_display_order=>470 -,p_column_identifier=>'AI' -,p_column_label=>'Drg Id' -,p_column_html_expression=>'#DRG_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645287890717833) -,p_db_column_name=>'DRG_ROUTE_TABLE_ID' -,p_display_order=>480 -,p_column_identifier=>'AJ' -,p_column_label=>'Drg Route Table Id' -,p_column_html_expression=>'#DRG_ROUTE_TABLE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645324221717834) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>490 -,p_column_identifier=>'AK' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645447370717835) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>500 -,p_column_identifier=>'AL' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642015469717801) -,p_db_column_name=>'ID' -,p_display_order=>510 -,p_column_identifier=>'D' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642167064717802) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>520 -,p_column_identifier=>'E' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11642204268717803) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>530 -,p_column_identifier=>'F' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11658968021725361) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116590' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:BANDWIDTH_SHAPE_NAME:BGP_MANAGEMENT:BGP_SESSION_STATE:BGP_IPV6_SESSION_STATE:BGP_ADMIN_STATE:IS_BFD_ENABLED:CUSTOMER_ASN:GATEWAY_ID:PROVIDER_SERVICE_ID:PROVIDER_SERVICE_KEY_NAME' -||':ROUTING_POLICY:PUBLIC_PREFIXES:REGION:CUSTOMER_BGP_ASN:DRG:LIFECYCLE_STATE:ORACLE_BGP_ASN:PROVIDER_NAME:PROVIDER_SERVICE_NAME:PROVIDER_STATE:REFERENCE_COMMENT:SERVICE_TYPE:CROSS_CONNECT_MAPPINGS:TYPE:DRG_ROUTE_TABLE:DRG_ID:DRG_ROUTE_TABLE_ID:FREEFOR' -||'M_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11645541444717836) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_DRG_IPSEC' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>360 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_DRG_IPSEC' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_DRG_IPSEC)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_DRG_IPSEC' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_DRG_IPSEC' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11645649407717837) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11645649407717837 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645753172717838) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645807145717839) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11645973356717840) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11646010514717841) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11646128724717842) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662015380731526) -,p_db_column_name=>'TUNNEL_NAME' -,p_display_order=>60 -,p_column_identifier=>'N' -,p_column_label=>'Tunnel Name' -,p_column_html_expression=>'#TUNNEL_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662138629731527) -,p_db_column_name=>'STATUS' -,p_display_order=>70 -,p_column_identifier=>'O' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662207922731528) -,p_db_column_name=>'ROUTING' -,p_display_order=>80 -,p_column_identifier=>'P' -,p_column_label=>'Routing' -,p_column_html_expression=>'#ROUTING#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662326885731529) -,p_db_column_name=>'BGP_INFO' -,p_display_order=>90 -,p_column_identifier=>'Q' -,p_column_label=>'Bgp Info' -,p_column_html_expression=>'#BGP_INFO#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662495923731530) -,p_db_column_name=>'IPSEC_NAME' -,p_display_order=>100 -,p_column_identifier=>'R' -,p_column_label=>'Ipsec Name' -,p_column_html_expression=>'#IPSEC_NAME#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662561320731531) -,p_db_column_name=>'CPE' -,p_display_order=>110 -,p_column_identifier=>'S' -,p_column_label=>'Cpe' -,p_column_html_expression=>'#CPE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662627560731532) -,p_db_column_name=>'CPE_LOCAL_IDENTIFIER' -,p_display_order=>120 -,p_column_identifier=>'T' -,p_column_label=>'Cpe Local Identifier' -,p_column_html_expression=>'#CPE_LOCAL_IDENTIFIER#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662788204731533) -,p_db_column_name=>'ROUTES' -,p_display_order=>130 -,p_column_identifier=>'U' -,p_column_label=>'Routes' -,p_column_html_expression=>'#ROUTES#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662877463731534) -,p_db_column_name=>'CPE_ID' -,p_display_order=>140 -,p_column_identifier=>'V' -,p_column_label=>'Cpe Id' -,p_column_html_expression=>'#CPE_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11662983185731535) -,p_db_column_name=>'IPSEC_ID' -,p_display_order=>150 -,p_column_identifier=>'W' -,p_column_label=>'Ipsec Id' -,p_column_html_expression=>'#IPSEC_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663004500731536) -,p_db_column_name=>'CPE_TIME_CREATED' -,p_display_order=>160 -,p_column_identifier=>'X' -,p_column_label=>'Cpe Time Created' -,p_column_html_expression=>'#CPE_TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11660276273731508) -,p_db_column_name=>'DRG' -,p_display_order=>180 -,p_column_identifier=>'F' -,p_column_label=>'Drg' -,p_column_html_expression=>'#DRG#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661294289731518) -,p_db_column_name=>'DRG_ROUTE_TABLE' -,p_display_order=>190 -,p_column_identifier=>'G' -,p_column_label=>'Drg Route Table' -,p_column_html_expression=>'#DRG_ROUTE_TABLE#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661372237731519) -,p_db_column_name=>'DRG_ID' -,p_display_order=>200 -,p_column_identifier=>'H' -,p_column_label=>'Drg Id' -,p_column_html_expression=>'#DRG_ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661584953731521) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>210 -,p_column_identifier=>'I' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661602662731522) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>220 -,p_column_identifier=>'J' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661734884731523) -,p_db_column_name=>'ID' -,p_display_order=>230 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661842196731524) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>240 -,p_column_identifier=>'L' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11661999917731525) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>250 -,p_column_identifier=>'M' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_static_id=>'repcol' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11672175922738403) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'116722' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:TUNNEL_NAME:STATUS:ROUTING:BGP_INFO:IPSEC_NAME:CPE:CPE_LOCAL_IDENTIFIER:ROUTES:CPE_ID:IPSEC_ID:CPE_TIME_CREATED:DRG:DRG_ROUTE_TABLE:DRG_ID:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:' -||'EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11663268164731538) -,p_plug_name=>'OCI_SHOWOCI_DIGITAL_ASSISTANCE' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>370 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DIGITAL_ASSISTANCE' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DIGITAL_ASSISTANCE)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DIGITAL_ASSISTANCE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DIGITAL_ASSISTANCE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11663364633731539) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11663364633731539 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663410809731540) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663591232731541) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663612636731542) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663789497731543) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11663883112731544) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792938330904714) -,p_db_column_name=>'NAME' -,p_display_order=>250 -,p_column_identifier=>'K' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793020077904715) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>260 -,p_column_identifier=>'L' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793138390904716) -,p_db_column_name=>'SHAPE_NAME' -,p_display_order=>270 -,p_column_identifier=>'M' -,p_column_label=>'Shape Name' -,p_column_html_expression=>'#SHAPE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793228999904717) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>280 -,p_column_identifier=>'N' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793387487904718) -,p_db_column_name=>'IS_ROLE_BASED_ACCESS' -,p_display_order=>290 -,p_column_identifier=>'O' -,p_column_label=>'Is Role Based Access' -,p_column_html_expression=>'#IS_ROLE_BASED_ACCESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793483938904719) -,p_db_column_name=>'IDENTITY_DOMAIN' -,p_display_order=>300 -,p_column_identifier=>'P' -,p_column_label=>'Identity Domain' -,p_column_html_expression=>'#IDENTITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793558904904720) -,p_db_column_name=>'IMPORTED_PACKAGE_NAMES' -,p_display_order=>310 -,p_column_identifier=>'Q' -,p_column_label=>'Imported Package Names' -,p_column_html_expression=>'#IMPORTED_PACKAGE_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793689417904721) -,p_db_column_name=>'ATTACHMENT_TYPES' -,p_display_order=>320 -,p_column_identifier=>'R' -,p_column_label=>'Attachment Types' -,p_column_html_expression=>'#ATTACHMENT_TYPES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792498806904709) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>330 -,p_column_identifier=>'F' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792567899904710) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>340 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792602672904711) -,p_db_column_name=>'ID' -,p_display_order=>350 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792744210904712) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>360 -,p_column_identifier=>'I' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11792815413904713) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>370 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11802442829915861) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'118025' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DESCRIPTION:SHAPE_NAME:LIFECYCLE_STATE:IS_ROLE_BASED_ACCESS:IDENTITY_DOMAIN:IMPORTED_PACKAGE_NAMES:ATTACHMENT_TYPES:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11793796855904722) -,p_plug_name=>'OCI_SHOWOCI_BIG_DATA' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>380 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_BIG_DATA' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_BIG_DATA)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_BIG_DATA' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_BIG_DATA' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11793819382904723) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11793819382904723 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11793903611904724) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794047660904725) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794164577904726) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794203709904727) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794362627904728) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794472468904729) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795735850904742) -,p_db_column_name=>'NUMBER_OF_NODES' -,p_display_order=>190 -,p_column_identifier=>'M' -,p_column_label=>'Number Of Nodes' -,p_column_html_expression=>'#NUMBER_OF_NODES#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795874434904743) -,p_db_column_name=>'IS_HIGH_AVAILABILITY' -,p_display_order=>200 -,p_column_identifier=>'N' -,p_column_label=>'Is High Availability' -,p_column_html_expression=>'#IS_HIGH_AVAILABILITY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795907694904744) -,p_db_column_name=>'CLUSTER_VERSION' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Cluster Version' -,p_column_html_expression=>'#CLUSTER_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11796098432904745) -,p_db_column_name=>'CLUSTER_PROFILE' -,p_display_order=>220 -,p_column_identifier=>'P' -,p_column_label=>'Cluster Profile' -,p_column_html_expression=>'#CLUSTER_PROFILE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11796191154904746) -,p_db_column_name=>'IS_SECURE' -,p_display_order=>230 -,p_column_identifier=>'Q' -,p_column_label=>'Is Secure' -,p_column_html_expression=>'#IS_SECURE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11796297989904747) -,p_db_column_name=>'IS_CLOUD_SQL_CONFIGURED' -,p_display_order=>240 -,p_column_identifier=>'R' -,p_column_label=>'Is Cloud Sql Configured' -,p_column_html_expression=>'#IS_CLOUD_SQL_CONFIGURED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11794700936904732) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>250 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795230742904737) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>260 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795336740904738) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>270 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795446495904739) -,p_db_column_name=>'ID' -,p_display_order=>280 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795505599904740) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>290 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11795684209904741) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>300 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11945525201366496) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119456' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:NUMBER_OF_NODES:IS_HIGH_AVAILABILITY:CLUSTER_VERSION:CLUSTER_PROFILE:IS_SECURE:IS_CLOUD_SQL_CONFIGURED:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11796324529904748) -,p_plug_name=>'OCI_SHOWOCI_DATA_FLOW' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>390 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATA_FLOW' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATA_FLOW)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATA_FLOW' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATA_FLOW' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11796454680904749) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11796454680904749 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11796559133904750) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11808845533924101) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11808970835924102) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11809084294924103) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11809181837924104) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11809251567924105) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810560447924118) -,p_db_column_name=>'LANGUAGE' -,p_display_order=>190 -,p_column_identifier=>'M' -,p_column_label=>'Language' -,p_column_html_expression=>'#LANGUAGE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810636849924119) -,p_db_column_name=>'OWNER_PRINCIPAL_ID' -,p_display_order=>200 -,p_column_identifier=>'N' -,p_column_label=>'Owner Principal Id' -,p_column_html_expression=>'#OWNER_PRINCIPAL_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810707547924120) -,p_db_column_name=>'OWNER_USER_NAME' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Owner User Name' -,p_column_html_expression=>'#OWNER_USER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810815841924121) -,p_db_column_name=>'SPARK_VERSION' -,p_display_order=>220 -,p_column_identifier=>'P' -,p_column_label=>'Spark Version' -,p_column_html_expression=>'#SPARK_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810901698924122) -,p_db_column_name=>'TYPE' -,p_display_order=>230 -,p_column_identifier=>'Q' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11809909998924112) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>240 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810087468924113) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>250 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810163000924114) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>260 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810262728924115) -,p_db_column_name=>'ID' -,p_display_order=>270 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810391161924116) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>280 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11810472959924117) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>290 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11947959622372875) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119480' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LANGUAGE:OWNER_PRINCIPAL_ID:OWNER_USER_NAME:SPARK_VERSION:TYPE:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11811007295924123) -,p_plug_name=>'OCI_SHOWOCI_DATA_CATALOG' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>400 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATA_CATALOG' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATA_CATALOG)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATA_CATALOG' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATA_CATALOG' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11811181224924124) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11811181224924124 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811202125924125) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811355816924126) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811407896924127) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811507469924128) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811614045924129) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11811784753924130) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812912531924142) -,p_db_column_name=>'NUMBER_OF_OBJECTS' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Number Of Objects' -,p_column_html_expression=>'#NUMBER_OF_OBJECTS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813030873924143) -,p_db_column_name=>'ATTACHED_CATALOG_PRIVATE_ENDPOINTS' -,p_display_order=>80 -,p_column_identifier=>'N' -,p_column_label=>'Attached Catalog Private Endpoints' -,p_column_html_expression=>'#ATTACHED_CATALOG_PRIVATE_ENDPOINTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812361543924136) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>90 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812403450924137) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>100 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812562522924138) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>110 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812683429924139) -,p_db_column_name=>'ID' -,p_display_order=>120 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812783918924140) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>130 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11812883811924141) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>140 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11946720060372063) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119468' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:NUMBER_OF_OBJECTS:ATTACHED_CATALOG_PRIVATE_ENDPOINTS:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11813122513924144) -,p_plug_name=>'OCI_SHOWOCI_DATA_CONN_REGISTRY' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>410 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATA_CONN_REGISTRY' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATA_CONN_REGISTRY)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATA_CONN_REGISTRY' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATA_CONN_REGISTRY' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11813261993924145) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11813261993924145 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813357750924146) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813485298924147) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813583135924148) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813629839924149) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11813797895924150) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824177333933001) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825095598933010) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824435265933004) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>80 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824539769933005) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>90 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824651735933006) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>100 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824755312933007) -,p_db_column_name=>'ID' -,p_display_order=>110 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824835216933008) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>120 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825167744933011) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>130 -,p_column_identifier=>'N' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11824944454933009) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>140 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11947365246372508) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119474' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DESCRIPTION:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:TIME_UPDATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11825201147933012) -,p_plug_name=>'OCI_SHOWOCI_DATA_SCIENCE' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>420 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATA_SCIENCE' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATA_SCIENCE)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATA_SCIENCE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATA_SCIENCE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11825301709933013) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11825301709933013 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825448042933014) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825565628933015) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825652195933016) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825735433933017) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825832390933018) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11825992679933019) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826075230933020) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826173016933021) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826292680933022) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826399045933023) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826445207933024) -,p_db_column_name=>'ID' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826537179933025) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11826707231933027) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>140 -,p_column_identifier=>'M' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11949194092373476) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119492' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DESCRIPTION:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11826886968933028) -,p_plug_name=>'OCI_SHOWOCI_DATA_INTEGRATION' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>430 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DATA_INTEGRATION' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DATA_INTEGRATION)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DATA_INTEGRATION' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DATA_INTEGRATION' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11826955903933029) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11826955903933029 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827055631933030) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827196666933031) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827241792933032) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827321979933033) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827409538933034) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827538352933035) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827770527933037) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>80 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827893155933038) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>90 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11827981765933039) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>100 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828054273933040) -,p_db_column_name=>'ID' -,p_display_order=>110 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828179566933041) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>120 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828211082933042) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>130 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11948533464373192) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119486' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11828377766933043) -,p_plug_name=>'OCI_SHOWOCI_DEVOPS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>440 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DEVOPS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DEVOPS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DEVOPS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DEVOPS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11828467211933044) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11828467211933044 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828567046933045) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828665321933046) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828773019933047) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828859921933048) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11828944968933049) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11829059775933050) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843023214946607) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843102157946608) -,p_db_column_name=>'NAMESPACE' -,p_display_order=>80 -,p_column_identifier=>'N' -,p_column_label=>'Namespace' -,p_column_html_expression=>'#NAMESPACE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843253256946609) -,p_db_column_name=>'NOTIFICATION_CONFIG' -,p_display_order=>90 -,p_column_identifier=>'O' -,p_column_label=>'Notification Config' -,p_column_html_expression=>'#NOTIFICATION_CONFIG#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842400481946601) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>110 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842550650946602) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>120 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842651901946603) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>130 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842764101946604) -,p_db_column_name=>'ID' -,p_display_order=>140 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843396210946610) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>150 -,p_column_identifier=>'P' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842879113946605) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>160 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11842924525946606) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>170 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11949834284374962) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119499' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DESCRIPTION:NAMESPACE:NOTIFICATION_CONFIG:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_UPDATED:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11843488887946611) -,p_plug_name=>'OCI_SHOWOCI_STREAMS_QUEUES' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>450 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_STREAMS_QUEUES' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_STREAMS_QUEUES))' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_STREAMS_QUEUES' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_STREAMS_QUEUES' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11843525767946612) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11843525767946612 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843612291946613) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843770082946614) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843834901946615) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11843980068946616) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844041417946617) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844161670946618) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845227619946629) -,p_db_column_name=>'TYPE' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845337120946630) -,p_db_column_name=>'PARTITIONS' -,p_display_order=>80 -,p_column_identifier=>'N' -,p_column_label=>'Partitions' -,p_column_html_expression=>'#PARTITIONS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845456348946631) -,p_db_column_name=>'RETENTION_IN_SECONDS' -,p_display_order=>90 -,p_column_identifier=>'O' -,p_column_label=>'Retention In Seconds' -,p_column_html_expression=>'#RETENTION_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845508456946632) -,p_db_column_name=>'VISIBILITY_IN_SECONDS' -,p_display_order=>100 -,p_column_identifier=>'P' -,p_column_label=>'Visibility In Seconds' -,p_column_html_expression=>'#VISIBILITY_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845652030946633) -,p_db_column_name=>'TIMEOUT_IN_SECONDS' -,p_display_order=>110 -,p_column_identifier=>'Q' -,p_column_label=>'Timeout In Seconds' -,p_column_html_expression=>'#TIMEOUT_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845763356946634) -,p_db_column_name=>'DEAD_LETTER_QUEUE_DELIVERY_COUNT' -,p_display_order=>120 -,p_column_identifier=>'R' -,p_column_label=>'Dead Letter Queue Delivery Count' -,p_column_html_expression=>'#DEAD_LETTER_QUEUE_DELIVERY_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845803495946635) -,p_db_column_name=>'CUSTOM_ENCRYPTION_KEY_ID' -,p_display_order=>130 -,p_column_identifier=>'S' -,p_column_label=>'Custom Encryption Key Id' -,p_column_html_expression=>'#CUSTOM_ENCRYPTION_KEY_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845907152946636) -,p_db_column_name=>'MESSAGES_ENDPOINT' -,p_display_order=>140 -,p_column_identifier=>'T' -,p_column_label=>'Messages Endpoint' -,p_column_html_expression=>'#MESSAGES_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844585909946622) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>150 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844697671946623) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>160 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844744835946624) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>170 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11844892750946625) -,p_db_column_name=>'ID' -,p_display_order=>180 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845008674946627) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>190 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11845180883946628) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>200 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11951624873377877) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119517' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:TYPE:PARTITIONS:RETENTION_IN_SECONDS:VISIBILITY_IN_SECONDS:TIMEOUT_IN_SECONDS:DEAD_LETTER_QUEUE_DELIVERY_COUNT:CUSTOM_ENCRYPTION_KEY_ID:MESSAGES_ENDPOINT:LIFECYCLE_STATE:FREEFOR' -||'M_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11846003081946637) -,p_plug_name=>'OCI_SHOWOCI_WAF' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>460 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_WAF' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_WAF)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_WAF' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_WAF' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11846140447946638) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11846140447946638 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846210532946639) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846315058946640) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846478298946641) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846564925946642) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846610294946643) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11846726380946644) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914196634307109) -,p_db_column_name=>'BACKEND_TYPE' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Backend Type' -,p_column_html_expression=>'#BACKEND_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914261091307110) -,p_db_column_name=>'WEB_APP_FIREWALL_POLICY_ID' -,p_display_order=>80 -,p_column_identifier=>'N' -,p_column_label=>'Web App Firewall Policy Id' -,p_column_html_expression=>'#WEB_APP_FIREWALL_POLICY_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11913510209307103) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>90 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11913602202307104) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>100 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11913722366307105) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>110 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11913899929307106) -,p_db_column_name=>'ID' -,p_display_order=>120 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11913948387307107) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>130 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914002907307108) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>140 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11952225225378611) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119523' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:BACKEND_TYPE:WEB_APP_FIREWALL_POLICY_ID:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11914388451307111) -,p_plug_name=>'OCI_SHOWOCI_HEALTHCHECKS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>470 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_HEALTHCHECKS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_HEALTHCHECKS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_HEALTHCHECKS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_HEALTHCHECKS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11914475029307112) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11914475029307112 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914581483307113) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914633834307114) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914705458307115) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914852215307116) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11914985339307117) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915022773307118) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915995672307127) -,p_db_column_name=>'TYPE' -,p_display_order=>150 -,p_column_identifier=>'M' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916030656307128) -,p_db_column_name=>'RESULTS_URL' -,p_display_order=>160 -,p_column_identifier=>'N' -,p_column_label=>'Results Url' -,p_column_html_expression=>'#RESULTS_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916120934307129) -,p_db_column_name=>'TARGETS' -,p_display_order=>170 -,p_column_identifier=>'O' -,p_column_label=>'Targets' -,p_column_html_expression=>'#TARGETS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916296474307130) -,p_db_column_name=>'VANTAGE_POINT_NAMES' -,p_display_order=>180 -,p_column_identifier=>'P' -,p_column_label=>'Vantage Point Names' -,p_column_html_expression=>'#VANTAGE_POINT_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916369838307131) -,p_db_column_name=>'PORT' -,p_display_order=>190 -,p_column_identifier=>'Q' -,p_column_label=>'Port' -,p_column_html_expression=>'#PORT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916455958307132) -,p_db_column_name=>'TIMEOUT_IN_SECONDS' -,p_display_order=>200 -,p_column_identifier=>'R' -,p_column_label=>'Timeout In Seconds' -,p_column_html_expression=>'#TIMEOUT_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916523385307133) -,p_db_column_name=>'INTERVAL_IN_SECONDS' -,p_display_order=>210 -,p_column_identifier=>'S' -,p_column_label=>'Interval In Seconds' -,p_column_html_expression=>'#INTERVAL_IN_SECONDS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916627489307134) -,p_db_column_name=>'PROTOCOL' -,p_display_order=>220 -,p_column_identifier=>'T' -,p_column_label=>'Protocol' -,p_column_html_expression=>'#PROTOCOL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916773893307135) -,p_db_column_name=>'METHOD' -,p_display_order=>230 -,p_column_identifier=>'U' -,p_column_label=>'Method' -,p_column_html_expression=>'#METHOD#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916873365307136) -,p_db_column_name=>'PATH' -,p_display_order=>240 -,p_column_identifier=>'V' -,p_column_label=>'Path' -,p_column_html_expression=>'#PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11916902950307137) -,p_db_column_name=>'HEADERS' -,p_display_order=>250 -,p_column_identifier=>'W' -,p_column_label=>'Headers' -,p_column_html_expression=>'#HEADERS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917096976307138) -,p_db_column_name=>'IS_ENABLED' -,p_display_order=>260 -,p_column_identifier=>'X' -,p_column_label=>'Is Enabled' -,p_column_html_expression=>'#IS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915383401307121) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>270 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915465980307122) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>280 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915597693307123) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>290 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915688587307124) -,p_db_column_name=>'ID' -,p_display_order=>300 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915738708307125) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>310 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11915867573307126) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>320 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11950614898376275) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119507' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:TYPE:RESULTS_URL:TARGETS:VANTAGE_POINT_NAMES:PORT:TIMEOUT_IN_SECONDS:INTERVAL_IN_SECONDS:PROTOCOL:METHOD:PATH:HEADERS:IS_ENABLED:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TI' -||'ME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11917107731307139) -,p_plug_name=>'OCI_SHOWOCI_DNS_STEERING_POL' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>480 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DNS_STEERING_POL' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DNS_STEERING_POL)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DNS_STEERING_POL' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DNS_STEERING_POL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11917291934307140) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11917291934307140 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917390368307141) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917492752307142) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917575695307143) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917649725307144) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917700377307145) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11917842854307146) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924477231319715) -,p_db_column_name=>'TTL' -,p_display_order=>70 -,p_column_identifier=>'M' -,p_column_label=>'Ttl' -,p_column_html_expression=>'#TTL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924598319319716) -,p_db_column_name=>'TEMPLATE' -,p_display_order=>80 -,p_column_identifier=>'N' -,p_column_label=>'Template' -,p_column_html_expression=>'#TEMPLATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924622654319717) -,p_db_column_name=>'HEALTH_CHECK_MONITOR_ID' -,p_display_order=>90 -,p_column_identifier=>'O' -,p_column_label=>'Health Check Monitor Id' -,p_column_html_expression=>'#HEALTH_CHECK_MONITOR_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11923800995319709) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>100 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11923935106319710) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>110 -,p_column_identifier=>'H' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924067019319711) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>120 -,p_column_identifier=>'I' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924150422319712) -,p_db_column_name=>'ID' -,p_display_order=>130 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924262197319713) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>140 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924344554319714) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>150 -,p_column_identifier=>'L' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12229742326087056) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'122298' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:TTL:TEMPLATE:HEALTH_CHECK_MONITOR_ID:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11924725033319718) -,p_plug_name=>'OCI_SHOWOCI_IAM_COMPARTMENTS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>490 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_IAM_COMPARTMENTS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_IAM_COMPARTMENTS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_IAM_COMPARTMENTS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_IAM_COMPARTMENTS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11924875938319719) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11924875938319719 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11924922777319720) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11925092229319721) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11925467670319725) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'C' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11925832740319729) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>100 -,p_column_identifier=>'D' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926432331319735) -,p_db_column_name=>'PATH' -,p_display_order=>110 -,p_column_identifier=>'J' -,p_column_label=>'Path' -,p_column_html_expression=>'#PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926577222319736) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>120 -,p_column_identifier=>'K' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926680777319737) -,p_db_column_name=>'IS_ACCESSIBLE' -,p_display_order=>130 -,p_column_identifier=>'L' -,p_column_label=>'Is Accessible' -,p_column_html_expression=>'#IS_ACCESSIBLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926711414319738) -,p_db_column_name=>'INACTIVE_STATUS' -,p_display_order=>140 -,p_column_identifier=>'M' -,p_column_label=>'Inactive Status' -,p_column_html_expression=>'#INACTIVE_STATUS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11925907514319730) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>150 -,p_column_identifier=>'E' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926058312319731) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>160 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926155344319732) -,p_db_column_name=>'ID' -,p_display_order=>170 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926214607319733) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>180 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11926319432319734) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>190 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(11946133657367227) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'119462' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:NAME:LIFECYCLE_STATE:PATH:DESCRIPTION:IS_ACCESSIBLE:INACTIVE_STATUS:FREEFORM_TAGS:DEFINED_TAGS:ID:TIME_CREATED:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11926836851319739) -,p_plug_name=>'OCI_SHOWOCI_SECURITY_BASTIONS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>500 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_SECURITY_BASTIONS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_SECURITY_BASTIONS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_SECURITY_BASTIONS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_SECURITY_BASTIONS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11926933161319740) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11926933161319740 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927029840319741) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927123419319742) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927221448319743) -,p_db_column_name=>'NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11953932568670204) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>140 -,p_column_identifier=>'J' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954018009670205) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>150 -,p_column_identifier=>'K' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954178948670206) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>160 -,p_column_identifier=>'L' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954238039670207) -,p_db_column_name=>'TARGET_VCN_NAME' -,p_display_order=>170 -,p_column_identifier=>'M' -,p_column_label=>'Target Vcn Name' -,p_column_html_expression=>'#TARGET_VCN_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954366802670208) -,p_db_column_name=>'TARGET_SUBNET_NAME' -,p_display_order=>180 -,p_column_identifier=>'N' -,p_column_label=>'Target Subnet Name' -,p_column_html_expression=>'#TARGET_SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954452119670209) -,p_db_column_name=>'BASTION_TYPE' -,p_display_order=>190 -,p_column_identifier=>'O' -,p_column_label=>'Bastion Type' -,p_column_html_expression=>'#BASTION_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954550801670210) -,p_db_column_name=>'TARGET_VCN_ID' -,p_display_order=>200 -,p_column_identifier=>'P' -,p_column_label=>'Target Vcn Id' -,p_column_html_expression=>'#TARGET_VCN_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954683179670211) -,p_db_column_name=>'TARGET_SUBNET_ID' -,p_display_order=>210 -,p_column_identifier=>'Q' -,p_column_label=>'Target Subnet Id' -,p_column_html_expression=>'#TARGET_SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11954799051670212) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>220 -,p_column_identifier=>'R' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11953746911670202) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>230 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927382190319744) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>240 -,p_column_identifier=>'D' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927849333319749) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>250 -,p_column_identifier=>'E' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11927965713319750) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>260 -,p_column_identifier=>'F' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11953632203670201) -,p_db_column_name=>'ID' -,p_display_order=>270 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11953802066670203) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>290 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12011428222718145) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120115' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:NAME:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:TARGET_VCN_NAME:TARGET_SUBNET_NAME:BASTION_TYPE:TARGET_VCN_ID:TARGET_SUBNET_ID:TIME_UPDATED:TIME_CREATED:LIFECYCLE_STATE:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11954832935670213) -,p_plug_name=>'OCI_SHOWOCI_SECURITY_CLOUDGUARD' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>510 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_SECURITY_CLOUDGUARD' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_SECURITY_CLOUDGUARD)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_SECURITY_CLOUDGUARD' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_SECURITY_CLOUDGUARD' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11954922935670214) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11954922935670214 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11955003528670215) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11955172403670216) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11955291879670217) -,p_db_column_name=>'NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956802806670233) -,p_db_column_name=>'TARGET_RESOURCE_TYPE' -,p_display_order=>40 -,p_column_identifier=>'I' -,p_column_label=>'Target Resource Type' -,p_column_html_expression=>'#TARGET_RESOURCE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956998035670234) -,p_db_column_name=>'TARGET_RESOURCE_ID' -,p_display_order=>50 -,p_column_identifier=>'J' -,p_column_label=>'Target Resource Id' -,p_column_html_expression=>'#TARGET_RESOURCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11957072823670235) -,p_db_column_name=>'RECIPE_COUNT' -,p_display_order=>60 -,p_column_identifier=>'K' -,p_column_label=>'Recipe Count' -,p_column_html_expression=>'#RECIPE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834724176172410) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834848713172411) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834904525172412) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835060491172413) -,p_db_column_name=>'TARGET_RESOURCE_NAME' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Target Resource Name' -,p_column_html_expression=>'#TARGET_RESOURCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835190348172414) -,p_db_column_name=>'INHERITED_BY_COMPARTMENTS' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Inherited By Compartments' -,p_column_html_expression=>'#INHERITED_BY_COMPARTMENTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835295528172415) -,p_db_column_name=>'INHERITED_BY_COMPARTMENTS_NAMES' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Inherited By Compartments Names' -,p_column_html_expression=>'#INHERITED_BY_COMPARTMENTS_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835332637172416) -,p_db_column_name=>'TARGET_DETECTOR_RECIPES' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Target Detector Recipes' -,p_column_html_expression=>'#TARGET_DETECTOR_RECIPES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835428306172417) -,p_db_column_name=>'TARGET_RESPONDER_RECIPES' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Target Responder Recipes' -,p_column_html_expression=>'#TARGET_RESPONDER_RECIPES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835564520172418) -,p_db_column_name=>'TARGET_DETECTOR_RULES' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Target Detector Rules' -,p_column_html_expression=>'#TARGET_DETECTOR_RULES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835689996172419) -,p_db_column_name=>'TARGET_RESPONDER_RULES' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'Target Responder Rules' -,p_column_html_expression=>'#TARGET_RESPONDER_RULES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835759641172420) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12835831640172421) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956123947670226) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>240 -,p_column_identifier=>'D' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956238225670227) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>250 -,p_column_identifier=>'E' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956341848670228) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>260 -,p_column_identifier=>'F' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956642682670231) -,p_db_column_name=>'ID' -,p_display_order=>270 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11956721223670232) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>280 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12012061511718819) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120121' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:NAME:TARGET_RESOURCE_TYPE:TARGET_RESOURCE_ID:RECIPE_COUNT:COMPARTMENT_NAME:COMPARTMENT_PATH:DEFINED_TAGS:FREEFORM_TAGS:INHERITED_BY_COMPARTMENTS:INHERITED_BY_COMPARTMENTS_NAMES:REGION_NAME:TARGET_DETECTOR_RECIPES:TARGET_DETECTOR' -||'_RULES:TARGET_RESOURCE_NAME:TARGET_RESPONDER_RECIPES:TARGET_RESPONDER_RULES:TIME_UPDATED:TIME_CREATED:LIFECYCLE_STATE:ID:EXTRACT_DATE:' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11957128143670236) -,p_plug_name=>'OCI_SHOWOCI_SECURITY_LOGGINGS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>520 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_SECURITY_LOGGINGS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_SECURITY_LOGGINGS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_SECURITY_LOGGINGS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_SECURITY_LOGGINGS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11957210702670237) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11957210702670237 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11957383475670238) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11957407244670239) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958041933670245) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>80 -,p_column_identifier=>'C' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958494136670249) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>120 -,p_column_identifier=>'G' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958532884670250) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>130 -,p_column_identifier=>'H' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968219444682001) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>140 -,p_column_identifier=>'I' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968343336682002) -,p_db_column_name=>'LOG_GROUP' -,p_display_order=>150 -,p_column_identifier=>'J' -,p_column_label=>'Log Group' -,p_column_html_expression=>'#LOG_GROUP#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968450728682003) -,p_db_column_name=>'LOG_GROUP_DESCRIPTION' -,p_display_order=>160 -,p_column_identifier=>'K' -,p_column_label=>'Log Group Description' -,p_column_html_expression=>'#LOG_GROUP_DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968564458682004) -,p_db_column_name=>'LOG_NAME' -,p_display_order=>170 -,p_column_identifier=>'L' -,p_column_label=>'Log Name' -,p_column_html_expression=>'#LOG_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968602538682005) -,p_db_column_name=>'IS_ENABLED' -,p_display_order=>180 -,p_column_identifier=>'M' -,p_column_label=>'Is Enabled' -,p_column_html_expression=>'#IS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968703677682006) -,p_db_column_name=>'LOG_TYPE' -,p_display_order=>190 -,p_column_identifier=>'N' -,p_column_label=>'Log Type' -,p_column_html_expression=>'#LOG_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968835626682007) -,p_db_column_name=>'RETENTION_DURATION' -,p_display_order=>200 -,p_column_identifier=>'O' -,p_column_label=>'Retention Duration' -,p_column_html_expression=>'#RETENTION_DURATION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11968913369682008) -,p_db_column_name=>'ARCHIVING' -,p_display_order=>210 -,p_column_identifier=>'P' -,p_column_label=>'Archiving' -,p_column_html_expression=>'#ARCHIVING#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969032542682009) -,p_db_column_name=>'SOURCE_SERVICE' -,p_display_order=>220 -,p_column_identifier=>'Q' -,p_column_label=>'Source Service' -,p_column_html_expression=>'#SOURCE_SERVICE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969136740682010) -,p_db_column_name=>'SOURCE_CATEGORY' -,p_display_order=>230 -,p_column_identifier=>'R' -,p_column_label=>'Source Category' -,p_column_html_expression=>'#SOURCE_CATEGORY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969287504682011) -,p_db_column_name=>'SOURCE_SOURCETYPE' -,p_display_order=>240 -,p_column_identifier=>'S' -,p_column_label=>'Source Sourcetype' -,p_column_html_expression=>'#SOURCE_SOURCETYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969367534682012) -,p_db_column_name=>'SOURCE_RESOURCE' -,p_display_order=>250 -,p_column_identifier=>'T' -,p_column_label=>'Source Resource' -,p_column_html_expression=>'#SOURCE_RESOURCE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969554357682014) -,p_db_column_name=>'SOURCE_PARAMETERS' -,p_display_order=>270 -,p_column_identifier=>'V' -,p_column_label=>'Source Parameters' -,p_column_html_expression=>'#SOURCE_PARAMETERS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969722376682016) -,p_db_column_name=>'TIME_LAST_MODIFIED' -,p_display_order=>300 -,p_column_identifier=>'X' -,p_column_label=>'Time Last Modified' -,p_column_html_expression=>'#TIME_LAST_MODIFIED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969863103682017) -,p_db_column_name=>'LOG_GROUP_TIME_LAST_MODIFIED' -,p_display_order=>310 -,p_column_identifier=>'Y' -,p_column_label=>'Log Group Time Last Modified' -,p_column_html_expression=>'#LOG_GROUP_TIME_LAST_MODIFIED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969446429682013) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>320 -,p_column_identifier=>'U' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969620990682015) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>330 -,p_column_identifier=>'W' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11969947514682018) -,p_db_column_name=>'LOG_GROUP_ID' -,p_display_order=>340 -,p_column_identifier=>'Z' -,p_column_label=>'Log Group Id' -,p_column_html_expression=>'#LOG_GROUP_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970091005682019) -,p_db_column_name=>'LOG_ID' -,p_display_order=>350 -,p_column_identifier=>'AA' -,p_column_label=>'Log Id' -,p_column_html_expression=>'#LOG_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958173656670246) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>360 -,p_column_identifier=>'D' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958270616670247) -,p_db_column_name=>'ID' -,p_display_order=>370 -,p_column_identifier=>'E' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11958310971670248) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>380 -,p_column_identifier=>'F' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12013242301721669) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120133' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:TIME_CREATED:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:LOG_GROUP:LOG_GROUP_DESCRIPTION:LOG_NAME:IS_ENABLED:LOG_TYPE:RETENTION_DURATION:ARCHIVING:SOURCE_SERVICE:SOURCE_CATEGORY:SOURCE_SOURCETYPE:SOURCE_RESOURCE:SOURCE_PARAMET' -||'ERS:TIME_LAST_MODIFIED:LOG_GROUP_TIME_LAST_MODIFIED:FREEFORM_TAGS:DEFINED_TAGS:LOG_GROUP_ID:LOG_ID:LIFECYCLE_STATE:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11970174764682020) -,p_plug_name=>'OCI_SHOWOCI_SECURITY_KMS_VAULTS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>530 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_SECURITY_KMS_VAULTS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_SECURITY_KMS_VAULTS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_SECURITY_KMS_VAULTS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_SECURITY_KMS_VAULTS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11970273071682021) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11970273071682021 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970340392682022) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970410529682023) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970548805682024) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970687756682025) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970773336682026) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11970858000682027) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11973094257682049) -,p_db_column_name=>'NAME' -,p_display_order=>280 -,p_column_identifier=>'K' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11973116972682050) -,p_db_column_name=>'CRYPTO_ENDPOINT' -,p_display_order=>290 -,p_column_identifier=>'L' -,p_column_label=>'Crypto Endpoint' -,p_column_html_expression=>'#CRYPTO_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11981782417688301) -,p_db_column_name=>'MANAGEMENT_ENDPOINT' -,p_display_order=>300 -,p_column_identifier=>'M' -,p_column_label=>'Management Endpoint' -,p_column_html_expression=>'#MANAGEMENT_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11981892978688302) -,p_db_column_name=>'VAULT_TYPE' -,p_display_order=>310 -,p_column_identifier=>'N' -,p_column_label=>'Vault Type' -,p_column_html_expression=>'#VAULT_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11981914396688303) -,p_db_column_name=>'KEY_COUNT' -,p_display_order=>320 -,p_column_identifier=>'O' -,p_column_label=>'Key Count' -,p_column_html_expression=>'#KEY_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982092352688304) -,p_db_column_name=>'KEY_VERSION_COUNT' -,p_display_order=>330 -,p_column_identifier=>'P' -,p_column_label=>'Key Version Count' -,p_column_html_expression=>'#KEY_VERSION_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982129329688305) -,p_db_column_name=>'SOFTWARE_KEY_COUNT' -,p_display_order=>340 -,p_column_identifier=>'Q' -,p_column_label=>'Software Key Count' -,p_column_html_expression=>'#SOFTWARE_KEY_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982239463688306) -,p_db_column_name=>'SOFTWARE_KEY_VERSION_COUNT' -,p_display_order=>350 -,p_column_identifier=>'R' -,p_column_label=>'Software Key Version Count' -,p_column_html_expression=>'#SOFTWARE_KEY_VERSION_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11972318600682042) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>360 -,p_column_identifier=>'G' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11972438131682043) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>370 -,p_column_identifier=>'H' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11972899132682047) -,p_db_column_name=>'ID' -,p_display_order=>380 -,p_column_identifier=>'I' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11972916936682048) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>390 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12012655032720594) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120127' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:TIME_CREATED:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:CRYPTO_ENDPOINT:MANAGEMENT_ENDPOINT:VAULT_TYPE:KEY_COUNT:KEY_VERSION_COUNT:SOFTWARE_KEY_COUNT:SOFTWARE_KEY_VERSION_COUNT:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11982371257688307) -,p_plug_name=>'OCI_SHOWOCI_LIMITS' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>540 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_LIMITS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_LIMITS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_LIMITS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_LIMITS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11982439524688308) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11982439524688308 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982554033688309) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982665122688310) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11982865359688312) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>40 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11983141435688315) -,p_db_column_name=>'NAME' -,p_display_order=>70 -,p_column_identifier=>'D' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984359234688327) -,p_db_column_name=>'SCOPE_TYPE' -,p_display_order=>190 -,p_column_identifier=>'G' -,p_column_label=>'Scope Type' -,p_column_html_expression=>'#SCOPE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984407473688328) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>200 -,p_column_identifier=>'H' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984505162688329) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>210 -,p_column_identifier=>'I' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984653196688330) -,p_db_column_name=>'LIMIT_NAME' -,p_display_order=>220 -,p_column_identifier=>'J' -,p_column_label=>'Limit Name' -,p_column_html_expression=>'#LIMIT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984712204688331) -,p_db_column_name=>'VALUE' -,p_display_order=>230 -,p_column_identifier=>'K' -,p_column_label=>'Value' -,p_column_html_expression=>'#VALUE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984882343688332) -,p_db_column_name=>'USED' -,p_display_order=>240 -,p_column_identifier=>'L' -,p_column_label=>'Used' -,p_column_html_expression=>'#USED#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984987357688333) -,p_db_column_name=>'AVAILABLE' -,p_display_order=>250 -,p_column_identifier=>'M' -,p_column_label=>'Available' -,p_column_html_expression=>'#AVAILABLE#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984130428688325) -,p_db_column_name=>'ID' -,p_display_order=>260 -,p_column_identifier=>'E' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11984235414688326) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>270 -,p_column_identifier=>'F' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12013995032723318) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120140' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:NAME:SCOPE_TYPE:AVAILABILITY_DOMAIN:DESCRIPTION:LIMIT_NAME:VALUE:USED:AVAILABLE:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11985072987688334) -,p_plug_name=>'OCI_SHOWOCI_QUOTAS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>550 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_QUOTAS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_QUOTAS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_QUOTAS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_QUOTAS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11985189577688335) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11985189577688335 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11985239973688336) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11985343790688337) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11985466760688338) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11985544229688339) -,p_db_column_name=>'NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11985885405688342) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>70 -,p_column_identifier=>'E' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11986503541688349) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11986639784688350) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997036041703201) -,p_db_column_name=>'STATEMENTS' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Statements' -,p_column_html_expression=>'#STATEMENTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997194104703202) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11986311297688347) -,p_db_column_name=>'ID' -,p_display_order=>120 -,p_column_identifier=>'F' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11986498276688348) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>130 -,p_column_identifier=>'G' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12014560259724662) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120146' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:NAME:DESCRIPTION:COMPARTMENT_NAME:COMPARTMENT_PATH:STATEMENTS:TIME_CREATED:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11997280221703203) -,p_plug_name=>'OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>560 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11997366165703204) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11997366165703204 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997431309703205) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997566222703206) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997689155703207) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997807047703209) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11997980036703210) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>60 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998019349703211) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>70 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998531274703216) -,p_db_column_name=>'VOLUME_TYPE' -,p_display_order=>120 -,p_column_identifier=>'J' -,p_column_label=>'Volume Type' -,p_column_html_expression=>'#VOLUME_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998629356703217) -,p_db_column_name=>'BACKUP_TYPE' -,p_display_order=>130 -,p_column_identifier=>'K' -,p_column_label=>'Backup Type' -,p_column_html_expression=>'#BACKUP_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998738696703218) -,p_db_column_name=>'SCHEDULE_TYPE' -,p_display_order=>140 -,p_column_identifier=>'L' -,p_column_label=>'Schedule Type' -,p_column_html_expression=>'#SCHEDULE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998835006703219) -,p_db_column_name=>'SOURCE_NAME' -,p_display_order=>150 -,p_column_identifier=>'M' -,p_column_label=>'Source Name' -,p_column_html_expression=>'#SOURCE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998955949703220) -,p_db_column_name=>'UNIQUE_SIZE_IN_GBS' -,p_display_order=>160 -,p_column_identifier=>'N' -,p_column_label=>'Unique Size In Gbs' -,p_column_html_expression=>'#UNIQUE_SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999057647703221) -,p_db_column_name=>'SIZE_IN_GBS' -,p_display_order=>170 -,p_column_identifier=>'O' -,p_column_label=>'Size In Gbs' -,p_column_html_expression=>'#SIZE_IN_GBS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999180603703222) -,p_db_column_name=>'EXPIRATION_TIME' -,p_display_order=>180 -,p_column_identifier=>'P' -,p_column_label=>'Expiration Time' -,p_column_html_expression=>'#EXPIRATION_TIME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998209298703213) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>190 -,p_column_identifier=>'G' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998359814703214) -,p_db_column_name=>'ID' -,p_display_order=>200 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11998476059703215) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>210 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12015226439726597) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120153' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:DESCRIPTION:COMPARTMENT_NAME:COMPARTMENT_PATH:VOLUME_TYPE:BACKUP_TYPE:SCHEDULE_TYPE:SOURCE_NAME:UNIQUE_SIZE_IN_GBS:SIZE_IN_GBS:EXPIRATION_TIME:TIME_CREATED:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(11999238100703223) -,p_plug_name=>'OCI_SHOWOCI_MONITOR_AGENTS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>570 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_MONITOR_AGENTS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_MONITOR_AGENTS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_MONITOR_AGENTS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_MONITOR_AGENTS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(11999308011703224) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>11999308011703224 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999497858703225) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999547929703226) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999685174703227) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999883791703229) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(11999939556703230) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>60 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001069482703241) -,p_db_column_name=>'NAME' -,p_display_order=>170 -,p_column_identifier=>'I' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001156993703242) -,p_db_column_name=>'PLATFORM_NAME' -,p_display_order=>180 -,p_column_identifier=>'J' -,p_column_label=>'Platform Name' -,p_column_html_expression=>'#PLATFORM_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001216001703243) -,p_db_column_name=>'PLATFORM_TYPE' -,p_display_order=>190 -,p_column_identifier=>'K' -,p_column_label=>'Platform Type' -,p_column_html_expression=>'#PLATFORM_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001334264703244) -,p_db_column_name=>'PLATFORM_VERSION' -,p_display_order=>200 -,p_column_identifier=>'L' -,p_column_label=>'Platform Version' -,p_column_html_expression=>'#PLATFORM_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001486607703245) -,p_db_column_name=>'VERSION' -,p_display_order=>210 -,p_column_identifier=>'M' -,p_column_label=>'Version' -,p_column_html_expression=>'#VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001539654703246) -,p_db_column_name=>'IS_AGENT_AUTO_UPGRADABLE' -,p_display_order=>220 -,p_column_identifier=>'N' -,p_column_label=>'Is Agent Auto Upgradable' -,p_column_html_expression=>'#IS_AGENT_AUTO_UPGRADABLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001665330703247) -,p_db_column_name=>'HOST' -,p_display_order=>230 -,p_column_identifier=>'O' -,p_column_label=>'Host' -,p_column_html_expression=>'#HOST#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001780400703248) -,p_db_column_name=>'PLUGIN_LIST' -,p_display_order=>240 -,p_column_identifier=>'P' -,p_column_label=>'Plugin List' -,p_column_html_expression=>'#PLUGIN_LIST#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001803430703249) -,p_db_column_name=>'TIME_LAST_HEARTBEAT' -,p_display_order=>250 -,p_column_identifier=>'Q' -,p_column_label=>'Time Last Heartbeat' -,p_column_html_expression=>'#TIME_LAST_HEARTBEAT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12001939601703250) -,p_db_column_name=>'AVAILABILITY_STATUS' -,p_display_order=>260 -,p_column_identifier=>'R' -,p_column_label=>'Availability Status' -,p_column_html_expression=>'#AVAILABILITY_STATUS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12016636141335701) -,p_db_column_name=>'INSTALL_KEY_ID' -,p_display_order=>270 -,p_column_identifier=>'S' -,p_column_label=>'Install Key Id' -,p_column_html_expression=>'#INSTALL_KEY_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12016742582335702) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>280 -,p_column_identifier=>'T' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12016886859335703) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>290 -,p_column_identifier=>'U' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12000727723703238) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>300 -,p_column_identifier=>'F' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12000847021703239) -,p_db_column_name=>'ID' -,p_display_order=>310 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12000968506703240) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>320 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12090208008367026) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120903' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:PLATFORM_NAME:PLATFORM_TYPE:PLATFORM_VERSION:VERSION:IS_AGENT_AUTO_UPGRADABLE:HOST:PLUGIN_LIST:TIME_LAST_HEARTBEAT:AVAILABILITY_STATUS:INSTALL_KEY_ID:FREEFORM_TAGS:DEFINED_TAGS:' -||'TIME_CREATED:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12016997625335704) -,p_plug_name=>'OCI_SHOWOCI_MONITOR_EVENTS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>580 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_MONITOR_EVENTS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_MONITOR_EVENTS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_MONITOR_EVENTS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_MONITOR_EVENTS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12017022456335705) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12017022456335705 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017177538335706) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017286181335707) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017378732335708) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017427371335709) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017599518335710) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12017677065335711) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019252831335727) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>220 -,p_column_identifier=>'L' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019395772335728) -,p_db_column_name=>'CONDITION' -,p_display_order=>230 -,p_column_identifier=>'M' -,p_column_label=>'Condition' -,p_column_html_expression=>'#CONDITION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019411569335729) -,p_db_column_name=>'IS_ENABLED' -,p_display_order=>240 -,p_column_identifier=>'N' -,p_column_label=>'Is Enabled' -,p_column_html_expression=>'#IS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019536440335730) -,p_db_column_name=>'ACTIONS' -,p_display_order=>250 -,p_column_identifier=>'O' -,p_column_label=>'Actions' -,p_column_html_expression=>'#ACTIONS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12018742018335722) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>260 -,p_column_identifier=>'G' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12018819505335723) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>270 -,p_column_identifier=>'H' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12018919450335724) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>280 -,p_column_identifier=>'I' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019025760335725) -,p_db_column_name=>'ID' -,p_display_order=>290 -,p_column_identifier=>'J' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019152041335726) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>300 -,p_column_identifier=>'K' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12092035971368896) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120921' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DESCRIPTION:CONDITION:IS_ENABLED:ACTIONS:FREEFORM_TAGS:DEFINED_TAGS:TIME_CREATED:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12019622273335731) -,p_plug_name=>'OCI_SHOWOCI_MONITOR_DB_MANAGEMENT' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>590 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_MONITOR_DB_MANAGEMENT' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_MONITOR_DB_MANAGEMENT)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_MONITOR_DB_MANAGEMENT' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_MONITOR_DB_MANAGEMENT' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12019789926335732) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12019789926335732 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019851830335733) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12019919703335734) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12020068556335735) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12020164281335736) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12020245247335737) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12020352570335738) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021333491335748) -,p_db_column_name=>'DATABASE_TYPE' -,p_display_order=>160 -,p_column_identifier=>'J' -,p_column_label=>'Database Type' -,p_column_html_expression=>'#DATABASE_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021470218335749) -,p_db_column_name=>'DATABASE_SUB_TYPE' -,p_display_order=>170 -,p_column_identifier=>'K' -,p_column_label=>'Database Sub Type' -,p_column_html_expression=>'#DATABASE_SUB_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021576560335750) -,p_db_column_name=>'IS_CLUSTER' -,p_display_order=>180 -,p_column_identifier=>'L' -,p_column_label=>'Is Cluster' -,p_column_html_expression=>'#IS_CLUSTER#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021627181342501) -,p_db_column_name=>'PARENT_CONTAINER_ID' -,p_display_order=>190 -,p_column_identifier=>'M' -,p_column_label=>'Parent Container Id' -,p_column_html_expression=>'#PARENT_CONTAINER_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021791807342502) -,p_db_column_name=>'DEPLOYMENT_TYPE' -,p_display_order=>200 -,p_column_identifier=>'N' -,p_column_label=>'Deployment Type' -,p_column_html_expression=>'#DEPLOYMENT_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021885265342503) -,p_db_column_name=>'MANAGEMENT_OPTION' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Management Option' -,p_column_html_expression=>'#MANAGEMENT_OPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021946235342504) -,p_db_column_name=>'WORKLOAD_TYPE' -,p_display_order=>220 -,p_column_identifier=>'P' -,p_column_label=>'Workload Type' -,p_column_html_expression=>'#WORKLOAD_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022050588342505) -,p_db_column_name=>'DB_SYSTEM_ID' -,p_display_order=>230 -,p_column_identifier=>'Q' -,p_column_label=>'Db System Id' -,p_column_html_expression=>'#DB_SYSTEM_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022127157342506) -,p_db_column_name=>'STORAGE_SYSTEM_ID' -,p_display_order=>240 -,p_column_identifier=>'R' -,p_column_label=>'Storage System Id' -,p_column_html_expression=>'#STORAGE_SYSTEM_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021024845335745) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>250 -,p_column_identifier=>'G' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021190729335746) -,p_db_column_name=>'ID' -,p_display_order=>260 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12021270708335747) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>270 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12091478814368327) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120915' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:DATABASE_TYPE:DATABASE_SUB_TYPE:IS_CLUSTER:PARENT_CONTAINER_ID:DEPLOYMENT_TYPE:MANAGEMENT_OPTION:WORKLOAD_TYPE:DB_SYSTEM_ID:STORAGE_SYSTEM_ID:TIME_CREATED:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12022254996342507) -,p_plug_name=>'OCI_SHOWOCI_MONITOR_ALARMS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>600 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_MONITOR_ALARMS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_MONITOR_ALARMS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_MONITOR_ALARMS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_MONITOR_ALARMS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12022324629342508) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12022324629342508 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022429927342509) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022540166342510) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022679920342511) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022791457342512) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022800598342513) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12022919854342514) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024201503342527) -,p_db_column_name=>'NAMESPACE' -,p_display_order=>190 -,p_column_identifier=>'I' -,p_column_label=>'Namespace' -,p_column_html_expression=>'#NAMESPACE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024328166342528) -,p_db_column_name=>'QUERY' -,p_display_order=>200 -,p_column_identifier=>'J' -,p_column_label=>'Query' -,p_column_html_expression=>'#QUERY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024495576342529) -,p_db_column_name=>'SEVERITY' -,p_display_order=>210 -,p_column_identifier=>'K' -,p_column_label=>'Severity' -,p_column_html_expression=>'#SEVERITY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024589944342530) -,p_db_column_name=>'DESTINATIONS' -,p_display_order=>220 -,p_column_identifier=>'L' -,p_column_label=>'Destinations' -,p_column_html_expression=>'#DESTINATIONS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024632460342531) -,p_db_column_name=>'DESTINATIONS_NAMES' -,p_display_order=>230 -,p_column_identifier=>'M' -,p_column_label=>'Destinations Names' -,p_column_html_expression=>'#DESTINATIONS_NAMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024790494342532) -,p_db_column_name=>'IS_ENABLED' -,p_display_order=>240 -,p_column_identifier=>'N' -,p_column_label=>'Is Enabled' -,p_column_html_expression=>'#IS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024855073342533) -,p_db_column_name=>'METRIC_COMPARTMENT_ID' -,p_display_order=>250 -,p_column_identifier=>'O' -,p_column_label=>'Metric Compartment Id' -,p_column_html_expression=>'#METRIC_COMPARTMENT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024999973342534) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>260 -,p_column_identifier=>'P' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025067789342535) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>270 -,p_column_identifier=>'Q' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024056946342525) -,p_db_column_name=>'ID' -,p_display_order=>280 -,p_column_identifier=>'G' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12024113695342526) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>290 -,p_column_identifier=>'H' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12090849090367710) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120909' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:NAMESPACE:QUERY:SEVERITY:DESTINATIONS:DESTINATIONS_NAMES:IS_ENABLED:METRIC_COMPARTMENT_ID:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12025125139342536) -,p_plug_name=>'OCI_SHOWOCI_MONITOR_NOTIFICATIONS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>610 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_MONITOR_NOTIFICATIONS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_MONITOR_NOTIFICATIONS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_MONITOR_NOTIFICATIONS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_MONITOR_NOTIFICATIONS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12025255814342537) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12025255814342537 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025370076342538) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025452881342539) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025542910342540) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025647656342541) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12025761946342542) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044705467348905) -,p_db_column_name=>'TOPIC_COMPARTMENT_NAME' -,p_display_order=>180 -,p_column_identifier=>'J' -,p_column_label=>'Topic Compartment Name' -,p_column_html_expression=>'#TOPIC_COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044802300348906) -,p_db_column_name=>'TOPIC_COMPARTMENT_PATH' -,p_display_order=>190 -,p_column_identifier=>'K' -,p_column_label=>'Topic Compartment Path' -,p_column_html_expression=>'#TOPIC_COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044966751348907) -,p_db_column_name=>'TOPIC_NAME' -,p_display_order=>200 -,p_column_identifier=>'L' -,p_column_label=>'Topic Name' -,p_column_html_expression=>'#TOPIC_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045067866348908) -,p_db_column_name=>'TOPIC_DESCRIPTION' -,p_display_order=>210 -,p_column_identifier=>'M' -,p_column_label=>'Topic Description' -,p_column_html_expression=>'#TOPIC_DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045159173348909) -,p_db_column_name=>'TOPIC_ETAG' -,p_display_order=>220 -,p_column_identifier=>'N' -,p_column_label=>'Topic Etag' -,p_column_html_expression=>'#TOPIC_ETAG#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045283788348910) -,p_db_column_name=>'TOPIC_API_ENDPOINT' -,p_display_order=>230 -,p_column_identifier=>'O' -,p_column_label=>'Topic Api Endpoint' -,p_column_html_expression=>'#TOPIC_API_ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045302700348911) -,p_db_column_name=>'TOPIC_FREEFORM_TAGS' -,p_display_order=>240 -,p_column_identifier=>'P' -,p_column_label=>'Topic Freeform Tags' -,p_column_html_expression=>'#TOPIC_FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045499326348912) -,p_db_column_name=>'TOPIC_DEFINED_TAGS' -,p_display_order=>250 -,p_column_identifier=>'Q' -,p_column_label=>'Topic Defined Tags' -,p_column_html_expression=>'#TOPIC_DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045586237348913) -,p_db_column_name=>'TOPIC_ID' -,p_display_order=>260 -,p_column_identifier=>'R' -,p_column_label=>'Topic Id' -,p_column_html_expression=>'#TOPIC_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045603988348914) -,p_db_column_name=>'PROTOCOL' -,p_display_order=>270 -,p_column_identifier=>'S' -,p_column_label=>'Protocol' -,p_column_html_expression=>'#PROTOCOL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045713973348915) -,p_db_column_name=>'ENDPOINT' -,p_display_order=>280 -,p_column_identifier=>'T' -,p_column_label=>'Endpoint' -,p_column_html_expression=>'#ENDPOINT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045836445348916) -,p_db_column_name=>'CREATED_TIME' -,p_display_order=>290 -,p_column_identifier=>'U' -,p_column_label=>'Created Time' -,p_column_html_expression=>'#CREATED_TIME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12045985156348917) -,p_db_column_name=>'TOPIC_TIME_CREATED' -,p_display_order=>300 -,p_column_identifier=>'V' -,p_column_label=>'Topic Time Created' -,p_column_html_expression=>'#TOPIC_TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044370775348901) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>310 -,p_column_identifier=>'F' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044446605348902) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>320 -,p_column_identifier=>'G' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044591769348903) -,p_db_column_name=>'ID' -,p_display_order=>330 -,p_column_identifier=>'H' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12044612107348904) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>340 -,p_column_identifier=>'I' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12092638002369686) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120927' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:TOPIC_COMPARTMENT_NAME:TOPIC_COMPARTMENT_PATH:TOPIC_NAME:TOPIC_DESCRIPTION:TOPIC_ETAG:TOPIC_API_ENDPOINT:TOPIC_FREEFORM_TAGS:TOPIC_DEFINED_TAGS:TOPIC_ID:PROTOCOL:ENDPOINT:CREATED_TIM' -||'E:TOPIC_TIME_CREATED:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12046034818348918) -,p_plug_name=>'OCI_SHOWOCI_COMPUTE_RESERVATIONS' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>60 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_COMPUTE_RESERVATIONS' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_COMPUTE_RESERVATIONS)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_COMPUTE_RESERVATIONS' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_COMPUTE_RESERVATIONS' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12046123529348919) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12046123529348919 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046275593348920) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046392781348921) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046574496348923) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>40 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046677854348924) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>50 -,p_column_identifier=>'D' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046827482348926) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>70 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12046960799348927) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>80 -,p_column_identifier=>'F' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062644326353206) -,p_db_column_name=>'ID' -,p_display_order=>340 -,p_column_identifier=>'K' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062795773353207) -,p_db_column_name=>'NAME' -,p_display_order=>350 -,p_column_identifier=>'L' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062801538353208) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>360 -,p_column_identifier=>'M' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062945659353209) -,p_db_column_name=>'IS_DEFAULT_RESERVATION' -,p_display_order=>370 -,p_column_identifier=>'N' -,p_column_label=>'Is Default Reservation' -,p_column_html_expression=>'#IS_DEFAULT_RESERVATION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063019171353210) -,p_db_column_name=>'RESERVED_INSTANCE_COUNT' -,p_display_order=>380 -,p_column_identifier=>'O' -,p_column_label=>'Reserved Instance Count' -,p_column_html_expression=>'#RESERVED_INSTANCE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063166646353211) -,p_db_column_name=>'USED_INSTANCE_COUNT' -,p_display_order=>390 -,p_column_identifier=>'P' -,p_column_label=>'Used Instance Count' -,p_column_html_expression=>'#USED_INSTANCE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063284937353212) -,p_db_column_name=>'SHAPES' -,p_display_order=>400 -,p_column_identifier=>'Q' -,p_column_label=>'Shapes' -,p_column_html_expression=>'#SHAPES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063353468353213) -,p_db_column_name=>'SHAPES_CAPACITY' -,p_display_order=>410 -,p_column_identifier=>'R' -,p_column_label=>'Shapes Capacity' -,p_column_html_expression=>'#SHAPES_CAPACITY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12048407644348942) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>420 -,p_column_identifier=>'G' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12049234261348950) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>430 -,p_column_identifier=>'H' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062100548353201) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>440 -,p_column_identifier=>'I' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12062244018353202) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>450 -,p_column_identifier=>'J' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(12089627175365349) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'120897' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:AVAILABILITY_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:ID:NAME:LIFECYCLE_STATE:IS_DEFAULT_RESERVATION:RESERVED_INSTANCE_COUNT:USED_INSTANCE_COUNT:SHAPES:SHAPES_CAPACITY:TIME_CREATED:DEFINED_TAGS:FREEFORM_TAGS:EXTRACT_' -||'DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12063718908353217) -,p_plug_name=>'OCI_SHOWOCI_COMPUTE' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>50 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_COMPUTE' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_COMPUTE))' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_COMPUTE' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_COMPUTE' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12063808757353218) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12063808757353218 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12063915106353219) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064089242353220) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064163675353221) -,p_db_column_name=>'INSTANCE_ID' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Instance Id' -,p_column_html_expression=>'#INSTANCE_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064211121353222) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064371880353223) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064483673353224) -,p_db_column_name=>'FAULT_DOMAIN' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Fault Domain' -,p_column_html_expression=>'#FAULT_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064516918353225) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064679368353226) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064795737353227) -,p_db_column_name=>'SERVER_NAME' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Server Name' -,p_column_html_expression=>'#SERVER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064803818353228) -,p_db_column_name=>'STATUS' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Status' -,p_column_html_expression=>'#STATUS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12064940929353229) -,p_db_column_name=>'TYPE' -,p_display_order=>110 -,p_column_identifier=>'K' -,p_column_label=>'Type' -,p_column_html_expression=>'#TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065011796353230) -,p_db_column_name=>'IMAGE' -,p_display_order=>120 -,p_column_identifier=>'L' -,p_column_label=>'Image' -,p_column_html_expression=>'#IMAGE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065104952353231) -,p_db_column_name=>'PRIMARY_VCN' -,p_display_order=>130 -,p_column_identifier=>'M' -,p_column_label=>'Primary Vcn' -,p_column_html_expression=>'#PRIMARY_VCN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065220142353232) -,p_db_column_name=>'PRIMARY_SUBNET' -,p_display_order=>140 -,p_column_identifier=>'N' -,p_column_label=>'Primary Subnet' -,p_column_html_expression=>'#PRIMARY_SUBNET#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065356026353233) -,p_db_column_name=>'SHAPE' -,p_display_order=>150 -,p_column_identifier=>'O' -,p_column_label=>'Shape' -,p_column_html_expression=>'#SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065437783353234) -,p_db_column_name=>'OCPUS' -,p_display_order=>160 -,p_column_identifier=>'P' -,p_column_label=>'Ocpus' -,p_column_html_expression=>'#OCPUS#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065577018353235) -,p_db_column_name=>'MEMORY_GB' -,p_display_order=>170 -,p_column_identifier=>'Q' -,p_column_label=>'Memory Gb' -,p_column_html_expression=>'#MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065672406353236) -,p_db_column_name=>'LOCAL_STORAGE_TB' -,p_display_order=>180 -,p_column_identifier=>'R' -,p_column_label=>'Local Storage Tb' -,p_column_html_expression=>'#LOCAL_STORAGE_TB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065717710353237) -,p_db_column_name=>'PUBLIC_IPS' -,p_display_order=>190 -,p_column_identifier=>'S' -,p_column_label=>'Public Ips' -,p_column_html_expression=>'#PUBLIC_IPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065806729353238) -,p_db_column_name=>'PRIVATE_IPS' -,p_display_order=>200 -,p_column_identifier=>'T' -,p_column_label=>'Private Ips' -,p_column_html_expression=>'#PRIVATE_IPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12065954388353239) -,p_db_column_name=>'SECURITY_GROUPS' -,p_display_order=>210 -,p_column_identifier=>'U' -,p_column_label=>'Security Groups' -,p_column_html_expression=>'#SECURITY_GROUPS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066077805353240) -,p_db_column_name=>'INTERNAL_FQDN' -,p_display_order=>220 -,p_column_identifier=>'V' -,p_column_label=>'Internal Fqdn' -,p_column_html_expression=>'#INTERNAL_FQDN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066114212353241) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>230 -,p_column_identifier=>'W' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066220334353242) -,p_db_column_name=>'BOOT_VOLUME' -,p_display_order=>240 -,p_column_identifier=>'X' -,p_column_label=>'Boot Volume' -,p_column_html_expression=>'#BOOT_VOLUME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066379433353243) -,p_db_column_name=>'BOOT_VOLUME_SIZE_GB' -,p_display_order=>250 -,p_column_identifier=>'Y' -,p_column_label=>'Boot Volume Size Gb' -,p_column_html_expression=>'#BOOT_VOLUME_SIZE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066457678353244) -,p_db_column_name=>'BOOT_VOLUME_B_POLICY' -,p_display_order=>260 -,p_column_identifier=>'Z' -,p_column_label=>'Boot Volume B Policy' -,p_column_html_expression=>'#BOOT_VOLUME_B_POLICY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066521471353245) -,p_db_column_name=>'BOOT_VOLUME_ENCRYPTION' -,p_display_order=>270 -,p_column_identifier=>'AA' -,p_column_label=>'Boot Volume Encryption' -,p_column_html_expression=>'#BOOT_VOLUME_ENCRYPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066622029353246) -,p_db_column_name=>'BLOCK_VOLUMES' -,p_display_order=>280 -,p_column_identifier=>'AB' -,p_column_label=>'Block Volumes' -,p_column_html_expression=>'#BLOCK_VOLUMES#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066731785353247) -,p_db_column_name=>'BLOCK_VOLUMES_TOTAL_GB' -,p_display_order=>290 -,p_column_identifier=>'AC' -,p_column_label=>'Block Volumes Total Gb' -,p_column_html_expression=>'#BLOCK_VOLUMES_TOTAL_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066805112353248) -,p_db_column_name=>'BLOCK_VOLUMES_B_POLICY' -,p_display_order=>300 -,p_column_identifier=>'AD' -,p_column_label=>'Block Volumes B Policy' -,p_column_html_expression=>'#BLOCK_VOLUMES_B_POLICY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12066904347353249) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>310 -,p_column_identifier=>'AE' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12067092475353250) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>320 -,p_column_identifier=>'AF' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12833893317172401) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>330 -,p_column_identifier=>'AG' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12833920723172402) -,p_db_column_name=>'BOOT_VOLUME_ID' -,p_display_order=>340 -,p_column_identifier=>'AH' -,p_column_label=>'Boot Volume Id' -,p_column_html_expression=>'#BOOT_VOLUME_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834073506172403) -,p_db_column_name=>'BLOCK_VOLUMES_IDS' -,p_display_order=>350 -,p_column_identifier=>'AI' -,p_column_label=>'Block Volumes Ids' -,p_column_html_expression=>'#BLOCK_VOLUMES_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12834113542172404) -,p_db_column_name=>'VNIC_IDS' -,p_display_order=>360 -,p_column_identifier=>'AJ' -,p_column_label=>'Vnic Ids' -,p_column_html_expression=>'#VNIC_IDS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(14035624857008138) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'140357' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:INSTANCE_ID:REGION_NAME:AVAILABILITY_DOMAIN:FAULT_DOMAIN:COMPARTMENT_PATH:COMPARTMENT_NAME:SERVER_NAME:STATUS:TYPE:IMAGE:PRIMARY_VCN:PRIMARY_SUBNET:SHAPE:OCPUS:MEMORY_GB:LOCAL_STORAGE_TB:PUBLIC_IPS:PRIVATE_IPS:SECURITY_GROUPS:IN' -||'TERNAL_FQDN:TIME_CREATED:BOOT_VOLUME:BOOT_VOLUME_SIZE_GB:BOOT_VOLUME_B_POLICY:BOOT_VOLUME_ENCRYPTION:BLOCK_VOLUMES:BLOCK_VOLUMES_TOTAL_GB:BLOCK_VOLUMES_B_POLICY:DEFINED_TAGS:FREEFORM_TAGS:EXTRACT_DATE:BOOT_VOLUME_ID:BLOCK_VOLUMES_IDS:VNIC_IDS' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(12835987976172422) -,p_plug_name=>'OCI_SHOWOCI_OPEN_SEARCH' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>660 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_OPEN_SEARCH' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_OPEN_SEARCH)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_OPEN_SEARCH' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_OPEN_SEARCH' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(12836057701172423) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>12836057701172423 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836184034172424) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836207982172425) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836325119172426) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836483412172427) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836572813172428) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836680924172429) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836769754172430) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836856112172431) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(12836946527172432) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011132001991118) -,p_db_column_name=>'SOFTWARE_VERSION' -,p_display_order=>450 -,p_column_identifier=>'P' -,p_column_label=>'Software Version' -,p_column_html_expression=>'#SOFTWARE_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011235863991119) -,p_db_column_name=>'TOTAL_STORAGE_GB' -,p_display_order=>460 -,p_column_identifier=>'Q' -,p_column_label=>'Total Storage Gb' -,p_column_html_expression=>'#TOTAL_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011339045991120) -,p_db_column_name=>'SECURITY_MODE' -,p_display_order=>470 -,p_column_identifier=>'R' -,p_column_label=>'Security Mode' -,p_column_html_expression=>'#SECURITY_MODE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011465298991121) -,p_db_column_name=>'AVAILABILITY_DOMAINS' -,p_display_order=>480 -,p_column_identifier=>'S' -,p_column_label=>'Availability Domains' -,p_column_html_expression=>'#AVAILABILITY_DOMAINS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011547769991122) -,p_db_column_name=>'OPENSEARCH_FQDN' -,p_display_order=>490 -,p_column_identifier=>'T' -,p_column_label=>'Opensearch Fqdn' -,p_column_html_expression=>'#OPENSEARCH_FQDN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011662828991123) -,p_db_column_name=>'OPENSEARCH_PRIVATE_IP' -,p_display_order=>500 -,p_column_identifier=>'U' -,p_column_label=>'Opensearch Private Ip' -,p_column_html_expression=>'#OPENSEARCH_PRIVATE_IP#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011789156991124) -,p_db_column_name=>'OPENDASHBOARD_FQDN' -,p_display_order=>510 -,p_column_identifier=>'V' -,p_column_label=>'Opendashboard Fqdn' -,p_column_html_expression=>'#OPENDASHBOARD_FQDN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011814836991125) -,p_db_column_name=>'OPENDASHBOARD_PRIVATE_IP' -,p_display_order=>520 -,p_column_identifier=>'W' -,p_column_label=>'Opendashboard Private Ip' -,p_column_html_expression=>'#OPENDASHBOARD_PRIVATE_IP#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011946315991126) -,p_db_column_name=>'MASTER_NODE_COUNT' -,p_display_order=>530 -,p_column_identifier=>'X' -,p_column_label=>'Master Node Count' -,p_column_html_expression=>'#MASTER_NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012004695991127) -,p_db_column_name=>'MASTER_NODE_HOST_TYPE' -,p_display_order=>540 -,p_column_identifier=>'Y' -,p_column_label=>'Master Node Host Type' -,p_column_html_expression=>'#MASTER_NODE_HOST_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012192869991128) -,p_db_column_name=>'MASTER_NODE_HOST_BARE_METAL_SHAPE' -,p_display_order=>550 -,p_column_identifier=>'Z' -,p_column_label=>'Master Node Host Bare Metal Shape' -,p_column_html_expression=>'#MASTER_NODE_HOST_BARE_METAL_SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012242119991129) -,p_db_column_name=>'MASTER_NODE_HOST_OCPU_COUNT' -,p_display_order=>560 -,p_column_identifier=>'AA' -,p_column_label=>'Master Node Host Ocpu Count' -,p_column_html_expression=>'#MASTER_NODE_HOST_OCPU_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012358571991130) -,p_db_column_name=>'MASTER_NODE_HOST_MEMORY_GB' -,p_display_order=>570 -,p_column_identifier=>'AB' -,p_column_label=>'Master Node Host Memory Gb' -,p_column_html_expression=>'#MASTER_NODE_HOST_MEMORY_GB#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012429906991131) -,p_db_column_name=>'DATA_NODE_COUNT' -,p_display_order=>580 -,p_column_identifier=>'AC' -,p_column_label=>'Data Node Count' -,p_column_html_expression=>'#DATA_NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012571002991132) -,p_db_column_name=>'DATA_NODE_HOST_TYPE' -,p_display_order=>590 -,p_column_identifier=>'AD' -,p_column_label=>'Data Node Host Type' -,p_column_html_expression=>'#DATA_NODE_HOST_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012611767991133) -,p_db_column_name=>'DATA_NODE_HOST_BARE_METAL_SHAPE' -,p_display_order=>600 -,p_column_identifier=>'AE' -,p_column_label=>'Data Node Host Bare Metal Shape' -,p_column_html_expression=>'#DATA_NODE_HOST_BARE_METAL_SHAPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012756719991134) -,p_db_column_name=>'DATA_NODE_HOST_OCPU_COUNT' -,p_display_order=>610 -,p_column_identifier=>'AF' -,p_column_label=>'Data Node Host Ocpu Count' -,p_column_html_expression=>'#DATA_NODE_HOST_OCPU_COUNT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012884581991135) -,p_db_column_name=>'DATA_NODE_HOST_MEMORY_GB' -,p_display_order=>620 -,p_column_identifier=>'AG' -,p_column_label=>'Data Node Host Memory Gb' -,p_column_html_expression=>'#DATA_NODE_HOST_MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14012968576991136) -,p_db_column_name=>'DATA_NODE_STORAGE_GB' -,p_display_order=>630 -,p_column_identifier=>'AH' -,p_column_label=>'Data Node Storage Gb' -,p_column_html_expression=>'#DATA_NODE_STORAGE_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013049005991137) -,p_db_column_name=>'OPENDASHBOARD_NODE_COUNT' -,p_display_order=>640 -,p_column_identifier=>'AI' -,p_column_label=>'Opendashboard Node Count' -,p_column_html_expression=>'#OPENDASHBOARD_NODE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013156358991138) -,p_db_column_name=>'OPENDASHBOARD_NODE_HOST_OCPU_COUNT' -,p_display_order=>650 -,p_column_identifier=>'AJ' -,p_column_label=>'Opendashboard Node Host Ocpu Count' -,p_column_html_expression=>'#OPENDASHBOARD_NODE_HOST_OCPU_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013272819991139) -,p_db_column_name=>'OPENDASHBOARD_NODE_HOST_MEMORY_GB' -,p_display_order=>660 -,p_column_identifier=>'AK' -,p_column_label=>'Opendashboard Node Host Memory Gb' -,p_column_html_expression=>'#OPENDASHBOARD_NODE_HOST_MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013372799991140) -,p_db_column_name=>'VCN_ID' -,p_display_order=>670 -,p_column_identifier=>'AL' -,p_column_label=>'Vcn Id' -,p_column_html_expression=>'#VCN_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013464903991141) -,p_db_column_name=>'VCN_NAME' -,p_display_order=>680 -,p_column_identifier=>'AM' -,p_column_label=>'Vcn Name' -,p_column_html_expression=>'#VCN_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013518442991142) -,p_db_column_name=>'VCN_COMPARTMENT_ID' -,p_display_order=>690 -,p_column_identifier=>'AN' -,p_column_label=>'Vcn Compartment Id' -,p_column_html_expression=>'#VCN_COMPARTMENT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013600249991143) -,p_db_column_name=>'SUBNET_COMPARTMENT_ID' -,p_display_order=>700 -,p_column_identifier=>'AO' -,p_column_label=>'Subnet Compartment Id' -,p_column_html_expression=>'#SUBNET_COMPARTMENT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013764360991144) -,p_db_column_name=>'SECURITY_MASTER_USER_NAME' -,p_display_order=>710 -,p_column_identifier=>'AP' -,p_column_label=>'Security Master User Name' -,p_column_html_expression=>'#SECURITY_MASTER_USER_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14013832466991145) -,p_db_column_name=>'SECURITY_MASTER_USER_PASSWORD_HASH' -,p_display_order=>720 -,p_column_identifier=>'AQ' -,p_column_label=>'Security Master User Password Hash' -,p_column_html_expression=>'#SECURITY_MASTER_USER_PASSWORD_HASH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14010550491991112) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>730 -,p_column_identifier=>'J' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14010651409991113) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>740 -,p_column_identifier=>'K' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14010755498991114) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>750 -,p_column_identifier=>'L' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14010846162991115) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>760 -,p_column_identifier=>'M' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14010944003991116) -,p_db_column_name=>'ID' -,p_display_order=>770 -,p_column_identifier=>'N' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(14011042586991117) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>780 -,p_column_identifier=>'O' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(14033908575005399) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'140340' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:SUBNET_NAME:SUBNET_ID:SOFTWARE_VERSION:TOTAL_STORAGE_GB:SECURITY_MODE:AVAILABILITY_DOMAINS:OPENSEARCH_FQDN:OPENSEARCH_PRIVATE_IP:OPENDASHBOARD_FQDN:OPENDASHBOARD' -||'_PRIVATE_IP:MASTER_NODE_COUNT:MASTER_NODE_HOST_TYPE:MASTER_NODE_HOST_BARE_METAL_SHAPE:MASTER_NODE_HOST_OCPU_COUNT:MASTER_NODE_HOST_MEMORY_GB:DATA_NODE_COUNT:DATA_NODE_HOST_TYPE:DATA_NODE_HOST_BARE_METAL_SHAPE:DATA_NODE_HOST_OCPU_COUNT:DATA_NODE_HOST_' -||'MEMORY_GB:DATA_NODE_STORAGE_GB:OPENDASHBOARD_NODE_COUNT:OPENDASHBOARD_NODE_HOST_OCPU_COUNT:OPENDASHBOARD_NODE_HOST_MEMORY_GB:VCN_ID:VCN_NAME:VCN_COMPARTMENT_ID:SUBNET_COMPARTMENT_ID:SECURITY_MASTER_USER_NAME:SECURITY_MASTER_USER_PASSWORD_HASH:TIME_CR' -||'EATED:TIME_UPDATED:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(13204911342718803) -,p_plug_name=>'OCI_SHOWOCI_DB_GOLDENGATE_DEP' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>630 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DB_GOLDENGATE_DEP' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DB_GOLDENGATE_DEP)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DB_GOLDENGATE_DEP' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DB_GOLDENGATE_DEP' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(13205030595718804) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>13205030595718804 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205129890718805) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205230924718806) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205310550718807) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205484985718808) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205528997718809) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205634192718810) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13205774273718811) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207158385718825) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>210 -,p_column_identifier=>'O' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207276554718826) -,p_db_column_name=>'LICENSE_MODEL' -,p_display_order=>220 -,p_column_identifier=>'P' -,p_column_label=>'License Model' -,p_column_html_expression=>'#LICENSE_MODEL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207304334718827) -,p_db_column_name=>'FQDN' -,p_display_order=>230 -,p_column_identifier=>'Q' -,p_column_label=>'Fqdn' -,p_column_html_expression=>'#FQDN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207405613718828) -,p_db_column_name=>'CPU_CORE_COUNT' -,p_display_order=>240 -,p_column_identifier=>'R' -,p_column_label=>'Cpu Core Count' -,p_column_html_expression=>'#CPU_CORE_COUNT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207508079718829) -,p_db_column_name=>'IS_AUTO_SCALING_ENABLED' -,p_display_order=>250 -,p_column_identifier=>'S' -,p_column_label=>'Is Auto Scaling Enabled' -,p_column_html_expression=>'#IS_AUTO_SCALING_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207611405718830) -,p_db_column_name=>'IS_PUBLIC' -,p_display_order=>260 -,p_column_identifier=>'T' -,p_column_label=>'Is Public' -,p_column_html_expression=>'#IS_PUBLIC#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207792772718831) -,p_db_column_name=>'PUBLIC_IP_ADDRESS' -,p_display_order=>270 -,p_column_identifier=>'U' -,p_column_label=>'Public Ip Address' -,p_column_html_expression=>'#PUBLIC_IP_ADDRESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207855720718832) -,p_db_column_name=>'PRIVATE_IP_ADDRESS' -,p_display_order=>280 -,p_column_identifier=>'V' -,p_column_label=>'Private Ip Address' -,p_column_html_expression=>'#PRIVATE_IP_ADDRESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207940450718833) -,p_db_column_name=>'DEPLOYMENT_URL' -,p_display_order=>290 -,p_column_identifier=>'W' -,p_column_label=>'Deployment Url' -,p_column_html_expression=>'#DEPLOYMENT_URL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208030579718834) -,p_db_column_name=>'IS_LATEST_VERSION' -,p_display_order=>300 -,p_column_identifier=>'X' -,p_column_label=>'Is Latest Version' -,p_column_html_expression=>'#IS_LATEST_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208114854718835) -,p_db_column_name=>'DEPLOYMENT_TYPE' -,p_display_order=>310 -,p_column_identifier=>'Y' -,p_column_label=>'Deployment Type' -,p_column_html_expression=>'#DEPLOYMENT_TYPE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13207016082718824) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>320 -,p_column_identifier=>'N' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206494275718818) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>330 -,p_column_identifier=>'H' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206538240718819) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>340 -,p_column_identifier=>'I' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206607728718820) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>350 -,p_column_identifier=>'J' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206720022718821) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>360 -,p_column_identifier=>'K' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206893321718822) -,p_db_column_name=>'ID' -,p_display_order=>370 -,p_column_identifier=>'L' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13206940812718823) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>380 -,p_column_identifier=>'M' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(13258970804775787) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'132590' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:SUBNET_NAME:LICENSE_MODEL:FQDN:CPU_CORE_COUNT:IS_AUTO_SCALING_ENABLED:IS_PUBLIC:PUBLIC_IP_ADDRESS:PRIVATE_IP_ADDRESS:DEPLOYMENT_URL:IS_LATEST_VERSION:DEPLOYMENT_' -||'TYPE:SUBNET_ID:TIME_CREATED:TIME_UPDATED:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(13208263337718836) -,p_plug_name=>'OCI_SHOWOCI_NETWORK_FIREWALL' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>640 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_NETWORK_FIREWALL' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_NETWORK_FIREWALL)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_NETWORK_FIREWALL' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_NETWORK_FIREWALL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(13208310694718837) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>13208310694718837 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208468343718838) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208533675718839) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208659146718840) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208784259718841) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208848222718842) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13208904416718843) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13209082477718844) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13209172773718845) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210224050725506) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>190 -,p_column_identifier=>'I' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210903063725513) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>260 -,p_column_identifier=>'P' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211022540725514) -,p_db_column_name=>'IPV4_ADDRESS' -,p_display_order=>270 -,p_column_identifier=>'Q' -,p_column_label=>'Ipv4 Address' -,p_column_html_expression=>'#IPV4_ADDRESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211130429725515) -,p_db_column_name=>'IPV6_ADDRESS' -,p_display_order=>280 -,p_column_identifier=>'R' -,p_column_label=>'Ipv6 Address' -,p_column_html_expression=>'#IPV6_ADDRESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211281351725516) -,p_db_column_name=>'NETWORK_FIREWALL_POLICY_ID' -,p_display_order=>290 -,p_column_identifier=>'S' -,p_column_label=>'Network Firewall Policy Id' -,p_column_html_expression=>'#NETWORK_FIREWALL_POLICY_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211337305725517) -,p_db_column_name=>'NETWORK_FIREWALL_POLICY_NAME' -,p_display_order=>300 -,p_column_identifier=>'T' -,p_column_label=>'Network Firewall Policy Name' -,p_column_html_expression=>'#NETWORK_FIREWALL_POLICY_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210312940725507) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>310 -,p_column_identifier=>'J' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210455132725508) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>320 -,p_column_identifier=>'K' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210572535725509) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>330 -,p_column_identifier=>'L' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210615723725510) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>340 -,p_column_identifier=>'M' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210716595725511) -,p_db_column_name=>'ID' -,p_display_order=>350 -,p_column_identifier=>'N' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13210860758725512) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>360 -,p_column_identifier=>'O' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(13255662482747886) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'132557' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:SUBNET_NAME:SUBNET_ID:AVAILABILITY_DOMAIN:IPV4_ADDRESS:IPV6_ADDRESS:NETWORK_FIREWALL_POLICY_ID:NETWORK_FIREWALL_POLICY_NAME:TIME_CREATED:TIME_UPDATED:FREEFORM_TA' -||'GS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(13211401818725518) -,p_plug_name=>'OCI_SHOWOCI_DB_MYSQL' -,p_region_name=>'report' -,p_region_template_options=>'#DEFAULT#:t-Region--accent15:t-Region--scrollBody' -,p_component_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>650 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_query_type=>'TABLE' -,p_query_table=>'OCI_SHOWOCI_DB_MYSQL' -,p_query_where=>'(:P11_EXTRACT is null or EXTRACT_DATE = (select max(extract_date) from OCI_SHOWOCI_DB_MYSQL)) ' -,p_include_rowid_column=>false -,p_plug_source_type=>'NATIVE_IR' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' -,p_plug_display_when_condition=>'P11_TABLE' -,p_plug_display_when_cond2=>'OCI_SHOWOCI_DB_MYSQL' -,p_prn_content_disposition=>'ATTACHMENT' -,p_prn_units=>'INCHES' -,p_prn_paper_size=>'LETTER' -,p_prn_width=>11 -,p_prn_height=>8.5 -,p_prn_orientation=>'HORIZONTAL' -,p_prn_page_header=>'OCI_SHOWOCI_DB_MYSQL' -,p_prn_page_header_font_color=>'#000000' -,p_prn_page_header_font_family=>'Helvetica' -,p_prn_page_header_font_weight=>'normal' -,p_prn_page_header_font_size=>'12' -,p_prn_page_footer_font_color=>'#000000' -,p_prn_page_footer_font_family=>'Helvetica' -,p_prn_page_footer_font_weight=>'normal' -,p_prn_page_footer_font_size=>'12' -,p_prn_header_bg_color=>'#EEEEEE' -,p_prn_header_font_color=>'#000000' -,p_prn_header_font_family=>'Helvetica' -,p_prn_header_font_weight=>'bold' -,p_prn_header_font_size=>'10' -,p_prn_body_bg_color=>'#FFFFFF' -,p_prn_body_font_color=>'#000000' -,p_prn_body_font_family=>'Helvetica' -,p_prn_body_font_weight=>'normal' -,p_prn_body_font_size=>'10' -,p_prn_border_width=>.5 -,p_prn_page_header_alignment=>'CENTER' -,p_prn_page_footer_alignment=>'CENTER' -,p_prn_border_color=>'#666666' -); -end; -/ -begin -wwv_flow_imp_page.create_worksheet( - p_id=>wwv_flow_imp.id(13211509695725519) -,p_max_row_count=>'1000000' -,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' -,p_pagination_display_pos=>'BOTTOM_RIGHT' -,p_report_list_mode=>'TABS' -,p_lazy_loading=>false -,p_show_detail_link=>'N' -,p_show_notify=>'Y' -,p_download_formats=>'CSV:HTML:XLSX:PDF' -,p_enable_mail_download=>'Y' -,p_owner=>'ADIZOHAR' -,p_internal_uid=>13211509695725519 -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211659807725520) -,p_db_column_name=>'TENANT_NAME' -,p_display_order=>10 -,p_column_identifier=>'A' -,p_column_label=>'Tenant Name' -,p_column_html_expression=>'#TENANT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211715523725521) -,p_db_column_name=>'TENANT_ID' -,p_display_order=>20 -,p_column_identifier=>'B' -,p_column_label=>'Tenant Id' -,p_column_html_expression=>'#TENANT_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211885150725522) -,p_db_column_name=>'REGION_NAME' -,p_display_order=>30 -,p_column_identifier=>'C' -,p_column_label=>'Region Name' -,p_column_html_expression=>'#REGION_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13211928991725523) -,p_db_column_name=>'COMPARTMENT_NAME' -,p_display_order=>40 -,p_column_identifier=>'D' -,p_column_label=>'Compartment Name' -,p_column_html_expression=>'#COMPARTMENT_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212038041725524) -,p_db_column_name=>'COMPARTMENT_PATH' -,p_display_order=>50 -,p_column_identifier=>'E' -,p_column_label=>'Compartment Path' -,p_column_html_expression=>'#COMPARTMENT_PATH#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212111691725525) -,p_db_column_name=>'NAME' -,p_display_order=>60 -,p_column_identifier=>'F' -,p_column_label=>'Name' -,p_column_html_expression=>'#NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212253072725526) -,p_db_column_name=>'LIFECYCLE_STATE' -,p_display_order=>70 -,p_column_identifier=>'G' -,p_column_label=>'Lifecycle State' -,p_column_html_expression=>'#LIFECYCLE_STATE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212323302725527) -,p_db_column_name=>'SUBNET_NAME' -,p_display_order=>80 -,p_column_identifier=>'H' -,p_column_label=>'Subnet Name' -,p_column_html_expression=>'#SUBNET_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212436639725528) -,p_db_column_name=>'SUBNET_ID' -,p_display_order=>90 -,p_column_identifier=>'I' -,p_column_label=>'Subnet Id' -,p_column_html_expression=>'#SUBNET_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13212538918725529) -,p_db_column_name=>'AVAILABILITY_DOMAIN' -,p_display_order=>100 -,p_column_identifier=>'J' -,p_column_label=>'Availability Domain' -,p_column_html_expression=>'#AVAILABILITY_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213676629725540) -,p_db_column_name=>'DESCRIPTION' -,p_display_order=>210 -,p_column_identifier=>'Q' -,p_column_label=>'Description' -,p_column_html_expression=>'#DESCRIPTION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213718449725541) -,p_db_column_name=>'IS_HIGHLY_AVAILABLE' -,p_display_order=>220 -,p_column_identifier=>'R' -,p_column_label=>'Is Highly Available' -,p_column_html_expression=>'#IS_HIGHLY_AVAILABLE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213814895725542) -,p_db_column_name=>'CURRENT_PLACEMENT' -,p_display_order=>230 -,p_column_identifier=>'S' -,p_column_label=>'Current Placement' -,p_column_html_expression=>'#CURRENT_PLACEMENT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213969513725543) -,p_db_column_name=>'IS_ANALYTICS_CLUSTER_ATTACHED' -,p_display_order=>240 -,p_column_identifier=>'T' -,p_column_label=>'Is Analytics Cluster Attached' -,p_column_html_expression=>'#IS_ANALYTICS_CLUSTER_ATTACHED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214077469725544) -,p_db_column_name=>'ANALYTICS_CLUSTER' -,p_display_order=>250 -,p_column_identifier=>'U' -,p_column_label=>'Analytics Cluster' -,p_column_html_expression=>'#ANALYTICS_CLUSTER#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214153622725545) -,p_db_column_name=>'IS_HEAT_WAVE_CLUSTER_ATTACHED' -,p_display_order=>260 -,p_column_identifier=>'V' -,p_column_label=>'Is Heat Wave Cluster Attached' -,p_column_html_expression=>'#IS_HEAT_WAVE_CLUSTER_ATTACHED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214260234725546) -,p_db_column_name=>'HEAT_WAVE_CLUSTER' -,p_display_order=>270 -,p_column_identifier=>'W' -,p_column_label=>'Heat Wave Cluster' -,p_column_html_expression=>'#HEAT_WAVE_CLUSTER#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214392268725547) -,p_db_column_name=>'FAULT_DOMAIN' -,p_display_order=>280 -,p_column_identifier=>'X' -,p_column_label=>'Fault Domain' -,p_column_html_expression=>'#FAULT_DOMAIN#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214426307725548) -,p_db_column_name=>'ENDPOINTS' -,p_display_order=>290 -,p_column_identifier=>'Y' -,p_column_label=>'Endpoints' -,p_column_html_expression=>'#ENDPOINTS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214517964725549) -,p_db_column_name=>'ENDPOINTS_TEXT' -,p_display_order=>300 -,p_column_identifier=>'Z' -,p_column_label=>'Endpoints Text' -,p_column_html_expression=>'#ENDPOINTS_TEXT#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214643707725550) -,p_db_column_name=>'MYSQL_VERSION' -,p_display_order=>310 -,p_column_identifier=>'AA' -,p_column_label=>'Mysql Version' -,p_column_html_expression=>'#MYSQL_VERSION#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214733761730301) -,p_db_column_name=>'DELETION_POLICY' -,p_display_order=>320 -,p_column_identifier=>'AB' -,p_column_label=>'Deletion Policy' -,p_column_html_expression=>'#DELETION_POLICY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214864003730302) -,p_db_column_name=>'SHAPE_NAME' -,p_display_order=>330 -,p_column_identifier=>'AC' -,p_column_label=>'Shape Name' -,p_column_html_expression=>'#SHAPE_NAME#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13214995390730303) -,p_db_column_name=>'SHAPE_OCPU' -,p_display_order=>340 -,p_column_identifier=>'AD' -,p_column_label=>'Shape Ocpu' -,p_column_html_expression=>'#SHAPE_OCPU#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215087951730304) -,p_db_column_name=>'SHAPE_MEMORY_GB' -,p_display_order=>350 -,p_column_identifier=>'AE' -,p_column_label=>'Shape Memory Gb' -,p_column_html_expression=>'#SHAPE_MEMORY_GB#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215141374730305) -,p_db_column_name=>'CRASH_RECOVERY' -,p_display_order=>360 -,p_column_identifier=>'AF' -,p_column_label=>'Crash Recovery' -,p_column_html_expression=>'#CRASH_RECOVERY#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215298012730306) -,p_db_column_name=>'BACKUP_IS_ENABLED' -,p_display_order=>370 -,p_column_identifier=>'AG' -,p_column_label=>'Backup Is Enabled' -,p_column_html_expression=>'#BACKUP_IS_ENABLED#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215325346730307) -,p_db_column_name=>'CONFIGURATION_ID' -,p_display_order=>380 -,p_column_identifier=>'AH' -,p_column_label=>'Configuration Id' -,p_column_html_expression=>'#CONFIGURATION_ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215475056730308) -,p_db_column_name=>'SOURCE' -,p_display_order=>390 -,p_column_identifier=>'AI' -,p_column_label=>'Source' -,p_column_html_expression=>'#SOURCE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215530377730309) -,p_db_column_name=>'HOSTNAME_LABEL' -,p_display_order=>400 -,p_column_identifier=>'AJ' -,p_column_label=>'Hostname Label' -,p_column_html_expression=>'#HOSTNAME_LABEL#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215621334730310) -,p_db_column_name=>'IP_ADDRESS' -,p_display_order=>410 -,p_column_identifier=>'AK' -,p_column_label=>'Ip Address' -,p_column_html_expression=>'#IP_ADDRESS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215714070730311) -,p_db_column_name=>'PORT' -,p_display_order=>420 -,p_column_identifier=>'AL' -,p_column_label=>'Port' -,p_column_html_expression=>'#PORT#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215889658730312) -,p_db_column_name=>'PORT_X' -,p_display_order=>430 -,p_column_identifier=>'AM' -,p_column_label=>'Port X' -,p_column_html_expression=>'#PORT_X#' -,p_column_type=>'NUMBER' -,p_column_alignment=>'RIGHT' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13215968156730313) -,p_db_column_name=>'CHANNELS' -,p_display_order=>440 -,p_column_identifier=>'AN' -,p_column_label=>'Channels' -,p_column_html_expression=>'#CHANNELS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13216035288730314) -,p_db_column_name=>'MAINTENANCE' -,p_display_order=>450 -,p_column_identifier=>'AO' -,p_column_label=>'Maintenance' -,p_column_html_expression=>'#MAINTENANCE#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13216189682730315) -,p_db_column_name=>'TIME_EARLIEST_RECOVERY_POINT' -,p_display_order=>460 -,p_column_identifier=>'AP' -,p_column_label=>'Time Earliest Recovery Point' -,p_column_html_expression=>'#TIME_EARLIEST_RECOVERY_POINT#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13216200443730316) -,p_db_column_name=>'TIME_LATEST_RECOVERY_POINT' -,p_display_order=>470 -,p_column_identifier=>'AQ' -,p_column_label=>'Time Latest Recovery Point' -,p_column_html_expression=>'#TIME_LATEST_RECOVERY_POINT#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13216310911730317) -,p_db_column_name=>'DATA_STORAGE_SIZE_IN_GBS' -,p_display_order=>480 -,p_column_identifier=>'AR' -,p_column_label=>'Data Storage Size In Gbs' -,p_column_html_expression=>'#DATA_STORAGE_SIZE_IN_GBS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213095075725534) -,p_db_column_name=>'TIME_CREATED' -,p_display_order=>490 -,p_column_identifier=>'K' -,p_column_label=>'Time Created' -,p_column_html_expression=>'#TIME_CREATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213132358725535) -,p_db_column_name=>'TIME_UPDATED' -,p_display_order=>500 -,p_column_identifier=>'L' -,p_column_label=>'Time Updated' -,p_column_html_expression=>'#TIME_UPDATED#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213265840725536) -,p_db_column_name=>'FREEFORM_TAGS' -,p_display_order=>510 -,p_column_identifier=>'M' -,p_column_label=>'Freeform Tags' -,p_column_html_expression=>'#FREEFORM_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213390998725537) -,p_db_column_name=>'DEFINED_TAGS' -,p_display_order=>520 -,p_column_identifier=>'N' -,p_column_label=>'Defined Tags' -,p_column_html_expression=>'#DEFINED_TAGS#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213416154725538) -,p_db_column_name=>'ID' -,p_display_order=>530 -,p_column_identifier=>'O' -,p_column_label=>'Id' -,p_column_html_expression=>'#ID#' -,p_column_type=>'STRING' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_column( - p_id=>wwv_flow_imp.id(13213572826725539) -,p_db_column_name=>'EXTRACT_DATE' -,p_display_order=>540 -,p_column_identifier=>'P' -,p_column_label=>'Extract Date' -,p_column_html_expression=>'#EXTRACT_DATE#' -,p_column_type=>'DATE' -,p_column_alignment=>'CENTER' -,p_format_mask=>'DD-MON-YYYY HH24:MI' -,p_tz_dependent=>'N' -,p_use_as_row_header=>'N' -); -wwv_flow_imp_page.create_worksheet_rpt( - p_id=>wwv_flow_imp.id(13255055691741828) -,p_application_user=>'APXWS_DEFAULT' -,p_report_seq=>10 -,p_report_alias=>'132551' -,p_status=>'PUBLIC' -,p_is_default=>'Y' -,p_report_columns=>'TENANT_NAME:TENANT_ID:REGION_NAME:COMPARTMENT_NAME:COMPARTMENT_PATH:NAME:LIFECYCLE_STATE:SUBNET_NAME:SUBNET_ID:AVAILABILITY_DOMAIN:DESCRIPTION:IS_HIGHLY_AVAILABLE:CURRENT_PLACEMENT:IS_ANALYTICS_CLUSTER_ATTACHED:ANALYTICS_CLUSTER:IS_HEAT_WAVE_CLUSTER_' -||'ATTACHED:HEAT_WAVE_CLUSTER:FAULT_DOMAIN:ENDPOINTS:ENDPOINTS_TEXT:MYSQL_VERSION:DELETION_POLICY:SHAPE_NAME:SHAPE_OCPU:SHAPE_MEMORY_GB:CRASH_RECOVERY:BACKUP_IS_ENABLED:CONFIGURATION_ID:SOURCE:HOSTNAME_LABEL:IP_ADDRESS:PORT:PORT_X:CHANNELS:MAINTENANCE:T' -||'IME_EARLIEST_RECOVERY_POINT:TIME_LATEST_RECOVERY_POINT:DATA_STORAGE_SIZE_IN_GBS:TIME_CREATED:TIME_UPDATED:FREEFORM_TAGS:DEFINED_TAGS:ID:EXTRACT_DATE' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(39290485416678465) -,p_plug_name=>'ShowOCI Tables Results' -,p_region_name=>'main' -,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader js-removeLandmark:t-Region--scrollBody' -,p_region_attributes=>'style="height:450px;background-color:#e8effa; font-weight:bold;"' -,p_plug_template=>wwv_flow_imp.id(26683353252953952) -,p_plug_display_sequence=>30 -,p_include_in_reg_disp_sel_yn=>'Y' -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_plug_display_condition_type=>'ITEM_IS_ZERO' -,p_plug_display_when_condition=>'P11_ROWS' -,p_attribute_01=>'N' -,p_attribute_02=>'HTML' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(7415941152752428) -,p_name=>'P11_EXTRACT' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(8674067451638620) -,p_prompt=>'Extract Date Filter' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>'STATIC:Show Last Extract;LAST' -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Show All Rows' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold"' -,p_begin_on_new_line=>'N' -,p_colspan=>2 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_attribute_01=>'SUBMIT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(8674132152638621) -,p_name=>'P11_TABLE' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(8674067451638620) -,p_prompt=>'ShowOCI Table' -,p_display_as=>'NATIVE_SELECT_LIST' -,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select ', -'case ', -'when t=''OCI_RESOURCES'' then ''- OCI Resources''', -'when t=''APIGW'' then ''API Gateway''', -'when t=''BLOCK_VOLUMES'' then ''Block Volumes''', -'when t=''BLOCK_VOLUMES_BACKUP'' then ''Block Volumes Backups''', -'when t=''COMPUTE'' then ''Compute Instances''', -'when t=''COMPUTE_RESERVATIONS'' then ''Compute Reservations''', -'when t=''CONTAINERS'' then ''Containers OKE''', -'when t=''CONTAINERS_NODEPOOLS'' then ''Containers Nodepools''', -'when t=''DATABASE_ALL'' then ''Database All''', -'when t=''DATABASE_BACKUPS'' then ''Database Backups''', -'when t=''DATABASE_EXA_CC_VMS'' then ''Database ExaCC VM Clusters''', -'when t=''DATABASE_EXA_CS_VMS'' then ''Database ExaCS VM Clusters''', -'when t=''DATABASE_EXA_INFRA'' then ''Database Exa Infra''', -'when t=''DATABASE_VM_BM'' then ''Database VM-BM''', -'when t=''DB_NOSQL'' then ''Database No-SQL''', -'when t=''DB_GOLDENGATE_DEP'' then ''Database Golden Gate Deployment''', -'when t=''DB_MYSQL'' then ''Database MySQL''', -'when t=''DATABASES'' then ''Databases''', -'when t=''DATABASES_ADB'' then ''Databases Autonomous''', -'when t=''FILE_STORAGE'' then ''File Storage''', -'when t=''LB_BACKENDSET'' then ''Load Balancer Backendset''', -'when t=''LB_LISTENERS'' then ''Load Balancer Listeners''', -'when t=''NETWORK_DHCP_OPTIONS'' then ''Network DHCP Options''', -'when t=''NETWORK_DRG_IPSEC'' then ''Network DRG IPSec''', -'when t=''NETWORK_DRG_VC'' then ''Network DRG Virtual Circuit''', -'when t=''NETWORK_DRGS'' then ''Network DRGs''', -'when t=''NETWORK_ROUTES'' then ''Network Routes''', -'when t=''NETWORK_SECGROUPS_RULES'' then ''Network Security Groups Rules''', -'when t=''NETWORK_SECLIST_RULES'' then ''Network Security List Rules''', -'when t=''NETWORK_SUBNET'' then ''Network Subnets''', -'when t=''NETWORK_SUBNET_PRV_IPS'' then ''Network Private IPs''', -'when t=''NETWORK_VCN'' then ''Network VCNs''', -'when t=''NETWORK_FIREWALL'' then ''Network Firewalls''', -'when t=''OAC'' then ''Oracle Analytics''', -'when t=''OBJECT_STORAGE'' then ''Object Storage''', -'when t=''OCE'' then ''Oracle Content Experience''', -'when t=''OIC'' then ''Oracle Integration''', -'when t=''DIGITAL_ASSISTANCE'' then ''Digital Assistance''', -'when t=''BIG_DATA'' then ''Big Data''', -'when t=''DATA_FLOW'' then ''Data Flow''', -'when t=''DATA_CATALOG'' then ''Data Catalog''', -'when t=''DATA_CONN_REGISTRY'' then ''Data Connection Registry''', -'when t=''DATA_SCIENCE'' then ''Data Science''', -'when t=''DATA_INTEGRATION'' then ''Data Integration''', -'when t=''DEVOPS'' then ''DevOPS''', -'when t=''STREAMS_QUEUES'' then ''Streams and Queues''', -'when t=''WAF'' then ''Web Application Firewall''', -'when t=''HEALTHCHECKS'' then ''Healthchecks''', -'when t=''DNS_STEERING_POL'' then ''DNS Steering Policy''', -'when t=''IAM_COMPARTMENTS'' then ''Compartments''', -'when t=''SECURITY_BASTIONS'' then ''Security Bastions''', -'when t=''SECURITY_CLOUDGUARD'' then ''Security Cloud Guards''', -'when t=''SECURITY_LOGGINGS'' then ''Security Loggings''', -'when t=''SECURITY_KMS_VAULTS'' then ''Security KMS Vaults''', -'when t=''LIMITS'' then ''Tenant Limits''', -'when t=''QUOTAS'' then ''Tenant Quotas''', -'when t=''MONITOR_AGENTS'' then ''Monitoring Agents''', -'when t=''MONITOR_EVENTS'' then ''Monitoring Events''', -'when t=''MONITOR_DB_MANAGEMENT'' then ''Monitoring DB Management''', -'when t=''MONITOR_ALARMS'' then ''Monitoring Alarms''', -'when t=''MONITOR_NOTIFICATIONS'' then ''Monitoring Notifications''', -'when t=''VISUAL_BUILDER'' then ''Visual Builder''', -'when t=''OPEN_SEARCH'' then ''Open Search''', -'else table_name end d, table_name r', -'from ', -'(', -' select replace(table_name,''OCI_SHOWOCI_'','''') t, table_name ', -' from user_tables ', -' where ', -' (table_name like ''OCI_SHOWOCI%'' and table_name not like ''%_TMP'')', -' or table_name = ''OCI_RESOURCES''', -')', -'order by 1')) -,p_lov_display_null=>'YES' -,p_lov_null_text=>'Please Select Table' -,p_cHeight=>1 -,p_tag_attributes=>'style="background-color:#d0ffff; font-weight:bold"' -,p_colspan=>3 -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_lov_display_extra=>'YES' -,p_attribute_01=>'SUBMIT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(8674279930638622) -,p_name=>'P11_ROWS' -,p_item_sequence=>10 -,p_display_as=>'NATIVE_HIDDEN' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(10440160072220922) -,p_name=>'P11_INFO' -,p_item_sequence=>40 -,p_item_plug_id=>wwv_flow_imp.id(39290485416678465) -,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( -'ShowOCI CSV tables to ADW was not enabled !

    ', -'Please visit How To Manual

    ')) -,p_source_type=>'STATIC' -,p_display_as=>'NATIVE_DISPLAY_ONLY' -,p_tag_attributes=>'style="font-weight:bold;font-size:13pt"' -,p_field_template=>wwv_flow_imp.id(26738339406954019) -,p_item_template_options=>'#DEFAULT#' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -,p_attribute_04=>'N' -,p_attribute_05=>'HTML' -); -wwv_flow_imp_page.create_page_computation( - p_id=>wwv_flow_imp.id(8674356735638623) -,p_computation_sequence=>10 -,p_computation_item=>'P11_ROWS' -,p_computation_point=>'BEFORE_BOX_BODY' -,p_computation_type=>'QUERY' -,p_computation=>wwv_flow_string.join(wwv_flow_t_varchar2( -'select count(*)', -'from user_tables', -'where ', -' table_name like ''OCI_SHOWOCI%'' and ', -' table_name not like ''%_TMP''', -'', -'')) -); -end; -/ -prompt --application/pages/page_09999 -begin -wwv_flow_imp_page.create_page( - p_id=>9999 -,p_name=>'Login Page' -,p_alias=>'LOGIN_DESKTOP' -,p_step_title=>'OCI Usage and Cost Report - Sign In' -,p_warn_on_unsaved_changes=>'N' -,p_first_item=>'AUTO_FIRST_ITEM' -,p_autocomplete_on_off=>'OFF' -,p_step_template=>wwv_flow_imp.id(26639724786953887) -,p_page_template_options=>'#DEFAULT#' -,p_page_is_public_y_n=>'Y' -,p_page_component_map=>'12' -,p_last_updated_by=>'USAGE' -,p_last_upd_yyyymmddhh24miss=>'20211025135602' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26767708128954240) -,p_plug_name=>'OCI Usage and Cost Report' -,p_icon_css_classes=>'app-icon' -,p_region_template_options=>'#DEFAULT#' -,p_plug_template=>wwv_flow_imp.id(26682905064953952) -,p_plug_display_sequence=>10 -,p_plug_query_options=>'DERIVED_REPORT_COLUMNS' -,p_attribute_01=>'N' -,p_attribute_02=>'TEXT' -,p_attribute_03=>'Y' -); -wwv_flow_imp_page.create_page_plug( - p_id=>wwv_flow_imp.id(26772377427954290) -,p_plug_name=>'Language Selector' -,p_parent_plug_id=>wwv_flow_imp.id(26767708128954240) -,p_region_template_options=>'#DEFAULT#' -,p_component_template_options=>'#DEFAULT#' -,p_escape_on_http_output=>'Y' -,p_plug_template=>wwv_flow_imp.id(26658184993953922) -,p_plug_display_sequence=>20 -,p_plug_display_point=>'SUB_REGIONS' -,p_plug_source=>'apex_lang.emit_language_selector_list;' -,p_plug_source_type=>'NATIVE_PLSQL' -,p_plug_query_num_rows=>15 -); -wwv_flow_imp_page.create_page_button( - p_id=>wwv_flow_imp.id(26770443038954275) -,p_button_sequence=>40 -,p_button_plug_id=>wwv_flow_imp.id(26767708128954240) -,p_button_name=>'LOGIN' -,p_button_action=>'SUBMIT' -,p_button_template_options=>'#DEFAULT#' -,p_button_template_id=>wwv_flow_imp.id(26739430162954028) -,p_button_is_hot=>'Y' -,p_button_image_alt=>'Sign In' -,p_button_position=>'NEXT' -,p_button_alignment=>'LEFT' -,p_grid_new_row=>'Y' -,p_grid_new_column=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26768079484954256) -,p_name=>'P9999_USERNAME' -,p_item_sequence=>10 -,p_item_plug_id=>wwv_flow_imp.id(26767708128954240) -,p_prompt=>'username' -,p_placeholder=>'username' -,p_display_as=>'NATIVE_TEXT_FIELD' -,p_cSize=>40 -,p_cMaxlength=>100 -,p_label_alignment=>'RIGHT' -,p_field_template=>wwv_flow_imp.id(26738065423954016) -,p_item_icon_css_classes=>'fa-user' -,p_item_template_options=>'#DEFAULT#' -,p_is_persistent=>'N' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'N' -,p_attribute_02=>'N' -,p_attribute_03=>'N' -,p_attribute_04=>'TEXT' -,p_attribute_05=>'NONE' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26768428304954261) -,p_name=>'P9999_PASSWORD' -,p_item_sequence=>20 -,p_item_plug_id=>wwv_flow_imp.id(26767708128954240) -,p_prompt=>'password' -,p_placeholder=>'password' -,p_display_as=>'NATIVE_PASSWORD' -,p_cSize=>40 -,p_cMaxlength=>100 -,p_label_alignment=>'RIGHT' -,p_field_template=>wwv_flow_imp.id(26738065423954016) -,p_item_icon_css_classes=>'fa-key' -,p_item_template_options=>'#DEFAULT#' -,p_is_persistent=>'N' -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'Y' -); -wwv_flow_imp_page.create_page_item( - p_id=>wwv_flow_imp.id(26769515994954270) -,p_name=>'P9999_REMEMBER' -,p_item_sequence=>30 -,p_item_plug_id=>wwv_flow_imp.id(26767708128954240) -,p_prompt=>'Remember username' -,p_display_as=>'NATIVE_CHECKBOX' -,p_named_lov=>'LOGIN_REMEMBER_USERNAME' -,p_lov=>'.'||wwv_flow_imp.id(26768795595954263)||'.' -,p_label_alignment=>'RIGHT' -,p_field_template=>wwv_flow_imp.id(26738065423954016) -,p_item_template_options=>'#DEFAULT#' -,p_is_persistent=>'N' -,p_lov_display_extra=>'NO' -,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2( -'

    ', -'If you select this checkbox, the application will save your username in a persistent browser cookie named "LOGIN_USERNAME_COOKIE".', -'When you go to the login page the next time,', -'the username field will be automatically populated with this value.', -'

    ', -'

    ', -'If you deselect this checkbox and your username is already saved in the cookie,', -'the application will overwrite it with an empty value.', -'You can also use your browser''s developer tools to completely remove the cookie.', -'

    ')) -,p_encrypt_session_state_yn=>'N' -,p_attribute_01=>'1' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(26771211800954287) -,p_process_sequence=>10 -,p_process_point=>'AFTER_SUBMIT' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'Set Username Cookie' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'apex_authentication.send_login_username_cookie (', -' p_username => lower(:P9999_USERNAME),', -' p_consent => :P9999_REMEMBER = ''Y'' );')) -,p_process_clob_language=>'PLSQL' -,p_error_display_location=>'INLINE_IN_NOTIFICATION' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(26770874625954282) -,p_process_sequence=>20 -,p_process_point=>'AFTER_SUBMIT' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'Login' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -'apex_authentication.login(', -' p_username => :P9999_USERNAME,', -' p_password => :P9999_PASSWORD );')) -,p_process_clob_language=>'PLSQL' -,p_error_display_location=>'INLINE_IN_NOTIFICATION' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(26772045256954288) -,p_process_sequence=>30 -,p_process_point=>'AFTER_SUBMIT' -,p_process_type=>'NATIVE_SESSION_STATE' -,p_process_name=>'Clear Page(s) Cache' -,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE' -,p_error_display_location=>'INLINE_IN_NOTIFICATION' -); -wwv_flow_imp_page.create_page_process( - p_id=>wwv_flow_imp.id(26771612101954288) -,p_process_sequence=>10 -,p_process_point=>'BEFORE_HEADER' -,p_process_type=>'NATIVE_PLSQL' -,p_process_name=>'Get Username Cookie' -,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( -':P9999_USERNAME := apex_authentication.get_login_username_cookie;', -':P9999_REMEMBER := case when :P9999_USERNAME is not null then ''Y'' end;')) -,p_process_clob_language=>'PLSQL' -); -end; -/ -prompt --application/end_environment -begin -wwv_flow_imp.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false)); -commit; -end; -/ -set verify on feedback on define on -prompt ...done diff --git a/examples/usage_reports_to_adw/example_database_queries.sql b/examples/usage_reports_to_adw/example_database_queries.sql deleted file mode 100644 index be2b011bd6..0000000000 --- a/examples/usage_reports_to_adw/example_database_queries.sql +++ /dev/null @@ -1,335 +0,0 @@ --- Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. --- This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - ---------------------------------------------------------------------- --- Current State - CPU per Service ---------------------------------------------------------------------- -with last_date as -( - select distinct USAGE_INTERVAL_START - from - ( - select USAGE_INTERVAL_START, dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn - from oci_usage - where - -- tenant_name=:PARAM_TENANT_NAME and - USAGE_INTERVAL_START >= sysdate-14 - ) where rn=2 -) -select - to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') DATE_TIME, - prd_service, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY -from oci_usage -where - -- tenant_name = :PARAM_TENANT_NAME and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%' and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START = (select USAGE_INTERVAL_START from last_date) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='OCPUS' -group by - prd_service, to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') -order by 3 desc; - ---------------------------------------------------------------------- --- Current State - CPU per Service ---------------------------------------------------------------------- -with last_date as -( - select distinct USAGE_INTERVAL_START - from - ( - select USAGE_INTERVAL_START, dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn - from oci_usage - where - -- tenant_name=:PARAM_TENANT_NAME and - USAGE_INTERVAL_START >= sysdate-14 - ) where rn=2 -) -select - to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') DATE_TIME, - prd_service, - round(sum( - case - when USG_CONSUMED_UNITS = 'KB' then USG_BILLED_QUANTITY/1000/1000/1000 - when USG_CONSUMED_UNITS = 'MB' then USG_BILLED_QUANTITY/1000/1000 - when USG_CONSUMED_UNITS = 'GB' then USG_BILLED_QUANTITY/1000 - when USG_CONSUMED_UNITS = 'TB' then USG_BILLED_QUANTITY - end - ),2) as USG_BILLED_QUANTITY -from -( - select - usage_interval_start, - prd_service, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY, - case when USG_CONSUMED_UNITS like '%MS%' - then replace(replace(USG_CONSUMED_UNITS,'MS',''),'_','') - else USG_CONSUMED_UNITS - end as USG_CONSUMED_UNITS - from oci_usage - where - -- tenant_name = :PARAM_TENANT_NAME and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%' and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START = (select USAGE_INTERVAL_START from last_date) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='STORAGE_SIZE' - group by - prd_service, - USG_CONSUMED_UNITS, - usage_interval_start -) -group by prd_service, to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') -order by 3 desc; - ---------------------------------------------------------------------- --- Current State - Chart per Compartment ---------------------------------------------------------------------- -with last_date as -( - select distinct USAGE_INTERVAL_START - from - ( - select USAGE_INTERVAL_START, dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn - from oci_usage - where - -- tenant_name=:PARAM_TENANT_NAME and - USAGE_INTERVAL_START >= sysdate-14 - ) where rn=2 -) -select - to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') DATE_TIME, - prd_compartment_name, - prd_service, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY -from - oci_usage -where - -- tenant_name = :PARAM_TENANT_NAME and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%' and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START = (select USAGE_INTERVAL_START from last_date) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='OCPUS' -group by - prd_compartment_name, prd_service, to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') -order by 4 desc; - ---------------------------------------------------------------------- --- Current State - Storage Per Service in TB ---------------------------------------------------------------------- -with last_date as -( - select distinct USAGE_INTERVAL_START - from - ( - select USAGE_INTERVAL_START, dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn - from oci_usage - where - -- tenant_name=:PARAM_TENANT_NAME and - USAGE_INTERVAL_START >= sysdate-14 - ) where rn=2 -) -select - to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') DATE_TIME, - prd_compartment_name, - prd_service, - round(sum( - case - when USG_CONSUMED_UNITS = 'KB' then USG_BILLED_QUANTITY/1000/1000/1000 - when USG_CONSUMED_UNITS = 'MB' then USG_BILLED_QUANTITY/1000/1000 - when USG_CONSUMED_UNITS = 'GB' then USG_BILLED_QUANTITY/1000 - when USG_CONSUMED_UNITS = 'TB' then USG_BILLED_QUANTITY - end - ),2) as USG_BILLED_QUANTITY -from -( - select - prd_compartment_name, - prd_service, - usage_interval_start, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY, - case when USG_CONSUMED_UNITS like '%MS%' - then replace(replace(USG_CONSUMED_UNITS,'MS',''),'_','') - else USG_CONSUMED_UNITS - end as USG_CONSUMED_UNITS - from - oci_usage - where - -- tenant_name = :PARAM_TENANT_NAME and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%' and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START = (select USAGE_INTERVAL_START from last_date) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='STORAGE_SIZE' - group by - prd_compartment_name, - prd_service, - USG_CONSUMED_UNITS, - usage_interval_start -) -group by prd_compartment_name, prd_service, to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') -order by 4 desc - ---------------------------------------------------------------------- --- Current State - list ---------------------------------------------------------------------- -with last_date as -( - select distinct USAGE_INTERVAL_START - from - ( - select USAGE_INTERVAL_START, dense_rank() over (partition by null order by USAGE_INTERVAL_START desc) rn - from oci_usage - where - -- tenant_name=:PARAM_TENANT_NAME and - USAGE_INTERVAL_START >= sysdate-14 - ) where rn=2 -) -select - to_char(usage_interval_start,'DD-MON-YYYY HH24:MI') DATE_TIME, - prd_compartment_path, - prd_compartment_name, - prd_region, - prd_service, - prd_resource, - USAGE_INTERVAL_START, - USAGE_INTERVAL_END, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY, - case when USG_CONSUMED_UNITS like '%MS%' - then replace(replace(USG_CONSUMED_UNITS,'MS',''),'_','') - else USG_CONSUMED_UNITS - end as USG_CONSUMED_UNITS, - USG_CONSUMED_MEASURE -from - oci_usage -where - -- tenant_name = :PARAM_TENANT_NAME and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%' and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START = (select USAGE_INTERVAL_START from last_date) and - USG_BILLED_QUANTITY>0 -group by - prd_compartment_path, - prd_compartment_name, - prd_region, - prd_service, - prd_resource, - USG_CONSUMED_UNITS, - USG_CONSUMED_MEASURE, - USAGE_INTERVAL_START, - USAGE_INTERVAL_END -order by 1,2,3,4,5 - - ---------------------------------------------------------------------- --- CPUs over time ---------------------------------------------------------------------- - -select - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD HH24:MI') USAGE_INTERVAL_START, - prd_service, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY -from - oci_usage -where - -- tenant_name=:PARAM_TENANT and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%') and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START >= add_months(sysdate,0-12) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='OCPUS' -group by - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD HH24:MI'), - prd_service -order by 2 desc; - ---------------------------------------------------------------------- --- Usage over Time ---------------------------------------------------------------------- -select - USAGE_INTERVAL_START, - prd_service, - round(sum( - case - when USG_CONSUMED_UNITS = 'KB' then USG_BILLED_QUANTITY/1000/1000/1000 - when USG_CONSUMED_UNITS = 'MB' then USG_BILLED_QUANTITY/1000/1000 - when USG_CONSUMED_UNITS = 'GB' then USG_BILLED_QUANTITY/1000 - when USG_CONSUMED_UNITS = 'TB' then USG_BILLED_QUANTITY - end - ),2) as USG_BILLED_QUANTITY -from -( - select - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD HH24:MI') USAGE_INTERVAL_START, - prd_service, - sum( - case when USG_CONSUMED_UNITS like '%MS%' - then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end - ) as USG_BILLED_QUANTITY, - case when USG_CONSUMED_UNITS like '%MS%' - then replace(replace(USG_CONSUMED_UNITS,'MS',''),'_','') - else USG_CONSUMED_UNITS - end as USG_CONSUMED_UNITS - from oci_usage - where - -- tenant_name=:PARAM_TENANT and - -- prd_compartment_name = :PARAM_COMPARTMENT_NAME and - -- prd_compartment_path like :PARAM_COMPARTMENT_TOP ||'%') and - -- prd_service = :PARAM_PRODUCT_SERVICE and - -- prd_region = :PARAM_PRODUCT_REGION and - USAGE_INTERVAL_START >= add_months(sysdate,0-12) and - USG_BILLED_QUANTITY>0 and - USG_CONSUMED_MEASURE='STORAGE_SIZE' - group by - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD HH24:MI'), - prd_service, - USG_CONSUMED_UNITS -) -group by USAGE_INTERVAL_START,prd_service order by 1,2 desc; diff --git a/examples/usage_reports_to_adw/img/Image_01.png b/examples/usage_reports_to_adw/img/Image_01.png deleted file mode 100644 index 1ac0ea2f1b..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_01.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_02.png b/examples/usage_reports_to_adw/img/Image_02.png deleted file mode 100644 index a2b7cac590..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_02.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_03.png b/examples/usage_reports_to_adw/img/Image_03.png deleted file mode 100644 index ae8d5e76f6..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_03.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_04.png b/examples/usage_reports_to_adw/img/Image_04.png deleted file mode 100644 index f2d4802a07..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_04.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_05.png b/examples/usage_reports_to_adw/img/Image_05.png deleted file mode 100644 index 51b79726b7..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_05.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_06.png b/examples/usage_reports_to_adw/img/Image_06.png deleted file mode 100644 index ab7591f002..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_06.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_07.png b/examples/usage_reports_to_adw/img/Image_07.png deleted file mode 100644 index 95bc56a467..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_07.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_08.png b/examples/usage_reports_to_adw/img/Image_08.png deleted file mode 100644 index 4e864c76c9..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_08.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_09.png b/examples/usage_reports_to_adw/img/Image_09.png deleted file mode 100644 index a656e7c2e8..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_09.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_10.png b/examples/usage_reports_to_adw/img/Image_10.png deleted file mode 100644 index 499900f12a..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_10.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_11.png b/examples/usage_reports_to_adw/img/Image_11.png deleted file mode 100644 index 876c6bd25e..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_11.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_12.png b/examples/usage_reports_to_adw/img/Image_12.png deleted file mode 100644 index c56fc677a9..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_12.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_13.png b/examples/usage_reports_to_adw/img/Image_13.png deleted file mode 100644 index fc40df2616..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_13.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_14.png b/examples/usage_reports_to_adw/img/Image_14.png deleted file mode 100644 index 44804cc7ce..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_14.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_15.png b/examples/usage_reports_to_adw/img/Image_15.png deleted file mode 100644 index db71a449cf..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_15.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_16.png b/examples/usage_reports_to_adw/img/Image_16.png deleted file mode 100644 index f6e5025d43..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_16.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_17.png b/examples/usage_reports_to_adw/img/Image_17.png deleted file mode 100644 index fb233fc47d..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_17.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_18.png b/examples/usage_reports_to_adw/img/Image_18.png deleted file mode 100644 index 8e0fe80ce2..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_18.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_19.png b/examples/usage_reports_to_adw/img/Image_19.png deleted file mode 100644 index e0ef72c47a..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_19.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_20.png b/examples/usage_reports_to_adw/img/Image_20.png deleted file mode 100644 index f44dd8760b..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_20.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_21.png b/examples/usage_reports_to_adw/img/Image_21.png deleted file mode 100644 index 8b5c17774e..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_21.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_22.png b/examples/usage_reports_to_adw/img/Image_22.png deleted file mode 100644 index c85eac9335..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_22.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_23.png b/examples/usage_reports_to_adw/img/Image_23.png deleted file mode 100644 index 076096b51b..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_23.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_24.png b/examples/usage_reports_to_adw/img/Image_24.png deleted file mode 100644 index 0e293f9c48..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_24.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_25.png b/examples/usage_reports_to_adw/img/Image_25.png deleted file mode 100644 index 1d7c87c505..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_25.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_26.png b/examples/usage_reports_to_adw/img/Image_26.png deleted file mode 100644 index dfe402878f..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_26.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_27.png b/examples/usage_reports_to_adw/img/Image_27.png deleted file mode 100644 index 8a98a3081b..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_27.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_28.png b/examples/usage_reports_to_adw/img/Image_28.png deleted file mode 100644 index 7709db84e9..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_28.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_29.png b/examples/usage_reports_to_adw/img/Image_29.png deleted file mode 100644 index a2fa06c002..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_29.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_30.png b/examples/usage_reports_to_adw/img/Image_30.png deleted file mode 100644 index d6928589f1..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_30.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_31.png b/examples/usage_reports_to_adw/img/Image_31.png deleted file mode 100644 index 988e52a03d..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_31.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_32.png b/examples/usage_reports_to_adw/img/Image_32.png deleted file mode 100644 index db0548c1ed..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_32.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_33.png b/examples/usage_reports_to_adw/img/Image_33.png deleted file mode 100644 index 1259248afe..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_33.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_34.png b/examples/usage_reports_to_adw/img/Image_34.png deleted file mode 100644 index db10d9f32d..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_34.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_35.png b/examples/usage_reports_to_adw/img/Image_35.png deleted file mode 100644 index 8e34045b48..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_35.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/Image_36.png b/examples/usage_reports_to_adw/img/Image_36.png deleted file mode 100644 index b4c43f775c..0000000000 Binary files a/examples/usage_reports_to_adw/img/Image_36.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/pe1.png b/examples/usage_reports_to_adw/img/pe1.png deleted file mode 100644 index 5f0e7074a0..0000000000 Binary files a/examples/usage_reports_to_adw/img/pe1.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/pe2.png b/examples/usage_reports_to_adw/img/pe2.png deleted file mode 100644 index 31012a0d17..0000000000 Binary files a/examples/usage_reports_to_adw/img/pe2.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/pe3.png b/examples/usage_reports_to_adw/img/pe3.png deleted file mode 100644 index 4e58c873ca..0000000000 Binary files a/examples/usage_reports_to_adw/img/pe3.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/report_01.png b/examples/usage_reports_to_adw/img/report_01.png deleted file mode 100644 index 3b90068532..0000000000 Binary files a/examples/usage_reports_to_adw/img/report_01.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/report_02.png b/examples/usage_reports_to_adw/img/report_02.png deleted file mode 100644 index 5e30cca8b8..0000000000 Binary files a/examples/usage_reports_to_adw/img/report_02.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/report_03.png b/examples/usage_reports_to_adw/img/report_03.png deleted file mode 100644 index 1cb8ab5219..0000000000 Binary files a/examples/usage_reports_to_adw/img/report_03.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/report_04.png b/examples/usage_reports_to_adw/img/report_04.png deleted file mode 100644 index 835f339969..0000000000 Binary files a/examples/usage_reports_to_adw/img/report_04.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/report_05.png b/examples/usage_reports_to_adw/img/report_05.png deleted file mode 100644 index 64ee740ca0..0000000000 Binary files a/examples/usage_reports_to_adw/img/report_05.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_1.png b/examples/usage_reports_to_adw/img/screen_1.png deleted file mode 100644 index 3dce9c043a..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_1.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_2.png b/examples/usage_reports_to_adw/img/screen_2.png deleted file mode 100644 index 2a3a969234..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_2.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_3.png b/examples/usage_reports_to_adw/img/screen_3.png deleted file mode 100644 index 51ed3e92c3..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_3.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_4.png b/examples/usage_reports_to_adw/img/screen_4.png deleted file mode 100644 index 4017d2b2af..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_4.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_5.png b/examples/usage_reports_to_adw/img/screen_5.png deleted file mode 100644 index 6774745c37..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_5.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_6.png b/examples/usage_reports_to_adw/img/screen_6.png deleted file mode 100644 index f05b1dcc08..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_6.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_7.png b/examples/usage_reports_to_adw/img/screen_7.png deleted file mode 100644 index b1a229a7e9..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_7.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/screen_8.png b/examples/usage_reports_to_adw/img/screen_8.png deleted file mode 100644 index e690c51029..0000000000 Binary files a/examples/usage_reports_to_adw/img/screen_8.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_1.png b/examples/usage_reports_to_adw/img/stack_1.png deleted file mode 100644 index af1dff3f40..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_1.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_2.png b/examples/usage_reports_to_adw/img/stack_2.png deleted file mode 100644 index aa79002977..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_2.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_3.png b/examples/usage_reports_to_adw/img/stack_3.png deleted file mode 100644 index 03e5c474cb..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_3.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_4.png b/examples/usage_reports_to_adw/img/stack_4.png deleted file mode 100644 index 9e1995bd94..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_4.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_5.png b/examples/usage_reports_to_adw/img/stack_5.png deleted file mode 100644 index ac5cf038f0..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_5.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_6.png b/examples/usage_reports_to_adw/img/stack_6.png deleted file mode 100644 index 5bbe7d0f9d..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_6.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_7.png b/examples/usage_reports_to_adw/img/stack_7.png deleted file mode 100644 index 54fbe46e76..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_7.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_8.png b/examples/usage_reports_to_adw/img/stack_8.png deleted file mode 100644 index 8bb5d2a861..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_8.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/img/stack_9.png b/examples/usage_reports_to_adw/img/stack_9.png deleted file mode 100644 index 3a02e851e0..0000000000 Binary files a/examples/usage_reports_to_adw/img/stack_9.png and /dev/null differ diff --git a/examples/usage_reports_to_adw/readme.md b/examples/usage_reports_to_adw/readme.md index d2d9a9f817..61fc94c969 100644 --- a/examples/usage_reports_to_adw/readme.md +++ b/examples/usage_reports_to_adw/readme.md @@ -1,241 +1,3 @@ # Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database Tool -## Introduction -usage2adw is a tool which uses the Python SDK to extract the usage and cost reports from your tenant and load it to Oracle Autonomous Database. (DbaaS can be used as well) -Authentication to OCI by User or instance principals. - -It uses APEX for Visualization and generates Daily e-mail report. - -**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes, and rather OCI's official -[cost analysis](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/costanalysisoverview.htm) -and [usage reports](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/usagereportsoverview.htm) features should be used instead.** - -**Developed by Adi Zohar, 2020-2023** - -## Main Features -- Usage Current State -- Usage Over Time -- Cost Analysis -- Cost Over Time -- Rate Card for Used Product -- ShowOCI Data (If Enabled) - -## Cost Reports -![](img/screen_4.png) -![](img/screen_5.png) -![](img/screen_6.png) -![](img/screen_7.png) - -## Rate Card -![](img/screen_8.png) - -## Usage Reports -![](img/screen_1.png) -![](img/screen_2.png) -![](img/screen_3.png) - -## Daily E-Mail Report -![](img/report_05.png) - -## Usage Reports Overview -A usage report is a comma-separated value (CSV) file that can be used to get a detailed breakdown of resources in Oracle Cloud Infrastructure for audit or invoice reconciliation. - -## How Usage Reports Work -The usage report is automatically generated daily, and is stored in an Oracle-owned Object Storage bucket. It contains one row per each Oracle Cloud Infrastructure resource (such as instance, Object Storage bucket, VNIC) per hour along with consumption information, metadata, and tags. Usage reports generally contain 24 hours of usage data, although occasionally a usage report may contain late-arriving data that is older than 24 hours. - -Usage reports are retained for one year. - -The file name for each usage report is appended with an automatically incrementing numerical value. - -More information can be found at https://docs.cloud.oracle.com/en-us/iaas/Content/Billing/Concepts/usagereportsoverview.htm - - -## Step by Step Installation Guide -Please check step by step guide - [step_by_step_installation.md](step_by_step_installation.md) - -## Step by Step Manual Installation Guide -Please check step by step manual guide - [step_by_step_manual_installation.md](step_by_step_manual_installation.md) - -## Step by Step HowTo - More information -Please check step by step How To guide - [step_by_step_howto.md](step_by_step_howto.md) - - -## OCI SDK Modules Included: -- oci.identity.IdentityClient -- oci.object_storage.ObjectStorageClient - -## Database Tables: -- OCI_USAGE - Raw data of the usage reports -- OCI_USAGE_STATS - Summary Stats of the Usage Report for quick query if only filtered by tenant and date -- OCI_USAGE_TAG_KEYS - Tag keys of the usage reports -- OCI_COST - Raw data of the cost reports -- OCI_COST_STATS - Summary Stats of the Cost Report for quick query if only filtered by tenant and date -- OCI_COST_TAG_KEYS - Tag keys of the cost reports -- OCI_COST_REFERENCE - Reference table of the cost filter keys - SERVICE, REGION, COMPARTMENT, PRODUCT, SUBSCRIPTION -- OCI_PRICE_LIST - Hold the price list and the cost per product -- OCI_LOAD_STATUS - Has the load file statistics - -## OCI APIs Used: -- IdentityClient.list_compartments - Policy COMPARTMENT_INSPECT -- IdentityClient.get_tenancy - Policy TENANCY_INSPECT -- ObjectStorageClient.list_objects - Policy OBJECT_INSPECT -- ObjectStorageClient.get_object - Policy OBJECT_READ - -## REST API Used Doc: -- https://docs.oracle.com/en-us/iaas/Content/GSG/Tasks/signingup_topic-Estimating_Costs.htm#accessing_list_pricing - -## Python 3 OCI SDK - -### Installation of Python 3 incase you don't have Python3 installed: -Please follow Python Documentation - https://docs.python.org/3/using/index.html - -### Install OCI SDK Packages: -Please follow Oracle Python SDK Documentation - https://github.com/oracle/oci-python-sdk - -### Install requests and oracledb packages: -pytnon3 -m pip install requests oracledb - -## Setup connectivity using Instance Principals - -``` -1. Login to your OCI Cloud console - -2. Create new Dynamic Group : UsageDownloadGroup - Use Compute Id or Compartment Id - ALL {instance.id = 'ocid1.instance.oc1.xxxxxxxxxx'} - ALL {instance.compaertment_id = 'ocid1.compartment.oc1.xxxxxxxxxx'} - -3. Create new Policy: UsageDownloadPolicy with Statements: - define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq - endorse dynamic-group UsageDownloadGroup to read objects in tenancy usage-report - Allow dynamic-group UsageDownloadGroup to inspect compartments in tenancy - Allow dynamic-group UsageDownloadGroup to inspect tenancies in tenancy - Allow dynamic-group UsageDownloadGroup to read autonomous-databases in compartment {APPCOMP} -``` - -## Setup connectivity using Specific User - -``` -1. Login to your OCI Cloud console - -2. Create new group : UsageDownloadGroup - -3. Create new Policy: UsageDownloadPolicy with Statements: - define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq - endorse group UsageDownloadGroup to read objects in tenancy usage-report - Allow group UsageDownloadGroup to inspect compartments in tenancy - Allow group UsageDownloadGroup to inspect tenancies in tenancy - Allow group UsageDownloadGroup to read autonomous-databases in compartment {APPCOMP} - -4. Create new User : UsageDownloadUser -> Add to UsageDownloadGroup group - -5. Config OCI config file - ~/.oci/config - Please follow SDK config documentation - https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm -``` -## Setup Oracle Instant client in order to connect to DB/ADB -- Download Oracle Instant client (base and tools) and follow the installation instructions - https://www.oracle.com/database/technologies/instant-client/downloads.html - -- Follow ADB wallet download at - https://docs.cloud.oracle.com/en-us/iaas/Content/Database/Tasks/adbconnecting.htm - -- Test database connectivity using SQLPLUS - sqlplus duser/dpass@dname - -## Copy the Software -Download the usage2adw.py from this project or clone the github project - -Execute - -``` -$ ./usage2adw.py - -usage: usage2adw.py [-h] [-c CONFIG] [-t PROFILE] [-f FILEID] [-ts TAGSPECIAL] - [-ts2 TAGSPECIAL2] [-d FILEDATE] [-p PROXY] [-su] [-sc] - [-sr] [-ip] [-du DUSER] [-dp DPASS] [-dn DNAME] [--force] - [--version] - -optional arguments: - -h, --help show this help message and exit - -c CONFIG Config File - -t PROFILE Config file section to use (tenancy profile) - -f FILEID File Id to load - -ts TAGSPECIAL tag special key 1 to load the data to TAG_SPECIAL column - -ts2 TAGSPECIAL2 tag special key 2 to load the data to TAG_SPECIAL2 column - -d FILEDATE Minimum File Date to load (i.e. yyyy-mm-dd) - -p PROXY Set Proxy (i.e. www-proxy-server.com:80) - -su Skip Load Usage Files - -sc Skip Load Cost Files - -sr Skip Public Rate API - -ip Use Instance Principals for Authentication - -du DUSER ADB User - -dp DPASS ADB Password - -dn DNAME ADB Name - --force Force Update without updated file - --version show program's version number and exit -``` - -## Below example of execution - -``` -./usage2adw.py -t temp_tenant -du db_user -dp db_pass# -dn dbname -d 2020-02-15 - -########################################################################################## -# Running Usage and Cost Load to ADW # -########################################################################################## -Starts at 2020-04-21 12:05:45 -Command Line : -t temp_tenant -du db_user -dp db_pass# -dn dbname -d 2020-04-15 - -Connecting to Identity Service... - Tenant Name : temp_tenant - Tenant Id : ocid1.tenancy.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa - App Version : 20.4.27 - -Loading Compartments... - Total 108 compartments loaded. - -Connecting to database adirep_low - Connected - -Checking Database Structure... - Table OCI_USAGE exist - Table OCI_USAGE_TAG_KEYS exist - Table OCI_COST exist - Table OCI_COST_TAG_KEYS exist - -Checking Last Loaded File... - Max Usage File Id Processed = 0001000000179319 - Max Cost File Id Processed = 0001000000007463 - -Connecting to Object Storage Service... - Connected - -Handling Usage Report... - Processing file reports/usage-csv/0001000000179320.csv.gz - 375930, 2020-04-15 18:27 - Completed file reports/usage-csv/0001000000179320.csv.gz - 6455 Rows Inserted - Total 13 Tags Merged. - - Total 1 Usage Files Loaded - -Handling Cost Report... - Processing file reports/cost-csv/0001000000007464.csv.gz - 123150, 2020-04-16 01:44 - Completed file reports/cost-csv/0001000000007464.csv.gz - 1844 Rows Inserted - Total 15 Tags Merged. - Processing file reports/cost-csv/0001000000008343.csv.gz - 743467, 2020-04-16 11:14 - Completed file reports/cost-csv/0001000000008343.csv.gz - 11278 Rows Inserted - Total 14 Tags Merged. - - Total 2 Cost Files Loaded - -Completed at 2020-04-21 12:05:46 -``` - -## License - -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl -or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - -## Developed using open source versions: -Python 3.9.13 - -oracledb 1.3.0 - -OCI Python SDK 2.98.0 +Usage Reports to ADW repository has been moved to [https://github.com/oracle-samples/usage-reports-to-adw](https://github.com/oracle-samples/usage-reports-to-adw) diff --git a/examples/usage_reports_to_adw/setup/check_connectivity.py b/examples/usage_reports_to_adw/setup/check_connectivity.py deleted file mode 100644 index 61f89f1cb6..0000000000 --- a/examples/usage_reports_to_adw/setup/check_connectivity.py +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env python3 -########################################################################## -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# check_connectivity.py - to check if policies granted the proper roles -# @author: Adi Zohar -# -# Supports Python 3 and above -# -# coding: utf-8 -########################################################################## -import oci -import requests -import sys - -# Get Instance Principles Signer -signer = oci.auth.signers.InstancePrincipalsSecurityTokenSigner() -config = {'region': signer.region, 'tenancy': signer.tenancy_id} -tenancy_id = signer.tenancy_id -curr_region = signer.region - -try: - print("\n Connecting to Identity Service...") - identity = oci.identity.IdentityClient(config, signer=signer) - print(" Okay.") - - print("\n Check Tenancy Details Access...") - tenancy = identity.get_tenancy(tenancy_id).data - print(" Okay.") - - print("\n Get List of Regions...") - regions = identity.list_regions() - print(" Okay.") - - print("\n Check running in home region...") - home_region_array = next(item for item in regions.data if str(item.key) == str(tenancy.home_region_key)) - home_region = str(home_region_array.name) - print(" Home Region = " + home_region) - print(" Current Region = " + curr_region) - if home_region == curr_region: - print(" Okay.") - else: - print(" Error, Installation must be in Home Region, please change to " + home_region + " and re-run the stack, Aborting...") - sys.exit() - - print("\n Check Compartment List Access...") - all_compartments = identity.list_compartments(tenancy_id, compartment_id_in_subtree=True).data - print(" Okay...") - - print("\n Check Access to Cost and Usage Object Storage...") - object_storage = oci.object_storage.ObjectStorageClient(config, signer=signer) - objects = object_storage.list_objects("bling", tenancy_id, fields="timeCreated,size").data - print(" Okay.") - - try: - print("\n Check Access to OCI Public Rates URL (Required Internet Access)...") - api_url = "https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/?currencyCode=USD" - resp = requests.get(api_url) - print(" Okay.") - except Exception: - print(" Issue with Internet, List Price will no be extracted") - - print("\n Check Completed Successfully.") - print(" Tenant Name : " + str(tenancy.name)) - print(" Tenant Id : " + tenancy.id) - print("") - -except oci.exceptions.ServiceError as e: - print("Error oci.exceptions.ServiceError") - print(e) -except oci.exceptions.RequestException as e: - print("Error oci.exceptions.RequestException") - print(e) -except Exception as e: - print("Error Exception") - print(e) diff --git a/examples/usage_reports_to_adw/setup/create_tables.sql b/examples/usage_reports_to_adw/setup/create_tables.sql deleted file mode 100644 index ce86489552..0000000000 --- a/examples/usage_reports_to_adw/setup/create_tables.sql +++ /dev/null @@ -1,170 +0,0 @@ - -------------------------------- --- OCI_USAGE -------------------------------- -create table OCI_USAGE ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - USAGE_INTERVAL_END DATE, - PRD_SERVICE VARCHAR2(100), - PRD_RESOURCE VARCHAR2(100), - PRD_COMPARTMENT_ID VARCHAR2(100), - PRD_COMPARTMENT_NAME VARCHAR2(100), - PRD_COMPARTMENT_PATH VARCHAR2(1000), - PRD_REGION VARCHAR2(100), - PRD_AVAILABILITY_DOMAIN VARCHAR2(100), - USG_RESOURCE_ID VARCHAR2(1000), - USG_BILLED_QUANTITY NUMBER, - USG_CONSUMED_QUANTITY NUMBER, - USG_CONSUMED_UNITS VARCHAR2(100), - USG_CONSUMED_MEASURE VARCHAR2(100), - IS_CORRECTION VARCHAR2(10), - TAGS_DATA VARCHAR2(4000), - TAG_SPECIAL VARCHAR2(4000), - TAG_SPECIAL2 VARCHAR2(4000) -) COMPRESS; - -CREATE INDEX OCI_USAGE_1IX ON OCI_USAGE(TENANT_NAME,USAGE_INTERVAL_START); - -------------------------------- --- OCI_USAGE_TAG_KEYS -------------------------------- -CREATE TABLE OCI_USAGE_TAG_KEYS ( - TENANT_NAME VARCHAR2(100), - TAG_KEY VARCHAR2(100), - CONSTRAINT OCI_USAGE_TAG_KEYS_PK PRIMARY KEY(TENANT_NAME,TAG_KEY) -); - -------------------------------- --- OCI_USAGE_TAG_KEYS -------------------------------- -CREATE TABLE OCI_USAGE_STATS ( - TENANT_NAME VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - NUM_ROWS NUMBER, - UPDATE_DATE DATE, - AGENT_VERSION VARCHAR2(30), - CONSTRAINT OCI_USAGE_STATS_PK PRIMARY KEY (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START) -); - -------------------------------- --- OCI_COST -------------------------------- -create table OCI_COST ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - USAGE_INTERVAL_END DATE, - PRD_SERVICE VARCHAR2(100), - PRD_RESOURCE VARCHAR2(100), - PRD_COMPARTMENT_ID VARCHAR2(100), - PRD_COMPARTMENT_NAME VARCHAR2(100), - PRD_COMPARTMENT_PATH VARCHAR2(1000), - PRD_REGION VARCHAR2(100), - PRD_AVAILABILITY_DOMAIN VARCHAR2(100), - USG_RESOURCE_ID VARCHAR2(1000), - USG_BILLED_QUANTITY NUMBER, - USG_BILLED_QUANTITY_OVERAGE NUMBER, - COST_SUBSCRIPTION_ID NUMBER, - COST_PRODUCT_SKU VARCHAR2(10), - PRD_DESCRIPTION VARCHAR2(1000), - COST_UNIT_PRICE NUMBER, - COST_UNIT_PRICE_OVERAGE NUMBER, - COST_MY_COST NUMBER, - COST_MY_COST_OVERAGE NUMBER, - COST_CURRENCY_CODE VARCHAR2(10), - COST_BILLING_UNIT VARCHAR2(1000), - COST_OVERAGE_FLAG VARCHAR2(10), - IS_CORRECTION VARCHAR2(10), - TAGS_DATA VARCHAR2(4000), - TAG_SPECIAL VARCHAR2(4000), - TAG_SPECIAL2 VARCHAR2(4000) -) COMPRESS; - -CREATE INDEX OCI_COST_1IX ON OCI_COST(TENANT_NAME,USAGE_INTERVAL_START); - -------------------------------- --- OCI_COST_TAG_KEYS -------------------------------- -CREATE TABLE OCI_COST_TAG_KEYS (TENANT_NAME VARCHAR2(100), TAG_KEY VARCHAR2(100), - CONSTRAINT OCI_COST_TAG_KEYS_PK PRIMARY KEY(TENANT_NAME,TAG_KEY) -); - -------------------------------- --- OCI_COST_STATS -------------------------------- -CREATE TABLE OCI_COST_STATS ( - TENANT_NAME VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - NUM_ROWS NUMBER, - COST_MY_COST NUMBER, - COST_MY_COST_OVERAGE NUMBER, - COST_CURRENCY_CODE VARCHAR2(30), - UPDATE_DATE DATE, - AGENT_VERSION VARCHAR2(30), - CONSTRAINT OCI_COST_STATS_PK PRIMARY KEY (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START) -); - -------------------------------- --- OCI_COST_REFERENCE -------------------------------- -CREATE TABLE OCI_COST_REFERENCE ( - TENANT_NAME VARCHAR2(100), - REF_TYPE VARCHAR2(100), - REF_NAME VARCHAR2(1000), - CONSTRAINT OCI_REFERENCE_PK PRIMARY KEY (TENANT_NAME,REF_TYPE,REF_NAME) -) ; - -------------------------------- --- OCI_PRICE_LIST -------------------------------- -create table OCI_PRICE_LIST ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - COST_PRODUCT_SKU VARCHAR2(10), - PRD_DESCRIPTION VARCHAR2(1000), - COST_CURRENCY_CODE VARCHAR2(10), - COST_UNIT_PRICE NUMBER, - COST_LAST_UPDATE DATE, - RATE_DESCRIPTION VARCHAR2(1000), - RATE_PAYGO_PRICE NUMBER, - RATE_MONTHLY_FLEX_PRICE NUMBER, - RATE_UPDATE_DATE DATE, - CONSTRAINT OCI_PRICE_LIST_PK PRIMARY KEY (TENANT_NAME,TENANT_ID,COST_PRODUCT_SKU) -); - -------------------------------- --- OCI_INTERNAL_COST -------------------------------- -create table OCI_INTERNAL_COST ( - RESOURCE_NAME varchar2(100) NOT NULL, - SERVICE_NAME varchar2(100), - BILLED_USAGE_UNIT varchar2(100), - UNIT_COST NUMBER, - CONSTRAINT OCI_INTERNAL_COST_PK PRIMARY KEY (RESOURCE_NAME) USING INDEX ENABLE -); - -------------------------------- --- OCI_LOAD_STATUS -------------------------------- -create table OCI_LOAD_STATUS ( - TENANT_NAME varchar2(100) NOT NULL, - FILE_TYPE varchar2(100) NOT NULL, - FILE_ID varchar2(1000) NOT NULL, - FILE_NAME varchar2(1000) NOT NULL, - FILE_DATE DATE, - FILE_SIZE number, - NUM_ROWS number, - LOAD_START_TIME DATE, - LOAD_END_TIME DATE, - AGENT_VERSION varchar2(100), - BATCH_ID number, - BATCH_TOTAL number, - CONSTRAINT OCI_LOAD_STATUS PRIMARY KEY (TENANT_NAME, FILE_NAME) USING INDEX ENABLE -); - diff --git a/examples/usage_reports_to_adw/setup/drop_tables.sql b/examples/usage_reports_to_adw/setup/drop_tables.sql deleted file mode 100644 index 450ff8d390..0000000000 --- a/examples/usage_reports_to_adw/setup/drop_tables.sql +++ /dev/null @@ -1,19 +0,0 @@ -set echo on time on timing on -spool drop_tables.log - -prompt Dropping usage2adw Application Tables -prompt Version 2023/2/22 - -select to_char(sysdate,'YYYY-MM-DD HH24:MI') current_date from dual; - -drop table usage.OCI_USAGE ; -drop table usage.OCI_USAGE_STATS ; -drop table usage.OCI_USAGE_TAG_KEYS ; -drop table usage.OCI_COST; -drop table usage.OCI_COST_STATS; -drop table usage.OCI_COST_TAG_KEYS ; -drop table usage.OCI_COST_REFERENCE; -drop table usage.OCI_PRICE_LIST; -drop table usage.OCI_LOAD_STATUS; - -spool off diff --git a/examples/usage_reports_to_adw/setup/enable_apex.sql b/examples/usage_reports_to_adw/setup/enable_apex.sql deleted file mode 100644 index 6c9eaa04dd..0000000000 --- a/examples/usage_reports_to_adw/setup/enable_apex.sql +++ /dev/null @@ -1,48 +0,0 @@ - ---------------------------------------------------- --- APEX Create user and import app ---------------------------------------------------- - -begin - apex_util.set_workspace(p_workspace => 'USAGE'); - apex_util.create_user( - p_user_name => 'USAGE', - p_web_password => '&pass.', - p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL', - p_email_address => 'usage@example.com', - p_default_schema => 'USAGE', - p_change_password_on_first_use => 'N' ); -end; -/ -prompt Remove Application 100 -begin - apex_util.set_workspace(p_workspace => 'USAGE'); - wwv_flow_api.remove_flow(100); -end; -/ - -prompt Install Application 100 -declare - c_workspace constant apex_workspaces.workspace%type := 'USAGE'; - c_app_id constant apex_applications.application_id%type := 100; - c_app_alias constant apex_applications.alias%type := 'USAGE2ADW'; - - l_workspace_id apex_workspaces.workspace_id%type; -begin - apex_application_install.clear_all; - - select workspace_id into l_workspace_id from apex_workspaces where workspace = 'USAGE'; - - apex_application_install.set_workspace_id(l_workspace_id); - apex_application_install.set_application_id(c_app_id); - apex_application_install.set_application_alias(c_app_alias); - apex_application_install.generate_offset; -end; -/ - ------------------------------ --- setup the application ------------------------------ -@/home/opc/usage_reports_to_adw/apex_demo_app/usage.demo.apex.sql - - diff --git a/examples/usage_reports_to_adw/setup/setup.crontab.txt b/examples/usage_reports_to_adw/setup/setup.crontab.txt deleted file mode 100644 index 5ecc30bd26..0000000000 --- a/examples/usage_reports_to_adw/setup/setup.crontab.txt +++ /dev/null @@ -1,19 +0,0 @@ -############################################################################### -# Crontab to run every 4 hours -############################################################################### -0 */4 * * * timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh > /home/opc/usage_reports_to_adw/run_multi_daily_usage2adw_crontab_run.txt 2>&1 - -############################################################################### -# Gather stats every weekend -############################################################################### -30 0 * * 0 timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_gather_stats.sh > /home/opc/usage_reports_to_adw/run_gather_stats_run.txt 2>&1 - -############################################################################### -# Crontab to run showoci every night -############################################################################### -# 0 0 * * * timeout 23h /home/opc/showoci/run_daily_report.sh > /home/opc/showoci/run_daily_report_crontab_run.txt 2>&1 - -############################################################################### -# Crontab to run showoci_csv to ADB -############################################################################### -#00 8 * * * timeout 2h /home/opc/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh > /home/opc/usage_reports_to_adw/cron/run_load_showoci_csv_to_adw.sh_run.txt 2>&1 \ No newline at end of file diff --git a/examples/usage_reports_to_adw/setup/setup_credentials.sh b/examples/usage_reports_to_adw/setup/setup_credentials.sh deleted file mode 100755 index 491d3e3506..0000000000 --- a/examples/usage_reports_to_adw/setup/setup_credentials.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Initial Setup credentials -# Written by Adi Zohar, October 2020 -# Git Location = https://github.com/oracle/oci-python-sdk/tree/master/examples/usage_reports_to_adw -# -# Version 2023-04-11 -# -######################################################################################################################### - -export APPDIR=/home/opc/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -export LOG=/home/opc/setup_credentials.log -rm -f $LOG -echo "##################################################" | tee -a $LOG -echo "# Start process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG - -########################################### -# Request Application Credential -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 5. Application Credentials, stored at $CREDFILE" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -printf "Please Enter Database Name : "; read DATABASE_NAME -printf "Please Enter ADB Admin Password: "; read DATABASE_ADMIN -printf "Please Enter ADB Application Password (Min 12 Chars, One Upper, One Lower, One Digits): "; read DATABASE_PASS -printf "Please Enter Extract Start Date (Format YYYY-MM i.e. 2021-04): "; read EXTRACT_DATE -printf "Please Enter Tag Key 1 to extract as Special Tag (Oracle-Tags.CreatedBy): "; read TAG_SPECIAL -printf "Please Enter Tag Key 2 to extract as Special Tag (Oracle-Tags.Program): "; read TAG2_SPECIAL - -if [ -z "$TAG_SPECIAL" ]; then - TAG_SPECIAL="Oracle-Tags.CreatedBy" -fi - -echo "DATABASE_USER=USAGE" > $CREDFILE -echo "DATABASE_NAME=${DATABASE_NAME}_low" >> $CREDFILE -echo "DATABASE_PASS=${DATABASE_PASS}" >> $CREDFILE -echo "DATABASE_ADMIN=${DATABASE_ADMIN}" >> $CREDFILE -echo "EXTRACT_DATE=${EXTRACT_DATE}" >> $CREDFILE -echo "TAG_SPECIAL=${TAG_SPECIAL}" >> $CREDFILE -echo "TAG2_SPECIAL=${TAG2_SPECIAL}" >> $CREDFILE -echo "" | tee -a $LOG -echo "Below Data written to $CREDFILE:" | tee -a $LOG -cat $CREDFILE | tee -a $LOG -echo "" | tee -a $LOG -echo "Setup Credentials Completed." | tee -a $LOG -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# Please download the database wallet to /home/opc/wallet.zip " | tee -a $LOG -echo "# Then execute $APPDIR/setup/setup_usage2adw.sh" | tee -a $LOG -echo "########################################################################" | tee -a $LOG diff --git a/examples/usage_reports_to_adw/setup/setup_packages.ol7.sh b/examples/usage_reports_to_adw/setup/setup_packages.ol7.sh deleted file mode 100755 index 42d3695309..0000000000 --- a/examples/usage_reports_to_adw/setup/setup_packages.ol7.sh +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Initial Setup unix Packages -# Written by Adi Zohar, October 2020 -# Git Location = https://github.com/oracle/oci-python-sdk/tree/master/examples/usage_reports_to_adw -# -# Version 2020-12-17 -# -######################################################################################################################### - -export APPDIR=/home/opc/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -export LOG=/home/opc/setup_packages.log -rm -f $LOG -echo "##################################################" | tee -a $LOG -echo "# Start process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG - -########################################### -# Install Python3, git and python packages -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 1. Install Python3, Git and Python OCI Packages, Can take a moment." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -sudo yum install -y python3 git | tee -a $LOG -sudo python3 -m pip install oci oci-cli oracledb requests | tee -a $LOG -echo "Completed." | tee -a $LOG - -########################################### -# Install Oracle Instant Client -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 2. Install Oracle Instant Client 19.9." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -sudo rpm -i https://download.oracle.com/otn_software/linux/instantclient/1918000/oracle-instantclient19.18-basic-19.18.0.0.0-1.x86_64.rpm | tee -a $LOG -sudo rpm -i https://download.oracle.com/otn_software/linux/instantclient/1918000/oracle-instantclient19.18-sqlplus-19.18.0.0.0-1.x86_64.rpm | tee -a $LOG -sudo ln -s /usr/lib/oracle/19.18 /usr/lib/oracle/current | tee -a $LOG - -# Check if installed -echo "Check Installation..." | tee -a $LOG -rpm -qa |grep oracle-instantclient -if [ $? -eq 0 ]; then - echo " Completed." | tee -a $LOG -else - echo " Error installing oracle instant client, need to perform it manually, Abort, log=$LOG" | tee -a $LOG - exit 1 -fi - -########################################### -# Setup .bashrc profile -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 3. Setup .bashrc env variables." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "export CLIENT_HOME=/usr/lib/oracle/current/client64" >>$HOME/.bashrc -echo "export LD_LIBRARY_PATH=$CLIENT_HOME/lib" >>$HOME/.bashrc -echo "export PATH=$PATH:$CLIENT_HOME/bin" >>$HOME/.bashrc -echo "export TNS_ADMIN=$HOME/ADWCUSG" >>$HOME/.bashrc -echo "export PYTHONUNBUFFERED=TRUE" >>$HOME/.bashrc -echo "Completed." | tee -a $LOG - -########################################### -# Clone OCI Python SDK repo -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 4. Clone OCI Python SDK Git." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -git clone https://github.com/oracle/oci-python-sdk | tee -a $LOG -ln -s /home/opc/oci-python-sdk/examples/usage_reports_to_adw . -chmod +x /home/opc/usage_reports_to_adw/setup/*.sh -chmod +x /home/opc/usage_reports_to_adw/shell_scripts/*.sh -echo "Completed." | tee -a $LOG - -echo "##################################################" | tee -a $LOG -echo "# End process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG diff --git a/examples/usage_reports_to_adw/setup/setup_packages.ol8.sh b/examples/usage_reports_to_adw/setup/setup_packages.ol8.sh deleted file mode 100755 index 3c001acb8f..0000000000 --- a/examples/usage_reports_to_adw/setup/setup_packages.ol8.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Initial Setup unix Packages -# Written by Adi Zohar, 2023 -# Git Location = https://github.com/oracle/oci-python-sdk/tree/master/examples/usage_reports_to_adw -# -# Version 2023-04-11 -# -######################################################################################################################### - -export APPDIR=/home/opc/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -export LOG=/home/opc/setup_packages.log -cd $HOME -rm -f $LOG -echo "##################################################" | tee -a $LOG -echo "# Start process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG - -########################################### -# Install Python3, git and python packages -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 1. Install Python3, Git and Python OCI Packages, Can take a moment." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -sudo dnf -y module install python39 | tee -a $LOG -sudo dnf -y install python39-pip | tee -a $LOG -sudo alternatives --set python3 /usr/bin/python3.9 | tee -a $LOG -sudo yum -y install git | tee -a $LOG - -python3 -m pip install --upgrade pip | tee -a $LOG -python3 -m pip install --upgrade oci oci-cli | tee -a $LOG -python3 -m pip install --upgrade oracledb | tee -a $LOG -python3 -m pip install --upgrade requests | tee -a $LOG -python3 -m pip install --upgrade pandas openpyxl | tee -a $LOG - -echo "Completed." | tee -a $LOG - -########################################### -# Install Oracle Instant Client -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 2. Install Oracle Instant Client 21+" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -sudo dnf -y install oracle-instantclient-release-el8 -sudo dnf -y install oracle-instantclient-basic -sudo dnf -y install oracle-instantclient-sqlplus -sudo rm -f /usr/lib/oracle/current -sudo ln -s /usr/lib/oracle/21 /usr/lib/oracle/current - -# Check if installed -echo "Check Installation..." | tee -a $LOG -dnf list |grep oracle-instantclient -if [ $? -eq 0 ]; then - echo " Completed." | tee -a $LOG -else - echo " Error installing oracle instant client, need to perform it manually, Abort, log=$LOG" | tee -a $LOG - exit 1 -fi - -########################################### -# Setup .bashrc profile -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 3. Setup .bashrc env variables." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "export CLIENT_HOME=/usr/lib/oracle/current/client64" >>$HOME/.bashrc -echo "export LD_LIBRARY_PATH=$CLIENT_HOME/lib" >>$HOME/.bashrc -echo "export PATH=$PATH:$CLIENT_HOME/bin" >>$HOME/.bashrc -echo "export TNS_ADMIN=$HOME/ADWCUSG" >>$HOME/.bashrc -echo "export PYTHONUNBUFFERED=TRUE" >>$HOME/.bashrc -echo "Completed." | tee -a $LOG - -########################################### -# Clone OCI Python SDK repo -########################################### -echo "" | tee -a $LOG -echo "########################################################################" | tee -a $LOG -echo "# 4. Clone OCI Python SDK Git." | tee -a $LOG -echo "########################################################################" | tee -a $LOG -git clone https://github.com/oracle/oci-python-sdk | tee -a $LOG -ln -s oci-python-sdk/examples/usage_reports_to_adw . -chmod +x /home/opc/usage_reports_to_adw/setup/*.sh -chmod +x /home/opc/usage_reports_to_adw/shell_scripts/*.sh -echo "Completed." | tee -a $LOG - -echo "##################################################" | tee -a $LOG -echo "# End process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG diff --git a/examples/usage_reports_to_adw/setup/setup_upgrade_usage2adw.sh b/examples/usage_reports_to_adw/setup/setup_upgrade_usage2adw.sh deleted file mode 100755 index 228cef609e..0000000000 --- a/examples/usage_reports_to_adw/setup/setup_upgrade_usage2adw.sh +++ /dev/null @@ -1,184 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Setup Upgrade for usage2adw -# Written by Adi Zohar, October 2020-2023 -# Git Location = https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw -# -# If script fail, please add the policies and re-run -# -# Version 2020-10-22 -# -######################################################################################################################### - -################################################### -# Check file usage2adw.py location -################################################### -echo "##################################################" | tee -a $LOG -echo "# Upgrade usage2adw" | tee -a $LOG -echo "##################################################" | tee -a $LOG -cd /home/opc -echo "Checking file usage2adw.py location before upgrade" -if [ -f "/home/opc/usage_reports_to_adw/usage2adw.py" ]; then - echo " File usage2adw.py exist in app - /home/opc/usage_reports_to_adw/usage2adw.py " -elif [ -f "/home/opc/oci-python-sdk/examples/usage_reports_to_adw/usage2adw.py" ]; then - echo " File usage2adw.py exist in oci-python-sdk location, /home/opc/oci-python-sdk/examples/usage_reports_to_adw/usage2adw.py" - echo " Creating Symbolic Link: ln -s /home/opc/oci-python-sdk/examples/usage_reports_to_adw ." - ln -s /home/opc/oci-python-sdk/examples/usage_reports_to_adw . -else - echo " File usage2adw.py could not find, cannot upgrade, abort " - exit 1 -fi - -################################################### -# Check if to upgrade -################################################### -echo "" -echo "Upgrade usage2adw will upgrade the below:" -echo "1. usage2adw.py" -echo "2. APEX Application" -printf "Do you want to continue (y/n) ? "; read ANSWER - -if [ "$ANSWER" = 'y' ] -then - echo "" -else - exit 0 -fi - -################################################### -# Start process -################################################### -source ~/.bashrc >/dev/null - -export APPDIR=/home/opc/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -export LOG=/home/opc/upgrade.log -export LOGDIR=$APPDIR/setup/log -export GIT=https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw - -cd $APPDIR -mkdir -p $LOGDIR -rm -f $LOG - -echo "##################################################" | tee -a $LOG -echo "# Start process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG -echo "# Log = $LOG " -echo "" -echo "" | tee -a $LOG -echo "1. Check if Credential File Exist - $CREDFILE" | tee -a $LOG - -if [ -f "$CREDFILE" ]; then - echo " File exists." | tee -a $LOG -else - echo " File does not exist, Please provide information below:" tee -a $LOG - printf " Please Enter Database Name : "; read DATABASE_NAME - printf " Please Enter ADB Admin Password: "; read DATABASE_ADMIN - printf " Please Enter ADB App Password : "; read DATABASE_PASS - printf " Please Enter Tag Key 1 to extract as Special Tag (Oracle-Tags.CreatedBy): "; read TAG_SPECIAL - printf " Please Enter Tag Key 2 to extract as Special Tag (Oracle-Tags.Program): "; read TAG2_SPECIAL - - if [ -z "$TAG_SPECIAL" ]; then - TAG_SPECIAL="Oracle-Tags.CreatedBy" - fi - - echo "DATABASE_USER=USAGE" > $CREDFILE - echo "DATABASE_NAME=${DATABASE_NAME}_low" >> $CREDFILE - echo "DATABASE_PASS=${DATABASE_PASS}" >> $CREDFILE - echo "DATABASE_ADMIN=${DATABASE_ADMIN}" >> $CREDFILE - echo "EXTRACT_DATE=2022-12" >> $CREDFILE - echo "TAG_SPECIAL=${TAG_SPECIAL}" >> $CREDFILE - echo "TAG2_SPECIAL=${TAG2_SPECIAL}" >> $CREDFILE - echo "File Created." | tee -a $LOG -fi - -########################################### -# Read App info from file -########################################### -echo "2. Read App info from file" | tee -a $LOG -db_app_password=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -db_db_name=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -########################################### -# Download files from github -########################################### -echo "" | tee -a $LOG -echo "3. Download Files from github - $GIT " | tee -a $LOG -echo " Download usage2adw.py" | tee -a $LOG -wget ${GIT}/usage2adw.py -O ${APPDIR}/usage2adw.py -o $LOGDIR/usage2adw.py.download.log| tee -a $LOG -if [ $? -eq 0 ]; then - echo " usage2adw.py downloaded successfully" | tee -a $LOG -else - echo " Error Downloading usage2adw.py, Abort, log=$LOGDIR/usage2adw.py.download.log" | tee -a $LOG - exit 1 -fi - -echo " Download usage2adw_showoci_csv2adw.py" | tee -a $LOG -wget ${GIT}/usage2adw_showoci_csv2adw.py -O ${APPDIR}/usage2adw_showoci_csv2adw.py -o $LOGDIR/usage2adw_showoci_csv2adw.py.download.log| tee -a $LOG -if [ $? -eq 0 ]; then - echo " usage2adw_showoci_csv2adw.py downloaded successfully" | tee -a $LOG -else - echo " Error Downloading usage2adw_showoci_csv2adw.py, Abort, log=$LOGDIR/usage2adw_showoci_csv2adw.py.download.log" | tee -a $LOG - exit 1 -fi - -echo " Download usage.demo.apex.sql" | tee -a $LOG -wget ${GIT}/apex_demo_app/usage.demo.apex.sql -O ${APPDIR}/apex_demo_app/usage.demo.apex.sql -o $LOGDIR/usage.demo.apex.sql.download.log| tee -a $LOG -if [ $? -eq 0 ]; then - echo " usage.demo.apex.sql downloaded successfully" | tee -a $LOG -else - echo " Error Downloading usage.demo.apex.sql, Abort, log=$LOGDIR/usage.demo.apex.sql.download.log" | tee -a $LOG - exit 1 -fi - -echo " Download enable_apex.sql" | tee -a $LOG -wget ${GIT}/setup/enable_apex.sql -O ${APPDIR}/setup/enable_apex.sql -o $LOGDIR/enable_apex.sql.download.log| tee -a $LOG -if [ $? -eq 0 ]; then - echo " enable_apex.sql downloaded successfully" | tee -a $LOG -else - echo " Error Downloading enable_apex.sql, Abort, log=$LOGDIR/enable_apex.sql.download.log" | tee -a $LOG - exit 1 -fi - -########################################### -# Download files from github -########################################### -echo "" | tee -a $LOG -echo "4. List files." | tee -a $LOG -ls -lrt ${APPDIR}/usage2adw.py ${APPDIR}/apex_demo_app/usage.demo.apex.sql ${APPDIR}/setup/enable_apex.sql | tee -a $LOG - -########################################### -# Delete APEX App and import New App -########################################### -echo "" | tee -a $LOG -slog=$LOGDIR/upgrade_apex_application.log -echo "5. Upgrade APEX application" | tee -a $LOG -echo " sqlplus USAGE/${db_app_password}@${db_db_name} @$APPDIR/setup/enable_apex.sql" | tee -a $LOG -echo "set echo on serveroutput on time on lines 199 trimsp on pages 1000 verify off -spool $slog -define pass=$db_app_password -@${APPDIR}/setup/enable_apex.sql -spool off -" | sqlplus -s USAGE/${db_app_password}@${db_db_name} >> $LOG - -if (( `egrep 'ORA-|SP2-' $slog | egrep -v 'ORA-00955|ORA-00001|ORA-06512' | wc -l` > 0 )); then - egrep 'ORA-|SP2-' $slog | egrep -v 'ORA-00955|ORA-00001|ORA-06512' - echo " Error upgrading APEX APP, please check log $slog, aborting." - exit 1 -else - echo " Okay." | tee -a $LOG -fi - -########################################### -# Completed -########################################### -echo "" | tee -a $LOG -echo "##################################################" | tee -a $LOG -echo "# Upgrade Completed at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG -echo "Please run the application to upgrade schema:" | tee -a $LOG -echo "/home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh" | tee -a $LOG - diff --git a/examples/usage_reports_to_adw/setup/setup_usage2adw.sh b/examples/usage_reports_to_adw/setup/setup_usage2adw.sh deleted file mode 100755 index c96f6372dc..0000000000 --- a/examples/usage_reports_to_adw/setup/setup_usage2adw.sh +++ /dev/null @@ -1,181 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Setup for usage2adw -# Written by Adi Zohar, October 2020 -# Git Location = https://raw.githubusercontent.com/adizohar/usage_reports_to_adw/main/ -# -# If script fail, please add the policies and re-run -# -# Version 2022-08-12 -# -######################################################################################################################### -# Required Instant Principle Policy which includes the below: -# -# 1. Create new Dynamic Group : UsageDownloadGroup -# Obtain Compute OCID and add rule - ALL {instance.id = 'ocid1.instance.oc1.xxxxxxxxxx'} -# or by compartment -# Obtain Compartment OCID and add rule - ALL {instance.compartment.id = 'ocid1.compartment.oc1.xxxxxxxxxx'} -# -# 2. Create new Policy: UsageDownloadPolicy with Statements: -# define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq -# endorse dynamic-group UsageDownloadGroup to read objects in tenancy usage-report -# Allow dynamic-group UsageDownloadGroup to read autonomous-database in compartment XXXX -# Allow dynamic-group UsageDownloadGroup to inspect compartments in tenancy -# Allow dynamic-group UsageDownloadGroup to inspect tenancies in tenancy -######################################################################################################################### - -source ~/.bashrc >/dev/null - -export APPDIR=/home/opc/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -export LOG=/home/opc/setup.log -export LOGDIR=$APPDIR/setup/log -export SCRIPT=$APPDIR/setup/setup_usage2adw.sh -export PYTHONUNBUFFERED=TRUE -cd $APPDIR/setup -mkdir -p $LOGDIR -rm -f $LOG -echo "##################################################" | tee -a $LOG -echo "# Start process at `date`" | tee -a $LOG -echo "##################################################" | tee -a $LOG - -########################################### -# Create the adw properties file -########################################### -echo "" | tee -a $LOG -echo "1. Read Variables from config.user file." | tee -a $LOG - -db_db_name=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` -db_app_password=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -db_admin_password=`grep "^DATABASE_ADMIN" $CREDFILE| awk -F= '{ print $2 }'` -extract_from_date=`grep "^EXTRACT_DATE" $CREDFILE | awk -F= '{ print $2 }'` -extract_tag_special_key=`grep "^TAG_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` -extract_tag2_special_key=`grep "^TAG2_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` - -########################################### -# Extract Wallet from wallet.zip -########################################### -mkdir -p /home/opc/ADWCUSG -echo "" | tee -a $LOG -echo "2. Extract database wallet." | tee -a $LOG -unzip -o $HOME/wallet.zip -d /home/opc/ADWCUSG -if [ $? -eq 0 ]; then - echo " Database Wallet extracted successfully" | tee -a $LOG -else - echo " Error Extracting, Abort" | tee -a $LOG - exit 1 -fi -rm -f wallet.zip wallet_file - -########################################### -# Fixed sqlnet.ora parameter -########################################### -echo "" | tee -a $LOG -echo "3. Fixing sqlnet.ora directory parameter" | tee -a $LOG -sed -i "s#?/network/admin#$HOME/ADWCUSG#" ~/ADWCUSG/sqlnet.ora -if [ $? -eq 0 ]; then - echo " Done." | tee -a $LOG -else - echo " Error fixing sqlnet.ora, Abort" | tee -a $LOG - exit 1 -fi - -########################################### -# Check Oci Connectivity -########################################### -echo "" | tee -a $LOG -echo "4. Checking OCI Connectivity using instance principles..." | tee -a $LOG -echo " Executed: python3 check_connectivity.sh" | tee -a $LOG -slog=$LOGDIR/check_connectivity.log -rm -f $slog -python3 $APPDIR/setup/check_connectivity.py | tee -a $slog | tee -a $LOG -if (( `grep Error $slog | wc -l` > 0 )); then - echo " Error querying OCI, please check the log $slog" | tee -a $LOG - echo " Please check the documentation to have the dynamic group and policy correctted" | tee -a $LOG - echo " Once fixed you can rerun the script $SCRIPT" | tee -a $LOG - echo " Abort" | tee -a $LOG - exit 1 -else - echo " Okay." | tee -a $LOG -fi - -########################################### -# create application schema and enable APEX -########################################### -echo "" | tee -a $LOG -slog=$LOGDIR/db_creation_user.log -echo "5. Creating USAGE user on ADWC instance and enable APEX Workspace" | tee -a $LOG -echo " commands executed:" | tee -a $LOG -echo " sqlplus ADMIN/${db_admin_password}@${db_db_name}" | tee -a $LOG -echo " create user usage identified by ${db_app_password};" | tee -a $LOG -echo " grant create dimension, connect, resource, dwrole, unlimited tablespace to usage;" | tee -a $LOG -echo " exec apex_instance_admin.add_workspace(p_workspace => 'USAGE', p_primary_schema => 'USAGE');" | tee -a $LOG -echo "set lines 199 trimsp on pages 0 feed on -spool $slog -create user usage identified by ${db_app_password}; -grant create dimension, connect, resource, dwrole, unlimited tablespace to usage; -exec apex_instance_admin.add_workspace(p_workspace => 'USAGE', p_primary_schema => 'USAGE'); -" | sqlplus -s ADMIN/${db_admin_password}@${db_db_name} >> $LOG - -if (( `grep ORA- $slog | egrep -v 'ORA-01920|ORA-20987|06512'| wc -l` > 0 )); then - echo " Error creating USAGE user, please check log $slog, aborting." - exit 1 -else - echo " Okay." | tee -a $LOG -fi - -########################################### -# create tables and import APEX App -########################################### -echo "" | tee -a $LOG -slog=$LOGDIR/create_table_enable_apex.log -echo "6. Create USAGE Tables and Import APEX application" | tee -a $LOG -echo " sqlplus USAGE/${db_app_password}@${db_db_name} @$APPDIR/setup/create_tables.sql" | tee -a $LOG -echo " sqlplus USAGE/${db_app_password}@${db_db_name} @$APPDIR/setup/enable_apex.sql" | tee -a $LOG -echo "set echo on serveroutput on time on lines 199 trimsp on pages 1000 verify off -spool $slog -define pass=${db_app_password} -@$APPDIR/setup/create_tables -@$APPDIR/setup/enable_apex -spool off -" | sqlplus -s USAGE/${db_app_password}@${db_db_name} >> $LOG - -if (( `egrep 'ORA-|SP2-' $slog | egrep -v 'ORA-00955|ORA-00001|ORA-06512' | wc -l` > 0 )); then - egrep 'ORA-|SP2-' $slog | egrep -v 'ORA-00955|ORA-00001|ORA-06512' - echo " Error creating USAGE tables, please check log $slog, aborting." - exit 1 -else - echo " Okay." | tee -a $LOG -fi - -########################################### -# Setup Crontab -########################################### -echo "" | tee -a $LOG -echo "7. Setup Crontab to run every 3 hours and gather stats every week" | tee -a $LOG -echo "Executed: crontab $APPDIR/setup/setup.crontab.txt" | tee -a $LOG -crontab $APPDIR/setup/setup.crontab.txt - -########################################### -# run initial usage2adw -########################################### -echo "" | tee -a $LOG -echo "###############################################################" | tee -a $LOG -echo "# Running Initial usage2adw.py extract" | tee -a $LOG -echo "###############################################################" | tee -a $LOG -echo " Command line: " | tee -a $LOG -echo " python3 usage2adw.py -ip -du USAGE -dp ${db_app_password} -dn ${db_db_name} -d ${extract_from_date} -ts ${extract_tag_special_key} -ts2 ${extract_tag2_special_key}" | tee -a $LOG -echo "" | tee -a $LOG | tee -a $LOG - -cd $APPDIR -python3 usage2adw.py -ip -du USAGE -dp ${db_app_password} -dn ${db_db_name} -d ${extract_from_date} -ts "${extract_tag_special_key}" -ts2 "${extract_tag2_special_key}" | tee -a $LOG - -echo "" | tee -a $LOG - -echo "############################################################################################" | tee -a $LOG -echo "# If process complete successfuly, please continue and login to APEX" | tee -a $LOG -echo "############################################################################################" | tee -a $LOG - diff --git a/examples/usage_reports_to_adw/setup/truncate_tables.sql b/examples/usage_reports_to_adw/setup/truncate_tables.sql deleted file mode 100644 index 35bef7b768..0000000000 --- a/examples/usage_reports_to_adw/setup/truncate_tables.sql +++ /dev/null @@ -1,19 +0,0 @@ -set echo on time on timing on -spool truncate_tables.log - -prompt Truncating usage2adw Application Tables -prompt Version 2023/2/22 - -select to_char(sysdate,'YYYY-MM-DD HH24:MI') current_date from dual; - -truncate table usage.OCI_USAGE ; -truncate table usage.OCI_USAGE_STATS ; -truncate table usage.OCI_USAGE_TAG_KEYS ; -truncate table usage.OCI_COST; -truncate table usage.OCI_COST_STATS; -truncate table usage.OCI_COST_TAG_KEYS ; -truncate table usage.OCI_COST_REFERENCE; -truncate table usage.OCI_PRICE_LIST; -truncate table usage.OCI_LOAD_STATUS; - -spool off diff --git a/examples/usage_reports_to_adw/shell_scripts/run_daily_report.sh b/examples/usage_reports_to_adw/shell_scripts/run_daily_report.sh deleted file mode 100755 index fe8ff5d7b6..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_daily_report.sh +++ /dev/null @@ -1,684 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, Jul 7th 2020, Updated 7/19/2022 -# -# daily_report for crontab use -# -# Amend variables below and database connectivity -# -# Crontab set: -# 0 7 * * * timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_daily_report.sh > /home/opc/usage_reports_to_adw/run_daily_report_crontab_run.txt 2>&1 -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# Mail Info -export DATE_PRINT="`date '+%d-%b-%Y'`" -export MAIL_FROM_NAME="Cost.Report" -export MAIL_FROM_EMAIL="report@oracleemaildelivery.com" -export MAIL_TO="oci.user@oracle.com" -export MAIL_SUBJECT="Cost Usage Report $DATE_PRINT" - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d_%H%M'` -export REPORT_DIR=${APPDIR}/report/daily -export OUTPUT_FILE=${REPORT_DIR}/daily_${DATE}.txt -mkdir -p ${REPORT_DIR} - -################################## -# run report -################################## -echo " -set pages 0 head off feed off lines 799 trimsp on echo off verify off -set define @ -col line for a1000 - -prompt - -prompt -prompt - -select - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ' '|| - '' as line -from -( - select - tenant_name,day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,last_load,agent,sub_tenants, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day1) then 'dcbold' else 'dcr' END as day1_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day2) then 'dcbold' else 'dcr' END as day2_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day3) then 'dcbold' else 'dcr' END as day3_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day4) then 'dcbold' else 'dcr' END as day4_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day5) then 'dcbold' else 'dcr' END as day5_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day6) then 'dcbold' else 'dcr' END as day6_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day7) then 'dcbold' else 'dcr' END as day7_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day8) then 'dcbold' else 'dcr' END as day8_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day9) then 'dcbold' else 'dcr' END as day9_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)) = trunc(day10) then 'dcbold' else 'dcr' END as day10_class - from - ( - select - tenant_name, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then COST_MY_COST else 0 end) DAY10, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then COST_MY_COST else 0 end) DAY9, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then COST_MY_COST else 0 end) DAY8, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then COST_MY_COST else 0 end) DAY7, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then COST_MY_COST else 0 end) DAY6, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then COST_MY_COST else 0 end) DAY5, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then COST_MY_COST else 0 end) DAY4, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then COST_MY_COST else 0 end) DAY3, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then COST_MY_COST else 0 end) DAY2, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then COST_MY_COST else 0 end) DAY1, - (select count(*) from OCI_COST_REFERENCE b where s.tenant_name=b.tenant_name and ref_type='TENANT_ID') sub_tenants, - max(UPDATE_DATE) LAST_LOAD, - max(agent_version) AGENT - from oci_cost_stats s - where - tenant_name like '%' and - USAGE_INTERVAL_START >= trunc(sysdate-11) - group by tenant_name - order by 1 - ) -); -prompt
    Cost Usage Daily Report - $DATE_PRINT
    Tenant Name'||to_char(trunc(sysdate-10),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-9),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-8),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-7),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-6),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-5),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-4),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-3),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-2),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-1),'DD-MON-YYYY DY')||'Month 31 PredictionYear PredictionSub TenantsLast LoadAgent Used
    '||tenant_name||' '||to_char(day10,'999,999')||' '||to_char(day9,'999,999')||' '||to_char(day8,'999,999')||' '||to_char(day7,'999,999')||' '||to_char(day6,'999,999')||' '||to_char(day5,'999,999')||' '||to_char(day4,'999,999')||' '||to_char(day3,'999,999')||' '||to_char(day2,'999,999')||' '||to_char(day1,'999,999')||' '||to_char(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)*31,'999,999,999')||' '||to_char(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10)*365,'999,999,999')||' '||sub_tenants||' '||to_char(LAST_LOAD,'DD-MON-YYYY HH24:MI')||' '||agent||'
    -prompt

    - -prompt -prompt - -select - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' as line -from -( - select - tenant_name,m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m1) then 'dcbold' else 'dcr' END as m1_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m2) then 'dcbold' else 'dcr' END as m2_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m3) then 'dcbold' else 'dcr' END as m3_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m4) then 'dcbold' else 'dcr' END as m4_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m5) then 'dcbold' else 'dcr' END as m5_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m6) then 'dcbold' else 'dcr' END as m6_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m7) then 'dcbold' else 'dcr' END as m7_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m8) then 'dcbold' else 'dcr' END as m8_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m9) then 'dcbold' else 'dcr' END as m9_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m10) then 'dcbold' else 'dcr' END as m10_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m11) then 'dcbold' else 'dcr' END as m11_class, - case when trunc(greatest(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12)) = trunc(m12) then 'dcbold' else 'dcr' END as m12_class - from - ( - select - tenant_name, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'),-11) then COST_MY_COST else 0 end) M12, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'),-10) then COST_MY_COST else 0 end) M11, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -9) then COST_MY_COST else 0 end) M10, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -8) then COST_MY_COST else 0 end) M9, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -7) then COST_MY_COST else 0 end) M8, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -6) then COST_MY_COST else 0 end) M7, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -5) then COST_MY_COST else 0 end) M6, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -4) then COST_MY_COST else 0 end) M5, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -3) then COST_MY_COST else 0 end) M4, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -2) then COST_MY_COST else 0 end) M3, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = add_months(trunc(sysdate,'MM'), -1) then COST_MY_COST else 0 end) M2, - sum(case when trunc(USAGE_INTERVAL_START,'MM') = trunc(sysdate,'MM') then COST_MY_COST else 0 end) M1 - from oci_cost_stats - where - tenant_name like '%' - group by tenant_name - order by 1 - ) -); -prompt
    Cost Usage Monthly Report - $DATE_PRINT
    Tenant Name'||to_char(add_months(trunc(sysdate,'MM'),-11),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'),-10),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -9),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -8),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -7),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -6),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -5),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -4),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -3),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -2),'MON-YYYY')||''||to_char(add_months(trunc(sysdate,'MM'), -1),'MON-YYYY')||''||to_char( trunc(sysdate,'MM') ,'MON-YYYY')||'
    '||tenant_name||' '||to_char(m12,'999,999,999')||' '||to_char(m11,'999,999,999')||' '||to_char(m10,'999,999,999')||' '||to_char( m9,'999,999,999')||' '||to_char( m8,'999,999,999')||' '||to_char( m7,'999,999,999')||' '||to_char( m6,'999,999,999')||' '||to_char( m5,'999,999,999')||' '||to_char( m4,'999,999,999')||' '||to_char( m3,'999,999,999')||' '||to_char( m2,'999,999,999')||' '||to_char( m1,'999,999,999')||'
    -prompt

    - -prompt -prompt - -with data as -( - select tenant_name, - trunc(USAGE_INTERVAL_START) as USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - max(USG_BILLED_QUANTITY) as USG_BILLED_QUANTITY - from - ( - select - tenant_name, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - sum(USG_BILLED_QUANTITY) USG_BILLED_QUANTITY - from - ( - select /*+ parallel(l,d) full(d) */ - USAGE_INTERVAL_START, - tenant_name, - USG_CONSUMED_MEASURE, - case - when USG_CONSUMED_UNITS like '%MS%' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end as USG_BILLED_QUANTITY - from - oci_usage d - where - USAGE_INTERVAL_START > trunc(sysdate-15) and - prd_service not in ('ORACLE_NOTIFICATION_SERVICE') and - prd_resource not in ('PIC_STANDARD_PERFORMANCE','PIC_COMPUTE_OUTBOUND_DATA_TRANSFER') and - USG_CONSUMED_MEASURE in ('OCPUS') - ) - group by - tenant_name, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE - ) - group by tenant_name, USG_CONSUMED_MEASURE, trunc(USAGE_INTERVAL_START) -) -select - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' as line -from -( - select - tenant_name,day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day1) then 'dcbold' else 'dcr' END as day1_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day2) then 'dcbold' else 'dcr' END as day2_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day3) then 'dcbold' else 'dcr' END as day3_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day4) then 'dcbold' else 'dcr' END as day4_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day5) then 'dcbold' else 'dcr' END as day5_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day6) then 'dcbold' else 'dcr' END as day6_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day7) then 'dcbold' else 'dcr' END as day7_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day8) then 'dcbold' else 'dcr' END as day8_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day9) then 'dcbold' else 'dcr' END as day9_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day10) then 'dcbold' else 'dcr' END as day10_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day11) then 'dcbold' else 'dcr' END as day11_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day12) then 'dcbold' else 'dcr' END as day12_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day13) then 'dcbold' else 'dcr' END as day13_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day14) then 'dcbold' else 'dcr' END as day14_class - from - ( - select - tenant_name, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-14) then USG_BILLED_QUANTITY else 0 end) DAY14, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-13) then USG_BILLED_QUANTITY else 0 end) DAY13, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-12) then USG_BILLED_QUANTITY else 0 end) DAY12, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-11) then USG_BILLED_QUANTITY else 0 end) DAY11, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then USG_BILLED_QUANTITY else 0 end) DAY10, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then USG_BILLED_QUANTITY else 0 end) DAY9, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then USG_BILLED_QUANTITY else 0 end) DAY8, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then USG_BILLED_QUANTITY else 0 end) DAY7, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then USG_BILLED_QUANTITY else 0 end) DAY6, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then USG_BILLED_QUANTITY else 0 end) DAY5, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then USG_BILLED_QUANTITY else 0 end) DAY4, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then USG_BILLED_QUANTITY else 0 end) DAY3, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then USG_BILLED_QUANTITY else 0 end) DAY2, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then USG_BILLED_QUANTITY else 0 end) DAY1 - from data s - where - USG_CONSUMED_MEASURE = 'OCPUS' - group by tenant_name - order by 1 - ) -); -prompt
    Usage OCPU Daily Report - $DATE_PRINT
    Tenant Name'||to_char(trunc(sysdate-14),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-13),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-12),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-11),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-10),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-9),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-8),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-7),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-6),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-5),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-4),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-3),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-2),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-1),'DD-MON-YYYY DY')||'
    '||tenant_name||' '||to_char(day14,'999,999')||' '||to_char(day13,'999,999')||' '||to_char(day12,'999,999')||' '||to_char(day11,'999,999')||' '||to_char(day10,'999,999')||' '||to_char(day9,'999,999')||' '||to_char(day8,'999,999')||' '||to_char(day7,'999,999')||' '||to_char(day6,'999,999')||' '||to_char(day5,'999,999')||' '||to_char(day4,'999,999')||' '||to_char(day3,'999,999')||' '||to_char(day2,'999,999')||' '||to_char(day1,'999,999')||'
    -prompt

    - -prompt -prompt - -with data as -( - select tenant_name, - trunc(USAGE_INTERVAL_START) as USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - max(USG_BILLED_QUANTITY) as USG_BILLED_QUANTITY - from - ( - select - tenant_name, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - sum(USG_BILLED_QUANTITY) USG_BILLED_QUANTITY - from - ( - select /*+ parallel(l,d) full(d) */ - USAGE_INTERVAL_START, - tenant_name, - USG_CONSUMED_MEASURE, - case - when USG_CONSUMED_UNITS like '%TB_MS%' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000*1024/1000 - when USG_CONSUMED_UNITS like '%BYTE_MS%' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000/1000/1000/1000/1000 - when USG_CONSUMED_UNITS like '%MS%' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000/1000 - else USG_BILLED_QUANTITY/1000 - end as USG_BILLED_QUANTITY - from - oci_usage d - where - USAGE_INTERVAL_START > trunc(sysdate-15) and - prd_service not in ('ORACLE_NOTIFICATION_SERVICE') and - prd_resource not in ('PIC_STANDARD_PERFORMANCE','PIC_COMPUTE_OUTBOUND_DATA_TRANSFER') and - USG_CONSUMED_MEASURE in ('STORAGE_SIZE') - ) - group by - tenant_name, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE - ) - group by tenant_name, USG_CONSUMED_MEASURE, trunc(USAGE_INTERVAL_START) -) -select - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' as line -from -( - select - tenant_name,day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day1) then 'dcbold' else 'dcr' END as day1_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day2) then 'dcbold' else 'dcr' END as day2_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day3) then 'dcbold' else 'dcr' END as day3_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day4) then 'dcbold' else 'dcr' END as day4_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day5) then 'dcbold' else 'dcr' END as day5_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day6) then 'dcbold' else 'dcr' END as day6_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day7) then 'dcbold' else 'dcr' END as day7_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day8) then 'dcbold' else 'dcr' END as day8_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day9) then 'dcbold' else 'dcr' END as day9_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day10) then 'dcbold' else 'dcr' END as day10_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day11) then 'dcbold' else 'dcr' END as day11_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day12) then 'dcbold' else 'dcr' END as day12_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day13) then 'dcbold' else 'dcr' END as day13_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day14) then 'dcbold' else 'dcr' END as day14_class - from - ( - select - tenant_name, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-14) then USG_BILLED_QUANTITY else 0 end) DAY14, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-13) then USG_BILLED_QUANTITY else 0 end) DAY13, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-12) then USG_BILLED_QUANTITY else 0 end) DAY12, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-11) then USG_BILLED_QUANTITY else 0 end) DAY11, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then USG_BILLED_QUANTITY else 0 end) DAY10, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then USG_BILLED_QUANTITY else 0 end) DAY9, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then USG_BILLED_QUANTITY else 0 end) DAY8, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then USG_BILLED_QUANTITY else 0 end) DAY7, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then USG_BILLED_QUANTITY else 0 end) DAY6, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then USG_BILLED_QUANTITY else 0 end) DAY5, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then USG_BILLED_QUANTITY else 0 end) DAY4, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then USG_BILLED_QUANTITY else 0 end) DAY3, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then USG_BILLED_QUANTITY else 0 end) DAY2, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then USG_BILLED_QUANTITY else 0 end) DAY1 - from data s - where - USG_CONSUMED_MEASURE = 'STORAGE_SIZE' - group by tenant_name - order by 1 - ) -); -prompt
    Usage Storage (TB) Daily Report - $DATE_PRINT
    Tenant Name'||to_char(trunc(sysdate-14),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-13),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-12),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-11),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-10),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-9),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-8),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-7),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-6),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-5),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-4),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-3),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-2),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-1),'DD-MON-YYYY DY')||'
    '||tenant_name||' '||to_char(day14,'999,999')||' '||to_char(day13,'999,999')||' '||to_char(day12,'999,999')||' '||to_char(day11,'999,999')||' '||to_char(day10,'999,999')||' '||to_char(day9,'999,999')||' '||to_char(day8,'999,999')||' '||to_char(day7,'999,999')||' '||to_char(day6,'999,999')||' '||to_char(day5,'999,999')||' '||to_char(day4,'999,999')||' '||to_char(day3,'999,999')||' '||to_char(day2,'999,999')||' '||to_char(day1,'999,999')||'
    -prompt

    - -prompt -prompt - -with data as -( - select - tenant_name, - prd_service, - prd_resource, - trunc(USAGE_INTERVAL_START) as USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - max(USG_BILLED_QUANTITY) as USG_BILLED_QUANTITY - from - ( - select - tenant_name, - prd_service, - prd_resource, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE, - sum(USG_BILLED_QUANTITY) USG_BILLED_QUANTITY - from - ( - select /*+ parallel(l,d) full(d) */ - USAGE_INTERVAL_START, - tenant_name, - prd_service, - prd_resource, - USG_CONSUMED_MEASURE, - case - when USG_CONSUMED_UNITS like '%MS%' then USG_BILLED_QUANTITY/((USAGE_INTERVAL_END-USAGE_INTERVAL_START)*24*60*60)/1000 - else USG_BILLED_QUANTITY - end as USG_BILLED_QUANTITY - from - oci_usage d - where - USAGE_INTERVAL_START > trunc(sysdate-15) and - USG_CONSUMED_MEASURE in ('OCPUS') - ) - group by - tenant_name, - prd_service, - prd_resource, - USAGE_INTERVAL_START, - USG_CONSUMED_MEASURE - ) - group by tenant_name, prd_service,prd_resource,USG_CONSUMED_MEASURE, trunc(USAGE_INTERVAL_START) -) -select - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ' '|| - ' '|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - ''|| - '' as line -from -( - select - tenant_name,prd_service,prd_resource,day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day1) then 'dcbold' else 'dcr' END as day1_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day2) then 'dcbold' else 'dcr' END as day2_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day3) then 'dcbold' else 'dcr' END as day3_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day4) then 'dcbold' else 'dcr' END as day4_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day5) then 'dcbold' else 'dcr' END as day5_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day6) then 'dcbold' else 'dcr' END as day6_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day7) then 'dcbold' else 'dcr' END as day7_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day8) then 'dcbold' else 'dcr' END as day8_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day9) then 'dcbold' else 'dcr' END as day9_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day10) then 'dcbold' else 'dcr' END as day10_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day11) then 'dcbold' else 'dcr' END as day11_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day12) then 'dcbold' else 'dcr' END as day12_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day13) then 'dcbold' else 'dcr' END as day13_class, - case when trunc(greatest(day1,day2,day3,day4,day5,day6,day7,day8,day9,day10,day11,day12,day13,day14)) = trunc(day14) then 'dcbold' else 'dcr' END as day14_class - from - ( - select - tenant_name,prd_service,prd_resource, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-14) then USG_BILLED_QUANTITY else 0 end) DAY14, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-13) then USG_BILLED_QUANTITY else 0 end) DAY13, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-12) then USG_BILLED_QUANTITY else 0 end) DAY12, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-11) then USG_BILLED_QUANTITY else 0 end) DAY11, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-10) then USG_BILLED_QUANTITY else 0 end) DAY10, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-9 ) then USG_BILLED_QUANTITY else 0 end) DAY9, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-8 ) then USG_BILLED_QUANTITY else 0 end) DAY8, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-7 ) then USG_BILLED_QUANTITY else 0 end) DAY7, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-6 ) then USG_BILLED_QUANTITY else 0 end) DAY6, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-5 ) then USG_BILLED_QUANTITY else 0 end) DAY5, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-4 ) then USG_BILLED_QUANTITY else 0 end) DAY4, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-3 ) then USG_BILLED_QUANTITY else 0 end) DAY3, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-2 ) then USG_BILLED_QUANTITY else 0 end) DAY2, - sum(case when trunc(USAGE_INTERVAL_START) = trunc(sysdate-1 ) then USG_BILLED_QUANTITY else 0 end) DAY1 - from data s - where - USG_CONSUMED_MEASURE = 'OCPUS' - group by tenant_name,prd_service,prd_resource - order by 1 - ) -); -prompt
    Usage OCPUs Daily Report by Service - $DATE_PRINT
    Tenant NameServiceResource'||to_char(trunc(sysdate-14),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-13),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-12),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-11),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-10),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-9),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-8),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-7),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-6),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-5),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-4),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-3),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-2),'DD-MON-YYYY DY')||''||to_char(trunc(sysdate-1),'DD-MON-YYYY DY')||'
    '||tenant_name||' '||prd_service||' '||prd_resource||' '||to_char(day14,'999,999')||' '||to_char(day13,'999,999')||' '||to_char(day12,'999,999')||' '||to_char(day11,'999,999')||' '||to_char(day10,'999,999')||' '||to_char(day9,'999,999')||' '||to_char(day8,'999,999')||' '||to_char(day7,'999,999')||' '||to_char(day6,'999,999')||' '||to_char(day5,'999,999')||' '||to_char(day4,'999,999')||' '||to_char(day3,'999,999')||' '||to_char(day2,'999,999')||' '||to_char(day1,'999,999')||'
    -prompt

    - - -prompt -prompt - -select - ''|| - ''|| - ''|| - '' - as line -from dual -union all -select - ''|| - ' '|| - ' '|| - '' as line -from -( - select - 'Cost Tables and Indexes' object_name, - to_char(sum(bytes/1024/1024/1024),'999,999.99') GB - from - user_segments - where segment_name like '%OCI_COST%' - union all - select - 'Usage Tables and Indexes' object_name, - to_char(sum(bytes/1024/1024/1024),'999,999.99') GB - from - user_segments - where segment_name like '%OCI_USAGE%' - union all - select - 'Total All Objects' object_name, - to_char(sum(bytes/1024/1024/1024),'999,999.99') GB - from - user_segments - where segment_name not like 'BIN%' -); - -prompt
    Storage Statistics
    AreaGigabyte
    '||object_name||' '||gb||'
    - -" | sqlplus -s ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} > $OUTPUT_FILE - -# Check for errors -if (( `grep ORA- $OUTPUT_FILE | wc -l` > 0 )) -then - echo "" - echo "!!! Error running daily report, check logfile $OUTPUT_FILE" - echo "" - grep ORA- $OUTPUT_FILE - exit 1 -fi - -echo "" -echo "Sending e-mail to $MAIL_TO ..." - -#################### -# Sending e-mail -#################### -cat <<-eomail | /usr/sbin/sendmail -f "$MAIL_FROM_EMAIL" -F "$MAIL_FROM_NAME" -t -To: $MAIL_TO -Subject: $MAIL_SUBJECT -Content-Type: text/html -`cat $OUTPUT_FILE` -eomail - - diff --git a/examples/usage_reports_to_adw/shell_scripts/run_gather_stats.sh b/examples/usage_reports_to_adw/shell_scripts/run_gather_stats.sh deleted file mode 100755 index 0a39a4f6a0..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_gather_stats.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, Jul 7th 2020 -# -# run_gather_stats for crontab use weekly run -# -# Amend variables below and database connectivity -# -# Crontab set: -# 30 0 * * 0 timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_gather_stats.sh > /home/opc/usage_reports_to_adw/run_gather_stats_run.txt 2>&1 -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin:$CLIENT_HOME - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# Mail Info -export DATE_PRINT="`date '+%d-%b-%Y'`" - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d_%H%M'` -export REPORT_DIR=${APPDIR}/report/daily -export OUTPUT_FILE=${REPORT_DIR}/gather_stats_${DATE}.txt -mkdir -p ${REPORT_DIR} - -################################## -# run stats -################################## -echo "Running Gather Stats, Log = $OUTPUT_FILE" -echo " -set pages 0 head off feed off lines 799 trimsp on echo off verify off -set define @ -exec dbms_stats.gather_schema_stats(ownname=>'USAGE',DEGREE=>8,estimate_percent=>10,block_sample=>TRUE,stattype=>'DATA',force=>TRUE, method_opt=>'FOR ALL COLUMNS SIZE 1',cascade=>TRUE); -" | sqlplus -s ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} | tee -a $OUTPUT_FILE - -# Check for errors -if (( `grep ORA- $OUTPUT_FILE | wc -l` > 0 )) -then - echo "" - echo "!!! Error running gather stats, check logfile $OUTPUT_FILE" - echo "" - grep ORA- $OUTPUT_FILE - exit 1 -fi - diff --git a/examples/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh b/examples/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh deleted file mode 100755 index 4e9af3cf35..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Author - Adi Zohar, Feb 8th 2023 -# -# Run load_showoci_csv_to_adw -# -# Crontab set: -# 0 0 * * * timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh > /home/opc/usage_reports_to_adw/run_multi_tenants_crontab_run.txt 2>&1 -############################################################################################################################# - -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export LD_LIBRARY_PATH=${CLIENT_HOME}/lib -export PATH=$PATH:$CLIENT_HOME/bin:$CLIENT_HOME -export EXTRA_VARIABLE=$1 - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export SHOWOCI_DIR=$HOME/showoci -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` -export TAG1_SPECIAL=`grep "^TAG_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` -export TAG2_SPECIAL=`grep "^TAG2_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` -export MIN_DATE=`grep "^EXTRACT_DATE" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d_%H%M'` -export REPORT_DIR=${APPDIR}/report -mkdir -p ${REPORT_DIR} - -# Check if showoci_csv2adw.py already running -if (( `ps -ef |grep python |grep showoci_csv2adw.py |wc -l` > 0 )) -then - echo "showoci_csv2adw.py is already running, abort.." - ps -ef |grep python |grep showoci_csv2adw.py - exit 1 -fi - -################################## -# Report Function -################################## -run_report() -{ - NAME=$1 - CSV=$2 - export tenant="-t $NAME" - if [ -z "$NAME" ] - then - exit 1 - fi - - if [ -z "${CSV}" ] - then - exit 1 - fi - - DIR=${REPORT_DIR}/CSV_$NAME - OUTPUT_FILE=${DIR}/${DATE}_${NAME}.txt - mkdir -p $DIR - echo "Running $NAME... to $OUTPUT_FILE " - python3 $APPDIR/usage2adw_showoci_csv2adw.py -du $DATABASE_USER -dp $DATABASE_PASS -dn $DATABASE_NAME -csv $CSV -usethick $EXTRA_VARIABLE |tee -a $OUTPUT_FILE - grep -i "Error" $OUTPUT_FILE - - ERROR="" - - if (( `grep -i Error $OUTPUT_FILE | wc -l` > 0 )) - then - ERROR=" with **** Errors ****" - fi - - echo "Finish `date` - $NAME $ERROR " -} - -########################################################### -# Main -########################################################### -echo "Start running at `date`..." - -run_report local $SHOWOCI_DIR/report/local/csv/local - -echo "Completed at `date`.." diff --git a/examples/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh b/examples/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh deleted file mode 100755 index 7fdcc929cd..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash -############################################################################################################################# -# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# Author - Adi Zohar, Feb 28th 2020, Amended Oct 18th 2022 -# -# Run Multi daily usage load for crontab use -# -# Amend variables below and database connectivity -# Use .oci/config profiles with user authentications -# -# Crontab set: -# 0 0 * * * timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh > /home/opc/usage_reports_to_adw/cron_run_multi_tenants_crontab_run.txt 2>&1 -############################################################################################################################# - -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin:$CLIENT_HOME - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` -export TAG1_SPECIAL=`grep "^TAG_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` -export TAG2_SPECIAL=`grep "^TAG2_SPECIAL" $CREDFILE | awk -F= '{ print $2 }'` -export MIN_DATE=`grep "^EXTRACT_DATE" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d_%H%M'` -export REPORT_DIR=${APPDIR}/report -mkdir -p ${REPORT_DIR} - -# Check if usage2adw.py already running -if (( `ps -ef |grep python |grep usage2adw.py |wc -l` > 0 )) -then - echo "usage2adw.py is already running, abort.." - ps -ef |grep python |grep usage2adw.py - exit 1 -fi - -################################## -# Report Function -################################## -run_report() -{ - NAME=$1 - export tenant="-t $NAME" - if [ -z "$NAME" ] - then - exit 1 - fi - - if [ "${1}" = "local" ]; then - export tenant="-ip" - fi - - if [ -z "${2}" ] - then - TAG1=$TAG1_SPECIAL - else - TAG1=$2 - fi - - if [ -z "${3}" ] - then - TAG2=$TAG2_SPECIAL - else - TAG2=$3 - fi - - DIR=${REPORT_DIR}/$NAME - OUTPUT_FILE=${DIR}/${DATE}_${NAME}.txt - mkdir -p $DIR - echo "Running $NAME... to $OUTPUT_FILE " - python3 $APPDIR/usage2adw.py $tenant -du $DATABASE_USER -dp $DATABASE_PASS -dn $DATABASE_NAME -d $MIN_DATE -ts "${TAG1}" -ts2 "${TAG2}" $4 |tee -a $OUTPUT_FILE - grep -i "Error" $OUTPUT_FILE - - ERROR="" - - if (( `grep -i Error $OUTPUT_FILE | wc -l` > 0 )) - then - ERROR=" with **** Errors ****" - fi - - echo "Finish `date` - $NAME $ERROR " -} - -########################################################### -# Main -########################################################### -# local - authentication by instant principle -# add oci config tenant profile to add more tenants to load -################################## -echo "Start running at `date`..." - -run_report local -#run_report tenant2 tagspecial1 tagspecial2 -#run_report tenant3 tagspecial1 tagspecial2 - -echo "Completed at `date`.." diff --git a/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_daily_to_csv.sh b/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_daily_to_csv.sh deleted file mode 100755 index e3cdd31191..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_daily_to_csv.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, OCt 18 202 -# -# run_report_compart_service_daily_to_csv.sh -# -# Extract Tenant, Compartment, Service and Cost to CSV -# -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d'` -export REPORT_DIR=${APPDIR}/report/daily -export OUTPUT_FILE=${REPORT_DIR}/daily_compartment_service_${DATE}.csv -mkdir -p ${REPORT_DIR} - -echo "Running Report to $OUTPUT_FILE ..." - -################################## -# run report -################################## -echo " -set pages 0 head off feed off lines 799 trimsp on echo off verify off -set define @ -col line for a1000 - -ALTER SESSION SET OPTIMIZER_IGNORE_HINTS=FALSE; -ALTER SESSION SET OPTIMIZER_IGNORE_PARALLEL_HINTS=FALSE; - -prompt tenant,date,compartment,service,total - -select tenant_name||','||usage_day||','||prd_compartment_name||','||prd_service||','||TOTAL line -from -( - select /*+ parallel(oci_cost,8) full(oci_cost) */ - TENANT_NAME, - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD') as USAGE_DAY, - prd_compartment_name, - replace(nvl(prd_service,COST_PRODUCT_SKU),'_',' ') prd_service, - sum(COST_MY_COST) as TOTAL - from oci_cost - group by - TENANT_NAME, - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD'), - prd_compartment_name, - replace(nvl(prd_service,COST_PRODUCT_SKU),'_',' ') - order by 1,2,3 -); - -" | sqlplus -s ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} > $OUTPUT_FILE - -# Check for errors -if (( `grep ORA- $OUTPUT_FILE | wc -l` > 0 )) -then - echo "" - echo "!!! Error running daily report, check logfile $OUTPUT_FILE" - echo "" - grep ORA- $OUTPUT_FILE - exit 1 -fi - -echo "File Exctracted to $OUTPUT_FILE" - diff --git a/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_sku_daily_to_csv.sh b/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_sku_daily_to_csv.sh deleted file mode 100755 index 37f308deec..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_report_compart_service_sku_daily_to_csv.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, OCt 18 202 -# -# run_report_compart_service_sku_daily_to_csv.sh -# -# Extract Tenant, Compartment, Service and Cost to CSV -# -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -# Fixed variables -export DATE=`date '+%Y%m%d'` -export REPORT_DIR=${APPDIR}/report/daily -export OUTPUT_FILE=${REPORT_DIR}/daily_compartment_service_sku_${DATE}.csv -mkdir -p ${REPORT_DIR} - -echo "Running Report to $OUTPUT_FILE ..." - -################################## -# run report -################################## -echo " -set pages 0 head off feed off lines 799 trimsp on echo off verify off -set define @ -col line for a1000 - -ALTER SESSION SET OPTIMIZER_IGNORE_HINTS=FALSE; -ALTER SESSION SET OPTIMIZER_IGNORE_PARALLEL_HINTS=FALSE; - -prompt tenant,date,compartment,service,sku,desc,total - -select tenant_name||','||usage_day||','||prd_compartment_name||','||prd_service||','||prd_sku||','||prd_desc||','||TOTAL line -from -( - select /*+ parallel(oci_cost,8) full(oci_cost) */ - TENANT_NAME, - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD') as USAGE_DAY, - prd_compartment_name, - replace(nvl(prd_service,COST_PRODUCT_SKU),'_',' ') prd_service, - COST_PRODUCT_SKU prd_sku, - min(PRD_DESCRIPTION) prd_desc, - sum(COST_MY_COST) as TOTAL - from oci_cost - group by - TENANT_NAME, - to_char(USAGE_INTERVAL_START,'YYYY-MM-DD'), - prd_compartment_name, - replace(nvl(prd_service,COST_PRODUCT_SKU),'_',' '), - cost_product_sku - order by 1,2,3 -); - -" | sqlplus -s ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} > $OUTPUT_FILE - -# Check for errors -if (( `grep ORA- $OUTPUT_FILE | wc -l` > 0 )) -then - echo "" - echo "!!! Error running daily report, check logfile $OUTPUT_FILE" - echo "" - grep ORA- $OUTPUT_FILE - exit 1 -fi - -echo "File Exctracted to $OUTPUT_FILE" - diff --git a/examples/usage_reports_to_adw/shell_scripts/run_sqlplus_usage.sh b/examples/usage_reports_to_adw/shell_scripts/run_sqlplus_usage.sh deleted file mode 100755 index ac0adbd5ea..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_sqlplus_usage.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, Mar 18 2023 -# -# run_sqlplus_usage.sh -# -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -################################## -# run sqlplus -################################## -sqlplus ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} diff --git a/examples/usage_reports_to_adw/shell_scripts/run_table_size_info.sh b/examples/usage_reports_to_adw/shell_scripts/run_table_size_info.sh deleted file mode 100755 index 05178c3254..0000000000 --- a/examples/usage_reports_to_adw/shell_scripts/run_table_size_info.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -############################################################################################################################# -# Author - Adi Zohar, OCt 18 2022 -# -# run_table_size_info.sh -# -# Extract Tenant, Compartment, Service and Cost to CSV -# -############################################################################################################################# -# Env Variables based on yum instant client -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin - -# App dir -export TNS_ADMIN=$HOME/ADWCUSG -export APPDIR=$HOME/usage_reports_to_adw -export CREDFILE=$APPDIR/config.user -cd $APPDIR - -# database info -export DATABASE_USER=`grep "^DATABASE_USER" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_PASS=`grep "^DATABASE_PASS" $CREDFILE | awk -F= '{ print $2 }'` -export DATABASE_NAME=`grep "^DATABASE_NAME" $CREDFILE | awk -F= '{ print $2 }'` - -################################## -# run report -################################## -echo " -set pages 1000 lines 700 trimsp on -col segment_name for a36 -col gb for 999,999.99 -select segment_name, sum(bytes/1024/1024/1024) GB -from user_segments -group by segment_name -having sum(bytes/1024/1024/1024) > 0.01 -order by 2 desc; - -" | sqlplus -s ${DATABASE_USER}/${DATABASE_PASS}@${DATABASE_NAME} - diff --git a/examples/usage_reports_to_adw/step_by_step_howto.md b/examples/usage_reports_to_adw/step_by_step_howto.md index acb4d92722..61fc94c969 100644 --- a/examples/usage_reports_to_adw/step_by_step_howto.md +++ b/examples/usage_reports_to_adw/step_by_step_howto.md @@ -1,535 +1,3 @@ -# Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database with APEX Reporting +# Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database Tool -## How To Manual - -**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes, and rather OCI's official -[cost analysis](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/costanalysisoverview.htm) -and [usage reports](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/usagereportsoverview.htm) features should be used instead.** - -**Developed by Adi Zohar, 2020-2023** - -## Content -[1. How to create additional APEX End User Accounts](#1-how-to-create-additional-apex-end-user-accounts) - -[2. How to change Autonomous Database to Private End Point](#2-how-to-change-autonomous-database-to-private-end-point) - -[3. How to add multiple tenants](#3-how-to-add-multiple-tenants) - -[4. How to upgrade the usage2adw application and APEX](#4-how-to-upgrade-the-usage2adw-application-and-apex) - -[5. How to Refresh the Autonomous Database Wallet for the usage2adw application](#5-how-to-refresh-the-autonomous-database-wallet-for-the-usage2adw-application) - -[6. How to upgrade Oracle Instant Client to Version 19.18](#6-how-to-upgrade-oracle-instant-client-to-version-1918) - -[7. How to Schedule Daily Report](#7-how-to-schedule-daily-report) - -[8. How to Setup e-mail subscription](#8-how-to-setup-e-mail-subscription) - -[9. How to Enable showoci extract on usage2adw vm](#9-how-to-enable-showoci-extract-on-usage2adw-vm) - -[10. How to unlock user USAGE and change password](#10-how-to-unlock-user-usage-and-change-password) - -[11. How to truncate the Usage2ADW tables in order to reload](#11-how-to-truncate-the-usage2adw-tables-in-order-to-reload) - -## 1. How to create additional APEX End User Accounts - -``` - Login to Workspace Managament - Top 3rd Right Menu -> Manage Users and Groups - --> Create User - - Fill: - --> Username - --> Email - --> Password - --> Confirm Password - --> Optional - Require to change passqword = No - --> Apply Changes -``` - -![](img/Image_19.png) - -![](img/Image_20.png) - -![](img/Image_21.png) - -![](img/Image_22.png) - - -## 2. How to change Autonomous Database to Private End Point - -Login to OCI Console -> Menu -> Oracle Database -> Autonomous Database - -Choose The Autonomous database for Usage2ADW - -More Actions Menu -> Update Network Access - -![](img/pe1.png) - -#### Update Network Access - -Choose Network Access -> Private endpoint access Only - -Choose Network security group that will assigned to the Autonomous database - -If you don't have Network Security Group, Go to the Virtual Cloud Network and Create one. - -Make sure you allow port 1522/TCP inbound traffic. - -![](img/pe2.png) - -#### Update VM tnsnames to the private endpoint - -Find the Private Endpoint URL: - -![](img/pe3.png) - -Login to the usage2adw virtual machine using ssh tool with opc user - -cd ADWCUSG - -Edit tnsnames.ora file and change the tnsnames *_low entry host to the private end point specify in the ADW page - -## 3. How to add multiple tenants - -Login to Usage2adw VM - -``` - # setup oci tenant configuration - oci setup config - Enter a location for your config [/home/opc/.oci/config]: ( Press Enter) - Do you want add a profile here - Press Y - Name of the profile - Enter the tenant name - Complete the rest of the questions based on the user authentication - - # update run_multi_daily_usage2adw.sh - cd /home/opc/usage_reports_to_adw/shell_scripts - vi run_multi_daily_usage2adw.sh - - # scroll to the bottom and add lines per tenant profile, you can specify different tagspecial1 and tagspecial2 if different then the main tenant - run_report tenant2 tagspecial1 tagspecial2 - run_report tenant3 tagspecial1 tagspecial2 -``` - -## 4. How to upgrade the usage2adw application and APEX -``` - # on oci github: - bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw/setup/setup_upgrade_usage2adw.sh)" -``` - -## 5. How to Refresh the Autonomous Database Wallet for the usage2adw application - -### 5a. Download Autonomus Database Wallet - If you provisioned the usaege2adw before Nov 2022: - -``` - # On OCI -> MENU -> Autonomous Data Warehouse -> ADWCUSG - --> Database Connection - --> Wallet Type = Instance Wallet - --> Download Client Credential - --> Specify the Password - --> Download the wallet to wallet.zip - --> Copy the Wallet to the Linux folder /home/opc with the name wallet.zip -``` - -### 5b. Download Autonomus Database Wallet using oci cli if you provisioned the usage2adw after Nov 2022. -``` - # Download command exist in the boot.log - ---> Login to the usage2adw vm using ssh using opc user - ---> Check the boot.log content using below script - ---> Command to download the wallet appears similar to the below, please adjust the admin password if you changed it - grep autonomous-database boot.log - oci db autonomous-database generate-wallet --autonomous-database-id ocid1.autonomousdatabase.oc1.iad.anuwclxxxxx --password yyyyyyy --file /home/opc/wallet.zip --auth instance_principal - ---> Run the command, if any error follow the manual download section 5a above -``` - -### Replace existing wallet folder -``` - ---> Rename existing wallet folder to old (if old folder exist, delete it using rm -rf ADWCUSG.old ) - mv ADWCUSG ADWCUSG.old - - ---> Extract the new wallet - unzip -o wallet.zip -d /home/opc/ADWCUSG - - ---> Fix sqlnet.ora params - sed -i "s#?/network/admin#$HOME/ADWCUSG#" ~/ADWCUSG/sqlnet.ora - - ---> Run the script to check - $HOME/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh -``` - -If you deployed usage2adw before Jan 2022 you may need to download new Oracle Instant Client - check next section - -## 6. How to upgrade Oracle Instant Client to Version 19.18 - -``` - sudo rpm -i --force --nodeps https://download.oracle.com/otn_software/linux/instantclient/1918000/oracle-instantclient19.18-basic-19.18.0.0.0-1.x86_64.rpm - sudo rpm -i --force --nodeps https://download.oracle.com/otn_software/linux/instantclient/1918000/oracle-instantclient19.18-sqlplus-19.18.0.0.0-1.x86_64.rpm - sudo rpm -i --force --nodeps https://download.oracle.com/otn_software/linux/instantclient/1918000/oracle-instantclient19.18-tools-19.18.0.0.0-1.x86_64.rpm - sudo rm -f /usr/lib/oracle/current - sudo ln -s /usr/lib/oracle/19.18 /usr/lib/oracle/current - - # Check by running the application - $HOME/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh -``` - -## 7. How to schedule daily report - -### 7.1. Create approved sender -``` -OCI -> Menu -> Solutions and Platform -> Email Delivery -> Email Approved Sender ---> Create approved sender ---> email address to be used, your domain must allow to send e-mail from it, if not use report@oracleemaildelivery.com, -``` - -![](img/report_01.png) - -![](img/report_02.png) - -### 7.2. Create user smtp password -``` -OCI -> Menu -> Identity -> Users - -Find the user that will send e-mail -Bottom left -> SMTP Credentials - -Generate SMTP Credentials ---> Description = cost_usage_email_credentials ---> Copy the username and password to notepad, they won't appear again -``` - - -![](img/report_03.png) - -![](img/report_04.png) - -### 7.3. Find connection end point for current region - -Find your SMTP endpoint from the documentation - - -https://docs.cloud.oracle.com/en-us/iaas/Content/Email/Tasks/configuresmtpconnection.htm - -Example For Ashburn - smtp.us-ashburn-1.oraclecloud.com - -### 7.4. Setup postfix e-mail - part #1 - main.cf - -Following the documentation - https://docs.cloud.oracle.com/en-us/iaas/Content/Email/Reference/postfix.htm - -``` -Login to the unix machine - -sudo vi /etc/postfix/main.cf - -# Add the following information to the end of the file: -smtp_tls_security_level = may -smtp_sasl_auth_enable = yes -smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd -smtp_sasl_security_options = - -# Update the Postfix main.cf file - If the following line is present, either remove the line or turn it off: -smtpd_use_tls = yes - -# Update relayhost to include your SMTP connection endpoint and port. take it from item #3 -relayhost = smtp.us-ashburn-1.oraclecloud.com:587 -``` - -### 7.5. Setup postfix e-mail - part #2 - sasl_passwd - -``` -sudo vi /etc/postfix/sasl_passwd - -# Add your relay host and port by entering: -# server:port user:pass - -smtp.us-ashburn-1.oraclecloud.com:587 ocid1.user.oc1..aaaaaaa....@ocid1.tenancy.oc1..aaaaaaa.....:password - -# run -sudo chown root:root /etc/postfix/sasl_passwd && sudo chmod 600 /etc/postfix/sasl_passwd -sudo postmap hash:/etc/postfix/sasl_passwd -``` - -### 7.6. Setup postfix e-mail - part #3 - Reload Postfix - -``` -# if postfix running - run start else reload -sudo systemctl enable postfix -sudo postfix start -sudo postfix reload -``` - -### 7.7. Setup postfix e-mail - part #4 - Test Mail - -``` -# Test e-mail -echo "This is a test message" | mail -s "Test" -r "report@oracleemaildelivery.com" youremail@yourdomain.com -``` - -### 7.8. Clone the OCI Python SDK Repo from Git Hub - -``` -# Required if previous clone not includes run_daily_report.sh -cd $HOME -sudo yum install -y git -git clone https://github.com/oracle/oci-python-sdk -ln -s oci-python-sdk/examples/usage_reports_to_adw . -cd usage_reports_to_adw/shell_scripts -chmod +x run_daily_report.sh -``` - -### 7.9. Update script parameters - -``` -# update run_daily_report.sh for the database connection and mail info details -export DATABASE_USER=usage -export DATABASE_PASS= -export DATABASE_NAME=adwcusg_low - -export MAIL_FROM_NAME="Cost.Report" -export MAIL_FROM_EMAIL="report@oracleemaildelivery.com" -export MAIL_TO="oci.user@oracle.com" -``` - -### 7.10. Execute the script - -``` -./run_daily_report.sh -``` - -### 7.11. Add crontab to run daily at 7am - -``` -# add the line to the crontab using - crontab -e -0 7 * * * timeout 6h /home/opc/oci-python-sdk/examples/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh > /home/opc/oci-python-sdk/examples/usage_reports_to_adw/shell_scripts/run_daily_report_crontab_run.txt 2>&1 -``` - -## 8. How to setup e-mail subscription - -### 8.1. Create approved sender -``` -OCI -> Menu -> Solutions and Platform -> Email Delivery -> Email Approved Sender ---> Create approved sender ---> email address to be used, your domain must allow to send e-mail from it, if not use report@oracleemaildelivery.com, -``` - -![](img/report_01.png) - -![](img/report_02.png) - -### 8.2. Create user smtp password -``` -OCI -> Menu -> Identity -> Users - -Find the user that will send e-mail -Bottom left -> SMTP Credentials - -Generate SMTP Credentials ---> Description = cost_usage_email_credentials ---> Copy the username and password to notepad, they won't appear again -``` - - -![](img/report_03.png) - -![](img/report_04.png) - -### 8.3. Find connection end point for current region - -Find your SMTP endpoint from the documentation - - -https://docs.cloud.oracle.com/en-us/iaas/Content/Email/Tasks/configuresmtpconnection.htm - -Example For Ashburn - smtp.us-ashburn-1.oraclecloud.com - -### 8.4. Integrating Oracle Application Express with Email Delivery - -Based on the documentation - https://docs.oracle.com/en-us/iaas/Content/Email/Reference/apex.htm - -``` -Login to the unix machine - -connect to the ADW Database using sqlplus -> sqlplus admin@usage2adw_low - -Execute: - -BEGIN - APEX_INSTANCE_ADMIN.SET_PARAMETER('SMTP_HOST_ADDRESS', 'smtp.region.oraclecloud.com'); - APEX_INSTANCE_ADMIN.SET_PARAMETER('SMTP_USERNAME', 'ocid1.user.oc1.username'); - APEX_INSTANCE_ADMIN.SET_PARAMETER('SMTP_PASSWORD', 'paste your password'); - COMMIT; -END; -/ - -# Test -BEGIN - APEX_MAIL.SEND(p_from => 'oci_user@domain.com', - p_to => 'john@example.com', - p_subj => 'Email from Oracle Autonomous Database', - p_body => 'Sent using APEX_MAIL'); -END; -/ - -``` - -### 8.5. Configure APEX application to use the approved sender - -#### 8.5.1. Open Autonomous Database APEX Workspace - -``` - OCI Console -> Autonomous Databases -> ADWCUSG -> Service Console - Development Menu -> Oracle APEX - Choose Workspace Login. - - Workspace = Usage - User = Usage - Password = Password you defined for the application - - -``` -![](img/Image_16.png) - -#### 8.5.2. Choose the OCI Usage and Cost Report application - -![](img/Image_33.png) - -#### 8.5.3. Press on Edit Application Definition - Top Right - -![](img/Image_34.png) - -#### 8.5.4. Update "Application Email From Address" with approved sender - -![](img/Image_35.png) - -### 8.6. Send report via download to e-mail or Subscription - -![](img/Image_36.png) - -``` - Please bear in mind: - 1. OCI e-mail delivery is limited to 2mb - 2. If Subscribed to report, please use future date filter - -``` - -## 9. How to enable showoci extract on usage2adw vm - -### 9.1 Upgrade showoci and oci sdk packages - -Run on oci vm - -``` -bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/showoci/showoci_upgrade.sh)" -``` - -``` -mkdir -p ${HOME}/usage_reports_to_adw/cron -``` - -### 9.2 Add read all-resources policy to allow showoci to extract data - -Update the policy for the dynamic group of the host as below (inspect can be used instead but some information won't be exported) - -``` -Allow dynamic-group UsageDownloadGroup to read all-resources in tenancy -``` - -### 9.3 Add/Enable crontab to extract showoci every night - -Edit crontab using crontab -e and add/update the below: (If exist remove the # before the command) - -``` -############################################################################### -# Crontab to run showoci every night -############################################################################### -0 0 * * * timeout 23h /home/opc/showoci/run_daily_report.sh > /home/opc/showoci/run_daily_report_crontab_run.txt 2>&1 -``` - -### 9.4 Add-Update crontab to load showoci-csv to Autonomous database - -Download run_load_showoci_csv_to_adw.sh if not exist - -``` -wget https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh -O /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh - -chmod +x /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh -chmod +x /home/opc/showoci/run_daily_report.sh -chmod +x /home/opc/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh - -``` - -Edit crontab using crontab -e and add/update the below (If exist remove the # before the command) - -``` -############################################################################### -# Crontab to run showoci_csv to ADB -############################################################################### -00 8 * * * timeout 2h /home/opc/usage_reports_to_adw/shell_scripts/run_load_showoci_csv_to_adw.sh > /home/opc/usage_reports_to_adw/cron/run_load_showoci_csv_to_adw.sh_run.txt 2>&1 -``` - -### 9.5 showoci outputs - -ShowOCI output locations: - -``` -/home/opc/showoci/report/local and /home/opc/showoci/report/local/csv -Autonomous tables - OCI_SHOWOCI_* -``` - -## 10. How to unlock user USAGE and change password - -### 10.1. Login to the VM host - -### 10.2. Obtain the database connect string - -``` -grep low $HOME/usage_reports_to_adw/config.user | awk -F= '{ print $2 }' -``` -Example: adi19c_low - -### 10.3. Connect to the database using Admin, Please replace the connect_string from item above. - (if you don't know the admin password, please update the admin password at the OCI Console [here](https://docs.oracle.com/en-us/iaas/autonomous-database/doc/unlock-or-change-admin-database-user-password.html) - -``` -sqlplus admin@connect_string -``` - -### 10.4. Unloack the USAGE account if locked - -``` -ALTER USER USAGE ACCOUNT UNLOCK; -``` - -### 10.4. Change USAGE user password (), New Password must contain at least 12 chars, upper case, lower case and special symbol # or _ - -``` -ALTER USER USAGE IDENTIFIED BY NEW_PASSWORD; -``` - -### 10.5. Update config.user file with new password - -``` -vi $HOME/usage_reports_to_adw/config.user -``` - -### 10.6. Test the application: - -``` -/home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh -``` - -## 11. How to truncate the Usage2ADW tables in order to reload - -Login to SQL*PLUS -``` -/home/opc/usage_reports_to_adw/shell_scripts/run_sqlplus_usage.sh -``` - -Run the Truncate Table Script -``` -@/home/opc/usage_reports_to_adw/setup/truncate_tables.sql -``` - -## License - -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl -or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +Usage Reports to ADW repository has been moved to [https://github.com/oracle-samples/usage-reports-to-adw](https://github.com/oracle-samples/usage-reports-to-adw) diff --git a/examples/usage_reports_to_adw/step_by_step_installation.md b/examples/usage_reports_to_adw/step_by_step_installation.md deleted file mode 100644 index 54737462e9..0000000000 --- a/examples/usage_reports_to_adw/step_by_step_installation.md +++ /dev/null @@ -1,165 +0,0 @@ -# Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database with APEX Reporting - -## Step by Step Manual installation Guide on OCI VM and Autonomous Data Warehouse Database -usage2adw is a tool which uses the Python SDK to extract the usage reports from your tenant and load it to Oracle Autonomous Database. - -Oracle Application Express (APEX) will be used for reporting. - -**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes, and rather OCI's official -[cost analysis](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/costanalysisoverview.htm) -and [usage reports](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/usagereportsoverview.htm) features should be used instead.** - -**Developed by Adi Zohar, 2020-2023** - -## 1. Deploy VM Compute instance to run the python script -``` - OCI -> Menu -> Compute -> Instances - Create Instance - --> Name = UsageVM - --> Image = Oracle Linux 8 - --> Shape = VM.Flex.E4 or Higher - --> Choose your network VCN and Subnet (any type of VCN and Subnet) - --> Assign public IP - Optional if on public subnet - --> Add your public SSH key - --> Press Create -``` - -``` -Copy Instance Info: ---> Compute OCID to be used for Dynamic Group Permission ---> Compute IP -``` - -## 2. Create Dynamic Group for Instance Principles - -``` -OCI -> Menu -> Identity -> Dynamic Groups -> Create Dynamic Group ---> Name = UsageDownloadGroup ---> Desc = Dynamic Group for the Usage Report VM ---> Rule 1 = ANY { instance.id = 'OCID_Of_Step_1_Instance' } -``` - -## 3. Create Policy to allow the Dynamic Group to extract usage report and read Compartments - -``` -OCI -> Menu -> Identity -> Policies -Choose Root Compartment -Create Policy ---> Name = UsageDownloadPolicy ---> Desc = Allow Dynamic Group UsageDownloadGroup to Extract Usage report script -Statements: -define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq -endorse dynamic-group UsageDownloadGroup to read objects in tenancy usage-report -Allow dynamic-group UsageDownloadGroup to inspect compartments in tenancy -Allow dynamic-group UsageDownloadGroup to inspect tenancies in tenancy -Allow dynamic-group UsageDownloadGroup to read autonomous-databases in compartment {APPCOMP} -*** Please don't change the usage report tenant OCID, it is fixed. -``` - -## 4. Deploy Autonomous Data Warehouse Database - -``` -OCI -> Menu -> Autonomous Data Warehouse -Create Autonomous Database ---> Compartment = Please Choose ---> Display Name = ADWCUSG ---> Database Name ADWCUSG ---> Workload = Data Warehouse ---> Deployment = Shared ---> Always Free = Optional ---> OCPU = 1 ---> Storage = 1 ---> Auto Scale = No ---> Password = We1lc2om3e#4 (Please choose your own password) ---> Choose Network Access = Allow secure Access from Everywhere (you can use VCN as well which requires NSG) ---> Choose License Type -``` - -## 5. Login to Linux Machine - -``` -Using the SSH key you provided, SSH to the linux machine from step #1 -ssh opc@UsageVM -``` - -## 6. Run Install Packages Script from Github - -The script will install Python3, Git and python packages - oci, oci-cli, oracledb and requests -Install Oracle Database Instance Client, Update bashrc and Clone the Python SDK - -``` -# on oci github: -bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw/setup/setup_packages.ol8.sh)" -``` - -## 7. Setup Credentials - -This script will ask for Database Name, Admin Password, Application Password and Extract Start Date - -``` -/home/opc/usage_reports_to_adw/setup/setup_credentials.sh -``` - -## 8. Download Autonomous database Wallet - -``` -# on Linux -> create folder $HOME/ADWCUSG -mkdir $HOME/ADWCUSG - -# On OCI -> MENU -> Autonomous Data Warehouse -> ADWCUSG ---> Service Console ---> Administration ---> Download Client Credential ---> Specify the Admin Password ---> Copy the Wallet wallet.zip to the Linux folder /home/opc with the name wallet.zip -``` - -![](img/Image_10.png) - -## 9. Check OCI Connectivity and setup database users and apex - -``` -# Execute: -/home/opc/usage_reports_to_adw/setup/setup_usage2adw.sh - -``` - -## 10. Open Autonomous Database APEX Workspace Admin - -``` -OCI Console -> Autonomous Databases -> ADWCUSG -> Service Console -Development Menu -> Oracle APEX -Choose Workspace Login. - -Workspace = Usage -User = Usage -Password = Password you defined for the application -``` - -![](img/Image_16.png) - -## 11. Login to Apex Application - -``` - Press on App Builder on the Left side - Press on the application "Usage and Cost Report" - Execute the application - Bookmark this page for future use - - User = Usage - Password = Password you defined for the application - -``` - -![](img/Image_30.png) - - -## Additional Contents -Please Visit [How To File](step_by_step_howto.md) - - -## License - -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl -or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. diff --git a/examples/usage_reports_to_adw/step_by_step_manual_installation.md b/examples/usage_reports_to_adw/step_by_step_manual_installation.md deleted file mode 100644 index 5977a1fbbe..0000000000 --- a/examples/usage_reports_to_adw/step_by_step_manual_installation.md +++ /dev/null @@ -1,332 +0,0 @@ -# Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database with APEX Reporting - -## Step by Step Manual installation Guide on OCI VM and Autonomous Data Warehouse Database -usage2adw is a tool which uses the Python SDK to extract the usage reports from your tenant and load it to Oracle Autonomous Database. - -Oracle Application Express (APEX) will be used for reporting. - -**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes, and rather OCI's official -[cost analysis](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/costanalysisoverview.htm) -and [usage reports](https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/usagereportsoverview.htm) features should be used instead.** - -**Developed by Adi Zohar, 2020-2023** - -## 1. Deploy VM Compute instance to run the python script - -``` -OCI -> Menu -> Compute -> Instances -Create Instance ---> Name = UsageVM ---> Image = Oracle Linux 8 ---> Shape = VM.Flex.E4 or Higher ---> Choose your network VCN and Subnet (any type of VCN and Subnet) ---> Assign public IP - Optional if on public subnet ---> Add your public SSH key ---> Press Create - -Copy Instance Info: ---> Compute OCID to be used for Dynamic Group Permission ---> Compute IP - -``` - -## 2. Create Dynamic Group for Instance Principles - -``` -OCI -> Menu -> Identity -> Dynamic Groups -> Create Dynamic Group ---> Name = UsageDownloadGroup ---> Desc = Dynamic Group for the Usage Report VM ---> Rule 1 = ANY { instance.id = 'OCID_Of_Step_1_Instance' } -``` - -## 3. Create Policy to allow the Dynamic Group to extract usage report and read Compartments - -``` -OCI -> Menu -> Identity -> Policies -Choose Root Compartment -Create Policy ---> Name = UsageDownloadPolicy ---> Desc = Allow Dynamic Group UsageDownloadGroup to Extract Usage report script ---> Statement 1 = define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq ---> Statement 2 = endorse dynamic-group UsageDownloadGroup to read objects in tenancy usage-report ---> Statement 3 = Allow dynamic-group UsageDownloadGroup to inspect compartments in tenancy ---> Statement 4 = Allow dynamic-group UsageDownloadGroup to inspect tenancies in tenancy ---> Statement 5 = Allow dynamic-group UsageDownloadGroup to read autonomous-databases in compartment {APPCOMP} -*** Please don't change the usage report tenant OCID, it is fixed. -``` - -## 4. Deploy Autonomous Data Warehouse Database - -``` -OCI -> Menu -> Autonomous Data Warehouse -Create Autonomous Database ---> Compartment = Please Choose ---> Display Name = ADWCUSG ---> Database Name ADWCUSG ---> Workload = Data Warehouse ---> Deployment = Shared ---> Always Free = Optional ---> OCPU = 1 ---> Storage = 1 ---> Auto Scale = No ---> Password = (Please choose your own password) ---> Choose Network Access = Allow secure Access from Everywhere (you can use VCN as well which requires NSG) ---> Choose License Type -``` - -## 5. Login to Linux Machine - -``` -Using the SSH key you provided, SSH to the linux machine from step #1 -ssh opc@UsageVM -``` - -## 6. Install Python 3.9 OCI packages - -``` -sudo dnf module install python39 -sudo dnf install python39-pip -sudo alternatives --set python3 /usr/bin/python3.9 - -# Install Python required packages -python3 -m pip install --upgrade pip -python3 -m pip install --upgrade oci oci-cli -python3 -m pip install --upgrade oracledb -python3 -m pip install --upgrade requests -python3 -m pip install --upgrade pandas openpyxl - -# test instance principle is working using oci-cli -oci os ns get --auth instance_principal -``` - -## 7. Install Oracle instant client - -``` -# Please refer to the download site for Manual installation = https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html - -4. install oracle instant client 21 -sudo dnf install oracle-instantclient-release-el8 -sudo dnf install oracle-instantclient-basic -sudo dnf install oracle-instantclient-sqlplus -sudo ln -s /usr/lib/oracle/21 /usr/lib/oracle/current - -# setup oracle home variables -# Add the below to $HOME/.bashrc: -export CLIENT_HOME=/usr/lib/oracle/current/client64 -export PATH=$PATH:$CLIENT_HOME/bin -export TNS_ADMIN=$HOME/ADWCUSG - -# Load the variables -source $HOME/.bashrc -``` - -## 8. Download Autonomous database Wallet - -``` -# on Linux -> create folder $HOME/ADWCUSG -mkdir $HOME/ADWCUSG - -# On OCI -> MENU -> Autonomous Data Warehouse -> ADWCUSG ---> Service Console ---> Administration ---> Download Client Credential ---> Specify the Admin Password ---> Copy the Wallet wallet.zip to the Linux folder $HOME/ADWCUSG - -# Or use OCI CLI , Requires - Autonomous DB OCID and any password -oci db autonomous-database generate-wallet --autonomous-database-id ocid1.autonomousdatabase.xxxx --password yyyy# --file /home/opc/wallet.zip --auth instance_principal -``` - -``` -# on Linux -> Unzip Wallet -cd $HOME/ADWCUSG -unzip wallet.zip - -# Change directory of sqlnet.ora to $HOME/ADWCUSG -sed -i "s#?/network/admin#$HOME/ADWCUSG#" sqlnet.ora -``` - -## 9. Create Database User for the Usage repository - -``` -sqlplus admin/@adwcusg_low - -# Choose your own password -SQL> create user usage identified by ; -SQL> grant connect, resource, dwrole, unlimited tablespace to usage; -SQL> exit -``` - -## 10. Clone the OCI Python SDK Repo from Git Hub - -``` -cd $HOME -sudo yum install -y git -git clone https://github.com/oracle/oci-python-sdk -ln -s oci-python-sdk/examples/usage_reports_to_adw . -cd usage_reports_to_adw -``` - -## 11. Setup Credentials - -This script will ask for Database Name, Admin Password, Application Password and Extract Start Date - -``` -/home/opc/usage_reports_to_adw/setup/setup_credentials.sh -``` - -## 12. Execute the python script - usage2adw.py or setup_usage2adw.sh - -``` -# if you want to skip 13 to 17, execute the script /home/opc/usage_reports_to_adw/setup/setup_usage2adw.sh - -# Please amend the password for the USAGE schema and load the data -python3 usage2adw.py -ip -du USAGE -dp -dn adwcusg_low -``` - -## 13. Open Autonomous Database APEX Application - -``` -OCI Console -> Autonomous Databases -> ADWCUSG -> Service Console -Development Menu -> Oracle APEX -``` - -![](img/Image_11.png) - -``` - Enter Admin Password - for first time setup -``` - -![](img/Image_12.png) - - -## 14. Create APEX workspace - -![](img/Image_13.png) - -``` - Database User = USAGE - Workspace Name = USAGE -``` - -![](img/Image_14.png) - -``` - Sign Out - Top Right Menu -> Sign Out -``` - -![](img/Image_15.png) - -## 15. Setup APEX Administrator User Application - -``` - Login under USAGE Workspace - --> Workspace = USAGE - --> Username = USAGE - --> Password = "USAGE Schema Password" - --> Press Continue - - Specify your e-mail and name. - --> Apply Changes -``` - -![](img/Image_16.png) - -![](img/Image_17.png) - -![](img/Image_18.png) - -## 16. Create End User Account - -``` - Top 3rd Right Menu -> Manage Users and Groups - --> Create User - - Fill: - --> Username - --> Email - --> Password - --> Confirm Password - --> Optional - Require to change passqword = No - --> Apply Changes -``` - -![](img/Image_19.png) - -![](img/Image_20.png) - -![](img/Image_21.png) - -![](img/Image_22.png) - -## 17. Import APEX application - -Right Click and Download [usage.demo.apex.sql](https://raw.githubusercontent.com/oracle/oci-python-sdk/master/examples/usage_reports_to_adw/apex_demo_app/usage.demo.apex.sql) from github "apex_demo_app" folder (raw) - -``` - APEX Top Menu -> App Builder -> Import - --> Choose File = usage.demo.apex.sql (Download from github apex folder) - --> Press Next - --> Press Next - --> Press Install Application - --> Press Next - --> Press Install -``` - -![](img/Image_23.png) - -![](img/Image_24.png) - -![](img/Image_25.png) - -![](img/Image_26.png) - -![](img/Image_27.png) - -![](img/Image_28.png) - -## 18. Execute Application - -``` - Press Run application - Bookmark the page for future use. - Login = your end user username and password -``` - -![](img/Image.png) - -![](img/Image_30.png) - -![](img/Image_31.png) - -![](img/Image_32.png) - -![](img/screen_1.png) -![](img/screen_2.png) -![](img/screen_3.png) - - -## 19. Schedule a crontab job to execute the load daily -``` - # Amend the oracle instance client path run_daily_usage2adw.sh according to your environment. i.e. 18.3 or later - $HOME/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh - - # change execution permission - chmod +x $HOME/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh - - # Test the execution - $HOME/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh - - # add crontab that execute every night - 0 0 * * * timeout 6h /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw.sh > /home/opc/usage_reports_to_adw/shell_scripts/run_multi_daily_usage2adw_crontab_run.txt 2>&1 -``` - -## Additional Contents -Please Visit [How To File](step_by_step_howto.md) - - -## License - -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl -or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. diff --git a/examples/usage_reports_to_adw/usage2adw.py b/examples/usage_reports_to_adw/usage2adw.py deleted file mode 100644 index 11a87033ba..0000000000 --- a/examples/usage_reports_to_adw/usage2adw.py +++ /dev/null @@ -1,2022 +0,0 @@ -#!/usr/bin/env python3 -########################################################################## -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# DISCLAIMER This is not an official Oracle application, It does not supported by Oracle Support, -# It should NOT be used for utilization calculation purposes, and rather OCI's official -# -# usage2adw.py -# -# @author: Adi Zohar -# -# Supports Python 3 and above -# -# coding: utf-8 -########################################################################## -# OCI Usage to ADWC: -# -# Required OCI user part of UsageDownloadGroup with below permission: -# define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq -# endorse group UsageDownloadGroup to read objects in tenancy usage-report -# Allow group UsageDownloadGroup to inspect compartments in tenancy -# Allow group UsageDownloadGroup to inspect tenancies in tenancy -# Allow group UsageDownloadGroup to read autonomous-database in compartment {APPCOMP} -# -########################################################################## -# Database user: -# create user usage identified by applicable_password; -# grant connect, resource, dwrole, unlimited tablespace to usage; -########################################################################## -# -# Modules Included: -# - oci.object_storage.ObjectStorageClient -# - oci.identity.IdentityClient -# -# APIs Used: -# - IdentityClient.list_compartments - Policy COMPARTMENT_INSPECT -# - IdentityClient.get_tenancy - Policy TENANCY_INSPECT -# - IdentityClient.list_region_subscriptions - Policy TENANCY_INSPECT -# - ObjectStorageClient.list_objects - Policy OBJECT_INSPECT -# - ObjectStorageClient.get_object - Policy OBJECT_READ -# -# Meter API for Public Rate: -# - https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/?currencyCode=USD -# -########################################################################## -# Tables used: -# - OCI_USAGE - Raw data of the usage reports -# - OCI_USAGE_STATS - Summary Stats of the Usage Report for quick query if only filtered by tenant and date -# - OCI_USAGE_TAG_KEYS - Tag keys of the usage reports -# - OCI_COST - Raw data of the cost reports -# - OCI_COST_STATS - Summary Stats of the Cost Report for quick query if only filtered by tenant and date -# - OCI_COST_TAG_KEYS - Tag keys of the cost reports -# - OCI_COST_REFERENCE - Reference table of the cost filter keys - SERVICE, REGION, COMPARTMENT, PRODUCT, SUBSCRIPTION -# - OCI_PRICE_LIST - Hold the price list and the cost per product -# - OCI_LOAD_STATUS - Load Statistics table -########################################################################## -import sys -import argparse -import datetime -import oci -import gzip -import os -import csv -import oracledb -import requests -import time - - -version = "23.04.18" -usage_report_namespace = "bling" -work_report_dir = os.curdir + "/work_report_dir" - -# Init the Oracle Thick Client Library in order to use sqlnet.ora and instant client -oracledb.init_oracle_client() - -# create the work dir if not exist -if not os.path.exists(work_report_dir): - os.mkdir(work_report_dir) - - -########################################################################## -# Print header centered -########################################################################## -def print_header(name, category): - options = {0: 90, 1: 60, 2: 30} - chars = int(options[category]) - print("") - print('#' * chars) - print("#" + name.center(chars - 2, " ") + "#") - print('#' * chars) - - -########################################################################## -# Get Column from Array -########################################################################## -def get_column_value_from_array(column, array): - if column in array: - return array[column] - else: - return "" - - -########################################################################## -# Get Currnet Date Time -########################################################################## -def get_current_date_time(): - return str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")) - - -########################################################################## -# print count result -########################################################################## -def get_time_elapsed(start_time): - et = time.time() - start_time - return ", Process Time " + str('{:02d}:{:02d}:{:02d}'.format(round(et // 3600), (round(et % 3600 // 60)), round(et % 60))) - - -########################################################################## -# Create signer -########################################################################## -def create_signer(cmd): - - # assign default values - config_file = oci.config.DEFAULT_LOCATION - config_section = oci.config.DEFAULT_PROFILE - - if cmd.config: - if cmd.config.name: - config_file = cmd.config.name - - if cmd.profile: - config_section = cmd.profile - - if cmd.instance_principals: - try: - signer = oci.auth.signers.InstancePrincipalsSecurityTokenSigner() - config = {'region': signer.region, 'tenancy': signer.tenancy_id} - return config, signer - except Exception: - print_header("Error obtaining instance principals certificate, aborting", 0) - raise SystemExit - else: - config = oci.config.from_file(config_file, config_section) - signer = oci.signer.Signer( - tenancy=config["tenancy"], - user=config["user"], - fingerprint=config["fingerprint"], - private_key_file_location=config.get("key_file"), - pass_phrase=oci.config.get_config_value_or_default(config, "pass_phrase"), - private_key_content=config.get("key_content") - ) - return config, signer - - -########################################################################## -# Load compartments -########################################################################## -def identity_read_compartments(identity, tenancy): - - compartments = [] - print("Loading Compartments...") - - try: - # read all compartments to variable - all_compartments = [] - try: - all_compartments = oci.pagination.list_call_get_all_results( - identity.list_compartments, - tenancy.id, - compartment_id_in_subtree=True - ).data - - except oci.exceptions.ServiceError: - raise - - ################################################### - # Build Compartments - return nested compartment list - ################################################### - def build_compartments_nested(identity_client, cid, path): - - try: - compartment_list = [item for item in all_compartments if str(item.compartment_id) == str(cid)] - - if path != "": - path = path + " / " - - for c in compartment_list: - if c.lifecycle_state == oci.identity.models.Compartment.LIFECYCLE_STATE_ACTIVE: - cvalue = {'id': str(c.id), 'name': str(c.name), 'path': path + str(c.name)} - compartments.append(cvalue) - build_compartments_nested(identity_client, c.id, cvalue['path']) - - except Exception as error: - raise Exception("Error in build_compartments_nested: " + str(error.args)) - - ################################################### - # Add root compartment - ################################################### - value = {'id': str(tenancy.id), 'name': str(tenancy.name) + " (root)", 'path': "/ " + str(tenancy.name) + " (root)"} - compartments.append(value) - - # Build the compartments - build_compartments_nested(identity, str(tenancy.id), "") - - # sort the compartment - sorted_compartments = sorted(compartments, key=lambda k: k['path']) - print(" Total " + str(len(sorted_compartments)) + " compartments loaded.") - return sorted_compartments - - except oci.exceptions.RequestException: - raise - except Exception as e: - raise Exception("Error in identity_read_compartments: " + str(e.args)) - - -########################################################################## -# set parser -########################################################################## -def set_parser_arguments(): - parser = argparse.ArgumentParser() - - parser.add_argument('-c', type=argparse.FileType('r'), dest='config', help="Config File") - parser.add_argument('-t', default="", dest='profile', help='Config file section to use (tenancy profile)') - parser.add_argument('-f', default="", dest='fileid', help='File Id to load') - parser.add_argument('-ts', default="", dest='tagspecial', help='tag special key 1 to load the data to TAG_SPECIAL column') - parser.add_argument('-ts2', default="", dest='tagspecial2', help='tag special key 2 to load the data to TAG_SPECIAL2 column') - parser.add_argument('-d', default="", dest='filedate', help='Minimum File Date to load (i.e. yyyy-mm-dd)') - parser.add_argument('-p', default="", dest='proxy', help='Set Proxy (i.e. www-proxy-server.com:80) ') - parser.add_argument('-su', action='store_true', default=False, dest='skip_usage', help='Skip Load Usage Files') - parser.add_argument('-sc', action='store_true', default=False, dest='skip_cost', help='Skip Load Cost Files') - parser.add_argument('-sr', action='store_true', default=False, dest='skip_rate', help='Skip Public Rate API') - parser.add_argument('-ip', action='store_true', default=False, dest='instance_principals', help='Use Instance Principals for Authentication') - parser.add_argument('-du', default="", dest='duser', help='ADB User') - parser.add_argument('-dp', default="", dest='dpass', help='ADB Password') - parser.add_argument('-dn', default="", dest='dname', help='ADB Name') - parser.add_argument('--force', action='store_true', default=False, dest='force', help='Force Update without updated file') - parser.add_argument('--version', action='version', version='%(prog)s ' + version) - - result = parser.parse_args() - - if not (result.duser and result.dpass and result.dname): - parser.print_help() - print_header("You must specify database credentials!!", 0) - return None - - return result - - -########################################################################## -# Check Table Structure for usage -########################################################################## -def check_database_table_structure_usage(connection, tenant_name): - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_USAGE table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_USAGE'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - print(" Table OCI_USAGE was not exist, creating") - sql = """create table OCI_USAGE ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - USAGE_INTERVAL_END DATE, - PRD_SERVICE VARCHAR2(100), - PRD_RESOURCE VARCHAR2(100), - PRD_COMPARTMENT_ID VARCHAR2(100), - PRD_COMPARTMENT_NAME VARCHAR2(100), - PRD_COMPARTMENT_PATH VARCHAR2(1000), - PRD_REGION VARCHAR2(100), - PRD_AVAILABILITY_DOMAIN VARCHAR2(100), - USG_RESOURCE_ID VARCHAR2(1000), - USG_BILLED_QUANTITY NUMBER, - USG_CONSUMED_QUANTITY NUMBER, - USG_CONSUMED_UNITS VARCHAR2(100), - USG_CONSUMED_MEASURE VARCHAR2(100), - IS_CORRECTION VARCHAR2(10), - TAGS_DATA VARCHAR2(4000), - TAG_SPECIAL VARCHAR2(4000), - TAG_SPECIAL2 VARCHAR2(4000) - ) COMPRESS""" - cursor.execute(sql) - print(" Table OCI_USAGE created") - else: - print(" Table OCI_USAGE exist") - - # check if TAGS_DATA columns exist in OCI_USAGE table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_USAGE' and column_name='TAGS_DATA'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns TAGS_DATA not exist, create it - if val == 0: - print(" Column TAGS_DATA does not exist in the table OCI_USAGE, adding...") - sql = "alter table OCI_USAGE add (TAGS_DATA VARCHAR2(4000))" - cursor.execute(sql) - - # check if TENANT_ID columns exist in OCI_USAGE table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_USAGE' and column_name='TENANT_ID'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns TENANT_ID not exist, create it - if val == 0: - print(" Column TENANT_ID does not exist in the table OCI_USAGE, adding...") - sql = "alter table OCI_USAGE add (TENANT_ID VARCHAR2(100))" - cursor.execute(sql) - - # check if TAG_SPECIAL columns exist in OCI_USAGE table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_USAGE' and column_name='TAG_SPECIAL'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns TAG_SPECIAL not exist, create it - if val == 0: - print(" Column TAG_SPECIAL does not exist in the table OCI_USAGE, adding...") - sql = "alter table OCI_USAGE add (TAG_SPECIAL VARCHAR2(4000))" - cursor.execute(sql) - - # check if TAG_SPECIAL2 columns exist in OCI_USAGE table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_USAGE' and column_name='TAG_SPECIAL2'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns TAG_SPECIAL2 not exist, create it - if val == 0: - print(" Column TAG_SPECIAL2 does not exist in the table OCI_USAGE, adding...") - sql = "alter table OCI_USAGE add (TAG_SPECIAL2 VARCHAR2(4000))" - cursor.execute(sql) - - # check if OCI_USAGE_TAG_KEYS table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_USAGE_TAG_KEYS'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_USAGE_TAG_KEYS not exist, create it - if val == 0: - print(" Table OCI_USAGE_TAG_KEYS was not exist, creating") - sql = """CREATE TABLE OCI_USAGE_TAG_KEYS (TENANT_NAME VARCHAR2(100), TAG_KEY VARCHAR2(100), - CONSTRAINT OCI_USAGE_TAG_KEYS_PK PRIMARY KEY(TENANT_NAME,TAG_KEY) - )""" - cursor.execute(sql) - print(" Table OCI_USAGE_TAG_KEYS created") - else: - print(" Table OCI_USAGE_TAG_KEYS exist") - - # check if OCI_USAGE_STATS table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_USAGE_STATS'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_USAGE_STATS not exist, create it - if val == 0: - print(" Table OCI_USAGE_STATS was not exist, creating") - sql = """CREATE TABLE OCI_USAGE_STATS ( - TENANT_NAME VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - NUM_ROWS NUMBER, - UPDATE_DATE DATE, - AGENT_VERSION VARCHAR2(30), - CONSTRAINT OCI_USAGE_STATS_PK PRIMARY KEY (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START) - )""" - cursor.execute(sql) - print(" Table OCI_USAGE_STATS created") - - update_usage_stats(connection, tenant_name) - else: - print(" Table OCI_USAGE_STATS exist") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_structure_usage() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_structure_usage() - " + str(e)) - - -########################################################################## -# Check Resource Table Structure -########################################################################## -def check_database_table_structure_resource(connection): - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_USAGE table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_RESOURCES'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - print(" Table OCI_RESOURCES was not exist, creating") - sql = """create table OCI_RESOURCES ( - RESOURCE_ID VARCHAR2(200) NOT NULL, - RESOURCE_NAME VARCHAR2(1000), - SOURCE_TENANT VARCHAR2(100), - SOURCE_TABLE VARCHAR2(100), - LAST_LOADED DATE, - CONSTRAINT OCI_RESOURCES_PK PRIMARY KEY (RESOURCE_ID) USING INDEX)""" - cursor.execute(sql) - print(" Table OCI_RESOURCES created") - else: - print(" Table OCI_RESOURCES exist") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_structure_resource() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_structure_resource() - " + str(e)) - - -########################################################################## -# Check Index Structure Usage to be created after the first load -########################################################################## -def check_database_index_structure_usage(connection): - try: - # open cursor - with connection.cursor() as cursor: - - # check if index OCI_USAGE_1IX exist in OCI_USAGE table, if not create - sql = "select count(*) from user_indexes where table_name = 'OCI_USAGE' and index_name='OCI_USAGE_1IX'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if index not exist, create it - if val == 0: - print("\nChecking Index for OCI_USAGE") - print(" Index OCI_USAGE_1IX does not exist for table OCI_USAGE, adding...") - sql = "CREATE INDEX OCI_USAGE_1IX ON OCI_USAGE(TENANT_NAME,USAGE_INTERVAL_START)" - cursor.execute(sql) - print(" Index created.") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_index_structure_usage() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_index_structure_usage() - " + str(e)) - - -########################################################################## -# Check Index Structure Usage to be created after the first load -########################################################################## -def check_database_index_structure_cost(connection): - try: - # open cursor - with connection.cursor() as cursor: - - # check if index OCI_USAGE_1IX exist in OCI_USAGE table, if not create - sql = "select count(*) from user_indexes where table_name = 'OCI_COST' and index_name='OCI_COST_1IX'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if index not exist, create it - if val == 0: - print("\nChecking Index for OCI_COST") - print(" Index OCI_COST_1IX does not exist for table OCI_COST, adding...") - sql = "CREATE INDEX OCI_COST_1IX ON OCI_COST(TENANT_NAME,USAGE_INTERVAL_START)" - cursor.execute(sql) - print(" Index created.") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_index_structure_cost() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_index_structure_cost() - " + str(e)) - - -######################################################################### -# insert load stats -########################################################################## -def insert_load_stats(connection, tenant_name, file_type, file_id, file_name_full, file_size_mb, file_time, num_rows, start_time_str, batch_id, batch_total): - try: - - with connection.cursor() as cursor: - sql = """INSERT INTO OCI_LOAD_STATUS (TENANT_NAME, FILE_TYPE, FILE_ID, FILE_NAME, FILE_SIZE, FILE_DATE, NUM_ROWS, LOAD_START_TIME, LOAD_END_TIME, AGENT_VERSION, BATCH_ID, BATCH_TOTAL) - VALUES ( - :tenant_name, - :file_type, - :file_id, - :file_name, - :file_size, - to_date(:file_date,'YYYY-MM-DD HH24:MI'), - :num_rows, - to_date(:load_start_time,'YYYY-MM-DD HH24:MI:SS'), - to_date(:load_end_time,'YYYY-MM-DD HH24:MI:SS'), - :agent_version, - :batch_id, - :batch_total - )""" - - cursor.execute( - sql, - tenant_name=tenant_name, - file_type=file_type, - file_id=file_id, - file_name=file_name_full, - file_size=file_size_mb, - file_date=file_time, - num_rows=num_rows, - load_start_time=start_time_str, - load_end_time=get_current_date_time(), - agent_version=version, - batch_id=batch_id, - batch_total=batch_total) - - connection.commit() - - except oracledb.DatabaseError as e: - print("\ninsert_load_stats() - Error manipulating database - " + str(e) + "\n") - - except Exception as e: - print("\ninsert_load_stats() - Error insert into load_stats table - " + str(e)) - raise SystemExit - - -########################################################################## -# update_cost_stats -########################################################################## -def update_cost_stats(connection, tenant_name): - try: - start_time = time.time() - # open cursor - with connection.cursor() as cursor: - - print("\nMerging statistics into OCI_COST_STATS...") - - # run merge to oci_update_stats - sql = """merge into OCI_COST_STATS a - using - ( - select /*+ parallel(oci_cost,8) full(oci_cost) */ - tenant_name, - file_id, - USAGE_INTERVAL_START, - sum(COST_MY_COST) COST_MY_COST, - sum(COST_MY_COST_OVERAGE) COST_MY_COST_OVERAGE, - min(COST_CURRENCY_CODE) COST_CURRENCY_CODE, - count(*) NUM_ROWS - from - oci_cost - where - tenant_name = :tenant_name - group by - tenant_name, - file_id, - USAGE_INTERVAL_START - ) b - on (a.tenant_name=b.tenant_name and a.file_id=b.file_id and a.USAGE_INTERVAL_START=b.USAGE_INTERVAL_START) - when matched then update set a.num_rows=b.num_rows, a.COST_MY_COST=b.COST_MY_COST, a.UPDATE_DATE=sysdate, a.AGENT_VERSION=:version, - a.COST_MY_COST_OVERAGE=b.COST_MY_COST_OVERAGE, a.COST_CURRENCY_CODE=b.COST_CURRENCY_CODE - where a.num_rows <> b.num_rows - when not matched then insert (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START,NUM_ROWS,COST_MY_COST,UPDATE_DATE,AGENT_VERSION,COST_MY_COST_OVERAGE,COST_CURRENCY_CODE) - values (b.TENANT_NAME,b.FILE_ID,b.USAGE_INTERVAL_START,b.NUM_ROWS,b.COST_MY_COST,sysdate,:version,b.COST_MY_COST_OVERAGE,b.COST_CURRENCY_CODE) - """ - - cursor.execute(sql, version=version, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_cost_stats() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_cost_stats() - " + str(e)) - - -########################################################################## -# update_price_list -########################################################################## -def update_price_list(connection, tenant_name): - try: - start_time = time.time() - - # open cursor - with connection.cursor() as cursor: - - print("\nMerging statistics into OCI_PRICE_LIST...") - - # run merge to oci_update_stats - sql = """MERGE INTO OCI_PRICE_LIST A - USING - ( - SELECT - TENANT_NAME, - TENANT_ID, - COST_PRODUCT_SKU, - PRD_DESCRIPTION, - COST_CURRENCY_CODE, - COST_UNIT_PRICE - FROM - ( - SELECT /*+ parallel(a,8) full(a) */ - TENANT_NAME, - TENANT_ID, - COST_PRODUCT_SKU, - PRD_DESCRIPTION, - COST_CURRENCY_CODE, - COST_UNIT_PRICE, - ROW_NUMBER() OVER (PARTITION BY TENANT_NAME, TENANT_ID, COST_PRODUCT_SKU ORDER BY USAGE_INTERVAL_START DESC, COST_UNIT_PRICE DESC) RN - FROM OCI_COST A where tenant_id is not null and tenant_name=:tenant_name - ) - WHERE RN = 1 - ORDER BY 1,2 - ) B - ON (A.TENANT_NAME = B.TENANT_NAME AND A.TENANT_ID = B.TENANT_ID AND A.COST_PRODUCT_SKU = B.COST_PRODUCT_SKU) - WHEN MATCHED THEN UPDATE SET A.PRD_DESCRIPTION=B.PRD_DESCRIPTION, A.COST_CURRENCY_CODE=B.COST_CURRENCY_CODE, A.COST_UNIT_PRICE=B.COST_UNIT_PRICE, COST_LAST_UPDATE = SYSDATE - WHEN NOT MATCHED THEN INSERT (TENANT_NAME,TENANT_ID,COST_PRODUCT_SKU,PRD_DESCRIPTION,COST_CURRENCY_CODE,COST_UNIT_PRICE,COST_LAST_UPDATE) - VALUES (B.TENANT_NAME,B.TENANT_ID, B.COST_PRODUCT_SKU,B.PRD_DESCRIPTION,B.COST_CURRENCY_CODE,B.COST_UNIT_PRICE,SYSDATE) - """ - - cursor.execute(sql, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - start_time = time.time() - print("\nUpdate OCI_PRICE_LIST for empty currency...") - - # update currency when currency is null - sql = """update OCI_PRICE_LIST - set COST_CURRENCY_CODE = - ( - select COST_CURRENCY_CODE - from (SELECT /*+ parallel(a,8) full(a) */ - COST_CURRENCY_CODE, - ROW_NUMBER() OVER (PARTITION BY TENANT_NAME ORDER BY USAGE_INTERVAL_START DESC) RN - FROM OCI_COST A where COST_CURRENCY_CODE is not null and tenant_name=:tenant_name - ) where rn=1 - ) - where COST_CURRENCY_CODE is null and tenant_name=:tenant_name - """ - - cursor.execute(sql, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_price_list() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_price_list() - " + str(e)) - - -########################################################################## -# update_cost_reference -########################################################################## -def update_cost_reference(connection, tag_special_key, tag_special_key2, tenant_name): - try: - start_time = time.time() - - # open cursor - with connection.cursor() as cursor: - - print("\nMerging statistics into OCI_COST_REFERENCE ...") - print(" Merging statistics from OCI_COST...") - - ####################################################### - # run merge to OCI_COST_REFERENCE - ####################################################### - sql = """merge into OCI_COST_REFERENCE a - using - ( - select TENANT_NAME, REF_TYPE, REF_NAME - from - ( - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'PRD_SERVICE' as REF_TYPE, PRD_SERVICE as REF_NAME from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'PRD_COMPARTMENT_PATH' as REF_TYPE, - case when prd_compartment_path like '%/%' then substr(prd_compartment_path,1,instr(prd_compartment_path,' /')-1) - else prd_compartment_path end as REF_NAME - from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'TENANT_ID' as REF_TYPE, TENANT_ID as ref_name from OCI_COST where tenant_id is not null and :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'PRD_COMPARTMENT_NAME' as REF_TYPE, PRD_COMPARTMENT_NAME as ref_name from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'PRD_REGION' as REF_TYPE, PRD_REGION as ref_name from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'COST_SUBSCRIPTION_ID' as REF_TYPE, to_char(COST_SUBSCRIPTION_ID) as ref_name from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'TAG_SPECIAL' as REF_TYPE, TAG_SPECIAL as ref_name from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'TAG_SPECIAL2' as REF_TYPE, TAG_SPECIAL2 as ref_name from OCI_COST where :tenant_name = TENANT_NAME - union all - select /*+ parallel(oci_cost,8) full(oci_cost) */ distinct TENANT_NAME, 'COST_PRODUCT_SKU' as REF_TYPE, COST_PRODUCT_SKU || ' '||min(PRD_DESCRIPTION) as ref_name from OCI_COST where :tenant_name = TENANT_NAME - group by TENANT_NAME, COST_PRODUCT_SKU - ) where ref_name is not null - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE and a.REF_NAME=b.REF_NAME) - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - if tag_special_key: - - start_time = time.time() - # run merge to OCI_COST_REFERENCE for the tag special key - print(" Handling Tag Special Key '" + tag_special_key + "'") - - sql = """merge into OCI_COST_REFERENCE a - using - ( - select :tenant_name as TENANT_NAME, 'TAG_SPECIAL_KEY' as REF_TYPE, :tag_special_key as ref_name from DUAL - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE) - when matched then update set a.ref_name = b.ref_name - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name, tag_special_key=tag_special_key) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - if tag_special_key2: - - start_time = time.time() - # run merge to OCI_COST_REFERENCE for the tag special key - print(" Handling Tag Special Key '" + tag_special_key2 + "'") - - sql = """merge into OCI_COST_REFERENCE a - using - ( - select :tenant_name as TENANT_NAME, 'TAG_SPECIAL_KEY2' as REF_TYPE, :tag_special_key2 as ref_name from DUAL - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE) - when matched then update set a.ref_name = b.ref_name - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name, tag_special_key2=tag_special_key2) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_cost_reference() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_cost_reference() - " + str(e)) - - -########################################################################## -# update_usage_reference -########################################################################## -def update_usage_reference(connection, tag_special_key, tag_special_key2, tenant_name): - try: - start_time = time.time() - - # open cursor - with connection.cursor() as cursor: - - print("\nMerging statistics into OCI_COST_REFERENCE ...") - print(" Merging statistics from OCI_USAGE...") - - ####################################################### - # run merge to OCI_COST_REFERENCE from OCI_USAGE - ####################################################### - sql = """merge into OCI_COST_REFERENCE a - using - ( - select TENANT_NAME, REF_TYPE, REF_NAME - from - ( - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_PRD_SERVICE' as REF_TYPE, PRD_SERVICE as REF_NAME from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_PRD_COMPARTMENT_PATH' as REF_TYPE, - case when prd_compartment_path like '%/%' then substr(prd_compartment_path,1,instr(prd_compartment_path,' /')-1) - else prd_compartment_path end as REF_NAME - from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_TENANT_ID' as REF_TYPE, TENANT_ID as ref_name from OCI_USAGE where tenant_id is not null and :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_PRD_COMPARTMENT_NAME' as REF_TYPE, PRD_COMPARTMENT_NAME as ref_name from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_PRD_REGION' as REF_TYPE, PRD_REGION as ref_name from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_PRD_RESOURCE' as REF_TYPE, PRD_RESOURCE as ref_name from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_TAG_SPECIAL' as REF_TYPE, TAG_SPECIAL as ref_name from OCI_USAGE where :tenant_name = TENANT_NAME - union all - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ distinct TENANT_NAME, 'USAGE_TAG_SPECIAL2' as REF_TYPE, TAG_SPECIAL2 as ref_name from OCI_USAGE where :tenant_name = TENANT_NAME - ) where ref_name is not null - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE and a.REF_NAME=b.REF_NAME) - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - if tag_special_key: - - start_time = time.time() - # run merge to OCI_COST_REFERENCE for the tag special key - print(" Handling Tag Special Key '" + tag_special_key + "'") - - sql = """merge into OCI_COST_REFERENCE a - using - ( - select :tenant_name as TENANT_NAME, 'TAG_SPECIAL_KEY' as REF_TYPE, :tag_special_key as ref_name from DUAL - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE) - when matched then update set a.ref_name = b.ref_name - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name, tag_special_key=tag_special_key) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - if tag_special_key2: - - start_time = time.time() - # run merge to OCI_COST_REFERENCE for the tag special key - print(" Handling Tag Special Key '" + tag_special_key2 + "'") - - sql = """merge into OCI_COST_REFERENCE a - using - ( - select :tenant_name as TENANT_NAME, 'TAG_SPECIAL_KEY2' as REF_TYPE, :tag_special_key2 as ref_name from DUAL - ) b - on (a.TENANT_NAME=b.TENANT_NAME and a.REF_TYPE=b.REF_TYPE) - when matched then update set a.ref_name = b.ref_name - when not matched then insert (TENANT_NAME,REF_TYPE,REF_NAME) - values (b.TENANT_NAME,b.REF_TYPE,b.REF_NAME) - """ - - cursor.execute(sql, tenant_name=tenant_name, tag_special_key2=tag_special_key2) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_usage_reference() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_usage_reference() - " + str(e)) - - -########################################################################## -# update_public_rates -########################################################################## -def update_public_rates(connection, tenant_name): - api_url = "https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/?" - try: - start_time = time.time() - num_rows = 0 - - # open cursor - with connection.cursor() as cursor: - - print("\nMerging Public Rates into OCI_RATE_CARD...") - - # retrieve the SKUS to query - sql = "select distinct COST_PRODUCT_SKU, COST_CURRENCY_CODE from OCI_PRICE_LIST where tenant_name=:tenant_name" - - cursor.execute(sql, tenant_name=tenant_name) - rows = cursor.fetchall() - - if rows: - for row in rows: - - rate_description = "" - rate_price = None - resp = None - - ####################################### - # Call API to fetch the SKU Data - ####################################### - try: - cost_product_sku = str(row[0]) - country_code = str(row[1]) - resp = requests.get(api_url + "partNumber=" + cost_product_sku + "¤cyCode=" + country_code) - time.sleep(0.2) - - except Exception as e: - print("\nWarning Calling REST API for Public Rate at update_public_rates() - " + str(e)) - time.sleep(2) - continue - - if not resp: - continue - - for item in resp.json()['items']: - rate_description = item["displayName"] - if 'currencyCodeLocalizations' in item: - for currency in item['currencyCodeLocalizations']: - if 'prices' in currency: - for price in currency['prices']: - if price['model'] == 'PAY_AS_YOU_GO': - rate_price = price['value'] - - if rate_price: - # update database - sql = """update OCI_PRICE_LIST set - RATE_DESCRIPTION=:rate_description, - RATE_PAYGO_PRICE=:rate_price, - RATE_MONTHLY_FLEX_PRICE=:rate_price, - RATE_UPDATE_DATE=sysdate - where TENANT_NAME=:tenant_name and COST_PRODUCT_SKU=:cost_product_sku - """ - - # only apply paygo cost after 7/13 oracle change rate - sql_variables = { - "rate_description": rate_description, - "rate_price": rate_price, - "tenant_name": tenant_name, - "cost_product_sku": cost_product_sku - } - - cursor.execute(sql, sql_variables) - num_rows += 1 - - # Commit - connection.commit() - - print(" Update Completed, " + str(num_rows) + " rows updated." + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_public_rates() - " + str(e) + "\n") - raise SystemExit - - except requests.exceptions.ConnectionError as e: - print("\nError connecting to billing metering API at update_public_rates() - " + str(e)) - print("\nPlease check you can connect to " + api_url + "partNumber=B90000") - - except Exception as e: - raise Exception("\nError manipulating database at update_public_rates() - " + str(e)) - - -########################################################################## -# update_usage_stats -########################################################################## -def update_usage_stats(connection, tenant_name): - try: - start_time = time.time() - - # open cursor - with connection.cursor() as cursor: - - print("\nMerging statistics into OCI_USAGE_STATS...") - - # run merge to oci_update_stats - sql = """merge into OCI_USAGE_STATS a - using - ( - select /*+ parallel(OCI_USAGE,8) full(OCI_USAGE) */ - tenant_name, - file_id, - USAGE_INTERVAL_START, - count(*) NUM_ROWS - from - oci_usage - where - tenant_name = :tenant_name - group by - tenant_name, - file_id, - USAGE_INTERVAL_START - ) b - on (a.tenant_name=b.tenant_name and a.file_id=b.file_id and a.USAGE_INTERVAL_START=b.USAGE_INTERVAL_START) - when matched then update set a.num_rows=b.num_rows, a.UPDATE_DATE=sysdate, a.AGENT_VERSION=:version - where a.num_rows <> b.num_rows - when not matched then insert (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START,NUM_ROWS,UPDATE_DATE,AGENT_VERSION) - values (b.TENANT_NAME,b.FILE_ID,b.USAGE_INTERVAL_START,b.NUM_ROWS,sysdate,:version) - """ - - cursor.execute(sql, version=version, tenant_name=tenant_name) - connection.commit() - print(" Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_usage_stats() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_usage_stats() - " + str(e)) - - -########################################################################## -# update_tenant_id_if_null - Added for organization -########################################################################## -def update_tenant_id_if_null(connection, tenant_name, short_tenant_id): - try: - start_time = time.time() - - # open cursor - with connection.cursor() as cursor: - - # Check OCI_USAGE - print("\nCheck if TENANT_ID is null on OCI_USAGE...") - sql = "select /*+ full(a) parallel(a,8) */ count(*) as cnt from OCI_USAGE a where TENANT_NAME=:tenant_name and tenant_id is null" - cursor.execute(sql, tenant_name=tenant_name) - cnt, = cursor.fetchone() - - if cnt > 0: - print(" Update TENANT_ID on OCI_USAGE... " + str(cnt) + " rows to update... updating max 1,000,000 per execution") - sql = "update /*+ parallel(a,8) */ OCI_USAGE a set TENANT_ID = :tenant_id where tenant_id is null and tenant_name = :tenant_name and rownum<=1000000" - cursor.execute(sql, tenant_id=short_tenant_id, tenant_name=tenant_name) - connection.commit() - print(" Update Completed, " + str(cursor.rowcount) + " rows updated" + get_time_elapsed(start_time)) - - # Check OCI_COST - start_time = time.time() - print("\nCheck if TENANT_ID is null on OCI_COST...") - sql = "select /*+ full(a) parallel(a,8) */ count(*) as cnt from OCI_COST a where TENANT_NAME=:tenant_name and tenant_id is null" - cursor.execute(sql, tenant_name=tenant_name) - cnt, = cursor.fetchone() - - if cnt > 0: - print(" Update TENANT_ID on OCI_COST..." + str(cnt) + " rows to update... updating max 1,000,000 per execution") - sql = "update /*+ parallel(a,8) */ OCI_COST a set TENANT_ID = :tenant_id where tenant_id is null and tenant_name = :tenant_name and rownum<=1000000" - cursor.execute(sql, tenant_id=short_tenant_id, tenant_name=tenant_name) - connection.commit() - print(" Update Completed, " + str(cursor.rowcount) + " rows updated" + get_time_elapsed(start_time)) - - except oracledb.DatabaseError as e: - print("\nError manipulating database at update_tenant_id_if_null() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at update_tenant_id_if_null() - " + str(e)) - - -########################################################################## -# Check Table Structure Cost -########################################################################## -def check_database_table_structure_cost(connection, tag_special_key, tag_special_key2, tenant_name): - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_COST table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_COST'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - print(" Table OCI_COST was not exist, creating") - sql = """create table OCI_COST ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - USAGE_INTERVAL_END DATE, - PRD_SERVICE VARCHAR2(100), - PRD_RESOURCE VARCHAR2(100), - PRD_COMPARTMENT_ID VARCHAR2(100), - PRD_COMPARTMENT_NAME VARCHAR2(100), - PRD_COMPARTMENT_PATH VARCHAR2(1000), - PRD_REGION VARCHAR2(100), - PRD_AVAILABILITY_DOMAIN VARCHAR2(100), - USG_RESOURCE_ID VARCHAR2(1000), - USG_BILLED_QUANTITY NUMBER, - USG_BILLED_QUANTITY_OVERAGE NUMBER, - COST_SUBSCRIPTION_ID NUMBER, - COST_PRODUCT_SKU VARCHAR2(10), - PRD_DESCRIPTION VARCHAR2(1000), - COST_UNIT_PRICE NUMBER, - COST_UNIT_PRICE_OVERAGE NUMBER, - COST_MY_COST NUMBER, - COST_MY_COST_OVERAGE NUMBER, - COST_CURRENCY_CODE VARCHAR2(10), - COST_BILLING_UNIT VARCHAR2(1000), - COST_OVERAGE_FLAG VARCHAR2(10), - IS_CORRECTION VARCHAR2(10), - TAGS_DATA VARCHAR2(4000), - TAG_SPECIAL VARCHAR2(4000), - TAG_SPECIAL2 VARCHAR2(4000) - ) COMPRESS - """ - - cursor.execute(sql) - print(" Table OCI_COST created") - else: - print(" Table OCI_COST exist") - - # check if TENANT_ID column exist in OCI_COST table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_COST' and column_name='TENANT_ID'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns TENANT_ID not exist, create it - if val == 0: - print(" Column TENANT_ID does not exist in the table OCI_COST, adding...") - sql = "alter table OCI_COST add (TENANT_ID VARCHAR2(100))" - cursor.execute(sql) - - # check if TAG_SPECIAL column exist in OCI_COST table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_COST' and column_name='TAG_SPECIAL'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if column TAG_SPECIAL not exist, create it - if val == 0: - print(" Column TAG_SPECIAL does not exist in the table OCI_COST, adding...") - sql = "alter table OCI_COST add (TAG_SPECIAL VARCHAR2(4000))" - cursor.execute(sql) - - # check if TAG_SPECIAL2 column exist in OCI_COST table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_COST' and column_name='TAG_SPECIAL2'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if column TAG_SPECIAL2 not exist, create it - if val == 0: - print(" Column TAG_SPECIAL2 does not exist in the table OCI_COST, adding...") - sql = "alter table OCI_COST add (TAG_SPECIAL2 VARCHAR2(4000))" - cursor.execute(sql) - - # check if OCI_COST_TAG_KEYS table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_COST_TAG_KEYS'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_COST_TAG_KEYS not exist, create it - if val == 0: - print(" Table OCI_COST_TAG_KEYS was not exist, creating") - sql = """CREATE TABLE OCI_COST_TAG_KEYS (TENANT_NAME VARCHAR2(100), TAG_KEY VARCHAR2(100), - CONSTRAINT OCI_COST_TAG_KEYS_PK PRIMARY KEY(TENANT_NAME,TAG_KEY) - )""" - cursor.execute(sql) - print(" Table OCI_COST_TAG_KEYS created") - else: - print(" Table OCI_COST_TAG_KEYS exist") - - # check if OCI_COST_STATS table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_COST_STATS'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_COST_STATS not exist, create it - if val == 0: - print(" Table OCI_COST_STATS was not exist, creating") - sql = """CREATE TABLE OCI_COST_STATS ( - TENANT_NAME VARCHAR2(100), - FILE_ID VARCHAR2(30), - USAGE_INTERVAL_START DATE, - NUM_ROWS NUMBER, - COST_MY_COST NUMBER, - COST_MY_COST_OVERAGE NUMBER, - COST_CURRENCY_CODE VARCHAR2(30), - UPDATE_DATE DATE, - AGENT_VERSION VARCHAR2(30), - CONSTRAINT OCI_COST_STATS_PK PRIMARY KEY (TENANT_NAME,FILE_ID,USAGE_INTERVAL_START) - ) - """ - - cursor.execute(sql) - print(" Table OCI_COST_STATS created") - - update_cost_stats(connection, tenant_name) - else: - print(" Table OCI_COST_STATS exist") - - # check if COST_MY_COST_OVERAGE columns exist in OCI_COST_STATS table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_COST_STATS' and column_name='COST_MY_COST_OVERAGE'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns COST_MY_COST_OVERAGE not exist, create them - if val == 0: - print(" Column COST_MY_COST_OVERAGE does not exist in the table OCI_COST_STATS, adding...") - sql = "alter table OCI_COST_STATS add (COST_MY_COST_OVERAGE NUMBER, COST_CURRENCY_CODE VARCHAR2(10))" - cursor.execute(sql) - - # check if OCI_COST_REFERENCE table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_COST_REFERENCE'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_COST_REFERENCE not exist, create it - if val == 0: - print(" Table OCI_COST_REFERENCE was not exist, creating") - sql = """CREATE TABLE OCI_COST_REFERENCE ( - TENANT_NAME VARCHAR2(100), - REF_TYPE VARCHAR2(100), - REF_NAME VARCHAR2(1000), - CONSTRAINT OCI_REFERENCE_PK PRIMARY KEY (TENANT_NAME,REF_TYPE,REF_NAME) - ) - """ - - cursor.execute(sql) - print(" Table OCI_COST_REFERENCE created") - - update_cost_reference(connection, tag_special_key, tag_special_key2, tenant_name) - else: - print(" Table OCI_COST_REFERENCE exist") - - # check if OCI_INTERNAL_COST table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_INTERNAL_COST'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table OCI_INTERNAL_COST not exist, create it - if val == 0: - print(" Table OCI_INTERNAL_COST was not exist, creating") - sql = """CREATE TABLE OCI_INTERNAL_COST ( - RESOURCE_NAME varchar2(100) NOT NULL, - SERVICE_NAME varchar2(100), - BILLED_USAGE_UNIT varchar2(100), - UNIT_COST NUMBER, - CONSTRAINT OCI_INTERNAL_COST_PK PRIMARY KEY (RESOURCE_NAME) USING INDEX ENABLE - )""" - - cursor.execute(sql) - print(" Table OCI_INTERNAL_COST created") - else: - print(" Table OCI_INTERNAL_COST exist") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_structure_cost() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_structure_cost() - " + str(e)) - - -########################################################################## -# Check Table Structure Price List -########################################################################## -def check_database_table_structure_price_list(connection, tenant_name): - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_PRICE_LIST table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_PRICE_LIST'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - print(" Table OCI_PRICE_LIST was not exist, creating") - sql = """create table OCI_PRICE_LIST ( - TENANT_NAME VARCHAR2(100), - TENANT_ID VARCHAR2(100), - COST_PRODUCT_SKU VARCHAR2(10), - PRD_DESCRIPTION VARCHAR2(1000), - COST_CURRENCY_CODE VARCHAR2(10), - COST_UNIT_PRICE NUMBER, - COST_LAST_UPDATE DATE, - RATE_DESCRIPTION VARCHAR2(1000), - RATE_PAYGO_PRICE NUMBER, - RATE_MONTHLY_FLEX_PRICE NUMBER, - RATE_UPDATE_DATE DATE, - CONSTRAINT OCI_PRICE_LIST_PK PRIMARY KEY (TENANT_NAME,TENANT_ID,COST_PRODUCT_SKU) - ) """ - cursor.execute(sql) - print(" Table OCI_PRICE_LIST created") - update_price_list(connection, tenant_name) - update_public_rates(connection, tenant_name) - else: - print(" Table OCI_PRICE_LIST exist") - - # check if TENANT_ID column exist in OCI_PRICE_LIST table, if not create - sql = "select count(*) from user_tab_columns where table_name = 'OCI_PRICE_LIST' and column_name='TENANT_ID'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if columns not exist, create them - if val == 0: - print(" Column TENANT_ID does not exist in the table OCI_PRICE_LIST, adding...") - sql = "alter table OCI_PRICE_LIST add (TENANT_ID VARCHAR2(100))" - cursor.execute(sql) - - print(" truncating OCI_PRICE_LIST to make PK changes") - sql = "truncate table OCI_PRICE_LIST" - cursor.execute(sql) - print(" Modifying OCI_PRICE_LIST primary key to include TENANT_ID..") - sql = "alter table OCI_PRICE_LIST drop primary key" - cursor.execute(sql) - sql = "alter table OCI_PRICE_LIST ADD CONSTRAINT OCI_PRICE_LIST_PK PRIMARY KEY (TENANT_NAME,TENANT_ID,COST_PRODUCT_SKU)" - cursor.execute(sql) - print(" Table OCI_PRICE_LIST Changes Completed.") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_price_list() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_price_list() - " + str(e)) - - -########################################################################## -# Check Table Structure Load Status -########################################################################## -def check_database_table_structure_load_status(connection): - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_PRICE_LIST table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_LOAD_STATUS'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - print(" Table OCI_LOAD_STATUS was not exist, creating") - sql = """create table OCI_LOAD_STATUS ( - TENANT_NAME varchar2(100) NOT NULL, - FILE_TYPE varchar2(100) NOT NULL, - FILE_ID varchar2(1000) NOT NULL, - FILE_NAME varchar2(1000) NOT NULL, - FILE_DATE DATE, - FILE_SIZE number, - NUM_ROWS number, - LOAD_START_TIME DATE, - LOAD_END_TIME DATE, - AGENT_VERSION varchar2(100), - BATCH_ID number, - BATCH_TOTAL number, - CONSTRAINT OCI_LOAD_STATUS PRIMARY KEY (TENANT_NAME, FILE_NAME) USING INDEX ENABLE - ) """ - cursor.execute(sql) - print(" Table OCI_LOAD_STATUS created") - else: - print(" Table OCI_LOAD_STATUS exist") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_structure_load_status() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_structure_load_status() - " + str(e)) - - -######################################################################### -# Load Cost File -########################################################################## -def load_cost_file(connection, object_storage, object_file, max_file_id, cmd, tenancy, compartments, file_num, total_files): - start_time = time.time() - start_time_str = get_current_date_time() - num_files = 0 - num_rows = 0 - - try: - o = object_file - - # keep tag keys per file - tags_keys = [] - - # get file name - filename = o.name.rsplit('/', 1)[-1] - file_size_mb = round(o.size / 1024 / 1024) - file_name_full = o.name - file_id = filename[:-7] - file_time = str(o.time_created)[0:16] - - # if file already loaded, skip (check if < max_file_id - if str(max_file_id) != "None": - if file_id <= str(max_file_id): - print(" Skipping file " + file_name_full + " - " + str(file_size_mb) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", File already loaded") - return num_files - - # if file id enabled, check - if cmd.fileid: - if file_id != cmd.fileid: - print(" Skipping file " + file_name_full + " - " + str(file_size_mb) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", File Id " + cmd.fileid + " filter specified") - return num_files - - # check file date - if cmd.filedate: - if file_time <= cmd.filedate: - print(" Skipping file " + file_name_full + " - " + str(file_size_mb) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", Less then specified date " + cmd.filedate) - return num_files - - path_filename = work_report_dir + '/' + filename - print("\n Processing file " + file_name_full + " - " + str(file_size_mb) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files)) - - # download file - object_details = object_storage.get_object(usage_report_namespace, str(tenancy.id), o.name) - with open(path_filename, 'wb') as f: - for chunk in object_details.data.raw.stream(1024 * 1024, decode_content=False): - f.write(chunk) - - # Read file to variable - with gzip.open(path_filename, 'rt') as file_in: - csv_reader = csv.DictReader(file_in) - - # Adjust the batch size to meet memory and performance requirements for cx_oracle - batch_size = 5000 - array_size = 1000 - - sql = """INSERT INTO OCI_COST ( - TENANT_NAME, - FILE_ID, - USAGE_INTERVAL_START, - USAGE_INTERVAL_END, - PRD_SERVICE, - PRD_COMPARTMENT_ID, - PRD_COMPARTMENT_NAME, - PRD_COMPARTMENT_PATH, - PRD_REGION, - PRD_AVAILABILITY_DOMAIN, - USG_RESOURCE_ID, - USG_BILLED_QUANTITY, - USG_BILLED_QUANTITY_OVERAGE, - COST_SUBSCRIPTION_ID, - COST_PRODUCT_SKU, - PRD_DESCRIPTION, - COST_UNIT_PRICE, - COST_UNIT_PRICE_OVERAGE, - COST_MY_COST, - COST_MY_COST_OVERAGE, - COST_CURRENCY_CODE, - COST_BILLING_UNIT, - COST_OVERAGE_FLAG, - IS_CORRECTION, - TAGS_DATA, - TENANT_ID, - TAG_SPECIAL, - TAG_SPECIAL2 - ) VALUES ( - :1, :2, to_date(:3,'YYYY-MM-DD HH24:MI'), to_date(:4,'YYYY-MM-DD HH24:MI'), :5, - :6, :7, :8, :9, :10, - :11, to_number(:12), to_number(:13) ,:14, :15, - :16, to_number(:17), to_number(:18), to_number(:19), to_number(:20), - :21, :22, :23, :24, :25, :26, :27, :28 - ) """ - - # insert bulk to database - with connection.cursor() as cursor: - - # Predefine the memory areas to match the table definition - cursor.setinputsizes(None, array_size) - - data = [] - for row in csv_reader: - - # find compartment path - compartment_path = "" - for c in compartments: - if c['id'] == row['product/compartmentId']: - compartment_path = c['path'] - - # Handle Tags up to 4000 chars with # seperator - tag_special = "" - tag_special2 = "" - tags_data = "" - for (key, value) in row.items(): - if 'tags' in key and len(value) > 0: - - # remove # and = from the tags keys and value - keyadj = str(key).replace("tags/", "").replace("#", "").replace("=", "") - valueadj = str(value).replace("#", "").replace("=", "") - - # if tagspecial - if cmd.tagspecial: - if keyadj == cmd.tagspecial: - if len(valueadj) < 4000: - tag_special = valueadj - # remove oracle idcs from the e-mail - tag_special = tag_special.replace("oracleidentitycloudservice/", "") - - # if tagspecial2 - if cmd.tagspecial2: - if keyadj == cmd.tagspecial2: - if len(valueadj) < 4000: - tag_special2 = valueadj - # remove oracle idcs from the e-mail - tag_special2 = tag_special2.replace("oracleidentitycloudservice/", "") - - # check if length < 4000 to avoid overflow database column - if len(tags_data) + len(keyadj) + len(valueadj) + 2 < 4000: - tags_data += ("#" if tags_data == "" else "") + keyadj + "=" + valueadj + "#" - - # add tag key to tag_keys array - if keyadj not in tags_keys: - tags_keys.append(keyadj) - - # Assign each column to variable to avoid error if column missing from the file - lineItem_tenantId = get_column_value_from_array('lineItem/tenantId', row) - lineItem_intervalUsageStart = get_column_value_from_array('lineItem/intervalUsageStart', row) - lineItem_intervalUsageEnd = get_column_value_from_array('lineItem/intervalUsageEnd', row) - product_service = get_column_value_from_array('product/service', row) - product_compartmentId = get_column_value_from_array('product/compartmentId', row) - product_compartmentName = get_column_value_from_array('product/compartmentName', row) - product_region = get_column_value_from_array('product/region', row) - product_availabilityDomain = get_column_value_from_array('product/availabilityDomain', row) - product_resourceId = get_column_value_from_array('product/resourceId', row) - usage_billedQuantity = get_column_value_from_array('usage/billedQuantity', row) - usage_billedQuantityOverage = get_column_value_from_array('usage/billedQuantityOverage', row) - cost_subscriptionId = get_column_value_from_array('cost/subscriptionId', row) - cost_productSku = get_column_value_from_array('cost/productSku', row) - product_Description = get_column_value_from_array('product/Description', row) - cost_unitPrice = get_column_value_from_array('cost/unitPrice', row) - cost_unitPriceOverage = get_column_value_from_array('cost/unitPriceOverage', row) - cost_myCost = get_column_value_from_array('cost/myCost', row) - cost_myCostOverage = get_column_value_from_array('cost/myCostOverage', row) - cost_currencyCode = get_column_value_from_array('cost/currencyCode', row) - cost_overageFlag = get_column_value_from_array('cost/overageFlag', row) - lineItem_isCorrection = get_column_value_from_array('lineItem/isCorrection', row) - - # OCI changed the column billingUnitReadable to skuUnitDescription - if 'cost/skuUnitDescription' in row: - cost_billingUnitReadable = get_column_value_from_array('cost/skuUnitDescription', row) - else: - cost_billingUnitReadable = get_column_value_from_array('cost/billingUnitReadable', row) - - # Fix OCI Data for missing product description for old SKUs - if cost_productSku == "B88166" and product_Description == "": - product_Description = "Oracle Identity Cloud - Standard" - cost_billingUnitReadable = "Active User per Hour" - - elif cost_productSku == "B88167" and product_Description == "": - product_Description = "Oracle Identity Cloud - Basic" - cost_billingUnitReadable = "Active User per Hour" - - elif cost_productSku == "B88168" and product_Description == "": - product_Description = "Oracle Identity Cloud - Basic - Consumer User" - cost_billingUnitReadable = "Active User per Hour" - - # create array - row_data = ( - str(tenancy.name), - file_id, - lineItem_intervalUsageStart[0:10] + " " + lineItem_intervalUsageStart[11:16], - lineItem_intervalUsageEnd[0:10] + " " + lineItem_intervalUsageEnd[11:16], - product_service, - product_compartmentId, - product_compartmentName, - compartment_path, - product_region, - product_availabilityDomain, - product_resourceId, - usage_billedQuantity, - usage_billedQuantityOverage, - cost_subscriptionId, - cost_productSku, - product_Description, - cost_unitPrice, - cost_unitPriceOverage, - cost_myCost, - cost_myCostOverage, - cost_currencyCode, - cost_billingUnitReadable, - cost_overageFlag, - lineItem_isCorrection, - tags_data, - lineItem_tenantId[-6:], - tag_special, - tag_special2 - ) - data.append(row_data) - num_rows += 1 - - # executemany every batch size - if len(data) % batch_size == 0: - cursor.executemany(sql, data) - data = [] - - # if data exist final execute - if data: - cursor.executemany(sql, data) - - connection.commit() - print(" Completed file " + file_name_full + " - " + str(num_rows) + " Rows Inserted" + get_time_elapsed(start_time), end="") - - num_files += 1 - - # remove file - os.remove(path_filename) - - ####################################### - # insert bulk tags to the database - ####################################### - data = [] - for tag in tags_keys: - row_data = (str(tenancy.name), tag, str(tenancy.name), tag) - data.append(row_data) - - if data: - with connection.cursor() as cursor: - sql = """INSERT INTO OCI_COST_TAG_KEYS (TENANT_NAME , TAG_KEY) - SELECT :1, :2 FROM DUAL - WHERE NOT EXISTS (SELECT 1 FROM OCI_COST_TAG_KEYS B WHERE B.TENANT_NAME = :3 AND B.TAG_KEY = :4 - )""" - - cursor.executemany(sql, data) - connection.commit() - print(", " + str(len(data)) + " Tags Merged.") - else: - print("") - - ####################################### - # insert load stats - ####################################### - insert_load_stats(connection, str(tenancy.name), 'COST', file_id, file_name_full, file_size_mb, file_time, num_rows, start_time_str, file_num, total_files) - return num_files - - except oracledb.DatabaseError as e: - print("\nload_cost_file() - Error manipulating database - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - print("\nload_cost_file() - Error Download Usage and insert to database - " + str(e)) - raise SystemExit - - -######################################################################### -# Load Usage File -########################################################################## -def load_usage_file(connection, object_storage, object_file, max_file_id, cmd, tenancy, compartments, file_num, total_files): - start_time = time.time() - start_time_str = get_current_date_time() - num_files = 0 - num_rows = 0 - try: - o = object_file - - # keep tag keys per file - tags_keys = [] - - # get file name - filename = o.name.rsplit('/', 1)[-1] - file_id = filename[:-7] - file_time = str(o.time_created)[0:16] - file_size_mb = round(o.size / 1024 / 1024) - file_name_full = o.name - - # if file already loaded, skip (check if < max_usage_file_id) - if str(max_file_id) != "None": - if file_id <= str(max_file_id): - print(" Skipping file " + o.name + " - " + str(round(o.size / 1024 / 1024)) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", File already loaded") - return num_files - - # if file id enabled, check - if cmd.fileid: - if file_id != cmd.file_id: - print(" Skipping file " + o.name + " - " + str(round(o.size / 1024 / 1024)) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", File Id " + cmd.fileid + " filter specified") - return num_files - - # check file date - if cmd.filedate: - if file_time <= cmd.filedate: - print(" Skipping file " + o.name + " - " + str(round(o.size / 1024 / 1024)) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files) + ", Less then specified date " + cmd.filedate) - return num_files - - path_filename = work_report_dir + '/' + filename - print("\n Processing file " + o.name + " - " + str(round(o.size / 1024 / 1024)) + " MB, " + file_time + ", #" + str(file_num) + "/" + str(total_files)) - - # download file - object_details = object_storage.get_object(usage_report_namespace, str(tenancy.id), o.name) - with open(path_filename, 'wb') as f: - for chunk in object_details.data.raw.stream(1024 * 1024, decode_content=False): - f.write(chunk) - - # Read file to variable - with gzip.open(path_filename, 'rt') as file_in: - csv_reader = csv.DictReader(file_in) - - # sql statement - sql = """INSERT INTO OCI_USAGE (TENANT_NAME, FILE_ID, USAGE_INTERVAL_START, USAGE_INTERVAL_END, PRD_SERVICE, PRD_RESOURCE, - PRD_COMPARTMENT_ID, PRD_COMPARTMENT_NAME, PRD_COMPARTMENT_PATH, PRD_REGION, PRD_AVAILABILITY_DOMAIN, USG_RESOURCE_ID, - USG_BILLED_QUANTITY, USG_CONSUMED_QUANTITY, USG_CONSUMED_UNITS, USG_CONSUMED_MEASURE, IS_CORRECTION, TAGS_DATA, TENANT_ID, TAG_SPECIAL, TAG_SPECIAL2 - ) VALUES ( - :1, :2, to_date(:3,'YYYY-MM-DD HH24:MI'), to_date(:4,'YYYY-MM-DD HH24:MI'), :5, :6, - :7, :8, :9, :10, :11, :12, - to_number(:13), to_number(:14), :15, :16, :17 ,:18, :19, :20, :21 - )""" - - # Adjust the batch size to meet memory and performance requirements - batch_size = 5000 - array_size = 1000 - - # insert bulk to database - with connection.cursor() as cursor: - - # Predefine the memory areas to match the table definition - cursor.setinputsizes(None, array_size) - - data = [] - for row in csv_reader: - - # find compartment path - compartment_path = "" - for c in compartments: - if c['id'] == row['product/compartmentId']: - compartment_path = c['path'] - - # Handle Tags up to 3500 chars with # seperator - tags_data = "" - tag_special = "" - tag_special2 = "" - for (key, value) in row.items(): - if 'tags' in key and len(value) > 0: - - # remove # and = from the tags keys and value - keyadj = str(key).replace("tags/", "").replace("#", "").replace("=", "") - valueadj = str(value).replace("#", "").replace("=", "") - - # if tagspecial - if cmd.tagspecial: - if keyadj == cmd.tagspecial: - if len(valueadj) < 4000: - tag_special = valueadj - # remove oracle idcs from the e-mail - tag_special = tag_special.replace("oracleidentitycloudservice/", "") - - # if tagspecial2 - if cmd.tagspecial2: - if keyadj == cmd.tagspecial2: - if len(valueadj) < 4000: - tag_special2 = valueadj - # remove oracle idcs from the e-mail - tag_special2 = tag_special2.replace("oracleidentitycloudservice/", "") - - # check if length < 3500 to avoid overflow database column - if len(tags_data) + len(keyadj) + len(valueadj) + 2 < 3500: - tags_data += ("#" if tags_data == "" else "") + keyadj + "=" + valueadj + "#" - - # add tag key to tag_keys array - if keyadj not in tags_keys: - tags_keys.append(keyadj) - - # Assign each column to variable to avoid error if column missing from the file - lineItem_tenantId = get_column_value_from_array('lineItem/tenantId', row) - lineItem_intervalUsageStart = get_column_value_from_array('lineItem/intervalUsageStart', row) - lineItem_intervalUsageEnd = get_column_value_from_array('lineItem/intervalUsageEnd', row) - product_service = get_column_value_from_array('product/service', row) - product_resource = get_column_value_from_array('product/resource', row) - product_compartmentId = get_column_value_from_array('product/compartmentId', row) - product_compartmentName = get_column_value_from_array('product/compartmentName', row) - product_region = get_column_value_from_array('product/region', row) - product_availabilityDomain = get_column_value_from_array('product/availabilityDomain', row) - product_resourceId = get_column_value_from_array('product/resourceId', row) - usage_billedQuantity = get_column_value_from_array('usage/billedQuantity', row) - usage_consumedQuantity = get_column_value_from_array('usage/consumedQuantity', row) - usage_consumedQuantityUnits = get_column_value_from_array('usage/consumedQuantityUnits', row) - usage_consumedQuantityMeasure = get_column_value_from_array('usage/consumedQuantityMeasure', row) - lineItem_isCorrection = get_column_value_from_array('lineItem/isCorrection', row) - - # create array for bulk insert - row_data = ( - str(tenancy.name), - file_id, - lineItem_intervalUsageStart[0:10] + " " + lineItem_intervalUsageStart[11:16], - lineItem_intervalUsageEnd[0:10] + " " + lineItem_intervalUsageEnd[11:16], - product_service, - product_resource, - product_compartmentId, - product_compartmentName, - compartment_path, - product_region, - product_availabilityDomain, - product_resourceId, - usage_billedQuantity, - usage_consumedQuantity, - usage_consumedQuantityUnits, - usage_consumedQuantityMeasure, - lineItem_isCorrection, - tags_data, - lineItem_tenantId[-6:], - tag_special, - tag_special2 - ) - data.append(row_data) - num_rows += 1 - - # insert every buffer size - if len(data) % batch_size == 0: - cursor.executemany(sql, data) - data = [] - - # final insert - if data: - cursor.executemany(sql, data) - - # commit - connection.commit() - print(" Completed file " + o.name + " - " + str(num_rows) + " Rows Inserted" + get_time_elapsed(start_time), end="") - - num_files += 1 - - # remove file - os.remove(path_filename) - - ####################################### - # insert bulk tags to the database - ####################################### - data = [] - for tag in tags_keys: - row_data = (str(tenancy.name), tag, str(tenancy.name), tag) - data.append(row_data) - - if data: - with connection.cursor() as cursor: - sql = """INSERT INTO OCI_USAGE_TAG_KEYS (TENANT_NAME , TAG_KEY) - SELECT :1, :2 FROM DUAL - WHERE NOT EXISTS (SELECT 1 FROM OCI_USAGE_TAG_KEYS B WHERE B.TENANT_NAME = :3 AND B.TAG_KEY = :4) - """ - - cursor.executemany(sql, data) - connection.commit() - print(", " + str(len(data)) + " Tags Merged.") - else: - print("") - - ####################################### - # insert load stats - ####################################### - insert_load_stats(connection, str(tenancy.name), 'USAGE', file_id, file_name_full, file_size_mb, file_time, num_rows, start_time_str, file_num, total_files) - - return num_files - - except oracledb.DatabaseError as e: - print("\nload_usage_file() - Error manipulating database - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - print("\nload_usage_file() - Error Download Usage and insert to database - " + str(e)) - raise SystemExit - - -########################################################################## -# Main -########################################################################## -def main_process(): - cmd = set_parser_arguments() - if cmd is None: - exit() - config, signer = create_signer(cmd) - - ############################################ - # Start - ############################################ - print_header("Running Usage Load to ADW", 0) - print("Starts at " + get_current_date_time()) - print("Command Line : " + ' '.join(x for x in sys.argv[1:])) - - ############################################ - # Identity extract compartments - ############################################ - compartments = [] - tenancy = None - tenant_id = "" - short_tenant_id = "" - try: - print("\nConnecting to Identity Service...") - identity = oci.identity.IdentityClient(config, signer=signer) - if cmd.proxy: - identity.base_client.session.proxies = {'https': cmd.proxy} - - tenancy = identity.get_tenancy(config["tenancy"]).data - tenant_id = str(tenancy.id) - short_tenant_id = tenant_id[-6:] - tenancy_home_region = "" - - # find home region full name - subscribed_regions = identity.list_region_subscriptions(tenancy.id).data - for reg in subscribed_regions: - if reg.is_home_region: - tenancy_home_region = str(reg.region_name) - - print(" Tenant Name : " + str(tenancy.name)) - print(" Tenant Id : " + tenancy.id) - print(" App Version : " + version) - print(" Home Region : " + tenancy_home_region) - print("") - - # set signer home region - signer.region = tenancy_home_region - config['region'] = tenancy_home_region - - # Extract compartments - compartments = identity_read_compartments(identity, tenancy) - - except Exception as e: - print("\nError extracting compartments section - " + str(e) + "\n") - raise SystemExit - - ############################################ - # connect to database - ############################################ - max_usage_file_id = "" - max_cost_file_id = "" - try: - print("\nConnecting to database " + cmd.dname) - with oracledb.connect(user=cmd.duser, password=cmd.dpass, dsn=cmd.dname) as connection: - - # Open Cursor - with connection.cursor() as cursor: - print(" Connected") - - # Check tables structure - print("\nChecking Database Structure...") - check_database_table_structure_usage(connection, tenancy.name) - check_database_table_structure_cost(connection, cmd.tagspecial, cmd.tagspecial2, tenancy.name) - check_database_table_structure_price_list(connection, tenancy.name) - check_database_table_structure_load_status(connection) - check_database_table_structure_resource(connection) - - ############################### - # enable hints - ############################### - sql = "ALTER SESSION SET OPTIMIZER_IGNORE_HINTS=FALSE" - cursor.execute(sql) - sql = "ALTER SESSION SET OPTIMIZER_IGNORE_PARALLEL_HINTS=FALSE" - cursor.execute(sql) - - ############################### - # fetch max file id processed - # for usage and cost - ############################### - print("\nChecking Last Loaded Files... started at " + get_current_date_time()) - - sql = "select /*+ full(a) parallel(a,8) */ nvl(max(file_id),'0') as file_id from OCI_USAGE a where TENANT_NAME=:tenant_name" - cursor.execute(sql, tenant_name=str(tenancy.name)) - max_usage_file_id, = cursor.fetchone() - print(" Max Usage File Id Processed = " + str(max_usage_file_id)) - - sql = "select /*+ full(a) parallel(a,8) */ nvl(max(file_id),'0') as file_id from OCI_COST a where TENANT_NAME=:tenant_name" - cursor.execute(sql, tenant_name=str(tenancy.name)) - max_cost_file_id, = cursor.fetchone() - print(" Max Cost File Id Processed = " + str(max_cost_file_id)) - - print("Completed Checking at " + get_current_date_time()) - - ############################################ - # Download Usage, cost and insert to database - ############################################ - - print("\nConnecting to Object Storage Service...") - - object_storage = oci.object_storage.ObjectStorageClient(config, signer=signer) - if cmd.proxy: - object_storage.base_client.session.proxies = {'https': cmd.proxy} - print(" Connected") - - ############################# - # Handle Report Usage - ############################# - usage_num = 0 - if not cmd.skip_usage: - print("\nHandling Usage Report... started at " + get_current_date_time()) - objects = oci.pagination.list_call_get_all_results(object_storage.list_objects, usage_report_namespace, str(tenancy.id), fields="timeCreated,size", prefix="reports/usage-csv/", start="reports/usage-csv/" + max_usage_file_id).data - - total_files = len(objects.objects) - print("Total " + str(total_files) + " usage files found to scan...") - for index, object_file in enumerate(objects.objects, start=1): - usage_num += load_usage_file(connection, object_storage, object_file, max_usage_file_id, cmd, tenancy, compartments, index, total_files) - print("\n Total " + str(usage_num) + " Usage Files Loaded, conmpleted at " + get_current_date_time()) - - ############################# - # Update oci_usage_stats if - # there were files - ############################# - if usage_num > 0 or cmd.force: - update_usage_stats(connection, tenancy.name) - update_usage_reference(connection, cmd.tagspecial, cmd.tagspecial2, tenancy.name) - - ############################# - # Handle Cost Usage - ############################# - cost_num = 0 - if not cmd.skip_cost: - print("\nHandling Cost Report... started at " + get_current_date_time()) - objects = oci.pagination.list_call_get_all_results(object_storage.list_objects, usage_report_namespace, str(tenancy.id), fields="timeCreated,size", prefix="reports/cost-csv/", start="reports/cost-csv/" + max_cost_file_id).data - - total_files = len(objects.objects) - print("Total " + str(total_files) + " cost files found to scan...") - for index, object_file in enumerate(objects.objects, start=1): - cost_num += load_cost_file(connection, object_storage, object_file, max_cost_file_id, cmd, tenancy, compartments, index, total_files) - print("\n Total " + str(cost_num) + " Cost Files Loaded, completed at " + get_current_date_time()) - - # Handle Index structure if not exist - check_database_index_structure_usage(connection) - check_database_index_structure_cost(connection) - - ############################# - # Update oci_cost_stats if - # there were files - ############################# - if cost_num > 0 or cmd.force: - update_cost_stats(connection, tenancy.name) - update_price_list(connection, tenancy.name) - update_cost_reference(connection, cmd.tagspecial, cmd.tagspecial2, tenancy.name) - if not cmd.skip_rate: - update_public_rates(connection, tenancy.name) - update_tenant_id_if_null(connection, tenancy.name, short_tenant_id) - - except oracledb.DatabaseError as e: - print("\nError manipulating database - " + str(e) + "\n") - - except Exception as e: - print("\nError appeared - " + str(e)) - - ############################################ - # print completed - ############################################ - print("\nCompleted at " + get_current_date_time()) - - -########################################################################## -# Execute Main Process -########################################################################## -main_process() diff --git a/examples/usage_reports_to_adw/usage2adw_showoci_csv2adw.py b/examples/usage_reports_to_adw/usage2adw_showoci_csv2adw.py deleted file mode 100644 index d2b0213cd8..0000000000 --- a/examples/usage_reports_to_adw/usage2adw_showoci_csv2adw.py +++ /dev/null @@ -1,3107 +0,0 @@ -#!/usr/bin/env python3 -########################################################################## -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. -# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# -# DISCLAIMER This is not an official Oracle application, It does not supported by Oracle Support, -# It should NOT be used for utilization calculation purposes, and rather OCI's official -# -# usage2adw_showoci_csv2adw.py -# -# @author: Adi Zohar -# -# coding: utf-8 -########################################################################## -# usage2adw_showoci_csv2adw.py - Load showoci csv reports to ADW to be used with usage2adw, -# Currently supported: Compute + Block Volumes -# -# Requires oracledb python package -# python3 -m pip install oracledb -########################################################################## -# Tables used: -# - OCI_SHOWOCI_COMPUTE -# - OCI_SHOWOCI_COMPUTE_RESERVATIONS -# - OCI_SHOWOCI_BLOCK_VOLUMES -# - OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP -# - OCI_SHOWOCI_DATABASE_ALL -# - OCI_SHOWOCI_DATABASE_BACKUPS -# - OCI_SHOWOCI_DATABASE_EXA_CS_VMS -# - OCI_SHOWOCI_DATABASE_EXA_INFRA -# - OCI_SHOWOCI_DATABASE_EXA_CC_VMS -# - OCI_SHOWOCI_DATABASES -# - OCI_SHOWOCI_DATABASE_VM_BM -# - OCI_SHOWOCI_DATABASES_ADB -# - OCI_SHOWOCI_DB_NOSQL -# - OCI_SHOWOCI_DB_MYSQL -# - OCI_SHOWOCI_DB_GOLDENGATE_DEP -# - OCI_SHOWOCI_FILE_STORAGE -# - OCI_SHOWOCI_OBJECT_STORAGE -# - OCI_SHOWOCI_LB_LISTENERS -# - OCI_SHOWOCI_LB_BACKENDSET -# - OCI_SHOWOCI_OAC -# - OCI_SHOWOCI_OIC -# - OCI_SHOWOCI_OCE -# - OCI_SHOWOCI_DEVOPS -# - OCI_SHOWOCI_VISUAL_BUILDER -# - OCI_SHOWOCI_CONTAINERS -# - OCI_SHOWOCI_CONTAINERS_NODEPOOLS -# - OCI_SHOWOCI_APIGW -# - OCI_SHOWOCI_NETWORK_VCN -# - OCI_SHOWOCI_NETWORK_SUBNET -# - OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS -# - OCI_SHOWOCI_NETWORK_SECLIST_RULES -# - OCI_SHOWOCI_NETWORK_SECGROUPS_RULES -# - OCI_SHOWOCI_NETWORK_DRGS -# - OCI_SHOWOCI_NETWORK_DHCP_OPTIONS -# - OCI_SHOWOCI_NETWORK_ROUTES -# - OCI_SHOWOCI_NETWORK_DRG_VC -# - OCI_SHOWOCI_NETWORK_DRG_IPSEC -# - OCI_SHOWOCI_NETWORK_FIREWALL -# - OCI_SHOWOCI_DIGITAL_ASSISTANCE -# - OCI_SHOWOCI_BIG_DATA -# - OCI_SHOWOCI_DATA_FLOW -# - OCI_SHOWOCI_DATA_CATALOG -# - OCI_SHOWOCI_DATA_CONN_REGISTRY -# - OCI_SHOWOCI_DATA_SCIENCE -# - OCI_SHOWOCI_DATA_INTEGRATION -# - OCI_SHOWOCI_STREAMS_QUEUES -# - OCI_SHOWOCI_WAF -# - OCI_SHOWOCI_HEALTHCHECKS -# - OCI_SHOWOCI_DNS_STEERING_POL -# - OCI_SHOWOCI_IAM_COMPARTMENTS -# - OCI_SHOWOCI_SECURITY_BASTIONS -# - OCI_SHOWOCI_SECURITY_CLOUDGUARD -# - OCI_SHOWOCI_SECURITY_LOGGINGS -# - OCI_SHOWOCI_SECURITY_KMS_VAULTS -# - OCI_SHOWOCI_LIMITS -# - OCI_SHOWOCI_QUOTAS -# - OCI_SHOWOCI_MONITOR_AGENTS -# - OCI_SHOWOCI_MONITOR_EVENTS -# - OCI_SHOWOCI_MONITOR_DB_MANAGEMENT -# - OCI_SHOWOCI_MONITOR_ALARMS -# - OCI_SHOWOCI_MONITOR_NOTIFICATIONS -# - OCI_SHOWOCI_OPEN_SEARCH -# -########################################################################## -# TO DO -########################################################################## -# -# paas_ocvs_vmware -# edge_waas_policies -# identity_compartments -# identity_domains_auth -# identity_domains -# identity_domains_dyngroup -# identity_domains_groups -# identity_domains_idps -# identity_domains_kmsi -# identity_domains_users -# identity_policy -########################################################################## - -import sys -import argparse -import datetime -import csv -import oracledb -import time -import os - -version = "23.04.11" -cmd = None -file_num = 0 - - -########################################################################## -# Print header centered -########################################################################## -def print_header(name, category): - options = {0: 90, 1: 60, 2: 30} - chars = int(options[category]) - print("") - print('#' * chars) - print("#" + name.center(chars - 2, " ") + "#") - print('#' * chars) - - -########################################################################## -# Get Column from Array -########################################################################## -def get_column_value_from_array(column, array, limit_size): - if column in array: - value = array[column][0:limit_size] - if value == "None": - value = "" - return value - else: - print(" Column not found in CSV --> " + column) - return "" - - -########################################################################## -# Get Currnet Date Time -########################################################################## -def get_current_date_time(): - return str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")) - - -########################################################################## -# print count result -########################################################################## -def get_time_elapsed(start_time): - et = time.time() - start_time - return ", Process Time " + str('{:02d}:{:02d}:{:02d}'.format(round(et // 3600), (round(et % 3600 // 60)), round(et % 60))) - - -########################################################################## -# set parser -########################################################################## -def set_parser_arguments(): - - parser = argparse.ArgumentParser(formatter_class=lambda prog: argparse.HelpFormatter(prog, max_help_position=80, width=130)) - parser.add_argument('-csv', default="", dest='csv_location', help='CSV Location from showoci including header') - parser.add_argument('-du', default="", dest='duser', help='ADB User') - parser.add_argument('-dp', default="", dest='dpass', help='ADB Password') - parser.add_argument('-dn', default="", dest='dname', help='ADB DSN') - - parser.add_argument('-usethick', action='store_true', default=False, dest='usethick', help='Use sqlnet thick client library') - parser.add_argument('-wl', default="", dest='wallet_location', help='Wallet Location') - parser.add_argument('-wp', default="", dest='wallet_password', help='Wallet Password') - - parser.add_argument('-drop', action='store_true', default=False, dest='drop', help='Drop Tables before Load') - parser.add_argument('-verbose', action='store_true', default=False, dest='verbose', help='Print more details') - - parser.add_argument('--version', action='version', version='%(prog)s ' + version) - - result = parser.parse_args() - - if not (result.duser and result.dpass and result.dname and result.csv_location): - parser.print_help() - print_header("You must specify database credentials and csv location!!", 0) - return None - - return result - - -########################################################################## -# Check Table Structure for Compute -########################################################################## -def handle_compute(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_COMPUTE", - 'csv_file': "compute.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'instance_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'fault_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'server_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'image ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'primary_vcn ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'primary_subnet ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'public_ips ', 'csv': ' ', 'type': 'varchar2(500) ', 'pk': 'n'}, - {'col': 'private_ips ', 'csv': ' ', 'type': 'varchar2(500) ', 'pk': 'n'}, - {'col': 'security_groups ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'internal_fqdn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'boot_volume ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'boot_volume_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'boot_volume_size_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'boot_volume_b_policy ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'boot_volume_encryption', 'csv': ' ', 'type': 'varchar2(200) ', 'pk': 'n'}, - {'col': 'block_volumes ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'block_volumes_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'block_volumes_total_gb', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'block_volumes_b_policy', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vnic_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "instance_id", "server_name") - except Exception as e: - raise Exception("\nError at procedure: handle_compute - " + str(e)) - - -########################################################################## -# Check Table Structure for Block Storage -########################################################################## -def handle_block_volume(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_BLOCK_VOLUMES", - 'csv_file': "block_volumes.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'display_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'size_gb ', 'csv': 'size ', 'type': 'number ', 'pk': 'n'}, - {'col': 'backup_policy ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vpus_per_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'volume_group_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'instance_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'instance_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "display_name") - except Exception as e: - raise Exception("\nError at procedure: handle_block_storage - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_block_volumes_backups -########################################################################## -def handle_block_volume_backups(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_BLOCK_VOLUMES_BACKUP", - 'csv_file': "block_volumes_backups.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'backup_id', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': 'desc ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'volume_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'schedule_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'source_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'unique_size_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'size_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'expiration_time ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "source_name", "backup Source ") - except Exception as e: - raise Exception("\nError at procedure: handle_block_volume_backups - " + str(e)) - - -########################################################################## -# Check Table Structure for Database All -########################################################################## -def handle_database_all(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_ALL", - 'csv_file': "database_db_all.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vm_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scan_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vip_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_nodes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_homes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'maintenance_window ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'last_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'next_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'infra_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_all - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_backups -########################################################################## -def handle_database_backups(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_BACKUPS", - 'csv_file': "database_backups.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'dbs_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'database ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'backup_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'time ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'size_gb ', 'csv': 'size ', 'type': 'number ', 'pk': 'n'}, - {'col': 'database_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_database_backups - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_exa_cs_vms -########################################################################## -def handle_database_exa_cs_vms(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_EXA_CS_VMS", - 'csv_file': "database_db_exacs.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vm_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scan_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vip_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_nodes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_homes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'maintenance_window ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'last_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'next_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'infra_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_exa_cs_vms - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_exa_infra -########################################################################## -def handle_database_exa_infra(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_EXA_INFRA", - 'csv_file': "database_db_exa_infra.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'infra_id', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'time_zone ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'cpus_enabled ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_cpu_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_size_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_memory_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_node_storage_size_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_db_node_storage_in_g_bs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'data_storage_size_in_tbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_data_storage_in_t_bs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'total_storage_size_in_gbs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'available_storage_size_in_gbs', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'storage_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'additional_storage_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'activated_storage_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'compute_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'cluster_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'cluster_names ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'dns_server ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ntp_server ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'csi_number ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_servers ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_servers_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'maintenance_window ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'last_maintenance_run ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'next_maintenance_run ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'infra_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_exa_infra - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_exa_cc_vms -########################################################################## -def handle_database_exa_cc_vms(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_EXA_CC_VMS", - 'csv_file': "database_db_exacc.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vm_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'gi_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'system_version_date ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scan_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vip_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_nodes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_homes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'maintenance_window ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'last_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'next_maintenance_run', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'infra_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_exa_cs_vms - " + str(e)) - - -########################################################################## -# Check Table Structure for Database -########################################################################## -def handle_database(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASES", - 'csv_file': "database.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'database_id', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'database ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scan_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vip_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'pdbs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vm_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'auto_backup_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_nodes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_home ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_home_version ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'database_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dbsystem_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_vm_bm -########################################################################## -def handle_database_vm_bm(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASE_VM_BM", - 'csv_file': "database_db_vm_bm.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vm_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'local_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'gi_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gi_version_date ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'system_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'system_version_date ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'database_edition ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backup_subnet ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scan_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vip_ips ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_nodes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'db_homes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'infra_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_vm_bm - " + str(e)) - - -########################################################################## -# Check Table Structure for Databases -########################################################################## -def handle_database_autonomous(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATABASES_ADB", - 'csv_file': "database_autonomous.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'infra_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'cluster_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'container_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'db_version ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'db_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'version_license_model ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'data_safe_status ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'time_maintenance_begin ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'time_maintenance_end ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'private_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'private_endpoint_label ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'nsg_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'nsg_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'whitelisted_ips ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'service_console_url ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'connection_strings ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_auto_scaling_enabled ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'is_data_guard_enabled ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'standby_lag_time_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'standby_lifecycle_state ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'time_of_last_switchover ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_local_data_guard_enabled', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'dataguard_region_type ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'supported_regions_to_clone_to', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'key_store_wallet_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'key_store_id ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'is_dedicated ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'db_storage_tb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_autonomous - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_goldengate_deployments -########################################################################## -def handle_database_goldengate_deployments(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DB_GOLDENGATE_DEP", - 'csv_file': "database_goldengate_deployments.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'license_model ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'fqdn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpu_core_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'is_auto_scaling_enabled ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_public ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'public_ip_address ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'private_ip_address ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'deployment_url ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_latest_version ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'deployment_type ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_goldengate_deployments - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_mysql -########################################################################## -def handle_database_mysql(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DB_MYSQL", - 'csv_file': "database_mysql.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_highly_available ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'current_placement ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_analytics_cluster_attached', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'analytics_cluster ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_heat_wave_cluster_attached', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'heat_wave_cluster ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'fault_domain ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoints ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoints_text ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'mysql_version ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'deletion_policy ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'shape_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'shape_ocpu ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shape_memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'crash_recovery ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'backup_is_enabled ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'configuration_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'source ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'hostname_label ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'ip_address ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'port ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'port_x ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'channels ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'maintenance ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_earliest_recovery_point ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_latest_recovery_point ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'data_storage_size_in_gbs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_mysql - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_database_nosql -########################################################################## -def handle_database_nosql(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DB_NOSQL", - 'csv_file': "database_nosql.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_auto_reclaimable ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'capacity_mode ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'max_read_units ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_write_units ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'max_storage_in_g_bs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_of_expiration ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_database_nosql - " + str(e)) - - -########################################################################## -# Check Table Structure for File Storage -########################################################################## -def handle_file_storage(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_FILE_STORAGE", - 'csv_file': "file_storage.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domain', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'display_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'size_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'exports ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'snapshots ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'mount_ips ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "display_name") - except Exception as e: - raise Exception("\nError at procedure: handle_file_storage - " + str(e)) - - -########################################################################## -# Check Table Structure for File Storage -########################################################################## -def handle_object_storage(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_OBJECT_STORAGE", - 'csv_file': "object_storage_buckets.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'bucket_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'namespace_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bucket_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'size_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'objects ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'object_lifecycle ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'public_access_type ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'storage_tier ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'is_read_only ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'versioning ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'auto_tiering ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'kms_key_id ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'logs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'preauthenticated_requests', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'object_events_enabled ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'replication_enabled ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "bucket_name") - except Exception as e: - raise Exception("\nError at procedure: handle_object_storage - " + str(e)) - - -########################################################################## -# Check Table Structure for load_balancer_listeners -########################################################################## -def handle_load_balancer_listeners(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_LB_LISTENERS", - 'csv_file': "load_balancer_listeners.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'loadbalancer_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ip_addresses ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_errors ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_access ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'logs ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnets ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'listener_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'listener_port ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'listener_def_bs ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'listener_ssl ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'listener_host ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'listener_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'listener_rule ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'lb_certificates ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_load_balancer_listeners - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_load_balancer_backendset -########################################################################## -def handle_load_balancer_backendset(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_LB_BACKENDSET", - 'csv_file': "load_balancer_backendset.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ip_addresses ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnets ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bs_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bs_desc ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bs_status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'health_check ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'session_persistence', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ssl_cert ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backend_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'backend ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'backend_ip ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'loadbalancer_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_load_balancer_backendset - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_oac -########################################################################## -def handle_paas_oac(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_OAC", - 'csv_file': "paas_oac.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'feature_set ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'license_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'capacity_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'capacity_value ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'email_notification ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'service_url ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vanity_domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vanity_url ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'network_endpoint_details', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_oac - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_oic -########################################################################## -def handle_paas_oic(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_OIC", - 'csv_file': "paas_oic.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'instance_url ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'message_packs ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'is_byol ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_file_server_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_visual_builder_enabled', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'network_endpoint_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'consumption_model ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_oic - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_oce -########################################################################## -def handle_paas_oce(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_OCE", - 'csv_file': "paas_oce.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'guid ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'idcs_tenancy ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'object_storage_namespace ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'admin_email ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'service ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_oce - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_visual_builder -########################################################################## -def handle_paas_visual_builder(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_VISUAL_BUILDER", - 'csv_file': "paas_visualbuilder.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'instance_url ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'is_visual_builder_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'custom_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'alternate_custom_endpoints', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'consumption_model ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_visual_builder - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_devops -########################################################################## -def handle_paas_devops(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DEVOPS", - 'csv_file': "paas_devops.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'namespace ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'notification_config ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_devops - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_containers -########################################################################## -def handle_containers(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_CONTAINERS", - 'csv_file': "containers.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_pools ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'kubernetes_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'endpoint_is_public_ip_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'endpoint_nsg_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint_nsg_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint_subnet_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint_subnet_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'option_lb_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'option_network_pods_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'option_network_services_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'option_is_kubernetes_dashboard_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'option_is_tiller_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'option_is_pod_security_policy_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_deleted ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'created_by_user_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'deleted_by_user_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'updated_by_user_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'endpoint_kubernetes ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'endpoint_public_endpoint ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint_private_endpoint ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint_vcn_hostname_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'available_kubernetes_upgrades ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_visual_builder - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_containers_nodepools -########################################################################## -def handle_containers_nodepools(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_CONTAINERS_NODEPOOLS", - 'csv_file': "containers_nodepools.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'node_pool_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'container_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_image_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'kubernetes_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'quantity_per_subnet ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_shape_mem_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_shape_ocpus ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'node_source_type ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'node_source_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnets ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnet_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'container_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'node_pool_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "node_name") - except Exception as e: - raise Exception("\nError at procedure: handle_containers_nodepools - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_apigw -########################################################################## -def handle_apigw(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_APIGW", - 'csv_file': "api_gateways.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'dp_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_endpoint_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_hostname ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_subnet_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'gw_subnet_name ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'gw_time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'gw_time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'gw_lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_nsg_ids ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'gw_nsg_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'gw_certificate_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gw_freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'gw_defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dp_display_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'path_prefix ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'log_execution ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'log_access ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'logs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dp_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'api_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "api_id", "gw_name") - except Exception as e: - raise Exception("\nError at procedure: handle_apigw - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_vcn -########################################################################## -def handle_network_vcn(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_VCN", - 'csv_file': "network_vcn.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'vcn_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'internet_gateway ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'service_gateway ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'nat ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'local_peering ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnets ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnets_cidrs ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_vcn - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_subnet -########################################################################## -def handle_network_subnet(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_SUBNET", - 'csv_file': "network_subnet.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'subnet_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(2000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'internet_gateway ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'service_gateway ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'nat ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'local_peering ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'public_private ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'dhcp_options ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'route ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'security_list ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dns ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'logs ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "subnet_name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_subnet - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_subnet_private_ips -########################################################################## -def handle_network_subnet_private_ips(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_SUBNET_PRV_IPS", - 'csv_file': "network_subnet_prv_ips.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'privateip_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ip_address ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'display_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'hostname_label ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_primary ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ip_compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ip_compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'privateip_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vlan_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "ip_address") - except Exception as e: - raise Exception("\nError at procedure: handle_network_subnet_private_ips - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_security_list -########################################################################## -def handle_network_security_list(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_SECLIST_RULES", - 'csv_file': "network_security_list.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'sec_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'sec_protocol ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_rules ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_stateless ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_network_security_list - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_security_groups -########################################################################## -def handle_network_security_groups(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_SECGROUPS_RULES", - 'csv_file': "network_security_group.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'sec_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'sec_protocol ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_rules ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_stateless ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'sec_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_network_security_groups - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_drg -########################################################################## -def handle_network_drg(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_DRGS", - 'csv_file': "network_drgs.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'redundancy ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg_route_tables ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'ip_sec_connections ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'virtual_circuits ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'remote_peerings ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcns ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_drg - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_firewall -########################################################################## -def handle_network_firewall(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_FIREWALL", - 'csv_file': "network_firewalls.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ipv4_address ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ipv6_address ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'network_firewall_policy_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'network_firewall_policy_name', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_firewall - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_dhcp_options -########################################################################## -def handle_network_dhcp_options(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_DHCP_OPTIONS", - 'csv_file': "network_dhcp_options.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'dhcp_id ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dhcp_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'option_1 ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'option_2 ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'dhcp_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'dhcp_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_network_dhcp_options - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_routes -########################################################################## -def handle_network_routes(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_ROUTES", - 'csv_file': "network_routes.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'vcn_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidr ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_cidrs ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'route_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'route_compartment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'route_compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'destination ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'route ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'route_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_network_routes - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_drg_virtual_circuit -########################################################################## -def handle_network_drg_virtual_circuit(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_DRG_VC", - 'csv_file': "network_drg_virtual_circuits.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bandwidth_shape_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bgp_management ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'bgp_session_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bgp_ipv6_session_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bgp_admin_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_bfd_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'customer_asn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'gateway_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'provider_service_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'provider_service_key_name', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'routing_policy ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'public_prefixes ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'region ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'customer_bgp_asn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'oracle_bgp_asn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'provider_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'provider_service_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'provider_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'reference_comment ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'service_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cross_connect_mappings ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg_route_table ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg_route_table_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_drg_virtual_circuit - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_drg_ipsec -########################################################################## -def handle_network_drg_ipsec(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_NETWORK_DRG_IPSEC", - 'csv_file': "network_drg_ipsec_tunnels.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'tunnel_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'routing ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bgp_info ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ipsec_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'drg_route_table ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpe ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpe_local_identifier ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'routes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'drg_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cpe_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ipsec_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'cpe_time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "tunnel_name") - except Exception as e: - raise Exception("\nError at procedure: handle_network_drg_ipsec - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_ai_oda -########################################################################## -def handle_data_digital_assistance(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DIGITAL_ASSISTANCE", - 'csv_file': "digital_assistance.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'shape_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_role_based_access ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'identity_domain ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'imported_package_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'attachment_types ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_ai_oda - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_ai_bds -########################################################################## -def handle_big_data_service(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_BIG_DATA", - 'csv_file': "big_data_service.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'number_of_nodes ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'is_high_availability ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'cluster_profile ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_secure ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_cloud_sql_configured ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_ai_bds - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_network_data_flow -########################################################################## -def handle_data_flow(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATA_FLOW", - 'csv_file': "data_flow.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'language ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'owner_principal_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'owner_user_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'spark_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_flow - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_catalog -########################################################################## -def handle_data_catalog(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATA_CATALOG", - 'csv_file': "data_catalog.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'number_of_objects ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'attached_catalog_private_endpoints', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_catalog - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_conn_registry -########################################################################## -def handle_data_conn_registry(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATA_CONN_REGISTRY", - 'csv_file': "data_conn_registry.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'conn_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_conn_registry - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_science -########################################################################## -def handle_data_science(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATA_SCIENCE", - 'csv_file': "data_science.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_science - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_data_integration -########################################################################## -def handle_data_integration(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DATA_INTEGRATION", - 'csv_file': "data_integration.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_data_integration - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_streams_queues -########################################################################## -def handle_streams_queues(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_STREAMS_QUEUES", - 'csv_file': "streams_queues.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'partitions ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'retention_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'visibility_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'timeout_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'dead_letter_queue_delivery_count', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'custom_encryption_key_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'messages_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_streams_queues - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_edge_web_application_firewall -########################################################################## -def handle_edge_web_application_firewall(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_WAF", - 'csv_file': "edge_web_application_firewall.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'backend_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'web_app_firewall_policy_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_edge_web_application_firewall - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_edge_healthchecks -########################################################################## -def handle_edge_healthchecks(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_HEALTHCHECKS", - 'csv_file': "edge_healthchecks.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'results_url ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'targets ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'vantage_point_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'port ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'timeout_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'interval_in_seconds ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'protocol ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'method ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'headers ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_edge_healthchecks - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_edge_dns_steering_policies -########################################################################## -def handle_edge_dns_steering_policies(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_DNS_STEERING_POL", - 'csv_file': "edge_dns_steering_policies.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'ttl ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'template ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'health_check_monitor_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_edge_dns_steering_policies - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_identity_compartments -########################################################################## -def handle_identity_compartments(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_IAM_COMPARTMENTS", - 'csv_file': "identity_compartments.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_accessible ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'inactive_status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_identity_compartments - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_security_bastions -########################################################################## -def handle_security_bastions(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_SECURITY_BASTIONS", - 'csv_file': "security_bastions.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'target_vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'target_subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'bastion_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_vcn_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_subnet_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_security_bastions - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_security_cloud_guard -########################################################################## -def handle_security_cloud_guard(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_SECURITY_CLOUDGUARD", - 'csv_file': "security_cloud_guards.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'target_resource_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'target_resource_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'target_resource_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'inherited_by_compartments ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'inherited_by_compartments_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_detector_recipes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_responder_recipes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_detector_rules ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'target_responder_rules ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'recipe_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_security_cloud_guard - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_paas_open_search -########################################################################## -def handle_paas_open_search(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_OPEN_SEARCH", - 'csv_file': "paas_opensearch.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'software_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'total_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'security_mode ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domains ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'opensearch_fqdn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'opensearch_private_ip ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'opendashboard_fqdn ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'opendashboard_private_ip ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'master_node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'master_node_host_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'master_node_host_bare_metal_shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'master_node_host_ocpu_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'master_node_host_memory_gb ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'data_node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'data_node_host_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'data_node_host_bare_metal_shape ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'data_node_host_ocpu_count ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'data_node_host_memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'data_node_storage_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'opendashboard_node_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'opendashboard_node_host_ocpu_count', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'opendashboard_node_host_memory_gb ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'vcn_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vcn_compartment_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'subnet_compartment_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'security_master_user_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'security_master_user_password_hash', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_updated ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_paas_open_search - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_security_kms_vaults -########################################################################## -def handle_security_kms_vaults(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_SECURITY_KMS_VAULTS", - 'csv_file': "security_kms_vaults.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'crypto_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'management_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'vault_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'key_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'key_version_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'software_key_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'software_key_version_count', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_security_kms_vaults - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_security_logging -########################################################################## -def handle_security_logging(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_SECURITY_LOGGINGS", - 'csv_file': "security_loggings.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': 'log_id', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'log_group ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_group_description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'retention_duration ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'archiving ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'source_service ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'source_category ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'source_sourcetype ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'source_resource ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'source_parameters ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_last_modified ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'log_group_time_last_modified', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'log_group_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'log_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "log_name") - except Exception as e: - raise Exception("\nError at procedure: handle_security_logging - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_limits -########################################################################## -def handle_limits(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_LIMITS", - 'csv_file': "limits.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'scope_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'limit_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'value ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'used ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'available ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_limits - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_quotas -########################################################################## -def handle_quotas(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_QUOTAS", - 'csv_file': "quotas.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'statements ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_quotas - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_monitor_agents -########################################################################## -def handle_monitor_agents(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_MONITOR_AGENTS", - 'csv_file': "monitor_agents.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'platform_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'platform_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'platform_version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'version ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_agent_auto_upgradable ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'host ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'plugin_list ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_last_heartbeat ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_status ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'install_key_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_monitor_agents - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_monitor_agents -########################################################################## -def handle_monitor_events(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_MONITOR_EVENTS", - 'csv_file': "monitor_events.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'condition ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'actions ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_monitor_events - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_monitor_alarms -########################################################################## -def handle_monitor_alarms(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_MONITOR_ALARMS", - 'csv_file': "monitor_alarms.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'namespace ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'query ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'severity ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'destinations ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'destinations_names ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'is_enabled ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'metric_compartment_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_monitor_alarms - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_monitor_notifications -########################################################################## -def handle_monitor_notifications(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_MONITOR_NOTIFICATIONS", - 'csv_file': "monitor_topics_subs.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'topic_compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_compartment_path ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_description ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_etag ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_api_endpoint ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'topic_defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'topic_id ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'protocol ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'endpoint ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'created_time ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'topic_time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json) - except Exception as e: - raise Exception("\nError at procedure: handle_monitor_notifications - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_monitor_db_management -########################################################################## -def handle_monitor_db_management(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_MONITOR_DB_MANAGEMENT", - 'csv_file': "monitor_db_managements.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'database_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'database_sub_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_cluster ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'parent_container_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'deployment_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'management_option ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'workload_type ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'db_system_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'storage_system_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_monitor_db_management - " + str(e)) - - -########################################################################## -# Check Table Structure for handle_compute_reservations -########################################################################## -def handle_compute_reservations(connection): - try: - - json = { - 'table_name': "OCI_SHOWOCI_COMPUTE_RESERVATIONS", - 'csv_file': "compute_reservations.csv", - 'items': [ - {'col': 'tenant_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'tenant_id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'id ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'y'}, - {'col': 'region_name ', 'csv': ' ', 'type': 'varchar2(100) ', 'pk': 'n'}, - {'col': 'compartment_name ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'compartment_path ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'name ', 'csv': 'display_name', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'lifecycle_state ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'availability_domain ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'is_default_reservation ', 'csv': ' ', 'type': 'varchar2(1000)', 'pk': 'n'}, - {'col': 'reserved_instance_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'used_instance_count ', 'csv': ' ', 'type': 'number ', 'pk': 'n'}, - {'col': 'shapes ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'shapes_capacity ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'freeform_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'defined_tags ', 'csv': ' ', 'type': 'varchar2(4000)', 'pk': 'n'}, - {'col': 'time_created ', 'csv': ' ', 'type': 'date ', 'pk': 'n'}, - {'col': 'extract_date ', 'csv': ' ', 'type': 'date ', 'pk': 'n'} - ] - } - handle_table(connection, json, "id", "name") - except Exception as e: - raise Exception("\nError at procedure: handle_compute_reservations - " + str(e)) - - -########################################################################## -# Check Table Structure for Compute -########################################################################## -def variable_generation(item, index): - if 'number' in item['type']: - return "to_number(:" + str(index) + ")" - if 'date' in item['type']: - return "to_date(:" + str(index) + ",'YYYY-MM-DD HH24:MI')" - return ":" + str(index) + " " - - -########################################################################## -# Check Table Structure for Compute -########################################################################## -def handle_old_structure(connection): - try: - - # check if tables exist - with connection.cursor() as cursor: - - # tables that need to drop - for table_name in ["OCI_SHOWOCI_DATABASE_SYSTEMS", - "OCI_SHOWOCI_DATABASE_SYSTEMS_TMP", - "OCI_SHOWOCI_SECURITY_CLOUDGUARD_TMP", - "OCI_SHOWOCI_SECURITY_CLOUDGUARD"]: - - sql = "select count(*) from user_tables where table_name = :table_name" - cursor.execute(sql, table_name=table_name) - val, = cursor.fetchone() - - # if table exist drop - if val > 0: - sql = "drop table " + table_name - cursor.execute(sql) - - except oracledb.DatabaseError as e: - print("\nDatabaseError at procedure: handle_table() - handle_old_structure " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError at Procedure: handle_table() - handle_old_structure " + str(e)) - - -########################################################################## -# Check Resource Table Structure -########################################################################## -def check_database_table_structure_resource(connection): - global cmd - verbose = cmd.verbose - - try: - # open cursor - with connection.cursor() as cursor: - - # check if OCI_USAGE table exist, if not create - sql = "select count(*) from user_tables where table_name = 'OCI_RESOURCES'" - cursor.execute(sql) - val, = cursor.fetchone() - - # if table not exist, create it - if val == 0: - if verbose: - print(" Table OCI_RESOURCES was not exist, creating") - - sql = """create table OCI_RESOURCES ( - RESOURCE_ID VARCHAR2(200) NOT NULL, - RESOURCE_NAME VARCHAR2(1000), - SOURCE_TENANT VARCHAR2(100), - SOURCE_TABLE VARCHAR2(100), - LAST_LOADED DATE, - CONSTRAINT OCI_RESOURCES_PK PRIMARY KEY (RESOURCE_ID) USING INDEX)""" - - cursor.execute(sql) - if verbose: - print(" Table OCI_RESOURCES created") - - except oracledb.DatabaseError as e: - print("\nError manipulating database at check_database_table_structure_resource() - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError manipulating database at check_database_table_structure_resource() - " + str(e)) - - -########################################################################## -# Check Table Structure for Compute -########################################################################## -def handle_table(connection, inputdata, resource_id="", resource_name="", resource_prefix=""): - global cmd - global file_num - process_location = "Start" - try: - start_time = time.time() - file_num += 1 - file_num_str = str(str(file_num) + ". ")[0:4] - - # Input Parameters from CMD - csv_location = cmd.csv_location - drop_before_load = cmd.drop - verbose = cmd.verbose - - # Parameters - csv_file = inputdata['csv_file'] - path_filename = csv_location + '_' + csv_file - table_name = inputdata['table_name'] - csv_table_name_lpad = table_name.ljust(40) + " " + csv_file.ljust(35) - tmp_table_name = table_name + "_TMP" - compute_sql_columns = str(',\n '.join(x['col'] + " " + x['type'] for x in inputdata['items'])) - merge_sql_columns = str(', '.join("a." + x['col'] + " = b." + x['col'] for x in inputdata['items'] if x['pk'] != "y")) - insert_def_sql_columns = str(', '.join(x['col'] for x in inputdata['items'])) - insert_val_sql_columns = str(', '.join("b." + x['col'] for x in inputdata['items'])) - primary_key = next((col for col in inputdata['items'] if col['pk'] == "y"), None)['col'] - insert_bulk_func = str(', '.join(variable_generation(x, index) for index, x in enumerate(inputdata['items'], start=1))) - - # Check if file exist - if not os.path.isfile(path_filename): - if verbose: - print("\nFile " + path_filename + " does not exist, skipping...") - else: - print(file_num_str + csv_table_name_lpad + " ---> Does not exist, skipping...") - return - - if verbose: - print("\nHandling " + table_name + " - " + path_filename) - else: - print(file_num_str + csv_table_name_lpad, end="") - - ################################################ - # Check Table Structure and create if not exist - ################################################ - process_location = "Checking Table Structure" - - # check if tables exist - with connection.cursor() as cursor: - - sql = "select count(*) from user_tables where table_name = :table_name" - cursor.execute(sql, table_name=table_name) - val, = cursor.fetchone() - - # if main table exist and drop before load - if val > 0 and drop_before_load: - if verbose: - print(" Table " + table_name + " exist, but drop flag enabled, dropping..") - else: - print(" Drop Flag, ", end="") - - sql = "drop table " + table_name - cursor.execute(sql) - val = 0 - - # if main table not exist, create it - if val == 0: - if verbose: - print(" Table " + table_name + " was not exist, creating, ", end="") - sql = "create table " + table_name + " ( " + compute_sql_columns + " ,CONSTRAINT " + table_name + "_PK PRIMARY KEY (" + primary_key + ") USING INDEX) " - cursor.execute(sql) - if verbose: - print("Table " + table_name + " created") - - # check if temp table exist, if not create - sql = "select count(*) from user_tables where table_name = :table_name" - cursor.execute(sql, table_name=tmp_table_name) - val, = cursor.fetchone() - - # if temp table exist and drop before load - if val > 0 and drop_before_load: - if verbose: - print(" Table " + tmp_table_name + " exist, but drop flag enabled, dropping..") - sql = "drop table " + tmp_table_name - cursor.execute(sql) - val = 0 - - # if table not exist, create it - if val == 0: - if verbose: - print(" Table " + tmp_table_name + " was not exist, creating, ", end="") - sql = "create GLOBAL TEMPORARY TABLE " + tmp_table_name + " ( " + compute_sql_columns + " ) ON COMMIT PRESERVE ROWS " - cursor.execute(sql) - if verbose: - print("Table " + tmp_table_name + " created") - - ################################################ - # Load Data - ################################################ - num_rows = 0 - process_location = "Before Load Data" - - with open(path_filename, 'rt') as file_in: - csv_reader = csv.DictReader(file_in) - - # Adjust the batch size to meet memory and performance requirements for oracledb - batch_size = 5000 - array_size = 1000 - - sql = "INSERT INTO " + tmp_table_name + " (" - sql += insert_def_sql_columns - sql += ") VALUES ( " - sql += insert_bulk_func + ")" - - # insert bulk to database - with connection.cursor() as cursor: - - # Predefine the memory areas to match the table definition - cursor.setinputsizes(None, array_size) - process_location = "before CSV load" - - data = [] - for row in csv_reader: - rowarray = [] - for item in inputdata['items']: - column = str(item['csv']).strip() - if not column: - column = str(item['col']).strip() - limit_size = 16 if 'date' in item['type'] else 3999 - value = get_column_value_from_array(column, row, limit_size) - rowarray.append(value) - data.append(tuple(rowarray)) - num_rows += 1 - - # executemany every batch size - process_location = "before executemany" - if len(data) % batch_size == 0: - cursor.executemany(sql, data) - data = [] - - # if data exist final execute - if data: - cursor.executemany(sql, data) - - if verbose: - print(" Loading data to tmp table... Insert Completed, " + str(num_rows) + " Rows Inserted") - else: - print(" TMP = " + str(num_rows).ljust(7), end="") - - connection.commit() - - ################################################ - # Merge data from tmp to main table - ################################################ - process_location = "before Merge" - - with connection.cursor() as cursor: - - if verbose: - print(" Merging data to main table... ", end="") - - # run merge to oci_update_stats - sql = "merge into " + table_name + " a using " + tmp_table_name + " b " - sql += "on (a." + primary_key + " = b." + primary_key + ")" - sql += "when matched then update set " - sql += merge_sql_columns - sql += "when not matched then insert (" - sql += insert_def_sql_columns - sql += ") values (" - sql += insert_val_sql_columns + ")" - - cursor.execute(sql) - connection.commit() - - if verbose: - print("Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - else: - print(" Merged = " + str(cursor.rowcount).ljust(7), end="") - - if resource_id: - ################################################ - # Merge data from tmp to resource table - ################################################ - process_location = "before Resrouce Merge" - - with connection.cursor() as cursor: - - if verbose: - print(" Merging data to ocid table... ", end="") - - # run merge to oci_update_stats - sql = "merge into oci_resources a using " - sql += "(select distinct " + resource_id + " as id, '" + resource_prefix + "'||" + resource_name + " as name, " - sql += "'" + table_name + "' as table_name, TENANT_NAME from " + tmp_table_name + ") b " - sql += """on (a.resource_id = b.id) - when matched then update set - a.RESOURCE_NAME = b.NAME, - a.SOURCE_TABLE = b.TABLE_NAME, - a.SOURCE_TENANT = b.TENANT_NAME, - a.LAST_LOADED = SYSDATE - when not matched then insert - (RESOURCE_ID,RESOURCE_NAME,SOURCE_TABLE,SOURCE_TENANT,LAST_LOADED) - values - (b.ID,b.NAME,b.TABLE_NAME,b.TENANT_NAME,SYSDATE)""" - - cursor.execute(sql) - connection.commit() - - if verbose: - print("Merge Completed, " + str(cursor.rowcount) + " rows merged" + get_time_elapsed(start_time)) - else: - print(" OCIDs = " + str(cursor.rowcount)) - - # if no resource id - else: - if not verbose: - print("") - - except oracledb.DatabaseError as e: - print("\nDatabaseError at procedure: handle_table() - " + process_location + " - " + str(e) + "\n") - raise SystemExit - - except Exception as e: - raise Exception("\nError at Procedure: handle_table() - " + process_location + " - " + str(e)) - - -########################################################################## -# Main -########################################################################## -def main_process(): - global cmd - cmd = set_parser_arguments() - if cmd is None: - exit() - - ############################################ - # Start - ############################################ - print_header("Running ShowOCI_CSV2ADW", 0) - print("Starts at " + get_current_date_time()) - print("Command Line : " + ' '.join(x for x in sys.argv[1:])) - print("Version : " + version) - - # Init the Oracle Thick Client Library in order to use sqlnet.ora and instant client - if cmd.usethick: - oracledb.init_oracle_client() - print("OracleDB : Thick Drivers") - else: - print("OracleDB : Thin Drivers") - - ############################################ - # connect to database - ############################################ - try: - print("\nConnecting to database " + cmd.dname, end="") - with oracledb.connect(user=cmd.duser, password=cmd.dpass, dsn=cmd.dname, config_dir=cmd.wallet_location, wallet_location=cmd.wallet_location, wallet_password=cmd.wallet_password) as connection: - - print("...Connected\n") - - # Checking structure of tables - handle_old_structure(connection) - check_database_table_structure_resource(connection) - - # Handling CSVs - handle_compute(connection) - handle_compute_reservations(connection) - handle_block_volume(connection) - handle_block_volume_backups(connection) - handle_database_all(connection) - handle_database(connection) - handle_database_backups(connection) - handle_database_exa_cs_vms(connection) - handle_database_exa_cc_vms(connection) - handle_database_exa_infra(connection) - handle_database_autonomous(connection) - handle_database_vm_bm(connection) - handle_database_goldengate_deployments(connection) - handle_database_nosql(connection) - handle_database_mysql(connection) - handle_file_storage(connection) - handle_object_storage(connection) - handle_load_balancer_listeners(connection) - handle_load_balancer_backendset(connection) - handle_paas_oac(connection) - handle_paas_oic(connection) - handle_paas_oce(connection) - handle_paas_visual_builder(connection) - handle_paas_devops(connection) - handle_paas_open_search(connection) - handle_containers(connection) - handle_containers_nodepools(connection) - handle_apigw(connection) - handle_network_vcn(connection) - handle_network_drg(connection) - handle_network_subnet(connection) - handle_network_subnet_private_ips(connection) - handle_network_security_groups(connection) - handle_network_security_list(connection) - handle_network_dhcp_options(connection) - handle_network_routes(connection) - handle_network_drg_virtual_circuit(connection) - handle_network_drg_ipsec(connection) - handle_network_firewall(connection) - handle_data_digital_assistance(connection) - handle_big_data_service(connection) - handle_data_flow(connection) - handle_data_catalog(connection) - handle_data_conn_registry(connection) - handle_data_science(connection) - handle_data_integration(connection) - handle_streams_queues(connection) - handle_edge_web_application_firewall(connection) - handle_edge_healthchecks(connection) - handle_edge_dns_steering_policies(connection) - handle_identity_compartments(connection) - handle_security_bastions(connection) - handle_security_cloud_guard(connection) - handle_security_kms_vaults(connection) - handle_security_logging(connection) - handle_limits(connection) - handle_quotas(connection) - handle_monitor_agents(connection) - handle_monitor_events(connection) - handle_monitor_db_management(connection) - handle_monitor_alarms(connection) - handle_monitor_notifications(connection) - - except oracledb.DatabaseError as e: - print("\nError manipulating database - " + str(e) + "\n") - - except Exception as e: - print("\nError appeared - " + str(e)) - - ############################################ - # print completed - ############################################ - print("\nCompleted at " + get_current_date_time()) - - -########################################################################## -# Execute Main Process -########################################################################## -main_process() diff --git a/src/oci/ai_document/models/component_model.py b/src/oci/ai_document/models/component_model.py index ec4d53d8d5..a2446e70cb 100644 --- a/src/oci/ai_document/models/component_model.py +++ b/src/oci/ai_document/models/component_model.py @@ -38,7 +38,7 @@ def __init__(self, **kwargs): @property def model_id(self): """ - **[Required]** Gets the model_id of this ComponentModel. + Gets the model_id of this ComponentModel. The `OCID`__ of active custom Key Value model that need to be composed. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm diff --git a/src/oci/ai_document/models/create_model_details.py b/src/oci/ai_document/models/create_model_details.py index 86fccb5cd5..7b10f5240e 100644 --- a/src/oci/ai_document/models/create_model_details.py +++ b/src/oci/ai_document/models/create_model_details.py @@ -304,7 +304,7 @@ def max_training_time_in_hours(self, max_training_time_in_hours): @property def training_dataset(self): """ - **[Required]** Gets the training_dataset of this CreateModelDetails. + Gets the training_dataset of this CreateModelDetails. :return: The training_dataset of this CreateModelDetails. :rtype: oci.ai_document.models.Dataset diff --git a/src/oci/budget/budget_client.py b/src/oci/budget/budget_client.py index d408a76dce..168a6b71f6 100644 --- a/src/oci/budget/budget_client.py +++ b/src/oci/budget/budget_client.py @@ -20,7 +20,7 @@ class BudgetClient(object): """ - Use the Budgets API to manage budgets and budget alerts. + Use the Budgets API to manage budgets and budget alerts. For more information, see [Budgets Overview](/iaas/Content/Billing/Concepts/budgetsoverview.htm). """ def __init__(self, config, **kwargs): @@ -135,7 +135,7 @@ def create_alert_rule(self, budget_id, create_alert_rule_details, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -191,6 +191,8 @@ def create_alert_rule(self, budget_id, create_alert_rule_details, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -243,7 +245,7 @@ def create_budget(self, create_budget_details, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -289,6 +291,8 @@ def create_budget(self, create_budget_details, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -342,7 +346,7 @@ def delete_alert_rule(self, budget_id, alert_rule_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -399,6 +403,8 @@ def delete_alert_rule(self, budget_id, alert_rule_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -446,7 +452,7 @@ def delete_budget(self, budget_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -502,6 +508,8 @@ def delete_budget(self, budget_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -545,7 +553,7 @@ def get_alert_rule(self, budget_id, alert_rule_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -600,6 +608,8 @@ def get_alert_rule(self, budget_id, alert_rule_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -642,7 +652,7 @@ def get_budget(self, budget_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -696,6 +706,8 @@ def get_budget(self, budget_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -766,7 +778,7 @@ def list_alert_rules(self, budget_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -857,6 +869,8 @@ def list_alert_rules(self, budget_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -895,8 +909,7 @@ def list_budgets(self, compartment_id, **kwargs): To list all budgets, set the targetType query parameter to ALL (for example: 'targetType=ALL'). - Additional targetTypes would be available in future releases. Clients should ignore new targetTypes, - or upgrade to the latest version of the client SDK to handle new targetTypes. + Clients should ignore new targetTypes, or upgrade to the latest version of the client SDK to handle new targetTypes. :param str compartment_id: (required) @@ -944,7 +957,7 @@ def list_budgets(self, compartment_id, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -1035,6 +1048,8 @@ def list_budgets(self, compartment_id, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -1090,7 +1105,7 @@ def update_alert_rule(self, budget_id, alert_rule_id, update_alert_rule_details, :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -1147,6 +1162,8 @@ def update_alert_rule(self, budget_id, alert_rule_id, update_alert_rule_details, operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): @@ -1201,7 +1218,7 @@ def update_budget(self, budget_id, update_budget_details, **kwargs): :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. - This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. @@ -1257,6 +1274,8 @@ def update_budget(self, budget_id, update_budget_details, **kwargs): operation_retry_strategy=kwargs.get('retry_strategy'), client_retry_strategy=self.retry_strategy ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY if retry_strategy: if not isinstance(retry_strategy, retry.NoneRetryStrategy): diff --git a/src/oci/budget/models/budget.py b/src/oci/budget/models/budget.py index 8ea34c61c6..bfe7221eb8 100644 --- a/src/oci/budget/models/budget.py +++ b/src/oci/budget/models/budget.py @@ -27,6 +27,10 @@ class Budget(object): #: This constant has a value of "MONTH" PROCESSING_PERIOD_TYPE_MONTH = "MONTH" + #: A constant which can be used with the processing_period_type property of a Budget. + #: This constant has a value of "SINGLE_USE" + PROCESSING_PERIOD_TYPE_SINGLE_USE = "SINGLE_USE" + #: A constant which can be used with the target_type property of a Budget. #: This constant has a value of "COMPARTMENT" TARGET_TYPE_COMPARTMENT = "COMPARTMENT" @@ -84,10 +88,18 @@ def __init__(self, **kwargs): :param processing_period_type: The value to assign to the processing_period_type property of this Budget. - Allowed values for this property are: "INVOICE", "MONTH", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type processing_period_type: str + :param start_date: + The value to assign to the start_date property of this Budget. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this Budget. + :type end_date: datetime + :param target_type: The value to assign to the target_type property of this Budget. Allowed values for this property are: "COMPARTMENT", "TAG", 'UNKNOWN_ENUM_VALUE'. @@ -151,6 +163,8 @@ def __init__(self, **kwargs): 'reset_period': 'str', 'budget_processing_period_start_offset': 'int', 'processing_period_type': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime', 'target_type': 'str', 'targets': 'list[str]', 'lifecycle_state': 'str', @@ -175,6 +189,8 @@ def __init__(self, **kwargs): 'reset_period': 'resetPeriod', 'budget_processing_period_start_offset': 'budgetProcessingPeriodStartOffset', 'processing_period_type': 'processingPeriodType', + 'start_date': 'startDate', + 'end_date': 'endDate', 'target_type': 'targetType', 'targets': 'targets', 'lifecycle_state': 'lifecycleState', @@ -198,6 +214,8 @@ def __init__(self, **kwargs): self._reset_period = None self._budget_processing_period_start_offset = None self._processing_period_type = None + self._start_date = None + self._end_date = None self._target_type = None self._targets = None self._lifecycle_state = None @@ -417,9 +435,9 @@ def budget_processing_period_start_offset(self, budget_processing_period_start_o def processing_period_type(self): """ Gets the processing_period_type of this Budget. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The budget processing period type. Valid values are INVOICE, MONTH, and SINGLE_USE. - Allowed values for this property are: "INVOICE", "MONTH", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -432,17 +450,65 @@ def processing_period_type(self): def processing_period_type(self, processing_period_type): """ Sets the processing_period_type of this Budget. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The budget processing period type. Valid values are INVOICE, MONTH, and SINGLE_USE. :param processing_period_type: The processing_period_type of this Budget. :type: str """ - allowed_values = ["INVOICE", "MONTH"] + allowed_values = ["INVOICE", "MONTH", "SINGLE_USE"] if not value_allowed_none_or_none_sentinel(processing_period_type, allowed_values): processing_period_type = 'UNKNOWN_ENUM_VALUE' self._processing_period_type = processing_period_type + @property + def start_date(self): + """ + Gets the start_date of this Budget. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The start_date of this Budget. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this Budget. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param start_date: The start_date of this Budget. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this Budget. + The time when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The end_date of this Budget. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this Budget. + The time when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param end_date: The end_date of this Budget. + :type: datetime + """ + self._end_date = end_date + @property def target_type(self): """ diff --git a/src/oci/budget/models/budget_summary.py b/src/oci/budget/models/budget_summary.py index 962f78c3d2..cdadb3f9c5 100644 --- a/src/oci/budget/models/budget_summary.py +++ b/src/oci/budget/models/budget_summary.py @@ -27,6 +27,10 @@ class BudgetSummary(object): #: This constant has a value of "MONTH" PROCESSING_PERIOD_TYPE_MONTH = "MONTH" + #: A constant which can be used with the processing_period_type property of a BudgetSummary. + #: This constant has a value of "SINGLE_USE" + PROCESSING_PERIOD_TYPE_SINGLE_USE = "SINGLE_USE" + #: A constant which can be used with the target_type property of a BudgetSummary. #: This constant has a value of "COMPARTMENT" TARGET_TYPE_COMPARTMENT = "COMPARTMENT" @@ -84,10 +88,18 @@ def __init__(self, **kwargs): :param processing_period_type: The value to assign to the processing_period_type property of this BudgetSummary. - Allowed values for this property are: "INVOICE", "MONTH", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type processing_period_type: str + :param start_date: + The value to assign to the start_date property of this BudgetSummary. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this BudgetSummary. + :type end_date: datetime + :param target_type: The value to assign to the target_type property of this BudgetSummary. Allowed values for this property are: "COMPARTMENT", "TAG", 'UNKNOWN_ENUM_VALUE'. @@ -151,6 +163,8 @@ def __init__(self, **kwargs): 'reset_period': 'str', 'budget_processing_period_start_offset': 'int', 'processing_period_type': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime', 'target_type': 'str', 'targets': 'list[str]', 'lifecycle_state': 'str', @@ -175,6 +189,8 @@ def __init__(self, **kwargs): 'reset_period': 'resetPeriod', 'budget_processing_period_start_offset': 'budgetProcessingPeriodStartOffset', 'processing_period_type': 'processingPeriodType', + 'start_date': 'startDate', + 'end_date': 'endDate', 'target_type': 'targetType', 'targets': 'targets', 'lifecycle_state': 'lifecycleState', @@ -198,6 +214,8 @@ def __init__(self, **kwargs): self._reset_period = None self._budget_processing_period_start_offset = None self._processing_period_type = None + self._start_date = None + self._end_date = None self._target_type = None self._targets = None self._lifecycle_state = None @@ -417,9 +435,9 @@ def budget_processing_period_start_offset(self, budget_processing_period_start_o def processing_period_type(self): """ Gets the processing_period_type of this BudgetSummary. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. - Allowed values for this property are: "INVOICE", "MONTH", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -432,17 +450,65 @@ def processing_period_type(self): def processing_period_type(self, processing_period_type): """ Sets the processing_period_type of this BudgetSummary. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. :param processing_period_type: The processing_period_type of this BudgetSummary. :type: str """ - allowed_values = ["INVOICE", "MONTH"] + allowed_values = ["INVOICE", "MONTH", "SINGLE_USE"] if not value_allowed_none_or_none_sentinel(processing_period_type, allowed_values): processing_period_type = 'UNKNOWN_ENUM_VALUE' self._processing_period_type = processing_period_type + @property + def start_date(self): + """ + Gets the start_date of this BudgetSummary. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The start_date of this BudgetSummary. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this BudgetSummary. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param start_date: The start_date of this BudgetSummary. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this BudgetSummary. + The time when the one-time budget concludes. For example, - `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The end_date of this BudgetSummary. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this BudgetSummary. + The time when the one-time budget concludes. For example, - `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param end_date: The end_date of this BudgetSummary. + :type: datetime + """ + self._end_date = end_date + @property def target_type(self): """ diff --git a/src/oci/budget/models/create_budget_details.py b/src/oci/budget/models/create_budget_details.py index 1b086cd0ef..530639af44 100644 --- a/src/oci/budget/models/create_budget_details.py +++ b/src/oci/budget/models/create_budget_details.py @@ -34,6 +34,10 @@ class CreateBudgetDetails(object): #: This constant has a value of "MONTH" PROCESSING_PERIOD_TYPE_MONTH = "MONTH" + #: A constant which can be used with the processing_period_type property of a CreateBudgetDetails. + #: This constant has a value of "SINGLE_USE" + PROCESSING_PERIOD_TYPE_SINGLE_USE = "SINGLE_USE" + #: A constant which can be used with the target_type property of a CreateBudgetDetails. #: This constant has a value of "COMPARTMENT" TARGET_TYPE_COMPARTMENT = "COMPARTMENT" @@ -78,9 +82,17 @@ def __init__(self, **kwargs): :param processing_period_type: The value to assign to the processing_period_type property of this CreateBudgetDetails. - Allowed values for this property are: "INVOICE", "MONTH" + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE" :type processing_period_type: str + :param start_date: + The value to assign to the start_date property of this CreateBudgetDetails. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this CreateBudgetDetails. + :type end_date: datetime + :param target_type: The value to assign to the target_type property of this CreateBudgetDetails. Allowed values for this property are: "COMPARTMENT", "TAG" @@ -108,6 +120,8 @@ def __init__(self, **kwargs): 'reset_period': 'str', 'budget_processing_period_start_offset': 'int', 'processing_period_type': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime', 'target_type': 'str', 'targets': 'list[str]', 'freeform_tags': 'dict(str, str)', @@ -123,6 +137,8 @@ def __init__(self, **kwargs): 'reset_period': 'resetPeriod', 'budget_processing_period_start_offset': 'budgetProcessingPeriodStartOffset', 'processing_period_type': 'processingPeriodType', + 'start_date': 'startDate', + 'end_date': 'endDate', 'target_type': 'targetType', 'targets': 'targets', 'freeform_tags': 'freeformTags', @@ -137,6 +153,8 @@ def __init__(self, **kwargs): self._reset_period = None self._budget_processing_period_start_offset = None self._processing_period_type = None + self._start_date = None + self._end_date = None self._target_type = None self._targets = None self._freeform_tags = None @@ -322,9 +340,9 @@ def budget_processing_period_start_offset(self, budget_processing_period_start_o def processing_period_type(self): """ Gets the processing_period_type of this CreateBudgetDetails. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. - Allowed values for this property are: "INVOICE", "MONTH" + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE" :return: The processing_period_type of this CreateBudgetDetails. @@ -336,13 +354,13 @@ def processing_period_type(self): def processing_period_type(self, processing_period_type): """ Sets the processing_period_type of this CreateBudgetDetails. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. :param processing_period_type: The processing_period_type of this CreateBudgetDetails. :type: str """ - allowed_values = ["INVOICE", "MONTH"] + allowed_values = ["INVOICE", "MONTH", "SINGLE_USE"] if not value_allowed_none_or_none_sentinel(processing_period_type, allowed_values): raise ValueError( "Invalid value for `processing_period_type`, must be None or one of {0}" @@ -350,6 +368,54 @@ def processing_period_type(self, processing_period_type): ) self._processing_period_type = processing_period_type + @property + def start_date(self): + """ + Gets the start_date of this CreateBudgetDetails. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The start_date of this CreateBudgetDetails. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this CreateBudgetDetails. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param start_date: The start_date of this CreateBudgetDetails. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this CreateBudgetDetails. + The date when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The end_date of this CreateBudgetDetails. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this CreateBudgetDetails. + The date when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param end_date: The end_date of this CreateBudgetDetails. + :type: datetime + """ + self._end_date = end_date + @property def target_type(self): """ diff --git a/src/oci/budget/models/update_budget_details.py b/src/oci/budget/models/update_budget_details.py index b12bab601d..bdce97a1c2 100644 --- a/src/oci/budget/models/update_budget_details.py +++ b/src/oci/budget/models/update_budget_details.py @@ -23,6 +23,10 @@ class UpdateBudgetDetails(object): #: This constant has a value of "MONTH" PROCESSING_PERIOD_TYPE_MONTH = "MONTH" + #: A constant which can be used with the processing_period_type property of a UpdateBudgetDetails. + #: This constant has a value of "SINGLE_USE" + PROCESSING_PERIOD_TYPE_SINGLE_USE = "SINGLE_USE" + #: A constant which can be used with the reset_period property of a UpdateBudgetDetails. #: This constant has a value of "MONTHLY" RESET_PERIOD_MONTHLY = "MONTHLY" @@ -50,9 +54,17 @@ def __init__(self, **kwargs): :param processing_period_type: The value to assign to the processing_period_type property of this UpdateBudgetDetails. - Allowed values for this property are: "INVOICE", "MONTH" + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE" :type processing_period_type: str + :param start_date: + The value to assign to the start_date property of this UpdateBudgetDetails. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this UpdateBudgetDetails. + :type end_date: datetime + :param reset_period: The value to assign to the reset_period property of this UpdateBudgetDetails. Allowed values for this property are: "MONTHLY" @@ -73,6 +85,8 @@ def __init__(self, **kwargs): 'amount': 'float', 'budget_processing_period_start_offset': 'int', 'processing_period_type': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime', 'reset_period': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' @@ -84,6 +98,8 @@ def __init__(self, **kwargs): 'amount': 'amount', 'budget_processing_period_start_offset': 'budgetProcessingPeriodStartOffset', 'processing_period_type': 'processingPeriodType', + 'start_date': 'startDate', + 'end_date': 'endDate', 'reset_period': 'resetPeriod', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' @@ -94,6 +110,8 @@ def __init__(self, **kwargs): self._amount = None self._budget_processing_period_start_offset = None self._processing_period_type = None + self._start_date = None + self._end_date = None self._reset_period = None self._freeform_tags = None self._defined_tags = None @@ -198,9 +216,9 @@ def budget_processing_period_start_offset(self, budget_processing_period_start_o def processing_period_type(self): """ Gets the processing_period_type of this UpdateBudgetDetails. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. - Allowed values for this property are: "INVOICE", "MONTH" + Allowed values for this property are: "INVOICE", "MONTH", "SINGLE_USE" :return: The processing_period_type of this UpdateBudgetDetails. @@ -212,13 +230,13 @@ def processing_period_type(self): def processing_period_type(self, processing_period_type): """ Sets the processing_period_type of this UpdateBudgetDetails. - The type of the budget processing period. Valid values are INVOICE and MONTH. + The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE. :param processing_period_type: The processing_period_type of this UpdateBudgetDetails. :type: str """ - allowed_values = ["INVOICE", "MONTH"] + allowed_values = ["INVOICE", "MONTH", "SINGLE_USE"] if not value_allowed_none_or_none_sentinel(processing_period_type, allowed_values): raise ValueError( "Invalid value for `processing_period_type`, must be None or one of {0}" @@ -226,6 +244,54 @@ def processing_period_type(self, processing_period_type): ) self._processing_period_type = processing_period_type + @property + def start_date(self): + """ + Gets the start_date of this UpdateBudgetDetails. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The start_date of this UpdateBudgetDetails. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this UpdateBudgetDetails. + The date when the one-time budget begins. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param start_date: The start_date of this UpdateBudgetDetails. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this UpdateBudgetDetails. + The time when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :return: The end_date of this UpdateBudgetDetails. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this UpdateBudgetDetails. + The time when the one-time budget concludes. For example, `2023-03-23`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time. + + + :param end_date: The end_date of this UpdateBudgetDetails. + :type: datetime + """ + self._end_date = end_date + @property def reset_period(self): """ diff --git a/src/oci/core/models/create_instance_pool_details.py b/src/oci/core/models/create_instance_pool_details.py index da554a81ae..4148ef3e8b 100644 --- a/src/oci/core/models/create_instance_pool_details.py +++ b/src/oci/core/models/create_instance_pool_details.py @@ -52,6 +52,14 @@ def __init__(self, **kwargs): The value to assign to the load_balancers property of this CreateInstancePoolDetails. :type load_balancers: list[oci.core.models.AttachLoadBalancerDetails] + :param instance_display_name_formatter: + The value to assign to the instance_display_name_formatter property of this CreateInstancePoolDetails. + :type instance_display_name_formatter: str + + :param instance_hostname_formatter: + The value to assign to the instance_hostname_formatter property of this CreateInstancePoolDetails. + :type instance_hostname_formatter: str + """ self.swagger_types = { 'compartment_id': 'str', @@ -61,7 +69,9 @@ def __init__(self, **kwargs): 'instance_configuration_id': 'str', 'placement_configurations': 'list[CreateInstancePoolPlacementConfigurationDetails]', 'size': 'int', - 'load_balancers': 'list[AttachLoadBalancerDetails]' + 'load_balancers': 'list[AttachLoadBalancerDetails]', + 'instance_display_name_formatter': 'str', + 'instance_hostname_formatter': 'str' } self.attribute_map = { @@ -72,7 +82,9 @@ def __init__(self, **kwargs): 'instance_configuration_id': 'instanceConfigurationId', 'placement_configurations': 'placementConfigurations', 'size': 'size', - 'load_balancers': 'loadBalancers' + 'load_balancers': 'loadBalancers', + 'instance_display_name_formatter': 'instanceDisplayNameFormatter', + 'instance_hostname_formatter': 'instanceHostnameFormatter' } self._compartment_id = None @@ -83,6 +95,8 @@ def __init__(self, **kwargs): self._placement_configurations = None self._size = None self._load_balancers = None + self._instance_display_name_formatter = None + self._instance_hostname_formatter = None @property def compartment_id(self): @@ -318,6 +332,58 @@ def load_balancers(self, load_balancers): """ self._load_balancers = load_balancers + @property + def instance_display_name_formatter(self): + """ + Gets the instance_display_name_formatter of this CreateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :return: The instance_display_name_formatter of this CreateInstancePoolDetails. + :rtype: str + """ + return self._instance_display_name_formatter + + @instance_display_name_formatter.setter + def instance_display_name_formatter(self, instance_display_name_formatter): + """ + Sets the instance_display_name_formatter of this CreateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :param instance_display_name_formatter: The instance_display_name_formatter of this CreateInstancePoolDetails. + :type: str + """ + self._instance_display_name_formatter = instance_display_name_formatter + + @property + def instance_hostname_formatter(self): + """ + Gets the instance_hostname_formatter of this CreateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :return: The instance_hostname_formatter of this CreateInstancePoolDetails. + :rtype: str + """ + return self._instance_hostname_formatter + + @instance_hostname_formatter.setter + def instance_hostname_formatter(self, instance_hostname_formatter): + """ + Sets the instance_hostname_formatter of this CreateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :param instance_hostname_formatter: The instance_hostname_formatter of this CreateInstancePoolDetails. + :type: str + """ + self._instance_hostname_formatter = instance_hostname_formatter + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/core/models/instance_pool.py b/src/oci/core/models/instance_pool.py index 092916daef..47afc24c36 100644 --- a/src/oci/core/models/instance_pool.py +++ b/src/oci/core/models/instance_pool.py @@ -102,6 +102,14 @@ def __init__(self, **kwargs): The value to assign to the load_balancers property of this InstancePool. :type load_balancers: list[oci.core.models.InstancePoolLoadBalancerAttachment] + :param instance_display_name_formatter: + The value to assign to the instance_display_name_formatter property of this InstancePool. + :type instance_display_name_formatter: str + + :param instance_hostname_formatter: + The value to assign to the instance_hostname_formatter property of this InstancePool. + :type instance_hostname_formatter: str + """ self.swagger_types = { 'id': 'str', @@ -114,7 +122,9 @@ def __init__(self, **kwargs): 'placement_configurations': 'list[InstancePoolPlacementConfiguration]', 'size': 'int', 'time_created': 'datetime', - 'load_balancers': 'list[InstancePoolLoadBalancerAttachment]' + 'load_balancers': 'list[InstancePoolLoadBalancerAttachment]', + 'instance_display_name_formatter': 'str', + 'instance_hostname_formatter': 'str' } self.attribute_map = { @@ -128,7 +138,9 @@ def __init__(self, **kwargs): 'placement_configurations': 'placementConfigurations', 'size': 'size', 'time_created': 'timeCreated', - 'load_balancers': 'loadBalancers' + 'load_balancers': 'loadBalancers', + 'instance_display_name_formatter': 'instanceDisplayNameFormatter', + 'instance_hostname_formatter': 'instanceHostnameFormatter' } self._id = None @@ -142,6 +154,8 @@ def __init__(self, **kwargs): self._size = None self._time_created = None self._load_balancers = None + self._instance_display_name_formatter = None + self._instance_hostname_formatter = None @property def id(self): @@ -457,6 +471,58 @@ def load_balancers(self, load_balancers): """ self._load_balancers = load_balancers + @property + def instance_display_name_formatter(self): + """ + Gets the instance_display_name_formatter of this InstancePool. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :return: The instance_display_name_formatter of this InstancePool. + :rtype: str + """ + return self._instance_display_name_formatter + + @instance_display_name_formatter.setter + def instance_display_name_formatter(self, instance_display_name_formatter): + """ + Sets the instance_display_name_formatter of this InstancePool. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :param instance_display_name_formatter: The instance_display_name_formatter of this InstancePool. + :type: str + """ + self._instance_display_name_formatter = instance_display_name_formatter + + @property + def instance_hostname_formatter(self): + """ + Gets the instance_hostname_formatter of this InstancePool. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :return: The instance_hostname_formatter of this InstancePool. + :rtype: str + """ + return self._instance_hostname_formatter + + @instance_hostname_formatter.setter + def instance_hostname_formatter(self, instance_hostname_formatter): + """ + Sets the instance_hostname_formatter of this InstancePool. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :param instance_hostname_formatter: The instance_hostname_formatter of this InstancePool. + :type: str + """ + self._instance_hostname_formatter = instance_hostname_formatter + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/core/models/update_instance_pool_details.py b/src/oci/core/models/update_instance_pool_details.py index b541189d58..337d0a0c5d 100644 --- a/src/oci/core/models/update_instance_pool_details.py +++ b/src/oci/core/models/update_instance_pool_details.py @@ -44,6 +44,14 @@ def __init__(self, **kwargs): The value to assign to the size property of this UpdateInstancePoolDetails. :type size: int + :param instance_display_name_formatter: + The value to assign to the instance_display_name_formatter property of this UpdateInstancePoolDetails. + :type instance_display_name_formatter: str + + :param instance_hostname_formatter: + The value to assign to the instance_hostname_formatter property of this UpdateInstancePoolDetails. + :type instance_hostname_formatter: str + """ self.swagger_types = { 'defined_tags': 'dict(str, dict(str, object))', @@ -51,7 +59,9 @@ def __init__(self, **kwargs): 'freeform_tags': 'dict(str, str)', 'instance_configuration_id': 'str', 'placement_configurations': 'list[UpdateInstancePoolPlacementConfigurationDetails]', - 'size': 'int' + 'size': 'int', + 'instance_display_name_formatter': 'str', + 'instance_hostname_formatter': 'str' } self.attribute_map = { @@ -60,7 +70,9 @@ def __init__(self, **kwargs): 'freeform_tags': 'freeformTags', 'instance_configuration_id': 'instanceConfigurationId', 'placement_configurations': 'placementConfigurations', - 'size': 'size' + 'size': 'size', + 'instance_display_name_formatter': 'instanceDisplayNameFormatter', + 'instance_hostname_formatter': 'instanceHostnameFormatter' } self._defined_tags = None @@ -69,6 +81,8 @@ def __init__(self, **kwargs): self._instance_configuration_id = None self._placement_configurations = None self._size = None + self._instance_display_name_formatter = None + self._instance_hostname_formatter = None @property def defined_tags(self): @@ -260,6 +274,58 @@ def size(self, size): """ self._size = size + @property + def instance_display_name_formatter(self): + """ + Gets the instance_display_name_formatter of this UpdateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :return: The instance_display_name_formatter of this UpdateInstancePoolDetails. + :rtype: str + """ + return self._instance_display_name_formatter + + @instance_display_name_formatter.setter + def instance_display_name_formatter(self, instance_display_name_formatter): + """ + Sets the instance_display_name_formatter of this UpdateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. + The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format + + + :param instance_display_name_formatter: The instance_display_name_formatter of this UpdateInstancePoolDetails. + :type: str + """ + self._instance_display_name_formatter = instance_display_name_formatter + + @property + def instance_hostname_formatter(self): + """ + Gets the instance_hostname_formatter of this UpdateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :return: The instance_hostname_formatter of this UpdateInstancePoolDetails. + :rtype: str + """ + return self._instance_hostname_formatter + + @instance_hostname_formatter.setter + def instance_hostname_formatter(self, instance_hostname_formatter): + """ + Sets the instance_hostname_formatter of this UpdateInstancePoolDetails. + A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. + The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format + + + :param instance_hostname_formatter: The instance_hostname_formatter of this UpdateInstancePoolDetails. + :type: str + """ + self._instance_hostname_formatter = instance_hostname_formatter + def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/golden_gate/golden_gate_client.py b/src/oci/golden_gate/golden_gate_client.py index 757ad53923..0675177652 100644 --- a/src/oci/golden_gate/golden_gate_client.py +++ b/src/oci/golden_gate/golden_gate_client.py @@ -951,6 +951,124 @@ def collect_deployment_diagnostic(self, deployment_id, collect_deployment_diagno api_reference_link=api_reference_link, required_arguments=required_arguments) + def copy_deployment_backup(self, deployment_backup_id, copy_deployment_backup_details, **kwargs): + """ + Creates a copy of a Deployment Backup. + + + :param str deployment_backup_id: (required) + A unique DeploymentBackup identifier. + + :param oci.golden_gate.models.CopyDeploymentBackupDetails copy_deployment_backup_details: (required) + A placeholder for any additional metadata to describe the copy of a Deployment Backup. + + :param str if_match: (optional) + For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + `if-match` parameter to the value of the etag from a previous GET or POST response for that + resource. The resource is updated or deleted only if the etag you provide matches the + resource's current etag value. + + :param str opc_retry_token: (optional) + A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, + without the risk of executing that same action again. Retry tokens expire after 24 hours but can be + invalidated before then due to conflicting operations. For example, if a resource was deleted and purged + from the system, then a retry of the original creation request is rejected. + + :param str opc_request_id: (optional) + The client request ID for tracing. + + :param obj retry_strategy: (optional) + A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. + + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. + The specifics of the default retry strategy are described `here `__. + + To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. + + :param bool allow_control_chars: (optional) + allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. + By default, the response will not allow control characters in strings + + :return: A :class:`~oci.response.Response` object with data of type None + :rtype: :class:`~oci.response.Response` + + :example: + Click `here `__ to see an example of how to use copy_deployment_backup API. + """ + # Required path and query arguments. These are in camelCase to replace values in service endpoints. + required_arguments = ['deploymentBackupId'] + resource_path = "/deploymentBackups/{deploymentBackupId}/actions/copyToBucket" + method = "POST" + operation_name = "copy_deployment_backup" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/CopyDeploymentBackup" + + # Don't accept unknown kwargs + expected_kwargs = [ + "allow_control_chars", + "retry_strategy", + "if_match", + "opc_retry_token", + "opc_request_id" + ] + extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "copy_deployment_backup got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "deploymentBackupId": deployment_backup_id + } + + path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing} + + for (k, v) in six.iteritems(path_params): + if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): + raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "if-match": kwargs.get("if_match", missing), + "opc-retry-token": kwargs.get("opc_retry_token", missing), + "opc-request-id": kwargs.get("opc_request_id", missing) + } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} + + retry_strategy = self.base_client.get_preferred_retry_strategy( + operation_retry_strategy=kwargs.get('retry_strategy'), + client_retry_strategy=self.retry_strategy + ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY + + if retry_strategy: + if not isinstance(retry_strategy, retry.NoneRetryStrategy): + self.base_client.add_opc_retry_token_if_needed(header_params) + self.base_client.add_opc_client_retries_header(header_params) + retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback) + return retry_strategy.make_retrying_call( + self.base_client.call_api, + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + body=copy_deployment_backup_details, + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + header_params=header_params, + body=copy_deployment_backup_details, + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + def create_connection(self, create_connection_details, **kwargs): """ Creates a new Connection. diff --git a/src/oci/golden_gate/golden_gate_client_composite_operations.py b/src/oci/golden_gate/golden_gate_client_composite_operations.py index 32ea931fa1..96ed128435 100644 --- a/src/oci/golden_gate/golden_gate_client_composite_operations.py +++ b/src/oci/golden_gate/golden_gate_client_composite_operations.py @@ -232,6 +232,47 @@ def collect_deployment_diagnostic_and_wait_for_state(self, deployment_id, collec except Exception as e: raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def copy_deployment_backup_and_wait_for_state(self, deployment_backup_id, copy_deployment_backup_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): + """ + Calls :py:func:`~oci.golden_gate.GoldenGateClient.copy_deployment_backup` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest` + to enter the given state(s). + + :param str deployment_backup_id: (required) + A unique DeploymentBackup identifier. + + :param oci.golden_gate.models.CopyDeploymentBackupDetails copy_deployment_backup_details: (required) + A placeholder for any additional metadata to describe the copy of a Deployment Backup. + + :param list[str] wait_for_states: + An array of states to wait on. These should be valid values for :py:attr:`~oci.golden_gate.models.WorkRequest.status` + + :param dict operation_kwargs: + A dictionary of keyword arguments to pass to :py:func:`~oci.golden_gate.GoldenGateClient.copy_deployment_backup` + + :param dict waiter_kwargs: + A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds`` + as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait + """ + operation_result = self.client.copy_deployment_backup(deployment_backup_id, copy_deployment_backup_details, **operation_kwargs) + if not wait_for_states: + return operation_result + + lowered_wait_for_states = [w.lower() for w in wait_for_states] + wait_for_resource_id = operation_result.headers['opc-work-request-id'] + + try: + waiter_result = oci.wait_until( + self.client, + self.client.get_work_request(wait_for_resource_id), + evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states, + **waiter_kwargs + ) + result_to_return = waiter_result + + return result_to_return + except Exception as e: + raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e) + def create_connection_and_wait_for_state(self, create_connection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}): """ Calls :py:func:`~oci.golden_gate.GoldenGateClient.create_connection` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest` diff --git a/src/oci/golden_gate/models/__init__.py b/src/oci/golden_gate/models/__init__.py index 911d98b0b2..7d20eeb851 100644 --- a/src/oci/golden_gate/models/__init__.py +++ b/src/oci/golden_gate/models/__init__.py @@ -25,6 +25,7 @@ from .connection_assignment_summary import ConnectionAssignmentSummary from .connection_collection import ConnectionCollection from .connection_summary import ConnectionSummary +from .copy_deployment_backup_details import CopyDeploymentBackupDetails from .create_amazon_s3_connection_details import CreateAmazonS3ConnectionDetails from .create_azure_data_lake_storage_connection_details import CreateAzureDataLakeStorageConnectionDetails from .create_azure_synapse_connection_details import CreateAzureSynapseConnectionDetails @@ -178,6 +179,7 @@ "ConnectionAssignmentSummary": ConnectionAssignmentSummary, "ConnectionCollection": ConnectionCollection, "ConnectionSummary": ConnectionSummary, + "CopyDeploymentBackupDetails": CopyDeploymentBackupDetails, "CreateAmazonS3ConnectionDetails": CreateAmazonS3ConnectionDetails, "CreateAzureDataLakeStorageConnectionDetails": CreateAzureDataLakeStorageConnectionDetails, "CreateAzureSynapseConnectionDetails": CreateAzureSynapseConnectionDetails, diff --git a/src/oci/golden_gate/models/copy_deployment_backup_details.py b/src/oci/golden_gate/models/copy_deployment_backup_details.py new file mode 100644 index 0000000000..dd6555c581 --- /dev/null +++ b/src/oci/golden_gate/models/copy_deployment_backup_details.py @@ -0,0 +1,175 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CopyDeploymentBackupDetails(object): + """ + The information about the copy for a Deployment Backup. + """ + + def __init__(self, **kwargs): + """ + Initializes a new CopyDeploymentBackupDetails object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param namespace_name: + The value to assign to the namespace_name property of this CopyDeploymentBackupDetails. + :type namespace_name: str + + :param bucket_name: + The value to assign to the bucket_name property of this CopyDeploymentBackupDetails. + :type bucket_name: str + + :param freeform_tags: + The value to assign to the freeform_tags property of this CopyDeploymentBackupDetails. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CopyDeploymentBackupDetails. + :type defined_tags: dict(str, dict(str, object)) + + """ + self.swagger_types = { + 'namespace_name': 'str', + 'bucket_name': 'str', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' + } + + self.attribute_map = { + 'namespace_name': 'namespaceName', + 'bucket_name': 'bucketName', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' + } + + self._namespace_name = None + self._bucket_name = None + self._freeform_tags = None + self._defined_tags = None + + @property + def namespace_name(self): + """ + **[Required]** Gets the namespace_name of this CopyDeploymentBackupDetails. + Name of namespace that serves as a container for all of your buckets + + + :return: The namespace_name of this CopyDeploymentBackupDetails. + :rtype: str + """ + return self._namespace_name + + @namespace_name.setter + def namespace_name(self, namespace_name): + """ + Sets the namespace_name of this CopyDeploymentBackupDetails. + Name of namespace that serves as a container for all of your buckets + + + :param namespace_name: The namespace_name of this CopyDeploymentBackupDetails. + :type: str + """ + self._namespace_name = namespace_name + + @property + def bucket_name(self): + """ + **[Required]** Gets the bucket_name of this CopyDeploymentBackupDetails. + Name of the bucket where the object is to be uploaded in the object storage + + + :return: The bucket_name of this CopyDeploymentBackupDetails. + :rtype: str + """ + return self._bucket_name + + @bucket_name.setter + def bucket_name(self, bucket_name): + """ + Sets the bucket_name of this CopyDeploymentBackupDetails. + Name of the bucket where the object is to be uploaded in the object storage + + + :param bucket_name: The bucket_name of this CopyDeploymentBackupDetails. + :type: str + """ + self._bucket_name = bucket_name + + @property + def freeform_tags(self): + """ + Gets the freeform_tags of this CopyDeploymentBackupDetails. + A simple key-value pair that is applied without any predefined name, type, or scope. Exists + for cross-compatibility only. + + Example: `{\"bar-key\": \"value\"}` + + + :return: The freeform_tags of this CopyDeploymentBackupDetails. + :rtype: dict(str, str) + """ + return self._freeform_tags + + @freeform_tags.setter + def freeform_tags(self, freeform_tags): + """ + Sets the freeform_tags of this CopyDeploymentBackupDetails. + A simple key-value pair that is applied without any predefined name, type, or scope. Exists + for cross-compatibility only. + + Example: `{\"bar-key\": \"value\"}` + + + :param freeform_tags: The freeform_tags of this CopyDeploymentBackupDetails. + :type: dict(str, str) + """ + self._freeform_tags = freeform_tags + + @property + def defined_tags(self): + """ + Gets the defined_tags of this CopyDeploymentBackupDetails. + Tags defined for this resource. Each key is predefined and scoped to a namespace. + + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` + + + :return: The defined_tags of this CopyDeploymentBackupDetails. + :rtype: dict(str, dict(str, object)) + """ + return self._defined_tags + + @defined_tags.setter + def defined_tags(self, defined_tags): + """ + Sets the defined_tags of this CopyDeploymentBackupDetails. + Tags defined for this resource. Each key is predefined and scoped to a namespace. + + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` + + + :param defined_tags: The defined_tags of this CopyDeploymentBackupDetails. + :type: dict(str, dict(str, object)) + """ + self._defined_tags = defined_tags + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/golden_gate/models/work_request.py b/src/oci/golden_gate/models/work_request.py index 8441c6dbac..db99716d5d 100644 --- a/src/oci/golden_gate/models/work_request.py +++ b/src/oci/golden_gate/models/work_request.py @@ -78,6 +78,10 @@ class WorkRequest(object): #: This constant has a value of "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL" OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL = "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL" + #: A constant which can be used with the operation_type property of a WorkRequest. + #: This constant has a value of "GOLDENGATE_DEPLOYMENT_BACKUP_COPY" + OPERATION_TYPE_GOLDENGATE_DEPLOYMENT_BACKUP_COPY = "GOLDENGATE_DEPLOYMENT_BACKUP_COPY" + #: A constant which can be used with the operation_type property of a WorkRequest. #: This constant has a value of "GOLDENGATE_CONNECTION_CREATE" OPERATION_TYPE_GOLDENGATE_CONNECTION_CREATE = "GOLDENGATE_CONNECTION_CREATE" @@ -153,7 +157,7 @@ def __init__(self, **kwargs): :param operation_type: The value to assign to the operation_type property of this WorkRequest. - Allowed values for this property are: "GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_DEPLOYMENT_BACKUP_COPY", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str @@ -232,7 +236,7 @@ def operation_type(self): **[Required]** Gets the operation_type of this WorkRequest. The work request's operation type. - Allowed values for this property are: "GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE", 'UNKNOWN_ENUM_VALUE'. + Allowed values for this property are: "GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_DEPLOYMENT_BACKUP_COPY", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -251,7 +255,7 @@ def operation_type(self, operation_type): :param operation_type: The operation_type of this WorkRequest. :type: str """ - allowed_values = ["GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE"] + allowed_values = ["GOLDENGATE_DATABASE_REGISTRATION_CREATE", "GOLDENGATE_DATABASE_REGISTRATION_UPDATE", "GOLDENGATE_DATABASE_REGISTRATION_DELETE", "GOLDENGATE_DATABASE_REGISTRATION_MOVE", "GOLDENGATE_DEPLOYMENT_CREATE", "GOLDENGATE_DEPLOYMENT_UPDATE", "GOLDENGATE_DEPLOYMENT_DELETE", "GOLDENGATE_DEPLOYMENT_MOVE", "GOLDENGATE_DEPLOYMENT_RESTORE", "GOLDENGATE_DEPLOYMENT_START", "GOLDENGATE_DEPLOYMENT_STOP", "GOLDENGATE_DEPLOYMENT_UPGRADE", "GOLDENGATE_DEPLOYMENT_BACKUP_CREATE", "GOLDENGATE_DEPLOYMENT_BACKUP_DELETE", "GOLDENGATE_DEPLOYMENT_BACKUP_CANCEL", "GOLDENGATE_DEPLOYMENT_BACKUP_COPY", "GOLDENGATE_CONNECTION_CREATE", "GOLDENGATE_CONNECTION_UPDATE", "GOLDENGATE_CONNECTION_DELETE", "GOLDENGATE_CONNECTION_MOVE", "GOLDENGATE_CONNECTION_ASSIGNMENT_CREATE", "GOLDENGATE_CONNECTION_ASSIGMNENT_DELETE", "GOLDENGATE_DEPLOYMENT_DIAGNOSTIC_COLLECT", "GOLDENGATE_DEPLOYMENT_WALLET_EXPORT", "GOLDENGATE_DEPLOYMENT_WALLET_IMPORT", "GOLDENGATE_DEPLOYMENT_UPGRADE_UPGRADE", "GOLDENGATE_DEPLOYMENT_UPGRADE_ROLLBACK", "GOLDENGATE_DEPLOYMENT_UPGRADE_SNOOZE"] if not value_allowed_none_or_none_sentinel(operation_type, allowed_values): operation_type = 'UNKNOWN_ENUM_VALUE' self._operation_type = operation_type diff --git a/src/oci/tenant_manager_control_plane/__init__.py b/src/oci/tenant_manager_control_plane/__init__.py index 39a98fe23d..76445e831d 100644 --- a/src/oci/tenant_manager_control_plane/__init__.py +++ b/src/oci/tenant_manager_control_plane/__init__.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import diff --git a/src/oci/tenant_manager_control_plane/domain_client.py b/src/oci/tenant_manager_control_plane/domain_client.py index 7409f66128..ea288da832 100644 --- a/src/oci/tenant_manager_control_plane/domain_client.py +++ b/src/oci/tenant_manager_control_plane/domain_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -248,7 +248,7 @@ def delete_domain(self, domain_id, **kwargs): resource_path = "/domains/{domainId}" method = "DELETE" operation_name = "delete_domain" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/DeleteDomain" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/DeleteDomain" # Don't accept unknown kwargs expected_kwargs = [ @@ -344,7 +344,7 @@ def get_domain(self, domain_id, **kwargs): resource_path = "/domains/{domainId}" method = "GET" operation_name = "get_domain" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/GetDomain" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/GetDomain" # Don't accept unknown kwargs expected_kwargs = [ @@ -412,7 +412,7 @@ def list_domains(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str domain_id: (optional) The domain OCID. @@ -475,7 +475,7 @@ def list_domains(self, compartment_id, **kwargs): resource_path = "/domains" method = "GET" operation_name = "list_domains" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/ListDomains" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/ListDomains" # Don't accept unknown kwargs expected_kwargs = [ @@ -620,7 +620,7 @@ def update_domain(self, domain_id, update_domain_details, **kwargs): resource_path = "/domains/{domainId}" method = "PUT" operation_name = "update_domain" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/UpdateDomain" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/UpdateDomain" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/domain_client_composite_operations.py b/src/oci/tenant_manager_control_plane/domain_client_composite_operations.py index 71b3b576b0..a0e58f9bc6 100644 --- a/src/oci/tenant_manager_control_plane/domain_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/domain_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/domain_governance_client.py b/src/oci/tenant_manager_control_plane/domain_governance_client.py index d4e7a69da9..aedab73f34 100644 --- a/src/oci/tenant_manager_control_plane/domain_governance_client.py +++ b/src/oci/tenant_manager_control_plane/domain_governance_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -152,7 +152,7 @@ def create_domain_governance(self, create_domain_governance_details, **kwargs): resource_path = "/domainGovernances" method = "POST" operation_name = "create_domain_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/CreateDomainGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/CreateDomainGovernance" # Don't accept unknown kwargs expected_kwargs = [ @@ -248,7 +248,7 @@ def delete_domain_governance(self, domain_governance_id, **kwargs): resource_path = "/domainGovernances/{domainGovernanceId}" method = "DELETE" operation_name = "delete_domain_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/DeleteDomainGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/DeleteDomainGovernance" # Don't accept unknown kwargs expected_kwargs = [ @@ -344,7 +344,7 @@ def get_domain_governance(self, domain_governance_id, **kwargs): resource_path = "/domainGovernances/{domainGovernanceId}" method = "GET" operation_name = "get_domain_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/GetDomainGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/GetDomainGovernance" # Don't accept unknown kwargs expected_kwargs = [ @@ -412,7 +412,7 @@ def list_domain_governances(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str domain_id: (optional) The domain OCID. @@ -473,7 +473,7 @@ def list_domain_governances(self, compartment_id, **kwargs): resource_path = "/domainGovernances" method = "GET" operation_name = "list_domain_governances" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/ListDomainGovernances" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/ListDomainGovernances" # Don't accept unknown kwargs expected_kwargs = [ @@ -611,7 +611,7 @@ def update_domain_governance(self, domain_governance_id, update_domain_governanc resource_path = "/domainGovernances/{domainGovernanceId}" method = "PUT" operation_name = "update_domain_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/UpdateDomainGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/UpdateDomainGovernance" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py b/src/oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py index eb733bca30..a9883702be 100644 --- a/src/oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/governance_client.py b/src/oci/tenant_manager_control_plane/governance_client.py index 4c5cd0121f..06e1858446 100644 --- a/src/oci/tenant_manager_control_plane/governance_client.py +++ b/src/oci/tenant_manager_control_plane/governance_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -162,7 +162,7 @@ def add_governance(self, organization_id, organization_tenancy_id, **kwargs): resource_path = "/organizations/{organizationId}/tenancies/{organizationTenancyId}/actions/addGovernance" method = "POST" operation_name = "add_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/AddGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/AddGovernance" # Don't accept unknown kwargs expected_kwargs = [ @@ -279,7 +279,7 @@ def remove_governance(self, organization_id, organization_tenancy_id, **kwargs): resource_path = "/organizations/{organizationId}/tenancies/{organizationTenancyId}/actions/removeGovernance" method = "POST" operation_name = "remove_governance" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/RemoveGovernance" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/RemoveGovernance" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/governance_client_composite_operations.py b/src/oci/tenant_manager_control_plane/governance_client_composite_operations.py index 57cc63a177..d0d66d446e 100644 --- a/src/oci/tenant_manager_control_plane/governance_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/governance_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/link_client.py b/src/oci/tenant_manager_control_plane/link_client.py index 0e2962e04b..7fbaac32d0 100644 --- a/src/oci/tenant_manager_control_plane/link_client.py +++ b/src/oci/tenant_manager_control_plane/link_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -152,7 +152,7 @@ def delete_link(self, link_id, **kwargs): resource_path = "/links/{linkId}" method = "DELETE" operation_name = "delete_link" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/DeleteLink" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/DeleteLink" # Don't accept unknown kwargs expected_kwargs = [ @@ -248,7 +248,7 @@ def get_link(self, link_id, **kwargs): resource_path = "/links/{linkId}" method = "GET" operation_name = "get_link" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/GetLink" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/GetLink" # Don't accept unknown kwargs expected_kwargs = [ @@ -363,7 +363,7 @@ def list_links(self, **kwargs): resource_path = "/links" method = "GET" operation_name = "list_links" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/ListLinks" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/ListLinks" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/link_client_composite_operations.py b/src/oci/tenant_manager_control_plane/link_client_composite_operations.py index 98c3035d85..89d5686d7b 100644 --- a/src/oci/tenant_manager_control_plane/link_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/link_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/__init__.py b/src/oci/tenant_manager_control_plane/models/__init__.py index 4348533c8e..58881b6045 100644 --- a/src/oci/tenant_manager_control_plane/models/__init__.py +++ b/src/oci/tenant_manager_control_plane/models/__init__.py @@ -2,16 +2,26 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import from .activate_order_details import ActivateOrderDetails from .assigned_subscription import AssignedSubscription from .assigned_subscription_collection import AssignedSubscriptionCollection +from .assigned_subscription_line_item_collection import AssignedSubscriptionLineItemCollection +from .assigned_subscription_line_item_summary import AssignedSubscriptionLineItemSummary from .assigned_subscription_summary import AssignedSubscriptionSummary from .available_region_collection import AvailableRegionCollection from .available_region_summary import AvailableRegionSummary +from .classic_assigned_subscription import ClassicAssignedSubscription +from .classic_assigned_subscription_summary import ClassicAssignedSubscriptionSummary +from .classic_subscription import ClassicSubscription +from .classic_subscription_summary import ClassicSubscriptionSummary +from .cloud_assigned_subscription import CloudAssignedSubscription +from .cloud_assigned_subscription_summary import CloudAssignedSubscriptionSummary +from .cloud_subscription import CloudSubscription +from .cloud_subscription_summary import CloudSubscriptionSummary from .create_child_tenancy_details import CreateChildTenancyDetails from .create_domain_details import CreateDomainDetails from .create_domain_governance_details import CreateDomainGovernanceDetails @@ -37,6 +47,7 @@ from .recipient_invitation import RecipientInvitation from .recipient_invitation_collection import RecipientInvitationCollection from .recipient_invitation_summary import RecipientInvitationSummary +from .revive_workflow_instance_details import ReviveWorkflowInstanceDetails from .sender_invitation import SenderInvitation from .sender_invitation_collection import SenderInvitationCollection from .sender_invitation_summary import SenderInvitationSummary @@ -44,6 +55,8 @@ from .subscription import Subscription from .subscription_collection import SubscriptionCollection from .subscription_info import SubscriptionInfo +from .subscription_line_item_collection import SubscriptionLineItemCollection +from .subscription_line_item_summary import SubscriptionLineItemSummary from .subscription_mapping import SubscriptionMapping from .subscription_mapping_collection import SubscriptionMappingCollection from .subscription_mapping_summary import SubscriptionMappingSummary @@ -68,9 +81,19 @@ "ActivateOrderDetails": ActivateOrderDetails, "AssignedSubscription": AssignedSubscription, "AssignedSubscriptionCollection": AssignedSubscriptionCollection, + "AssignedSubscriptionLineItemCollection": AssignedSubscriptionLineItemCollection, + "AssignedSubscriptionLineItemSummary": AssignedSubscriptionLineItemSummary, "AssignedSubscriptionSummary": AssignedSubscriptionSummary, "AvailableRegionCollection": AvailableRegionCollection, "AvailableRegionSummary": AvailableRegionSummary, + "ClassicAssignedSubscription": ClassicAssignedSubscription, + "ClassicAssignedSubscriptionSummary": ClassicAssignedSubscriptionSummary, + "ClassicSubscription": ClassicSubscription, + "ClassicSubscriptionSummary": ClassicSubscriptionSummary, + "CloudAssignedSubscription": CloudAssignedSubscription, + "CloudAssignedSubscriptionSummary": CloudAssignedSubscriptionSummary, + "CloudSubscription": CloudSubscription, + "CloudSubscriptionSummary": CloudSubscriptionSummary, "CreateChildTenancyDetails": CreateChildTenancyDetails, "CreateDomainDetails": CreateDomainDetails, "CreateDomainGovernanceDetails": CreateDomainGovernanceDetails, @@ -96,6 +119,7 @@ "RecipientInvitation": RecipientInvitation, "RecipientInvitationCollection": RecipientInvitationCollection, "RecipientInvitationSummary": RecipientInvitationSummary, + "ReviveWorkflowInstanceDetails": ReviveWorkflowInstanceDetails, "SenderInvitation": SenderInvitation, "SenderInvitationCollection": SenderInvitationCollection, "SenderInvitationSummary": SenderInvitationSummary, @@ -103,6 +127,8 @@ "Subscription": Subscription, "SubscriptionCollection": SubscriptionCollection, "SubscriptionInfo": SubscriptionInfo, + "SubscriptionLineItemCollection": SubscriptionLineItemCollection, + "SubscriptionLineItemSummary": SubscriptionLineItemSummary, "SubscriptionMapping": SubscriptionMapping, "SubscriptionMappingCollection": SubscriptionMappingCollection, "SubscriptionMappingSummary": SubscriptionMappingSummary, diff --git a/src/oci/tenant_manager_control_plane/models/activate_order_details.py b/src/oci/tenant_manager_control_plane/models/activate_order_details.py index 42413894ec..0dbc6bd277 100644 --- a/src/oci/tenant_manager_control_plane/models/activate_order_details.py +++ b/src/oci/tenant_manager_control_plane/models/activate_order_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/assigned_subscription.py b/src/oci/tenant_manager_control_plane/models/assigned_subscription.py index 6e0a7f0af2..14881b4250 100644 --- a/src/oci/tenant_manager_control_plane/models/assigned_subscription.py +++ b/src/oci/tenant_manager_control_plane/models/assigned_subscription.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,42 +12,33 @@ @init_model_state_from_kwargs class AssignedSubscription(object): """ - Assigned subscription information. + Assigned subscription type, which carries shared properties for any assigned subscription version. """ - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "CREATING" - LIFECYCLE_STATE_CREATING = "CREATING" + #: A constant which can be used with the entity_version property of a AssignedSubscription. + #: This constant has a value of "V1" + ENTITY_VERSION_V1 = "V1" - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "ACTIVE" - LIFECYCLE_STATE_ACTIVE = "ACTIVE" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "INACTIVE" - LIFECYCLE_STATE_INACTIVE = "INACTIVE" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "UPDATING" - LIFECYCLE_STATE_UPDATING = "UPDATING" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "DELETING" - LIFECYCLE_STATE_DELETING = "DELETING" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "DELETED" - LIFECYCLE_STATE_DELETED = "DELETED" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscription. - #: This constant has a value of "FAILED" - LIFECYCLE_STATE_FAILED = "FAILED" + #: A constant which can be used with the entity_version property of a AssignedSubscription. + #: This constant has a value of "V2" + ENTITY_VERSION_V2 = "V2" def __init__(self, **kwargs): """ - Initializes a new AssignedSubscription object with values from keyword arguments. + Initializes a new AssignedSubscription object with values from keyword arguments. This class has the following subclasses and if you are using this class as input + to a service operations then you should favor using a subclass over the base class: + + * :class:`~oci.tenant_manager_control_plane.models.ClassicAssignedSubscription` + * :class:`~oci.tenant_manager_control_plane.models.CloudAssignedSubscription` + The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param entity_version: + The value to assign to the entity_version property of this AssignedSubscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + :param id: The value to assign to the id property of this AssignedSubscription. :type id: str @@ -56,160 +47,111 @@ def __init__(self, **kwargs): The value to assign to the compartment_id property of this AssignedSubscription. :type compartment_id: str - :param classic_subscription_id: - The value to assign to the classic_subscription_id property of this AssignedSubscription. - :type classic_subscription_id: str - :param service_name: The value to assign to the service_name property of this AssignedSubscription. :type service_name: str - :param is_classic_subscription: - The value to assign to the is_classic_subscription property of this AssignedSubscription. - :type is_classic_subscription: bool - - :param region_assignment: - The value to assign to the region_assignment property of this AssignedSubscription. - :type region_assignment: str - - :param lifecycle_state: - The value to assign to the lifecycle_state property of this AssignedSubscription. - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type lifecycle_state: str - - :param skus: - The value to assign to the skus property of this AssignedSubscription. - :type skus: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - - :param order_ids: - The value to assign to the order_ids property of this AssignedSubscription. - :type order_ids: list[str] - - :param program_type: - The value to assign to the program_type property of this AssignedSubscription. - :type program_type: str - - :param customer_country_code: - The value to assign to the customer_country_code property of this AssignedSubscription. - :type customer_country_code: str - - :param cloud_amount_currency: - The value to assign to the cloud_amount_currency property of this AssignedSubscription. - :type cloud_amount_currency: str - - :param csi_number: - The value to assign to the csi_number property of this AssignedSubscription. - :type csi_number: str - - :param subscription_tier: - The value to assign to the subscription_tier property of this AssignedSubscription. - :type subscription_tier: str - - :param is_government_subscription: - The value to assign to the is_government_subscription property of this AssignedSubscription. - :type is_government_subscription: bool - - :param promotion: - The value to assign to the promotion property of this AssignedSubscription. - :type promotion: list[oci.tenant_manager_control_plane.models.Promotion] - - :param purchase_entitlement_id: - The value to assign to the purchase_entitlement_id property of this AssignedSubscription. - :type purchase_entitlement_id: str - - :param start_date: - The value to assign to the start_date property of this AssignedSubscription. - :type start_date: datetime - - :param end_date: - The value to assign to the end_date property of this AssignedSubscription. - :type end_date: datetime + :param time_created: + The value to assign to the time_created property of this AssignedSubscription. + :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AssignedSubscription. :type time_updated: datetime - :param time_created: - The value to assign to the time_created property of this AssignedSubscription. - :type time_created: datetime + :param freeform_tags: + The value to assign to the freeform_tags property of this AssignedSubscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this AssignedSubscription. + :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { + 'entity_version': 'str', 'id': 'str', 'compartment_id': 'str', - 'classic_subscription_id': 'str', 'service_name': 'str', - 'is_classic_subscription': 'bool', - 'region_assignment': 'str', - 'lifecycle_state': 'str', - 'skus': 'list[SubscriptionSku]', - 'order_ids': 'list[str]', - 'program_type': 'str', - 'customer_country_code': 'str', - 'cloud_amount_currency': 'str', - 'csi_number': 'str', - 'subscription_tier': 'str', - 'is_government_subscription': 'bool', - 'promotion': 'list[Promotion]', - 'purchase_entitlement_id': 'str', - 'start_date': 'datetime', - 'end_date': 'datetime', + 'time_created': 'datetime', 'time_updated': 'datetime', - 'time_created': 'datetime' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { + 'entity_version': 'entityVersion', 'id': 'id', 'compartment_id': 'compartmentId', - 'classic_subscription_id': 'classicSubscriptionId', 'service_name': 'serviceName', - 'is_classic_subscription': 'isClassicSubscription', - 'region_assignment': 'regionAssignment', - 'lifecycle_state': 'lifecycleState', - 'skus': 'skus', - 'order_ids': 'orderIds', - 'program_type': 'programType', - 'customer_country_code': 'customerCountryCode', - 'cloud_amount_currency': 'cloudAmountCurrency', - 'csi_number': 'csiNumber', - 'subscription_tier': 'subscriptionTier', - 'is_government_subscription': 'isGovernmentSubscription', - 'promotion': 'promotion', - 'purchase_entitlement_id': 'purchaseEntitlementId', - 'start_date': 'startDate', - 'end_date': 'endDate', + 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', - 'time_created': 'timeCreated' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' } + self._entity_version = None self._id = None self._compartment_id = None - self._classic_subscription_id = None self._service_name = None - self._is_classic_subscription = None - self._region_assignment = None - self._lifecycle_state = None - self._skus = None - self._order_ids = None - self._program_type = None - self._customer_country_code = None - self._cloud_amount_currency = None - self._csi_number = None - self._subscription_tier = None - self._is_government_subscription = None - self._promotion = None - self._purchase_entitlement_id = None - self._start_date = None - self._end_date = None - self._time_updated = None self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + + @staticmethod + def get_subtype(object_dictionary): + """ + Given the hash representation of a subtype of this class, + use the info in the hash to return the class of the subtype. + """ + type = object_dictionary['entityVersion'] + + if type == 'V1': + return 'ClassicAssignedSubscription' + + if type == 'V2': + return 'CloudAssignedSubscription' + else: + return 'AssignedSubscription' + + @property + def entity_version(self): + """ + **[Required]** Gets the entity_version of this AssignedSubscription. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The entity_version of this AssignedSubscription. + :rtype: str + """ + return self._entity_version + + @entity_version.setter + def entity_version(self, entity_version): + """ + Sets the entity_version of this AssignedSubscription. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + + + :param entity_version: The entity_version of this AssignedSubscription. + :type: str + """ + allowed_values = ["V1", "V2"] + if not value_allowed_none_or_none_sentinel(entity_version, allowed_values): + entity_version = 'UNKNOWN_ENUM_VALUE' + self._entity_version = entity_version @property def id(self): """ **[Required]** Gets the id of this AssignedSubscription. - OCID of the subscription. + The Oracle ID (`OCID`__) of the subscription. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AssignedSubscription. @@ -221,7 +163,9 @@ def id(self): def id(self, id): """ Sets the id of this AssignedSubscription. - OCID of the subscription. + The Oracle ID (`OCID`__) of the subscription. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AssignedSubscription. @@ -233,7 +177,9 @@ def id(self, id): def compartment_id(self): """ **[Required]** Gets the compartment_id of this AssignedSubscription. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AssignedSubscription. @@ -245,7 +191,9 @@ def compartment_id(self): def compartment_id(self, compartment_id): """ Sets the compartment_id of this AssignedSubscription. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AssignedSubscription. @@ -253,35 +201,11 @@ def compartment_id(self, compartment_id): """ self._compartment_id = compartment_id - @property - def classic_subscription_id(self): - """ - **[Required]** Gets the classic_subscription_id of this AssignedSubscription. - Subscription ID. - - - :return: The classic_subscription_id of this AssignedSubscription. - :rtype: str - """ - return self._classic_subscription_id - - @classic_subscription_id.setter - def classic_subscription_id(self, classic_subscription_id): - """ - Sets the classic_subscription_id of this AssignedSubscription. - Subscription ID. - - - :param classic_subscription_id: The classic_subscription_id of this AssignedSubscription. - :type: str - """ - self._classic_subscription_id = classic_subscription_id - @property def service_name(self): """ **[Required]** Gets the service_name of this AssignedSubscription. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :return: The service_name of this AssignedSubscription. @@ -293,7 +217,7 @@ def service_name(self): def service_name(self, service_name): """ Sets the service_name of this AssignedSubscription. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :param service_name: The service_name of this AssignedSubscription. @@ -302,418 +226,112 @@ def service_name(self, service_name): self._service_name = service_name @property - def is_classic_subscription(self): - """ - Gets the is_classic_subscription of this AssignedSubscription. - Denotes if the subscription is legacy or not. - - - :return: The is_classic_subscription of this AssignedSubscription. - :rtype: bool - """ - return self._is_classic_subscription - - @is_classic_subscription.setter - def is_classic_subscription(self, is_classic_subscription): - """ - Sets the is_classic_subscription of this AssignedSubscription. - Denotes if the subscription is legacy or not. - - - :param is_classic_subscription: The is_classic_subscription of this AssignedSubscription. - :type: bool - """ - self._is_classic_subscription = is_classic_subscription - - @property - def region_assignment(self): - """ - Gets the region_assignment of this AssignedSubscription. - Region for the subscription. - - - :return: The region_assignment of this AssignedSubscription. - :rtype: str - """ - return self._region_assignment - - @region_assignment.setter - def region_assignment(self, region_assignment): - """ - Sets the region_assignment of this AssignedSubscription. - Region for the subscription. - - - :param region_assignment: The region_assignment of this AssignedSubscription. - :type: str - """ - self._region_assignment = region_assignment - - @property - def lifecycle_state(self): - """ - Gets the lifecycle_state of this AssignedSubscription. - Lifecycle state of the subscription. - - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - - - :return: The lifecycle_state of this AssignedSubscription. - :rtype: str - """ - return self._lifecycle_state - - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): - """ - Sets the lifecycle_state of this AssignedSubscription. - Lifecycle state of the subscription. - - - :param lifecycle_state: The lifecycle_state of this AssignedSubscription. - :type: str - """ - allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state - - @property - def skus(self): - """ - Gets the skus of this AssignedSubscription. - List of SKUs linked to the subscription. - - - :return: The skus of this AssignedSubscription. - :rtype: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - """ - return self._skus - - @skus.setter - def skus(self, skus): - """ - Sets the skus of this AssignedSubscription. - List of SKUs linked to the subscription. - - - :param skus: The skus of this AssignedSubscription. - :type: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - """ - self._skus = skus - - @property - def order_ids(self): - """ - Gets the order_ids of this AssignedSubscription. - List of subscription order OCIDs that contributed to this subscription. - - - :return: The order_ids of this AssignedSubscription. - :rtype: list[str] - """ - return self._order_ids - - @order_ids.setter - def order_ids(self, order_ids): - """ - Sets the order_ids of this AssignedSubscription. - List of subscription order OCIDs that contributed to this subscription. - - - :param order_ids: The order_ids of this AssignedSubscription. - :type: list[str] - """ - self._order_ids = order_ids - - @property - def program_type(self): - """ - Gets the program_type of this AssignedSubscription. - Denotes any program that is associated with the subscription. - - - :return: The program_type of this AssignedSubscription. - :rtype: str - """ - return self._program_type - - @program_type.setter - def program_type(self, program_type): - """ - Sets the program_type of this AssignedSubscription. - Denotes any program that is associated with the subscription. - - - :param program_type: The program_type of this AssignedSubscription. - :type: str - """ - self._program_type = program_type - - @property - def customer_country_code(self): - """ - Gets the customer_country_code of this AssignedSubscription. - The country code for the customer associated with the subscription. - - - :return: The customer_country_code of this AssignedSubscription. - :rtype: str - """ - return self._customer_country_code - - @customer_country_code.setter - def customer_country_code(self, customer_country_code): - """ - Sets the customer_country_code of this AssignedSubscription. - The country code for the customer associated with the subscription. - - - :param customer_country_code: The customer_country_code of this AssignedSubscription. - :type: str - """ - self._customer_country_code = customer_country_code - - @property - def cloud_amount_currency(self): - """ - Gets the cloud_amount_currency of this AssignedSubscription. - The currency code for the customer associated with the subscription. - - - :return: The cloud_amount_currency of this AssignedSubscription. - :rtype: str - """ - return self._cloud_amount_currency - - @cloud_amount_currency.setter - def cloud_amount_currency(self, cloud_amount_currency): - """ - Sets the cloud_amount_currency of this AssignedSubscription. - The currency code for the customer associated with the subscription. - - - :param cloud_amount_currency: The cloud_amount_currency of this AssignedSubscription. - :type: str - """ - self._cloud_amount_currency = cloud_amount_currency - - @property - def csi_number(self): - """ - Gets the csi_number of this AssignedSubscription. - Customer service identifier for the customer associated with the subscription. - - - :return: The csi_number of this AssignedSubscription. - :rtype: str - """ - return self._csi_number - - @csi_number.setter - def csi_number(self, csi_number): - """ - Sets the csi_number of this AssignedSubscription. - Customer service identifier for the customer associated with the subscription. - - - :param csi_number: The csi_number of this AssignedSubscription. - :type: str - """ - self._csi_number = csi_number - - @property - def subscription_tier(self): - """ - Gets the subscription_tier of this AssignedSubscription. - Tier for the subscription, whether it is a free promotion subscription or a paid subscription. - - - :return: The subscription_tier of this AssignedSubscription. - :rtype: str - """ - return self._subscription_tier - - @subscription_tier.setter - def subscription_tier(self, subscription_tier): - """ - Sets the subscription_tier of this AssignedSubscription. - Tier for the subscription, whether it is a free promotion subscription or a paid subscription. - - - :param subscription_tier: The subscription_tier of this AssignedSubscription. - :type: str - """ - self._subscription_tier = subscription_tier - - @property - def is_government_subscription(self): - """ - Gets the is_government_subscription of this AssignedSubscription. - Denotes whether or not the subscription is a government subscription. - - - :return: The is_government_subscription of this AssignedSubscription. - :rtype: bool - """ - return self._is_government_subscription - - @is_government_subscription.setter - def is_government_subscription(self, is_government_subscription): + def time_created(self): """ - Sets the is_government_subscription of this AssignedSubscription. - Denotes whether or not the subscription is a government subscription. + **[Required]** Gets the time_created of this AssignedSubscription. + The date and time of creation, as described in `RFC 3339`__, section 14.29. + __ https://tools.ietf.org/rfc/rfc3339 - :param is_government_subscription: The is_government_subscription of this AssignedSubscription. - :type: bool - """ - self._is_government_subscription = is_government_subscription - @property - def promotion(self): + :return: The time_created of this AssignedSubscription. + :rtype: datetime """ - Gets the promotion of this AssignedSubscription. - List of promotions related to the subscription. - + return self._time_created - :return: The promotion of this AssignedSubscription. - :rtype: list[oci.tenant_manager_control_plane.models.Promotion] + @time_created.setter + def time_created(self, time_created): """ - return self._promotion + Sets the time_created of this AssignedSubscription. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @promotion.setter - def promotion(self, promotion): - """ - Sets the promotion of this AssignedSubscription. - List of promotions related to the subscription. + __ https://tools.ietf.org/rfc/rfc3339 - :param promotion: The promotion of this AssignedSubscription. - :type: list[oci.tenant_manager_control_plane.models.Promotion] + :param time_created: The time_created of this AssignedSubscription. + :type: datetime """ - self._promotion = promotion + self._time_created = time_created @property - def purchase_entitlement_id(self): - """ - Gets the purchase_entitlement_id of this AssignedSubscription. - Purchase entitlement ID associated with the subscription. - - - :return: The purchase_entitlement_id of this AssignedSubscription. - :rtype: str + def time_updated(self): """ - return self._purchase_entitlement_id + **[Required]** Gets the time_updated of this AssignedSubscription. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @purchase_entitlement_id.setter - def purchase_entitlement_id(self, purchase_entitlement_id): - """ - Sets the purchase_entitlement_id of this AssignedSubscription. - Purchase entitlement ID associated with the subscription. + __ https://tools.ietf.org/rfc/rfc3339 - :param purchase_entitlement_id: The purchase_entitlement_id of this AssignedSubscription. - :type: str - """ - self._purchase_entitlement_id = purchase_entitlement_id - - @property - def start_date(self): - """ - Gets the start_date of this AssignedSubscription. - Subscription start time. - - - :return: The start_date of this AssignedSubscription. + :return: The time_updated of this AssignedSubscription. :rtype: datetime """ - return self._start_date - - @start_date.setter - def start_date(self, start_date): - """ - Sets the start_date of this AssignedSubscription. - Subscription start time. - - - :param start_date: The start_date of this AssignedSubscription. - :type: datetime - """ - self._start_date = start_date - - @property - def end_date(self): - """ - Gets the end_date of this AssignedSubscription. - Subscription end time. - + return self._time_updated - :return: The end_date of this AssignedSubscription. - :rtype: datetime + @time_updated.setter + def time_updated(self, time_updated): """ - return self._end_date + Sets the time_updated of this AssignedSubscription. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @end_date.setter - def end_date(self, end_date): - """ - Sets the end_date of this AssignedSubscription. - Subscription end time. + __ https://tools.ietf.org/rfc/rfc3339 - :param end_date: The end_date of this AssignedSubscription. + :param time_updated: The time_updated of this AssignedSubscription. :type: datetime """ - self._end_date = end_date + self._time_updated = time_updated @property - def time_updated(self): + def freeform_tags(self): """ - Gets the time_updated of this AssignedSubscription. - Date-time when subscription is updated. + **[Required]** Gets the freeform_tags of this AssignedSubscription. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :return: The time_updated of this AssignedSubscription. - :rtype: datetime + :return: The freeform_tags of this AssignedSubscription. + :rtype: dict(str, str) """ - return self._time_updated + return self._freeform_tags - @time_updated.setter - def time_updated(self, time_updated): + @freeform_tags.setter + def freeform_tags(self, freeform_tags): """ - Sets the time_updated of this AssignedSubscription. - Date-time when subscription is updated. + Sets the freeform_tags of this AssignedSubscription. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :param time_updated: The time_updated of this AssignedSubscription. - :type: datetime + :param freeform_tags: The freeform_tags of this AssignedSubscription. + :type: dict(str, str) """ - self._time_updated = time_updated + self._freeform_tags = freeform_tags @property - def time_created(self): + def defined_tags(self): """ - Gets the time_created of this AssignedSubscription. - Date-time when subscription is created. + **[Required]** Gets the defined_tags of this AssignedSubscription. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :return: The time_created of this AssignedSubscription. - :rtype: datetime + :return: The defined_tags of this AssignedSubscription. + :rtype: dict(str, dict(str, object)) """ - return self._time_created + return self._defined_tags - @time_created.setter - def time_created(self, time_created): + @defined_tags.setter + def defined_tags(self, defined_tags): """ - Sets the time_created of this AssignedSubscription. - Date-time when subscription is created. + Sets the defined_tags of this AssignedSubscription. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :param time_created: The time_created of this AssignedSubscription. - :type: datetime + :param defined_tags: The defined_tags of this AssignedSubscription. + :type: dict(str, dict(str, object)) """ - self._time_created = time_created + self._defined_tags = defined_tags def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/tenant_manager_control_plane/models/assigned_subscription_collection.py b/src/oci/tenant_manager_control_plane/models/assigned_subscription_collection.py index 3ef176e858..fefe4e0069 100644 --- a/src/oci/tenant_manager_control_plane/models/assigned_subscription_collection.py +++ b/src/oci/tenant_manager_control_plane/models/assigned_subscription_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,7 +12,7 @@ @init_model_state_from_kwargs class AssignedSubscriptionCollection(object): """ - List of AssignedSubscription. + Collection of assigned subscription summaries. """ def __init__(self, **kwargs): @@ -39,7 +39,7 @@ def __init__(self, **kwargs): def items(self): """ **[Required]** Gets the items of this AssignedSubscriptionCollection. - Array containing AssignedSubscription items. + Array containing assigned subscription summary items. :return: The items of this AssignedSubscriptionCollection. @@ -51,7 +51,7 @@ def items(self): def items(self, items): """ Sets the items of this AssignedSubscriptionCollection. - Array containing AssignedSubscription items. + Array containing assigned subscription summary items. :param items: The items of this AssignedSubscriptionCollection. diff --git a/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_collection.py b/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_collection.py new file mode 100644 index 0000000000..5b622daf92 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_collection.py @@ -0,0 +1,72 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class AssignedSubscriptionLineItemCollection(object): + """ + Collection of line item summaries in an assigned subscription. + """ + + def __init__(self, **kwargs): + """ + Initializes a new AssignedSubscriptionLineItemCollection object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param items: + The value to assign to the items property of this AssignedSubscriptionLineItemCollection. + :type items: list[oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary] + + """ + self.swagger_types = { + 'items': 'list[AssignedSubscriptionLineItemSummary]' + } + + self.attribute_map = { + 'items': 'items' + } + + self._items = None + + @property + def items(self): + """ + **[Required]** Gets the items of this AssignedSubscriptionLineItemCollection. + Array containing line item summaries in an assigned subscription. + + + :return: The items of this AssignedSubscriptionLineItemCollection. + :rtype: list[oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this AssignedSubscriptionLineItemCollection. + Array containing line item summaries in an assigned subscription. + + + :param items: The items of this AssignedSubscriptionLineItemCollection. + :type: list[oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemSummary] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_summary.py b/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_summary.py new file mode 100644 index 0000000000..8138f9dcd2 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/assigned_subscription_line_item_summary.py @@ -0,0 +1,247 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class AssignedSubscriptionLineItemSummary(object): + """ + Summary of the line item in an assigned subscription. + """ + + #: A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. + #: This constant has a value of "COMMITMENT" + BILLING_MODEL_COMMITMENT = "COMMITMENT" + + #: A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. + #: This constant has a value of "PAYGO" + BILLING_MODEL_PAYGO = "PAYGO" + + #: A constant which can be used with the billing_model property of a AssignedSubscriptionLineItemSummary. + #: This constant has a value of "PROMOTION" + BILLING_MODEL_PROMOTION = "PROMOTION" + + def __init__(self, **kwargs): + """ + Initializes a new AssignedSubscriptionLineItemSummary object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param id: + The value to assign to the id property of this AssignedSubscriptionLineItemSummary. + :type id: str + + :param product_code: + The value to assign to the product_code property of this AssignedSubscriptionLineItemSummary. + :type product_code: str + + :param quantity: + The value to assign to the quantity property of this AssignedSubscriptionLineItemSummary. + :type quantity: float + + :param billing_model: + The value to assign to the billing_model property of this AssignedSubscriptionLineItemSummary. + Allowed values for this property are: "COMMITMENT", "PAYGO", "PROMOTION", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type billing_model: str + + :param time_started: + The value to assign to the time_started property of this AssignedSubscriptionLineItemSummary. + :type time_started: datetime + + :param time_ended: + The value to assign to the time_ended property of this AssignedSubscriptionLineItemSummary. + :type time_ended: datetime + + """ + self.swagger_types = { + 'id': 'str', + 'product_code': 'str', + 'quantity': 'float', + 'billing_model': 'str', + 'time_started': 'datetime', + 'time_ended': 'datetime' + } + + self.attribute_map = { + 'id': 'id', + 'product_code': 'productCode', + 'quantity': 'quantity', + 'billing_model': 'billingModel', + 'time_started': 'timeStarted', + 'time_ended': 'timeEnded' + } + + self._id = None + self._product_code = None + self._quantity = None + self._billing_model = None + self._time_started = None + self._time_ended = None + + @property + def id(self): + """ + **[Required]** Gets the id of this AssignedSubscriptionLineItemSummary. + Subscription line item identifier. + + + :return: The id of this AssignedSubscriptionLineItemSummary. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """ + Sets the id of this AssignedSubscriptionLineItemSummary. + Subscription line item identifier. + + + :param id: The id of this AssignedSubscriptionLineItemSummary. + :type: str + """ + self._id = id + + @property + def product_code(self): + """ + **[Required]** Gets the product_code of this AssignedSubscriptionLineItemSummary. + Product code. + + + :return: The product_code of this AssignedSubscriptionLineItemSummary. + :rtype: str + """ + return self._product_code + + @product_code.setter + def product_code(self, product_code): + """ + Sets the product_code of this AssignedSubscriptionLineItemSummary. + Product code. + + + :param product_code: The product_code of this AssignedSubscriptionLineItemSummary. + :type: str + """ + self._product_code = product_code + + @property + def quantity(self): + """ + **[Required]** Gets the quantity of this AssignedSubscriptionLineItemSummary. + Product number. + + + :return: The quantity of this AssignedSubscriptionLineItemSummary. + :rtype: float + """ + return self._quantity + + @quantity.setter + def quantity(self, quantity): + """ + Sets the quantity of this AssignedSubscriptionLineItemSummary. + Product number. + + + :param quantity: The quantity of this AssignedSubscriptionLineItemSummary. + :type: float + """ + self._quantity = quantity + + @property + def billing_model(self): + """ + **[Required]** Gets the billing_model of this AssignedSubscriptionLineItemSummary. + Billing model supported by the associated line item. + + Allowed values for this property are: "COMMITMENT", "PAYGO", "PROMOTION", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The billing_model of this AssignedSubscriptionLineItemSummary. + :rtype: str + """ + return self._billing_model + + @billing_model.setter + def billing_model(self, billing_model): + """ + Sets the billing_model of this AssignedSubscriptionLineItemSummary. + Billing model supported by the associated line item. + + + :param billing_model: The billing_model of this AssignedSubscriptionLineItemSummary. + :type: str + """ + allowed_values = ["COMMITMENT", "PAYGO", "PROMOTION"] + if not value_allowed_none_or_none_sentinel(billing_model, allowed_values): + billing_model = 'UNKNOWN_ENUM_VALUE' + self._billing_model = billing_model + + @property + def time_started(self): + """ + **[Required]** Gets the time_started of this AssignedSubscriptionLineItemSummary. + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + + + :return: The time_started of this AssignedSubscriptionLineItemSummary. + :rtype: datetime + """ + return self._time_started + + @time_started.setter + def time_started(self, time_started): + """ + Sets the time_started of this AssignedSubscriptionLineItemSummary. + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + + + :param time_started: The time_started of this AssignedSubscriptionLineItemSummary. + :type: datetime + """ + self._time_started = time_started + + @property + def time_ended(self): + """ + **[Required]** Gets the time_ended of this AssignedSubscriptionLineItemSummary. + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + + + :return: The time_ended of this AssignedSubscriptionLineItemSummary. + :rtype: datetime + """ + return self._time_ended + + @time_ended.setter + def time_ended(self, time_ended): + """ + Sets the time_ended of this AssignedSubscriptionLineItemSummary. + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + + + :param time_ended: The time_ended of this AssignedSubscriptionLineItemSummary. + :type: datetime + """ + self._time_ended = time_ended + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/assigned_subscription_summary.py b/src/oci/tenant_manager_control_plane/models/assigned_subscription_summary.py index c9bfc2a4f2..514a650479 100644 --- a/src/oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +++ b/src/oci/tenant_manager_control_plane/models/assigned_subscription_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,42 +12,33 @@ @init_model_state_from_kwargs class AssignedSubscriptionSummary(object): """ - Summary of AssignedSubscription information. + Assigned subscription summary type, which carries shared properties for any assigned subscription summary version. """ - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "CREATING" - LIFECYCLE_STATE_CREATING = "CREATING" + #: A constant which can be used with the entity_version property of a AssignedSubscriptionSummary. + #: This constant has a value of "V1" + ENTITY_VERSION_V1 = "V1" - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "ACTIVE" - LIFECYCLE_STATE_ACTIVE = "ACTIVE" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "INACTIVE" - LIFECYCLE_STATE_INACTIVE = "INACTIVE" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "UPDATING" - LIFECYCLE_STATE_UPDATING = "UPDATING" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "DELETING" - LIFECYCLE_STATE_DELETING = "DELETING" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "DELETED" - LIFECYCLE_STATE_DELETED = "DELETED" - - #: A constant which can be used with the lifecycle_state property of a AssignedSubscriptionSummary. - #: This constant has a value of "FAILED" - LIFECYCLE_STATE_FAILED = "FAILED" + #: A constant which can be used with the entity_version property of a AssignedSubscriptionSummary. + #: This constant has a value of "V2" + ENTITY_VERSION_V2 = "V2" def __init__(self, **kwargs): """ - Initializes a new AssignedSubscriptionSummary object with values from keyword arguments. + Initializes a new AssignedSubscriptionSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input + to a service operations then you should favor using a subclass over the base class: + + * :class:`~oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary` + * :class:`~oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary` + The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param entity_version: + The value to assign to the entity_version property of this AssignedSubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + :param id: The value to assign to the id property of this AssignedSubscriptionSummary. :type id: str @@ -56,97 +47,111 @@ def __init__(self, **kwargs): The value to assign to the compartment_id property of this AssignedSubscriptionSummary. :type compartment_id: str - :param classic_subscription_id: - The value to assign to the classic_subscription_id property of this AssignedSubscriptionSummary. - :type classic_subscription_id: str - :param service_name: The value to assign to the service_name property of this AssignedSubscriptionSummary. :type service_name: str - :param is_classic_subscription: - The value to assign to the is_classic_subscription property of this AssignedSubscriptionSummary. - :type is_classic_subscription: bool - - :param region_assignment: - The value to assign to the region_assignment property of this AssignedSubscriptionSummary. - :type region_assignment: str - - :param lifecycle_state: - The value to assign to the lifecycle_state property of this AssignedSubscriptionSummary. - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type lifecycle_state: str - - :param start_date: - The value to assign to the start_date property of this AssignedSubscriptionSummary. - :type start_date: datetime - - :param end_date: - The value to assign to the end_date property of this AssignedSubscriptionSummary. - :type end_date: datetime + :param time_created: + The value to assign to the time_created property of this AssignedSubscriptionSummary. + :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AssignedSubscriptionSummary. :type time_updated: datetime - :param time_created: - The value to assign to the time_created property of this AssignedSubscriptionSummary. - :type time_created: datetime + :param freeform_tags: + The value to assign to the freeform_tags property of this AssignedSubscriptionSummary. + :type freeform_tags: dict(str, str) - :param csi_number: - The value to assign to the csi_number property of this AssignedSubscriptionSummary. - :type csi_number: str + :param defined_tags: + The value to assign to the defined_tags property of this AssignedSubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { + 'entity_version': 'str', 'id': 'str', 'compartment_id': 'str', - 'classic_subscription_id': 'str', 'service_name': 'str', - 'is_classic_subscription': 'bool', - 'region_assignment': 'str', - 'lifecycle_state': 'str', - 'start_date': 'datetime', - 'end_date': 'datetime', - 'time_updated': 'datetime', 'time_created': 'datetime', - 'csi_number': 'str' + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { + 'entity_version': 'entityVersion', 'id': 'id', 'compartment_id': 'compartmentId', - 'classic_subscription_id': 'classicSubscriptionId', 'service_name': 'serviceName', - 'is_classic_subscription': 'isClassicSubscription', - 'region_assignment': 'regionAssignment', - 'lifecycle_state': 'lifecycleState', - 'start_date': 'startDate', - 'end_date': 'endDate', - 'time_updated': 'timeUpdated', 'time_created': 'timeCreated', - 'csi_number': 'csiNumber' + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' } + self._entity_version = None self._id = None self._compartment_id = None - self._classic_subscription_id = None self._service_name = None - self._is_classic_subscription = None - self._region_assignment = None - self._lifecycle_state = None - self._start_date = None - self._end_date = None - self._time_updated = None self._time_created = None - self._csi_number = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + + @staticmethod + def get_subtype(object_dictionary): + """ + Given the hash representation of a subtype of this class, + use the info in the hash to return the class of the subtype. + """ + type = object_dictionary['entityVersion'] + + if type == 'V1': + return 'ClassicAssignedSubscriptionSummary' + + if type == 'V2': + return 'CloudAssignedSubscriptionSummary' + else: + return 'AssignedSubscriptionSummary' + + @property + def entity_version(self): + """ + **[Required]** Gets the entity_version of this AssignedSubscriptionSummary. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The entity_version of this AssignedSubscriptionSummary. + :rtype: str + """ + return self._entity_version + + @entity_version.setter + def entity_version(self, entity_version): + """ + Sets the entity_version of this AssignedSubscriptionSummary. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + + + :param entity_version: The entity_version of this AssignedSubscriptionSummary. + :type: str + """ + allowed_values = ["V1", "V2"] + if not value_allowed_none_or_none_sentinel(entity_version, allowed_values): + entity_version = 'UNKNOWN_ENUM_VALUE' + self._entity_version = entity_version @property def id(self): """ **[Required]** Gets the id of this AssignedSubscriptionSummary. - OCID of the subscription. + The Oracle ID (`OCID`__) of the subscription. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AssignedSubscriptionSummary. @@ -158,7 +163,9 @@ def id(self): def id(self, id): """ Sets the id of this AssignedSubscriptionSummary. - OCID of the subscription. + The Oracle ID (`OCID`__) of the subscription. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AssignedSubscriptionSummary. @@ -170,7 +177,9 @@ def id(self, id): def compartment_id(self): """ **[Required]** Gets the compartment_id of this AssignedSubscriptionSummary. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AssignedSubscriptionSummary. @@ -182,7 +191,9 @@ def compartment_id(self): def compartment_id(self, compartment_id): """ Sets the compartment_id of this AssignedSubscriptionSummary. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AssignedSubscriptionSummary. @@ -190,35 +201,11 @@ def compartment_id(self, compartment_id): """ self._compartment_id = compartment_id - @property - def classic_subscription_id(self): - """ - **[Required]** Gets the classic_subscription_id of this AssignedSubscriptionSummary. - Subscription ID. - - - :return: The classic_subscription_id of this AssignedSubscriptionSummary. - :rtype: str - """ - return self._classic_subscription_id - - @classic_subscription_id.setter - def classic_subscription_id(self, classic_subscription_id): - """ - Sets the classic_subscription_id of this AssignedSubscriptionSummary. - Subscription ID. - - - :param classic_subscription_id: The classic_subscription_id of this AssignedSubscriptionSummary. - :type: str - """ - self._classic_subscription_id = classic_subscription_id - @property def service_name(self): """ **[Required]** Gets the service_name of this AssignedSubscriptionSummary. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :return: The service_name of this AssignedSubscriptionSummary. @@ -230,7 +217,7 @@ def service_name(self): def service_name(self, service_name): """ Sets the service_name of this AssignedSubscriptionSummary. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :param service_name: The service_name of this AssignedSubscriptionSummary. @@ -239,136 +226,40 @@ def service_name(self, service_name): self._service_name = service_name @property - def is_classic_subscription(self): - """ - Gets the is_classic_subscription of this AssignedSubscriptionSummary. - Denotes if the subscription is legacy or not. - - - :return: The is_classic_subscription of this AssignedSubscriptionSummary. - :rtype: bool - """ - return self._is_classic_subscription - - @is_classic_subscription.setter - def is_classic_subscription(self, is_classic_subscription): - """ - Sets the is_classic_subscription of this AssignedSubscriptionSummary. - Denotes if the subscription is legacy or not. - - - :param is_classic_subscription: The is_classic_subscription of this AssignedSubscriptionSummary. - :type: bool - """ - self._is_classic_subscription = is_classic_subscription - - @property - def region_assignment(self): - """ - Gets the region_assignment of this AssignedSubscriptionSummary. - Region for the subscription. - - - :return: The region_assignment of this AssignedSubscriptionSummary. - :rtype: str - """ - return self._region_assignment - - @region_assignment.setter - def region_assignment(self, region_assignment): - """ - Sets the region_assignment of this AssignedSubscriptionSummary. - Region for the subscription. - - - :param region_assignment: The region_assignment of this AssignedSubscriptionSummary. - :type: str - """ - self._region_assignment = region_assignment - - @property - def lifecycle_state(self): - """ - Gets the lifecycle_state of this AssignedSubscriptionSummary. - Lifecycle state of the subscription. - - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - - - :return: The lifecycle_state of this AssignedSubscriptionSummary. - :rtype: str - """ - return self._lifecycle_state - - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): - """ - Sets the lifecycle_state of this AssignedSubscriptionSummary. - Lifecycle state of the subscription. - - - :param lifecycle_state: The lifecycle_state of this AssignedSubscriptionSummary. - :type: str + def time_created(self): """ - allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state + **[Required]** Gets the time_created of this AssignedSubscriptionSummary. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @property - def start_date(self): - """ - Gets the start_date of this AssignedSubscriptionSummary. - Subscription start time. + __ https://tools.ietf.org/rfc/rfc3339 - :return: The start_date of this AssignedSubscriptionSummary. + :return: The time_created of this AssignedSubscriptionSummary. :rtype: datetime """ - return self._start_date - - @start_date.setter - def start_date(self, start_date): - """ - Sets the start_date of this AssignedSubscriptionSummary. - Subscription start time. - - - :param start_date: The start_date of this AssignedSubscriptionSummary. - :type: datetime - """ - self._start_date = start_date - - @property - def end_date(self): - """ - Gets the end_date of this AssignedSubscriptionSummary. - Subscription end time. - + return self._time_created - :return: The end_date of this AssignedSubscriptionSummary. - :rtype: datetime + @time_created.setter + def time_created(self, time_created): """ - return self._end_date + Sets the time_created of this AssignedSubscriptionSummary. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @end_date.setter - def end_date(self, end_date): - """ - Sets the end_date of this AssignedSubscriptionSummary. - Subscription end time. + __ https://tools.ietf.org/rfc/rfc3339 - :param end_date: The end_date of this AssignedSubscriptionSummary. + :param time_created: The time_created of this AssignedSubscriptionSummary. :type: datetime """ - self._end_date = end_date + self._time_created = time_created @property def time_updated(self): """ - Gets the time_updated of this AssignedSubscriptionSummary. - Date-time when subscription is updated. + **[Required]** Gets the time_updated of this AssignedSubscriptionSummary. + The date and time of update, as described in `RFC 3339`__, section 14.29. + + __ https://tools.ietf.org/rfc/rfc3339 :return: The time_updated of this AssignedSubscriptionSummary. @@ -380,7 +271,9 @@ def time_updated(self): def time_updated(self, time_updated): """ Sets the time_updated of this AssignedSubscriptionSummary. - Date-time when subscription is updated. + The date and time of update, as described in `RFC 3339`__, section 14.29. + + __ https://tools.ietf.org/rfc/rfc3339 :param time_updated: The time_updated of this AssignedSubscriptionSummary. @@ -389,52 +282,56 @@ def time_updated(self, time_updated): self._time_updated = time_updated @property - def time_created(self): + def freeform_tags(self): """ - Gets the time_created of this AssignedSubscriptionSummary. - Date-time when subscription is created. + **[Required]** Gets the freeform_tags of this AssignedSubscriptionSummary. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :return: The time_created of this AssignedSubscriptionSummary. - :rtype: datetime + :return: The freeform_tags of this AssignedSubscriptionSummary. + :rtype: dict(str, str) """ - return self._time_created + return self._freeform_tags - @time_created.setter - def time_created(self, time_created): + @freeform_tags.setter + def freeform_tags(self, freeform_tags): """ - Sets the time_created of this AssignedSubscriptionSummary. - Date-time when subscription is created. + Sets the freeform_tags of this AssignedSubscriptionSummary. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :param time_created: The time_created of this AssignedSubscriptionSummary. - :type: datetime + :param freeform_tags: The freeform_tags of this AssignedSubscriptionSummary. + :type: dict(str, str) """ - self._time_created = time_created + self._freeform_tags = freeform_tags @property - def csi_number(self): + def defined_tags(self): """ - Gets the csi_number of this AssignedSubscriptionSummary. - Customer service identifier for the customer associated with the subscription. + **[Required]** Gets the defined_tags of this AssignedSubscriptionSummary. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :return: The csi_number of this AssignedSubscriptionSummary. - :rtype: str + :return: The defined_tags of this AssignedSubscriptionSummary. + :rtype: dict(str, dict(str, object)) """ - return self._csi_number + return self._defined_tags - @csi_number.setter - def csi_number(self, csi_number): + @defined_tags.setter + def defined_tags(self, defined_tags): """ - Sets the csi_number of this AssignedSubscriptionSummary. - Customer service identifier for the customer associated with the subscription. + Sets the defined_tags of this AssignedSubscriptionSummary. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :param csi_number: The csi_number of this AssignedSubscriptionSummary. - :type: str + :param defined_tags: The defined_tags of this AssignedSubscriptionSummary. + :type: dict(str, dict(str, object)) """ - self._csi_number = csi_number + self._defined_tags = defined_tags def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/tenant_manager_control_plane/models/available_region_collection.py b/src/oci/tenant_manager_control_plane/models/available_region_collection.py index acdbe60436..c18734e8f0 100644 --- a/src/oci/tenant_manager_control_plane/models/available_region_collection.py +++ b/src/oci/tenant_manager_control_plane/models/available_region_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/available_region_summary.py b/src/oci/tenant_manager_control_plane/models/available_region_summary.py index 47abd929b1..cfd907587f 100644 --- a/src/oci/tenant_manager_control_plane/models/available_region_summary.py +++ b/src/oci/tenant_manager_control_plane/models/available_region_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription.py b/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription.py new file mode 100644 index 0000000000..4b7fc2c6d6 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription.py @@ -0,0 +1,633 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .assigned_subscription import AssignedSubscription +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ClassicAssignedSubscription(AssignedSubscription): + """ + Assigned subscription information. + """ + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "UPDATING" + LIFECYCLE_STATE_UPDATING = "UPDATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscription. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + def __init__(self, **kwargs): + """ + Initializes a new ClassicAssignedSubscription object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.ClassicAssignedSubscription.entity_version` attribute + of this class is ``V1`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this ClassicAssignedSubscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this ClassicAssignedSubscription. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this ClassicAssignedSubscription. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this ClassicAssignedSubscription. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this ClassicAssignedSubscription. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this ClassicAssignedSubscription. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this ClassicAssignedSubscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this ClassicAssignedSubscription. + :type defined_tags: dict(str, dict(str, object)) + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this ClassicAssignedSubscription. + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + :param classic_subscription_id: + The value to assign to the classic_subscription_id property of this ClassicAssignedSubscription. + :type classic_subscription_id: str + + :param is_classic_subscription: + The value to assign to the is_classic_subscription property of this ClassicAssignedSubscription. + :type is_classic_subscription: bool + + :param region_assignment: + The value to assign to the region_assignment property of this ClassicAssignedSubscription. + :type region_assignment: str + + :param skus: + The value to assign to the skus property of this ClassicAssignedSubscription. + :type skus: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + + :param order_ids: + The value to assign to the order_ids property of this ClassicAssignedSubscription. + :type order_ids: list[str] + + :param program_type: + The value to assign to the program_type property of this ClassicAssignedSubscription. + :type program_type: str + + :param customer_country_code: + The value to assign to the customer_country_code property of this ClassicAssignedSubscription. + :type customer_country_code: str + + :param cloud_amount_currency: + The value to assign to the cloud_amount_currency property of this ClassicAssignedSubscription. + :type cloud_amount_currency: str + + :param csi_number: + The value to assign to the csi_number property of this ClassicAssignedSubscription. + :type csi_number: str + + :param subscription_tier: + The value to assign to the subscription_tier property of this ClassicAssignedSubscription. + :type subscription_tier: str + + :param is_government_subscription: + The value to assign to the is_government_subscription property of this ClassicAssignedSubscription. + :type is_government_subscription: bool + + :param promotion: + The value to assign to the promotion property of this ClassicAssignedSubscription. + :type promotion: list[oci.tenant_manager_control_plane.models.Promotion] + + :param purchase_entitlement_id: + The value to assign to the purchase_entitlement_id property of this ClassicAssignedSubscription. + :type purchase_entitlement_id: str + + :param start_date: + The value to assign to the start_date property of this ClassicAssignedSubscription. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this ClassicAssignedSubscription. + :type end_date: datetime + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'lifecycle_state': 'str', + 'classic_subscription_id': 'str', + 'is_classic_subscription': 'bool', + 'region_assignment': 'str', + 'skus': 'list[SubscriptionSku]', + 'order_ids': 'list[str]', + 'program_type': 'str', + 'customer_country_code': 'str', + 'cloud_amount_currency': 'str', + 'csi_number': 'str', + 'subscription_tier': 'str', + 'is_government_subscription': 'bool', + 'promotion': 'list[Promotion]', + 'purchase_entitlement_id': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'lifecycle_state': 'lifecycleState', + 'classic_subscription_id': 'classicSubscriptionId', + 'is_classic_subscription': 'isClassicSubscription', + 'region_assignment': 'regionAssignment', + 'skus': 'skus', + 'order_ids': 'orderIds', + 'program_type': 'programType', + 'customer_country_code': 'customerCountryCode', + 'cloud_amount_currency': 'cloudAmountCurrency', + 'csi_number': 'csiNumber', + 'subscription_tier': 'subscriptionTier', + 'is_government_subscription': 'isGovernmentSubscription', + 'promotion': 'promotion', + 'purchase_entitlement_id': 'purchaseEntitlementId', + 'start_date': 'startDate', + 'end_date': 'endDate' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._lifecycle_state = None + self._classic_subscription_id = None + self._is_classic_subscription = None + self._region_assignment = None + self._skus = None + self._order_ids = None + self._program_type = None + self._customer_country_code = None + self._cloud_amount_currency = None + self._csi_number = None + self._subscription_tier = None + self._is_government_subscription = None + self._promotion = None + self._purchase_entitlement_id = None + self._start_date = None + self._end_date = None + self._entity_version = 'V1' + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this ClassicAssignedSubscription. + Lifecycle state of the subscription. + + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this ClassicAssignedSubscription. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this ClassicAssignedSubscription. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this ClassicAssignedSubscription. + :type: str + """ + allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + @property + def classic_subscription_id(self): + """ + **[Required]** Gets the classic_subscription_id of this ClassicAssignedSubscription. + Subscription ID. + + + :return: The classic_subscription_id of this ClassicAssignedSubscription. + :rtype: str + """ + return self._classic_subscription_id + + @classic_subscription_id.setter + def classic_subscription_id(self, classic_subscription_id): + """ + Sets the classic_subscription_id of this ClassicAssignedSubscription. + Subscription ID. + + + :param classic_subscription_id: The classic_subscription_id of this ClassicAssignedSubscription. + :type: str + """ + self._classic_subscription_id = classic_subscription_id + + @property + def is_classic_subscription(self): + """ + Gets the is_classic_subscription of this ClassicAssignedSubscription. + Specifies whether or not the subscription is legacy. + + + :return: The is_classic_subscription of this ClassicAssignedSubscription. + :rtype: bool + """ + return self._is_classic_subscription + + @is_classic_subscription.setter + def is_classic_subscription(self, is_classic_subscription): + """ + Sets the is_classic_subscription of this ClassicAssignedSubscription. + Specifies whether or not the subscription is legacy. + + + :param is_classic_subscription: The is_classic_subscription of this ClassicAssignedSubscription. + :type: bool + """ + self._is_classic_subscription = is_classic_subscription + + @property + def region_assignment(self): + """ + Gets the region_assignment of this ClassicAssignedSubscription. + Region for the subscription. + + + :return: The region_assignment of this ClassicAssignedSubscription. + :rtype: str + """ + return self._region_assignment + + @region_assignment.setter + def region_assignment(self, region_assignment): + """ + Sets the region_assignment of this ClassicAssignedSubscription. + Region for the subscription. + + + :param region_assignment: The region_assignment of this ClassicAssignedSubscription. + :type: str + """ + self._region_assignment = region_assignment + + @property + def skus(self): + """ + Gets the skus of this ClassicAssignedSubscription. + List of SKUs linked to the subscription. + + + :return: The skus of this ClassicAssignedSubscription. + :rtype: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + """ + return self._skus + + @skus.setter + def skus(self, skus): + """ + Sets the skus of this ClassicAssignedSubscription. + List of SKUs linked to the subscription. + + + :param skus: The skus of this ClassicAssignedSubscription. + :type: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + """ + self._skus = skus + + @property + def order_ids(self): + """ + Gets the order_ids of this ClassicAssignedSubscription. + List of subscription order OCIDs that contributed to this subscription. + + + :return: The order_ids of this ClassicAssignedSubscription. + :rtype: list[str] + """ + return self._order_ids + + @order_ids.setter + def order_ids(self, order_ids): + """ + Sets the order_ids of this ClassicAssignedSubscription. + List of subscription order OCIDs that contributed to this subscription. + + + :param order_ids: The order_ids of this ClassicAssignedSubscription. + :type: list[str] + """ + self._order_ids = order_ids + + @property + def program_type(self): + """ + Gets the program_type of this ClassicAssignedSubscription. + Specifies any program that is associated with the subscription. + + + :return: The program_type of this ClassicAssignedSubscription. + :rtype: str + """ + return self._program_type + + @program_type.setter + def program_type(self, program_type): + """ + Sets the program_type of this ClassicAssignedSubscription. + Specifies any program that is associated with the subscription. + + + :param program_type: The program_type of this ClassicAssignedSubscription. + :type: str + """ + self._program_type = program_type + + @property + def customer_country_code(self): + """ + Gets the customer_country_code of this ClassicAssignedSubscription. + The country code for the customer associated with the subscription. + + + :return: The customer_country_code of this ClassicAssignedSubscription. + :rtype: str + """ + return self._customer_country_code + + @customer_country_code.setter + def customer_country_code(self, customer_country_code): + """ + Sets the customer_country_code of this ClassicAssignedSubscription. + The country code for the customer associated with the subscription. + + + :param customer_country_code: The customer_country_code of this ClassicAssignedSubscription. + :type: str + """ + self._customer_country_code = customer_country_code + + @property + def cloud_amount_currency(self): + """ + Gets the cloud_amount_currency of this ClassicAssignedSubscription. + The currency code for the customer associated with the subscription. + + + :return: The cloud_amount_currency of this ClassicAssignedSubscription. + :rtype: str + """ + return self._cloud_amount_currency + + @cloud_amount_currency.setter + def cloud_amount_currency(self, cloud_amount_currency): + """ + Sets the cloud_amount_currency of this ClassicAssignedSubscription. + The currency code for the customer associated with the subscription. + + + :param cloud_amount_currency: The cloud_amount_currency of this ClassicAssignedSubscription. + :type: str + """ + self._cloud_amount_currency = cloud_amount_currency + + @property + def csi_number(self): + """ + Gets the csi_number of this ClassicAssignedSubscription. + Customer service identifier for the customer associated with the subscription. + + + :return: The csi_number of this ClassicAssignedSubscription. + :rtype: str + """ + return self._csi_number + + @csi_number.setter + def csi_number(self, csi_number): + """ + Sets the csi_number of this ClassicAssignedSubscription. + Customer service identifier for the customer associated with the subscription. + + + :param csi_number: The csi_number of this ClassicAssignedSubscription. + :type: str + """ + self._csi_number = csi_number + + @property + def subscription_tier(self): + """ + Gets the subscription_tier of this ClassicAssignedSubscription. + Tier for the subscription, whether a free promotion subscription or a paid subscription. + + + :return: The subscription_tier of this ClassicAssignedSubscription. + :rtype: str + """ + return self._subscription_tier + + @subscription_tier.setter + def subscription_tier(self, subscription_tier): + """ + Sets the subscription_tier of this ClassicAssignedSubscription. + Tier for the subscription, whether a free promotion subscription or a paid subscription. + + + :param subscription_tier: The subscription_tier of this ClassicAssignedSubscription. + :type: str + """ + self._subscription_tier = subscription_tier + + @property + def is_government_subscription(self): + """ + Gets the is_government_subscription of this ClassicAssignedSubscription. + Specifies whether or not the subscription is a government subscription. + + + :return: The is_government_subscription of this ClassicAssignedSubscription. + :rtype: bool + """ + return self._is_government_subscription + + @is_government_subscription.setter + def is_government_subscription(self, is_government_subscription): + """ + Sets the is_government_subscription of this ClassicAssignedSubscription. + Specifies whether or not the subscription is a government subscription. + + + :param is_government_subscription: The is_government_subscription of this ClassicAssignedSubscription. + :type: bool + """ + self._is_government_subscription = is_government_subscription + + @property + def promotion(self): + """ + Gets the promotion of this ClassicAssignedSubscription. + List of promotions related to the subscription. + + + :return: The promotion of this ClassicAssignedSubscription. + :rtype: list[oci.tenant_manager_control_plane.models.Promotion] + """ + return self._promotion + + @promotion.setter + def promotion(self, promotion): + """ + Sets the promotion of this ClassicAssignedSubscription. + List of promotions related to the subscription. + + + :param promotion: The promotion of this ClassicAssignedSubscription. + :type: list[oci.tenant_manager_control_plane.models.Promotion] + """ + self._promotion = promotion + + @property + def purchase_entitlement_id(self): + """ + Gets the purchase_entitlement_id of this ClassicAssignedSubscription. + Purchase entitlement ID associated with the subscription. + + + :return: The purchase_entitlement_id of this ClassicAssignedSubscription. + :rtype: str + """ + return self._purchase_entitlement_id + + @purchase_entitlement_id.setter + def purchase_entitlement_id(self, purchase_entitlement_id): + """ + Sets the purchase_entitlement_id of this ClassicAssignedSubscription. + Purchase entitlement ID associated with the subscription. + + + :param purchase_entitlement_id: The purchase_entitlement_id of this ClassicAssignedSubscription. + :type: str + """ + self._purchase_entitlement_id = purchase_entitlement_id + + @property + def start_date(self): + """ + Gets the start_date of this ClassicAssignedSubscription. + Subscription start time. + + + :return: The start_date of this ClassicAssignedSubscription. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this ClassicAssignedSubscription. + Subscription start time. + + + :param start_date: The start_date of this ClassicAssignedSubscription. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this ClassicAssignedSubscription. + Subscription end time. + + + :return: The end_date of this ClassicAssignedSubscription. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this ClassicAssignedSubscription. + Subscription end time. + + + :param end_date: The end_date of this ClassicAssignedSubscription. + :type: datetime + """ + self._end_date = end_date + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py b/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py new file mode 100644 index 0000000000..ce14b93ab0 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py @@ -0,0 +1,354 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .assigned_subscription_summary import AssignedSubscriptionSummary +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ClassicAssignedSubscriptionSummary(AssignedSubscriptionSummary): + """ + Summary of assigned subscription information. + """ + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "UPDATING" + LIFECYCLE_STATE_UPDATING = "UPDATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + + #: A constant which can be used with the lifecycle_state property of a ClassicAssignedSubscriptionSummary. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + def __init__(self, **kwargs): + """ + Initializes a new ClassicAssignedSubscriptionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.ClassicAssignedSubscriptionSummary.entity_version` attribute + of this class is ``V1`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this ClassicAssignedSubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this ClassicAssignedSubscriptionSummary. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this ClassicAssignedSubscriptionSummary. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this ClassicAssignedSubscriptionSummary. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this ClassicAssignedSubscriptionSummary. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this ClassicAssignedSubscriptionSummary. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this ClassicAssignedSubscriptionSummary. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this ClassicAssignedSubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this ClassicAssignedSubscriptionSummary. + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + :param classic_subscription_id: + The value to assign to the classic_subscription_id property of this ClassicAssignedSubscriptionSummary. + :type classic_subscription_id: str + + :param is_classic_subscription: + The value to assign to the is_classic_subscription property of this ClassicAssignedSubscriptionSummary. + :type is_classic_subscription: bool + + :param region_assignment: + The value to assign to the region_assignment property of this ClassicAssignedSubscriptionSummary. + :type region_assignment: str + + :param start_date: + The value to assign to the start_date property of this ClassicAssignedSubscriptionSummary. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this ClassicAssignedSubscriptionSummary. + :type end_date: datetime + + :param csi_number: + The value to assign to the csi_number property of this ClassicAssignedSubscriptionSummary. + :type csi_number: str + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'lifecycle_state': 'str', + 'classic_subscription_id': 'str', + 'is_classic_subscription': 'bool', + 'region_assignment': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime', + 'csi_number': 'str' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'lifecycle_state': 'lifecycleState', + 'classic_subscription_id': 'classicSubscriptionId', + 'is_classic_subscription': 'isClassicSubscription', + 'region_assignment': 'regionAssignment', + 'start_date': 'startDate', + 'end_date': 'endDate', + 'csi_number': 'csiNumber' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._lifecycle_state = None + self._classic_subscription_id = None + self._is_classic_subscription = None + self._region_assignment = None + self._start_date = None + self._end_date = None + self._csi_number = None + self._entity_version = 'V1' + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this ClassicAssignedSubscriptionSummary. + Lifecycle state of the subscription. + + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this ClassicAssignedSubscriptionSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this ClassicAssignedSubscriptionSummary. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this ClassicAssignedSubscriptionSummary. + :type: str + """ + allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + @property + def classic_subscription_id(self): + """ + **[Required]** Gets the classic_subscription_id of this ClassicAssignedSubscriptionSummary. + Subscription ID. + + + :return: The classic_subscription_id of this ClassicAssignedSubscriptionSummary. + :rtype: str + """ + return self._classic_subscription_id + + @classic_subscription_id.setter + def classic_subscription_id(self, classic_subscription_id): + """ + Sets the classic_subscription_id of this ClassicAssignedSubscriptionSummary. + Subscription ID. + + + :param classic_subscription_id: The classic_subscription_id of this ClassicAssignedSubscriptionSummary. + :type: str + """ + self._classic_subscription_id = classic_subscription_id + + @property + def is_classic_subscription(self): + """ + Gets the is_classic_subscription of this ClassicAssignedSubscriptionSummary. + Specifies whether or not the subscription is legacy. + + + :return: The is_classic_subscription of this ClassicAssignedSubscriptionSummary. + :rtype: bool + """ + return self._is_classic_subscription + + @is_classic_subscription.setter + def is_classic_subscription(self, is_classic_subscription): + """ + Sets the is_classic_subscription of this ClassicAssignedSubscriptionSummary. + Specifies whether or not the subscription is legacy. + + + :param is_classic_subscription: The is_classic_subscription of this ClassicAssignedSubscriptionSummary. + :type: bool + """ + self._is_classic_subscription = is_classic_subscription + + @property + def region_assignment(self): + """ + Gets the region_assignment of this ClassicAssignedSubscriptionSummary. + Region for the subscription. + + + :return: The region_assignment of this ClassicAssignedSubscriptionSummary. + :rtype: str + """ + return self._region_assignment + + @region_assignment.setter + def region_assignment(self, region_assignment): + """ + Sets the region_assignment of this ClassicAssignedSubscriptionSummary. + Region for the subscription. + + + :param region_assignment: The region_assignment of this ClassicAssignedSubscriptionSummary. + :type: str + """ + self._region_assignment = region_assignment + + @property + def start_date(self): + """ + Gets the start_date of this ClassicAssignedSubscriptionSummary. + Subscription start time. + + + :return: The start_date of this ClassicAssignedSubscriptionSummary. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this ClassicAssignedSubscriptionSummary. + Subscription start time. + + + :param start_date: The start_date of this ClassicAssignedSubscriptionSummary. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this ClassicAssignedSubscriptionSummary. + Subscription end time. + + + :return: The end_date of this ClassicAssignedSubscriptionSummary. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this ClassicAssignedSubscriptionSummary. + Subscription end time. + + + :param end_date: The end_date of this ClassicAssignedSubscriptionSummary. + :type: datetime + """ + self._end_date = end_date + + @property + def csi_number(self): + """ + Gets the csi_number of this ClassicAssignedSubscriptionSummary. + Customer service identifier for the customer associated with the subscription. + + + :return: The csi_number of this ClassicAssignedSubscriptionSummary. + :rtype: str + """ + return self._csi_number + + @csi_number.setter + def csi_number(self, csi_number): + """ + Sets the csi_number of this ClassicAssignedSubscriptionSummary. + Customer service identifier for the customer associated with the subscription. + + + :param csi_number: The csi_number of this ClassicAssignedSubscriptionSummary. + :type: str + """ + self._csi_number = csi_number + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/classic_subscription.py b/src/oci/tenant_manager_control_plane/models/classic_subscription.py new file mode 100644 index 0000000000..f4f88a2dd2 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/classic_subscription.py @@ -0,0 +1,633 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .subscription import Subscription +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ClassicSubscription(Subscription): + """ + Subscription information for the compartmentId. Only root compartments are allowed. + """ + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "UPDATING" + LIFECYCLE_STATE_UPDATING = "UPDATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscription. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + def __init__(self, **kwargs): + """ + Initializes a new ClassicSubscription object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.ClassicSubscription.entity_version` attribute + of this class is ``V1`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this ClassicSubscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this ClassicSubscription. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this ClassicSubscription. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this ClassicSubscription. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this ClassicSubscription. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this ClassicSubscription. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this ClassicSubscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this ClassicSubscription. + :type defined_tags: dict(str, dict(str, object)) + + :param classic_subscription_id: + The value to assign to the classic_subscription_id property of this ClassicSubscription. + :type classic_subscription_id: str + + :param is_classic_subscription: + The value to assign to the is_classic_subscription property of this ClassicSubscription. + :type is_classic_subscription: bool + + :param payment_model: + The value to assign to the payment_model property of this ClassicSubscription. + :type payment_model: str + + :param region_assignment: + The value to assign to the region_assignment property of this ClassicSubscription. + :type region_assignment: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this ClassicSubscription. + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + :param skus: + The value to assign to the skus property of this ClassicSubscription. + :type skus: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + + :param program_type: + The value to assign to the program_type property of this ClassicSubscription. + :type program_type: str + + :param customer_country_code: + The value to assign to the customer_country_code property of this ClassicSubscription. + :type customer_country_code: str + + :param cloud_amount_currency: + The value to assign to the cloud_amount_currency property of this ClassicSubscription. + :type cloud_amount_currency: str + + :param csi_number: + The value to assign to the csi_number property of this ClassicSubscription. + :type csi_number: str + + :param subscription_tier: + The value to assign to the subscription_tier property of this ClassicSubscription. + :type subscription_tier: str + + :param is_government_subscription: + The value to assign to the is_government_subscription property of this ClassicSubscription. + :type is_government_subscription: bool + + :param promotion: + The value to assign to the promotion property of this ClassicSubscription. + :type promotion: list[oci.tenant_manager_control_plane.models.Promotion] + + :param purchase_entitlement_id: + The value to assign to the purchase_entitlement_id property of this ClassicSubscription. + :type purchase_entitlement_id: str + + :param start_date: + The value to assign to the start_date property of this ClassicSubscription. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this ClassicSubscription. + :type end_date: datetime + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'classic_subscription_id': 'str', + 'is_classic_subscription': 'bool', + 'payment_model': 'str', + 'region_assignment': 'str', + 'lifecycle_state': 'str', + 'skus': 'list[SubscriptionSku]', + 'program_type': 'str', + 'customer_country_code': 'str', + 'cloud_amount_currency': 'str', + 'csi_number': 'str', + 'subscription_tier': 'str', + 'is_government_subscription': 'bool', + 'promotion': 'list[Promotion]', + 'purchase_entitlement_id': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'classic_subscription_id': 'classicSubscriptionId', + 'is_classic_subscription': 'isClassicSubscription', + 'payment_model': 'paymentModel', + 'region_assignment': 'regionAssignment', + 'lifecycle_state': 'lifecycleState', + 'skus': 'skus', + 'program_type': 'programType', + 'customer_country_code': 'customerCountryCode', + 'cloud_amount_currency': 'cloudAmountCurrency', + 'csi_number': 'csiNumber', + 'subscription_tier': 'subscriptionTier', + 'is_government_subscription': 'isGovernmentSubscription', + 'promotion': 'promotion', + 'purchase_entitlement_id': 'purchaseEntitlementId', + 'start_date': 'startDate', + 'end_date': 'endDate' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._classic_subscription_id = None + self._is_classic_subscription = None + self._payment_model = None + self._region_assignment = None + self._lifecycle_state = None + self._skus = None + self._program_type = None + self._customer_country_code = None + self._cloud_amount_currency = None + self._csi_number = None + self._subscription_tier = None + self._is_government_subscription = None + self._promotion = None + self._purchase_entitlement_id = None + self._start_date = None + self._end_date = None + self._entity_version = 'V1' + + @property + def classic_subscription_id(self): + """ + **[Required]** Gets the classic_subscription_id of this ClassicSubscription. + Classic subscription ID. + + + :return: The classic_subscription_id of this ClassicSubscription. + :rtype: str + """ + return self._classic_subscription_id + + @classic_subscription_id.setter + def classic_subscription_id(self, classic_subscription_id): + """ + Sets the classic_subscription_id of this ClassicSubscription. + Classic subscription ID. + + + :param classic_subscription_id: The classic_subscription_id of this ClassicSubscription. + :type: str + """ + self._classic_subscription_id = classic_subscription_id + + @property + def is_classic_subscription(self): + """ + Gets the is_classic_subscription of this ClassicSubscription. + Specifies whether or not the subscription is from classic systems. + + + :return: The is_classic_subscription of this ClassicSubscription. + :rtype: bool + """ + return self._is_classic_subscription + + @is_classic_subscription.setter + def is_classic_subscription(self, is_classic_subscription): + """ + Sets the is_classic_subscription of this ClassicSubscription. + Specifies whether or not the subscription is from classic systems. + + + :param is_classic_subscription: The is_classic_subscription of this ClassicSubscription. + :type: bool + """ + self._is_classic_subscription = is_classic_subscription + + @property + def payment_model(self): + """ + Gets the payment_model of this ClassicSubscription. + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + + + :return: The payment_model of this ClassicSubscription. + :rtype: str + """ + return self._payment_model + + @payment_model.setter + def payment_model(self, payment_model): + """ + Sets the payment_model of this ClassicSubscription. + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + + + :param payment_model: The payment_model of this ClassicSubscription. + :type: str + """ + self._payment_model = payment_model + + @property + def region_assignment(self): + """ + Gets the region_assignment of this ClassicSubscription. + Region for the subscription. + + + :return: The region_assignment of this ClassicSubscription. + :rtype: str + """ + return self._region_assignment + + @region_assignment.setter + def region_assignment(self, region_assignment): + """ + Sets the region_assignment of this ClassicSubscription. + Region for the subscription. + + + :param region_assignment: The region_assignment of this ClassicSubscription. + :type: str + """ + self._region_assignment = region_assignment + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this ClassicSubscription. + Lifecycle state of the subscription. + + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this ClassicSubscription. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this ClassicSubscription. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this ClassicSubscription. + :type: str + """ + allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + @property + def skus(self): + """ + Gets the skus of this ClassicSubscription. + List of SKUs linked to this subscription. + + + :return: The skus of this ClassicSubscription. + :rtype: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + """ + return self._skus + + @skus.setter + def skus(self, skus): + """ + Sets the skus of this ClassicSubscription. + List of SKUs linked to this subscription. + + + :param skus: The skus of this ClassicSubscription. + :type: list[oci.tenant_manager_control_plane.models.SubscriptionSku] + """ + self._skus = skus + + @property + def program_type(self): + """ + Gets the program_type of this ClassicSubscription. + Specifies any program that is associated with the subscription. + + + :return: The program_type of this ClassicSubscription. + :rtype: str + """ + return self._program_type + + @program_type.setter + def program_type(self, program_type): + """ + Sets the program_type of this ClassicSubscription. + Specifies any program that is associated with the subscription. + + + :param program_type: The program_type of this ClassicSubscription. + :type: str + """ + self._program_type = program_type + + @property + def customer_country_code(self): + """ + Gets the customer_country_code of this ClassicSubscription. + The country code for the customer associated with the subscription. + + + :return: The customer_country_code of this ClassicSubscription. + :rtype: str + """ + return self._customer_country_code + + @customer_country_code.setter + def customer_country_code(self, customer_country_code): + """ + Sets the customer_country_code of this ClassicSubscription. + The country code for the customer associated with the subscription. + + + :param customer_country_code: The customer_country_code of this ClassicSubscription. + :type: str + """ + self._customer_country_code = customer_country_code + + @property + def cloud_amount_currency(self): + """ + Gets the cloud_amount_currency of this ClassicSubscription. + The currency code for the customer associated with the subscription. + + + :return: The cloud_amount_currency of this ClassicSubscription. + :rtype: str + """ + return self._cloud_amount_currency + + @cloud_amount_currency.setter + def cloud_amount_currency(self, cloud_amount_currency): + """ + Sets the cloud_amount_currency of this ClassicSubscription. + The currency code for the customer associated with the subscription. + + + :param cloud_amount_currency: The cloud_amount_currency of this ClassicSubscription. + :type: str + """ + self._cloud_amount_currency = cloud_amount_currency + + @property + def csi_number(self): + """ + Gets the csi_number of this ClassicSubscription. + Customer service identifier for the customer associated with the subscription. + + + :return: The csi_number of this ClassicSubscription. + :rtype: str + """ + return self._csi_number + + @csi_number.setter + def csi_number(self, csi_number): + """ + Sets the csi_number of this ClassicSubscription. + Customer service identifier for the customer associated with the subscription. + + + :param csi_number: The csi_number of this ClassicSubscription. + :type: str + """ + self._csi_number = csi_number + + @property + def subscription_tier(self): + """ + Gets the subscription_tier of this ClassicSubscription. + Tier for the subscription, whether a free promotion subscription or a paid subscription. + + + :return: The subscription_tier of this ClassicSubscription. + :rtype: str + """ + return self._subscription_tier + + @subscription_tier.setter + def subscription_tier(self, subscription_tier): + """ + Sets the subscription_tier of this ClassicSubscription. + Tier for the subscription, whether a free promotion subscription or a paid subscription. + + + :param subscription_tier: The subscription_tier of this ClassicSubscription. + :type: str + """ + self._subscription_tier = subscription_tier + + @property + def is_government_subscription(self): + """ + Gets the is_government_subscription of this ClassicSubscription. + Specifies whether or not the subscription is a government subscription. + + + :return: The is_government_subscription of this ClassicSubscription. + :rtype: bool + """ + return self._is_government_subscription + + @is_government_subscription.setter + def is_government_subscription(self, is_government_subscription): + """ + Sets the is_government_subscription of this ClassicSubscription. + Specifies whether or not the subscription is a government subscription. + + + :param is_government_subscription: The is_government_subscription of this ClassicSubscription. + :type: bool + """ + self._is_government_subscription = is_government_subscription + + @property + def promotion(self): + """ + Gets the promotion of this ClassicSubscription. + List of promotions related to the subscription. + + + :return: The promotion of this ClassicSubscription. + :rtype: list[oci.tenant_manager_control_plane.models.Promotion] + """ + return self._promotion + + @promotion.setter + def promotion(self, promotion): + """ + Sets the promotion of this ClassicSubscription. + List of promotions related to the subscription. + + + :param promotion: The promotion of this ClassicSubscription. + :type: list[oci.tenant_manager_control_plane.models.Promotion] + """ + self._promotion = promotion + + @property + def purchase_entitlement_id(self): + """ + Gets the purchase_entitlement_id of this ClassicSubscription. + Purchase entitlement ID associated with the subscription. + + + :return: The purchase_entitlement_id of this ClassicSubscription. + :rtype: str + """ + return self._purchase_entitlement_id + + @purchase_entitlement_id.setter + def purchase_entitlement_id(self, purchase_entitlement_id): + """ + Sets the purchase_entitlement_id of this ClassicSubscription. + Purchase entitlement ID associated with the subscription. + + + :param purchase_entitlement_id: The purchase_entitlement_id of this ClassicSubscription. + :type: str + """ + self._purchase_entitlement_id = purchase_entitlement_id + + @property + def start_date(self): + """ + Gets the start_date of this ClassicSubscription. + Subscription start time. + + + :return: The start_date of this ClassicSubscription. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this ClassicSubscription. + Subscription start time. + + + :param start_date: The start_date of this ClassicSubscription. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this ClassicSubscription. + Subscription end time. + + + :return: The end_date of this ClassicSubscription. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this ClassicSubscription. + Subscription end time. + + + :param end_date: The end_date of this ClassicSubscription. + :type: datetime + """ + self._end_date = end_date + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/classic_subscription_summary.py b/src/oci/tenant_manager_control_plane/models/classic_subscription_summary.py new file mode 100644 index 0000000000..91f62927f1 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/classic_subscription_summary.py @@ -0,0 +1,354 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .subscription_summary import SubscriptionSummary +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ClassicSubscriptionSummary(SubscriptionSummary): + """ + Summary of subscription. + """ + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "UPDATING" + LIFECYCLE_STATE_UPDATING = "UPDATING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "DELETING" + LIFECYCLE_STATE_DELETING = "DELETING" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "DELETED" + LIFECYCLE_STATE_DELETED = "DELETED" + + #: A constant which can be used with the lifecycle_state property of a ClassicSubscriptionSummary. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + def __init__(self, **kwargs): + """ + Initializes a new ClassicSubscriptionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary.entity_version` attribute + of this class is ``V1`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this ClassicSubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this ClassicSubscriptionSummary. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this ClassicSubscriptionSummary. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this ClassicSubscriptionSummary. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this ClassicSubscriptionSummary. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this ClassicSubscriptionSummary. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this ClassicSubscriptionSummary. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this ClassicSubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) + + :param classic_subscription_id: + The value to assign to the classic_subscription_id property of this ClassicSubscriptionSummary. + :type classic_subscription_id: str + + :param is_classic_subscription: + The value to assign to the is_classic_subscription property of this ClassicSubscriptionSummary. + :type is_classic_subscription: bool + + :param payment_model: + The value to assign to the payment_model property of this ClassicSubscriptionSummary. + :type payment_model: str + + :param region_assignment: + The value to assign to the region_assignment property of this ClassicSubscriptionSummary. + :type region_assignment: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this ClassicSubscriptionSummary. + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + :param start_date: + The value to assign to the start_date property of this ClassicSubscriptionSummary. + :type start_date: datetime + + :param end_date: + The value to assign to the end_date property of this ClassicSubscriptionSummary. + :type end_date: datetime + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'classic_subscription_id': 'str', + 'is_classic_subscription': 'bool', + 'payment_model': 'str', + 'region_assignment': 'str', + 'lifecycle_state': 'str', + 'start_date': 'datetime', + 'end_date': 'datetime' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'classic_subscription_id': 'classicSubscriptionId', + 'is_classic_subscription': 'isClassicSubscription', + 'payment_model': 'paymentModel', + 'region_assignment': 'regionAssignment', + 'lifecycle_state': 'lifecycleState', + 'start_date': 'startDate', + 'end_date': 'endDate' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._classic_subscription_id = None + self._is_classic_subscription = None + self._payment_model = None + self._region_assignment = None + self._lifecycle_state = None + self._start_date = None + self._end_date = None + self._entity_version = 'V1' + + @property + def classic_subscription_id(self): + """ + **[Required]** Gets the classic_subscription_id of this ClassicSubscriptionSummary. + Classic subscription ID. + + + :return: The classic_subscription_id of this ClassicSubscriptionSummary. + :rtype: str + """ + return self._classic_subscription_id + + @classic_subscription_id.setter + def classic_subscription_id(self, classic_subscription_id): + """ + Sets the classic_subscription_id of this ClassicSubscriptionSummary. + Classic subscription ID. + + + :param classic_subscription_id: The classic_subscription_id of this ClassicSubscriptionSummary. + :type: str + """ + self._classic_subscription_id = classic_subscription_id + + @property + def is_classic_subscription(self): + """ + Gets the is_classic_subscription of this ClassicSubscriptionSummary. + Specifies whether or not the subscription is from classic systems. + + + :return: The is_classic_subscription of this ClassicSubscriptionSummary. + :rtype: bool + """ + return self._is_classic_subscription + + @is_classic_subscription.setter + def is_classic_subscription(self, is_classic_subscription): + """ + Sets the is_classic_subscription of this ClassicSubscriptionSummary. + Specifies whether or not the subscription is from classic systems. + + + :param is_classic_subscription: The is_classic_subscription of this ClassicSubscriptionSummary. + :type: bool + """ + self._is_classic_subscription = is_classic_subscription + + @property + def payment_model(self): + """ + Gets the payment_model of this ClassicSubscriptionSummary. + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + + + :return: The payment_model of this ClassicSubscriptionSummary. + :rtype: str + """ + return self._payment_model + + @payment_model.setter + def payment_model(self, payment_model): + """ + Sets the payment_model of this ClassicSubscriptionSummary. + The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + + + :param payment_model: The payment_model of this ClassicSubscriptionSummary. + :type: str + """ + self._payment_model = payment_model + + @property + def region_assignment(self): + """ + Gets the region_assignment of this ClassicSubscriptionSummary. + Region for the subscription. + + + :return: The region_assignment of this ClassicSubscriptionSummary. + :rtype: str + """ + return self._region_assignment + + @region_assignment.setter + def region_assignment(self, region_assignment): + """ + Sets the region_assignment of this ClassicSubscriptionSummary. + Region for the subscription. + + + :param region_assignment: The region_assignment of this ClassicSubscriptionSummary. + :type: str + """ + self._region_assignment = region_assignment + + @property + def lifecycle_state(self): + """ + Gets the lifecycle_state of this ClassicSubscriptionSummary. + Lifecycle state of the subscription. + + Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this ClassicSubscriptionSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this ClassicSubscriptionSummary. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this ClassicSubscriptionSummary. + :type: str + """ + allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + @property + def start_date(self): + """ + Gets the start_date of this ClassicSubscriptionSummary. + Subscription start time. + + + :return: The start_date of this ClassicSubscriptionSummary. + :rtype: datetime + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """ + Sets the start_date of this ClassicSubscriptionSummary. + Subscription start time. + + + :param start_date: The start_date of this ClassicSubscriptionSummary. + :type: datetime + """ + self._start_date = start_date + + @property + def end_date(self): + """ + Gets the end_date of this ClassicSubscriptionSummary. + Subscription end time. + + + :return: The end_date of this ClassicSubscriptionSummary. + :rtype: datetime + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """ + Sets the end_date of this ClassicSubscriptionSummary. + Subscription end time. + + + :param end_date: The end_date of this ClassicSubscriptionSummary. + :type: datetime + """ + self._end_date = end_date + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription.py b/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription.py new file mode 100644 index 0000000000..72357f6e4f --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription.py @@ -0,0 +1,222 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .assigned_subscription import AssignedSubscription +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CloudAssignedSubscription(AssignedSubscription): + """ + Assigned subscription information. + """ + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscription. + #: This constant has a value of "NEEDS_ATTENTION" + LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscription. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscription. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscription. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscription. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + def __init__(self, **kwargs): + """ + Initializes a new CloudAssignedSubscription object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.CloudAssignedSubscription.entity_version` attribute + of this class is ``V2`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this CloudAssignedSubscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this CloudAssignedSubscription. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this CloudAssignedSubscription. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this CloudAssignedSubscription. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this CloudAssignedSubscription. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this CloudAssignedSubscription. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this CloudAssignedSubscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CloudAssignedSubscription. + :type defined_tags: dict(str, dict(str, object)) + + :param subscription_number: + The value to assign to the subscription_number property of this CloudAssignedSubscription. + :type subscription_number: str + + :param currency_code: + The value to assign to the currency_code property of this CloudAssignedSubscription. + :type currency_code: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this CloudAssignedSubscription. + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'subscription_number': 'str', + 'currency_code': 'str', + 'lifecycle_state': 'str' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'subscription_number': 'subscriptionNumber', + 'currency_code': 'currencyCode', + 'lifecycle_state': 'lifecycleState' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._subscription_number = None + self._currency_code = None + self._lifecycle_state = None + self._entity_version = 'V2' + + @property + def subscription_number(self): + """ + **[Required]** Gets the subscription_number of this CloudAssignedSubscription. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :return: The subscription_number of this CloudAssignedSubscription. + :rtype: str + """ + return self._subscription_number + + @subscription_number.setter + def subscription_number(self, subscription_number): + """ + Sets the subscription_number of this CloudAssignedSubscription. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :param subscription_number: The subscription_number of this CloudAssignedSubscription. + :type: str + """ + self._subscription_number = subscription_number + + @property + def currency_code(self): + """ + **[Required]** Gets the currency_code of this CloudAssignedSubscription. + Currency code. For example USD, MXN. + + + :return: The currency_code of this CloudAssignedSubscription. + :rtype: str + """ + return self._currency_code + + @currency_code.setter + def currency_code(self, currency_code): + """ + Sets the currency_code of this CloudAssignedSubscription. + Currency code. For example USD, MXN. + + + :param currency_code: The currency_code of this CloudAssignedSubscription. + :type: str + """ + self._currency_code = currency_code + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this CloudAssignedSubscription. + Lifecycle state of the subscription. + + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this CloudAssignedSubscription. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this CloudAssignedSubscription. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this CloudAssignedSubscription. + :type: str + """ + allowed_values = ["NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py b/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py new file mode 100644 index 0000000000..244e014372 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py @@ -0,0 +1,222 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .assigned_subscription_summary import AssignedSubscriptionSummary +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CloudAssignedSubscriptionSummary(AssignedSubscriptionSummary): + """ + Summary of assigned subscription information. + """ + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscriptionSummary. + #: This constant has a value of "NEEDS_ATTENTION" + LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscriptionSummary. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscriptionSummary. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscriptionSummary. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + #: A constant which can be used with the lifecycle_state property of a CloudAssignedSubscriptionSummary. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + def __init__(self, **kwargs): + """ + Initializes a new CloudAssignedSubscriptionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.CloudAssignedSubscriptionSummary.entity_version` attribute + of this class is ``V2`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this CloudAssignedSubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this CloudAssignedSubscriptionSummary. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this CloudAssignedSubscriptionSummary. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this CloudAssignedSubscriptionSummary. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this CloudAssignedSubscriptionSummary. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this CloudAssignedSubscriptionSummary. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this CloudAssignedSubscriptionSummary. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CloudAssignedSubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) + + :param subscription_number: + The value to assign to the subscription_number property of this CloudAssignedSubscriptionSummary. + :type subscription_number: str + + :param currency_code: + The value to assign to the currency_code property of this CloudAssignedSubscriptionSummary. + :type currency_code: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this CloudAssignedSubscriptionSummary. + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'subscription_number': 'str', + 'currency_code': 'str', + 'lifecycle_state': 'str' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'subscription_number': 'subscriptionNumber', + 'currency_code': 'currencyCode', + 'lifecycle_state': 'lifecycleState' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._subscription_number = None + self._currency_code = None + self._lifecycle_state = None + self._entity_version = 'V2' + + @property + def subscription_number(self): + """ + **[Required]** Gets the subscription_number of this CloudAssignedSubscriptionSummary. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :return: The subscription_number of this CloudAssignedSubscriptionSummary. + :rtype: str + """ + return self._subscription_number + + @subscription_number.setter + def subscription_number(self, subscription_number): + """ + Sets the subscription_number of this CloudAssignedSubscriptionSummary. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :param subscription_number: The subscription_number of this CloudAssignedSubscriptionSummary. + :type: str + """ + self._subscription_number = subscription_number + + @property + def currency_code(self): + """ + **[Required]** Gets the currency_code of this CloudAssignedSubscriptionSummary. + Currency code. For example USD, MXN. + + + :return: The currency_code of this CloudAssignedSubscriptionSummary. + :rtype: str + """ + return self._currency_code + + @currency_code.setter + def currency_code(self, currency_code): + """ + Sets the currency_code of this CloudAssignedSubscriptionSummary. + Currency code. For example USD, MXN. + + + :param currency_code: The currency_code of this CloudAssignedSubscriptionSummary. + :type: str + """ + self._currency_code = currency_code + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this CloudAssignedSubscriptionSummary. + Lifecycle state of the subscription. + + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this CloudAssignedSubscriptionSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this CloudAssignedSubscriptionSummary. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this CloudAssignedSubscriptionSummary. + :type: str + """ + allowed_values = ["NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/cloud_subscription.py b/src/oci/tenant_manager_control_plane/models/cloud_subscription.py new file mode 100644 index 0000000000..b4a7d79f6f --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/cloud_subscription.py @@ -0,0 +1,222 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .subscription import Subscription +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CloudSubscription(Subscription): + """ + Subscription information for compartment ID. Only root compartments are allowed. + """ + + #: A constant which can be used with the lifecycle_state property of a CloudSubscription. + #: This constant has a value of "NEEDS_ATTENTION" + LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscription. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscription. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscription. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscription. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + def __init__(self, **kwargs): + """ + Initializes a new CloudSubscription object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.CloudSubscription.entity_version` attribute + of this class is ``V2`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this CloudSubscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this CloudSubscription. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this CloudSubscription. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this CloudSubscription. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this CloudSubscription. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this CloudSubscription. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this CloudSubscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CloudSubscription. + :type defined_tags: dict(str, dict(str, object)) + + :param subscription_number: + The value to assign to the subscription_number property of this CloudSubscription. + :type subscription_number: str + + :param currency_code: + The value to assign to the currency_code property of this CloudSubscription. + :type currency_code: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this CloudSubscription. + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'subscription_number': 'str', + 'currency_code': 'str', + 'lifecycle_state': 'str' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'subscription_number': 'subscriptionNumber', + 'currency_code': 'currencyCode', + 'lifecycle_state': 'lifecycleState' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._subscription_number = None + self._currency_code = None + self._lifecycle_state = None + self._entity_version = 'V2' + + @property + def subscription_number(self): + """ + **[Required]** Gets the subscription_number of this CloudSubscription. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :return: The subscription_number of this CloudSubscription. + :rtype: str + """ + return self._subscription_number + + @subscription_number.setter + def subscription_number(self, subscription_number): + """ + Sets the subscription_number of this CloudSubscription. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :param subscription_number: The subscription_number of this CloudSubscription. + :type: str + """ + self._subscription_number = subscription_number + + @property + def currency_code(self): + """ + **[Required]** Gets the currency_code of this CloudSubscription. + Currency code. For example USD, MXN. + + + :return: The currency_code of this CloudSubscription. + :rtype: str + """ + return self._currency_code + + @currency_code.setter + def currency_code(self, currency_code): + """ + Sets the currency_code of this CloudSubscription. + Currency code. For example USD, MXN. + + + :param currency_code: The currency_code of this CloudSubscription. + :type: str + """ + self._currency_code = currency_code + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this CloudSubscription. + Lifecycle state of the subscription. + + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this CloudSubscription. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this CloudSubscription. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this CloudSubscription. + :type: str + """ + allowed_values = ["NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/cloud_subscription_summary.py b/src/oci/tenant_manager_control_plane/models/cloud_subscription_summary.py new file mode 100644 index 0000000000..87e71ea7ff --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/cloud_subscription_summary.py @@ -0,0 +1,222 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + +from .subscription_summary import SubscriptionSummary +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class CloudSubscriptionSummary(SubscriptionSummary): + """ + Summary of subscription. + """ + + #: A constant which can be used with the lifecycle_state property of a CloudSubscriptionSummary. + #: This constant has a value of "NEEDS_ATTENTION" + LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscriptionSummary. + #: This constant has a value of "ACTIVE" + LIFECYCLE_STATE_ACTIVE = "ACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscriptionSummary. + #: This constant has a value of "INACTIVE" + LIFECYCLE_STATE_INACTIVE = "INACTIVE" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscriptionSummary. + #: This constant has a value of "FAILED" + LIFECYCLE_STATE_FAILED = "FAILED" + + #: A constant which can be used with the lifecycle_state property of a CloudSubscriptionSummary. + #: This constant has a value of "CREATING" + LIFECYCLE_STATE_CREATING = "CREATING" + + def __init__(self, **kwargs): + """ + Initializes a new CloudSubscriptionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.CloudSubscriptionSummary.entity_version` attribute + of this class is ``V2`` and it should not be changed. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param entity_version: + The value to assign to the entity_version property of this CloudSubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + + :param id: + The value to assign to the id property of this CloudSubscriptionSummary. + :type id: str + + :param compartment_id: + The value to assign to the compartment_id property of this CloudSubscriptionSummary. + :type compartment_id: str + + :param service_name: + The value to assign to the service_name property of this CloudSubscriptionSummary. + :type service_name: str + + :param time_created: + The value to assign to the time_created property of this CloudSubscriptionSummary. + :type time_created: datetime + + :param time_updated: + The value to assign to the time_updated property of this CloudSubscriptionSummary. + :type time_updated: datetime + + :param freeform_tags: + The value to assign to the freeform_tags property of this CloudSubscriptionSummary. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this CloudSubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) + + :param subscription_number: + The value to assign to the subscription_number property of this CloudSubscriptionSummary. + :type subscription_number: str + + :param currency_code: + The value to assign to the currency_code property of this CloudSubscriptionSummary. + :type currency_code: str + + :param lifecycle_state: + The value to assign to the lifecycle_state property of this CloudSubscriptionSummary. + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type lifecycle_state: str + + """ + self.swagger_types = { + 'entity_version': 'str', + 'id': 'str', + 'compartment_id': 'str', + 'service_name': 'str', + 'time_created': 'datetime', + 'time_updated': 'datetime', + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))', + 'subscription_number': 'str', + 'currency_code': 'str', + 'lifecycle_state': 'str' + } + + self.attribute_map = { + 'entity_version': 'entityVersion', + 'id': 'id', + 'compartment_id': 'compartmentId', + 'service_name': 'serviceName', + 'time_created': 'timeCreated', + 'time_updated': 'timeUpdated', + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags', + 'subscription_number': 'subscriptionNumber', + 'currency_code': 'currencyCode', + 'lifecycle_state': 'lifecycleState' + } + + self._entity_version = None + self._id = None + self._compartment_id = None + self._service_name = None + self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + self._subscription_number = None + self._currency_code = None + self._lifecycle_state = None + self._entity_version = 'V2' + + @property + def subscription_number(self): + """ + **[Required]** Gets the subscription_number of this CloudSubscriptionSummary. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :return: The subscription_number of this CloudSubscriptionSummary. + :rtype: str + """ + return self._subscription_number + + @subscription_number.setter + def subscription_number(self, subscription_number): + """ + Sets the subscription_number of this CloudSubscriptionSummary. + Unique Oracle Cloud Subscriptions identifier that is immutable on creation. + + + :param subscription_number: The subscription_number of this CloudSubscriptionSummary. + :type: str + """ + self._subscription_number = subscription_number + + @property + def currency_code(self): + """ + **[Required]** Gets the currency_code of this CloudSubscriptionSummary. + Currency code. For example USD, MXN. + + + :return: The currency_code of this CloudSubscriptionSummary. + :rtype: str + """ + return self._currency_code + + @currency_code.setter + def currency_code(self, currency_code): + """ + Sets the currency_code of this CloudSubscriptionSummary. + Currency code. For example USD, MXN. + + + :param currency_code: The currency_code of this CloudSubscriptionSummary. + :type: str + """ + self._currency_code = currency_code + + @property + def lifecycle_state(self): + """ + **[Required]** Gets the lifecycle_state of this CloudSubscriptionSummary. + Lifecycle state of the subscription. + + Allowed values for this property are: "NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The lifecycle_state of this CloudSubscriptionSummary. + :rtype: str + """ + return self._lifecycle_state + + @lifecycle_state.setter + def lifecycle_state(self, lifecycle_state): + """ + Sets the lifecycle_state of this CloudSubscriptionSummary. + Lifecycle state of the subscription. + + + :param lifecycle_state: The lifecycle_state of this CloudSubscriptionSummary. + :type: str + """ + allowed_values = ["NEEDS_ATTENTION", "ACTIVE", "INACTIVE", "FAILED", "CREATING"] + if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): + lifecycle_state = 'UNKNOWN_ENUM_VALUE' + self._lifecycle_state = lifecycle_state + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/create_child_tenancy_details.py b/src/oci/tenant_manager_control_plane/models/create_child_tenancy_details.py index 3975bd3773..2ba1f57dec 100644 --- a/src/oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +++ b/src/oci/tenant_manager_control_plane/models/create_child_tenancy_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/create_domain_details.py b/src/oci/tenant_manager_control_plane/models/create_domain_details.py index 5e8928f4ce..6126d8bd72 100644 --- a/src/oci/tenant_manager_control_plane/models/create_domain_details.py +++ b/src/oci/tenant_manager_control_plane/models/create_domain_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/create_domain_governance_details.py b/src/oci/tenant_manager_control_plane/models/create_domain_governance_details.py index ce65fc9b0d..29115dd3bf 100644 --- a/src/oci/tenant_manager_control_plane/models/create_domain_governance_details.py +++ b/src/oci/tenant_manager_control_plane/models/create_domain_governance_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/create_sender_invitation_details.py b/src/oci/tenant_manager_control_plane/models/create_sender_invitation_details.py index ff78ea6ba6..1d6ca7e0c8 100644 --- a/src/oci/tenant_manager_control_plane/models/create_sender_invitation_details.py +++ b/src/oci/tenant_manager_control_plane/models/create_sender_invitation_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/create_subscription_mapping_details.py b/src/oci/tenant_manager_control_plane/models/create_subscription_mapping_details.py index d29328c85d..9af16218cd 100644 --- a/src/oci/tenant_manager_control_plane/models/create_subscription_mapping_details.py +++ b/src/oci/tenant_manager_control_plane/models/create_subscription_mapping_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -70,7 +70,7 @@ def compartment_id(self, compartment_id): def subscription_id(self): """ **[Required]** Gets the subscription_id of this CreateSubscriptionMappingDetails. - OCID of subscription. + OCID of Subscription. :return: The subscription_id of this CreateSubscriptionMappingDetails. @@ -82,7 +82,7 @@ def subscription_id(self): def subscription_id(self, subscription_id): """ Sets the subscription_id of this CreateSubscriptionMappingDetails. - OCID of subscription. + OCID of Subscription. :param subscription_id: The subscription_id of this CreateSubscriptionMappingDetails. diff --git a/src/oci/tenant_manager_control_plane/models/domain.py b/src/oci/tenant_manager_control_plane/models/domain.py index 463fb68880..b7515802f2 100644 --- a/src/oci/tenant_manager_control_plane/models/domain.py +++ b/src/oci/tenant_manager_control_plane/models/domain.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/domain_collection.py b/src/oci/tenant_manager_control_plane/models/domain_collection.py index b8772cf412..7ae74afd72 100644 --- a/src/oci/tenant_manager_control_plane/models/domain_collection.py +++ b/src/oci/tenant_manager_control_plane/models/domain_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/domain_governance.py b/src/oci/tenant_manager_control_plane/models/domain_governance.py index 4d24784c18..f67d78ba6b 100644 --- a/src/oci/tenant_manager_control_plane/models/domain_governance.py +++ b/src/oci/tenant_manager_control_plane/models/domain_governance.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/domain_governance_collection.py b/src/oci/tenant_manager_control_plane/models/domain_governance_collection.py index 030b71a3d4..4ca01f4789 100644 --- a/src/oci/tenant_manager_control_plane/models/domain_governance_collection.py +++ b/src/oci/tenant_manager_control_plane/models/domain_governance_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/domain_governance_summary.py b/src/oci/tenant_manager_control_plane/models/domain_governance_summary.py index 7ee3d373fc..3b18d39e0e 100644 --- a/src/oci/tenant_manager_control_plane/models/domain_governance_summary.py +++ b/src/oci/tenant_manager_control_plane/models/domain_governance_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/domain_summary.py b/src/oci/tenant_manager_control_plane/models/domain_summary.py index d394cbef0b..014ba2440c 100644 --- a/src/oci/tenant_manager_control_plane/models/domain_summary.py +++ b/src/oci/tenant_manager_control_plane/models/domain_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/link.py b/src/oci/tenant_manager_control_plane/models/link.py index d457a13efa..9ca5fd7d08 100644 --- a/src/oci/tenant_manager_control_plane/models/link.py +++ b/src/oci/tenant_manager_control_plane/models/link.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/link_collection.py b/src/oci/tenant_manager_control_plane/models/link_collection.py index c2a932aaa5..56e45a158a 100644 --- a/src/oci/tenant_manager_control_plane/models/link_collection.py +++ b/src/oci/tenant_manager_control_plane/models/link_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/link_summary.py b/src/oci/tenant_manager_control_plane/models/link_summary.py index 817dce5fc3..09e8ff2d88 100644 --- a/src/oci/tenant_manager_control_plane/models/link_summary.py +++ b/src/oci/tenant_manager_control_plane/models/link_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/order.py b/src/oci/tenant_manager_control_plane/models/order.py index 036c3caf7a..0e637e9c21 100644 --- a/src/oci/tenant_manager_control_plane/models/order.py +++ b/src/oci/tenant_manager_control_plane/models/order.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization.py b/src/oci/tenant_manager_control_plane/models/organization.py index 9bbbfe03ef..003bc132a3 100644 --- a/src/oci/tenant_manager_control_plane/models/organization.py +++ b/src/oci/tenant_manager_control_plane/models/organization.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization_collection.py b/src/oci/tenant_manager_control_plane/models/organization_collection.py index 1cd73780ed..ea4fd1e2db 100644 --- a/src/oci/tenant_manager_control_plane/models/organization_collection.py +++ b/src/oci/tenant_manager_control_plane/models/organization_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization_summary.py b/src/oci/tenant_manager_control_plane/models/organization_summary.py index 98750a8f03..3786006829 100644 --- a/src/oci/tenant_manager_control_plane/models/organization_summary.py +++ b/src/oci/tenant_manager_control_plane/models/organization_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization_tenancy.py b/src/oci/tenant_manager_control_plane/models/organization_tenancy.py index 65924ad6ad..69e3bf90d8 100644 --- a/src/oci/tenant_manager_control_plane/models/organization_tenancy.py +++ b/src/oci/tenant_manager_control_plane/models/organization_tenancy.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization_tenancy_collection.py b/src/oci/tenant_manager_control_plane/models/organization_tenancy_collection.py index 2df43a0e9c..569cea71dd 100644 --- a/src/oci/tenant_manager_control_plane/models/organization_tenancy_collection.py +++ b/src/oci/tenant_manager_control_plane/models/organization_tenancy_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/organization_tenancy_summary.py b/src/oci/tenant_manager_control_plane/models/organization_tenancy_summary.py index 34408da7ee..c5c2810a51 100644 --- a/src/oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +++ b/src/oci/tenant_manager_control_plane/models/organization_tenancy_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/promotion.py b/src/oci/tenant_manager_control_plane/models/promotion.py index c072dc122a..c7891afe1b 100644 --- a/src/oci/tenant_manager_control_plane/models/promotion.py +++ b/src/oci/tenant_manager_control_plane/models/promotion.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -150,7 +150,7 @@ def duration_unit(self, duration_unit): def amount(self): """ Gets the amount of this Promotion. - If a subscription is present, indicates the total amount of promotional subscription credit. + If a subscription is present, indicates the total amount of promotional subscription credits. :return: The amount of this Promotion. @@ -162,7 +162,7 @@ def amount(self): def amount(self, amount): """ Sets the amount of this Promotion. - If a subscription is present, indicates the total amount of promotional subscription credit. + If a subscription is present, indicates the total amount of promotional subscription credits. :param amount: The amount of this Promotion. diff --git a/src/oci/tenant_manager_control_plane/models/recipient_invitation.py b/src/oci/tenant_manager_control_plane/models/recipient_invitation.py index 35eacb0872..18ae33144f 100644 --- a/src/oci/tenant_manager_control_plane/models/recipient_invitation.py +++ b/src/oci/tenant_manager_control_plane/models/recipient_invitation.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/recipient_invitation_collection.py b/src/oci/tenant_manager_control_plane/models/recipient_invitation_collection.py index 06e4e82378..f66fe091db 100644 --- a/src/oci/tenant_manager_control_plane/models/recipient_invitation_collection.py +++ b/src/oci/tenant_manager_control_plane/models/recipient_invitation_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/recipient_invitation_summary.py b/src/oci/tenant_manager_control_plane/models/recipient_invitation_summary.py index 787115f7c2..e8eb9a761f 100644 --- a/src/oci/tenant_manager_control_plane/models/recipient_invitation_summary.py +++ b/src/oci/tenant_manager_control_plane/models/recipient_invitation_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/revive_workflow_instance_details.py b/src/oci/tenant_manager_control_plane/models/revive_workflow_instance_details.py new file mode 100644 index 0000000000..ffe245cc59 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/revive_workflow_instance_details.py @@ -0,0 +1,103 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class ReviveWorkflowInstanceDetails(object): + """ + The parameters for reviving failed workflow + """ + + def __init__(self, **kwargs): + """ + Initializes a new ReviveWorkflowInstanceDetails object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param workflow_instance_id: + The value to assign to the workflow_instance_id property of this ReviveWorkflowInstanceDetails. + :type workflow_instance_id: str + + :param workflow_instance_name: + The value to assign to the workflow_instance_name property of this ReviveWorkflowInstanceDetails. + :type workflow_instance_name: str + + """ + self.swagger_types = { + 'workflow_instance_id': 'str', + 'workflow_instance_name': 'str' + } + + self.attribute_map = { + 'workflow_instance_id': 'workflowInstanceId', + 'workflow_instance_name': 'workflowInstanceName' + } + + self._workflow_instance_id = None + self._workflow_instance_name = None + + @property + def workflow_instance_id(self): + """ + Gets the workflow_instance_id of this ReviveWorkflowInstanceDetails. + Id of failed workflow + + + :return: The workflow_instance_id of this ReviveWorkflowInstanceDetails. + :rtype: str + """ + return self._workflow_instance_id + + @workflow_instance_id.setter + def workflow_instance_id(self, workflow_instance_id): + """ + Sets the workflow_instance_id of this ReviveWorkflowInstanceDetails. + Id of failed workflow + + + :param workflow_instance_id: The workflow_instance_id of this ReviveWorkflowInstanceDetails. + :type: str + """ + self._workflow_instance_id = workflow_instance_id + + @property + def workflow_instance_name(self): + """ + Gets the workflow_instance_name of this ReviveWorkflowInstanceDetails. + Service specific workflow instance name + + + :return: The workflow_instance_name of this ReviveWorkflowInstanceDetails. + :rtype: str + """ + return self._workflow_instance_name + + @workflow_instance_name.setter + def workflow_instance_name(self, workflow_instance_name): + """ + Sets the workflow_instance_name of this ReviveWorkflowInstanceDetails. + Service specific workflow instance name + + + :param workflow_instance_name: The workflow_instance_name of this ReviveWorkflowInstanceDetails. + :type: str + """ + self._workflow_instance_name = workflow_instance_name + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/sender_invitation.py b/src/oci/tenant_manager_control_plane/models/sender_invitation.py index c834003012..0ce4a419b0 100644 --- a/src/oci/tenant_manager_control_plane/models/sender_invitation.py +++ b/src/oci/tenant_manager_control_plane/models/sender_invitation.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/sender_invitation_collection.py b/src/oci/tenant_manager_control_plane/models/sender_invitation_collection.py index 9faeab0306..768128c47c 100644 --- a/src/oci/tenant_manager_control_plane/models/sender_invitation_collection.py +++ b/src/oci/tenant_manager_control_plane/models/sender_invitation_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/sender_invitation_summary.py b/src/oci/tenant_manager_control_plane/models/sender_invitation_summary.py index 693204bc40..aaed0241ed 100644 --- a/src/oci/tenant_manager_control_plane/models/sender_invitation_summary.py +++ b/src/oci/tenant_manager_control_plane/models/sender_invitation_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/sku.py b/src/oci/tenant_manager_control_plane/models/sku.py index bb646cfb57..929d70a521 100644 --- a/src/oci/tenant_manager_control_plane/models/sku.py +++ b/src/oci/tenant_manager_control_plane/models/sku.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/subscription.py b/src/oci/tenant_manager_control_plane/models/subscription.py index e7ac8e121a..d6509fc9f4 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription.py +++ b/src/oci/tenant_manager_control_plane/models/subscription.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,50 +12,37 @@ @init_model_state_from_kwargs class Subscription(object): """ - Subscription information for compartmentId. Only root compartments are allowed. + Base subscription type, which carries shared properties for any subscription version. """ - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "CREATING" - LIFECYCLE_STATE_CREATING = "CREATING" + #: A constant which can be used with the entity_version property of a Subscription. + #: This constant has a value of "V1" + ENTITY_VERSION_V1 = "V1" - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "ACTIVE" - LIFECYCLE_STATE_ACTIVE = "ACTIVE" - - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "INACTIVE" - LIFECYCLE_STATE_INACTIVE = "INACTIVE" - - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "UPDATING" - LIFECYCLE_STATE_UPDATING = "UPDATING" - - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "DELETING" - LIFECYCLE_STATE_DELETING = "DELETING" - - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "DELETED" - LIFECYCLE_STATE_DELETED = "DELETED" - - #: A constant which can be used with the lifecycle_state property of a Subscription. - #: This constant has a value of "FAILED" - LIFECYCLE_STATE_FAILED = "FAILED" + #: A constant which can be used with the entity_version property of a Subscription. + #: This constant has a value of "V2" + ENTITY_VERSION_V2 = "V2" def __init__(self, **kwargs): """ - Initializes a new Subscription object with values from keyword arguments. + Initializes a new Subscription object with values from keyword arguments. This class has the following subclasses and if you are using this class as input + to a service operations then you should favor using a subclass over the base class: + + * :class:`~oci.tenant_manager_control_plane.models.ClassicSubscription` + * :class:`~oci.tenant_manager_control_plane.models.CloudSubscription` + The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param entity_version: + The value to assign to the entity_version property of this Subscription. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + :param id: The value to assign to the id property of this Subscription. :type id: str - :param classic_subscription_id: - The value to assign to the classic_subscription_id property of this Subscription. - :type classic_subscription_id: str - :param compartment_id: The value to assign to the compartment_id property of this Subscription. :type compartment_id: str @@ -64,200 +51,135 @@ def __init__(self, **kwargs): The value to assign to the service_name property of this Subscription. :type service_name: str - :param is_classic_subscription: - The value to assign to the is_classic_subscription property of this Subscription. - :type is_classic_subscription: bool - - :param payment_model: - The value to assign to the payment_model property of this Subscription. - :type payment_model: str - - :param region_assignment: - The value to assign to the region_assignment property of this Subscription. - :type region_assignment: str - - :param lifecycle_state: - The value to assign to the lifecycle_state property of this Subscription. - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type lifecycle_state: str - - :param skus: - The value to assign to the skus property of this Subscription. - :type skus: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - - :param program_type: - The value to assign to the program_type property of this Subscription. - :type program_type: str - - :param customer_country_code: - The value to assign to the customer_country_code property of this Subscription. - :type customer_country_code: str - - :param cloud_amount_currency: - The value to assign to the cloud_amount_currency property of this Subscription. - :type cloud_amount_currency: str - - :param csi_number: - The value to assign to the csi_number property of this Subscription. - :type csi_number: str - - :param subscription_tier: - The value to assign to the subscription_tier property of this Subscription. - :type subscription_tier: str - - :param is_government_subscription: - The value to assign to the is_government_subscription property of this Subscription. - :type is_government_subscription: bool - - :param promotion: - The value to assign to the promotion property of this Subscription. - :type promotion: list[oci.tenant_manager_control_plane.models.Promotion] - - :param purchase_entitlement_id: - The value to assign to the purchase_entitlement_id property of this Subscription. - :type purchase_entitlement_id: str - - :param start_date: - The value to assign to the start_date property of this Subscription. - :type start_date: datetime - - :param end_date: - The value to assign to the end_date property of this Subscription. - :type end_date: datetime + :param time_created: + The value to assign to the time_created property of this Subscription. + :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Subscription. :type time_updated: datetime - :param time_created: - The value to assign to the time_created property of this Subscription. - :type time_created: datetime + :param freeform_tags: + The value to assign to the freeform_tags property of this Subscription. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this Subscription. + :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { + 'entity_version': 'str', 'id': 'str', - 'classic_subscription_id': 'str', 'compartment_id': 'str', 'service_name': 'str', - 'is_classic_subscription': 'bool', - 'payment_model': 'str', - 'region_assignment': 'str', - 'lifecycle_state': 'str', - 'skus': 'list[SubscriptionSku]', - 'program_type': 'str', - 'customer_country_code': 'str', - 'cloud_amount_currency': 'str', - 'csi_number': 'str', - 'subscription_tier': 'str', - 'is_government_subscription': 'bool', - 'promotion': 'list[Promotion]', - 'purchase_entitlement_id': 'str', - 'start_date': 'datetime', - 'end_date': 'datetime', + 'time_created': 'datetime', 'time_updated': 'datetime', - 'time_created': 'datetime' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { + 'entity_version': 'entityVersion', 'id': 'id', - 'classic_subscription_id': 'classicSubscriptionId', 'compartment_id': 'compartmentId', 'service_name': 'serviceName', - 'is_classic_subscription': 'isClassicSubscription', - 'payment_model': 'paymentModel', - 'region_assignment': 'regionAssignment', - 'lifecycle_state': 'lifecycleState', - 'skus': 'skus', - 'program_type': 'programType', - 'customer_country_code': 'customerCountryCode', - 'cloud_amount_currency': 'cloudAmountCurrency', - 'csi_number': 'csiNumber', - 'subscription_tier': 'subscriptionTier', - 'is_government_subscription': 'isGovernmentSubscription', - 'promotion': 'promotion', - 'purchase_entitlement_id': 'purchaseEntitlementId', - 'start_date': 'startDate', - 'end_date': 'endDate', + 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', - 'time_created': 'timeCreated' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' } + self._entity_version = None self._id = None - self._classic_subscription_id = None self._compartment_id = None self._service_name = None - self._is_classic_subscription = None - self._payment_model = None - self._region_assignment = None - self._lifecycle_state = None - self._skus = None - self._program_type = None - self._customer_country_code = None - self._cloud_amount_currency = None - self._csi_number = None - self._subscription_tier = None - self._is_government_subscription = None - self._promotion = None - self._purchase_entitlement_id = None - self._start_date = None - self._end_date = None - self._time_updated = None self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + + @staticmethod + def get_subtype(object_dictionary): + """ + Given the hash representation of a subtype of this class, + use the info in the hash to return the class of the subtype. + """ + type = object_dictionary['entityVersion'] + + if type == 'V1': + return 'ClassicSubscription' + + if type == 'V2': + return 'CloudSubscription' + else: + return 'Subscription' @property - def id(self): + def entity_version(self): """ - **[Required]** Gets the id of this Subscription. - OCID of the subscription details for the particular root compartment or tenancy. + **[Required]** Gets the entity_version of this Subscription. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :return: The id of this Subscription. + + :return: The entity_version of this Subscription. :rtype: str """ - return self._id + return self._entity_version - @id.setter - def id(self, id): + @entity_version.setter + def entity_version(self, entity_version): """ - Sets the id of this Subscription. - OCID of the subscription details for the particular root compartment or tenancy. + Sets the entity_version of this Subscription. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). - :param id: The id of this Subscription. + :param entity_version: The entity_version of this Subscription. :type: str """ - self._id = id + allowed_values = ["V1", "V2"] + if not value_allowed_none_or_none_sentinel(entity_version, allowed_values): + entity_version = 'UNKNOWN_ENUM_VALUE' + self._entity_version = entity_version @property - def classic_subscription_id(self): + def id(self): """ - **[Required]** Gets the classic_subscription_id of this Subscription. - Classic subscription ID. + **[Required]** Gets the id of this Subscription. + The Oracle ID (`OCID`__) of the subscription. + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm - :return: The classic_subscription_id of this Subscription. + + :return: The id of this Subscription. :rtype: str """ - return self._classic_subscription_id + return self._id - @classic_subscription_id.setter - def classic_subscription_id(self, classic_subscription_id): + @id.setter + def id(self, id): """ - Sets the classic_subscription_id of this Subscription. - Classic subscription ID. + Sets the id of this Subscription. + The Oracle ID (`OCID`__) of the subscription. + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm - :param classic_subscription_id: The classic_subscription_id of this Subscription. + + :param id: The id of this Subscription. :type: str """ - self._classic_subscription_id = classic_subscription_id + self._id = id @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this Subscription. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Subscription. @@ -269,7 +191,9 @@ def compartment_id(self): def compartment_id(self, compartment_id): """ Sets the compartment_id of this Subscription. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Subscription. @@ -281,7 +205,7 @@ def compartment_id(self, compartment_id): def service_name(self): """ **[Required]** Gets the service_name of this Subscription. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :return: The service_name of this Subscription. @@ -293,7 +217,7 @@ def service_name(self): def service_name(self, service_name): """ Sets the service_name of this Subscription. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :param service_name: The service_name of this Subscription. @@ -302,418 +226,112 @@ def service_name(self, service_name): self._service_name = service_name @property - def is_classic_subscription(self): - """ - Gets the is_classic_subscription of this Subscription. - Denotes if the subscription is from classic systems or not. - - - :return: The is_classic_subscription of this Subscription. - :rtype: bool - """ - return self._is_classic_subscription - - @is_classic_subscription.setter - def is_classic_subscription(self, is_classic_subscription): - """ - Sets the is_classic_subscription of this Subscription. - Denotes if the subscription is from classic systems or not. - - - :param is_classic_subscription: The is_classic_subscription of this Subscription. - :type: bool - """ - self._is_classic_subscription = is_classic_subscription - - @property - def payment_model(self): - """ - Gets the payment_model of this Subscription. - The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. - - - :return: The payment_model of this Subscription. - :rtype: str - """ - return self._payment_model - - @payment_model.setter - def payment_model(self, payment_model): - """ - Sets the payment_model of this Subscription. - The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. - - - :param payment_model: The payment_model of this Subscription. - :type: str - """ - self._payment_model = payment_model - - @property - def region_assignment(self): - """ - Gets the region_assignment of this Subscription. - Region for the subscription. - - - :return: The region_assignment of this Subscription. - :rtype: str - """ - return self._region_assignment - - @region_assignment.setter - def region_assignment(self, region_assignment): - """ - Sets the region_assignment of this Subscription. - Region for the subscription. - - - :param region_assignment: The region_assignment of this Subscription. - :type: str - """ - self._region_assignment = region_assignment - - @property - def lifecycle_state(self): - """ - Gets the lifecycle_state of this Subscription. - Lifecycle state of the subscription. - - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - - - :return: The lifecycle_state of this Subscription. - :rtype: str - """ - return self._lifecycle_state - - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): - """ - Sets the lifecycle_state of this Subscription. - Lifecycle state of the subscription. - - - :param lifecycle_state: The lifecycle_state of this Subscription. - :type: str - """ - allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state - - @property - def skus(self): - """ - Gets the skus of this Subscription. - List of SKUs linked to this subscription. - - - :return: The skus of this Subscription. - :rtype: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - """ - return self._skus - - @skus.setter - def skus(self, skus): - """ - Sets the skus of this Subscription. - List of SKUs linked to this subscription. - - - :param skus: The skus of this Subscription. - :type: list[oci.tenant_manager_control_plane.models.SubscriptionSku] - """ - self._skus = skus - - @property - def program_type(self): - """ - Gets the program_type of this Subscription. - Denotes any program that is associated with the subscription. - - - :return: The program_type of this Subscription. - :rtype: str - """ - return self._program_type - - @program_type.setter - def program_type(self, program_type): - """ - Sets the program_type of this Subscription. - Denotes any program that is associated with the subscription. - - - :param program_type: The program_type of this Subscription. - :type: str - """ - self._program_type = program_type - - @property - def customer_country_code(self): - """ - Gets the customer_country_code of this Subscription. - The country code for the customer associated with the subscription. - - - :return: The customer_country_code of this Subscription. - :rtype: str - """ - return self._customer_country_code - - @customer_country_code.setter - def customer_country_code(self, customer_country_code): - """ - Sets the customer_country_code of this Subscription. - The country code for the customer associated with the subscription. - - - :param customer_country_code: The customer_country_code of this Subscription. - :type: str - """ - self._customer_country_code = customer_country_code - - @property - def cloud_amount_currency(self): - """ - Gets the cloud_amount_currency of this Subscription. - The currency code for the customer associated with the subscription. - - - :return: The cloud_amount_currency of this Subscription. - :rtype: str - """ - return self._cloud_amount_currency - - @cloud_amount_currency.setter - def cloud_amount_currency(self, cloud_amount_currency): - """ - Sets the cloud_amount_currency of this Subscription. - The currency code for the customer associated with the subscription. - - - :param cloud_amount_currency: The cloud_amount_currency of this Subscription. - :type: str - """ - self._cloud_amount_currency = cloud_amount_currency - - @property - def csi_number(self): - """ - Gets the csi_number of this Subscription. - Customer service identifier for the customer associated with the subscription. - - - :return: The csi_number of this Subscription. - :rtype: str - """ - return self._csi_number - - @csi_number.setter - def csi_number(self, csi_number): - """ - Sets the csi_number of this Subscription. - Customer service identifier for the customer associated with the subscription. - - - :param csi_number: The csi_number of this Subscription. - :type: str - """ - self._csi_number = csi_number - - @property - def subscription_tier(self): - """ - Gets the subscription_tier of this Subscription. - Tier for the subscription, whether it is a free promotion subscription or a paid subscription. - - - :return: The subscription_tier of this Subscription. - :rtype: str - """ - return self._subscription_tier - - @subscription_tier.setter - def subscription_tier(self, subscription_tier): - """ - Sets the subscription_tier of this Subscription. - Tier for the subscription, whether it is a free promotion subscription or a paid subscription. - - - :param subscription_tier: The subscription_tier of this Subscription. - :type: str - """ - self._subscription_tier = subscription_tier - - @property - def is_government_subscription(self): - """ - Gets the is_government_subscription of this Subscription. - Denotes whether or not the subscription is a government subscription. - - - :return: The is_government_subscription of this Subscription. - :rtype: bool + def time_created(self): """ - return self._is_government_subscription + **[Required]** Gets the time_created of this Subscription. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @is_government_subscription.setter - def is_government_subscription(self, is_government_subscription): - """ - Sets the is_government_subscription of this Subscription. - Denotes whether or not the subscription is a government subscription. + __ https://tools.ietf.org/rfc/rfc3339 - :param is_government_subscription: The is_government_subscription of this Subscription. - :type: bool - """ - self._is_government_subscription = is_government_subscription - - @property - def promotion(self): + :return: The time_created of this Subscription. + :rtype: datetime """ - Gets the promotion of this Subscription. - List of promotions related to the subscription. - + return self._time_created - :return: The promotion of this Subscription. - :rtype: list[oci.tenant_manager_control_plane.models.Promotion] + @time_created.setter + def time_created(self, time_created): """ - return self._promotion + Sets the time_created of this Subscription. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @promotion.setter - def promotion(self, promotion): - """ - Sets the promotion of this Subscription. - List of promotions related to the subscription. + __ https://tools.ietf.org/rfc/rfc3339 - :param promotion: The promotion of this Subscription. - :type: list[oci.tenant_manager_control_plane.models.Promotion] + :param time_created: The time_created of this Subscription. + :type: datetime """ - self._promotion = promotion + self._time_created = time_created @property - def purchase_entitlement_id(self): - """ - Gets the purchase_entitlement_id of this Subscription. - Purchase entitlement ID associated with the subscription. - - - :return: The purchase_entitlement_id of this Subscription. - :rtype: str - """ - return self._purchase_entitlement_id - - @purchase_entitlement_id.setter - def purchase_entitlement_id(self, purchase_entitlement_id): - """ - Sets the purchase_entitlement_id of this Subscription. - Purchase entitlement ID associated with the subscription. - - - :param purchase_entitlement_id: The purchase_entitlement_id of this Subscription. - :type: str + def time_updated(self): """ - self._purchase_entitlement_id = purchase_entitlement_id + **[Required]** Gets the time_updated of this Subscription. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @property - def start_date(self): - """ - Gets the start_date of this Subscription. - Subscription start time. + __ https://tools.ietf.org/rfc/rfc3339 - :return: The start_date of this Subscription. + :return: The time_updated of this Subscription. :rtype: datetime """ - return self._start_date - - @start_date.setter - def start_date(self, start_date): - """ - Sets the start_date of this Subscription. - Subscription start time. - - - :param start_date: The start_date of this Subscription. - :type: datetime - """ - self._start_date = start_date - - @property - def end_date(self): - """ - Gets the end_date of this Subscription. - Subscription end time. - + return self._time_updated - :return: The end_date of this Subscription. - :rtype: datetime + @time_updated.setter + def time_updated(self, time_updated): """ - return self._end_date + Sets the time_updated of this Subscription. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @end_date.setter - def end_date(self, end_date): - """ - Sets the end_date of this Subscription. - Subscription end time. + __ https://tools.ietf.org/rfc/rfc3339 - :param end_date: The end_date of this Subscription. + :param time_updated: The time_updated of this Subscription. :type: datetime """ - self._end_date = end_date + self._time_updated = time_updated @property - def time_updated(self): + def freeform_tags(self): """ - Gets the time_updated of this Subscription. - Date-time when subscription is updated. + **[Required]** Gets the freeform_tags of this Subscription. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :return: The time_updated of this Subscription. - :rtype: datetime + :return: The freeform_tags of this Subscription. + :rtype: dict(str, str) """ - return self._time_updated + return self._freeform_tags - @time_updated.setter - def time_updated(self, time_updated): + @freeform_tags.setter + def freeform_tags(self, freeform_tags): """ - Sets the time_updated of this Subscription. - Date-time when subscription is updated. + Sets the freeform_tags of this Subscription. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :param time_updated: The time_updated of this Subscription. - :type: datetime + :param freeform_tags: The freeform_tags of this Subscription. + :type: dict(str, str) """ - self._time_updated = time_updated + self._freeform_tags = freeform_tags @property - def time_created(self): + def defined_tags(self): """ - Gets the time_created of this Subscription. - Date-time when subscription is created. + **[Required]** Gets the defined_tags of this Subscription. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :return: The time_created of this Subscription. - :rtype: datetime + :return: The defined_tags of this Subscription. + :rtype: dict(str, dict(str, object)) """ - return self._time_created + return self._defined_tags - @time_created.setter - def time_created(self, time_created): + @defined_tags.setter + def defined_tags(self, defined_tags): """ - Sets the time_created of this Subscription. - Date-time when subscription is created. + Sets the defined_tags of this Subscription. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :param time_created: The time_created of this Subscription. - :type: datetime + :param defined_tags: The defined_tags of this Subscription. + :type: dict(str, dict(str, object)) """ - self._time_created = time_created + self._defined_tags = defined_tags def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/tenant_manager_control_plane/models/subscription_collection.py b/src/oci/tenant_manager_control_plane/models/subscription_collection.py index b79849b3d3..f50f849290 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_collection.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,7 +12,7 @@ @init_model_state_from_kwargs class SubscriptionCollection(object): """ - List of subscriptions. + List of subscription summaries. """ def __init__(self, **kwargs): @@ -39,7 +39,7 @@ def __init__(self, **kwargs): def items(self): """ **[Required]** Gets the items of this SubscriptionCollection. - Array containing subscription items. + Array containing subscription summary items. :return: The items of this SubscriptionCollection. @@ -51,7 +51,7 @@ def items(self): def items(self, items): """ Sets the items of this SubscriptionCollection. - Array containing subscription items. + Array containing subscription summary items. :param items: The items of this SubscriptionCollection. diff --git a/src/oci/tenant_manager_control_plane/models/subscription_info.py b/src/oci/tenant_manager_control_plane/models/subscription_info.py index 979634a68b..118fce169e 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_info.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_info.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/subscription_line_item_collection.py b/src/oci/tenant_manager_control_plane/models/subscription_line_item_collection.py new file mode 100644 index 0000000000..f1c783d272 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/subscription_line_item_collection.py @@ -0,0 +1,72 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class SubscriptionLineItemCollection(object): + """ + Collection of line item summaries in a subscription. + """ + + def __init__(self, **kwargs): + """ + Initializes a new SubscriptionLineItemCollection object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param items: + The value to assign to the items property of this SubscriptionLineItemCollection. + :type items: list[oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary] + + """ + self.swagger_types = { + 'items': 'list[SubscriptionLineItemSummary]' + } + + self.attribute_map = { + 'items': 'items' + } + + self._items = None + + @property + def items(self): + """ + **[Required]** Gets the items of this SubscriptionLineItemCollection. + Array containing line item summaries in a subscription. + + + :return: The items of this SubscriptionLineItemCollection. + :rtype: list[oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this SubscriptionLineItemCollection. + Array containing line item summaries in a subscription. + + + :param items: The items of this SubscriptionLineItemCollection. + :type: list[oci.tenant_manager_control_plane.models.SubscriptionLineItemSummary] + """ + self._items = items + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/subscription_line_item_summary.py b/src/oci/tenant_manager_control_plane/models/subscription_line_item_summary.py new file mode 100644 index 0000000000..74c50393c1 --- /dev/null +++ b/src/oci/tenant_manager_control_plane/models/subscription_line_item_summary.py @@ -0,0 +1,247 @@ +# coding: utf-8 +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 + + +from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 +from oci.decorators import init_model_state_from_kwargs + + +@init_model_state_from_kwargs +class SubscriptionLineItemSummary(object): + """ + Summary of line items in a subscription. + """ + + #: A constant which can be used with the billing_model property of a SubscriptionLineItemSummary. + #: This constant has a value of "COMMITMENT" + BILLING_MODEL_COMMITMENT = "COMMITMENT" + + #: A constant which can be used with the billing_model property of a SubscriptionLineItemSummary. + #: This constant has a value of "PAYGO" + BILLING_MODEL_PAYGO = "PAYGO" + + #: A constant which can be used with the billing_model property of a SubscriptionLineItemSummary. + #: This constant has a value of "PROMOTION" + BILLING_MODEL_PROMOTION = "PROMOTION" + + def __init__(self, **kwargs): + """ + Initializes a new SubscriptionLineItemSummary object with values from keyword arguments. + The following keyword arguments are supported (corresponding to the getters/setters of this class): + + :param id: + The value to assign to the id property of this SubscriptionLineItemSummary. + :type id: str + + :param product_code: + The value to assign to the product_code property of this SubscriptionLineItemSummary. + :type product_code: str + + :param quantity: + The value to assign to the quantity property of this SubscriptionLineItemSummary. + :type quantity: float + + :param billing_model: + The value to assign to the billing_model property of this SubscriptionLineItemSummary. + Allowed values for this property are: "COMMITMENT", "PAYGO", "PROMOTION", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type billing_model: str + + :param time_started: + The value to assign to the time_started property of this SubscriptionLineItemSummary. + :type time_started: datetime + + :param time_ended: + The value to assign to the time_ended property of this SubscriptionLineItemSummary. + :type time_ended: datetime + + """ + self.swagger_types = { + 'id': 'str', + 'product_code': 'str', + 'quantity': 'float', + 'billing_model': 'str', + 'time_started': 'datetime', + 'time_ended': 'datetime' + } + + self.attribute_map = { + 'id': 'id', + 'product_code': 'productCode', + 'quantity': 'quantity', + 'billing_model': 'billingModel', + 'time_started': 'timeStarted', + 'time_ended': 'timeEnded' + } + + self._id = None + self._product_code = None + self._quantity = None + self._billing_model = None + self._time_started = None + self._time_ended = None + + @property + def id(self): + """ + **[Required]** Gets the id of this SubscriptionLineItemSummary. + Subscription line item identifier. + + + :return: The id of this SubscriptionLineItemSummary. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """ + Sets the id of this SubscriptionLineItemSummary. + Subscription line item identifier. + + + :param id: The id of this SubscriptionLineItemSummary. + :type: str + """ + self._id = id + + @property + def product_code(self): + """ + **[Required]** Gets the product_code of this SubscriptionLineItemSummary. + Product code. + + + :return: The product_code of this SubscriptionLineItemSummary. + :rtype: str + """ + return self._product_code + + @product_code.setter + def product_code(self, product_code): + """ + Sets the product_code of this SubscriptionLineItemSummary. + Product code. + + + :param product_code: The product_code of this SubscriptionLineItemSummary. + :type: str + """ + self._product_code = product_code + + @property + def quantity(self): + """ + **[Required]** Gets the quantity of this SubscriptionLineItemSummary. + Product number. + + + :return: The quantity of this SubscriptionLineItemSummary. + :rtype: float + """ + return self._quantity + + @quantity.setter + def quantity(self, quantity): + """ + Sets the quantity of this SubscriptionLineItemSummary. + Product number. + + + :param quantity: The quantity of this SubscriptionLineItemSummary. + :type: float + """ + self._quantity = quantity + + @property + def billing_model(self): + """ + **[Required]** Gets the billing_model of this SubscriptionLineItemSummary. + Billing model supported by the associated line item. + + Allowed values for this property are: "COMMITMENT", "PAYGO", "PROMOTION", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + + + :return: The billing_model of this SubscriptionLineItemSummary. + :rtype: str + """ + return self._billing_model + + @billing_model.setter + def billing_model(self, billing_model): + """ + Sets the billing_model of this SubscriptionLineItemSummary. + Billing model supported by the associated line item. + + + :param billing_model: The billing_model of this SubscriptionLineItemSummary. + :type: str + """ + allowed_values = ["COMMITMENT", "PAYGO", "PROMOTION"] + if not value_allowed_none_or_none_sentinel(billing_model, allowed_values): + billing_model = 'UNKNOWN_ENUM_VALUE' + self._billing_model = billing_model + + @property + def time_started(self): + """ + **[Required]** Gets the time_started of this SubscriptionLineItemSummary. + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + + + :return: The time_started of this SubscriptionLineItemSummary. + :rtype: datetime + """ + return self._time_started + + @time_started.setter + def time_started(self, time_started): + """ + Sets the time_started of this SubscriptionLineItemSummary. + The time the subscription item and associated products should start. An RFC 3339 formatted date and time string. + + + :param time_started: The time_started of this SubscriptionLineItemSummary. + :type: datetime + """ + self._time_started = time_started + + @property + def time_ended(self): + """ + **[Required]** Gets the time_ended of this SubscriptionLineItemSummary. + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + + + :return: The time_ended of this SubscriptionLineItemSummary. + :rtype: datetime + """ + return self._time_ended + + @time_ended.setter + def time_ended(self, time_ended): + """ + Sets the time_ended of this SubscriptionLineItemSummary. + The time the subscription item and associated products should end. An RFC 3339 formatted date and time string. + + + :param time_ended: The time_ended of this SubscriptionLineItemSummary. + :type: datetime + """ + self._time_ended = time_ended + + def __repr__(self): + return formatted_flat_dict(self) + + def __eq__(self, other): + if other is None: + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not self == other diff --git a/src/oci/tenant_manager_control_plane/models/subscription_mapping.py b/src/oci/tenant_manager_control_plane/models/subscription_mapping.py index 2cd21e1b77..e5f372a8bf 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_mapping.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_mapping.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/subscription_mapping_collection.py b/src/oci/tenant_manager_control_plane/models/subscription_mapping_collection.py index 13add92f00..8096dad0a6 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_mapping_collection.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_mapping_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/subscription_mapping_summary.py b/src/oci/tenant_manager_control_plane/models/subscription_mapping_summary.py index 640c889031..ccd4e33a4b 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_mapping_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/subscription_sku.py b/src/oci/tenant_manager_control_plane/models/subscription_sku.py index 8edf7960f5..351455ee11 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_sku.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_sku.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -102,7 +102,7 @@ def __init__(self, **kwargs): def sku(self): """ **[Required]** Gets the sku of this SubscriptionSku. - Stock keeping unit ID. + Stock Keeping Unit (SKU) ID. :return: The sku of this SubscriptionSku. @@ -114,7 +114,7 @@ def sku(self): def sku(self, sku): """ Sets the sku of this SubscriptionSku. - Stock keeping unit ID. + Stock Keeping Unit (SKU) ID. :param sku: The sku of this SubscriptionSku. @@ -246,7 +246,7 @@ def metric_name(self, metric_name): def is_base_service_component(self): """ Gets the is_base_service_component of this SubscriptionSku. - Denotes if the SKU is considered as a parent or child. + Specifies if the SKU is considered as a parent or child. :return: The is_base_service_component of this SubscriptionSku. @@ -258,7 +258,7 @@ def is_base_service_component(self): def is_base_service_component(self, is_base_service_component): """ Sets the is_base_service_component of this SubscriptionSku. - Denotes if the SKU is considered as a parent or child. + Specifies if the SKU is considered as a parent or child. :param is_base_service_component: The is_base_service_component of this SubscriptionSku. @@ -270,7 +270,7 @@ def is_base_service_component(self, is_base_service_component): def is_additional_instance(self): """ Gets the is_additional_instance of this SubscriptionSku. - Denotes if an additional test instance can be provisioned by the SAAS application. + Specifies if an additional test instance can be provisioned by the SaaS application. :return: The is_additional_instance of this SubscriptionSku. @@ -282,7 +282,7 @@ def is_additional_instance(self): def is_additional_instance(self, is_additional_instance): """ Sets the is_additional_instance of this SubscriptionSku. - Denotes if an additional test instance can be provisioned by the SAAS application. + Specifies if an additional test instance can be provisioned by the SaaS application. :param is_additional_instance: The is_additional_instance of this SubscriptionSku. @@ -294,7 +294,7 @@ def is_additional_instance(self, is_additional_instance): def start_date(self): """ Gets the start_date of this SubscriptionSku. - Date-time when the SKU was created. + Date and time when the SKU was created. :return: The start_date of this SubscriptionSku. @@ -306,7 +306,7 @@ def start_date(self): def start_date(self, start_date): """ Sets the start_date of this SubscriptionSku. - Date-time when the SKU was created. + Date and time when the SKU was created. :param start_date: The start_date of this SubscriptionSku. @@ -318,7 +318,7 @@ def start_date(self, start_date): def end_date(self): """ Gets the end_date of this SubscriptionSku. - Date-time when the SKU ended. + Date and time when the SKU ended. :return: The end_date of this SubscriptionSku. @@ -330,7 +330,7 @@ def end_date(self): def end_date(self, end_date): """ Sets the end_date of this SubscriptionSku. - Date-time when the SKU ended. + Date and time when the SKU ended. :param end_date: The end_date of this SubscriptionSku. diff --git a/src/oci/tenant_manager_control_plane/models/subscription_summary.py b/src/oci/tenant_manager_control_plane/models/subscription_summary.py index 56349bbd19..e4b9efe92f 100644 --- a/src/oci/tenant_manager_control_plane/models/subscription_summary.py +++ b/src/oci/tenant_manager_control_plane/models/subscription_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -12,50 +12,37 @@ @init_model_state_from_kwargs class SubscriptionSummary(object): """ - Summary of subscription. + Base subscription summary type, which carries shared properties for any subscription summary version. """ - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "CREATING" - LIFECYCLE_STATE_CREATING = "CREATING" + #: A constant which can be used with the entity_version property of a SubscriptionSummary. + #: This constant has a value of "V1" + ENTITY_VERSION_V1 = "V1" - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "ACTIVE" - LIFECYCLE_STATE_ACTIVE = "ACTIVE" - - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "INACTIVE" - LIFECYCLE_STATE_INACTIVE = "INACTIVE" - - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "UPDATING" - LIFECYCLE_STATE_UPDATING = "UPDATING" - - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "DELETING" - LIFECYCLE_STATE_DELETING = "DELETING" - - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "DELETED" - LIFECYCLE_STATE_DELETED = "DELETED" - - #: A constant which can be used with the lifecycle_state property of a SubscriptionSummary. - #: This constant has a value of "FAILED" - LIFECYCLE_STATE_FAILED = "FAILED" + #: A constant which can be used with the entity_version property of a SubscriptionSummary. + #: This constant has a value of "V2" + ENTITY_VERSION_V2 = "V2" def __init__(self, **kwargs): """ - Initializes a new SubscriptionSummary object with values from keyword arguments. + Initializes a new SubscriptionSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input + to a service operations then you should favor using a subclass over the base class: + + * :class:`~oci.tenant_manager_control_plane.models.ClassicSubscriptionSummary` + * :class:`~oci.tenant_manager_control_plane.models.CloudSubscriptionSummary` + The following keyword arguments are supported (corresponding to the getters/setters of this class): + :param entity_version: + The value to assign to the entity_version property of this SubscriptionSummary. + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. + :type entity_version: str + :param id: The value to assign to the id property of this SubscriptionSummary. :type id: str - :param classic_subscription_id: - The value to assign to the classic_subscription_id property of this SubscriptionSummary. - :type classic_subscription_id: str - :param compartment_id: The value to assign to the compartment_id property of this SubscriptionSummary. :type compartment_id: str @@ -64,137 +51,135 @@ def __init__(self, **kwargs): The value to assign to the service_name property of this SubscriptionSummary. :type service_name: str - :param is_classic_subscription: - The value to assign to the is_classic_subscription property of this SubscriptionSummary. - :type is_classic_subscription: bool - - :param payment_model: - The value to assign to the payment_model property of this SubscriptionSummary. - :type payment_model: str - - :param region_assignment: - The value to assign to the region_assignment property of this SubscriptionSummary. - :type region_assignment: str - - :param lifecycle_state: - The value to assign to the lifecycle_state property of this SubscriptionSummary. - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :type lifecycle_state: str - - :param start_date: - The value to assign to the start_date property of this SubscriptionSummary. - :type start_date: datetime - - :param end_date: - The value to assign to the end_date property of this SubscriptionSummary. - :type end_date: datetime + :param time_created: + The value to assign to the time_created property of this SubscriptionSummary. + :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SubscriptionSummary. :type time_updated: datetime - :param time_created: - The value to assign to the time_created property of this SubscriptionSummary. - :type time_created: datetime + :param freeform_tags: + The value to assign to the freeform_tags property of this SubscriptionSummary. + :type freeform_tags: dict(str, str) + + :param defined_tags: + The value to assign to the defined_tags property of this SubscriptionSummary. + :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { + 'entity_version': 'str', 'id': 'str', - 'classic_subscription_id': 'str', 'compartment_id': 'str', 'service_name': 'str', - 'is_classic_subscription': 'bool', - 'payment_model': 'str', - 'region_assignment': 'str', - 'lifecycle_state': 'str', - 'start_date': 'datetime', - 'end_date': 'datetime', + 'time_created': 'datetime', 'time_updated': 'datetime', - 'time_created': 'datetime' + 'freeform_tags': 'dict(str, str)', + 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { + 'entity_version': 'entityVersion', 'id': 'id', - 'classic_subscription_id': 'classicSubscriptionId', 'compartment_id': 'compartmentId', 'service_name': 'serviceName', - 'is_classic_subscription': 'isClassicSubscription', - 'payment_model': 'paymentModel', - 'region_assignment': 'regionAssignment', - 'lifecycle_state': 'lifecycleState', - 'start_date': 'startDate', - 'end_date': 'endDate', + 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', - 'time_created': 'timeCreated' + 'freeform_tags': 'freeformTags', + 'defined_tags': 'definedTags' } + self._entity_version = None self._id = None - self._classic_subscription_id = None self._compartment_id = None self._service_name = None - self._is_classic_subscription = None - self._payment_model = None - self._region_assignment = None - self._lifecycle_state = None - self._start_date = None - self._end_date = None - self._time_updated = None self._time_created = None + self._time_updated = None + self._freeform_tags = None + self._defined_tags = None + + @staticmethod + def get_subtype(object_dictionary): + """ + Given the hash representation of a subtype of this class, + use the info in the hash to return the class of the subtype. + """ + type = object_dictionary['entityVersion'] + + if type == 'V1': + return 'ClassicSubscriptionSummary' + + if type == 'V2': + return 'CloudSubscriptionSummary' + else: + return 'SubscriptionSummary' @property - def id(self): + def entity_version(self): """ - **[Required]** Gets the id of this SubscriptionSummary. - OCID of the subscription details for a particular root compartment or tenancy. + **[Required]** Gets the entity_version of this SubscriptionSummary. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). + Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. + Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - :return: The id of this SubscriptionSummary. + + :return: The entity_version of this SubscriptionSummary. :rtype: str """ - return self._id + return self._entity_version - @id.setter - def id(self, id): + @entity_version.setter + def entity_version(self, entity_version): """ - Sets the id of this SubscriptionSummary. - OCID of the subscription details for a particular root compartment or tenancy. + Sets the entity_version of this SubscriptionSummary. + The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). - :param id: The id of this SubscriptionSummary. + :param entity_version: The entity_version of this SubscriptionSummary. :type: str """ - self._id = id + allowed_values = ["V1", "V2"] + if not value_allowed_none_or_none_sentinel(entity_version, allowed_values): + entity_version = 'UNKNOWN_ENUM_VALUE' + self._entity_version = entity_version @property - def classic_subscription_id(self): + def id(self): """ - **[Required]** Gets the classic_subscription_id of this SubscriptionSummary. - Classic subscription ID. + **[Required]** Gets the id of this SubscriptionSummary. + The Oracle ID (`OCID`__) of the subscription. + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm - :return: The classic_subscription_id of this SubscriptionSummary. + + :return: The id of this SubscriptionSummary. :rtype: str """ - return self._classic_subscription_id + return self._id - @classic_subscription_id.setter - def classic_subscription_id(self, classic_subscription_id): + @id.setter + def id(self, id): """ - Sets the classic_subscription_id of this SubscriptionSummary. - Classic subscription ID. + Sets the id of this SubscriptionSummary. + The Oracle ID (`OCID`__) of the subscription. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm - :param classic_subscription_id: The classic_subscription_id of this SubscriptionSummary. + :param id: The id of this SubscriptionSummary. :type: str """ - self._classic_subscription_id = classic_subscription_id + self._id = id @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this SubscriptionSummary. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this SubscriptionSummary. @@ -206,7 +191,9 @@ def compartment_id(self): def compartment_id(self, compartment_id): """ Sets the compartment_id of this SubscriptionSummary. - OCID of the compartment. Always a tenancy OCID. + The Oracle ID (`OCID`__) of the owning compartment. Always a tenancy OCID. + + __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this SubscriptionSummary. @@ -218,7 +205,7 @@ def compartment_id(self, compartment_id): def service_name(self): """ **[Required]** Gets the service_name of this SubscriptionSummary. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :return: The service_name of this SubscriptionSummary. @@ -230,7 +217,7 @@ def service_name(self): def service_name(self, service_name): """ Sets the service_name of this SubscriptionSummary. - The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'. + The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. :param service_name: The service_name of this SubscriptionSummary. @@ -239,202 +226,112 @@ def service_name(self, service_name): self._service_name = service_name @property - def is_classic_subscription(self): - """ - Gets the is_classic_subscription of this SubscriptionSummary. - Denotes if the subscription is from classic systems or not. - - - :return: The is_classic_subscription of this SubscriptionSummary. - :rtype: bool - """ - return self._is_classic_subscription - - @is_classic_subscription.setter - def is_classic_subscription(self, is_classic_subscription): - """ - Sets the is_classic_subscription of this SubscriptionSummary. - Denotes if the subscription is from classic systems or not. - - - :param is_classic_subscription: The is_classic_subscription of this SubscriptionSummary. - :type: bool - """ - self._is_classic_subscription = is_classic_subscription - - @property - def payment_model(self): - """ - Gets the payment_model of this SubscriptionSummary. - The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. - - - :return: The payment_model of this SubscriptionSummary. - :rtype: str - """ - return self._payment_model - - @payment_model.setter - def payment_model(self, payment_model): + def time_created(self): """ - Sets the payment_model of this SubscriptionSummary. - The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. + **[Required]** Gets the time_created of this SubscriptionSummary. + The date and time of creation, as described in `RFC 3339`__, section 14.29. + __ https://tools.ietf.org/rfc/rfc3339 - :param payment_model: The payment_model of this SubscriptionSummary. - :type: str - """ - self._payment_model = payment_model - @property - def region_assignment(self): + :return: The time_created of this SubscriptionSummary. + :rtype: datetime """ - Gets the region_assignment of this SubscriptionSummary. - Region for the subscription. - + return self._time_created - :return: The region_assignment of this SubscriptionSummary. - :rtype: str + @time_created.setter + def time_created(self, time_created): """ - return self._region_assignment + Sets the time_created of this SubscriptionSummary. + The date and time of creation, as described in `RFC 3339`__, section 14.29. - @region_assignment.setter - def region_assignment(self, region_assignment): - """ - Sets the region_assignment of this SubscriptionSummary. - Region for the subscription. + __ https://tools.ietf.org/rfc/rfc3339 - :param region_assignment: The region_assignment of this SubscriptionSummary. - :type: str + :param time_created: The time_created of this SubscriptionSummary. + :type: datetime """ - self._region_assignment = region_assignment + self._time_created = time_created @property - def lifecycle_state(self): - """ - Gets the lifecycle_state of this SubscriptionSummary. - Lifecycle state of the subscription. - - Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. - Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. - - - :return: The lifecycle_state of this SubscriptionSummary. - :rtype: str - """ - return self._lifecycle_state - - @lifecycle_state.setter - def lifecycle_state(self, lifecycle_state): - """ - Sets the lifecycle_state of this SubscriptionSummary. - Lifecycle state of the subscription. - - - :param lifecycle_state: The lifecycle_state of this SubscriptionSummary. - :type: str + def time_updated(self): """ - allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"] - if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): - lifecycle_state = 'UNKNOWN_ENUM_VALUE' - self._lifecycle_state = lifecycle_state + **[Required]** Gets the time_updated of this SubscriptionSummary. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @property - def start_date(self): - """ - Gets the start_date of this SubscriptionSummary. - Subscription start time. + __ https://tools.ietf.org/rfc/rfc3339 - :return: The start_date of this SubscriptionSummary. + :return: The time_updated of this SubscriptionSummary. :rtype: datetime """ - return self._start_date - - @start_date.setter - def start_date(self, start_date): - """ - Sets the start_date of this SubscriptionSummary. - Subscription start time. - - - :param start_date: The start_date of this SubscriptionSummary. - :type: datetime - """ - self._start_date = start_date - - @property - def end_date(self): - """ - Gets the end_date of this SubscriptionSummary. - Subscription end time. - + return self._time_updated - :return: The end_date of this SubscriptionSummary. - :rtype: datetime + @time_updated.setter + def time_updated(self, time_updated): """ - return self._end_date + Sets the time_updated of this SubscriptionSummary. + The date and time of update, as described in `RFC 3339`__, section 14.29. - @end_date.setter - def end_date(self, end_date): - """ - Sets the end_date of this SubscriptionSummary. - Subscription end time. + __ https://tools.ietf.org/rfc/rfc3339 - :param end_date: The end_date of this SubscriptionSummary. + :param time_updated: The time_updated of this SubscriptionSummary. :type: datetime """ - self._end_date = end_date + self._time_updated = time_updated @property - def time_updated(self): + def freeform_tags(self): """ - Gets the time_updated of this SubscriptionSummary. - Date-time when subscription is updated. + **[Required]** Gets the freeform_tags of this SubscriptionSummary. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :return: The time_updated of this SubscriptionSummary. - :rtype: datetime + :return: The freeform_tags of this SubscriptionSummary. + :rtype: dict(str, str) """ - return self._time_updated + return self._freeform_tags - @time_updated.setter - def time_updated(self, time_updated): + @freeform_tags.setter + def freeform_tags(self, freeform_tags): """ - Sets the time_updated of this SubscriptionSummary. - Date-time when subscription is updated. + Sets the freeform_tags of this SubscriptionSummary. + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + Example: `{\"bar-key\": \"value\"}` - :param time_updated: The time_updated of this SubscriptionSummary. - :type: datetime + :param freeform_tags: The freeform_tags of this SubscriptionSummary. + :type: dict(str, str) """ - self._time_updated = time_updated + self._freeform_tags = freeform_tags @property - def time_created(self): + def defined_tags(self): """ - Gets the time_created of this SubscriptionSummary. - Date-time when subscription is created. + **[Required]** Gets the defined_tags of this SubscriptionSummary. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :return: The time_created of this SubscriptionSummary. - :rtype: datetime + :return: The defined_tags of this SubscriptionSummary. + :rtype: dict(str, dict(str, object)) """ - return self._time_created + return self._defined_tags - @time_created.setter - def time_created(self, time_created): + @defined_tags.setter + def defined_tags(self, defined_tags): """ - Sets the time_created of this SubscriptionSummary. - Date-time when subscription is created. + Sets the defined_tags of this SubscriptionSummary. + Defined tags for this resource. Each key is predefined and scoped to a namespace. + Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` - :param time_created: The time_created of this SubscriptionSummary. - :type: datetime + :param defined_tags: The defined_tags of this SubscriptionSummary. + :type: dict(str, dict(str, object)) """ - self._time_created = time_created + self._defined_tags = defined_tags def __repr__(self): return formatted_flat_dict(self) diff --git a/src/oci/tenant_manager_control_plane/models/update_domain_details.py b/src/oci/tenant_manager_control_plane/models/update_domain_details.py index 31f308ef54..faf952af39 100644 --- a/src/oci/tenant_manager_control_plane/models/update_domain_details.py +++ b/src/oci/tenant_manager_control_plane/models/update_domain_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/update_domain_governance_details.py b/src/oci/tenant_manager_control_plane/models/update_domain_governance_details.py index b0c9cca610..38acf0b00d 100644 --- a/src/oci/tenant_manager_control_plane/models/update_domain_governance_details.py +++ b/src/oci/tenant_manager_control_plane/models/update_domain_governance_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/update_organization_details.py b/src/oci/tenant_manager_control_plane/models/update_organization_details.py index 9178c7e96a..3f626d2acf 100644 --- a/src/oci/tenant_manager_control_plane/models/update_organization_details.py +++ b/src/oci/tenant_manager_control_plane/models/update_organization_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.py b/src/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.py index 8cf9fd4b40..3525910196 100644 --- a/src/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.py +++ b/src/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/update_sender_invitation_details.py b/src/oci/tenant_manager_control_plane/models/update_sender_invitation_details.py index fa422a8fd7..2335c414bb 100644 --- a/src/oci/tenant_manager_control_plane/models/update_sender_invitation_details.py +++ b/src/oci/tenant_manager_control_plane/models/update_sender_invitation_details.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/work_request.py b/src/oci/tenant_manager_control_plane/models/work_request.py index fbf86ad920..1b2255bb09 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request.py +++ b/src/oci/tenant_manager_control_plane/models/work_request.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -303,7 +303,7 @@ def compartment_id(self, compartment_id): def resources(self): """ **[Required]** Gets the resources of this WorkRequest. - The resources affected by this work request. + The resources affected by the work request. :return: The resources of this WorkRequest. @@ -315,7 +315,7 @@ def resources(self): def resources(self, resources): """ Sets the resources of this WorkRequest. - The resources affected by this work request. + The resources affected by the work request. :param resources: The resources of this WorkRequest. diff --git a/src/oci/tenant_manager_control_plane/models/work_request_collection.py b/src/oci/tenant_manager_control_plane/models/work_request_collection.py index d7f67a679e..9cce6a38ce 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_collection.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/work_request_error.py b/src/oci/tenant_manager_control_plane/models/work_request_error.py index 7330ebf316..4870d96c2e 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_error.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_error.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -107,7 +107,7 @@ def message(self, message): def timestamp(self): """ **[Required]** Gets the timestamp of this WorkRequestError. - The time the error occured. An RFC 3339-formatted date and time string. + The time the error occured. An RFC 3339 formatted date and time string. :return: The timestamp of this WorkRequestError. @@ -119,7 +119,7 @@ def timestamp(self): def timestamp(self, timestamp): """ Sets the timestamp of this WorkRequestError. - The time the error occured. An RFC 3339-formatted date and time string. + The time the error occured. An RFC 3339 formatted date and time string. :param timestamp: The timestamp of this WorkRequestError. diff --git a/src/oci/tenant_manager_control_plane/models/work_request_error_collection.py b/src/oci/tenant_manager_control_plane/models/work_request_error_collection.py index 956b208c38..a482b7dcbe 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_error_collection.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_error_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/work_request_log_entry.py b/src/oci/tenant_manager_control_plane/models/work_request_log_entry.py index 2de3720f65..f51abde13c 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_log_entry.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_log_entry.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -70,7 +70,7 @@ def message(self, message): def timestamp(self): """ **[Required]** Gets the timestamp of this WorkRequestLogEntry. - The time the log message was written. An RFC 3339-formatted date and time string. + The time the log message was written. An RFC 3339 formatted date and time string. :return: The timestamp of this WorkRequestLogEntry. @@ -82,7 +82,7 @@ def timestamp(self): def timestamp(self, timestamp): """ Sets the timestamp of this WorkRequestLogEntry. - The time the log message was written. An RFC 3339-formatted date and time string. + The time the log message was written. An RFC 3339 formatted date and time string. :param timestamp: The timestamp of this WorkRequestLogEntry. diff --git a/src/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.py b/src/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.py index 09a97245c5..d358a94b23 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/models/work_request_resource.py b/src/oci/tenant_manager_control_plane/models/work_request_resource.py index 61601158a5..fb8d36c5a4 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_resource.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_resource.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -106,7 +106,7 @@ def entity_type(self, entity_type): def action_type(self): """ **[Required]** Gets the action_type of this WorkRequestResource. - The way in which this resource is affected by the work tracked in the work request. + Indicates how the resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource, at which point it will transition to CREATED, UPDATED, or DELETED, respectively. @@ -124,7 +124,7 @@ def action_type(self): def action_type(self, action_type): """ Sets the action_type of this WorkRequestResource. - The way in which this resource is affected by the work tracked in the work request. + Indicates how the resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource, at which point it will transition to CREATED, UPDATED, or DELETED, respectively. @@ -166,7 +166,7 @@ def identifier(self, identifier): def entity_uri(self): """ Gets the entity_uri of this WorkRequestResource. - The URI path that the user can do a GET on to access the resource metadata. + The URI path so that the user can do a GET to access the resource metadata. :return: The entity_uri of this WorkRequestResource. @@ -178,7 +178,7 @@ def entity_uri(self): def entity_uri(self, entity_uri): """ Sets the entity_uri of this WorkRequestResource. - The URI path that the user can do a GET on to access the resource metadata. + The URI path so that the user can do a GET to access the resource metadata. :param entity_uri: The entity_uri of this WorkRequestResource. diff --git a/src/oci/tenant_manager_control_plane/models/work_request_summary.py b/src/oci/tenant_manager_control_plane/models/work_request_summary.py index 6caa826e57..65c5b32ae3 100644 --- a/src/oci/tenant_manager_control_plane/models/work_request_summary.py +++ b/src/oci/tenant_manager_control_plane/models/work_request_summary.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 @@ -225,7 +225,7 @@ def operation_type(self, operation_type): def status(self): """ **[Required]** Gets the status of this WorkRequestSummary. - Status of current work request. + Status of the current work request. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. @@ -240,7 +240,7 @@ def status(self): def status(self, status): """ Sets the status of this WorkRequestSummary. - Status of current work request. + Status of the current work request. :param status: The status of this WorkRequestSummary. @@ -303,7 +303,7 @@ def compartment_id(self, compartment_id): def resources(self): """ **[Required]** Gets the resources of this WorkRequestSummary. - The resources affected by this work request. + The resources affected by the work request. :return: The resources of this WorkRequestSummary. @@ -315,7 +315,7 @@ def resources(self): def resources(self, resources): """ Sets the resources of this WorkRequestSummary. - The resources affected by this work request. + The resources affected by the work request. :param resources: The resources of this WorkRequestSummary. diff --git a/src/oci/tenant_manager_control_plane/orders_client.py b/src/oci/tenant_manager_control_plane/orders_client.py index 79edc5eb72..0724f1580f 100644 --- a/src/oci/tenant_manager_control_plane/orders_client.py +++ b/src/oci/tenant_manager_control_plane/orders_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -155,7 +155,7 @@ def activate_order(self, activate_order_details, activation_token, **kwargs): resource_path = "/orders/{activationToken}/actions/activate" method = "POST" operation_name = "activate_order" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Order/ActivateOrder" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Order/ActivateOrder" # Don't accept unknown kwargs expected_kwargs = [ @@ -254,7 +254,7 @@ def get_order(self, activation_token, **kwargs): resource_path = "/orders/{activationToken}" method = "GET" operation_name = "get_order" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Order/GetOrder" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Order/GetOrder" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/orders_client_composite_operations.py b/src/oci/tenant_manager_control_plane/orders_client_composite_operations.py index 8e655df612..c15cb133e0 100644 --- a/src/oci/tenant_manager_control_plane/orders_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/orders_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/organization_client.py b/src/oci/tenant_manager_control_plane/organization_client.py index a3c0a3abc7..9b4ca411d4 100644 --- a/src/oci/tenant_manager_control_plane/organization_client.py +++ b/src/oci/tenant_manager_control_plane/organization_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -117,7 +117,7 @@ def approve_organization_tenancy_for_transfer(self, compartment_id, organization :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str organization_tenancy_id: (required) OCID of the child tenancy. @@ -162,7 +162,7 @@ def approve_organization_tenancy_for_transfer(self, compartment_id, organization resource_path = "/organizationTenancies/{organizationTenancyId}/actions/approveForTransfer" method = "POST" operation_name = "approve_organization_tenancy_for_transfer" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/ApproveOrganizationTenancyForTransfer" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/ApproveOrganizationTenancyForTransfer" # Don't accept unknown kwargs expected_kwargs = [ @@ -378,7 +378,7 @@ def delete_organization_tenancy(self, organization_tenancy_id, **kwargs): resource_path = "/organizationTenancies/{organizationTenancyId}" method = "DELETE" operation_name = "delete_organization_tenancy" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/DeleteOrganizationTenancy" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/DeleteOrganizationTenancy" # Don't accept unknown kwargs expected_kwargs = [ @@ -477,7 +477,7 @@ def get_organization(self, organization_id, **kwargs): resource_path = "/organizations/{organizationId}" method = "GET" operation_name = "get_organization" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/GetOrganization" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/GetOrganization" # Don't accept unknown kwargs expected_kwargs = [ @@ -576,7 +576,7 @@ def get_organization_tenancy(self, organization_id, tenancy_id, **kwargs): resource_path = "/organizations/{organizationId}/tenancies/{tenancyId}" method = "GET" operation_name = "get_organization_tenancy" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/GetOrganizationTenancy" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/GetOrganizationTenancy" # Don't accept unknown kwargs expected_kwargs = [ @@ -679,7 +679,7 @@ def list_organization_tenancies(self, organization_id, **kwargs): resource_path = "/organizations/{organizationId}/tenancies" method = "GET" operation_name = "list_organization_tenancies" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/ListOrganizationTenancies" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/ListOrganizationTenancies" # Don't accept unknown kwargs expected_kwargs = [ @@ -757,7 +757,7 @@ def list_organizations(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str opc_request_id: (optional) The client request ID for tracing. @@ -791,7 +791,7 @@ def list_organizations(self, compartment_id, **kwargs): resource_path = "/organizations" method = "GET" operation_name = "list_organizations" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/ListOrganizations" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/ListOrganizations" # Don't accept unknown kwargs expected_kwargs = [ @@ -893,7 +893,7 @@ def restore_organization_tenancy(self, organization_tenancy_id, **kwargs): resource_path = "/organizationTenancies/{organizationTenancyId}/actions/restore" method = "POST" operation_name = "restore_organization_tenancy" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/RestoreOrganizationTenancy" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/RestoreOrganizationTenancy" # Don't accept unknown kwargs expected_kwargs = [ @@ -961,7 +961,7 @@ def unapprove_organization_tenancy_for_transfer(self, compartment_id, organizati :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str organization_tenancy_id: (required) OCID of the child tenancy. @@ -1006,7 +1006,7 @@ def unapprove_organization_tenancy_for_transfer(self, compartment_id, organizati resource_path = "/organizationTenancies/{organizationTenancyId}/actions/unapproveForTransfer" method = "POST" operation_name = "unapprove_organization_tenancy_for_transfer" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/UnapproveOrganizationTenancyForTransfer" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/UnapproveOrganizationTenancyForTransfer" # Don't accept unknown kwargs expected_kwargs = [ @@ -1131,7 +1131,7 @@ def update_organization(self, organization_id, update_organization_details, **kw resource_path = "/organizations/{organizationId}" method = "PUT" operation_name = "update_organization" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/UpdateOrganization" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/UpdateOrganization" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/organization_client_composite_operations.py b/src/oci/tenant_manager_control_plane/organization_client_composite_operations.py index 661f9fb7b5..e85b040cfc 100644 --- a/src/oci/tenant_manager_control_plane/organization_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/organization_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/recipient_invitation_client.py b/src/oci/tenant_manager_control_plane/recipient_invitation_client.py index 3824c15b87..32d8bab3e8 100644 --- a/src/oci/tenant_manager_control_plane/recipient_invitation_client.py +++ b/src/oci/tenant_manager_control_plane/recipient_invitation_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -159,7 +159,7 @@ def accept_recipient_invitation(self, recipient_invitation_id, **kwargs): resource_path = "/recipientInvitations/{recipientInvitationId}/actions/accept" method = "POST" operation_name = "accept_recipient_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/AcceptRecipientInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/AcceptRecipientInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -258,7 +258,7 @@ def get_recipient_invitation(self, recipient_invitation_id, **kwargs): resource_path = "/recipientInvitations/{recipientInvitationId}" method = "GET" operation_name = "get_recipient_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/GetRecipientInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/GetRecipientInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -368,7 +368,7 @@ def ignore_recipient_invitation(self, recipient_invitation_id, **kwargs): resource_path = "/recipientInvitations/{recipientInvitationId}/actions/ignore" method = "POST" operation_name = "ignore_recipient_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/IgnoreRecipientInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/IgnoreRecipientInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -441,7 +441,7 @@ def list_recipient_invitations(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str sender_tenancy_id: (optional) The tenancy that sent the invitation. @@ -485,7 +485,7 @@ def list_recipient_invitations(self, compartment_id, **kwargs): resource_path = "/recipientInvitations" method = "GET" operation_name = "list_recipient_invitations" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/ListRecipientInvitations" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/ListRecipientInvitations" # Don't accept unknown kwargs expected_kwargs = [ @@ -608,7 +608,7 @@ def update_recipient_invitation(self, recipient_invitation_id, update_recipient_ resource_path = "/recipientInvitations/{recipientInvitationId}" method = "PUT" operation_name = "update_recipient_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/UpdateRecipientInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/UpdateRecipientInvitation" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.py b/src/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.py index 0c958f4315..bd57f115a2 100644 --- a/src/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/sender_invitation_client.py b/src/oci/tenant_manager_control_plane/sender_invitation_client.py index 6cf7f1f793..6b9971ed73 100644 --- a/src/oci/tenant_manager_control_plane/sender_invitation_client.py +++ b/src/oci/tenant_manager_control_plane/sender_invitation_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -159,7 +159,7 @@ def cancel_sender_invitation(self, sender_invitation_id, **kwargs): resource_path = "/senderInvitations/{senderInvitationId}/actions/cancel" method = "POST" operation_name = "cancel_sender_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/CancelSenderInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/CancelSenderInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -265,7 +265,7 @@ def create_sender_invitation(self, create_sender_invitation_details, **kwargs): resource_path = "/senderInvitations" method = "POST" operation_name = "create_sender_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/CreateSenderInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/CreateSenderInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -354,7 +354,7 @@ def get_sender_invitation(self, sender_invitation_id, **kwargs): resource_path = "/senderInvitations/{senderInvitationId}" method = "GET" operation_name = "get_sender_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/GetSenderInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/GetSenderInvitation" # Don't accept unknown kwargs expected_kwargs = [ @@ -422,7 +422,7 @@ def list_sender_invitations(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str recipient_tenancy_id: (optional) The tenancy that the invitation is addressed to. @@ -485,7 +485,7 @@ def list_sender_invitations(self, compartment_id, **kwargs): resource_path = "/senderInvitations" method = "GET" operation_name = "list_sender_invitations" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/ListSenderInvitations" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/ListSenderInvitations" # Don't accept unknown kwargs expected_kwargs = [ @@ -630,7 +630,7 @@ def update_sender_invitation(self, sender_invitation_id, update_sender_invitatio resource_path = "/senderInvitations/{senderInvitationId}" method = "PUT" operation_name = "update_sender_invitation" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/UpdateSenderInvitation" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/UpdateSenderInvitation" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.py b/src/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.py index f2fd000406..ac4acf4741 100644 --- a/src/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/subscription_client.py b/src/oci/tenant_manager_control_plane/subscription_client.py index b4863df158..420f441f2e 100644 --- a/src/oci/tenant_manager_control_plane/subscription_client.py +++ b/src/oci/tenant_manager_control_plane/subscription_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -159,7 +159,7 @@ def create_subscription_mapping(self, create_subscription_mapping_details, **kwa resource_path = "/subscriptionMappings" method = "POST" operation_name = "create_subscription_mapping" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/CreateSubscriptionMapping" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/CreateSubscriptionMapping" # Don't accept unknown kwargs expected_kwargs = [ @@ -257,7 +257,7 @@ def delete_subscription_mapping(self, subscription_mapping_id, **kwargs): resource_path = "/subscriptionMappings/{subscriptionMappingId}" method = "DELETE" operation_name = "delete_subscription_mapping" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/DeleteSubscriptionMapping" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/DeleteSubscriptionMapping" # Don't accept unknown kwargs expected_kwargs = [ @@ -325,7 +325,7 @@ def get_assigned_subscription(self, assigned_subscription_id, **kwargs): :param str assigned_subscription_id: (required) - OCID of the assigned subscription. + OCID of the assigned Oracle Cloud Subscription. :param str opc_request_id: (optional) The client request ID for tracing. @@ -353,7 +353,7 @@ def get_assigned_subscription(self, assigned_subscription_id, **kwargs): resource_path = "/assignedSubscriptions/{assignedSubscriptionId}" method = "GET" operation_name = "get_assigned_subscription" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/AssignedSubscription/GetAssignedSubscription" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscription/GetAssignedSubscription" # Don't accept unknown kwargs expected_kwargs = [ @@ -417,7 +417,7 @@ def get_assigned_subscription(self, assigned_subscription_id, **kwargs): def get_subscription(self, subscription_id, **kwargs): """ - Gets the subscription details by subscriptionId. + Gets the subscription details by subscription ID. :param str subscription_id: (required) @@ -449,7 +449,7 @@ def get_subscription(self, subscription_id, **kwargs): resource_path = "/subscriptions/{subscriptionId}" method = "GET" operation_name = "get_subscription" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/GetSubscription" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/GetSubscription" # Don't accept unknown kwargs expected_kwargs = [ @@ -545,7 +545,7 @@ def get_subscription_mapping(self, subscription_mapping_id, **kwargs): resource_path = "/subscriptionMappings/{subscriptionMappingId}" method = "GET" operation_name = "get_subscription_mapping" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/GetSubscriptionMapping" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/GetSubscriptionMapping" # Don't accept unknown kwargs expected_kwargs = [ @@ -607,13 +607,158 @@ def get_subscription_mapping(self, subscription_mapping_id, **kwargs): api_reference_link=api_reference_link, required_arguments=required_arguments) + def list_assigned_subscription_line_items(self, assigned_subscription_id, **kwargs): + """ + List line item summaries that a assigned subscription owns. + + + :param str assigned_subscription_id: (required) + OCID of the assigned Oracle Cloud Subscription. + + :param str opc_request_id: (optional) + The client request ID for tracing. + + :param str page: (optional) + The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + + :param int limit: (optional) + The maximum number of items to return. + + :param str sort_order: (optional) + The sort order to use, whether 'asc' or 'desc'. + + Allowed values are: "ASC", "DESC" + + :param str sort_by: (optional) + The field to sort by. Only one sort order can be provided. + * The default order for timeCreated is descending. + * The default order for displayName is ascending. + * If no value is specified, timeCreated is the default. + + Allowed values are: "timeCreated", "displayName" + + :param obj retry_strategy: (optional) + A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. + + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. + The specifics of the default retry strategy are described `here `__. + + To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. + + :param bool allow_control_chars: (optional) + allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. + By default, the response will not allow control characters in strings + + :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.tenant_manager_control_plane.models.AssignedSubscriptionLineItemCollection` + :rtype: :class:`~oci.response.Response` + + :example: + Click `here `__ to see an example of how to use list_assigned_subscription_line_items API. + """ + # Required path and query arguments. These are in camelCase to replace values in service endpoints. + required_arguments = ['assignedSubscriptionId'] + resource_path = "/assignedSubscriptions/{assignedSubscriptionId}/assignedSubscriptionLineItems" + method = "GET" + operation_name = "list_assigned_subscription_line_items" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscriptionLineItemSummary/ListAssignedSubscriptionLineItems" + + # Don't accept unknown kwargs + expected_kwargs = [ + "allow_control_chars", + "retry_strategy", + "opc_request_id", + "page", + "limit", + "sort_order", + "sort_by" + ] + extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "list_assigned_subscription_line_items got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "assignedSubscriptionId": assigned_subscription_id + } + + path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing} + + for (k, v) in six.iteritems(path_params): + if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): + raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + + if 'sort_order' in kwargs: + sort_order_allowed_values = ["ASC", "DESC"] + if kwargs['sort_order'] not in sort_order_allowed_values: + raise ValueError( + "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values) + ) + + if 'sort_by' in kwargs: + sort_by_allowed_values = ["timeCreated", "displayName"] + if kwargs['sort_by'] not in sort_by_allowed_values: + raise ValueError( + "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values) + ) + + query_params = { + "page": kwargs.get("page", missing), + "limit": kwargs.get("limit", missing), + "sortOrder": kwargs.get("sort_order", missing), + "sortBy": kwargs.get("sort_by", missing) + } + query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "opc-request-id": kwargs.get("opc_request_id", missing) + } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} + + retry_strategy = self.base_client.get_preferred_retry_strategy( + operation_retry_strategy=kwargs.get('retry_strategy'), + client_retry_strategy=self.retry_strategy + ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY + + if retry_strategy: + if not isinstance(retry_strategy, retry.NoneRetryStrategy): + self.base_client.add_opc_client_retries_header(header_params) + retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback) + return retry_strategy.make_retrying_call( + self.base_client.call_api, + resource_path=resource_path, + method=method, + path_params=path_params, + query_params=query_params, + header_params=header_params, + response_type="AssignedSubscriptionLineItemCollection", + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + query_params=query_params, + header_params=header_params, + response_type="AssignedSubscriptionLineItemCollection", + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + def list_assigned_subscriptions(self, compartment_id, **kwargs): """ Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str subscription_id: (optional) The ID of the subscription to which the tenancy is associated. @@ -640,6 +785,11 @@ def list_assigned_subscriptions(self, compartment_id, **kwargs): Allowed values are: "timeCreated", "displayName" + :param str entity_version: (optional) + The version of the subscription entity. + + Allowed values are: "V1", "V2" + :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -663,7 +813,7 @@ def list_assigned_subscriptions(self, compartment_id, **kwargs): resource_path = "/assignedSubscriptions" method = "GET" operation_name = "list_assigned_subscriptions" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/AssignedSubscription/ListAssignedSubscriptions" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscription/ListAssignedSubscriptions" # Don't accept unknown kwargs expected_kwargs = [ @@ -674,7 +824,8 @@ def list_assigned_subscriptions(self, compartment_id, **kwargs): "page", "limit", "sort_order", - "sort_by" + "sort_by", + "entity_version" ] extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs] if extra_kwargs: @@ -695,13 +846,21 @@ def list_assigned_subscriptions(self, compartment_id, **kwargs): "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values) ) + if 'entity_version' in kwargs: + entity_version_allowed_values = ["V1", "V2"] + if kwargs['entity_version'] not in entity_version_allowed_values: + raise ValueError( + "Invalid value for `entity_version`, must be one of {0}".format(entity_version_allowed_values) + ) + query_params = { "compartmentId": compartment_id, "subscriptionId": kwargs.get("subscription_id", missing), "page": kwargs.get("page", missing), "limit": kwargs.get("limit", missing), "sortOrder": kwargs.get("sort_order", missing), - "sortBy": kwargs.get("sort_by", missing) + "sortBy": kwargs.get("sort_by", missing), + "entityVersion": kwargs.get("entity_version", missing) } query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} @@ -750,7 +909,7 @@ def list_available_regions(self, subscription_id, **kwargs): :param str subscription_id: (required) - The ID of the subscription to which the tenancy is associated. + OCID of the subscription. :param str opc_request_id: (optional) The client request ID for tracing. @@ -781,7 +940,7 @@ def list_available_regions(self, subscription_id, **kwargs): resource_path = "/subscriptions/{subscriptionId}/availableRegions" method = "GET" operation_name = "list_available_regions" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/ListAvailableRegions" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/ListAvailableRegions" # Don't accept unknown kwargs expected_kwargs = [ @@ -851,19 +1010,164 @@ def list_available_regions(self, subscription_id, **kwargs): api_reference_link=api_reference_link, required_arguments=required_arguments) + def list_subscription_line_items(self, subscription_id, **kwargs): + """ + Lists the line items in a subscription. + + + :param str subscription_id: (required) + OCID of the subscription. + + :param str opc_request_id: (optional) + The client request ID for tracing. + + :param str page: (optional) + The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + + :param int limit: (optional) + The maximum number of items to return. + + :param str sort_order: (optional) + The sort order to use, whether 'asc' or 'desc'. + + Allowed values are: "ASC", "DESC" + + :param str sort_by: (optional) + The field to sort by. Only one sort order can be provided. + * The default order for timeCreated is descending. + * The default order for displayName is ascending. + * If no value is specified, timeCreated is the default. + + Allowed values are: "timeCreated", "displayName" + + :param obj retry_strategy: (optional) + A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. + + This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. + The specifics of the default retry strategy are described `here `__. + + To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. + + :param bool allow_control_chars: (optional) + allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. + By default, the response will not allow control characters in strings + + :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.tenant_manager_control_plane.models.SubscriptionLineItemCollection` + :rtype: :class:`~oci.response.Response` + + :example: + Click `here `__ to see an example of how to use list_subscription_line_items API. + """ + # Required path and query arguments. These are in camelCase to replace values in service endpoints. + required_arguments = ['subscriptionId'] + resource_path = "/subscriptions/{subscriptionId}/subscriptionLineItems" + method = "GET" + operation_name = "list_subscription_line_items" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionLineItemSummary/ListSubscriptionLineItems" + + # Don't accept unknown kwargs + expected_kwargs = [ + "allow_control_chars", + "retry_strategy", + "opc_request_id", + "page", + "limit", + "sort_order", + "sort_by" + ] + extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs] + if extra_kwargs: + raise ValueError( + "list_subscription_line_items got unknown kwargs: {!r}".format(extra_kwargs)) + + path_params = { + "subscriptionId": subscription_id + } + + path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing} + + for (k, v) in six.iteritems(path_params): + if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0): + raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k)) + + if 'sort_order' in kwargs: + sort_order_allowed_values = ["ASC", "DESC"] + if kwargs['sort_order'] not in sort_order_allowed_values: + raise ValueError( + "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values) + ) + + if 'sort_by' in kwargs: + sort_by_allowed_values = ["timeCreated", "displayName"] + if kwargs['sort_by'] not in sort_by_allowed_values: + raise ValueError( + "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values) + ) + + query_params = { + "page": kwargs.get("page", missing), + "limit": kwargs.get("limit", missing), + "sortOrder": kwargs.get("sort_order", missing), + "sortBy": kwargs.get("sort_by", missing) + } + query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} + + header_params = { + "accept": "application/json", + "content-type": "application/json", + "opc-request-id": kwargs.get("opc_request_id", missing) + } + header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None} + + retry_strategy = self.base_client.get_preferred_retry_strategy( + operation_retry_strategy=kwargs.get('retry_strategy'), + client_retry_strategy=self.retry_strategy + ) + if retry_strategy is None: + retry_strategy = retry.DEFAULT_RETRY_STRATEGY + + if retry_strategy: + if not isinstance(retry_strategy, retry.NoneRetryStrategy): + self.base_client.add_opc_client_retries_header(header_params) + retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback) + return retry_strategy.make_retrying_call( + self.base_client.call_api, + resource_path=resource_path, + method=method, + path_params=path_params, + query_params=query_params, + header_params=header_params, + response_type="SubscriptionLineItemCollection", + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + else: + return self.base_client.call_api( + resource_path=resource_path, + method=method, + path_params=path_params, + query_params=query_params, + header_params=header_params, + response_type="SubscriptionLineItemCollection", + allow_control_chars=kwargs.get('allow_control_chars'), + operation_name=operation_name, + api_reference_link=api_reference_link, + required_arguments=required_arguments) + def list_subscription_mappings(self, subscription_id, **kwargs): """ Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed. :param str subscription_id: (required) - The ID of the subscription to which the tenancy is associated. + OCID of the subscription. :param str subscription_mapping_id: (optional) A unique ID for subscription and tenancy mapping. :param str compartment_id: (optional) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str lifecycle_state: (optional) The lifecycle state of the resource. @@ -915,7 +1219,7 @@ def list_subscription_mappings(self, subscription_id, **kwargs): resource_path = "/subscriptionMappings" method = "GET" operation_name = "list_subscription_mappings" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/ListSubscriptionMappings" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/ListSubscriptionMappings" # Don't accept unknown kwargs expected_kwargs = [ @@ -1013,7 +1317,7 @@ def list_subscriptions(self, **kwargs): :param str compartment_id: (optional) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str subscription_id: (optional) The ID of the subscription to which the tenancy is associated. @@ -1040,6 +1344,11 @@ def list_subscriptions(self, **kwargs): Allowed values are: "timeCreated", "displayName" + :param str entity_version: (optional) + The version of the subscription entity. + + Allowed values are: "V1", "V2" + :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. @@ -1063,7 +1372,7 @@ def list_subscriptions(self, **kwargs): resource_path = "/subscriptions" method = "GET" operation_name = "list_subscriptions" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/ListSubscriptions" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/ListSubscriptions" # Don't accept unknown kwargs expected_kwargs = [ @@ -1075,7 +1384,8 @@ def list_subscriptions(self, **kwargs): "page", "limit", "sort_order", - "sort_by" + "sort_by", + "entity_version" ] extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs] if extra_kwargs: @@ -1096,13 +1406,21 @@ def list_subscriptions(self, **kwargs): "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values) ) + if 'entity_version' in kwargs: + entity_version_allowed_values = ["V1", "V2"] + if kwargs['entity_version'] not in entity_version_allowed_values: + raise ValueError( + "Invalid value for `entity_version`, must be one of {0}".format(entity_version_allowed_values) + ) + query_params = { "compartmentId": kwargs.get("compartment_id", missing), "subscriptionId": kwargs.get("subscription_id", missing), "page": kwargs.get("page", missing), "limit": kwargs.get("limit", missing), "sortOrder": kwargs.get("sort_order", missing), - "sortBy": kwargs.get("sort_by", missing) + "sortBy": kwargs.get("sort_by", missing), + "entityVersion": kwargs.get("entity_version", missing) } query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None} diff --git a/src/oci/tenant_manager_control_plane/subscription_client_composite_operations.py b/src/oci/tenant_manager_control_plane/subscription_client_composite_operations.py index 9e70ad4d59..2d7e0b8b6d 100644 --- a/src/oci/tenant_manager_control_plane/subscription_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/subscription_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/tenant_manager_control_plane/work_request_client.py b/src/oci/tenant_manager_control_plane/work_request_client.py index 6960e503c0..1260479cda 100644 --- a/src/oci/tenant_manager_control_plane/work_request_client.py +++ b/src/oci/tenant_manager_control_plane/work_request_client.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 from __future__ import absolute_import @@ -94,7 +94,7 @@ def __init__(self, config, **kwargs): base_client_init_kwargs = { 'regional_client': True, 'service_endpoint': kwargs.get('service_endpoint'), - 'base_path': '/20200801', + 'base_path': '/20230401', 'service_endpoint_template': 'https://organizations.{region}.oci.{secondLevelDomain}', 'service_endpoint_template_per_realm': { }, # noqa: E201 E202 'skip_deserialization': kwargs.get('skip_deserialization', False), @@ -145,7 +145,7 @@ def get_work_request(self, work_request_id, **kwargs): resource_path = "/workRequests/{workRequestId}" method = "GET" operation_name = "get_work_request" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequest/GetWorkRequest" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequest/GetWorkRequest" # Don't accept unknown kwargs expected_kwargs = [ @@ -252,7 +252,7 @@ def list_work_request_errors(self, work_request_id, **kwargs): resource_path = "/workRequests/{workRequestId}/errors" method = "GET" operation_name = "list_work_request_errors" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequestError/ListWorkRequestErrors" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequestError/ListWorkRequestErrors" # Don't accept unknown kwargs expected_kwargs = [ @@ -378,7 +378,7 @@ def list_work_request_logs(self, work_request_id, **kwargs): resource_path = "/workRequests/{workRequestId}/logs" method = "GET" operation_name = "list_work_request_logs" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequestLogEntry/ListWorkRequestLogs" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequestLogEntry/ListWorkRequestLogs" # Don't accept unknown kwargs expected_kwargs = [ @@ -465,7 +465,7 @@ def list_work_requests(self, compartment_id, **kwargs): :param str compartment_id: (required) - OCID of the compartment. Always a tenancy OCID. + The ID of the compartment in which to list resources. :param str opc_request_id: (optional) The client request ID for tracing. @@ -504,7 +504,7 @@ def list_work_requests(self, compartment_id, **kwargs): resource_path = "/workRequests" method = "GET" operation_name = "list_work_requests" - api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequest/ListWorkRequests" + api_reference_link = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequest/ListWorkRequests" # Don't accept unknown kwargs expected_kwargs = [ diff --git a/src/oci/tenant_manager_control_plane/work_request_client_composite_operations.py b/src/oci/tenant_manager_control_plane/work_request_client_composite_operations.py index 2250a7fdb6..cba7d340bf 100644 --- a/src/oci/tenant_manager_control_plane/work_request_client_composite_operations.py +++ b/src/oci/tenant_manager_control_plane/work_request_client_composite_operations.py @@ -2,7 +2,7 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200801 +# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230401 import oci # noqa: F401 from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401 diff --git a/src/oci/version.py b/src/oci/version.py index 94976aaefd..73cc859be7 100644 --- a/src/oci/version.py +++ b/src/oci/version.py @@ -2,4 +2,4 @@ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -__version__ = "2.107.0" +__version__ = "2.108.0"