oci 2.14.0 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/lib/oci.rb +5 -0
- data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
- data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
- data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
- data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
- data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
- data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
- data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
- data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
- data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
- data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
- data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
- data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
- data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
- data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/util.rb +3 -0
- data/lib/oci/api_client.rb +4 -4
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/models/authorization_details.rb +2 -1
- data/lib/oci/application_migration/models/import_manifest.rb +208 -0
- data/lib/oci/application_migration/models/import_source_details.rb +192 -0
- data/lib/oci/application_migration/models/source_details.rb +2 -0
- data/lib/oci/application_migration/models/source_summary.rb +1 -0
- data/lib/oci/application_migration/models/source_types.rb +2 -1
- data/lib/oci/artifacts/artifacts.rb +15 -0
- data/lib/oci/artifacts/artifacts_client.rb +1104 -147
- data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
- data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
- data/lib/oci/artifacts/models/container_repository.rb +18 -4
- data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
- data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
- data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
- data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
- data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
- data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
- data/lib/oci/artifacts/models/generic_repository.rb +181 -0
- data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
- data/lib/oci/artifacts/models/repository.rb +338 -0
- data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
- data/lib/oci/artifacts/models/repository_summary.rb +299 -0
- data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
- data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
- data/lib/oci/bastion/bastion.rb +48 -0
- data/lib/oci/bastion/bastion_client.rb +1041 -0
- data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
- data/lib/oci/bastion/models/action_type.rb +14 -0
- data/lib/oci/bastion/models/bastion.rb +434 -0
- data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
- data/lib/oci/bastion/models/bastion_summary.rb +348 -0
- data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
- data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
- data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
- data/lib/oci/bastion/models/create_session_details.rb +238 -0
- data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
- data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
- data/lib/oci/bastion/models/operation_status.rb +15 -0
- data/lib/oci/bastion/models/operation_type.rb +14 -0
- data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/public_key_details.rb +154 -0
- data/lib/oci/bastion/models/session.rb +393 -0
- data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
- data/lib/oci/bastion/models/session_summary.rb +303 -0
- data/lib/oci/bastion/models/session_type.rb +11 -0
- data/lib/oci/bastion/models/sort_order.rb +11 -0
- data/lib/oci/bastion/models/target_resource_details.rb +205 -0
- data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
- data/lib/oci/bastion/models/update_session_details.rb +154 -0
- data/lib/oci/bastion/models/work_request.rb +309 -0
- data/lib/oci/bastion/models/work_request_error.rb +173 -0
- data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bastion/models/work_request_resource.rb +219 -0
- data/lib/oci/bastion/models/work_request_summary.rb +309 -0
- data/lib/oci/bastion/util.rb +3 -0
- data/lib/oci/bds/bds_client.rb +70 -77
- data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
- data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
- data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
- data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
- data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
- data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
- data/lib/oci/bds/models/bds_instance.rb +17 -16
- data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
- data/lib/oci/bds/models/change_shape_details.rb +1 -1
- data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
- data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
- data/lib/oci/bds/models/cluster_details.rb +26 -13
- data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
- data/lib/oci/bds/models/create_node_details.rb +6 -6
- data/lib/oci/bds/models/kerberos_details.rb +2 -2
- data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
- data/lib/oci/bds/models/network_config.rb +1 -1
- data/lib/oci/bds/models/node.rb +15 -15
- data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
- data/lib/oci/bds/models/restart_node_details.rb +2 -2
- data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
- data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
- data/lib/oci/bds/models/work_request.rb +9 -14
- data/lib/oci/bds/models/work_request_error.rb +2 -3
- data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
- data/lib/oci/bds/models/work_request_resource.rb +2 -5
- data/lib/oci/container_engine/container_engine.rb +2 -0
- data/lib/oci/container_engine/container_engine_client.rb +118 -0
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -0
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
- data/lib/oci/core/blockstorage_client.rb +70 -1
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
- data/lib/oci/core/compute_client.rb +63 -0
- data/lib/oci/core/compute_client_composite_operations.rb +40 -0
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
- data/lib/oci/core/models/block_volume_replica.rb +1 -1
- data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
- data/lib/oci/core/models/boot_volume_replica.rb +1 -1
- data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
- data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +32 -4
- data/lib/oci/core/models/create_vlan_details.rb +11 -3
- data/lib/oci/core/models/create_volume_details.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +38 -4
- data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
- data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
- data/lib/oci/core/models/image.rb +18 -1
- data/lib/oci/core/models/instance_agent_features.rb +2 -2
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
- data/lib/oci/core/models/multipath_device.rb +180 -0
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
- data/lib/oci/core/models/update_dhcp_details.rb +32 -4
- data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
- data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
- data/lib/oci/core/models/vlan.rb +2 -1
- data/lib/oci/core/models/volume_attachment.rb +58 -4
- data/lib/oci/core/virtual_network_client.rb +7 -5
- data/lib/oci/data_catalog/data_catalog.rb +11 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
- data/lib/oci/data_catalog/models/attribute.rb +43 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
- data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
- data/lib/oci/data_catalog/models/data_asset.rb +16 -1
- data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
- data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
- data/lib/oci/data_catalog/models/entity.rb +30 -1
- data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/folder.rb +44 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
- data/lib/oci/data_catalog/models/job.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_type.rb +2 -1
- data/lib/oci/data_catalog/models/metastore.rb +325 -0
- data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
- data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
- data/lib/oci/data_catalog/models/search_result.rb +15 -1
- data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
- data/lib/oci/data_flow/data_flow_client.rb +3 -0
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/application_summary.rb +16 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_run_details.rb +17 -1
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_integration/data_integration.rb +52 -0
- data/lib/oci/data_integration/data_integration_client.rb +766 -24
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
- data/lib/oci/data_integration/models/auth_details.rb +213 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
- data/lib/oci/data_integration/models/connection.rb +4 -0
- data/lib/oci/data_integration/models/connection_details.rb +5 -1
- data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
- data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
- data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
- data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
- data/lib/oci/data_integration/models/connection_summary.rb +4 -0
- data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
- data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
- data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
- data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
- data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
- data/lib/oci/data_integration/models/create_task_details.rb +7 -1
- data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
- data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
- data/lib/oci/data_integration/models/data_asset.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
- data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
- data/lib/oci/data_integration/models/data_entity.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
- data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
- data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
- data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
- data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
- data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
- data/lib/oci/data_integration/models/expression_operator.rb +250 -0
- data/lib/oci/data_integration/models/external_storage.rb +221 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/lookup.rb +274 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
- data/lib/oci/data_integration/models/object_metadata.rb +17 -4
- data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
- data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
- data/lib/oci/data_integration/models/operator.rb +4 -1
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
- data/lib/oci/data_integration/models/parameter.rb +4 -3
- data/lib/oci/data_integration/models/parent_reference.rb +18 -4
- data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
- data/lib/oci/data_integration/models/published_object.rb +3 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
- data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
- data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/script.rb +202 -0
- data/lib/oci/data_integration/models/shape_field.rb +3 -3
- data/lib/oci/data_integration/models/task.rb +23 -4
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
- data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
- data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
- data/lib/oci/data_integration/models/task_operator.rb +3 -0
- data/lib/oci/data_integration/models/task_run.rb +62 -1
- data/lib/oci/data_integration/models/task_run_details.rb +3 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
- data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
- data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +6 -0
- data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
- data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
- data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
- data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
- data/lib/oci/data_integration/models/update_task_details.rb +7 -1
- data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
- data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
- data/lib/oci/data_safe/data_safe.rb +18 -0
- data/lib/oci/data_safe/data_safe_client.rb +731 -17
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
- data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
- data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
- data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/connection_option.rb +194 -0
- data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
- data/lib/oci/data_safe/models/credentials.rb +164 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
- data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
- data/lib/oci/data_safe/models/database_details.rb +231 -0
- data/lib/oci/data_safe/models/database_type.rb +12 -0
- data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
- data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
- data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
- data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
- data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
- data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
- data/lib/oci/data_safe/models/service_list.rb +4 -0
- data/lib/oci/data_safe/models/target_database.rb +369 -0
- data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
- data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
- data/lib/oci/data_safe/models/tls_config.rb +244 -0
- data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
- data/lib/oci/data_safe/models/work_request.rb +6 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
- data/lib/oci/data_science/data_science.rb +3 -0
- data/lib/oci/data_science/data_science_client.rb +16 -9
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
- data/lib/oci/data_science/models/create_model_details.rb +60 -4
- data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
- data/lib/oci/data_science/models/metadata.rb +197 -0
- data/lib/oci/data_science/models/model.rb +60 -4
- data/lib/oci/data_science/models/model_deployment.rb +1 -1
- data/lib/oci/data_science/models/model_provenance.rb +18 -4
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
- data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
- data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
- data/lib/oci/data_science/models/update_model_details.rb +32 -4
- data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
- data/lib/oci/database/database.rb +17 -0
- data/lib/oci/database/database_client.rb +1228 -46
- data/lib/oci/database/database_client_composite_operations.rb +416 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database.rb +213 -6
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
- data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
- data/lib/oci/database/models/create_db_home_base.rb +18 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
- data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/customer_contact.rb +2 -2
- data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
- data/lib/oci/database/models/db_node.rb +69 -1
- data/lib/oci/database/models/db_node_summary.rb +69 -1
- data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
- data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
- data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
- data/lib/oci/database/models/maintenance_run.rb +4 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
- data/lib/oci/database/models/pluggable_database.rb +358 -0
- data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
- data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
- data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
- data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
- data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
- data/lib/oci/database/models/vm_cluster.rb +15 -2
- data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
- data/lib/oci/database/models/vm_cluster_update.rb +346 -0
- data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
- data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database_management/database_management.rb +25 -0
- data/lib/oci/database_management/db_management_client.rb +1467 -97
- data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
- data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
- data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
- data/lib/oci/database_management/models/awr_db_report.rb +205 -0
- data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
- data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
- data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
- data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
- data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
- data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
- data/lib/oci/database_management/models/awr_query_result.rb +254 -0
- data/lib/oci/devops/devops.rb +177 -0
- data/lib/oci/devops/devops_client.rb +2344 -0
- data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
- data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
- data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
- data/lib/oci/devops/models/action_type.rb +15 -0
- data/lib/oci/devops/models/approval_action.rb +184 -0
- data/lib/oci/devops/models/approval_policy.rb +189 -0
- data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
- data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
- data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
- data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
- data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
- data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
- data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
- data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
- data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
- data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
- data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
- data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
- data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
- data/lib/oci/devops/models/create_deployment_details.rb +228 -0
- data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
- data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
- data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
- data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/create_project_details.rb +216 -0
- data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
- data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/deploy_artifact.rb +407 -0
- data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
- data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
- data/lib/oci/devops/models/deploy_environment.rb +376 -0
- data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
- data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
- data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
- data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
- data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
- data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
- data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
- data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
- data/lib/oci/devops/models/deploy_stage.rb +411 -0
- data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
- data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
- data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
- data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
- data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
- data/lib/oci/devops/models/deployment.rb +445 -0
- data/lib/oci/devops/models/deployment_argument.rb +160 -0
- data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
- data/lib/oci/devops/models/deployment_summary.rb +363 -0
- data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
- data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
- data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
- data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
- data/lib/oci/devops/models/load_balancer_config.rb +184 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/notification_config.rb +154 -0
- data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
- data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
- data/lib/oci/devops/models/operation_status.rb +15 -0
- data/lib/oci/devops/models/operation_type.rb +28 -0
- data/lib/oci/devops/models/project.rb +330 -0
- data/lib/oci/devops/models/project_collection.rb +150 -0
- data/lib/oci/devops/models/project_summary.rb +292 -0
- data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
- data/lib/oci/devops/models/sort_order.rb +11 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
- data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
- data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
- data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
- data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
- data/lib/oci/devops/models/update_deployment_details.rb +214 -0
- data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
- data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
- data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
- data/lib/oci/devops/models/update_project_details.rb +191 -0
- data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/wait_criteria.rb +189 -0
- data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
- data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/work_request.rb +314 -0
- data/lib/oci/devops/models/work_request_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_error.rb +171 -0
- data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
- data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_resource.rb +216 -0
- data/lib/oci/devops/models/work_request_summary.rb +314 -0
- data/lib/oci/devops/util.rb +3 -0
- data/lib/oci/dns/dns.rb +1 -1
- data/lib/oci/dns/dns_client.rb +306 -75
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
- data/lib/oci/dns/models/external_master.rb +1 -12
- data/lib/oci/dns/models/resolver.rb +4 -4
- data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_summary.rb +4 -4
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +4 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +20 -4
- data/lib/oci/dns/models/zone_summary.rb +1 -0
- data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
- data/lib/oci/email/email.rb +23 -0
- data/lib/oci/email/email_client.rb +1139 -139
- data/lib/oci/email/email_client_composite_operations.rb +346 -0
- data/lib/oci/email/models/action_type.rb +14 -0
- data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
- data/lib/oci/email/models/create_dkim_details.rb +225 -0
- data/lib/oci/email/models/create_email_domain_details.rb +220 -0
- data/lib/oci/email/models/create_sender_details.rb +2 -0
- data/lib/oci/email/models/dkim.rb +399 -0
- data/lib/oci/email/models/dkim_collection.rb +150 -0
- data/lib/oci/email/models/dkim_summary.rb +307 -0
- data/lib/oci/email/models/email_domain.rb +333 -0
- data/lib/oci/email/models/email_domain_collection.rb +150 -0
- data/lib/oci/email/models/email_domain_summary.rb +291 -0
- data/lib/oci/email/models/operation_status.rb +15 -0
- data/lib/oci/email/models/operation_type.rb +17 -0
- data/lib/oci/email/models/sender.rb +21 -4
- data/lib/oci/email/models/sender_summary.rb +5 -3
- data/lib/oci/email/models/sort_order.rb +11 -0
- data/lib/oci/email/models/suppression.rb +77 -7
- data/lib/oci/email/models/suppression_summary.rb +3 -3
- data/lib/oci/email/models/update_dkim_details.rb +189 -0
- data/lib/oci/email/models/update_email_domain_details.rb +189 -0
- data/lib/oci/email/models/update_sender_details.rb +2 -0
- data/lib/oci/email/models/work_request.rb +312 -0
- data/lib/oci/email/models/work_request_error.rb +172 -0
- data/lib/oci/email/models/work_request_error_collection.rb +150 -0
- data/lib/oci/email/models/work_request_log_entry.rb +160 -0
- data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/email/models/work_request_resource.rb +219 -0
- data/lib/oci/email/models/work_request_summary.rb +312 -0
- data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
- data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
- data/lib/oci/generic_artifacts_content/util.rb +3 -0
- data/lib/oci/jms/java_management_service_client.rb +1520 -0
- data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
- data/lib/oci/jms/jms.rb +63 -0
- data/lib/oci/jms/models/action_type.rb +14 -0
- data/lib/oci/jms/models/application_sort_by.rb +15 -0
- data/lib/oci/jms/models/application_usage.rb +292 -0
- data/lib/oci/jms/models/application_usage_collection.rb +150 -0
- data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
- data/lib/oci/jms/models/create_fleet_details.rb +210 -0
- data/lib/oci/jms/models/fleet.rb +358 -0
- data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
- data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
- data/lib/oci/jms/models/fleet_collection.rb +150 -0
- data/lib/oci/jms/models/fleet_summary.rb +359 -0
- data/lib/oci/jms/models/installation_sort_by.rb +17 -0
- data/lib/oci/jms/models/installation_usage.rb +306 -0
- data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
- data/lib/oci/jms/models/jre_sort_by.rb +17 -0
- data/lib/oci/jms/models/jre_usage.rb +276 -0
- data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
- data/lib/oci/jms/models/lifecycle_state.rb +15 -0
- data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
- data/lib/oci/jms/models/managed_instance_type.rb +10 -0
- data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
- data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
- data/lib/oci/jms/models/operation_status.rb +15 -0
- data/lib/oci/jms/models/operation_type.rb +13 -0
- data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
- data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
- data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
- data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
- data/lib/oci/jms/models/sort_by.rb +11 -0
- data/lib/oci/jms/models/sort_order.rb +11 -0
- data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
- data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
- data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
- data/lib/oci/jms/models/update_fleet_details.rb +196 -0
- data/lib/oci/jms/models/work_request.rb +306 -0
- data/lib/oci/jms/models/work_request_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_error.rb +173 -0
- data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
- data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_resource.rb +219 -0
- data/lib/oci/jms/util.rb +3 -0
- data/lib/oci/limits/limits_client.rb +12 -12
- data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
- data/lib/oci/limits/models/quota.rb +6 -6
- data/lib/oci/limits/models/quota_summary.rb +3 -3
- data/lib/oci/limits/models/resource_availability.rb +7 -7
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +9 -9
- data/lib/oci/log_analytics/log_analytics.rb +1 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
- data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/namespace.rb +20 -4
- data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
- data/lib/oci/log_analytics/models/schedule.rb +20 -4
- data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
- data/lib/oci/log_analytics/models/standard_task.rb +9 -1
- data/lib/oci/log_analytics/models/stream_action.rb +40 -4
- data/lib/oci/loggingingestion/logging_client.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
- data/lib/oci/marketplace/account_client.rb +220 -0
- data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/marketplace.rb +8 -0
- data/lib/oci/marketplace/marketplace_client.rb +86 -24
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
- data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
- data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
- data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
- data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
- data/lib/oci/marketplace/models/eula.rb +2 -2
- data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
- data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
- data/lib/oci/marketplace/models/listing.rb +2 -2
- data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
- data/lib/oci/marketplace/models/listing_summary.rb +2 -2
- data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/operating_system.rb +2 -2
- data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication.rb +11 -11
- data/lib/oci/marketplace/models/publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
- data/lib/oci/marketplace/models/publication_summary.rb +9 -9
- data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
- data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
- data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
- data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
- data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
- data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
- data/lib/oci/mysql/db_backups_client.rb +76 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
- data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
- data/lib/oci/mysql/mysql.rb +1 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
- data/lib/oci/oce/models/license_type.rb +3 -1
- data/lib/oci/oce/models/oce_instance.rb +19 -1
- data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
- data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
- data/lib/oci/oce/oce_instance_client.rb +2 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
- data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
- data/lib/oci/ocvp/models/esxi_host.rb +2 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
- data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
- data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
- data/lib/oci/ocvp/models/operation_types.rb +5 -1
- data/lib/oci/ocvp/models/sddc.rb +86 -2
- data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/work_request.rb +4 -0
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +291 -2
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
- data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
- data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
- data/lib/oci/opsi/models/database_details.rb +1 -0
- data/lib/oci/opsi/models/database_insight.rb +1 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
- data/lib/oci/opsi/models/host_insight.rb +1 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
- data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
- data/lib/oci/opsi/operations_insights_client.rb +631 -25
- data/lib/oci/opsi/opsi.rb +5 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/secrets/secrets_client.rb +71 -1
- data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
- data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
- data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
- data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
- data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
- data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
- data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
- data/lib/oci/usage_api/models/create_query_details.rb +1 -1
- data/lib/oci/usage_api/models/custom_table.rb +13 -13
- data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
- data/lib/oci/usage_api/models/dimension.rb +1 -1
- data/lib/oci/usage_api/models/forecast.rb +3 -3
- data/lib/oci/usage_api/models/query_definition.rb +1 -1
- data/lib/oci/usage_api/models/query_summary.rb +1 -1
- data/lib/oci/usage_api/models/report_query.rb +11 -5
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
- data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
- data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
- data/lib/oci/usage_api/models/update_query_details.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +1 -1
- data/lib/oci/usage_api/usage_api.rb +0 -6
- data/lib/oci/usage_api/usageapi_client.rb +332 -1
- data/lib/oci/version.rb +1 -1
- metadata +512 -16
@@ -23,6 +23,7 @@ module OCI
|
|
23
23
|
TYPE_INTERNAL_COMPUTE = 'INTERNAL_COMPUTE'.freeze,
|
24
24
|
TYPE_OCC = 'OCC'.freeze,
|
25
25
|
TYPE_OCIC_IDCS = 'OCIC_IDCS'.freeze,
|
26
|
+
TYPE_IMPORT = 'IMPORT'.freeze,
|
26
27
|
TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
27
28
|
].freeze
|
28
29
|
|
@@ -57,6 +58,7 @@ module OCI
|
|
57
58
|
def self.get_subtype(object_hash)
|
58
59
|
type = object_hash[:'type'] # rubocop:disable Style/SymbolLiteral
|
59
60
|
|
61
|
+
return 'OCI::ApplicationMigration::Models::ImportSourceDetails' if type == 'IMPORT'
|
60
62
|
return 'OCI::ApplicationMigration::Models::OccSourceDetails' if type == 'OCC'
|
61
63
|
return 'OCI::ApplicationMigration::Models::InternalSourceDetails' if type == 'INTERNAL_COMPUTE'
|
62
64
|
return 'OCI::ApplicationMigration::Models::OcicSourceDetails' if type == 'OCIC'
|
@@ -7,7 +7,8 @@ module OCI
|
|
7
7
|
SOURCE_TYPES_OCIC = 'OCIC'.freeze,
|
8
8
|
SOURCE_TYPES_INTERNAL_COMPUTE = 'INTERNAL_COMPUTE'.freeze,
|
9
9
|
SOURCE_TYPES_OCC = 'OCC'.freeze,
|
10
|
-
SOURCE_TYPES_OCIC_IDCS = 'OCIC_IDCS'.freeze
|
10
|
+
SOURCE_TYPES_OCIC_IDCS = 'OCIC_IDCS'.freeze,
|
11
|
+
SOURCE_TYPES_IMPORT = 'IMPORT'.freeze
|
11
12
|
].freeze
|
12
13
|
end
|
13
14
|
end
|
@@ -12,6 +12,7 @@ end
|
|
12
12
|
|
13
13
|
# Require models
|
14
14
|
require 'oci/artifacts/models/change_container_repository_compartment_details'
|
15
|
+
require 'oci/artifacts/models/change_repository_compartment_details'
|
15
16
|
require 'oci/artifacts/models/container_configuration'
|
16
17
|
require 'oci/artifacts/models/container_image'
|
17
18
|
require 'oci/artifacts/models/container_image_collection'
|
@@ -27,10 +28,24 @@ require 'oci/artifacts/models/container_repository_summary'
|
|
27
28
|
require 'oci/artifacts/models/container_version'
|
28
29
|
require 'oci/artifacts/models/create_container_image_signature_details'
|
29
30
|
require 'oci/artifacts/models/create_container_repository_details'
|
31
|
+
require 'oci/artifacts/models/create_generic_repository_details'
|
32
|
+
require 'oci/artifacts/models/create_repository_details'
|
33
|
+
require 'oci/artifacts/models/generic_artifact'
|
34
|
+
require 'oci/artifacts/models/generic_artifact_collection'
|
35
|
+
require 'oci/artifacts/models/generic_artifact_summary'
|
36
|
+
require 'oci/artifacts/models/generic_repository'
|
37
|
+
require 'oci/artifacts/models/generic_repository_summary'
|
30
38
|
require 'oci/artifacts/models/remove_container_version_details'
|
39
|
+
require 'oci/artifacts/models/repository'
|
40
|
+
require 'oci/artifacts/models/repository_collection'
|
41
|
+
require 'oci/artifacts/models/repository_summary'
|
31
42
|
require 'oci/artifacts/models/restore_container_image_details'
|
32
43
|
require 'oci/artifacts/models/update_container_configuration_details'
|
33
44
|
require 'oci/artifacts/models/update_container_repository_details'
|
45
|
+
require 'oci/artifacts/models/update_generic_artifact_by_path_details'
|
46
|
+
require 'oci/artifacts/models/update_generic_artifact_details'
|
47
|
+
require 'oci/artifacts/models/update_generic_repository_details'
|
48
|
+
require 'oci/artifacts/models/update_repository_details'
|
34
49
|
|
35
50
|
# Require generated clients
|
36
51
|
require 'oci/artifacts/artifacts_client'
|
@@ -175,6 +175,82 @@ module OCI
|
|
175
175
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
176
176
|
|
177
177
|
|
178
|
+
# Moves a repository into a different compartment within the same tenancy. For information about moving
|
179
|
+
# resources between compartments, see
|
180
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
181
|
+
#
|
182
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
183
|
+
#
|
184
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
185
|
+
#
|
186
|
+
# @param [OCI::Artifacts::Models::ChangeRepositoryCompartmentDetails] change_repository_compartment_details Moves a repository into a different compartment.
|
187
|
+
# @param [Hash] opts the optional parameters
|
188
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
189
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
190
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
191
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
192
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
193
|
+
#
|
194
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
195
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
196
|
+
#
|
197
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
198
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
199
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
200
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
201
|
+
# may be rejected).
|
202
|
+
#
|
203
|
+
# @return [Response] A Response object with data of type nil
|
204
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/change_repository_compartment.rb.html) to see an example of how to use change_repository_compartment API.
|
205
|
+
def change_repository_compartment(repository_id, change_repository_compartment_details, opts = {})
|
206
|
+
logger.debug 'Calling operation ArtifactsClient#change_repository_compartment.' if logger
|
207
|
+
|
208
|
+
raise "Missing the required parameter 'repository_id' when calling change_repository_compartment." if repository_id.nil?
|
209
|
+
raise "Missing the required parameter 'change_repository_compartment_details' when calling change_repository_compartment." if change_repository_compartment_details.nil?
|
210
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
211
|
+
|
212
|
+
path = '/repositories/{repositoryId}/actions/changeCompartment'.sub('{repositoryId}', repository_id.to_s)
|
213
|
+
operation_signing_strategy = :standard
|
214
|
+
|
215
|
+
# rubocop:disable Style/NegatedIf
|
216
|
+
# Query Params
|
217
|
+
query_params = {}
|
218
|
+
|
219
|
+
# Header Params
|
220
|
+
header_params = {}
|
221
|
+
header_params[:accept] = 'application/json'
|
222
|
+
header_params[:'content-type'] = 'application/json'
|
223
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
224
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
225
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
226
|
+
# rubocop:enable Style/NegatedIf
|
227
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
228
|
+
|
229
|
+
post_body = @api_client.object_to_http_body(change_repository_compartment_details)
|
230
|
+
|
231
|
+
# rubocop:disable Metrics/BlockLength
|
232
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#change_repository_compartment') do
|
233
|
+
@api_client.call_api(
|
234
|
+
:POST,
|
235
|
+
path,
|
236
|
+
endpoint,
|
237
|
+
header_params: header_params,
|
238
|
+
query_params: query_params,
|
239
|
+
operation_signing_strategy: operation_signing_strategy,
|
240
|
+
body: post_body
|
241
|
+
)
|
242
|
+
end
|
243
|
+
# rubocop:enable Metrics/BlockLength
|
244
|
+
end
|
245
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
246
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
247
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
248
|
+
|
249
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
250
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
251
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
252
|
+
|
253
|
+
|
178
254
|
# Upload a signature to an image.
|
179
255
|
# @param [OCI::Artifacts::Models::CreateContainerImageSignatureDetails] create_container_image_signature_details Upload container image signature details
|
180
256
|
# @param [Hash] opts the optional parameters
|
@@ -306,6 +382,69 @@ module OCI
|
|
306
382
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
307
383
|
|
308
384
|
|
385
|
+
# Creates a new repository for storing artifacts.
|
386
|
+
# @param [OCI::Artifacts::Models::CreateRepositoryDetails] create_repository_details Creates a new repository for storing artifacts.
|
387
|
+
# @param [Hash] opts the optional parameters
|
388
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
389
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
390
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
391
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
392
|
+
#
|
393
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
394
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
395
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
396
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
397
|
+
# may be rejected).
|
398
|
+
#
|
399
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::Repository Repository}
|
400
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/create_repository.rb.html) to see an example of how to use create_repository API.
|
401
|
+
def create_repository(create_repository_details, opts = {})
|
402
|
+
logger.debug 'Calling operation ArtifactsClient#create_repository.' if logger
|
403
|
+
|
404
|
+
raise "Missing the required parameter 'create_repository_details' when calling create_repository." if create_repository_details.nil?
|
405
|
+
|
406
|
+
path = '/repositories'
|
407
|
+
operation_signing_strategy = :standard
|
408
|
+
|
409
|
+
# rubocop:disable Style/NegatedIf
|
410
|
+
# Query Params
|
411
|
+
query_params = {}
|
412
|
+
|
413
|
+
# Header Params
|
414
|
+
header_params = {}
|
415
|
+
header_params[:accept] = 'application/json'
|
416
|
+
header_params[:'content-type'] = 'application/json'
|
417
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
418
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
419
|
+
# rubocop:enable Style/NegatedIf
|
420
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
421
|
+
|
422
|
+
post_body = @api_client.object_to_http_body(create_repository_details)
|
423
|
+
|
424
|
+
# rubocop:disable Metrics/BlockLength
|
425
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#create_repository') do
|
426
|
+
@api_client.call_api(
|
427
|
+
:POST,
|
428
|
+
path,
|
429
|
+
endpoint,
|
430
|
+
header_params: header_params,
|
431
|
+
query_params: query_params,
|
432
|
+
operation_signing_strategy: operation_signing_strategy,
|
433
|
+
body: post_body,
|
434
|
+
return_type: 'OCI::Artifacts::Models::Repository'
|
435
|
+
)
|
436
|
+
end
|
437
|
+
# rubocop:enable Metrics/BlockLength
|
438
|
+
end
|
439
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
440
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
441
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
442
|
+
|
443
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
444
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
445
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
446
|
+
|
447
|
+
|
309
448
|
# Delete a container image.
|
310
449
|
# @param [String] image_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
|
311
450
|
#
|
@@ -495,49 +634,56 @@ module OCI
|
|
495
634
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
496
635
|
|
497
636
|
|
498
|
-
#
|
499
|
-
# @param [String]
|
637
|
+
# Deletes an artifact with a specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
638
|
+
# @param [String] artifact_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
639
|
+
#
|
640
|
+
# Example: `ocid1.genericartifact.oc1..exampleuniqueID`
|
641
|
+
#
|
500
642
|
# @param [Hash] opts the optional parameters
|
501
643
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
502
644
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
645
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
646
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
647
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
648
|
+
#
|
503
649
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
504
650
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
505
651
|
#
|
506
|
-
# @return [Response] A Response object with data of type
|
507
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
508
|
-
def
|
509
|
-
logger.debug 'Calling operation ArtifactsClient#
|
652
|
+
# @return [Response] A Response object with data of type nil
|
653
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/delete_generic_artifact.rb.html) to see an example of how to use delete_generic_artifact API.
|
654
|
+
def delete_generic_artifact(artifact_id, opts = {})
|
655
|
+
logger.debug 'Calling operation ArtifactsClient#delete_generic_artifact.' if logger
|
510
656
|
|
511
|
-
raise "Missing the required parameter '
|
657
|
+
raise "Missing the required parameter 'artifact_id' when calling delete_generic_artifact." if artifact_id.nil?
|
658
|
+
raise "Parameter value for 'artifact_id' must not be blank" if OCI::Internal::Util.blank_string?(artifact_id)
|
512
659
|
|
513
|
-
path = '/
|
660
|
+
path = '/generic/artifacts/{artifactId}'.sub('{artifactId}', artifact_id.to_s)
|
514
661
|
operation_signing_strategy = :standard
|
515
662
|
|
516
663
|
# rubocop:disable Style/NegatedIf
|
517
664
|
# Query Params
|
518
665
|
query_params = {}
|
519
|
-
query_params[:compartmentId] = compartment_id
|
520
666
|
|
521
667
|
# Header Params
|
522
668
|
header_params = {}
|
523
669
|
header_params[:accept] = 'application/json'
|
524
670
|
header_params[:'content-type'] = 'application/json'
|
671
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
525
672
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
526
673
|
# rubocop:enable Style/NegatedIf
|
527
674
|
|
528
675
|
post_body = nil
|
529
676
|
|
530
677
|
# rubocop:disable Metrics/BlockLength
|
531
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
678
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#delete_generic_artifact') do
|
532
679
|
@api_client.call_api(
|
533
|
-
:
|
680
|
+
:DELETE,
|
534
681
|
path,
|
535
682
|
endpoint,
|
536
683
|
header_params: header_params,
|
537
684
|
query_params: query_params,
|
538
685
|
operation_signing_strategy: operation_signing_strategy,
|
539
|
-
body: post_body
|
540
|
-
return_type: 'OCI::Artifacts::Models::ContainerConfiguration'
|
686
|
+
body: post_body
|
541
687
|
)
|
542
688
|
end
|
543
689
|
# rubocop:enable Metrics/BlockLength
|
@@ -551,26 +697,42 @@ module OCI
|
|
551
697
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
552
698
|
|
553
699
|
|
554
|
-
#
|
555
|
-
# @param [String]
|
700
|
+
# Deletes an artifact with a specified `artifactPath` and `version`.
|
701
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
556
702
|
#
|
557
|
-
# Example: `ocid1.
|
703
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
704
|
+
#
|
705
|
+
# @param [String] artifact_path A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
706
|
+
#
|
707
|
+
# Example: `project01/my-web-app/artifact-abc`
|
708
|
+
#
|
709
|
+
# @param [String] version A user-defined string to describe the artifact version.
|
710
|
+
#
|
711
|
+
# Example: `1.1.2` or `1.2-beta-2`
|
558
712
|
#
|
559
713
|
# @param [Hash] opts the optional parameters
|
560
714
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
561
715
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
716
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
717
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
718
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
719
|
+
#
|
562
720
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
563
721
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
564
722
|
#
|
565
|
-
# @return [Response] A Response object with data of type
|
566
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
567
|
-
def
|
568
|
-
logger.debug 'Calling operation ArtifactsClient#
|
723
|
+
# @return [Response] A Response object with data of type nil
|
724
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/delete_generic_artifact_by_path.rb.html) to see an example of how to use delete_generic_artifact_by_path API.
|
725
|
+
def delete_generic_artifact_by_path(repository_id, artifact_path, version, opts = {})
|
726
|
+
logger.debug 'Calling operation ArtifactsClient#delete_generic_artifact_by_path.' if logger
|
569
727
|
|
570
|
-
raise "Missing the required parameter '
|
571
|
-
raise "
|
728
|
+
raise "Missing the required parameter 'repository_id' when calling delete_generic_artifact_by_path." if repository_id.nil?
|
729
|
+
raise "Missing the required parameter 'artifact_path' when calling delete_generic_artifact_by_path." if artifact_path.nil?
|
730
|
+
raise "Missing the required parameter 'version' when calling delete_generic_artifact_by_path." if version.nil?
|
731
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
732
|
+
raise "Parameter value for 'artifact_path' must not be blank" if OCI::Internal::Util.blank_string?(artifact_path)
|
733
|
+
raise "Parameter value for 'version' must not be blank" if OCI::Internal::Util.blank_string?(version)
|
572
734
|
|
573
|
-
path = '/
|
735
|
+
path = '/generic/repositories/{repositoryId}/artifactPaths/{artifactPath}/versions/{version}'.sub('{repositoryId}', repository_id.to_s).sub('{artifactPath}', artifact_path.to_s).sub('{version}', version.to_s)
|
574
736
|
operation_signing_strategy = :standard
|
575
737
|
|
576
738
|
# rubocop:disable Style/NegatedIf
|
@@ -581,22 +743,22 @@ module OCI
|
|
581
743
|
header_params = {}
|
582
744
|
header_params[:accept] = 'application/json'
|
583
745
|
header_params[:'content-type'] = 'application/json'
|
746
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
584
747
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
585
748
|
# rubocop:enable Style/NegatedIf
|
586
749
|
|
587
750
|
post_body = nil
|
588
751
|
|
589
752
|
# rubocop:disable Metrics/BlockLength
|
590
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
753
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#delete_generic_artifact_by_path') do
|
591
754
|
@api_client.call_api(
|
592
|
-
:
|
755
|
+
:DELETE,
|
593
756
|
path,
|
594
757
|
endpoint,
|
595
758
|
header_params: header_params,
|
596
759
|
query_params: query_params,
|
597
760
|
operation_signing_strategy: operation_signing_strategy,
|
598
|
-
body: post_body
|
599
|
-
return_type: 'OCI::Artifacts::Models::ContainerImage'
|
761
|
+
body: post_body
|
600
762
|
)
|
601
763
|
end
|
602
764
|
# rubocop:enable Metrics/BlockLength
|
@@ -610,26 +772,30 @@ module OCI
|
|
610
772
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
611
773
|
|
612
774
|
|
613
|
-
#
|
614
|
-
# @param [String]
|
775
|
+
# Deletes the specified repository. This operation fails unless all associated artifacts are in a DELETED state. You must delete all associated artifacts before deleting a repository.
|
776
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
615
777
|
#
|
616
|
-
# Example: `ocid1.
|
778
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
617
779
|
#
|
618
780
|
# @param [Hash] opts the optional parameters
|
619
781
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
620
782
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
783
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
784
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
785
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
786
|
+
#
|
621
787
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
622
788
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
623
789
|
#
|
624
|
-
# @return [Response] A Response object with data of type
|
625
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
626
|
-
def
|
627
|
-
logger.debug 'Calling operation ArtifactsClient#
|
790
|
+
# @return [Response] A Response object with data of type nil
|
791
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/delete_repository.rb.html) to see an example of how to use delete_repository API.
|
792
|
+
def delete_repository(repository_id, opts = {})
|
793
|
+
logger.debug 'Calling operation ArtifactsClient#delete_repository.' if logger
|
628
794
|
|
629
|
-
raise "Missing the required parameter '
|
630
|
-
raise "Parameter value for '
|
795
|
+
raise "Missing the required parameter 'repository_id' when calling delete_repository." if repository_id.nil?
|
796
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
631
797
|
|
632
|
-
path = '/
|
798
|
+
path = '/repositories/{repositoryId}'.sub('{repositoryId}', repository_id.to_s)
|
633
799
|
operation_signing_strategy = :standard
|
634
800
|
|
635
801
|
# rubocop:disable Style/NegatedIf
|
@@ -640,22 +806,22 @@ module OCI
|
|
640
806
|
header_params = {}
|
641
807
|
header_params[:accept] = 'application/json'
|
642
808
|
header_params[:'content-type'] = 'application/json'
|
809
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
643
810
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
644
811
|
# rubocop:enable Style/NegatedIf
|
645
812
|
|
646
813
|
post_body = nil
|
647
814
|
|
648
815
|
# rubocop:disable Metrics/BlockLength
|
649
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
816
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#delete_repository') do
|
650
817
|
@api_client.call_api(
|
651
|
-
:
|
818
|
+
:DELETE,
|
652
819
|
path,
|
653
820
|
endpoint,
|
654
821
|
header_params: header_params,
|
655
822
|
query_params: query_params,
|
656
823
|
operation_signing_strategy: operation_signing_strategy,
|
657
|
-
body: post_body
|
658
|
-
return_type: 'OCI::Artifacts::Models::ContainerImageSignature'
|
824
|
+
body: post_body
|
659
825
|
)
|
660
826
|
end
|
661
827
|
# rubocop:enable Metrics/BlockLength
|
@@ -669,31 +835,28 @@ module OCI
|
|
669
835
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
670
836
|
|
671
837
|
|
672
|
-
# Get container
|
673
|
-
# @param [String]
|
674
|
-
#
|
675
|
-
# Example: `ocid1.containerrepo.oc1..exampleuniqueID`
|
676
|
-
#
|
838
|
+
# Get container configuration.
|
839
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
677
840
|
# @param [Hash] opts the optional parameters
|
678
841
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
679
842
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
680
843
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
681
844
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
682
845
|
#
|
683
|
-
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::
|
684
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
685
|
-
def
|
686
|
-
logger.debug 'Calling operation ArtifactsClient#
|
846
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerConfiguration ContainerConfiguration}
|
847
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_container_configuration.rb.html) to see an example of how to use get_container_configuration API.
|
848
|
+
def get_container_configuration(compartment_id, opts = {})
|
849
|
+
logger.debug 'Calling operation ArtifactsClient#get_container_configuration.' if logger
|
687
850
|
|
688
|
-
raise "Missing the required parameter '
|
689
|
-
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
851
|
+
raise "Missing the required parameter 'compartment_id' when calling get_container_configuration." if compartment_id.nil?
|
690
852
|
|
691
|
-
path = '/container/
|
853
|
+
path = '/container/configuration'
|
692
854
|
operation_signing_strategy = :standard
|
693
855
|
|
694
856
|
# rubocop:disable Style/NegatedIf
|
695
857
|
# Query Params
|
696
858
|
query_params = {}
|
859
|
+
query_params[:compartmentId] = compartment_id
|
697
860
|
|
698
861
|
# Header Params
|
699
862
|
header_params = {}
|
@@ -705,7 +868,7 @@ module OCI
|
|
705
868
|
post_body = nil
|
706
869
|
|
707
870
|
# rubocop:disable Metrics/BlockLength
|
708
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
871
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_container_configuration') do
|
709
872
|
@api_client.call_api(
|
710
873
|
:GET,
|
711
874
|
path,
|
@@ -714,7 +877,7 @@ module OCI
|
|
714
877
|
query_params: query_params,
|
715
878
|
operation_signing_strategy: operation_signing_strategy,
|
716
879
|
body: post_body,
|
717
|
-
return_type: 'OCI::Artifacts::Models::
|
880
|
+
return_type: 'OCI::Artifacts::Models::ContainerConfiguration'
|
718
881
|
)
|
719
882
|
end
|
720
883
|
# rubocop:enable Metrics/BlockLength
|
@@ -728,41 +891,650 @@ module OCI
|
|
728
891
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
729
892
|
|
730
893
|
|
731
|
-
#
|
732
|
-
# @param [String]
|
894
|
+
# Get container image metadata.
|
895
|
+
# @param [String] image_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
|
896
|
+
#
|
897
|
+
# Example: `ocid1.containerimage.oc1..exampleuniqueID`
|
898
|
+
#
|
733
899
|
# @param [Hash] opts the optional parameters
|
734
900
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
735
901
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
736
|
-
# @option opts [
|
737
|
-
#
|
738
|
-
# inspected depending on the the setting of `accessLevel`.
|
739
|
-
# Default is false. Can only be set to true when calling the API
|
740
|
-
# on the tenancy (root compartment).
|
902
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
903
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
741
904
|
#
|
742
|
-
# @
|
905
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerImage ContainerImage}
|
906
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_container_image.rb.html) to see an example of how to use get_container_image API.
|
907
|
+
def get_container_image(image_id, opts = {})
|
908
|
+
logger.debug 'Calling operation ArtifactsClient#get_container_image.' if logger
|
909
|
+
|
910
|
+
raise "Missing the required parameter 'image_id' when calling get_container_image." if image_id.nil?
|
911
|
+
raise "Parameter value for 'image_id' must not be blank" if OCI::Internal::Util.blank_string?(image_id)
|
912
|
+
|
913
|
+
path = '/container/images/{imageId}'.sub('{imageId}', image_id.to_s)
|
914
|
+
operation_signing_strategy = :standard
|
915
|
+
|
916
|
+
# rubocop:disable Style/NegatedIf
|
917
|
+
# Query Params
|
918
|
+
query_params = {}
|
919
|
+
|
920
|
+
# Header Params
|
921
|
+
header_params = {}
|
922
|
+
header_params[:accept] = 'application/json'
|
923
|
+
header_params[:'content-type'] = 'application/json'
|
924
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
925
|
+
# rubocop:enable Style/NegatedIf
|
926
|
+
|
927
|
+
post_body = nil
|
928
|
+
|
929
|
+
# rubocop:disable Metrics/BlockLength
|
930
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_container_image') do
|
931
|
+
@api_client.call_api(
|
932
|
+
:GET,
|
933
|
+
path,
|
934
|
+
endpoint,
|
935
|
+
header_params: header_params,
|
936
|
+
query_params: query_params,
|
937
|
+
operation_signing_strategy: operation_signing_strategy,
|
938
|
+
body: post_body,
|
939
|
+
return_type: 'OCI::Artifacts::Models::ContainerImage'
|
940
|
+
)
|
941
|
+
end
|
942
|
+
# rubocop:enable Metrics/BlockLength
|
943
|
+
end
|
944
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
945
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
946
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
947
|
+
|
948
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
949
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
950
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
951
|
+
|
952
|
+
|
953
|
+
# Get container image signature metadata.
|
954
|
+
# @param [String] image_signature_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image signature.
|
955
|
+
#
|
956
|
+
# Example: `ocid1.containersignature.oc1..exampleuniqueID`
|
957
|
+
#
|
958
|
+
# @param [Hash] opts the optional parameters
|
959
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
960
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
961
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
962
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
963
|
+
#
|
964
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerImageSignature ContainerImageSignature}
|
965
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_container_image_signature.rb.html) to see an example of how to use get_container_image_signature API.
|
966
|
+
def get_container_image_signature(image_signature_id, opts = {})
|
967
|
+
logger.debug 'Calling operation ArtifactsClient#get_container_image_signature.' if logger
|
968
|
+
|
969
|
+
raise "Missing the required parameter 'image_signature_id' when calling get_container_image_signature." if image_signature_id.nil?
|
970
|
+
raise "Parameter value for 'image_signature_id' must not be blank" if OCI::Internal::Util.blank_string?(image_signature_id)
|
971
|
+
|
972
|
+
path = '/container/imageSignatures/{imageSignatureId}'.sub('{imageSignatureId}', image_signature_id.to_s)
|
973
|
+
operation_signing_strategy = :standard
|
974
|
+
|
975
|
+
# rubocop:disable Style/NegatedIf
|
976
|
+
# Query Params
|
977
|
+
query_params = {}
|
978
|
+
|
979
|
+
# Header Params
|
980
|
+
header_params = {}
|
981
|
+
header_params[:accept] = 'application/json'
|
982
|
+
header_params[:'content-type'] = 'application/json'
|
983
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
984
|
+
# rubocop:enable Style/NegatedIf
|
985
|
+
|
986
|
+
post_body = nil
|
987
|
+
|
988
|
+
# rubocop:disable Metrics/BlockLength
|
989
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_container_image_signature') do
|
990
|
+
@api_client.call_api(
|
991
|
+
:GET,
|
992
|
+
path,
|
993
|
+
endpoint,
|
994
|
+
header_params: header_params,
|
995
|
+
query_params: query_params,
|
996
|
+
operation_signing_strategy: operation_signing_strategy,
|
997
|
+
body: post_body,
|
998
|
+
return_type: 'OCI::Artifacts::Models::ContainerImageSignature'
|
999
|
+
)
|
1000
|
+
end
|
1001
|
+
# rubocop:enable Metrics/BlockLength
|
1002
|
+
end
|
1003
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1004
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1005
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1006
|
+
|
1007
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1008
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1009
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1010
|
+
|
1011
|
+
|
1012
|
+
# Get container repository.
|
1013
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
|
1014
|
+
#
|
1015
|
+
# Example: `ocid1.containerrepo.oc1..exampleuniqueID`
|
1016
|
+
#
|
1017
|
+
# @param [Hash] opts the optional parameters
|
1018
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1019
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1020
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1021
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1022
|
+
#
|
1023
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerRepository ContainerRepository}
|
1024
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_container_repository.rb.html) to see an example of how to use get_container_repository API.
|
1025
|
+
def get_container_repository(repository_id, opts = {})
|
1026
|
+
logger.debug 'Calling operation ArtifactsClient#get_container_repository.' if logger
|
1027
|
+
|
1028
|
+
raise "Missing the required parameter 'repository_id' when calling get_container_repository." if repository_id.nil?
|
1029
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
1030
|
+
|
1031
|
+
path = '/container/repositories/{repositoryId}'.sub('{repositoryId}', repository_id.to_s)
|
1032
|
+
operation_signing_strategy = :standard
|
1033
|
+
|
1034
|
+
# rubocop:disable Style/NegatedIf
|
1035
|
+
# Query Params
|
1036
|
+
query_params = {}
|
1037
|
+
|
1038
|
+
# Header Params
|
1039
|
+
header_params = {}
|
1040
|
+
header_params[:accept] = 'application/json'
|
1041
|
+
header_params[:'content-type'] = 'application/json'
|
1042
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1043
|
+
# rubocop:enable Style/NegatedIf
|
1044
|
+
|
1045
|
+
post_body = nil
|
1046
|
+
|
1047
|
+
# rubocop:disable Metrics/BlockLength
|
1048
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_container_repository') do
|
1049
|
+
@api_client.call_api(
|
1050
|
+
:GET,
|
1051
|
+
path,
|
1052
|
+
endpoint,
|
1053
|
+
header_params: header_params,
|
1054
|
+
query_params: query_params,
|
1055
|
+
operation_signing_strategy: operation_signing_strategy,
|
1056
|
+
body: post_body,
|
1057
|
+
return_type: 'OCI::Artifacts::Models::ContainerRepository'
|
1058
|
+
)
|
1059
|
+
end
|
1060
|
+
# rubocop:enable Metrics/BlockLength
|
1061
|
+
end
|
1062
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1063
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1064
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1065
|
+
|
1066
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1067
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1068
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1069
|
+
|
1070
|
+
|
1071
|
+
# Gets information about an artifact with a specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
1072
|
+
# @param [String] artifact_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
1073
|
+
#
|
1074
|
+
# Example: `ocid1.genericartifact.oc1..exampleuniqueID`
|
1075
|
+
#
|
1076
|
+
# @param [Hash] opts the optional parameters
|
1077
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1078
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1079
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1080
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1081
|
+
#
|
1082
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::GenericArtifact GenericArtifact}
|
1083
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_generic_artifact.rb.html) to see an example of how to use get_generic_artifact API.
|
1084
|
+
def get_generic_artifact(artifact_id, opts = {})
|
1085
|
+
logger.debug 'Calling operation ArtifactsClient#get_generic_artifact.' if logger
|
1086
|
+
|
1087
|
+
raise "Missing the required parameter 'artifact_id' when calling get_generic_artifact." if artifact_id.nil?
|
1088
|
+
raise "Parameter value for 'artifact_id' must not be blank" if OCI::Internal::Util.blank_string?(artifact_id)
|
1089
|
+
|
1090
|
+
path = '/generic/artifacts/{artifactId}'.sub('{artifactId}', artifact_id.to_s)
|
1091
|
+
operation_signing_strategy = :standard
|
1092
|
+
|
1093
|
+
# rubocop:disable Style/NegatedIf
|
1094
|
+
# Query Params
|
1095
|
+
query_params = {}
|
1096
|
+
|
1097
|
+
# Header Params
|
1098
|
+
header_params = {}
|
1099
|
+
header_params[:accept] = 'application/json'
|
1100
|
+
header_params[:'content-type'] = 'application/json'
|
1101
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1102
|
+
# rubocop:enable Style/NegatedIf
|
1103
|
+
|
1104
|
+
post_body = nil
|
1105
|
+
|
1106
|
+
# rubocop:disable Metrics/BlockLength
|
1107
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_generic_artifact') do
|
1108
|
+
@api_client.call_api(
|
1109
|
+
:GET,
|
1110
|
+
path,
|
1111
|
+
endpoint,
|
1112
|
+
header_params: header_params,
|
1113
|
+
query_params: query_params,
|
1114
|
+
operation_signing_strategy: operation_signing_strategy,
|
1115
|
+
body: post_body,
|
1116
|
+
return_type: 'OCI::Artifacts::Models::GenericArtifact'
|
1117
|
+
)
|
1118
|
+
end
|
1119
|
+
# rubocop:enable Metrics/BlockLength
|
1120
|
+
end
|
1121
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1122
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1123
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1124
|
+
|
1125
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1126
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1127
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1128
|
+
|
1129
|
+
|
1130
|
+
# Gets information about an artifact with a specified `artifactPath` and `version`.
|
1131
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
1132
|
+
#
|
1133
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
1134
|
+
#
|
1135
|
+
# @param [String] artifact_path A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
1136
|
+
#
|
1137
|
+
# Example: `project01/my-web-app/artifact-abc`
|
1138
|
+
#
|
1139
|
+
# @param [String] version A user-defined string to describe the artifact version.
|
1140
|
+
#
|
1141
|
+
# Example: `1.1.2` or `1.2-beta-2`
|
1142
|
+
#
|
1143
|
+
# @param [Hash] opts the optional parameters
|
1144
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1145
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1146
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1147
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1148
|
+
#
|
1149
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::GenericArtifact GenericArtifact}
|
1150
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_generic_artifact_by_path.rb.html) to see an example of how to use get_generic_artifact_by_path API.
|
1151
|
+
def get_generic_artifact_by_path(repository_id, artifact_path, version, opts = {})
|
1152
|
+
logger.debug 'Calling operation ArtifactsClient#get_generic_artifact_by_path.' if logger
|
1153
|
+
|
1154
|
+
raise "Missing the required parameter 'repository_id' when calling get_generic_artifact_by_path." if repository_id.nil?
|
1155
|
+
raise "Missing the required parameter 'artifact_path' when calling get_generic_artifact_by_path." if artifact_path.nil?
|
1156
|
+
raise "Missing the required parameter 'version' when calling get_generic_artifact_by_path." if version.nil?
|
1157
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
1158
|
+
raise "Parameter value for 'artifact_path' must not be blank" if OCI::Internal::Util.blank_string?(artifact_path)
|
1159
|
+
raise "Parameter value for 'version' must not be blank" if OCI::Internal::Util.blank_string?(version)
|
1160
|
+
|
1161
|
+
path = '/generic/repositories/{repositoryId}/artifactPaths/{artifactPath}/versions/{version}'.sub('{repositoryId}', repository_id.to_s).sub('{artifactPath}', artifact_path.to_s).sub('{version}', version.to_s)
|
1162
|
+
operation_signing_strategy = :standard
|
1163
|
+
|
1164
|
+
# rubocop:disable Style/NegatedIf
|
1165
|
+
# Query Params
|
1166
|
+
query_params = {}
|
1167
|
+
|
1168
|
+
# Header Params
|
1169
|
+
header_params = {}
|
1170
|
+
header_params[:accept] = 'application/json'
|
1171
|
+
header_params[:'content-type'] = 'application/json'
|
1172
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1173
|
+
# rubocop:enable Style/NegatedIf
|
1174
|
+
|
1175
|
+
post_body = nil
|
1176
|
+
|
1177
|
+
# rubocop:disable Metrics/BlockLength
|
1178
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_generic_artifact_by_path') do
|
1179
|
+
@api_client.call_api(
|
1180
|
+
:GET,
|
1181
|
+
path,
|
1182
|
+
endpoint,
|
1183
|
+
header_params: header_params,
|
1184
|
+
query_params: query_params,
|
1185
|
+
operation_signing_strategy: operation_signing_strategy,
|
1186
|
+
body: post_body,
|
1187
|
+
return_type: 'OCI::Artifacts::Models::GenericArtifact'
|
1188
|
+
)
|
1189
|
+
end
|
1190
|
+
# rubocop:enable Metrics/BlockLength
|
1191
|
+
end
|
1192
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1193
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1194
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1195
|
+
|
1196
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1197
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1198
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1199
|
+
|
1200
|
+
|
1201
|
+
# Gets the specified repository's information.
|
1202
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
1203
|
+
#
|
1204
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
1205
|
+
#
|
1206
|
+
# @param [Hash] opts the optional parameters
|
1207
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1208
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1209
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1210
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1211
|
+
#
|
1212
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::Repository Repository}
|
1213
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/get_repository.rb.html) to see an example of how to use get_repository API.
|
1214
|
+
def get_repository(repository_id, opts = {})
|
1215
|
+
logger.debug 'Calling operation ArtifactsClient#get_repository.' if logger
|
1216
|
+
|
1217
|
+
raise "Missing the required parameter 'repository_id' when calling get_repository." if repository_id.nil?
|
1218
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
1219
|
+
|
1220
|
+
path = '/repositories/{repositoryId}'.sub('{repositoryId}', repository_id.to_s)
|
1221
|
+
operation_signing_strategy = :standard
|
1222
|
+
|
1223
|
+
# rubocop:disable Style/NegatedIf
|
1224
|
+
# Query Params
|
1225
|
+
query_params = {}
|
1226
|
+
|
1227
|
+
# Header Params
|
1228
|
+
header_params = {}
|
1229
|
+
header_params[:accept] = 'application/json'
|
1230
|
+
header_params[:'content-type'] = 'application/json'
|
1231
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1232
|
+
# rubocop:enable Style/NegatedIf
|
1233
|
+
|
1234
|
+
post_body = nil
|
1235
|
+
|
1236
|
+
# rubocop:disable Metrics/BlockLength
|
1237
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#get_repository') do
|
1238
|
+
@api_client.call_api(
|
1239
|
+
:GET,
|
1240
|
+
path,
|
1241
|
+
endpoint,
|
1242
|
+
header_params: header_params,
|
1243
|
+
query_params: query_params,
|
1244
|
+
operation_signing_strategy: operation_signing_strategy,
|
1245
|
+
body: post_body,
|
1246
|
+
return_type: 'OCI::Artifacts::Models::Repository'
|
1247
|
+
)
|
1248
|
+
end
|
1249
|
+
# rubocop:enable Metrics/BlockLength
|
1250
|
+
end
|
1251
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1252
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1253
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1254
|
+
|
1255
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1256
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1257
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1258
|
+
|
1259
|
+
|
1260
|
+
# List container image signatures in an image.
|
1261
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
1262
|
+
# @param [Hash] opts the optional parameters
|
1263
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1264
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1265
|
+
# @option opts [BOOLEAN] :compartment_id_in_subtree When set to true, the hierarchy of compartments is traversed
|
1266
|
+
# and all compartments and subcompartments in the tenancy are
|
1267
|
+
# inspected depending on the the setting of `accessLevel`.
|
1268
|
+
# Default is false. Can only be set to true when calling the API
|
1269
|
+
# on the tenancy (root compartment).
|
1270
|
+
#
|
1271
|
+
# @option opts [String] :image_id A filter to return a container image summary only for the specified container image OCID.
|
1272
|
+
#
|
1273
|
+
# @option opts [String] :repository_id A filter to return container images only for the specified container repository OCID.
|
1274
|
+
#
|
1275
|
+
# @option opts [String] :repository_name A filter to return container images or container image signatures that match the repository name.
|
1276
|
+
#
|
1277
|
+
# Example: `foo` or `foo*`
|
1278
|
+
#
|
1279
|
+
# @option opts [String] :image_digest The digest of the container image.
|
1280
|
+
#
|
1281
|
+
# Example: `sha256:e7d38b3517548a1c71e41bffe9c8ae6d6d29546ce46bf62159837aad072c90aa`
|
1282
|
+
#
|
1283
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1284
|
+
#
|
1285
|
+
# @option opts [String] :kms_key_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
|
1286
|
+
#
|
1287
|
+
# Example: `ocid1.keyversion.oc1..exampleuniqueID`
|
1288
|
+
#
|
1289
|
+
# @option opts [String] :kms_key_version_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
|
1290
|
+
#
|
1291
|
+
# Example: `ocid1.keyversion.oc1..exampleuniqueID`
|
1292
|
+
#
|
1293
|
+
# @option opts [String] :signing_algorithm The algorithm to be used for signing. These are the only supported signing algorithms for container images.
|
1294
|
+
# Allowed values are: SHA_224_RSA_PKCS_PSS, SHA_256_RSA_PKCS_PSS, SHA_384_RSA_PKCS_PSS, SHA_512_RSA_PKCS_PSS
|
1295
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1296
|
+
# \"List\" call. For important details about how pagination works, see
|
1297
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1298
|
+
#
|
1299
|
+
# Example: `50`
|
1300
|
+
#
|
1301
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1302
|
+
# call. For important details about how pagination works, see
|
1303
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1304
|
+
#
|
1305
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1306
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1307
|
+
#
|
1308
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
1309
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
1310
|
+
# sort order is case sensitive.
|
1311
|
+
#
|
1312
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
1313
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
1314
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
1315
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
1316
|
+
#
|
1317
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
1318
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
1319
|
+
# is case sensitive.
|
1320
|
+
#
|
1321
|
+
# Allowed values are: ASC, DESC
|
1322
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerImageSignatureCollection ContainerImageSignatureCollection}
|
1323
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/list_container_image_signatures.rb.html) to see an example of how to use list_container_image_signatures API.
|
1324
|
+
def list_container_image_signatures(compartment_id, opts = {})
|
1325
|
+
logger.debug 'Calling operation ArtifactsClient#list_container_image_signatures.' if logger
|
1326
|
+
|
1327
|
+
raise "Missing the required parameter 'compartment_id' when calling list_container_image_signatures." if compartment_id.nil?
|
1328
|
+
|
1329
|
+
if opts[:signing_algorithm] && !%w[SHA_224_RSA_PKCS_PSS SHA_256_RSA_PKCS_PSS SHA_384_RSA_PKCS_PSS SHA_512_RSA_PKCS_PSS].include?(opts[:signing_algorithm])
|
1330
|
+
raise 'Invalid value for "signing_algorithm", must be one of SHA_224_RSA_PKCS_PSS, SHA_256_RSA_PKCS_PSS, SHA_384_RSA_PKCS_PSS, SHA_512_RSA_PKCS_PSS.'
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
1334
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1338
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1339
|
+
end
|
1340
|
+
|
1341
|
+
path = '/container/imageSignatures'
|
1342
|
+
operation_signing_strategy = :standard
|
1343
|
+
|
1344
|
+
# rubocop:disable Style/NegatedIf
|
1345
|
+
# Query Params
|
1346
|
+
query_params = {}
|
1347
|
+
query_params[:compartmentId] = compartment_id
|
1348
|
+
query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
|
1349
|
+
query_params[:imageId] = opts[:image_id] if opts[:image_id]
|
1350
|
+
query_params[:repositoryId] = opts[:repository_id] if opts[:repository_id]
|
1351
|
+
query_params[:repositoryName] = opts[:repository_name] if opts[:repository_name]
|
1352
|
+
query_params[:imageDigest] = opts[:image_digest] if opts[:image_digest]
|
1353
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1354
|
+
query_params[:kmsKeyId] = opts[:kms_key_id] if opts[:kms_key_id]
|
1355
|
+
query_params[:kmsKeyVersionId] = opts[:kms_key_version_id] if opts[:kms_key_version_id]
|
1356
|
+
query_params[:signingAlgorithm] = opts[:signing_algorithm] if opts[:signing_algorithm]
|
1357
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1358
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1359
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1360
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1361
|
+
|
1362
|
+
# Header Params
|
1363
|
+
header_params = {}
|
1364
|
+
header_params[:accept] = 'application/json'
|
1365
|
+
header_params[:'content-type'] = 'application/json'
|
1366
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1367
|
+
# rubocop:enable Style/NegatedIf
|
1368
|
+
|
1369
|
+
post_body = nil
|
1370
|
+
|
1371
|
+
# rubocop:disable Metrics/BlockLength
|
1372
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#list_container_image_signatures') do
|
1373
|
+
@api_client.call_api(
|
1374
|
+
:GET,
|
1375
|
+
path,
|
1376
|
+
endpoint,
|
1377
|
+
header_params: header_params,
|
1378
|
+
query_params: query_params,
|
1379
|
+
operation_signing_strategy: operation_signing_strategy,
|
1380
|
+
body: post_body,
|
1381
|
+
return_type: 'OCI::Artifacts::Models::ContainerImageSignatureCollection'
|
1382
|
+
)
|
1383
|
+
end
|
1384
|
+
# rubocop:enable Metrics/BlockLength
|
1385
|
+
end
|
1386
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1387
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1388
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1389
|
+
|
1390
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1391
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1392
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1393
|
+
|
1394
|
+
|
1395
|
+
# List container images in a compartment.
|
1396
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
1397
|
+
# @param [Hash] opts the optional parameters
|
1398
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1399
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1400
|
+
# @option opts [BOOLEAN] :compartment_id_in_subtree When set to true, the hierarchy of compartments is traversed
|
1401
|
+
# and all compartments and subcompartments in the tenancy are
|
1402
|
+
# inspected depending on the the setting of `accessLevel`.
|
1403
|
+
# Default is false. Can only be set to true when calling the API
|
1404
|
+
# on the tenancy (root compartment).
|
1405
|
+
#
|
1406
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1407
|
+
#
|
1408
|
+
# @option opts [String] :image_id A filter to return a container image summary only for the specified container image OCID.
|
1409
|
+
#
|
1410
|
+
# @option opts [BOOLEAN] :is_versioned A filter to return container images based on whether there are any associated versions.
|
1411
|
+
#
|
1412
|
+
# @option opts [String] :repository_id A filter to return container images only for the specified container repository OCID.
|
1413
|
+
#
|
1414
|
+
# @option opts [String] :repository_name A filter to return container images or container image signatures that match the repository name.
|
1415
|
+
#
|
1416
|
+
# Example: `foo` or `foo*`
|
1417
|
+
#
|
1418
|
+
# @option opts [String] :version A filter to return container images that match the version.
|
1419
|
+
#
|
1420
|
+
# Example: `foo` or `foo*`
|
1421
|
+
#
|
1422
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state name exactly.
|
1423
|
+
#
|
1424
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1425
|
+
# \"List\" call. For important details about how pagination works, see
|
1426
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1427
|
+
#
|
1428
|
+
# Example: `50`
|
1429
|
+
#
|
1430
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1431
|
+
# call. For important details about how pagination works, see
|
1432
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1433
|
+
#
|
1434
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1435
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
1436
|
+
#
|
1437
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
1438
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
1439
|
+
# sort order is case sensitive.
|
1440
|
+
#
|
1441
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
1442
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
1443
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
1444
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
1445
|
+
#
|
1446
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
1447
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
1448
|
+
# is case sensitive.
|
1449
|
+
#
|
1450
|
+
# Allowed values are: ASC, DESC
|
1451
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerImageCollection ContainerImageCollection}
|
1452
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/list_container_images.rb.html) to see an example of how to use list_container_images API.
|
1453
|
+
def list_container_images(compartment_id, opts = {})
|
1454
|
+
logger.debug 'Calling operation ArtifactsClient#list_container_images.' if logger
|
1455
|
+
|
1456
|
+
raise "Missing the required parameter 'compartment_id' when calling list_container_images." if compartment_id.nil?
|
1457
|
+
|
1458
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
1459
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1463
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
path = '/container/images'
|
1467
|
+
operation_signing_strategy = :standard
|
1468
|
+
|
1469
|
+
# rubocop:disable Style/NegatedIf
|
1470
|
+
# Query Params
|
1471
|
+
query_params = {}
|
1472
|
+
query_params[:compartmentId] = compartment_id
|
1473
|
+
query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
|
1474
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1475
|
+
query_params[:imageId] = opts[:image_id] if opts[:image_id]
|
1476
|
+
query_params[:isVersioned] = opts[:is_versioned] if !opts[:is_versioned].nil?
|
1477
|
+
query_params[:repositoryId] = opts[:repository_id] if opts[:repository_id]
|
1478
|
+
query_params[:repositoryName] = opts[:repository_name] if opts[:repository_name]
|
1479
|
+
query_params[:version] = opts[:version] if opts[:version]
|
1480
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
1481
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1482
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1483
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1484
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1485
|
+
|
1486
|
+
# Header Params
|
1487
|
+
header_params = {}
|
1488
|
+
header_params[:accept] = 'application/json'
|
1489
|
+
header_params[:'content-type'] = 'application/json'
|
1490
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1491
|
+
# rubocop:enable Style/NegatedIf
|
1492
|
+
|
1493
|
+
post_body = nil
|
1494
|
+
|
1495
|
+
# rubocop:disable Metrics/BlockLength
|
1496
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#list_container_images') do
|
1497
|
+
@api_client.call_api(
|
1498
|
+
:GET,
|
1499
|
+
path,
|
1500
|
+
endpoint,
|
1501
|
+
header_params: header_params,
|
1502
|
+
query_params: query_params,
|
1503
|
+
operation_signing_strategy: operation_signing_strategy,
|
1504
|
+
body: post_body,
|
1505
|
+
return_type: 'OCI::Artifacts::Models::ContainerImageCollection'
|
1506
|
+
)
|
1507
|
+
end
|
1508
|
+
# rubocop:enable Metrics/BlockLength
|
1509
|
+
end
|
1510
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1511
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1512
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1513
|
+
|
1514
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1515
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1516
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1517
|
+
|
1518
|
+
|
1519
|
+
# List container repositories in a compartment.
|
1520
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
1521
|
+
# @param [Hash] opts the optional parameters
|
1522
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1523
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1524
|
+
# @option opts [BOOLEAN] :compartment_id_in_subtree When set to true, the hierarchy of compartments is traversed
|
1525
|
+
# and all compartments and subcompartments in the tenancy are
|
1526
|
+
# inspected depending on the the setting of `accessLevel`.
|
1527
|
+
# Default is false. Can only be set to true when calling the API
|
1528
|
+
# on the tenancy (root compartment).
|
743
1529
|
#
|
744
1530
|
# @option opts [String] :repository_id A filter to return container images only for the specified container repository OCID.
|
745
1531
|
#
|
746
|
-
# @option opts [String] :repository_name A filter to return container images or container image signatures that match the repository name.
|
747
|
-
#
|
748
|
-
# Example: `foo` or `foo*`
|
749
|
-
#
|
750
|
-
# @option opts [String] :image_digest The digest of the container image.
|
751
|
-
#
|
752
|
-
# Example: `sha256:e7d38b3517548a1c71e41bffe9c8ae6d6d29546ce46bf62159837aad072c90aa`
|
753
|
-
#
|
754
1532
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
755
1533
|
#
|
756
|
-
# @option opts [
|
757
|
-
#
|
758
|
-
# Example: `ocid1.keyversion.oc1..exampleuniqueID`
|
759
|
-
#
|
760
|
-
# @option opts [String] :kms_key_version_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
|
1534
|
+
# @option opts [BOOLEAN] :is_public A filter to return resources that match the isPublic value.
|
761
1535
|
#
|
762
|
-
#
|
1536
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state name exactly.
|
763
1537
|
#
|
764
|
-
# @option opts [String] :signing_algorithm The algorithm to be used for signing. These are the only supported signing algorithms for container images.
|
765
|
-
# Allowed values are: SHA_224_RSA_PKCS_PSS, SHA_256_RSA_PKCS_PSS, SHA_384_RSA_PKCS_PSS, SHA_512_RSA_PKCS_PSS
|
766
1538
|
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
767
1539
|
# \"List\" call. For important details about how pagination works, see
|
768
1540
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
@@ -790,16 +1562,12 @@ module OCI
|
|
790
1562
|
# is case sensitive.
|
791
1563
|
#
|
792
1564
|
# Allowed values are: ASC, DESC
|
793
|
-
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::
|
794
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
795
|
-
def
|
796
|
-
logger.debug 'Calling operation ArtifactsClient#
|
797
|
-
|
798
|
-
raise "Missing the required parameter 'compartment_id' when calling list_container_image_signatures." if compartment_id.nil?
|
1565
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::ContainerRepositoryCollection ContainerRepositoryCollection}
|
1566
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/list_container_repositories.rb.html) to see an example of how to use list_container_repositories API.
|
1567
|
+
def list_container_repositories(compartment_id, opts = {})
|
1568
|
+
logger.debug 'Calling operation ArtifactsClient#list_container_repositories.' if logger
|
799
1569
|
|
800
|
-
|
801
|
-
raise 'Invalid value for "signing_algorithm", must be one of SHA_224_RSA_PKCS_PSS, SHA_256_RSA_PKCS_PSS, SHA_384_RSA_PKCS_PSS, SHA_512_RSA_PKCS_PSS.'
|
802
|
-
end
|
1570
|
+
raise "Missing the required parameter 'compartment_id' when calling list_container_repositories." if compartment_id.nil?
|
803
1571
|
|
804
1572
|
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
805
1573
|
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
@@ -809,7 +1577,7 @@ module OCI
|
|
809
1577
|
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
810
1578
|
end
|
811
1579
|
|
812
|
-
path = '/container/
|
1580
|
+
path = '/container/repositories'
|
813
1581
|
operation_signing_strategy = :standard
|
814
1582
|
|
815
1583
|
# rubocop:disable Style/NegatedIf
|
@@ -817,14 +1585,10 @@ module OCI
|
|
817
1585
|
query_params = {}
|
818
1586
|
query_params[:compartmentId] = compartment_id
|
819
1587
|
query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
|
820
|
-
query_params[:imageId] = opts[:image_id] if opts[:image_id]
|
821
1588
|
query_params[:repositoryId] = opts[:repository_id] if opts[:repository_id]
|
822
|
-
query_params[:repositoryName] = opts[:repository_name] if opts[:repository_name]
|
823
|
-
query_params[:imageDigest] = opts[:image_digest] if opts[:image_digest]
|
824
1589
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
825
|
-
query_params[:
|
826
|
-
query_params[:
|
827
|
-
query_params[:signingAlgorithm] = opts[:signing_algorithm] if opts[:signing_algorithm]
|
1590
|
+
query_params[:isPublic] = opts[:is_public] if !opts[:is_public].nil?
|
1591
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
828
1592
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
829
1593
|
query_params[:page] = opts[:page] if opts[:page]
|
830
1594
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
@@ -840,7 +1604,7 @@ module OCI
|
|
840
1604
|
post_body = nil
|
841
1605
|
|
842
1606
|
# rubocop:disable Metrics/BlockLength
|
843
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
1607
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#list_container_repositories') do
|
844
1608
|
@api_client.call_api(
|
845
1609
|
:GET,
|
846
1610
|
path,
|
@@ -849,7 +1613,7 @@ module OCI
|
|
849
1613
|
query_params: query_params,
|
850
1614
|
operation_signing_strategy: operation_signing_strategy,
|
851
1615
|
body: post_body,
|
852
|
-
return_type: 'OCI::Artifacts::Models::
|
1616
|
+
return_type: 'OCI::Artifacts::Models::ContainerRepositoryCollection'
|
853
1617
|
)
|
854
1618
|
end
|
855
1619
|
# rubocop:enable Metrics/BlockLength
|
@@ -863,32 +1627,22 @@ module OCI
|
|
863
1627
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
864
1628
|
|
865
1629
|
|
866
|
-
#
|
1630
|
+
# Lists artifacts in the specified repository.
|
867
1631
|
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
1632
|
+
# @param [String] repository_id A filter to return the artifacts only for the specified repository OCID.
|
1633
|
+
#
|
868
1634
|
# @param [Hash] opts the optional parameters
|
869
1635
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
870
1636
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
871
|
-
# @option opts [
|
872
|
-
# and all compartments and subcompartments in the tenancy are
|
873
|
-
# inspected depending on the the setting of `accessLevel`.
|
874
|
-
# Default is false. Can only be set to true when calling the API
|
875
|
-
# on the tenancy (root compartment).
|
1637
|
+
# @option opts [String] :id A filter to return the resources for the specified OCID.
|
876
1638
|
#
|
877
1639
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
878
1640
|
#
|
879
|
-
# @option opts [String] :
|
880
|
-
#
|
881
|
-
# @option opts [BOOLEAN] :is_versioned A filter to return container images based on whether there are any associated versions.
|
882
|
-
#
|
883
|
-
# @option opts [String] :repository_id A filter to return container images only for the specified container repository OCID.
|
884
|
-
#
|
885
|
-
# @option opts [String] :repository_name A filter to return container images or container image signatures that match the repository name.
|
886
|
-
#
|
887
|
-
# Example: `foo` or `foo*`
|
1641
|
+
# @option opts [String] :artifact_path Filter results by a prefix for the `artifactPath` and and return artifacts that begin with the specified prefix in their path.
|
888
1642
|
#
|
889
|
-
# @option opts [String] :version
|
1643
|
+
# @option opts [String] :version Filter results by a prefix for `version` and return artifacts that that begin with the specified prefix in their version.
|
890
1644
|
#
|
891
|
-
#
|
1645
|
+
# @option opts [String] :sha256 Filter results by a specified SHA256 digest for the artifact.
|
892
1646
|
#
|
893
1647
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state name exactly.
|
894
1648
|
#
|
@@ -919,12 +1673,13 @@ module OCI
|
|
919
1673
|
# is case sensitive.
|
920
1674
|
#
|
921
1675
|
# Allowed values are: ASC, DESC
|
922
|
-
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::
|
923
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
924
|
-
def
|
925
|
-
logger.debug 'Calling operation ArtifactsClient#
|
1676
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::GenericArtifactCollection GenericArtifactCollection}
|
1677
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/list_generic_artifacts.rb.html) to see an example of how to use list_generic_artifacts API.
|
1678
|
+
def list_generic_artifacts(compartment_id, repository_id, opts = {})
|
1679
|
+
logger.debug 'Calling operation ArtifactsClient#list_generic_artifacts.' if logger
|
926
1680
|
|
927
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
1681
|
+
raise "Missing the required parameter 'compartment_id' when calling list_generic_artifacts." if compartment_id.nil?
|
1682
|
+
raise "Missing the required parameter 'repository_id' when calling list_generic_artifacts." if repository_id.nil?
|
928
1683
|
|
929
1684
|
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
930
1685
|
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
@@ -934,20 +1689,19 @@ module OCI
|
|
934
1689
|
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
935
1690
|
end
|
936
1691
|
|
937
|
-
path = '/
|
1692
|
+
path = '/generic/artifacts'
|
938
1693
|
operation_signing_strategy = :standard
|
939
1694
|
|
940
1695
|
# rubocop:disable Style/NegatedIf
|
941
1696
|
# Query Params
|
942
1697
|
query_params = {}
|
943
1698
|
query_params[:compartmentId] = compartment_id
|
944
|
-
query_params[:
|
1699
|
+
query_params[:repositoryId] = repository_id
|
1700
|
+
query_params[:id] = opts[:id] if opts[:id]
|
945
1701
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
946
|
-
query_params[:
|
947
|
-
query_params[:isVersioned] = opts[:is_versioned] if !opts[:is_versioned].nil?
|
948
|
-
query_params[:repositoryId] = opts[:repository_id] if opts[:repository_id]
|
949
|
-
query_params[:repositoryName] = opts[:repository_name] if opts[:repository_name]
|
1702
|
+
query_params[:artifactPath] = opts[:artifact_path] if opts[:artifact_path]
|
950
1703
|
query_params[:version] = opts[:version] if opts[:version]
|
1704
|
+
query_params[:sha256] = opts[:sha256] if opts[:sha256]
|
951
1705
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
952
1706
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
953
1707
|
query_params[:page] = opts[:page] if opts[:page]
|
@@ -964,7 +1718,7 @@ module OCI
|
|
964
1718
|
post_body = nil
|
965
1719
|
|
966
1720
|
# rubocop:disable Metrics/BlockLength
|
967
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
1721
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#list_generic_artifacts') do
|
968
1722
|
@api_client.call_api(
|
969
1723
|
:GET,
|
970
1724
|
path,
|
@@ -973,7 +1727,7 @@ module OCI
|
|
973
1727
|
query_params: query_params,
|
974
1728
|
operation_signing_strategy: operation_signing_strategy,
|
975
1729
|
body: post_body,
|
976
|
-
return_type: 'OCI::Artifacts::Models::
|
1730
|
+
return_type: 'OCI::Artifacts::Models::GenericArtifactCollection'
|
977
1731
|
)
|
978
1732
|
end
|
979
1733
|
# rubocop:enable Metrics/BlockLength
|
@@ -987,22 +1741,16 @@ module OCI
|
|
987
1741
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
988
1742
|
|
989
1743
|
|
990
|
-
#
|
1744
|
+
# Lists repositories in the specified compartment.
|
991
1745
|
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
992
1746
|
# @param [Hash] opts the optional parameters
|
993
1747
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
994
1748
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
995
|
-
# @option opts [
|
996
|
-
# and all compartments and subcompartments in the tenancy are
|
997
|
-
# inspected depending on the the setting of `accessLevel`.
|
998
|
-
# Default is false. Can only be set to true when calling the API
|
999
|
-
# on the tenancy (root compartment).
|
1000
|
-
#
|
1001
|
-
# @option opts [String] :repository_id A filter to return container images only for the specified container repository OCID.
|
1749
|
+
# @option opts [String] :id A filter to return the resources for the specified OCID.
|
1002
1750
|
#
|
1003
1751
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1004
1752
|
#
|
1005
|
-
# @option opts [BOOLEAN] :
|
1753
|
+
# @option opts [BOOLEAN] :is_immutable A filter to return resources that match the isImmutable value.
|
1006
1754
|
#
|
1007
1755
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state name exactly.
|
1008
1756
|
#
|
@@ -1033,12 +1781,12 @@ module OCI
|
|
1033
1781
|
# is case sensitive.
|
1034
1782
|
#
|
1035
1783
|
# Allowed values are: ASC, DESC
|
1036
|
-
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::
|
1037
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/
|
1038
|
-
def
|
1039
|
-
logger.debug 'Calling operation ArtifactsClient#
|
1784
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::RepositoryCollection RepositoryCollection}
|
1785
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/list_repositories.rb.html) to see an example of how to use list_repositories API.
|
1786
|
+
def list_repositories(compartment_id, opts = {})
|
1787
|
+
logger.debug 'Calling operation ArtifactsClient#list_repositories.' if logger
|
1040
1788
|
|
1041
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
1789
|
+
raise "Missing the required parameter 'compartment_id' when calling list_repositories." if compartment_id.nil?
|
1042
1790
|
|
1043
1791
|
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
1044
1792
|
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
@@ -1048,17 +1796,16 @@ module OCI
|
|
1048
1796
|
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1049
1797
|
end
|
1050
1798
|
|
1051
|
-
path = '/
|
1799
|
+
path = '/repositories'
|
1052
1800
|
operation_signing_strategy = :standard
|
1053
1801
|
|
1054
1802
|
# rubocop:disable Style/NegatedIf
|
1055
1803
|
# Query Params
|
1056
1804
|
query_params = {}
|
1057
1805
|
query_params[:compartmentId] = compartment_id
|
1058
|
-
query_params[:
|
1059
|
-
query_params[:repositoryId] = opts[:repository_id] if opts[:repository_id]
|
1806
|
+
query_params[:id] = opts[:id] if opts[:id]
|
1060
1807
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1061
|
-
query_params[:
|
1808
|
+
query_params[:isImmutable] = opts[:is_immutable] if !opts[:is_immutable].nil?
|
1062
1809
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
1063
1810
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
1064
1811
|
query_params[:page] = opts[:page] if opts[:page]
|
@@ -1075,7 +1822,7 @@ module OCI
|
|
1075
1822
|
post_body = nil
|
1076
1823
|
|
1077
1824
|
# rubocop:disable Metrics/BlockLength
|
1078
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#
|
1825
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#list_repositories') do
|
1079
1826
|
@api_client.call_api(
|
1080
1827
|
:GET,
|
1081
1828
|
path,
|
@@ -1084,7 +1831,7 @@ module OCI
|
|
1084
1831
|
query_params: query_params,
|
1085
1832
|
operation_signing_strategy: operation_signing_strategy,
|
1086
1833
|
body: post_body,
|
1087
|
-
return_type: 'OCI::Artifacts::Models::
|
1834
|
+
return_type: 'OCI::Artifacts::Models::RepositoryCollection'
|
1088
1835
|
)
|
1089
1836
|
end
|
1090
1837
|
# rubocop:enable Metrics/BlockLength
|
@@ -1370,6 +2117,216 @@ module OCI
|
|
1370
2117
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1371
2118
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1372
2119
|
|
2120
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2121
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2122
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2123
|
+
|
2124
|
+
|
2125
|
+
# Updates the artifact with the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can only update the tags of an artifact.
|
2126
|
+
# @param [String] artifact_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
2127
|
+
#
|
2128
|
+
# Example: `ocid1.genericartifact.oc1..exampleuniqueID`
|
2129
|
+
#
|
2130
|
+
# @param [OCI::Artifacts::Models::UpdateGenericArtifactDetails] update_generic_artifact_details Updates the artifact with the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can only update the tags of an artifact.
|
2131
|
+
# @param [Hash] opts the optional parameters
|
2132
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2133
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2134
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2135
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2136
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
2137
|
+
#
|
2138
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2139
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
2140
|
+
#
|
2141
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::GenericArtifact GenericArtifact}
|
2142
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/update_generic_artifact.rb.html) to see an example of how to use update_generic_artifact API.
|
2143
|
+
def update_generic_artifact(artifact_id, update_generic_artifact_details, opts = {})
|
2144
|
+
logger.debug 'Calling operation ArtifactsClient#update_generic_artifact.' if logger
|
2145
|
+
|
2146
|
+
raise "Missing the required parameter 'artifact_id' when calling update_generic_artifact." if artifact_id.nil?
|
2147
|
+
raise "Missing the required parameter 'update_generic_artifact_details' when calling update_generic_artifact." if update_generic_artifact_details.nil?
|
2148
|
+
raise "Parameter value for 'artifact_id' must not be blank" if OCI::Internal::Util.blank_string?(artifact_id)
|
2149
|
+
|
2150
|
+
path = '/generic/artifacts/{artifactId}'.sub('{artifactId}', artifact_id.to_s)
|
2151
|
+
operation_signing_strategy = :standard
|
2152
|
+
|
2153
|
+
# rubocop:disable Style/NegatedIf
|
2154
|
+
# Query Params
|
2155
|
+
query_params = {}
|
2156
|
+
|
2157
|
+
# Header Params
|
2158
|
+
header_params = {}
|
2159
|
+
header_params[:accept] = 'application/json'
|
2160
|
+
header_params[:'content-type'] = 'application/json'
|
2161
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2162
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2163
|
+
# rubocop:enable Style/NegatedIf
|
2164
|
+
|
2165
|
+
post_body = @api_client.object_to_http_body(update_generic_artifact_details)
|
2166
|
+
|
2167
|
+
# rubocop:disable Metrics/BlockLength
|
2168
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#update_generic_artifact') do
|
2169
|
+
@api_client.call_api(
|
2170
|
+
:PUT,
|
2171
|
+
path,
|
2172
|
+
endpoint,
|
2173
|
+
header_params: header_params,
|
2174
|
+
query_params: query_params,
|
2175
|
+
operation_signing_strategy: operation_signing_strategy,
|
2176
|
+
body: post_body,
|
2177
|
+
return_type: 'OCI::Artifacts::Models::GenericArtifact'
|
2178
|
+
)
|
2179
|
+
end
|
2180
|
+
# rubocop:enable Metrics/BlockLength
|
2181
|
+
end
|
2182
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2183
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2184
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2185
|
+
|
2186
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2187
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2188
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2189
|
+
|
2190
|
+
|
2191
|
+
# Updates an artifact with a specified `artifactPath` and `version`. You can only update the tags of an artifact.
|
2192
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
2193
|
+
#
|
2194
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
2195
|
+
#
|
2196
|
+
# @param [String] artifact_path A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
2197
|
+
#
|
2198
|
+
# Example: `project01/my-web-app/artifact-abc`
|
2199
|
+
#
|
2200
|
+
# @param [String] version A user-defined string to describe the artifact version.
|
2201
|
+
#
|
2202
|
+
# Example: `1.1.2` or `1.2-beta-2`
|
2203
|
+
#
|
2204
|
+
# @param [OCI::Artifacts::Models::UpdateGenericArtifactByPathDetails] update_generic_artifact_by_path_details Updates an artifact with a specified `artifactPath` and `version`. You can only update the tags of an artifact.
|
2205
|
+
# @param [Hash] opts the optional parameters
|
2206
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2207
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2208
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2209
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2210
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
2211
|
+
#
|
2212
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2213
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
2214
|
+
#
|
2215
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::GenericArtifact GenericArtifact}
|
2216
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/update_generic_artifact_by_path.rb.html) to see an example of how to use update_generic_artifact_by_path API.
|
2217
|
+
def update_generic_artifact_by_path(repository_id, artifact_path, version, update_generic_artifact_by_path_details, opts = {})
|
2218
|
+
logger.debug 'Calling operation ArtifactsClient#update_generic_artifact_by_path.' if logger
|
2219
|
+
|
2220
|
+
raise "Missing the required parameter 'repository_id' when calling update_generic_artifact_by_path." if repository_id.nil?
|
2221
|
+
raise "Missing the required parameter 'artifact_path' when calling update_generic_artifact_by_path." if artifact_path.nil?
|
2222
|
+
raise "Missing the required parameter 'version' when calling update_generic_artifact_by_path." if version.nil?
|
2223
|
+
raise "Missing the required parameter 'update_generic_artifact_by_path_details' when calling update_generic_artifact_by_path." if update_generic_artifact_by_path_details.nil?
|
2224
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
2225
|
+
raise "Parameter value for 'artifact_path' must not be blank" if OCI::Internal::Util.blank_string?(artifact_path)
|
2226
|
+
raise "Parameter value for 'version' must not be blank" if OCI::Internal::Util.blank_string?(version)
|
2227
|
+
|
2228
|
+
path = '/generic/repositories/{repositoryId}/artifactPaths/{artifactPath}/versions/{version}'.sub('{repositoryId}', repository_id.to_s).sub('{artifactPath}', artifact_path.to_s).sub('{version}', version.to_s)
|
2229
|
+
operation_signing_strategy = :standard
|
2230
|
+
|
2231
|
+
# rubocop:disable Style/NegatedIf
|
2232
|
+
# Query Params
|
2233
|
+
query_params = {}
|
2234
|
+
|
2235
|
+
# Header Params
|
2236
|
+
header_params = {}
|
2237
|
+
header_params[:accept] = 'application/json'
|
2238
|
+
header_params[:'content-type'] = 'application/json'
|
2239
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2240
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2241
|
+
# rubocop:enable Style/NegatedIf
|
2242
|
+
|
2243
|
+
post_body = @api_client.object_to_http_body(update_generic_artifact_by_path_details)
|
2244
|
+
|
2245
|
+
# rubocop:disable Metrics/BlockLength
|
2246
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#update_generic_artifact_by_path') do
|
2247
|
+
@api_client.call_api(
|
2248
|
+
:PUT,
|
2249
|
+
path,
|
2250
|
+
endpoint,
|
2251
|
+
header_params: header_params,
|
2252
|
+
query_params: query_params,
|
2253
|
+
operation_signing_strategy: operation_signing_strategy,
|
2254
|
+
body: post_body,
|
2255
|
+
return_type: 'OCI::Artifacts::Models::GenericArtifact'
|
2256
|
+
)
|
2257
|
+
end
|
2258
|
+
# rubocop:enable Metrics/BlockLength
|
2259
|
+
end
|
2260
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2261
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2262
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2263
|
+
|
2264
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2265
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2266
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2267
|
+
|
2268
|
+
|
2269
|
+
# Updates the properties of a repository. You can update the `displayName` and `description` properties.
|
2270
|
+
# @param [String] repository_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
|
2271
|
+
#
|
2272
|
+
# Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
|
2273
|
+
#
|
2274
|
+
# @param [OCI::Artifacts::Models::UpdateRepositoryDetails] update_repository_details Updates the properties of a repository.
|
2275
|
+
# @param [Hash] opts the optional parameters
|
2276
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2277
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2278
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2279
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2280
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
2281
|
+
#
|
2282
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2283
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
2284
|
+
#
|
2285
|
+
# @return [Response] A Response object with data of type {OCI::Artifacts::Models::Repository Repository}
|
2286
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/artifacts/update_repository.rb.html) to see an example of how to use update_repository API.
|
2287
|
+
def update_repository(repository_id, update_repository_details, opts = {})
|
2288
|
+
logger.debug 'Calling operation ArtifactsClient#update_repository.' if logger
|
2289
|
+
|
2290
|
+
raise "Missing the required parameter 'repository_id' when calling update_repository." if repository_id.nil?
|
2291
|
+
raise "Missing the required parameter 'update_repository_details' when calling update_repository." if update_repository_details.nil?
|
2292
|
+
raise "Parameter value for 'repository_id' must not be blank" if OCI::Internal::Util.blank_string?(repository_id)
|
2293
|
+
|
2294
|
+
path = '/repositories/{repositoryId}'.sub('{repositoryId}', repository_id.to_s)
|
2295
|
+
operation_signing_strategy = :standard
|
2296
|
+
|
2297
|
+
# rubocop:disable Style/NegatedIf
|
2298
|
+
# Query Params
|
2299
|
+
query_params = {}
|
2300
|
+
|
2301
|
+
# Header Params
|
2302
|
+
header_params = {}
|
2303
|
+
header_params[:accept] = 'application/json'
|
2304
|
+
header_params[:'content-type'] = 'application/json'
|
2305
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2306
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2307
|
+
# rubocop:enable Style/NegatedIf
|
2308
|
+
|
2309
|
+
post_body = @api_client.object_to_http_body(update_repository_details)
|
2310
|
+
|
2311
|
+
# rubocop:disable Metrics/BlockLength
|
2312
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ArtifactsClient#update_repository') do
|
2313
|
+
@api_client.call_api(
|
2314
|
+
:PUT,
|
2315
|
+
path,
|
2316
|
+
endpoint,
|
2317
|
+
header_params: header_params,
|
2318
|
+
query_params: query_params,
|
2319
|
+
operation_signing_strategy: operation_signing_strategy,
|
2320
|
+
body: post_body,
|
2321
|
+
return_type: 'OCI::Artifacts::Models::Repository'
|
2322
|
+
)
|
2323
|
+
end
|
2324
|
+
# rubocop:enable Metrics/BlockLength
|
2325
|
+
end
|
2326
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2327
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2328
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2329
|
+
|
1373
2330
|
private
|
1374
2331
|
|
1375
2332
|
def applicable_retry_config(opts = {})
|