oci 2.5.10 → 2.9.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 +37 -11
- data/lib/oci.rb +24 -1
- data/lib/oci/analytics/analytics.rb +43 -0
- data/lib/oci/analytics/analytics_client.rb +1133 -0
- data/lib/oci/analytics/analytics_client_composite_operations.rb +372 -0
- data/lib/oci/analytics/models/analytics_instance.rb +407 -0
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
- data/lib/oci/analytics/models/analytics_instance_summary.rb +371 -0
- data/lib/oci/analytics/models/capacity.rb +192 -0
- data/lib/oci/analytics/models/capacity_type.rb +11 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +310 -0
- data/lib/oci/analytics/models/feature_set.rb +11 -0
- data/lib/oci/analytics/models/license_type.rb +11 -0
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +151 -0
- data/lib/oci/analytics/models/sort_by.rb +14 -0
- data/lib/oci/analytics/models/sort_order.rb +11 -0
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
- data/lib/oci/analytics/models/work_request.rb +317 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +16 -0
- data/lib/oci/analytics/models/work_request_error.rb +177 -0
- data/lib/oci/analytics/models/work_request_log.rb +165 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +15 -0
- data/lib/oci/analytics/models/work_request_resource.rb +249 -0
- data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
- data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
- data/lib/oci/analytics/models/work_request_status.rb +15 -0
- data/lib/oci/analytics/models/work_request_summary.rb +301 -0
- data/lib/oci/analytics/util.rb +3 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -5
- data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
- data/lib/oci/announcements_service/announcements_service.rb +2 -1
- data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
- data/lib/oci/announcements_service/models/announcement.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
- data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
- data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
- data/lib/oci/announcements_service/util.rb +2 -1
- data/lib/oci/api_client.rb +6 -3
- data/lib/oci/api_client_proxy_settings.rb +2 -1
- data/lib/oci/apigateway/apigateway.rb +71 -0
- data/lib/oci/apigateway/deployment_client.rb +511 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/gateway_client.rb +509 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +157 -0
- data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
- data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
- data/lib/oci/apigateway/models/api_specification.rb +176 -0
- data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
- data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
- data/lib/oci/apigateway/models/api_specification_route.rb +233 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +159 -0
- data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
- data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
- data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/cors_policy.rb +240 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +242 -0
- data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
- data/lib/oci/apigateway/models/deployment.rb +362 -0
- data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
- data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
- data/lib/oci/apigateway/models/execution_log_policy.rb +196 -0
- data/lib/oci/apigateway/models/gateway.rb +367 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +322 -0
- data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
- data/lib/oci/apigateway/models/http_backend.rb +227 -0
- data/lib/oci/apigateway/models/json_web_key.rb +278 -0
- data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
- data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
- data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
- data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
- data/lib/oci/apigateway/models/public_key_set.rb +187 -0
- data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
- data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
- data/lib/oci/apigateway/models/static_public_key.rb +199 -0
- data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
- data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +196 -0
- data/lib/oci/apigateway/models/work_request.rb +309 -0
- data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_error.rb +173 -0
- data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_log.rb +160 -0
- data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
- data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
- data/lib/oci/apigateway/util.rb +3 -0
- data/lib/oci/apigateway/work_requests_client.rb +466 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/application_migration.rb +57 -0
- data/lib/oci/application_migration/application_migration_client.rb +1387 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/models/authorization_details.rb +180 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
- data/lib/oci/application_migration/models/configuration_field.rb +225 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +284 -0
- data/lib/oci/application_migration/models/create_source_details.rb +240 -0
- data/lib/oci/application_migration/models/discovery_details.rb +188 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/migration.rb +374 -0
- data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_summary.rb +344 -0
- data/lib/oci/application_migration/models/migration_types.rb +15 -0
- data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/ocic_source_details.rb +173 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/operation_status.rb +15 -0
- data/lib/oci/application_migration/models/operation_types.rb +20 -0
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/sort_orders.rb +11 -0
- data/lib/oci/application_migration/models/source.rb +278 -0
- data/lib/oci/application_migration/models/source_application.rb +212 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +219 -0
- data/lib/oci/application_migration/models/source_details.rb +187 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
- data/lib/oci/application_migration/models/source_summary.rb +295 -0
- data/lib/oci/application_migration/models/source_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +240 -0
- data/lib/oci/application_migration/models/update_source_details.rb +224 -0
- data/lib/oci/application_migration/models/work_request.rb +258 -0
- data/lib/oci/application_migration/models/work_request_error.rb +171 -0
- data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
- data/lib/oci/application_migration/models/work_request_summary.rb +251 -0
- data/lib/oci/application_migration/util.rb +3 -0
- data/lib/oci/audit/audit.rb +7 -1
- data/lib/oci/audit/audit_client.rb +34 -19
- data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
- data/lib/oci/audit/models/audit_event.rb +83 -262
- data/lib/oci/audit/models/configuration.rb +9 -3
- data/lib/oci/audit/models/data.rb +465 -0
- data/lib/oci/audit/models/identity.rb +314 -0
- data/lib/oci/audit/models/request.rb +286 -0
- data/lib/oci/audit/models/response.rb +274 -0
- data/lib/oci/audit/models/state_change.rb +176 -0
- data/lib/oci/audit/models/update_configuration_details.rb +9 -3
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/auth/auth.rb +6 -1
- data/lib/oci/auth/federation_client.rb +7 -3
- data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
- data/lib/oci/auth/security_token_container.rb +2 -1
- data/lib/oci/auth/session_key_supplier.rb +2 -1
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +16 -5
- data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
- data/lib/oci/auth/signers/resource_principals_signer.rb +41 -0
- data/lib/oci/auth/signers/security_token_signer.rb +2 -1
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
- data/lib/oci/auth/url_based_certificate_retriever.rb +8 -3
- data/lib/oci/auth/util.rb +20 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +20 -17
- data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
- data/lib/oci/autoscaling/autoscaling.rb +7 -1
- data/lib/oci/autoscaling/models/action.rb +2 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
- data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
- data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
- data/lib/oci/autoscaling/models/capacity.rb +5 -4
- data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
- data/lib/oci/autoscaling/models/condition.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
- data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
- data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
- data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
- data/lib/oci/autoscaling/models/metric.rb +2 -1
- data/lib/oci/autoscaling/models/resource.rb +2 -1
- data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
- data/lib/oci/autoscaling/models/threshold.rb +2 -1
- data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
- data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/util.rb +2 -1
- data/lib/oci/base_signer.rb +4 -3
- data/lib/oci/bds/bds.rb +45 -0
- data/lib/oci/bds/bds_client.rb +1045 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +423 -0
- data/lib/oci/bds/models/action_types.rb +14 -0
- data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
- data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
- data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
- data/lib/oci/bds/models/bds_instance.rb +436 -0
- data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
- data/lib/oci/bds/models/cluster_details.rb +240 -0
- data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
- data/lib/oci/bds/models/create_node_details.rb +194 -0
- data/lib/oci/bds/models/default_error.rb +160 -0
- data/lib/oci/bds/models/kerberos_details.rb +168 -0
- data/lib/oci/bds/models/network_config.rb +168 -0
- data/lib/oci/bds/models/node.rb +390 -0
- data/lib/oci/bds/models/operation_status.rb +15 -0
- data/lib/oci/bds/models/operation_types.rb +17 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
- data/lib/oci/bds/models/sort_orders.rb +11 -0
- data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
- data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
- data/lib/oci/bds/models/work_request.rb +312 -0
- data/lib/oci/bds/models/work_request_error.rb +173 -0
- data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bds/models/work_request_resource.rb +219 -0
- data/lib/oci/bds/util.rb +3 -0
- data/lib/oci/budget/budget.rb +3 -1
- data/lib/oci/budget/budget_client.rb +33 -16
- data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
- data/lib/oci/budget/models/alert_rule.rb +2 -1
- data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
- data/lib/oci/budget/models/alert_type.rb +2 -1
- data/lib/oci/budget/models/budget.rb +54 -3
- data/lib/oci/budget/models/budget_summary.rb +54 -3
- data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/create_budget_details.rb +57 -3
- data/lib/oci/budget/models/lifecycle_state.rb +2 -1
- data/lib/oci/budget/models/reset_period.rb +2 -1
- data/lib/oci/budget/models/sort_by.rb +2 -1
- data/lib/oci/budget/models/sort_order.rb +2 -1
- data/lib/oci/budget/models/target_type.rb +11 -0
- data/lib/oci/budget/models/threshold_type.rb +2 -1
- data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/update_budget_details.rb +2 -1
- data/lib/oci/budget/util.rb +2 -1
- data/lib/oci/cims/cims.rb +63 -0
- data/lib/oci/cims/incident_client.rb +575 -0
- data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
- data/lib/oci/cims/models/activity_item.rb +275 -0
- data/lib/oci/cims/models/availability_domain.rb +48 -0
- data/lib/oci/cims/models/category.rb +164 -0
- data/lib/oci/cims/models/classifier.rb +256 -0
- data/lib/oci/cims/models/contact.rb +219 -0
- data/lib/oci/cims/models/contact_list.rb +154 -0
- data/lib/oci/cims/models/create_category_details.rb +154 -0
- data/lib/oci/cims/models/create_incident.rb +223 -0
- data/lib/oci/cims/models/create_issue_type_details.rb +154 -0
- data/lib/oci/cims/models/create_item_details.rb +212 -0
- data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
- data/lib/oci/cims/models/create_resource_details.rb +263 -0
- data/lib/oci/cims/models/create_sub_category_details.rb +154 -0
- data/lib/oci/cims/models/create_tech_support_item_details.rb +161 -0
- data/lib/oci/cims/models/create_ticket_details.rb +198 -0
- data/lib/oci/cims/models/error_code.rb +27 -0
- data/lib/oci/cims/models/incident.rb +258 -0
- data/lib/oci/cims/models/incident_resource_type.rb +198 -0
- data/lib/oci/cims/models/incident_summary.rb +248 -0
- data/lib/oci/cims/models/incident_type.rb +194 -0
- data/lib/oci/cims/models/issue_type.rb +164 -0
- data/lib/oci/cims/models/item.rb +227 -0
- data/lib/oci/cims/models/lifecycle_details.rb +13 -0
- data/lib/oci/cims/models/lifecycle_state.rb +11 -0
- data/lib/oci/cims/models/limit_item.rb +245 -0
- data/lib/oci/cims/models/problem_type.rb +13 -0
- data/lib/oci/cims/models/region.rb +38 -0
- data/lib/oci/cims/models/resource.rb +276 -0
- data/lib/oci/cims/models/scope.rb +13 -0
- data/lib/oci/cims/models/service_category.rb +270 -0
- data/lib/oci/cims/models/sort_by.rb +11 -0
- data/lib/oci/cims/models/sort_order.rb +11 -0
- data/lib/oci/cims/models/status.rb +160 -0
- data/lib/oci/cims/models/sub_category.rb +164 -0
- data/lib/oci/cims/models/tech_support_item.rb +165 -0
- data/lib/oci/cims/models/tenancy_information.rb +168 -0
- data/lib/oci/cims/models/ticket.rb +315 -0
- data/lib/oci/cims/models/unit.rb +12 -0
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → cims/models/update_activity_item_details.rb} +39 -38
- data/lib/oci/cims/models/update_incident.rb +150 -0
- data/lib/oci/cims/models/update_item_details.rb +166 -0
- data/lib/oci/cims/models/update_resource_details.rb +149 -0
- data/lib/oci/cims/models/update_ticket_details.rb +150 -0
- data/lib/oci/cims/models/validation_response.rb +154 -0
- data/lib/oci/cims/util.rb +3 -0
- data/lib/oci/config.rb +12 -1
- data/lib/oci/config_file_loader.rb +9 -1
- data/lib/oci/container_engine/container_engine.rb +13 -1
- data/lib/oci/container_engine/container_engine_client.rb +9 -6
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
- data/lib/oci/container_engine/models/add_on_options.rb +2 -1
- data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
- data/lib/oci/container_engine/models/cluster.rb +17 -2
- data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
- data/lib/oci/container_engine/models/cluster_options.rb +2 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
- data/lib/oci/container_engine/models/create_node_pool_details.rb +50 -8
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/key_value.rb +2 -1
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
- data/lib/oci/container_engine/models/node.rb +31 -2
- data/lib/oci/container_engine/models/node_error.rb +2 -1
- data/lib/oci/container_engine/models/node_pool.rb +38 -7
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool_summary.rb +38 -7
- data/lib/oci/container_engine/models/node_source_details.rb +184 -0
- data/lib/oci/container_engine/models/node_source_option.rb +206 -0
- data/lib/oci/container_engine/models/node_source_type.rb +10 -0
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +162 -0
- data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
- data/lib/oci/container_engine/models/sort_order.rb +2 -1
- data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
- data/lib/oci/container_engine/models/update_node_pool_details.rb +47 -20
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/work_request.rb +2 -1
- data/lib/oci/container_engine/models/work_request_error.rb +2 -1
- data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
- data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
- data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
- data/lib/oci/container_engine/models/work_request_status.rb +2 -1
- data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
- data/lib/oci/container_engine/util.rb +2 -1
- data/lib/oci/core/blockstorage_client.rb +322 -28
- data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
- data/lib/oci/core/compute_client.rb +1093 -97
- data/lib/oci/core/compute_client_composite_operations.rb +121 -1
- data/lib/oci/core/compute_management_client.rb +537 -22
- data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
- data/lib/oci/core/core.rb +60 -1
- data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +153 -0
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/add_security_rule_details.rb +10 -5
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +2 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_vnic_details.rb +3 -1
- data/lib/oci/core/models/attach_volume_details.rb +21 -2
- data/lib/oci/core/models/bgp_session_info.rb +2 -1
- data/lib/oci/core/models/boot_volume.rb +43 -3
- data/lib/oci/core/models/boot_volume_attachment.rb +2 -1
- data/lib/oci/core/models/boot_volume_backup.rb +51 -2
- data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
- data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +3 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cpe_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +4 -3
- data/lib/oci/core/models/cluster_network.rb +323 -0
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
- data/lib/oci/core/models/cluster_network_summary.rb +305 -0
- data/lib/oci/core/models/compute_instance_details.rb +2 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
- data/lib/oci/core/models/console_history.rb +2 -1
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +29 -5
- data/lib/oci/core/models/cpe.rb +31 -2
- data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
- data/lib/oci/core/models/cpe_device_config_question.rb +181 -0
- data/lib/oci/core/models/cpe_device_info.rb +164 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +29 -3
- data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +221 -0
- data/lib/oci/core/models/create_cpe_details.rb +32 -5
- data/lib/oci/core/models/create_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/create_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +265 -0
- data/lib/oci/core/models/create_dhcp_details.rb +2 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +6 -3
- data/lib/oci/core/models/create_drg_details.rb +2 -1
- data/lib/oci/core/models/create_image_details.rb +3 -2
- data/lib/oci/core/models/create_instance_configuration_base.rb +261 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +17 -58
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +181 -0
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +10 -4
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/create_ipv6_details.rb +250 -0
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -2
- data/lib/oci/core/models/create_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
- data/lib/oci/core/models/create_private_ip_details.rb +2 -1
- data/lib/oci/core/models/create_public_ip_details.rb +2 -1
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/create_route_table_details.rb +2 -1
- data/lib/oci/core/models/create_security_list_details.rb +2 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +25 -2
- data/lib/oci/core/models/create_subnet_details.rb +26 -2
- data/lib/oci/core/models/create_vcn_details.rb +58 -5
- data/lib/oci/core/models/create_virtual_circuit_details.rb +60 -4
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
- data/lib/oci/core/models/create_vnic_details.rb +2 -2
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +238 -0
- data/lib/oci/core/models/create_volume_details.rb +31 -3
- data/lib/oci/core/models/create_volume_group_backup_details.rb +5 -2
- data/lib/oci/core/models/create_volume_group_details.rb +3 -2
- data/lib/oci/core/models/cross_connect.rb +39 -2
- data/lib/oci/core/models/cross_connect_group.rb +39 -2
- data/lib/oci/core/models/cross_connect_location.rb +2 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +58 -2
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
- data/lib/oci/core/models/cross_connect_status.rb +2 -1
- data/lib/oci/core/models/dedicated_vm_host.rb +362 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +171 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +216 -0
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +172 -0
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +326 -0
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
- data/lib/oci/core/models/device.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
- data/lib/oci/core/models/dhcp_option.rb +2 -1
- data/lib/oci/core/models/dhcp_options.rb +2 -1
- data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
- data/lib/oci/core/models/drg.rb +2 -1
- data/lib/oci/core/models/drg_attachment.rb +8 -4
- data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
- data/lib/oci/core/models/egress_security_rule.rb +29 -12
- data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
- data/lib/oci/core/models/export_image_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +2 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +7 -2
- data/lib/oci/core/models/icmp_options.rb +2 -1
- data/lib/oci/core/models/image.rb +4 -1
- data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +177 -0
- data/lib/oci/core/models/image_shape_compatibility_summary.rb +177 -0
- data/lib/oci/core/models/image_source_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/ingress_security_rule.rb +29 -12
- data/lib/oci/core/models/instance.rb +48 -2
- data/lib/oci/core/models/instance_agent_config.rb +23 -5
- data/lib/oci/core/models/instance_agent_features.rb +21 -5
- data/lib/oci/core/models/instance_configuration.rb +12 -8
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
- data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +151 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/instance_configuration_launch_options.rb +331 -0
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_summary.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_console_connection.rb +3 -2
- data/lib/oci/core/models/instance_credentials.rb +2 -1
- data/lib/oci/core/models/instance_pool.rb +10 -5
- data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
- data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
- data/lib/oci/core/models/instance_pool_summary.rb +2 -1
- data/lib/oci/core/models/instance_shape_config.rb +287 -0
- data/lib/oci/core/models/instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
- data/lib/oci/core/models/instance_summary.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection.rb +6 -1
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +37 -2
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -1
- data/lib/oci/core/models/ipv6.rb +377 -0
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
- data/lib/oci/core/models/launch_instance_details.rb +44 -2
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/launch_options.rb +8 -6
- data/lib/oci/core/models/letter_of_authority.rb +2 -1
- data/lib/oci/core/models/local_peering_gateway.rb +6 -4
- data/lib/oci/core/models/nat_gateway.rb +2 -1
- data/lib/oci/core/models/network_security_group.rb +2 -1
- data/lib/oci/core/models/network_security_group_vnic.rb +2 -1
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
- data/lib/oci/core/models/port_range.rb +2 -1
- data/lib/oci/core/models/private_ip.rb +3 -1
- data/lib/oci/core/models/public_ip.rb +2 -1
- data/lib/oci/core/models/remote_peering_connection.rb +39 -2
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/route_rule.rb +22 -6
- data/lib/oci/core/models/route_table.rb +2 -1
- data/lib/oci/core/models/security_list.rb +2 -2
- data/lib/oci/core/models/security_rule.rb +9 -4
- data/lib/oci/core/models/service.rb +2 -1
- data/lib/oci/core/models/service_gateway.rb +20 -2
- data/lib/oci/core/models/service_id_request_details.rb +2 -1
- data/lib/oci/core/models/service_id_response_details.rb +2 -1
- data/lib/oci/core/models/shape.rb +203 -5
- data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +177 -0
- data/lib/oci/core/models/shape_memory_options.rb +189 -0
- data/lib/oci/core/models/shape_networking_bandwidth_options.rb +186 -0
- data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
- data/lib/oci/core/models/subnet.rb +60 -3
- data/lib/oci/core/models/tcp_options.rb +2 -1
- data/lib/oci/core/models/tunnel_config.rb +2 -1
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
- data/lib/oci/core/models/tunnel_status.rb +2 -1
- data/lib/oci/core/models/udp_options.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_details.rb +29 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/update_cluster_network_details.rb +192 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -1
- data/lib/oci/core/models/update_cpe_details.rb +31 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +195 -0
- data/lib/oci/core/models/update_dhcp_details.rb +2 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +8 -4
- data/lib/oci/core/models/update_drg_details.rb +2 -1
- data/lib/oci/core/models/update_image_details.rb +2 -1
- data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
- data/lib/oci/core/models/update_instance_details.rb +31 -34
- data/lib/oci/core/models/update_instance_pool_details.rb +8 -3
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +159 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/update_ipv6_details.rb +230 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +6 -4
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +4 -1
- data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/update_private_ip_details.rb +2 -1
- data/lib/oci/core/models/update_public_ip_details.rb +2 -1
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/update_route_table_details.rb +2 -1
- data/lib/oci/core/models/update_security_list_details.rb +2 -1
- data/lib/oci/core/models/update_security_rule_details.rb +10 -5
- data/lib/oci/core/models/update_service_gateway_details.rb +20 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -1
- data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
- data/lib/oci/core/models/update_vcn_details.rb +2 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +58 -3
- data/lib/oci/core/models/update_vnic_details.rb +7 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -2
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +224 -0
- data/lib/oci/core/models/update_volume_details.rb +28 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +4 -2
- data/lib/oci/core/models/update_volume_group_details.rb +4 -2
- data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/vcn.rb +46 -2
- data/lib/oci/core/models/virtual_circuit.rb +58 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
- data/lib/oci/core/models/vnic.rb +2 -1
- data/lib/oci/core/models/vnic_attachment.rb +3 -2
- data/lib/oci/core/models/volume.rb +45 -3
- data/lib/oci/core/models/volume_attachment.rb +17 -2
- data/lib/oci/core/models/volume_backup.rb +37 -2
- data/lib/oci/core/models/volume_backup_policy.rb +71 -5
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
- data/lib/oci/core/models/volume_group.rb +3 -2
- data/lib/oci/core/models/volume_group_backup.rb +2 -1
- data/lib/oci/core/models/volume_group_source_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
- data/lib/oci/core/models/volume_kms_key.rb +4 -3
- data/lib/oci/core/models/volume_source_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/util.rb +2 -1
- data/lib/oci/core/virtual_network_client.rb +1879 -44
- data/lib/oci/core/virtual_network_client_composite_operations.rb +121 -1
- data/lib/oci/data_catalog/data_catalog.rb +136 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +7576 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +173 -0
- data/lib/oci/data_catalog/models/attribute.rb +404 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +282 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +270 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
- data/lib/oci/data_catalog/models/base_tag.rb +256 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +256 -0
- data/lib/oci/data_catalog/models/catalog.rb +312 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +280 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/connection.rb +344 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +151 -0
- data/lib/oci/data_catalog/models/connection_result.rb +11 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +272 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +284 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +238 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +198 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +276 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +272 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +343 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +220 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
- data/lib/oci/data_catalog/models/data_asset.rb +320 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +262 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +270 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/entity.rb +429 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +300 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +270 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/folder.rb +372 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +287 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +270 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/glossary.rb +305 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +151 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +252 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +312 -0
- data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
- data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
- data/lib/oci/data_catalog/models/job.rb +421 -0
- data/lib/oci/data_catalog/models/job_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition.rb +392 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +263 -0
- data/lib/oci/data_catalog/models/job_execution.rb +421 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +276 -0
- data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
- data/lib/oci/data_catalog/models/job_log.rb +259 -0
- data/lib/oci/data_catalog/models/job_log_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
- data/lib/oci/data_catalog/models/job_metric.rb +337 -0
- data/lib/oci/data_catalog/models/job_metric_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
- data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
- data/lib/oci/data_catalog/models/job_summary.rb +387 -0
- data/lib/oci/data_catalog/models/job_type.rb +22 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/property_definition.rb +188 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +151 -0
- data/lib/oci/data_catalog/models/search_result.rb +491 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +162 -0
- data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
- data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
- data/lib/oci/data_catalog/models/term.rb +368 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
- data/lib/oci/data_catalog/models/term_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +301 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
- data/lib/oci/data_catalog/models/type.rb +309 -0
- data/lib/oci/data_catalog/models/type_collection.rb +151 -0
- data/lib/oci/data_catalog/models/type_summary.rb +224 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +280 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +220 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +181 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +272 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
- data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +204 -0
- data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
- data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_result.rb +160 -0
- data/lib/oci/data_catalog/models/work_request.rb +308 -0
- data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
- data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
- data/lib/oci/data_catalog/util.rb +3 -0
- data/lib/oci/data_flow/data_flow.rb +35 -0
- data/lib/oci/data_flow/data_flow_client.rb +1115 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +271 -0
- data/lib/oci/data_flow/models/application.rb +528 -0
- data/lib/oci/data_flow/models/application_language.rb +13 -0
- data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
- data/lib/oci/data_flow/models/application_parameter.rb +166 -0
- data/lib/oci/data_flow/models/application_summary.rb +346 -0
- data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/create_application_details.rb +412 -0
- data/lib/oci/data_flow/models/create_run_details.rb +359 -0
- data/lib/oci/data_flow/models/run.rb +626 -0
- data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
- data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
- data/lib/oci/data_flow/models/run_summary.rb +455 -0
- data/lib/oci/data_flow/models/update_application_details.rb +397 -0
- data/lib/oci/data_flow/models/update_run_details.rb +174 -0
- data/lib/oci/data_flow/util.rb +3 -0
- data/lib/oci/data_safe/data_safe.rb +34 -0
- data/lib/oci/data_safe/data_safe_client.rb +831 -0
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
- data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
- data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
- data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/service_list.rb +21 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
- data/lib/oci/data_safe/models/work_request.rb +302 -0
- data/lib/oci/data_safe/models/work_request_error.rb +173 -0
- data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
- data/lib/oci/data_safe/util.rb +3 -0
- data/lib/oci/data_science/data_science.rb +50 -0
- data/lib/oci/data_science/data_science_client.rb +2358 -0
- data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
- data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/create_model_details.rb +226 -0
- data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
- data/lib/oci/data_science/models/create_project_details.rb +211 -0
- data/lib/oci/data_science/models/model.rb +300 -0
- data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
- data/lib/oci/data_science/models/model_provenance.rb +211 -0
- data/lib/oci/data_science/models/model_summary.rb +290 -0
- data/lib/oci/data_science/models/notebook_session.rb +337 -0
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
- data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
- data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
- data/lib/oci/data_science/models/project.rb +286 -0
- data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
- data/lib/oci/data_science/models/project_summary.rb +285 -0
- data/lib/oci/data_science/models/update_model_details.rb +199 -0
- data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
- data/lib/oci/data_science/models/update_project_details.rb +196 -0
- data/lib/oci/data_science/models/work_request.rb +301 -0
- data/lib/oci/data_science/models/work_request_error.rb +171 -0
- data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
- data/lib/oci/data_science/models/work_request_resource.rb +215 -0
- data/lib/oci/data_science/models/work_request_status.rb +15 -0
- data/lib/oci/data_science/models/work_request_summary.rb +301 -0
- data/lib/oci/data_science/util.rb +3 -0
- data/lib/oci/database/database.rb +54 -3
- data/lib/oci/database/database_client.rb +4952 -1574
- data/lib/oci/database/database_client_composite_operations.rb +729 -49
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
- data/lib/oci/database/models/associated_database_details.rb +164 -0
- data/lib/oci/database/models/autonomous_container_database.rb +32 -6
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +32 -6
- data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +165 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_database.rb +250 -15
- data/lib/oci/database/models/autonomous_database_backup.rb +22 -5
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +22 -5
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +250 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +8 -5
- data/lib/oci/database/models/autonomous_db_version_summary.rb +228 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
- data/lib/oci/database/models/backup.rb +26 -5
- data/lib/oci/database/models/backup_destination.rb +360 -0
- data/lib/oci/database/models/backup_destination_details.rb +210 -0
- data/lib/oci/database/models/backup_destination_summary.rb +363 -0
- data/lib/oci/database/models/backup_summary.rb +26 -5
- data/lib/oci/database/models/change_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/console_connection.rb +236 -0
- data/lib/oci/database/models/console_connection_summary.rb +241 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +17 -5
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +128 -13
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +28 -3
- data/lib/oci/database/models/create_autonomous_database_details.rb +27 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +270 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +280 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
- data/lib/oci/database/models/create_backup_details.rb +2 -1
- data/lib/oci/database/models/create_console_connection_details.rb +156 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +3 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -3
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +23 -9
- data/lib/oci/database/models/create_database_base.rb +216 -0
- data/lib/oci/database/models/create_database_details.rb +18 -5
- data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
- data/lib/oci/database/models/create_database_from_backup.rb +169 -0
- data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
- data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_db_home_base.rb} +12 -21
- data/lib/oci/database/models/create_db_home_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_database_details.rb +167 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -11
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +22 -10
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +177 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +190 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +351 -0
- data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/create_new_database_details.rb +169 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +179 -0
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
- data/lib/oci/database/models/database.rb +46 -5
- data/lib/oci/database/models/database_connection_strings.rb +2 -1
- data/lib/oci/database/models/database_summary.rb +46 -5
- data/lib/oci/database/models/day_of_week.rb +2 -1
- data/lib/oci/database/models/db_backup_config.rb +67 -5
- data/lib/oci/database/models/db_home.rb +49 -6
- data/lib/oci/database/models/db_home_summary.rb +52 -9
- data/lib/oci/database/models/db_iorm_config.rb +2 -1
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +2 -1
- data/lib/oci/database/models/db_node.rb +80 -5
- data/lib/oci/database/models/db_node_summary.rb +80 -5
- data/lib/oci/database/models/db_system.rb +61 -9
- data/lib/oci/database/models/db_system_options.rb +179 -0
- data/lib/oci/database/models/db_system_shape_summary.rb +115 -2
- data/lib/oci/database/models/db_system_summary.rb +61 -9
- data/lib/oci/database/models/db_version_summary.rb +20 -5
- data/lib/oci/database/models/exadata_infrastructure.rb +535 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +538 -0
- data/lib/oci/database/models/exadata_iorm_config.rb +2 -1
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
- data/lib/oci/database/models/external_backup_job.rb +2 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +33 -2
- data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
- data/lib/oci/database/models/gi_version_summary.rb +153 -0
- data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/launch_db_system_base.rb +27 -12
- data/lib/oci/database/models/launch_db_system_details.rb +23 -5
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +7 -2
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +340 -0
- data/lib/oci/database/models/maintenance_run.rb +6 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +6 -1
- data/lib/oci/database/models/maintenance_window.rb +23 -6
- data/lib/oci/database/models/month.rb +2 -1
- data/lib/oci/database/models/node_details.rb +184 -0
- data/lib/oci/database/models/ocp_us.rb +182 -0
- data/lib/oci/database/models/patch.rb +2 -1
- data/lib/oci/database/models/patch_details.rb +3 -2
- data/lib/oci/database/models/patch_history_entry.rb +2 -1
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/patch_summary.rb +2 -1
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
- data/lib/oci/database/models/restore_database_details.rb +2 -1
- data/lib/oci/database/models/scan_details.rb +171 -0
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +16 -4
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/update_autonomous_database_details.rb +68 -14
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/update_backup_destination_details.rb +219 -0
- data/lib/oci/database/models/update_database_details.rb +17 -4
- data/lib/oci/database/models/update_db_home_details.rb +3 -2
- data/lib/oci/database/models/update_db_system_details.rb +65 -12
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +308 -0
- data/lib/oci/database/models/update_maintenance_run_details.rb +20 -5
- data/lib/oci/database/models/update_vm_cluster_details.rb +281 -0
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
- data/lib/oci/database/models/vm_cluster.rb +492 -0
- data/lib/oci/database/models/vm_cluster_network.rb +351 -0
- data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
- data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
- data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
- data/lib/oci/database/models/vm_network_details.rb +232 -0
- data/lib/oci/database/models/workload_type.rb +161 -0
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/dns/dns.rb +13 -1
- data/lib/oci/dns/dns_client.rb +810 -105
- data/lib/oci/dns/dns_client_composite_operations.rb +122 -2
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +156 -0
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +180 -0
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +253 -0
- data/lib/oci/dns/models/create_zone_details.rb +20 -57
- data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
- data/lib/oci/dns/models/external_master.rb +23 -5
- data/lib/oci/dns/models/migration_replacement.rb +188 -0
- data/lib/oci/dns/models/nameserver.rb +2 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/record.rb +2 -1
- data/lib/oci/dns/models/record_collection.rb +2 -1
- data/lib/oci/dns/models/record_details.rb +2 -1
- data/lib/oci/dns/models/record_operation.rb +2 -1
- data/lib/oci/dns/models/rr_set.rb +2 -1
- data/lib/oci/dns/models/sort_order.rb +2 -1
- data/lib/oci/dns/models/steering_policy.rb +2 -1
- data/lib/oci/dns/models/steering_policy_answer.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
- data/lib/oci/dns/models/tsig.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +321 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
- data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
- data/lib/oci/dns/models/update_zone_details.rb +2 -1
- data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +2 -1
- data/lib/oci/dns/models/zone_summary.rb +2 -1
- data/lib/oci/dns/util.rb +2 -1
- data/lib/oci/dts/appliance_export_job_client.rb +494 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/dts.rb +67 -0
- data/lib/oci/dts/models/appliance_export_job.rb +551 -0
- data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
- data/lib/oci/dts/models/attach_devices_details.rb +154 -0
- data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +153 -0
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +228 -0
- data/lib/oci/dts/models/create_transfer_device_details.rb +166 -0
- data/lib/oci/dts/models/create_transfer_job_details.rb +243 -0
- data/lib/oci/dts/models/create_transfer_package_details.rb +179 -0
- data/lib/oci/dts/models/detach_devices_details.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_devices.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_packages.rb +154 -0
- data/lib/oci/dts/models/new_transfer_device.rb +247 -0
- data/lib/oci/dts/models/shipping_address.rb +264 -0
- data/lib/oci/dts/models/shipping_vendors.rb +150 -0
- data/lib/oci/dts/models/transfer_appliance.rb +370 -0
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +149 -0
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +314 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_summary.rb +226 -0
- data/lib/oci/dts/models/transfer_device.rb +269 -0
- data/lib/oci/dts/models/transfer_device_summary.rb +255 -0
- data/lib/oci/dts/models/transfer_job.rb +357 -0
- data/lib/oci/dts/models/transfer_job_summary.rb +301 -0
- data/lib/oci/dts/models/transfer_package.rb +282 -0
- data/lib/oci/dts/models/transfer_package_summary.rb +202 -0
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +182 -0
- data/lib/oci/dts/models/update_transfer_device_details.rb +167 -0
- data/lib/oci/dts/models/update_transfer_job_details.rb +242 -0
- data/lib/oci/dts/models/update_transfer_package_details.rb +205 -0
- data/lib/oci/dts/shipping_vendors_client.rb +164 -0
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +25 -0
- data/lib/oci/dts/transfer_appliance_client.rb +568 -0
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +105 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +298 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +64 -0
- data/lib/oci/dts/transfer_device_client.rb +401 -0
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +66 -0
- data/lib/oci/dts/transfer_job_client.rb +485 -0
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/transfer_package_client.rb +514 -0
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +105 -0
- data/lib/oci/dts/util.rb +3 -0
- data/lib/oci/email/email.rb +2 -1
- data/lib/oci/email/email_client.rb +4 -5
- data/lib/oci/email/email_client_composite_operations.rb +2 -1
- data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
- data/lib/oci/email/models/create_sender_details.rb +2 -1
- data/lib/oci/email/models/create_suppression_details.rb +2 -1
- data/lib/oci/email/models/sender.rb +2 -1
- data/lib/oci/email/models/sender_summary.rb +2 -1
- data/lib/oci/email/models/suppression.rb +2 -1
- data/lib/oci/email/models/suppression_summary.rb +2 -1
- data/lib/oci/email/models/update_sender_details.rb +2 -1
- data/lib/oci/email/util.rb +2 -1
- data/lib/oci/errors.rb +2 -1
- data/lib/oci/events/events.rb +35 -0
- data/lib/oci/events/events_client.rb +536 -0
- data/lib/oci/events/events_client_composite_operations.rb +146 -0
- data/lib/oci/events/models/action.rb +295 -0
- data/lib/oci/events/models/action_details.rb +223 -0
- data/lib/oci/events/models/action_details_list.rb +151 -0
- data/lib/oci/events/models/action_list.rb +152 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +157 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +171 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +171 -0
- data/lib/oci/events/models/create_rule_details.rb +280 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +171 -0
- data/lib/oci/events/models/faa_s_action.rb +183 -0
- data/lib/oci/events/models/notification_service_action.rb +184 -0
- data/lib/oci/events/models/rule.rb +368 -0
- data/lib/oci/events/models/rule_summary.rb +317 -0
- data/lib/oci/events/models/streaming_service_action.rb +183 -0
- data/lib/oci/events/models/update_rule_details.rb +262 -0
- data/lib/oci/events/util.rb +3 -0
- data/lib/oci/file_storage/file_storage.rb +2 -1
- data/lib/oci/file_storage/file_storage_client.rb +71 -64
- data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
- data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/client_options.rb +2 -1
- data/lib/oci/file_storage/models/create_export_details.rb +2 -1
- data/lib/oci/file_storage/models/create_file_system_details.rb +21 -5
- data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/models/export.rb +2 -1
- data/lib/oci/file_storage/models/export_set.rb +2 -1
- data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
- data/lib/oci/file_storage/models/export_summary.rb +2 -1
- data/lib/oci/file_storage/models/file_system.rb +21 -5
- data/lib/oci/file_storage/models/file_system_summary.rb +21 -5
- data/lib/oci/file_storage/models/mount_target.rb +21 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
- data/lib/oci/file_storage/models/snapshot.rb +2 -1
- data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
- data/lib/oci/file_storage/models/update_export_details.rb +2 -1
- data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
- data/lib/oci/file_storage/models/update_file_system_details.rb +25 -5
- data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/util.rb +2 -1
- data/lib/oci/functions/functions.rb +30 -0
- data/lib/oci/functions/functions_invoke_client.rb +236 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +25 -0
- data/lib/oci/functions/functions_management_client.rb +850 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +267 -0
- data/lib/oci/functions/models/application.rb +323 -0
- data/lib/oci/functions/models/application_summary.rb +282 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +157 -0
- data/lib/oci/functions/models/create_application_details.rb +237 -0
- data/lib/oci/functions/models/create_function_details.rb +281 -0
- data/lib/oci/functions/models/function.rb +398 -0
- data/lib/oci/functions/models/function_summary.rb +382 -0
- data/lib/oci/functions/models/update_application_details.rb +192 -0
- data/lib/oci/functions/models/update_function_details.rb +251 -0
- data/lib/oci/functions/util.rb +3 -0
- data/lib/oci/global_context.rb +2 -1
- data/lib/oci/healthchecks/health_checks_client.rb +169 -20
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
- data/lib/oci/healthchecks/healthchecks.rb +4 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/connection.rb +2 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/dns.rb +2 -1
- data/lib/oci/healthchecks/models/geolocation.rb +2 -1
- data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/http_probe.rb +35 -2
- data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/ping_probe.rb +35 -2
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/routing.rb +2 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/util.rb +2 -1
- data/lib/oci/identity/identity.rb +26 -1
- data/lib/oci/identity/identity_client.rb +1771 -118
- data/lib/oci/identity/identity_client_composite_operations.rb +290 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
- data/lib/oci/identity/models/api_key.rb +2 -1
- data/lib/oci/identity/models/auth_token.rb +2 -1
- data/lib/oci/identity/models/authentication_policy.rb +2 -1
- data/lib/oci/identity/models/availability_domain.rb +2 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +203 -0
- data/lib/oci/identity/models/bulk_action_resource.rb +182 -0
- data/lib/oci/identity/models/bulk_action_resource_type.rb +169 -0
- data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
- data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
- data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
- data/lib/oci/identity/models/compartment.rb +5 -1
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +2 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/create_network_source_details.rb +254 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
- data/lib/oci/identity/models/create_policy_details.rb +2 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/create_tag_details.rb +30 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
- data/lib/oci/identity/models/create_user_details.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
- data/lib/oci/identity/models/dynamic_group.rb +5 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
- data/lib/oci/identity/models/fault_domain.rb +2 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
- data/lib/oci/identity/models/group.rb +5 -1
- data/lib/oci/identity/models/identity_provider.rb +5 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +2 -1
- data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
- data/lib/oci/identity/models/move_compartment_details.rb +156 -0
- data/lib/oci/identity/models/network_sources.rb +337 -0
- data/lib/oci/identity/models/network_sources_summary.rb +249 -0
- data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
- data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
- data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
- data/lib/oci/identity/models/password_policy.rb +2 -1
- data/lib/oci/identity/models/policy.rb +5 -1
- data/lib/oci/identity/models/region.rb +8 -13
- data/lib/oci/identity/models/region_subscription.rb +8 -13
- data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
- data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
- data/lib/oci/identity/models/smtp_credential.rb +2 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
- data/lib/oci/identity/models/swift_password.rb +2 -1
- data/lib/oci/identity/models/tag.rb +36 -8
- data/lib/oci/identity/models/tag_default.rb +28 -5
- data/lib/oci/identity/models/tag_default_summary.rb +28 -5
- data/lib/oci/identity/models/tag_namespace.rb +7 -3
- data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
- data/lib/oci/identity/models/tag_summary.rb +5 -3
- data/lib/oci/identity/models/tagging_work_request.rb +306 -0
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +305 -0
- data/lib/oci/identity/models/tenancy.rb +19 -8
- data/lib/oci/identity/models/ui_password.rb +2 -1
- data/lib/oci/identity/models/ui_password_information.rb +2 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_compartment_details.rb +2 -1
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/update_group_details.rb +2 -1
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/update_network_source_details.rb +227 -0
- data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
- data/lib/oci/identity/models/update_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/update_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
- data/lib/oci/identity/models/update_user_details.rb +2 -1
- data/lib/oci/identity/models/user.rb +22 -3
- data/lib/oci/identity/models/user_capabilities.rb +21 -5
- data/lib/oci/identity/models/user_group_membership.rb +2 -1
- data/lib/oci/identity/models/work_request.rb +2 -1
- data/lib/oci/identity/models/work_request_error.rb +2 -1
- data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
- data/lib/oci/identity/models/work_request_resource.rb +2 -1
- data/lib/oci/identity/models/work_request_summary.rb +2 -1
- data/lib/oci/identity/util.rb +2 -1
- data/lib/oci/integration/integration.rb +30 -0
- data/lib/oci/integration/integration_instance_client.rb +877 -0
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +287 -0
- data/lib/oci/integration/models/integration_instance.rb +382 -0
- data/lib/oci/integration/models/integration_instance_summary.rb +348 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
- data/lib/oci/integration/models/work_request.rb +313 -0
- data/lib/oci/integration/models/work_request_error.rb +171 -0
- data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/integration/models/work_request_resource.rb +221 -0
- data/lib/oci/integration/models/work_request_summary.rb +313 -0
- data/lib/oci/integration/util.rb +3 -0
- data/lib/oci/internal/internal.rb +2 -1
- data/lib/oci/internal/util.rb +2 -1
- data/lib/oci/key_management/key_management.rb +17 -1
- data/lib/oci/key_management/kms_crypto_client.rb +7 -9
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
- data/lib/oci/key_management/kms_management_client.rb +794 -64
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
- data/lib/oci/key_management/kms_vault_client.rb +426 -21
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
- data/lib/oci/key_management/models/backup_key_details.rb +153 -0
- data/lib/oci/key_management/models/backup_location.rb +183 -0
- data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
- data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
- data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/create_key_details.rb +9 -7
- data/lib/oci/key_management/models/create_vault_details.rb +10 -7
- data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
- data/lib/oci/key_management/models/decrypted_data.rb +2 -1
- data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
- data/lib/oci/key_management/models/encrypted_data.rb +2 -1
- data/lib/oci/key_management/models/generate_key_details.rb +7 -6
- data/lib/oci/key_management/models/generated_key.rb +9 -9
- data/lib/oci/key_management/models/import_key_details.rb +231 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
- data/lib/oci/key_management/models/key.rb +35 -16
- data/lib/oci/key_management/models/key_shape.rb +4 -2
- data/lib/oci/key_management/models/key_summary.rb +12 -7
- data/lib/oci/key_management/models/key_version.rb +113 -5
- data/lib/oci/key_management/models/key_version_summary.rb +94 -3
- data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/update_key_details.rb +8 -6
- data/lib/oci/key_management/models/update_vault_details.rb +8 -6
- data/lib/oci/key_management/models/vault.rb +56 -15
- data/lib/oci/key_management/models/vault_summary.rb +20 -10
- data/lib/oci/key_management/models/vault_usage.rb +168 -0
- data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
- data/lib/oci/key_management/models/wrapping_key.rb +258 -0
- data/lib/oci/key_management/util.rb +2 -1
- data/lib/oci/limits/limits.rb +29 -0
- data/lib/oci/limits/limits_client.rb +443 -0
- data/lib/oci/limits/limits_client_composite_operations.rb +25 -0
- data/lib/oci/limits/models/create_quota_details.rb +221 -0
- data/lib/oci/limits/models/limit_definition_summary.rb +242 -0
- data/lib/oci/limits/models/limit_value_summary.rb +211 -0
- data/lib/oci/limits/models/quota.rb +288 -0
- data/lib/oci/limits/models/quota_summary.rb +274 -0
- data/lib/oci/limits/models/resource_availability.rb +164 -0
- data/lib/oci/limits/models/service_summary.rb +160 -0
- data/lib/oci/limits/models/update_quota_details.rb +195 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +144 -0
- data/lib/oci/limits/util.rb +3 -0
- data/lib/oci/load_balancer/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +146 -8
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +54 -3
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +182 -0
- data/lib/oci/load_balancer/models/backend.rb +4 -1
- data/lib/oci/load_balancer/models/backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/backend_health.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
- data/lib/oci/load_balancer/models/certificate.rb +2 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +157 -0
- data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +206 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -3
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
- data/lib/oci/load_balancer/models/health_checker.rb +4 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/hostname.rb +2 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/ip_address.rb +2 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +335 -0
- data/lib/oci/load_balancer/models/listener.rb +2 -1
- data/lib/oci/load_balancer/models/listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +167 -0
- data/lib/oci/load_balancer/models/load_balancer.rb +35 -3
- data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
- data/lib/oci/load_balancer/models/path_route.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/rule.rb +8 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +195 -0
- data/lib/oci/load_balancer/models/rule_set.rb +2 -1
- data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +8 -1
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +168 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +170 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +172 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +2 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/work_request.rb +2 -1
- data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
- data/lib/oci/load_balancer/util.rb +2 -1
- data/lib/oci/marketplace/marketplace.rb +55 -0
- data/lib/oci/marketplace/marketplace_client.rb +1194 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
- data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
- data/lib/oci/marketplace/models/agreement.rb +230 -0
- data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
- data/lib/oci/marketplace/models/category_summary.rb +150 -0
- data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
- data/lib/oci/marketplace/models/documentation_link.rb +174 -0
- data/lib/oci/marketplace/models/error_entity.rb +160 -0
- data/lib/oci/marketplace/models/image_listing_package.rb +225 -0
- data/lib/oci/marketplace/models/item.rb +160 -0
- data/lib/oci/marketplace/models/link.rb +183 -0
- data/lib/oci/marketplace/models/link_enum.rb +14 -0
- data/lib/oci/marketplace/models/listing.rb +479 -0
- data/lib/oci/marketplace/models/listing_package.rb +266 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +244 -0
- data/lib/oci/marketplace/models/listing_summary.rb +311 -0
- data/lib/oci/marketplace/models/named_link.rb +160 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +206 -0
- data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
- data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
- data/lib/oci/marketplace/models/pricing_model.rb +244 -0
- data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
- data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
- data/lib/oci/marketplace/models/publisher.rb +259 -0
- data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
- data/lib/oci/marketplace/models/region.rb +170 -0
- data/lib/oci/marketplace/models/report_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_summary.rb +184 -0
- data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
- data/lib/oci/marketplace/models/screenshot.rb +202 -0
- data/lib/oci/marketplace/models/support_contact.rb +180 -0
- data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
- data/lib/oci/marketplace/models/upload_data.rb +192 -0
- data/lib/oci/marketplace/util.rb +3 -0
- data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
- data/lib/oci/monitoring/models/alarm.rb +32 -10
- data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
- data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
- data/lib/oci/monitoring/models/alarm_summary.rb +6 -4
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +156 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +32 -10
- data/lib/oci/monitoring/models/datapoint.rb +3 -2
- data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +29 -8
- data/lib/oci/monitoring/models/metric.rb +22 -2
- data/lib/oci/monitoring/models/metric_data.rb +36 -2
- data/lib/oci/monitoring/models/metric_data_details.rb +28 -6
- data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
- data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +25 -2
- data/lib/oci/monitoring/models/suppression.rb +2 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +32 -10
- data/lib/oci/monitoring/monitoring.rb +3 -1
- data/lib/oci/monitoring/monitoring_client.rb +160 -10
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
- data/lib/oci/monitoring/util.rb +2 -1
- data/lib/oci/mysql/db_backups_client.rb +462 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
- data/lib/oci/mysql/db_system_client.rb +696 -0
- data/lib/oci/mysql/db_system_client_composite_operations.rb +322 -0
- data/lib/oci/mysql/models/backup.rb +460 -0
- data/lib/oci/mysql/models/backup_policy.rb +235 -0
- data/lib/oci/mysql/models/backup_summary.rb +339 -0
- data/lib/oci/mysql/models/configuration.rb +353 -0
- data/lib/oci/mysql/models/configuration_summary.rb +287 -0
- data/lib/oci/mysql/models/configuration_variables.rb +913 -0
- data/lib/oci/mysql/models/create_backup_details.rb +253 -0
- data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
- data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
- data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
- data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
- data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/db_system.rb +513 -0
- data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
- data/lib/oci/mysql/models/db_system_source.rb +196 -0
- data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
- data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +319 -0
- data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
- data/lib/oci/mysql/models/maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/shape_summary.rb +182 -0
- data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/update_backup_details.rb +212 -0
- data/lib/oci/mysql/models/update_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
- data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
- data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/version.rb +161 -0
- data/lib/oci/mysql/models/version_summary.rb +165 -0
- data/lib/oci/mysql/models/work_request.rb +313 -0
- data/lib/oci/mysql/models/work_request_error.rb +174 -0
- data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
- data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +15 -0
- data/lib/oci/mysql/models/work_request_resource.rb +219 -0
- data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
- data/lib/oci/mysql/models/work_request_summary.rb +303 -0
- data/lib/oci/mysql/mysql.rb +65 -0
- data/lib/oci/mysql/mysqlaas_client.rb +607 -0
- data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
- data/lib/oci/mysql/util.rb +3 -0
- data/lib/oci/mysql/work_requests_client.rb +389 -0
- data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
- data/lib/oci/nosql/models/column.rb +188 -0
- data/lib/oci/nosql/models/create_index_details.rb +196 -0
- data/lib/oci/nosql/models/create_table_details.rb +226 -0
- data/lib/oci/nosql/models/delete_row_result.rb +194 -0
- data/lib/oci/nosql/models/index.rb +255 -0
- data/lib/oci/nosql/models/index_collection.rb +150 -0
- data/lib/oci/nosql/models/index_key.rb +187 -0
- data/lib/oci/nosql/models/index_summary.rb +189 -0
- data/lib/oci/nosql/models/prepared_statement.rb +161 -0
- data/lib/oci/nosql/models/query_details.rb +246 -0
- data/lib/oci/nosql/models/query_result_collection.rb +159 -0
- data/lib/oci/nosql/models/request_usage.rb +168 -0
- data/lib/oci/nosql/models/row.rb +176 -0
- data/lib/oci/nosql/models/schema.rb +188 -0
- data/lib/oci/nosql/models/statement_summary.rb +248 -0
- data/lib/oci/nosql/models/table.rb +329 -0
- data/lib/oci/nosql/models/table_collection.rb +150 -0
- data/lib/oci/nosql/models/table_limits.rb +182 -0
- data/lib/oci/nosql/models/table_summary.rb +282 -0
- data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
- data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
- data/lib/oci/nosql/models/update_row_details.rb +285 -0
- data/lib/oci/nosql/models/update_row_result.rb +208 -0
- data/lib/oci/nosql/models/update_table_details.rb +220 -0
- data/lib/oci/nosql/models/work_request.rb +306 -0
- data/lib/oci/nosql/models/work_request_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_error.rb +174 -0
- data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
- data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_resource.rb +220 -0
- data/lib/oci/nosql/models/work_request_summary.rb +306 -0
- data/lib/oci/nosql/nosql.rb +53 -0
- data/lib/oci/nosql/nosql_client.rb +1558 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
- data/lib/oci/nosql/util.rb +3 -0
- data/lib/oci/object_storage/models/bucket.rb +102 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/duration.rb +193 -0
- data/lib/oci/object_storage/models/list_objects.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +3 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
- data/lib/oci/object_storage/models/object_summary.rb +31 -6
- data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
- data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
- data/lib/oci/object_storage/models/pattern_details.rb +2 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
- data/lib/oci/object_storage/models/replication_policy.rb +263 -0
- data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
- data/lib/oci/object_storage/models/replication_source.rb +182 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
- data/lib/oci/object_storage/models/retention_rule.rb +227 -0
- data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
- data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
- data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +56 -11
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/work_request.rb +12 -8
- data/lib/oci/object_storage/models/work_request_error.rb +2 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
- data/lib/oci/object_storage/object_storage.rb +15 -1
- data/lib/oci/object_storage/object_storage_client.rb +1129 -132
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
- data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
- data/lib/oci/object_storage/transfer/transfer.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
- data/lib/oci/object_storage/util.rb +2 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +373 -0
- data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
- data/lib/oci/oce/models/oce_instance.rb +516 -0
- data/lib/oci/oce/models/oce_instance_summary.rb +484 -0
- data/lib/oci/oce/models/update_oce_instance_details.rb +196 -0
- data/lib/oci/oce/models/work_request.rb +320 -0
- data/lib/oci/oce/models/work_request_error.rb +173 -0
- data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
- data/lib/oci/oce/models/work_request_resource.rb +219 -0
- data/lib/oci/oce/models/workflow_monitor.rb +182 -0
- data/lib/oci/oce/models/workflow_step.rb +164 -0
- data/lib/oci/oce/oce.rb +32 -0
- data/lib/oci/oce/oce_instance_client.rb +730 -0
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
- data/lib/oci/oce/util.rb +3 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
- data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
- data/lib/oci/oda/models/error_body.rb +160 -0
- data/lib/oci/oda/models/oda_instance.rb +406 -0
- data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
- data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
- data/lib/oci/oda/models/work_request.rb +343 -0
- data/lib/oci/oda/models/work_request_error.rb +177 -0
- data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
- data/lib/oci/oda/models/work_request_resource.rb +275 -0
- data/lib/oci/oda/models/work_request_summary.rb +265 -0
- data/lib/oci/oda/oda.rb +31 -0
- data/lib/oci/oda/oda_client.rb +984 -0
- data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
- data/lib/oci/oda/util.rb +3 -0
- data/lib/oci/ons/models/backoff_retry_policy.rb +6 -4
- data/lib/oci/ons/models/change_compartment_details.rb +157 -0
- data/lib/oci/ons/models/confirmation_result.rb +11 -9
- data/lib/oci/ons/models/create_subscription_details.rb +22 -5
- data/lib/oci/ons/models/create_topic_details.rb +3 -2
- data/lib/oci/ons/models/delivery_policy.rb +2 -1
- data/lib/oci/ons/models/message_details.rb +2 -1
- data/lib/oci/ons/models/notification_topic.rb +7 -5
- data/lib/oci/ons/models/notification_topic_summary.rb +5 -4
- data/lib/oci/ons/models/publish_result.rb +2 -1
- data/lib/oci/ons/models/subscription.rb +57 -8
- data/lib/oci/ons/models/subscription_summary.rb +26 -7
- data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
- data/lib/oci/ons/models/update_subscription_details.rb +2 -1
- data/lib/oci/ons/notification_control_plane_client.rb +103 -16
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/notification_data_plane_client.rb +148 -16
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/ons.rb +3 -1
- data/lib/oci/ons/util.rb +2 -1
- data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/api_error.rb +162 -0
- data/lib/oci/os_management/models/arch_types.rb +14 -0
- data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
- data/lib/oci/os_management/models/available_update_summary.rb +286 -0
- data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
- data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/checksum_types.rb +13 -0
- data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
- data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
- data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
- data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/erratum.rb +332 -0
- data/lib/oci/os_management/models/erratum_summary.rb +247 -0
- data/lib/oci/os_management/models/id.rb +164 -0
- data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
- data/lib/oci/os_management/models/installation_requirements.rb +12 -0
- data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
- data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
- data/lib/oci/os_management/models/interval_types.rb +13 -0
- data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
- data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
- data/lib/oci/os_management/models/managed_instance.rb +396 -0
- data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
- data/lib/oci/os_management/models/operation_status.rb +15 -0
- data/lib/oci/os_management/models/operation_types.rb +13 -0
- data/lib/oci/os_management/models/os_families.rb +12 -0
- data/lib/oci/os_management/models/package_name.rb +150 -0
- data/lib/oci/os_management/models/package_update_types.rb +13 -0
- data/lib/oci/os_management/models/recurrence.rb +183 -0
- data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/schedule_types.rb +11 -0
- data/lib/oci/os_management/models/scheduled_job.rb +544 -0
- data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
- data/lib/oci/os_management/models/software_package.rb +290 -0
- data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
- data/lib/oci/os_management/models/software_package_file.rb +214 -0
- data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
- data/lib/oci/os_management/models/software_package_summary.rb +218 -0
- data/lib/oci/os_management/models/software_source.rb +520 -0
- data/lib/oci/os_management/models/software_source_id.rb +160 -0
- data/lib/oci/os_management/models/software_source_summary.rb +341 -0
- data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
- data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
- data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
- data/lib/oci/os_management/models/update_types.rb +13 -0
- data/lib/oci/os_management/models/windows_update.rb +330 -0
- data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
- data/lib/oci/os_management/models/work_request.rb +375 -0
- data/lib/oci/os_management/models/work_request_error.rb +173 -0
- data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
- data/lib/oci/os_management/models/work_request_resource.rb +232 -0
- data/lib/oci/os_management/models/work_request_summary.rb +321 -0
- data/lib/oci/os_management/os_management.rb +80 -0
- data/lib/oci/os_management/os_management_client.rb +3753 -0
- data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
- data/lib/oci/os_management/util.rb +3 -0
- data/lib/oci/regions.rb +231 -14
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +2 -1
- data/lib/oci/resource_manager/models/config_source.rb +6 -5
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +3 -2
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +164 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +19 -3
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
- data/lib/oci/resource_manager/models/failure_details.rb +2 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/job.rb +30 -7
- data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
- data/lib/oci/resource_manager/models/job_summary.rb +27 -7
- data/lib/oci/resource_manager/models/log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/stack.rb +75 -7
- data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
- data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +304 -0
- data/lib/oci/resource_manager/models/stack_summary.rb +28 -2
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -2
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +18 -2
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/work_request.rb +5 -3
- data/lib/oci/resource_manager/models/work_request_error.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_resource.rb +3 -2
- data/lib/oci/resource_manager/models/work_request_summary.rb +4 -3
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
- data/lib/oci/resource_manager/resource_manager.rb +21 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +350 -43
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +57 -7
- data/lib/oci/resource_manager/util.rb +2 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
- data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
- data/lib/oci/resource_search/models/resource_summary.rb +50 -11
- data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
- data/lib/oci/resource_search/models/resource_type.rb +2 -1
- data/lib/oci/resource_search/models/search_context.rb +3 -2
- data/lib/oci/resource_search/models/search_details.rb +4 -3
- data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
- data/lib/oci/resource_search/resource_search.rb +2 -1
- data/lib/oci/resource_search/resource_search_client.rb +6 -7
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
- data/lib/oci/resource_search/util.rb +2 -1
- data/lib/oci/response.rb +2 -1
- data/lib/oci/response_headers.rb +2 -1
- data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
- data/lib/oci/retry/functions/sleep.rb +2 -1
- data/lib/oci/retry/internal/retry_state.rb +2 -1
- data/lib/oci/retry/retry.rb +2 -1
- data/lib/oci/retry/retry_config.rb +2 -1
- data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
- data/lib/oci/secrets/models/secret_bundle.rb +294 -0
- data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
- data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
- data/lib/oci/secrets/secrets.rb +23 -0
- data/lib/oci/secrets/secrets_client.rb +258 -0
- data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
- data/lib/oci/secrets/util.rb +3 -0
- data/lib/oci/signer.rb +2 -1
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/connect_harness.rb +281 -0
- data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
- data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
- data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_stream_details.rb +18 -3
- data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
- data/lib/oci/streaming/models/cursor.rb +2 -1
- data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
- data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
- data/lib/oci/streaming/models/group.rb +4 -3
- data/lib/oci/streaming/models/kafka_settings.rb +196 -0
- data/lib/oci/streaming/models/message.rb +2 -1
- data/lib/oci/streaming/models/partition_reservation.rb +2 -1
- data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
- data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
- data/lib/oci/streaming/models/put_messages_details.rb +2 -1
- data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
- data/lib/oci/streaming/models/put_messages_result.rb +3 -2
- data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
- data/lib/oci/streaming/models/stream.rb +20 -2
- data/lib/oci/streaming/models/stream_pool.rb +352 -0
- data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
- data/lib/oci/streaming/models/stream_summary.rb +20 -2
- data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
- data/lib/oci/streaming/models/update_group_details.rb +2 -1
- data/lib/oci/streaming/models/update_stream_details.rb +18 -2
- data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
- data/lib/oci/streaming/stream_admin_client.rb +888 -45
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +249 -4
- data/lib/oci/streaming/stream_client.rb +25 -44
- data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
- data/lib/oci/streaming/streaming.rb +18 -1
- data/lib/oci/streaming/util.rb +2 -1
- data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
- data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
- data/lib/oci/vault/models/create_secret_details.rb +282 -0
- data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
- data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
- data/lib/oci/vault/models/secret.rb +394 -0
- data/lib/oci/vault/models/secret_content_details.rb +221 -0
- data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
- data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
- data/lib/oci/vault/models/secret_rule.rb +191 -0
- data/lib/oci/vault/models/secret_summary.rb +353 -0
- data/lib/oci/vault/models/secret_version.rb +305 -0
- data/lib/oci/vault/models/secret_version_summary.rb +305 -0
- data/lib/oci/vault/models/update_secret_details.rb +241 -0
- data/lib/oci/vault/util.rb +3 -0
- data/lib/oci/vault/vault.rb +34 -0
- data/lib/oci/vault/vaults_client.rb +881 -0
- data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
- data/lib/oci/version.rb +4 -2
- data/lib/oci/waas/models/access_rule.rb +206 -7
- data/lib/oci/waas/models/access_rule_criteria.rb +80 -19
- data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
- data/lib/oci/waas/models/address_list.rb +291 -0
- data/lib/oci/waas/models/address_list_summary.rb +280 -0
- data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
- data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
- data/lib/oci/waas/models/caching_rule.rb +245 -0
- data/lib/oci/waas/models/caching_rule_criteria.rb +191 -0
- data/lib/oci/waas/models/caching_rule_summary.rb +248 -0
- data/lib/oci/waas/models/captcha.rb +2 -1
- data/lib/oci/waas/models/certificate.rb +24 -10
- data/lib/oci/waas/models/certificate_extensions.rb +5 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +226 -0
- data/lib/oci/waas/models/certificate_public_key_info.rb +6 -2
- data/lib/oci/waas/models/certificate_subject_name.rb +10 -2
- data/lib/oci/waas/models/certificate_summary.rb +12 -3
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +156 -0
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +156 -0
- data/lib/oci/waas/models/create_address_list_details.rb +214 -0
- data/lib/oci/waas/models/create_certificate_details.rb +24 -4
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +257 -0
- data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/custom_protection_rule.rb +331 -0
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +191 -0
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +280 -0
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
- data/lib/oci/waas/models/edge_subnet.rb +2 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
- data/lib/oci/waas/models/good_bot.rb +2 -1
- data/lib/oci/waas/models/header.rb +3 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
- data/lib/oci/waas/models/health_check.rb +346 -0
- data/lib/oci/waas/models/http_redirect.rb +302 -0
- data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
- data/lib/oci/waas/models/http_redirect_target.rb +210 -0
- data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/js_challenge.rb +49 -6
- data/lib/oci/waas/models/lifecycle_states.rb +2 -1
- data/lib/oci/waas/models/load_balancing_method.rb +195 -0
- data/lib/oci/waas/models/origin.rb +2 -1
- data/lib/oci/waas/models/origin_group.rb +150 -0
- data/lib/oci/waas/models/origin_group_origins.rb +160 -0
- data/lib/oci/waas/models/policy_config.rb +267 -5
- data/lib/oci/waas/models/protection_rule.rb +2 -1
- data/lib/oci/waas/models/protection_rule_action.rb +2 -1
- data/lib/oci/waas/models/protection_rule_exclusion.rb +18 -2
- data/lib/oci/waas/models/protection_settings.rb +12 -7
- data/lib/oci/waas/models/purge_cache.rb +150 -0
- data/lib/oci/waas/models/recommendation.rb +2 -1
- data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
- data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
- data/lib/oci/waas/models/threat_feed.rb +2 -1
- data/lib/oci/waas/models/threat_feed_action.rb +2 -1
- data/lib/oci/waas/models/update_address_list_details.rb +200 -0
- data/lib/oci/waas/models/update_certificate_details.rb +12 -3
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +242 -0
- data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/waas_policy.rb +28 -5
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +218 -0
- data/lib/oci/waas/models/waas_policy_summary.rb +12 -3
- data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
- data/lib/oci/waas/models/waf_config.rb +46 -2
- data/lib/oci/waas/models/waf_config_details.rb +54 -10
- data/lib/oci/waas/models/waf_log.rb +45 -23
- data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
- data/lib/oci/waas/models/waf_request.rb +2 -1
- data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
- data/lib/oci/waas/models/whitelist.rb +21 -6
- data/lib/oci/waas/models/work_request.rb +9 -2
- data/lib/oci/waas/models/work_request_error.rb +2 -1
- data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +9 -2
- data/lib/oci/waas/models/work_request_resource.rb +2 -1
- data/lib/oci/waas/models/work_request_status_values.rb +2 -1
- data/lib/oci/waas/models/work_request_summary.rb +9 -2
- data/lib/oci/waas/redirect_client.rb +492 -0
- data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
- data/lib/oci/waas/util.rb +2 -1
- data/lib/oci/waas/waas.rb +40 -1
- data/lib/oci/waas/waas_client.rb +1285 -58
- data/lib/oci/waas/waas_client_composite_operations.rb +388 -1
- data/lib/oci/waiter.rb +2 -1
- data/lib/oci/work_requests/models/work_request.rb +16 -9
- data/lib/oci/work_requests/models/work_request_error.rb +5 -4
- data/lib/oci/work_requests/models/work_request_log_entry.rb +4 -3
- data/lib/oci/work_requests/models/work_request_resource.rb +11 -8
- data/lib/oci/work_requests/models/work_request_summary.rb +14 -7
- data/lib/oci/work_requests/util.rb +2 -1
- data/lib/oci/work_requests/work_request_client.rb +37 -21
- data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
- data/lib/oci/work_requests/work_requests.rb +2 -1
- data/lib/oraclebmc.rb +2 -1
- metadata +1049 -5
@@ -0,0 +1,173 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
5
|
+
module OCI
|
6
|
+
# This class provides a wrapper around {OCI::Waas::RedirectClient} and offers convenience methods
|
7
|
+
# for operations that would otherwise need to be chained together. For example, instead of performing an action
|
8
|
+
# on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
9
|
+
# to enter a given state, you can call a single method in this class to accomplish the same functionality
|
10
|
+
class Waas::RedirectClientCompositeOperations
|
11
|
+
# The {OCI::Waas::RedirectClient} used to communicate with the service_client
|
12
|
+
#
|
13
|
+
# @return [OCI::Waas::RedirectClient]
|
14
|
+
attr_reader :service_client
|
15
|
+
|
16
|
+
# Initializes a new RedirectClientCompositeOperations
|
17
|
+
#
|
18
|
+
# @param [OCI::Waas::RedirectClient] service_client The client used to communicate with the service.
|
19
|
+
# Defaults to a new service client created via {OCI::Waas::RedirectClient#initialize} with no arguments
|
20
|
+
def initialize(service_client = OCI::Waas::RedirectClient.new)
|
21
|
+
@service_client = service_client
|
22
|
+
end
|
23
|
+
|
24
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
25
|
+
# rubocop:disable Layout/EmptyLines
|
26
|
+
|
27
|
+
|
28
|
+
# Calls {OCI::Waas::RedirectClient#create_http_redirect} and then waits for the {OCI::Waas::Models::WorkRequest}
|
29
|
+
# to enter the given state(s).
|
30
|
+
#
|
31
|
+
# @param [OCI::Waas::Models::CreateHttpRedirectDetails] create_http_redirect_details The details of the HTTP Redirect.
|
32
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
33
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::RedirectClient#create_http_redirect}
|
34
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
35
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
36
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
37
|
+
#
|
38
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
39
|
+
def create_http_redirect_and_wait_for_state(create_http_redirect_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
40
|
+
operation_result = @service_client.create_http_redirect(create_http_redirect_details, base_operation_opts)
|
41
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
42
|
+
|
43
|
+
return operation_result if wait_for_states.empty? && !use_util
|
44
|
+
|
45
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
46
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
47
|
+
|
48
|
+
begin
|
49
|
+
if use_util
|
50
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
51
|
+
@service_client,
|
52
|
+
wait_for_resource_id,
|
53
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
54
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
55
|
+
)
|
56
|
+
else
|
57
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
58
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
59
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
60
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
61
|
+
)
|
62
|
+
end
|
63
|
+
result_to_return = waiter_result
|
64
|
+
|
65
|
+
return result_to_return
|
66
|
+
rescue StandardError
|
67
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
68
|
+
end
|
69
|
+
end
|
70
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
71
|
+
# rubocop:enable Layout/EmptyLines
|
72
|
+
|
73
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
74
|
+
# rubocop:disable Layout/EmptyLines
|
75
|
+
|
76
|
+
|
77
|
+
# Calls {OCI::Waas::RedirectClient#delete_http_redirect} and then waits for the {OCI::Waas::Models::WorkRequest}
|
78
|
+
# to enter the given state(s).
|
79
|
+
#
|
80
|
+
# @param [String] http_redirect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
|
81
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
82
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::RedirectClient#delete_http_redirect}
|
83
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
84
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
85
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
86
|
+
#
|
87
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
88
|
+
def delete_http_redirect_and_wait_for_state(http_redirect_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
89
|
+
operation_result = @service_client.delete_http_redirect(http_redirect_id, base_operation_opts)
|
90
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
91
|
+
|
92
|
+
return operation_result if wait_for_states.empty? && !use_util
|
93
|
+
|
94
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
95
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
96
|
+
|
97
|
+
begin
|
98
|
+
if use_util
|
99
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
100
|
+
@service_client,
|
101
|
+
wait_for_resource_id,
|
102
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
103
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
104
|
+
)
|
105
|
+
else
|
106
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
107
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
108
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
109
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
110
|
+
)
|
111
|
+
end
|
112
|
+
result_to_return = waiter_result
|
113
|
+
|
114
|
+
return result_to_return
|
115
|
+
rescue StandardError
|
116
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
117
|
+
end
|
118
|
+
end
|
119
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
120
|
+
# rubocop:enable Layout/EmptyLines
|
121
|
+
|
122
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
123
|
+
# rubocop:disable Layout/EmptyLines
|
124
|
+
|
125
|
+
|
126
|
+
# Calls {OCI::Waas::RedirectClient#update_http_redirect} and then waits for the {OCI::Waas::Models::WorkRequest}
|
127
|
+
# to enter the given state(s).
|
128
|
+
#
|
129
|
+
# @param [String] http_redirect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
|
130
|
+
# @param [OCI::Waas::Models::UpdateHttpRedirectDetails] update_http_redirect_details The details of the HTTP Redirect to update.
|
131
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
132
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::RedirectClient#update_http_redirect}
|
133
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
134
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
135
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
136
|
+
#
|
137
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
138
|
+
def update_http_redirect_and_wait_for_state(http_redirect_id, update_http_redirect_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
139
|
+
operation_result = @service_client.update_http_redirect(http_redirect_id, update_http_redirect_details, base_operation_opts)
|
140
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
141
|
+
|
142
|
+
return operation_result if wait_for_states.empty? && !use_util
|
143
|
+
|
144
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
145
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
146
|
+
|
147
|
+
begin
|
148
|
+
if use_util
|
149
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
150
|
+
@service_client,
|
151
|
+
wait_for_resource_id,
|
152
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
153
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
154
|
+
)
|
155
|
+
else
|
156
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
157
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
158
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
159
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
160
|
+
)
|
161
|
+
end
|
162
|
+
result_to_return = waiter_result
|
163
|
+
|
164
|
+
return result_to_return
|
165
|
+
rescue StandardError
|
166
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
167
|
+
end
|
168
|
+
end
|
169
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
170
|
+
# rubocop:enable Layout/EmptyLines
|
171
|
+
end
|
172
|
+
end
|
173
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
data/lib/oci/waas/util.rb
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
# Copyright (c) 2016,
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
2
3
|
|
data/lib/oci/waas/waas.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2016,
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
2
3
|
|
3
4
|
module OCI
|
4
5
|
module Waas
|
@@ -12,35 +13,71 @@ end
|
|
12
13
|
# Require models
|
13
14
|
require 'oci/waas/models/access_rule'
|
14
15
|
require 'oci/waas/models/access_rule_criteria'
|
16
|
+
require 'oci/waas/models/add_http_response_header_action'
|
17
|
+
require 'oci/waas/models/address_list'
|
18
|
+
require 'oci/waas/models/address_list_summary'
|
15
19
|
require 'oci/waas/models/address_rate_limiting'
|
16
20
|
require 'oci/waas/models/block_challenge_settings'
|
21
|
+
require 'oci/waas/models/caching_rule'
|
22
|
+
require 'oci/waas/models/caching_rule_criteria'
|
23
|
+
require 'oci/waas/models/caching_rule_summary'
|
17
24
|
require 'oci/waas/models/captcha'
|
18
25
|
require 'oci/waas/models/certificate'
|
19
26
|
require 'oci/waas/models/certificate_extensions'
|
27
|
+
require 'oci/waas/models/certificate_issuer_name'
|
20
28
|
require 'oci/waas/models/certificate_public_key_info'
|
21
29
|
require 'oci/waas/models/certificate_subject_name'
|
22
30
|
require 'oci/waas/models/certificate_summary'
|
31
|
+
require 'oci/waas/models/change_address_list_compartment_details'
|
32
|
+
require 'oci/waas/models/change_certificate_compartment_details'
|
33
|
+
require 'oci/waas/models/change_custom_protection_rule_compartment_details'
|
34
|
+
require 'oci/waas/models/change_http_redirect_compartment_details'
|
35
|
+
require 'oci/waas/models/change_waas_policy_compartment_details'
|
36
|
+
require 'oci/waas/models/create_address_list_details'
|
23
37
|
require 'oci/waas/models/create_certificate_details'
|
38
|
+
require 'oci/waas/models/create_custom_protection_rule_details'
|
39
|
+
require 'oci/waas/models/create_http_redirect_details'
|
24
40
|
require 'oci/waas/models/create_waas_policy_details'
|
41
|
+
require 'oci/waas/models/custom_protection_rule'
|
42
|
+
require 'oci/waas/models/custom_protection_rule_setting'
|
43
|
+
require 'oci/waas/models/custom_protection_rule_summary'
|
25
44
|
require 'oci/waas/models/device_fingerprint_challenge'
|
26
45
|
require 'oci/waas/models/edge_subnet'
|
46
|
+
require 'oci/waas/models/extend_http_response_header_action'
|
27
47
|
require 'oci/waas/models/good_bot'
|
28
48
|
require 'oci/waas/models/header'
|
49
|
+
require 'oci/waas/models/header_manipulation_action'
|
50
|
+
require 'oci/waas/models/health_check'
|
51
|
+
require 'oci/waas/models/http_redirect'
|
52
|
+
require 'oci/waas/models/http_redirect_summary'
|
53
|
+
require 'oci/waas/models/http_redirect_target'
|
29
54
|
require 'oci/waas/models/human_interaction_challenge'
|
55
|
+
require 'oci/waas/models/ip_hash_load_balancing_method'
|
30
56
|
require 'oci/waas/models/js_challenge'
|
31
57
|
require 'oci/waas/models/lifecycle_states'
|
58
|
+
require 'oci/waas/models/load_balancing_method'
|
32
59
|
require 'oci/waas/models/origin'
|
60
|
+
require 'oci/waas/models/origin_group'
|
61
|
+
require 'oci/waas/models/origin_group_origins'
|
33
62
|
require 'oci/waas/models/policy_config'
|
34
63
|
require 'oci/waas/models/protection_rule'
|
35
64
|
require 'oci/waas/models/protection_rule_action'
|
36
65
|
require 'oci/waas/models/protection_rule_exclusion'
|
37
66
|
require 'oci/waas/models/protection_settings'
|
67
|
+
require 'oci/waas/models/purge_cache'
|
38
68
|
require 'oci/waas/models/recommendation'
|
69
|
+
require 'oci/waas/models/remove_http_response_header_action'
|
70
|
+
require 'oci/waas/models/round_robin_load_balancing_method'
|
71
|
+
require 'oci/waas/models/sticky_cookie_load_balancing_method'
|
39
72
|
require 'oci/waas/models/threat_feed'
|
40
73
|
require 'oci/waas/models/threat_feed_action'
|
74
|
+
require 'oci/waas/models/update_address_list_details'
|
41
75
|
require 'oci/waas/models/update_certificate_details'
|
76
|
+
require 'oci/waas/models/update_custom_protection_rule_details'
|
77
|
+
require 'oci/waas/models/update_http_redirect_details'
|
42
78
|
require 'oci/waas/models/update_waas_policy_details'
|
43
79
|
require 'oci/waas/models/waas_policy'
|
80
|
+
require 'oci/waas/models/waas_policy_custom_protection_rule_summary'
|
44
81
|
require 'oci/waas/models/waas_policy_summary'
|
45
82
|
require 'oci/waas/models/waf_blocked_request'
|
46
83
|
require 'oci/waas/models/waf_config'
|
@@ -59,6 +96,8 @@ require 'oci/waas/models/work_request_status_values'
|
|
59
96
|
require 'oci/waas/models/work_request_summary'
|
60
97
|
|
61
98
|
# Require generated clients
|
99
|
+
require 'oci/waas/redirect_client'
|
100
|
+
require 'oci/waas/redirect_client_composite_operations'
|
62
101
|
require 'oci/waas/waas_client'
|
63
102
|
require 'oci/waas/waas_client_composite_operations'
|
64
103
|
|
data/lib/oci/waas/waas_client.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2016,
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
2
3
|
|
3
4
|
require 'uri'
|
4
5
|
require 'logger'
|
@@ -50,16 +51,14 @@ module OCI
|
|
50
51
|
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
51
52
|
# will not perform any retries
|
52
53
|
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
53
|
-
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (
|
54
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
54
55
|
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
55
56
|
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
56
57
|
# pass it to this constructor.
|
57
58
|
#
|
58
59
|
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
59
60
|
# so try and load the config from the default file.
|
60
|
-
config
|
61
|
-
config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
62
|
-
config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
61
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
63
62
|
|
64
63
|
if signer.nil?
|
65
64
|
signer = OCI::Signer.new(
|
@@ -94,7 +93,7 @@ module OCI
|
|
94
93
|
|
95
94
|
raise 'A region must be specified.' unless @region
|
96
95
|
|
97
|
-
@endpoint = OCI::Regions.
|
96
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://waas.{region}.{secondLevelDomain}') + '/20181116'
|
98
97
|
logger.info "WaasClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
99
98
|
end
|
100
99
|
|
@@ -224,6 +223,309 @@ module OCI
|
|
224
223
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
225
224
|
|
226
225
|
|
226
|
+
# Moves address list into a different compartment. When provided, If-Match
|
227
|
+
# is checked against ETag values of the address list. For information about moving
|
228
|
+
# resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
229
|
+
#
|
230
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
231
|
+
# @param [OCI::Waas::Models::ChangeAddressListCompartmentDetails] change_address_list_compartment_details
|
232
|
+
# @param [Hash] opts the optional parameters
|
233
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
234
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
235
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
236
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
237
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
238
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
239
|
+
# @return [Response] A Response object with data of type nil
|
240
|
+
def change_address_list_compartment(address_list_id, change_address_list_compartment_details, opts = {})
|
241
|
+
logger.debug 'Calling operation WaasClient#change_address_list_compartment.' if logger
|
242
|
+
|
243
|
+
raise "Missing the required parameter 'address_list_id' when calling change_address_list_compartment." if address_list_id.nil?
|
244
|
+
raise "Missing the required parameter 'change_address_list_compartment_details' when calling change_address_list_compartment." if change_address_list_compartment_details.nil?
|
245
|
+
raise "Parameter value for 'address_list_id' must not be blank" if OCI::Internal::Util.blank_string?(address_list_id)
|
246
|
+
|
247
|
+
path = '/addressLists/{addressListId}/actions/changeCompartment'.sub('{addressListId}', address_list_id.to_s)
|
248
|
+
operation_signing_strategy = :standard
|
249
|
+
|
250
|
+
# rubocop:disable Style/NegatedIf
|
251
|
+
# Query Params
|
252
|
+
query_params = {}
|
253
|
+
|
254
|
+
# Header Params
|
255
|
+
header_params = {}
|
256
|
+
header_params[:accept] = 'application/json'
|
257
|
+
header_params[:'content-type'] = 'application/json'
|
258
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
259
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
260
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
261
|
+
# rubocop:enable Style/NegatedIf
|
262
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
263
|
+
|
264
|
+
post_body = @api_client.object_to_http_body(change_address_list_compartment_details)
|
265
|
+
|
266
|
+
# rubocop:disable Metrics/BlockLength
|
267
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_address_list_compartment') do
|
268
|
+
@api_client.call_api(
|
269
|
+
:POST,
|
270
|
+
path,
|
271
|
+
endpoint,
|
272
|
+
header_params: header_params,
|
273
|
+
query_params: query_params,
|
274
|
+
operation_signing_strategy: operation_signing_strategy,
|
275
|
+
body: post_body
|
276
|
+
)
|
277
|
+
end
|
278
|
+
# rubocop:enable Metrics/BlockLength
|
279
|
+
end
|
280
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
281
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
282
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
283
|
+
|
284
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
285
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
286
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
287
|
+
|
288
|
+
|
289
|
+
# Moves certificate into a different compartment. When provided, If-Match is checked against ETag values of the certificate.
|
290
|
+
# For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
291
|
+
#
|
292
|
+
# @param [String] certificate_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
|
293
|
+
# @param [OCI::Waas::Models::ChangeCertificateCompartmentDetails] change_certificate_compartment_details
|
294
|
+
# @param [Hash] opts the optional parameters
|
295
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
296
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
297
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
298
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
299
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
300
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
301
|
+
# @return [Response] A Response object with data of type nil
|
302
|
+
def change_certificate_compartment(certificate_id, change_certificate_compartment_details, opts = {})
|
303
|
+
logger.debug 'Calling operation WaasClient#change_certificate_compartment.' if logger
|
304
|
+
|
305
|
+
raise "Missing the required parameter 'certificate_id' when calling change_certificate_compartment." if certificate_id.nil?
|
306
|
+
raise "Missing the required parameter 'change_certificate_compartment_details' when calling change_certificate_compartment." if change_certificate_compartment_details.nil?
|
307
|
+
raise "Parameter value for 'certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(certificate_id)
|
308
|
+
|
309
|
+
path = '/certificates/{certificateId}/actions/changeCompartment'.sub('{certificateId}', certificate_id.to_s)
|
310
|
+
operation_signing_strategy = :standard
|
311
|
+
|
312
|
+
# rubocop:disable Style/NegatedIf
|
313
|
+
# Query Params
|
314
|
+
query_params = {}
|
315
|
+
|
316
|
+
# Header Params
|
317
|
+
header_params = {}
|
318
|
+
header_params[:accept] = 'application/json'
|
319
|
+
header_params[:'content-type'] = 'application/json'
|
320
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
321
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
322
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
323
|
+
# rubocop:enable Style/NegatedIf
|
324
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
325
|
+
|
326
|
+
post_body = @api_client.object_to_http_body(change_certificate_compartment_details)
|
327
|
+
|
328
|
+
# rubocop:disable Metrics/BlockLength
|
329
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_certificate_compartment') do
|
330
|
+
@api_client.call_api(
|
331
|
+
:POST,
|
332
|
+
path,
|
333
|
+
endpoint,
|
334
|
+
header_params: header_params,
|
335
|
+
query_params: query_params,
|
336
|
+
operation_signing_strategy: operation_signing_strategy,
|
337
|
+
body: post_body
|
338
|
+
)
|
339
|
+
end
|
340
|
+
# rubocop:enable Metrics/BlockLength
|
341
|
+
end
|
342
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
343
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
344
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
345
|
+
|
346
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
347
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
348
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
349
|
+
|
350
|
+
|
351
|
+
# Moves a custom protection rule into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the custom protection rule. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
352
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
|
353
|
+
# @param [OCI::Waas::Models::ChangeCustomProtectionRuleCompartmentDetails] change_custom_protection_rule_compartment_details
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
356
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
357
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
358
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
359
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
360
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
361
|
+
# @return [Response] A Response object with data of type nil
|
362
|
+
def change_custom_protection_rule_compartment(custom_protection_rule_id, change_custom_protection_rule_compartment_details, opts = {})
|
363
|
+
logger.debug 'Calling operation WaasClient#change_custom_protection_rule_compartment.' if logger
|
364
|
+
|
365
|
+
raise "Missing the required parameter 'custom_protection_rule_id' when calling change_custom_protection_rule_compartment." if custom_protection_rule_id.nil?
|
366
|
+
raise "Missing the required parameter 'change_custom_protection_rule_compartment_details' when calling change_custom_protection_rule_compartment." if change_custom_protection_rule_compartment_details.nil?
|
367
|
+
raise "Parameter value for 'custom_protection_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(custom_protection_rule_id)
|
368
|
+
|
369
|
+
path = '/customProtectionRules/{customProtectionRuleId}/actions/changeCompartment'.sub('{customProtectionRuleId}', custom_protection_rule_id.to_s)
|
370
|
+
operation_signing_strategy = :standard
|
371
|
+
|
372
|
+
# rubocop:disable Style/NegatedIf
|
373
|
+
# Query Params
|
374
|
+
query_params = {}
|
375
|
+
|
376
|
+
# Header Params
|
377
|
+
header_params = {}
|
378
|
+
header_params[:accept] = 'application/json'
|
379
|
+
header_params[:'content-type'] = 'application/json'
|
380
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
381
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
382
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
383
|
+
# rubocop:enable Style/NegatedIf
|
384
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
385
|
+
|
386
|
+
post_body = @api_client.object_to_http_body(change_custom_protection_rule_compartment_details)
|
387
|
+
|
388
|
+
# rubocop:disable Metrics/BlockLength
|
389
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_custom_protection_rule_compartment') do
|
390
|
+
@api_client.call_api(
|
391
|
+
:POST,
|
392
|
+
path,
|
393
|
+
endpoint,
|
394
|
+
header_params: header_params,
|
395
|
+
query_params: query_params,
|
396
|
+
operation_signing_strategy: operation_signing_strategy,
|
397
|
+
body: post_body
|
398
|
+
)
|
399
|
+
end
|
400
|
+
# rubocop:enable Metrics/BlockLength
|
401
|
+
end
|
402
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
403
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
404
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
405
|
+
|
406
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
407
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
408
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
409
|
+
|
410
|
+
|
411
|
+
# Moves WAAS policy into a different compartment. When provided, If-Match is checked against ETag values of the WAAS policy.
|
412
|
+
# For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
413
|
+
#
|
414
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
415
|
+
# @param [OCI::Waas::Models::ChangeWaasPolicyCompartmentDetails] change_waas_policy_compartment_details
|
416
|
+
# @param [Hash] opts the optional parameters
|
417
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
418
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
419
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
420
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
421
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
422
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
423
|
+
# @return [Response] A Response object with data of type nil
|
424
|
+
def change_waas_policy_compartment(waas_policy_id, change_waas_policy_compartment_details, opts = {})
|
425
|
+
logger.debug 'Calling operation WaasClient#change_waas_policy_compartment.' if logger
|
426
|
+
|
427
|
+
raise "Missing the required parameter 'waas_policy_id' when calling change_waas_policy_compartment." if waas_policy_id.nil?
|
428
|
+
raise "Missing the required parameter 'change_waas_policy_compartment_details' when calling change_waas_policy_compartment." if change_waas_policy_compartment_details.nil?
|
429
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
430
|
+
|
431
|
+
path = '/waasPolicies/{waasPolicyId}/actions/changeCompartment'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
432
|
+
operation_signing_strategy = :standard
|
433
|
+
|
434
|
+
# rubocop:disable Style/NegatedIf
|
435
|
+
# Query Params
|
436
|
+
query_params = {}
|
437
|
+
|
438
|
+
# Header Params
|
439
|
+
header_params = {}
|
440
|
+
header_params[:accept] = 'application/json'
|
441
|
+
header_params[:'content-type'] = 'application/json'
|
442
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
443
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
444
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
445
|
+
# rubocop:enable Style/NegatedIf
|
446
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
447
|
+
|
448
|
+
post_body = @api_client.object_to_http_body(change_waas_policy_compartment_details)
|
449
|
+
|
450
|
+
# rubocop:disable Metrics/BlockLength
|
451
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_waas_policy_compartment') do
|
452
|
+
@api_client.call_api(
|
453
|
+
:POST,
|
454
|
+
path,
|
455
|
+
endpoint,
|
456
|
+
header_params: header_params,
|
457
|
+
query_params: query_params,
|
458
|
+
operation_signing_strategy: operation_signing_strategy,
|
459
|
+
body: post_body
|
460
|
+
)
|
461
|
+
end
|
462
|
+
# rubocop:enable Metrics/BlockLength
|
463
|
+
end
|
464
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
465
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
466
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
467
|
+
|
468
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
469
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
470
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
471
|
+
|
472
|
+
|
473
|
+
# Creates an address list in a set compartment and allows it to be used in a WAAS policy and referenced by access rules. Addresses can be IP addresses and CIDR notations.
|
474
|
+
# @param [OCI::Waas::Models::CreateAddressListDetails] create_address_list_details The details of the address list resource to create.
|
475
|
+
# @param [Hash] opts the optional parameters
|
476
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
477
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
478
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
479
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
480
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
481
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::AddressList AddressList}
|
482
|
+
def create_address_list(create_address_list_details, opts = {})
|
483
|
+
logger.debug 'Calling operation WaasClient#create_address_list.' if logger
|
484
|
+
|
485
|
+
raise "Missing the required parameter 'create_address_list_details' when calling create_address_list." if create_address_list_details.nil?
|
486
|
+
|
487
|
+
path = '/addressLists'
|
488
|
+
operation_signing_strategy = :standard
|
489
|
+
|
490
|
+
# rubocop:disable Style/NegatedIf
|
491
|
+
# Query Params
|
492
|
+
query_params = {}
|
493
|
+
|
494
|
+
# Header Params
|
495
|
+
header_params = {}
|
496
|
+
header_params[:accept] = 'application/json'
|
497
|
+
header_params[:'content-type'] = 'application/json'
|
498
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
499
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
500
|
+
# rubocop:enable Style/NegatedIf
|
501
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
502
|
+
|
503
|
+
post_body = @api_client.object_to_http_body(create_address_list_details)
|
504
|
+
|
505
|
+
# rubocop:disable Metrics/BlockLength
|
506
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#create_address_list') do
|
507
|
+
@api_client.call_api(
|
508
|
+
:POST,
|
509
|
+
path,
|
510
|
+
endpoint,
|
511
|
+
header_params: header_params,
|
512
|
+
query_params: query_params,
|
513
|
+
operation_signing_strategy: operation_signing_strategy,
|
514
|
+
body: post_body,
|
515
|
+
return_type: 'OCI::Waas::Models::AddressList'
|
516
|
+
)
|
517
|
+
end
|
518
|
+
# rubocop:enable Metrics/BlockLength
|
519
|
+
end
|
520
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
521
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
522
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
523
|
+
|
524
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
525
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
526
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
527
|
+
|
528
|
+
|
227
529
|
# Allows an SSL certificate to be added to a WAAS policy. The Web Application Firewall terminates SSL connections to inspect requests in runtime, and then re-encrypts requests before sending them to the origin for fulfillment.
|
228
530
|
#
|
229
531
|
# For more information, see [WAF Settings](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafsettings.htm).
|
@@ -282,6 +584,64 @@ module OCI
|
|
282
584
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
283
585
|
|
284
586
|
|
587
|
+
# Creates a new custom protection rule in the specified compartment.
|
588
|
+
#
|
589
|
+
# Custom protection rules allow you to create rules in addition to the rulesets provided by the Web Application Firewall service, including rules from [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the ModSecurity syntax. For more information about custom protection rules, see [Custom Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm).
|
590
|
+
# @param [OCI::Waas::Models::CreateCustomProtectionRuleDetails] create_custom_protection_rule_details The details of the custom protection rule.
|
591
|
+
# @param [Hash] opts the optional parameters
|
592
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
593
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
594
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
595
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
596
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
597
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::CustomProtectionRule CustomProtectionRule}
|
598
|
+
def create_custom_protection_rule(create_custom_protection_rule_details, opts = {})
|
599
|
+
logger.debug 'Calling operation WaasClient#create_custom_protection_rule.' if logger
|
600
|
+
|
601
|
+
raise "Missing the required parameter 'create_custom_protection_rule_details' when calling create_custom_protection_rule." if create_custom_protection_rule_details.nil?
|
602
|
+
|
603
|
+
path = '/customProtectionRules'
|
604
|
+
operation_signing_strategy = :standard
|
605
|
+
|
606
|
+
# rubocop:disable Style/NegatedIf
|
607
|
+
# Query Params
|
608
|
+
query_params = {}
|
609
|
+
|
610
|
+
# Header Params
|
611
|
+
header_params = {}
|
612
|
+
header_params[:accept] = 'application/json'
|
613
|
+
header_params[:'content-type'] = 'application/json'
|
614
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
615
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
616
|
+
# rubocop:enable Style/NegatedIf
|
617
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
618
|
+
|
619
|
+
post_body = @api_client.object_to_http_body(create_custom_protection_rule_details)
|
620
|
+
|
621
|
+
# rubocop:disable Metrics/BlockLength
|
622
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#create_custom_protection_rule') do
|
623
|
+
@api_client.call_api(
|
624
|
+
:POST,
|
625
|
+
path,
|
626
|
+
endpoint,
|
627
|
+
header_params: header_params,
|
628
|
+
query_params: query_params,
|
629
|
+
operation_signing_strategy: operation_signing_strategy,
|
630
|
+
body: post_body,
|
631
|
+
return_type: 'OCI::Waas::Models::CustomProtectionRule'
|
632
|
+
)
|
633
|
+
end
|
634
|
+
# rubocop:enable Metrics/BlockLength
|
635
|
+
end
|
636
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
637
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
638
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
639
|
+
|
640
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
641
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
642
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
643
|
+
|
644
|
+
|
285
645
|
# Creates a new Web Application Acceleration and Security (WAAS) policy in the specified compartment. A WAAS policy must be established before creating Web Application Firewall (WAF) rules. To use WAF rules, your web application's origin servers must defined in the `WaasPolicy` schema.
|
286
646
|
#
|
287
647
|
# A domain name must be specified when creating a WAAS policy. The domain name should be different from the origins specified in your `WaasPolicy`. Once domain name is entered and stored, it is unchangeable.
|
@@ -349,6 +709,64 @@ module OCI
|
|
349
709
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
350
710
|
|
351
711
|
|
712
|
+
# Deletes the address list from the compartment if it is not used.
|
713
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
714
|
+
# @param [Hash] opts the optional parameters
|
715
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
716
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
717
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
718
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
719
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
720
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
721
|
+
# @return [Response] A Response object with data of type nil
|
722
|
+
def delete_address_list(address_list_id, opts = {})
|
723
|
+
logger.debug 'Calling operation WaasClient#delete_address_list.' if logger
|
724
|
+
|
725
|
+
raise "Missing the required parameter 'address_list_id' when calling delete_address_list." if address_list_id.nil?
|
726
|
+
raise "Parameter value for 'address_list_id' must not be blank" if OCI::Internal::Util.blank_string?(address_list_id)
|
727
|
+
|
728
|
+
path = '/addressLists/{addressListId}'.sub('{addressListId}', address_list_id.to_s)
|
729
|
+
operation_signing_strategy = :standard
|
730
|
+
|
731
|
+
# rubocop:disable Style/NegatedIf
|
732
|
+
# Query Params
|
733
|
+
query_params = {}
|
734
|
+
|
735
|
+
# Header Params
|
736
|
+
header_params = {}
|
737
|
+
header_params[:accept] = 'application/json'
|
738
|
+
header_params[:'content-type'] = 'application/json'
|
739
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
740
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
741
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
742
|
+
# rubocop:enable Style/NegatedIf
|
743
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
744
|
+
|
745
|
+
post_body = nil
|
746
|
+
|
747
|
+
# rubocop:disable Metrics/BlockLength
|
748
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#delete_address_list') do
|
749
|
+
@api_client.call_api(
|
750
|
+
:DELETE,
|
751
|
+
path,
|
752
|
+
endpoint,
|
753
|
+
header_params: header_params,
|
754
|
+
query_params: query_params,
|
755
|
+
operation_signing_strategy: operation_signing_strategy,
|
756
|
+
body: post_body
|
757
|
+
)
|
758
|
+
end
|
759
|
+
# rubocop:enable Metrics/BlockLength
|
760
|
+
end
|
761
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
762
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
763
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
764
|
+
|
765
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
766
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
767
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
768
|
+
|
769
|
+
|
352
770
|
# Deletes an SSL certificate from the WAAS service.
|
353
771
|
# @param [String] certificate_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
|
354
772
|
# @param [Hash] opts the optional parameters
|
@@ -407,6 +825,64 @@ module OCI
|
|
407
825
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
408
826
|
|
409
827
|
|
828
|
+
# Deletes a Custom Protection rule.
|
829
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
|
830
|
+
# @param [Hash] opts the optional parameters
|
831
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
832
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
833
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
834
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
835
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
836
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
837
|
+
# @return [Response] A Response object with data of type nil
|
838
|
+
def delete_custom_protection_rule(custom_protection_rule_id, opts = {})
|
839
|
+
logger.debug 'Calling operation WaasClient#delete_custom_protection_rule.' if logger
|
840
|
+
|
841
|
+
raise "Missing the required parameter 'custom_protection_rule_id' when calling delete_custom_protection_rule." if custom_protection_rule_id.nil?
|
842
|
+
raise "Parameter value for 'custom_protection_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(custom_protection_rule_id)
|
843
|
+
|
844
|
+
path = '/customProtectionRules/{customProtectionRuleId}'.sub('{customProtectionRuleId}', custom_protection_rule_id.to_s)
|
845
|
+
operation_signing_strategy = :standard
|
846
|
+
|
847
|
+
# rubocop:disable Style/NegatedIf
|
848
|
+
# Query Params
|
849
|
+
query_params = {}
|
850
|
+
|
851
|
+
# Header Params
|
852
|
+
header_params = {}
|
853
|
+
header_params[:accept] = 'application/json'
|
854
|
+
header_params[:'content-type'] = 'application/json'
|
855
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
856
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
857
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
858
|
+
# rubocop:enable Style/NegatedIf
|
859
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
860
|
+
|
861
|
+
post_body = nil
|
862
|
+
|
863
|
+
# rubocop:disable Metrics/BlockLength
|
864
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#delete_custom_protection_rule') do
|
865
|
+
@api_client.call_api(
|
866
|
+
:DELETE,
|
867
|
+
path,
|
868
|
+
endpoint,
|
869
|
+
header_params: header_params,
|
870
|
+
query_params: query_params,
|
871
|
+
operation_signing_strategy: operation_signing_strategy,
|
872
|
+
body: post_body
|
873
|
+
)
|
874
|
+
end
|
875
|
+
# rubocop:enable Metrics/BlockLength
|
876
|
+
end
|
877
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
878
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
879
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
880
|
+
|
881
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
882
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
883
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
884
|
+
|
885
|
+
|
410
886
|
# Deletes a policy.
|
411
887
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
412
888
|
# @param [Hash] opts the optional parameters
|
@@ -465,6 +941,59 @@ module OCI
|
|
465
941
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
466
942
|
|
467
943
|
|
944
|
+
# Gets the details of an address list.
|
945
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
946
|
+
# @param [Hash] opts the optional parameters
|
947
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
948
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
949
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
950
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::AddressList AddressList}
|
951
|
+
def get_address_list(address_list_id, opts = {})
|
952
|
+
logger.debug 'Calling operation WaasClient#get_address_list.' if logger
|
953
|
+
|
954
|
+
raise "Missing the required parameter 'address_list_id' when calling get_address_list." if address_list_id.nil?
|
955
|
+
raise "Parameter value for 'address_list_id' must not be blank" if OCI::Internal::Util.blank_string?(address_list_id)
|
956
|
+
|
957
|
+
path = '/addressLists/{addressListId}'.sub('{addressListId}', address_list_id.to_s)
|
958
|
+
operation_signing_strategy = :standard
|
959
|
+
|
960
|
+
# rubocop:disable Style/NegatedIf
|
961
|
+
# Query Params
|
962
|
+
query_params = {}
|
963
|
+
|
964
|
+
# Header Params
|
965
|
+
header_params = {}
|
966
|
+
header_params[:accept] = 'application/json'
|
967
|
+
header_params[:'content-type'] = 'application/json'
|
968
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
969
|
+
# rubocop:enable Style/NegatedIf
|
970
|
+
|
971
|
+
post_body = nil
|
972
|
+
|
973
|
+
# rubocop:disable Metrics/BlockLength
|
974
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#get_address_list') do
|
975
|
+
@api_client.call_api(
|
976
|
+
:GET,
|
977
|
+
path,
|
978
|
+
endpoint,
|
979
|
+
header_params: header_params,
|
980
|
+
query_params: query_params,
|
981
|
+
operation_signing_strategy: operation_signing_strategy,
|
982
|
+
body: post_body,
|
983
|
+
return_type: 'OCI::Waas::Models::AddressList'
|
984
|
+
)
|
985
|
+
end
|
986
|
+
# rubocop:enable Metrics/BlockLength
|
987
|
+
end
|
988
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
989
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
990
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
991
|
+
|
992
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
993
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
994
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
995
|
+
|
996
|
+
|
468
997
|
# Gets the details of an SSL certificate.
|
469
998
|
# @param [String] certificate_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
|
470
999
|
# @param [Hash] opts the optional parameters
|
@@ -475,10 +1004,63 @@ module OCI
|
|
475
1004
|
def get_certificate(certificate_id, opts = {})
|
476
1005
|
logger.debug 'Calling operation WaasClient#get_certificate.' if logger
|
477
1006
|
|
478
|
-
raise "Missing the required parameter 'certificate_id' when calling get_certificate." if certificate_id.nil?
|
479
|
-
raise "Parameter value for 'certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(certificate_id)
|
1007
|
+
raise "Missing the required parameter 'certificate_id' when calling get_certificate." if certificate_id.nil?
|
1008
|
+
raise "Parameter value for 'certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(certificate_id)
|
1009
|
+
|
1010
|
+
path = '/certificates/{certificateId}'.sub('{certificateId}', certificate_id.to_s)
|
1011
|
+
operation_signing_strategy = :standard
|
1012
|
+
|
1013
|
+
# rubocop:disable Style/NegatedIf
|
1014
|
+
# Query Params
|
1015
|
+
query_params = {}
|
1016
|
+
|
1017
|
+
# Header Params
|
1018
|
+
header_params = {}
|
1019
|
+
header_params[:accept] = 'application/json'
|
1020
|
+
header_params[:'content-type'] = 'application/json'
|
1021
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1022
|
+
# rubocop:enable Style/NegatedIf
|
1023
|
+
|
1024
|
+
post_body = nil
|
1025
|
+
|
1026
|
+
# rubocop:disable Metrics/BlockLength
|
1027
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#get_certificate') do
|
1028
|
+
@api_client.call_api(
|
1029
|
+
:GET,
|
1030
|
+
path,
|
1031
|
+
endpoint,
|
1032
|
+
header_params: header_params,
|
1033
|
+
query_params: query_params,
|
1034
|
+
operation_signing_strategy: operation_signing_strategy,
|
1035
|
+
body: post_body,
|
1036
|
+
return_type: 'OCI::Waas::Models::Certificate'
|
1037
|
+
)
|
1038
|
+
end
|
1039
|
+
# rubocop:enable Metrics/BlockLength
|
1040
|
+
end
|
1041
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1042
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1043
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1044
|
+
|
1045
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1046
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1047
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1048
|
+
|
1049
|
+
|
1050
|
+
# Gets the details of a custom protection rule.
|
1051
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
|
1052
|
+
# @param [Hash] opts the optional parameters
|
1053
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1054
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1055
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1056
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::CustomProtectionRule CustomProtectionRule}
|
1057
|
+
def get_custom_protection_rule(custom_protection_rule_id, opts = {})
|
1058
|
+
logger.debug 'Calling operation WaasClient#get_custom_protection_rule.' if logger
|
1059
|
+
|
1060
|
+
raise "Missing the required parameter 'custom_protection_rule_id' when calling get_custom_protection_rule." if custom_protection_rule_id.nil?
|
1061
|
+
raise "Parameter value for 'custom_protection_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(custom_protection_rule_id)
|
480
1062
|
|
481
|
-
path = '/
|
1063
|
+
path = '/customProtectionRules/{customProtectionRuleId}'.sub('{customProtectionRuleId}', custom_protection_rule_id.to_s)
|
482
1064
|
operation_signing_strategy = :standard
|
483
1065
|
|
484
1066
|
# rubocop:disable Style/NegatedIf
|
@@ -495,7 +1077,7 @@ module OCI
|
|
495
1077
|
post_body = nil
|
496
1078
|
|
497
1079
|
# rubocop:disable Metrics/BlockLength
|
498
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#
|
1080
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#get_custom_protection_rule') do
|
499
1081
|
@api_client.call_api(
|
500
1082
|
:GET,
|
501
1083
|
path,
|
@@ -504,7 +1086,7 @@ module OCI
|
|
504
1086
|
query_params: query_params,
|
505
1087
|
operation_signing_strategy: operation_signing_strategy,
|
506
1088
|
body: post_body,
|
507
|
-
return_type: 'OCI::Waas::Models::
|
1089
|
+
return_type: 'OCI::Waas::Models::CustomProtectionRule'
|
508
1090
|
)
|
509
1091
|
end
|
510
1092
|
# rubocop:enable Metrics/BlockLength
|
@@ -1051,14 +1633,14 @@ module OCI
|
|
1051
1633
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1052
1634
|
|
1053
1635
|
|
1054
|
-
# Gets the currently configured access rules for the Web Application Firewall
|
1636
|
+
# Gets the currently configured access rules for the Web Application Firewall configuration of a specified WAAS policy.
|
1055
1637
|
# The order of the access rules is important. The rules will be checked in the order they are specified and the first matching rule will be used.
|
1056
1638
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1057
1639
|
# @param [Hash] opts the optional parameters
|
1058
1640
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1059
1641
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1060
1642
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1061
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
1643
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1062
1644
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1063
1645
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::AccessRule AccessRule}>
|
1064
1646
|
def list_access_rules(waas_policy_id, opts = {})
|
@@ -1109,6 +1691,156 @@ module OCI
|
|
1109
1691
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1110
1692
|
|
1111
1693
|
|
1694
|
+
# Gets a list of address lists that can be used in a WAAS policy.
|
1695
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
|
1696
|
+
# @param [Hash] opts the optional parameters
|
1697
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1698
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1699
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1700
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1701
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1702
|
+
# @option opts [String] :sort_by The value by which address lists are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
|
1703
|
+
# Allowed values are: id, name, timeCreated
|
1704
|
+
# @option opts [String] :sort_order The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
|
1705
|
+
# Allowed values are: ASC, DESC
|
1706
|
+
# @option opts [Array<String>] :id Filter address lists using a list of address lists OCIDs.
|
1707
|
+
# @option opts [Array<String>] :name Filter address lists using a list of names.
|
1708
|
+
# @option opts [Array<String>] :lifecycle_state Filter address lists using a list of lifecycle states.
|
1709
|
+
# Allowed values are: CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED
|
1710
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to A filter that matches address lists created on or after the specified date-time.
|
1711
|
+
# @option opts [DateTime] :time_created_less_than A filter that matches address lists created before the specified date-time.
|
1712
|
+
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::AddressListSummary AddressListSummary}>
|
1713
|
+
def list_address_lists(compartment_id, opts = {})
|
1714
|
+
logger.debug 'Calling operation WaasClient#list_address_lists.' if logger
|
1715
|
+
|
1716
|
+
raise "Missing the required parameter 'compartment_id' when calling list_address_lists." if compartment_id.nil?
|
1717
|
+
|
1718
|
+
if opts[:sort_by] && !%w[id name timeCreated].include?(opts[:sort_by])
|
1719
|
+
raise 'Invalid value for "sort_by", must be one of id, name, timeCreated.'
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1723
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
|
1727
|
+
lifecycle_state_allowable_values = %w[CREATING ACTIVE FAILED UPDATING DELETING DELETED]
|
1728
|
+
if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
1729
|
+
opts[:lifecycle_state].each do |val_to_check|
|
1730
|
+
unless lifecycle_state_allowable_values.include?(val_to_check)
|
1731
|
+
raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED.'
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
path = '/addressLists'
|
1737
|
+
operation_signing_strategy = :standard
|
1738
|
+
|
1739
|
+
# rubocop:disable Style/NegatedIf
|
1740
|
+
# Query Params
|
1741
|
+
query_params = {}
|
1742
|
+
query_params[:compartmentId] = compartment_id
|
1743
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1744
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1745
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1746
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1747
|
+
query_params[:id] = OCI::ApiClient.build_collection_params(opts[:id], :multi) if opts[:id] && !opts[:id].empty?
|
1748
|
+
query_params[:name] = OCI::ApiClient.build_collection_params(opts[:name], :multi) if opts[:name] && !opts[:name].empty?
|
1749
|
+
query_params[:lifecycleState] = OCI::ApiClient.build_collection_params(opts[:lifecycle_state], :multi) if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
1750
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
1751
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
1752
|
+
|
1753
|
+
# Header Params
|
1754
|
+
header_params = {}
|
1755
|
+
header_params[:accept] = 'application/json'
|
1756
|
+
header_params[:'content-type'] = 'application/json'
|
1757
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1758
|
+
# rubocop:enable Style/NegatedIf
|
1759
|
+
|
1760
|
+
post_body = nil
|
1761
|
+
|
1762
|
+
# rubocop:disable Metrics/BlockLength
|
1763
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#list_address_lists') do
|
1764
|
+
@api_client.call_api(
|
1765
|
+
:GET,
|
1766
|
+
path,
|
1767
|
+
endpoint,
|
1768
|
+
header_params: header_params,
|
1769
|
+
query_params: query_params,
|
1770
|
+
operation_signing_strategy: operation_signing_strategy,
|
1771
|
+
body: post_body,
|
1772
|
+
return_type: 'Array<OCI::Waas::Models::AddressListSummary>'
|
1773
|
+
)
|
1774
|
+
end
|
1775
|
+
# rubocop:enable Metrics/BlockLength
|
1776
|
+
end
|
1777
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1778
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1779
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1780
|
+
|
1781
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1782
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1783
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1784
|
+
|
1785
|
+
|
1786
|
+
# Gets the currently configured caching rules for the Web Application Firewall configuration of a specified WAAS policy.
|
1787
|
+
# The rules are processed in the order they are specified in and the first matching rule will be used when processing a request.
|
1788
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1789
|
+
# @param [Hash] opts the optional parameters
|
1790
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1791
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1792
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1793
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1794
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1795
|
+
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::CachingRuleSummary CachingRuleSummary}>
|
1796
|
+
def list_caching_rules(waas_policy_id, opts = {})
|
1797
|
+
logger.debug 'Calling operation WaasClient#list_caching_rules.' if logger
|
1798
|
+
|
1799
|
+
raise "Missing the required parameter 'waas_policy_id' when calling list_caching_rules." if waas_policy_id.nil?
|
1800
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
1801
|
+
|
1802
|
+
path = '/waasPolicies/{waasPolicyId}/wafConfig/cachingRules'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
1803
|
+
operation_signing_strategy = :standard
|
1804
|
+
|
1805
|
+
# rubocop:disable Style/NegatedIf
|
1806
|
+
# Query Params
|
1807
|
+
query_params = {}
|
1808
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1809
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1810
|
+
|
1811
|
+
# Header Params
|
1812
|
+
header_params = {}
|
1813
|
+
header_params[:accept] = 'application/json'
|
1814
|
+
header_params[:'content-type'] = 'application/json'
|
1815
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1816
|
+
# rubocop:enable Style/NegatedIf
|
1817
|
+
|
1818
|
+
post_body = nil
|
1819
|
+
|
1820
|
+
# rubocop:disable Metrics/BlockLength
|
1821
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#list_caching_rules') do
|
1822
|
+
@api_client.call_api(
|
1823
|
+
:GET,
|
1824
|
+
path,
|
1825
|
+
endpoint,
|
1826
|
+
header_params: header_params,
|
1827
|
+
query_params: query_params,
|
1828
|
+
operation_signing_strategy: operation_signing_strategy,
|
1829
|
+
body: post_body,
|
1830
|
+
return_type: 'Array<OCI::Waas::Models::CachingRuleSummary>'
|
1831
|
+
)
|
1832
|
+
end
|
1833
|
+
# rubocop:enable Metrics/BlockLength
|
1834
|
+
end
|
1835
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1836
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1837
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1838
|
+
|
1839
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1840
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1841
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1842
|
+
|
1843
|
+
|
1112
1844
|
# Gets the list of currently configured CAPTCHA challenges in the Web
|
1113
1845
|
# Application Firewall configuration of a WAAS policy.
|
1114
1846
|
#
|
@@ -1120,7 +1852,7 @@ module OCI
|
|
1120
1852
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1121
1853
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1122
1854
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1123
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
1855
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1124
1856
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1125
1857
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::Captcha Captcha}>
|
1126
1858
|
def list_captchas(waas_policy_id, opts = {})
|
@@ -1177,7 +1909,7 @@ module OCI
|
|
1177
1909
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1178
1910
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1179
1911
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1180
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
1912
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1181
1913
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1182
1914
|
# @option opts [String] :sort_by The value by which certificate summaries are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
|
1183
1915
|
# Allowed values are: id, compartmentId, displayName, notValidAfter, timeCreated
|
@@ -1186,6 +1918,7 @@ module OCI
|
|
1186
1918
|
# @option opts [Array<String>] :id Filter certificates using a list of certificates OCIDs.
|
1187
1919
|
# @option opts [Array<String>] :display_name Filter certificates using a list of display names.
|
1188
1920
|
# @option opts [Array<String>] :lifecycle_state Filter certificates using a list of lifecycle states.
|
1921
|
+
# Allowed values are: CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED
|
1189
1922
|
# @option opts [DateTime] :time_created_greater_than_or_equal_to A filter that matches certificates created on or after the specified date-time.
|
1190
1923
|
# @option opts [DateTime] :time_created_less_than A filter that matches certificates created before the specified date-time.
|
1191
1924
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::CertificateSummary CertificateSummary}>
|
@@ -1202,6 +1935,16 @@ module OCI
|
|
1202
1935
|
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1203
1936
|
end
|
1204
1937
|
|
1938
|
+
|
1939
|
+
lifecycle_state_allowable_values = %w[CREATING ACTIVE FAILED UPDATING DELETING DELETED]
|
1940
|
+
if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
1941
|
+
opts[:lifecycle_state].each do |val_to_check|
|
1942
|
+
unless lifecycle_state_allowable_values.include?(val_to_check)
|
1943
|
+
raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED.'
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
end
|
1947
|
+
|
1205
1948
|
path = '/certificates'
|
1206
1949
|
operation_signing_strategy = :standard
|
1207
1950
|
|
@@ -1252,12 +1995,104 @@ module OCI
|
|
1252
1995
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1253
1996
|
|
1254
1997
|
|
1998
|
+
# Gets a list of custom protection rules for the specified Web Application Firewall.
|
1999
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
|
2000
|
+
# @param [Hash] opts the optional parameters
|
2001
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2002
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2003
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2004
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
2005
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
2006
|
+
# @option opts [String] :sort_by The value by which custom protection rules are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
|
2007
|
+
# Allowed values are: id, compartmentId, displayName, modSecurityRuleId, timeCreated
|
2008
|
+
# @option opts [String] :sort_order The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
|
2009
|
+
# Allowed values are: ASC, DESC
|
2010
|
+
# @option opts [Array<String>] :id Filter custom protection rules using a list of custom protection rule OCIDs.
|
2011
|
+
# @option opts [Array<String>] :display_name Filter custom protection rules using a list of display names.
|
2012
|
+
# @option opts [Array<String>] :lifecycle_state Filter Custom Protection rules using a list of lifecycle states.
|
2013
|
+
# Allowed values are: CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED
|
2014
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to A filter that matches Custom Protection rules created on or after the specified date-time.
|
2015
|
+
# @option opts [DateTime] :time_created_less_than A filter that matches custom protection rules created before the specified date-time.
|
2016
|
+
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::CustomProtectionRuleSummary CustomProtectionRuleSummary}>
|
2017
|
+
def list_custom_protection_rules(compartment_id, opts = {})
|
2018
|
+
logger.debug 'Calling operation WaasClient#list_custom_protection_rules.' if logger
|
2019
|
+
|
2020
|
+
raise "Missing the required parameter 'compartment_id' when calling list_custom_protection_rules." if compartment_id.nil?
|
2021
|
+
|
2022
|
+
if opts[:sort_by] && !%w[id compartmentId displayName modSecurityRuleId timeCreated].include?(opts[:sort_by])
|
2023
|
+
raise 'Invalid value for "sort_by", must be one of id, compartmentId, displayName, modSecurityRuleId, timeCreated.'
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
2027
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
|
2031
|
+
lifecycle_state_allowable_values = %w[CREATING ACTIVE FAILED UPDATING DELETING DELETED]
|
2032
|
+
if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
2033
|
+
opts[:lifecycle_state].each do |val_to_check|
|
2034
|
+
unless lifecycle_state_allowable_values.include?(val_to_check)
|
2035
|
+
raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED.'
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
path = '/customProtectionRules'
|
2041
|
+
operation_signing_strategy = :standard
|
2042
|
+
|
2043
|
+
# rubocop:disable Style/NegatedIf
|
2044
|
+
# Query Params
|
2045
|
+
query_params = {}
|
2046
|
+
query_params[:compartmentId] = compartment_id
|
2047
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2048
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2049
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
2050
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
2051
|
+
query_params[:id] = OCI::ApiClient.build_collection_params(opts[:id], :multi) if opts[:id] && !opts[:id].empty?
|
2052
|
+
query_params[:displayName] = OCI::ApiClient.build_collection_params(opts[:display_name], :multi) if opts[:display_name] && !opts[:display_name].empty?
|
2053
|
+
query_params[:lifecycleState] = OCI::ApiClient.build_collection_params(opts[:lifecycle_state], :multi) if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
2054
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
2055
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
2056
|
+
|
2057
|
+
# Header Params
|
2058
|
+
header_params = {}
|
2059
|
+
header_params[:accept] = 'application/json'
|
2060
|
+
header_params[:'content-type'] = 'application/json'
|
2061
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2062
|
+
# rubocop:enable Style/NegatedIf
|
2063
|
+
|
2064
|
+
post_body = nil
|
2065
|
+
|
2066
|
+
# rubocop:disable Metrics/BlockLength
|
2067
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#list_custom_protection_rules') do
|
2068
|
+
@api_client.call_api(
|
2069
|
+
:GET,
|
2070
|
+
path,
|
2071
|
+
endpoint,
|
2072
|
+
header_params: header_params,
|
2073
|
+
query_params: query_params,
|
2074
|
+
operation_signing_strategy: operation_signing_strategy,
|
2075
|
+
body: post_body,
|
2076
|
+
return_type: 'Array<OCI::Waas::Models::CustomProtectionRuleSummary>'
|
2077
|
+
)
|
2078
|
+
end
|
2079
|
+
# rubocop:enable Metrics/BlockLength
|
2080
|
+
end
|
2081
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2082
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2083
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2084
|
+
|
2085
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2086
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2087
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2088
|
+
|
2089
|
+
|
1255
2090
|
# Return the list of the tenant's edge node subnets. Use these CIDR blocks to restrict incoming traffic to your origin. These subnets are owned by OCI and forward traffic to customer origins. They are not associated with specific regions or compartments.
|
1256
2091
|
# @param [Hash] opts the optional parameters
|
1257
2092
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1258
2093
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1259
2094
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1260
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2095
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1261
2096
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1262
2097
|
# @option opts [String] :sort_by The value by which edge node subnets are sorted in a paginated 'List' call. If unspecified, defaults to `timeModified`.
|
1263
2098
|
# Allowed values are: cidr, region, timeModified
|
@@ -1322,14 +2157,14 @@ module OCI
|
|
1322
2157
|
|
1323
2158
|
# Gets the list of good bots defined in the Web Application Firewall configuration for a WAAS policy.
|
1324
2159
|
#
|
1325
|
-
# The list is sorted
|
2160
|
+
# The list is sorted by `key`, in ascending order.
|
1326
2161
|
#
|
1327
2162
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1328
2163
|
# @param [Hash] opts the optional parameters
|
1329
2164
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1330
2165
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1331
2166
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1332
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2167
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1333
2168
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1334
2169
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::GoodBot GoodBot}>
|
1335
2170
|
def list_good_bots(waas_policy_id, opts = {})
|
@@ -1380,14 +2215,14 @@ module OCI
|
|
1380
2215
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1381
2216
|
|
1382
2217
|
|
1383
|
-
# Gets the list of protection rules
|
1384
|
-
# The list is sorted
|
2218
|
+
# Gets the list of available protection rules for a WAAS policy. Use the `GetWafConfig` operation to view a list of currently configured protection rules for the Web Application Firewall, or use the `ListRecommendations` operation to get a list of recommended protection rules for the Web Application Firewall.
|
2219
|
+
# The list is sorted by `key`, in ascending order.
|
1385
2220
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1386
2221
|
# @param [Hash] opts the optional parameters
|
1387
2222
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1388
2223
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1389
2224
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1390
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2225
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1391
2226
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1392
2227
|
# @option opts [Array<String>] :mod_security_rule_id Filter rules using a list of ModSecurity rule IDs.
|
1393
2228
|
# @option opts [Array<String>] :action Filter rules using a list of actions.
|
@@ -1456,7 +2291,7 @@ module OCI
|
|
1456
2291
|
# Gets the list of recommended Web Application Firewall protection rules.
|
1457
2292
|
#
|
1458
2293
|
# Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method to accept recommended Web Application Firewall protection rules. For more information, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
1459
|
-
# The list is sorted
|
2294
|
+
# The list is sorted by `key`, in ascending order.
|
1460
2295
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1461
2296
|
# @param [Hash] opts the optional parameters
|
1462
2297
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1464,7 +2299,7 @@ module OCI
|
|
1464
2299
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1465
2300
|
# @option opts [String] :recommended_action A filter that matches recommended protection rules based on the selected action. If unspecified, rules with any action type are returned.
|
1466
2301
|
# Allowed values are: DETECT, BLOCK
|
1467
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2302
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1468
2303
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1469
2304
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::Recommendation Recommendation}>
|
1470
2305
|
def list_recommendations(waas_policy_id, opts = {})
|
@@ -1521,15 +2356,15 @@ module OCI
|
|
1521
2356
|
|
1522
2357
|
|
1523
2358
|
# Gets the list of available web application threat intelligence feeds
|
1524
|
-
# and the actions set for each feed. The list is sorted
|
1525
|
-
#
|
2359
|
+
# and the actions set for each feed. The list is sorted by `key`,
|
2360
|
+
# in ascending order.
|
1526
2361
|
#
|
1527
2362
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1528
2363
|
# @param [Hash] opts the optional parameters
|
1529
2364
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1530
2365
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1531
2366
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1532
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2367
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1533
2368
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1534
2369
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::ThreatFeed ThreatFeed}>
|
1535
2370
|
def list_threat_feeds(waas_policy_id, opts = {})
|
@@ -1586,7 +2421,7 @@ module OCI
|
|
1586
2421
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1587
2422
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1588
2423
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1589
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2424
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1590
2425
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1591
2426
|
# @option opts [String] :sort_by The value by which policies are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
|
1592
2427
|
# Allowed values are: id, displayName, timeCreated
|
@@ -1595,6 +2430,7 @@ module OCI
|
|
1595
2430
|
# @option opts [Array<String>] :id Filter policies using a list of policy OCIDs.
|
1596
2431
|
# @option opts [Array<String>] :display_name Filter policies using a list of display names.
|
1597
2432
|
# @option opts [Array<String>] :lifecycle_state Filter policies using a list of lifecycle states.
|
2433
|
+
# Allowed values are: CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED
|
1598
2434
|
# @option opts [DateTime] :time_created_greater_than_or_equal_to A filter that matches policies created on or after the specified date and time.
|
1599
2435
|
# @option opts [DateTime] :time_created_less_than A filter that matches policies created before the specified date-time.
|
1600
2436
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::WaasPolicySummary WaasPolicySummary}>
|
@@ -1611,6 +2447,16 @@ module OCI
|
|
1611
2447
|
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1612
2448
|
end
|
1613
2449
|
|
2450
|
+
|
2451
|
+
lifecycle_state_allowable_values = %w[CREATING ACTIVE FAILED UPDATING DELETING DELETED]
|
2452
|
+
if opts[:lifecycle_state] && !opts[:lifecycle_state].empty?
|
2453
|
+
opts[:lifecycle_state].each do |val_to_check|
|
2454
|
+
unless lifecycle_state_allowable_values.include?(val_to_check)
|
2455
|
+
raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, FAILED, UPDATING, DELETING, DELETED.'
|
2456
|
+
end
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
1614
2460
|
path = '/waasPolicies'
|
1615
2461
|
operation_signing_strategy = :standard
|
1616
2462
|
|
@@ -1647,7 +2493,79 @@ module OCI
|
|
1647
2493
|
query_params: query_params,
|
1648
2494
|
operation_signing_strategy: operation_signing_strategy,
|
1649
2495
|
body: post_body,
|
1650
|
-
return_type: 'Array<OCI::Waas::Models::WaasPolicySummary>'
|
2496
|
+
return_type: 'Array<OCI::Waas::Models::WaasPolicySummary>'
|
2497
|
+
)
|
2498
|
+
end
|
2499
|
+
# rubocop:enable Metrics/BlockLength
|
2500
|
+
end
|
2501
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2502
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2503
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2504
|
+
|
2505
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2506
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2507
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2508
|
+
|
2509
|
+
|
2510
|
+
# Gets the list of currently configured custom protection rules for a WAAS policy.
|
2511
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2512
|
+
# @param [Hash] opts the optional parameters
|
2513
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2514
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2515
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2516
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
2517
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
2518
|
+
# @option opts [Array<String>] :mod_security_rule_id Filter rules using a list of ModSecurity rule IDs.
|
2519
|
+
# @option opts [Array<String>] :action Filter rules using a list of actions.
|
2520
|
+
# Allowed values are: DETECT, BLOCK
|
2521
|
+
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::WaasPolicyCustomProtectionRuleSummary WaasPolicyCustomProtectionRuleSummary}>
|
2522
|
+
def list_waas_policy_custom_protection_rules(waas_policy_id, opts = {})
|
2523
|
+
logger.debug 'Calling operation WaasClient#list_waas_policy_custom_protection_rules.' if logger
|
2524
|
+
|
2525
|
+
raise "Missing the required parameter 'waas_policy_id' when calling list_waas_policy_custom_protection_rules." if waas_policy_id.nil?
|
2526
|
+
|
2527
|
+
|
2528
|
+
action_allowable_values = %w[DETECT BLOCK]
|
2529
|
+
if opts[:action] && !opts[:action].empty?
|
2530
|
+
opts[:action].each do |val_to_check|
|
2531
|
+
unless action_allowable_values.include?(val_to_check)
|
2532
|
+
raise 'Invalid value for "action", must be one of DETECT, BLOCK.'
|
2533
|
+
end
|
2534
|
+
end
|
2535
|
+
end
|
2536
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
2537
|
+
|
2538
|
+
path = '/waasPolicies/{waasPolicyId}/wafConfig/customProtectionRules'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
2539
|
+
operation_signing_strategy = :standard
|
2540
|
+
|
2541
|
+
# rubocop:disable Style/NegatedIf
|
2542
|
+
# Query Params
|
2543
|
+
query_params = {}
|
2544
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2545
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2546
|
+
query_params[:modSecurityRuleId] = OCI::ApiClient.build_collection_params(opts[:mod_security_rule_id], :multi) if opts[:mod_security_rule_id] && !opts[:mod_security_rule_id].empty?
|
2547
|
+
query_params[:action] = OCI::ApiClient.build_collection_params(opts[:action], :multi) if opts[:action] && !opts[:action].empty?
|
2548
|
+
|
2549
|
+
# Header Params
|
2550
|
+
header_params = {}
|
2551
|
+
header_params[:accept] = 'application/json'
|
2552
|
+
header_params[:'content-type'] = 'application/json'
|
2553
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2554
|
+
# rubocop:enable Style/NegatedIf
|
2555
|
+
|
2556
|
+
post_body = nil
|
2557
|
+
|
2558
|
+
# rubocop:disable Metrics/BlockLength
|
2559
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#list_waas_policy_custom_protection_rules') do
|
2560
|
+
@api_client.call_api(
|
2561
|
+
:GET,
|
2562
|
+
path,
|
2563
|
+
endpoint,
|
2564
|
+
header_params: header_params,
|
2565
|
+
query_params: query_params,
|
2566
|
+
operation_signing_strategy: operation_signing_strategy,
|
2567
|
+
body: post_body,
|
2568
|
+
return_type: 'Array<OCI::Waas::Models::WaasPolicyCustomProtectionRuleSummary>'
|
1651
2569
|
)
|
1652
2570
|
end
|
1653
2571
|
# rubocop:enable Metrics/BlockLength
|
@@ -1661,7 +2579,7 @@ module OCI
|
|
1661
2579
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1662
2580
|
|
1663
2581
|
|
1664
|
-
# Gets the number of blocked requests by a Web Application Firewall feature in five minute blocks, in ascending order
|
2582
|
+
# Gets the number of blocked requests by a Web Application Firewall feature in five minute blocks, sorted by `timeObserved` in ascending order (starting from oldest data).
|
1665
2583
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1666
2584
|
# @param [Hash] opts the optional parameters
|
1667
2585
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1669,7 +2587,7 @@ module OCI
|
|
1669
2587
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1670
2588
|
# @option opts [DateTime] :time_observed_greater_than_or_equal_to A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
|
1671
2589
|
# @option opts [DateTime] :time_observed_less_than A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
|
1672
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2590
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1673
2591
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1674
2592
|
# @option opts [Array<String>] :waf_feature Filter stats by the Web Application Firewall feature that triggered the block action. If unspecified, data for all WAF features will be returned.
|
1675
2593
|
# Allowed values are: PROTECTION_RULES, JS_CHALLENGE, ACCESS_RULES, THREAT_FEEDS, HUMAN_INTERACTION_CHALLENGE, DEVICE_FINGERPRINT_CHALLENGE, CAPTCHA, ADDRESS_RATE_LIMITING
|
@@ -1736,15 +2654,15 @@ module OCI
|
|
1736
2654
|
|
1737
2655
|
|
1738
2656
|
# Gets structured Web Application Firewall event logs for a WAAS
|
1739
|
-
# policy.
|
1740
|
-
# oldest recorded event
|
2657
|
+
# policy. Sorted by the `timeObserved` in ascending order (starting from the
|
2658
|
+
# oldest recorded event).
|
1741
2659
|
#
|
1742
2660
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1743
2661
|
# @param [Hash] opts the optional parameters
|
1744
2662
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1745
2663
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1746
2664
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1747
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2665
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `20`. (default to 20)
|
1748
2666
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1749
2667
|
# @option opts [DateTime] :time_observed_greater_than_or_equal_to A filter that matches log entries where the observed event occurred on or after a date and time specified in RFC 3339 format. If unspecified, defaults to two hours before receipt of the request.
|
1750
2668
|
# @option opts [DateTime] :time_observed_less_than A filter that matches log entries where the observed event occurred before a date and time, specified in RFC 3339 format.
|
@@ -1759,7 +2677,7 @@ module OCI
|
|
1759
2677
|
# @option opts [Array<String>] :http_method Filter logs by HTTP method.
|
1760
2678
|
# Allowed values are: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT
|
1761
2679
|
# @option opts [Array<String>] :incident_key Filter logs by incident key.
|
1762
|
-
# @option opts [Array<String>] :log_type Filter by log type.
|
2680
|
+
# @option opts [Array<String>] :log_type Filter by log type. For more information about WAF logs, see [Logs](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/logs.htm).
|
1763
2681
|
# Allowed values are: ACCESS, PROTECTION_RULES, JS_CHALLENGE, CAPTCHA, ACCESS_RULES, THREAT_FEEDS, HUMAN_INTERACTION_CHALLENGE, DEVICE_FINGERPRINT_CHALLENGE, ADDRESS_RATE_LIMITING
|
1764
2682
|
# @option opts [Array<String>] :origin_address Filter by origin IP address.
|
1765
2683
|
# @option opts [Array<String>] :referrer Filter by referrer.
|
@@ -1868,7 +2786,7 @@ module OCI
|
|
1868
2786
|
|
1869
2787
|
# Gets the number of requests managed by a Web Application Firewall
|
1870
2788
|
# over a specified period of time, including blocked requests. Sorted
|
1871
|
-
# by `timeObserved`
|
2789
|
+
# by `timeObserved` in ascending order (starting from oldest requests).
|
1872
2790
|
#
|
1873
2791
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1874
2792
|
# @param [Hash] opts the optional parameters
|
@@ -1877,7 +2795,7 @@ module OCI
|
|
1877
2795
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1878
2796
|
# @option opts [DateTime] :time_observed_greater_than_or_equal_to A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
|
1879
2797
|
# @option opts [DateTime] :time_observed_less_than A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
|
1880
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2798
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1881
2799
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1882
2800
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::WafRequest WafRequest}>
|
1883
2801
|
def list_waf_requests(waas_policy_id, opts = {})
|
@@ -1931,7 +2849,7 @@ module OCI
|
|
1931
2849
|
|
1932
2850
|
|
1933
2851
|
# Gets the Web Application Firewall traffic data for a WAAS policy.
|
1934
|
-
# Sorted by `timeObserved`
|
2852
|
+
# Sorted by `timeObserved` in ascending order (starting from oldest data).
|
1935
2853
|
#
|
1936
2854
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1937
2855
|
# @param [Hash] opts the optional parameters
|
@@ -1940,7 +2858,7 @@ module OCI
|
|
1940
2858
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1941
2859
|
# @option opts [DateTime] :time_observed_greater_than_or_equal_to A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
|
1942
2860
|
# @option opts [DateTime] :time_observed_less_than A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
|
1943
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2861
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
1944
2862
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
1945
2863
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::WafTrafficDatum WafTrafficDatum}>
|
1946
2864
|
def list_waf_traffic(waas_policy_id, opts = {})
|
@@ -1999,7 +2917,7 @@ module OCI
|
|
1999
2917
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2000
2918
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2001
2919
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2002
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2920
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
2003
2921
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
2004
2922
|
# @return [Response] A Response object with data of type Array<{OCI::Waas::Models::Whitelist Whitelist}>
|
2005
2923
|
def list_whitelists(waas_policy_id, opts = {})
|
@@ -2057,7 +2975,7 @@ module OCI
|
|
2057
2975
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2058
2976
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2059
2977
|
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2060
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated call.
|
2978
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated call. If unspecified, defaults to `10`. (default to 10)
|
2061
2979
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous paginated call.
|
2062
2980
|
# @option opts [String] :sort_by The value by which work requests are sorted in a paginated 'List' call. If unspecified, defaults to `timeAccepted`.
|
2063
2981
|
# Allowed values are: id, status, timeAccepted, timeStarted, timeFinished, operationType
|
@@ -2124,12 +3042,71 @@ module OCI
|
|
2124
3042
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2125
3043
|
|
2126
3044
|
|
3045
|
+
# Performs a purge of the cache for each specified resource. If no resources are passed, the cache for the entire Web Application Firewall will be purged.
|
3046
|
+
# For more information, see [Caching Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/cachingrules.htm#purge).
|
3047
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
3048
|
+
# @param [Hash] opts the optional parameters
|
3049
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3050
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3051
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
3052
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
3053
|
+
# @option opts [OCI::Waas::Models::PurgeCache] :purge_cache
|
3054
|
+
# @return [Response] A Response object with data of type nil
|
3055
|
+
def purge_cache(waas_policy_id, opts = {})
|
3056
|
+
logger.debug 'Calling operation WaasClient#purge_cache.' if logger
|
3057
|
+
|
3058
|
+
raise "Missing the required parameter 'waas_policy_id' when calling purge_cache." if waas_policy_id.nil?
|
3059
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
3060
|
+
|
3061
|
+
path = '/waasPolicies/{waasPolicyId}/actions/purgeCache'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
3062
|
+
operation_signing_strategy = :standard
|
3063
|
+
|
3064
|
+
# rubocop:disable Style/NegatedIf
|
3065
|
+
# Query Params
|
3066
|
+
query_params = {}
|
3067
|
+
|
3068
|
+
# Header Params
|
3069
|
+
header_params = {}
|
3070
|
+
header_params[:accept] = 'application/json'
|
3071
|
+
header_params[:'content-type'] = 'application/json'
|
3072
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3073
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3074
|
+
# rubocop:enable Style/NegatedIf
|
3075
|
+
|
3076
|
+
post_body = @api_client.object_to_http_body(opts[:purge_cache])
|
3077
|
+
|
3078
|
+
# rubocop:disable Metrics/BlockLength
|
3079
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#purge_cache') do
|
3080
|
+
@api_client.call_api(
|
3081
|
+
:POST,
|
3082
|
+
path,
|
3083
|
+
endpoint,
|
3084
|
+
header_params: header_params,
|
3085
|
+
query_params: query_params,
|
3086
|
+
operation_signing_strategy: operation_signing_strategy,
|
3087
|
+
body: post_body
|
3088
|
+
)
|
3089
|
+
end
|
3090
|
+
# rubocop:enable Metrics/BlockLength
|
3091
|
+
end
|
3092
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3093
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3094
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3095
|
+
|
3096
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3097
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3098
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3099
|
+
|
3100
|
+
|
2127
3101
|
# Updates the list of access rules in the Web Application Firewall configuration for a specified WAAS policy. Access rules allow explicit actions to be defined and executed for requests that meet various conditions. A rule action can be set to allow, detect, or block requests. The detect setting allows the request to pass through the Web Application Firewall and is tagged with a `DETECT` flag in the Web Application Firewall's log.
|
3102
|
+
#
|
2128
3103
|
# This operation can create, delete, update, and/or reorder access rules depending on the structure of the request body.
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
3104
|
+
#
|
3105
|
+
# Access rules can be updated by changing the properties of the access rule object with the rule's key specified in the key field. Access rules can be reordered by changing the order of the access rules in the list when updating.
|
3106
|
+
#
|
3107
|
+
# Access rules can be created by adding a new access rule object to the list without a `key` property specified. A `key` will be generated for the new access rule upon update.
|
3108
|
+
#
|
3109
|
+
# Any existing access rules that are not specified with a `key` in the list of access rules will be deleted upon update.
|
2133
3110
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2134
3111
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::AccessRule>] access_rules
|
2135
3112
|
# @param [Hash] opts the optional parameters
|
@@ -2189,11 +3166,137 @@ module OCI
|
|
2189
3166
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2190
3167
|
|
2191
3168
|
|
3169
|
+
# Updates the details of an address list. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
3170
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
3171
|
+
# @param [Hash] opts the optional parameters
|
3172
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3173
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3174
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
3175
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
3176
|
+
# @option opts [OCI::Waas::Models::UpdateAddressListDetails] :update_address_list_details The details of the address list to update.
|
3177
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::AddressList AddressList}
|
3178
|
+
def update_address_list(address_list_id, opts = {})
|
3179
|
+
logger.debug 'Calling operation WaasClient#update_address_list.' if logger
|
3180
|
+
|
3181
|
+
raise "Missing the required parameter 'address_list_id' when calling update_address_list." if address_list_id.nil?
|
3182
|
+
raise "Parameter value for 'address_list_id' must not be blank" if OCI::Internal::Util.blank_string?(address_list_id)
|
3183
|
+
|
3184
|
+
path = '/addressLists/{addressListId}'.sub('{addressListId}', address_list_id.to_s)
|
3185
|
+
operation_signing_strategy = :standard
|
3186
|
+
|
3187
|
+
# rubocop:disable Style/NegatedIf
|
3188
|
+
# Query Params
|
3189
|
+
query_params = {}
|
3190
|
+
|
3191
|
+
# Header Params
|
3192
|
+
header_params = {}
|
3193
|
+
header_params[:accept] = 'application/json'
|
3194
|
+
header_params[:'content-type'] = 'application/json'
|
3195
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3196
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3197
|
+
# rubocop:enable Style/NegatedIf
|
3198
|
+
|
3199
|
+
post_body = @api_client.object_to_http_body(opts[:update_address_list_details])
|
3200
|
+
|
3201
|
+
# rubocop:disable Metrics/BlockLength
|
3202
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#update_address_list') do
|
3203
|
+
@api_client.call_api(
|
3204
|
+
:PUT,
|
3205
|
+
path,
|
3206
|
+
endpoint,
|
3207
|
+
header_params: header_params,
|
3208
|
+
query_params: query_params,
|
3209
|
+
operation_signing_strategy: operation_signing_strategy,
|
3210
|
+
body: post_body,
|
3211
|
+
return_type: 'OCI::Waas::Models::AddressList'
|
3212
|
+
)
|
3213
|
+
end
|
3214
|
+
# rubocop:enable Metrics/BlockLength
|
3215
|
+
end
|
3216
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3217
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3218
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3219
|
+
|
3220
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3221
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3222
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3223
|
+
|
3224
|
+
|
3225
|
+
# Updates the configuration for each specified caching rule.
|
3226
|
+
#
|
3227
|
+
# Caching rules WAF policies allow you to selectively cache content on Oracle Cloud Infrastructure's edge servers, such as webpages or certain file types. For more information about caching rules, see [Caching Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/cachingrules.htm).
|
3228
|
+
#
|
3229
|
+
# This operation can create, delete, update, and/or reorder caching rules depending on the structure of the request body. Caching rules can be updated by changing the properties of the caching rule object with the rule's key specified in the key field. Any existing caching rules that are not specified with a key in the list of access rules will be deleted upon update.
|
3230
|
+
#
|
3231
|
+
# The order the caching rules are specified in is important. The rules are processed in the order they are specified and the first matching rule will be used when processing a request. Use `ListCachingRules` to view a list of all available caching rules in a compartment.
|
3232
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
3233
|
+
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::CachingRule>] caching_rules_details
|
3234
|
+
# @param [Hash] opts the optional parameters
|
3235
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3236
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3237
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
3238
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
3239
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
3240
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
3241
|
+
# @return [Response] A Response object with data of type nil
|
3242
|
+
def update_caching_rules(waas_policy_id, caching_rules_details, opts = {})
|
3243
|
+
logger.debug 'Calling operation WaasClient#update_caching_rules.' if logger
|
3244
|
+
|
3245
|
+
raise "Missing the required parameter 'waas_policy_id' when calling update_caching_rules." if waas_policy_id.nil?
|
3246
|
+
raise "Missing the required parameter 'caching_rules_details' when calling update_caching_rules." if caching_rules_details.nil?
|
3247
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
3248
|
+
|
3249
|
+
path = '/waasPolicies/{waasPolicyId}/wafConfig/cachingRules'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
3250
|
+
operation_signing_strategy = :standard
|
3251
|
+
|
3252
|
+
# rubocop:disable Style/NegatedIf
|
3253
|
+
# Query Params
|
3254
|
+
query_params = {}
|
3255
|
+
|
3256
|
+
# Header Params
|
3257
|
+
header_params = {}
|
3258
|
+
header_params[:accept] = 'application/json'
|
3259
|
+
header_params[:'content-type'] = 'application/json'
|
3260
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3261
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
3262
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3263
|
+
# rubocop:enable Style/NegatedIf
|
3264
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
3265
|
+
|
3266
|
+
post_body = @api_client.object_to_http_body(caching_rules_details)
|
3267
|
+
|
3268
|
+
# rubocop:disable Metrics/BlockLength
|
3269
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#update_caching_rules') do
|
3270
|
+
@api_client.call_api(
|
3271
|
+
:PUT,
|
3272
|
+
path,
|
3273
|
+
endpoint,
|
3274
|
+
header_params: header_params,
|
3275
|
+
query_params: query_params,
|
3276
|
+
operation_signing_strategy: operation_signing_strategy,
|
3277
|
+
body: post_body
|
3278
|
+
)
|
3279
|
+
end
|
3280
|
+
# rubocop:enable Metrics/BlockLength
|
3281
|
+
end
|
3282
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3283
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3284
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3285
|
+
|
3286
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3287
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3288
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3289
|
+
|
3290
|
+
|
2192
3291
|
# Updates the list of CAPTCHA challenges in the Web Application Firewall configuration for a WAAS policy.
|
2193
3292
|
# This operation can create, update, or delete CAPTCHAs depending on the structure of the request body.
|
2194
|
-
#
|
2195
|
-
#
|
2196
|
-
#
|
3293
|
+
# CAPTCHA challenges can be updated by changing the properties of the CAPTCHA object with the rule's key specified in the key field. CAPTCHA challenges can be reordered by changing the order of the CAPTCHA challenges in the list when updating.
|
3294
|
+
#
|
3295
|
+
# CAPTCHA challenges can be created by adding a new access rule object to the list without a `key` property specified. A `key` will be generated for the new CAPTCHA challenges upon update.
|
3296
|
+
#
|
3297
|
+
# Any existing CAPTCHA challenges that are not specified with a `key` in the list of CAPTCHA challenges will be deleted upon update.
|
3298
|
+
#
|
3299
|
+
# Query parameters are allowed in CAPTCHA URL.
|
2197
3300
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2198
3301
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::Captcha>] captchas A list of CAPTCHA details.
|
2199
3302
|
# @param [Hash] opts the optional parameters
|
@@ -2309,11 +3412,72 @@ module OCI
|
|
2309
3412
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2310
3413
|
|
2311
3414
|
|
3415
|
+
# Updates the configuration of a custom protection rule. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
3416
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
|
3417
|
+
# @param [OCI::Waas::Models::UpdateCustomProtectionRuleDetails] update_custom_protection_rule_details The details of the custom protection rule to update.
|
3418
|
+
# @param [Hash] opts the optional parameters
|
3419
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3420
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3421
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
3422
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
3423
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
3424
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
3425
|
+
# @return [Response] A Response object with data of type {OCI::Waas::Models::CustomProtectionRule CustomProtectionRule}
|
3426
|
+
def update_custom_protection_rule(custom_protection_rule_id, update_custom_protection_rule_details, opts = {})
|
3427
|
+
logger.debug 'Calling operation WaasClient#update_custom_protection_rule.' if logger
|
3428
|
+
|
3429
|
+
raise "Missing the required parameter 'custom_protection_rule_id' when calling update_custom_protection_rule." if custom_protection_rule_id.nil?
|
3430
|
+
raise "Missing the required parameter 'update_custom_protection_rule_details' when calling update_custom_protection_rule." if update_custom_protection_rule_details.nil?
|
3431
|
+
raise "Parameter value for 'custom_protection_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(custom_protection_rule_id)
|
3432
|
+
|
3433
|
+
path = '/customProtectionRules/{customProtectionRuleId}'.sub('{customProtectionRuleId}', custom_protection_rule_id.to_s)
|
3434
|
+
operation_signing_strategy = :standard
|
3435
|
+
|
3436
|
+
# rubocop:disable Style/NegatedIf
|
3437
|
+
# Query Params
|
3438
|
+
query_params = {}
|
3439
|
+
|
3440
|
+
# Header Params
|
3441
|
+
header_params = {}
|
3442
|
+
header_params[:accept] = 'application/json'
|
3443
|
+
header_params[:'content-type'] = 'application/json'
|
3444
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3445
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
3446
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3447
|
+
# rubocop:enable Style/NegatedIf
|
3448
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
3449
|
+
|
3450
|
+
post_body = @api_client.object_to_http_body(update_custom_protection_rule_details)
|
3451
|
+
|
3452
|
+
# rubocop:disable Metrics/BlockLength
|
3453
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#update_custom_protection_rule') do
|
3454
|
+
@api_client.call_api(
|
3455
|
+
:PUT,
|
3456
|
+
path,
|
3457
|
+
endpoint,
|
3458
|
+
header_params: header_params,
|
3459
|
+
query_params: query_params,
|
3460
|
+
operation_signing_strategy: operation_signing_strategy,
|
3461
|
+
body: post_body,
|
3462
|
+
return_type: 'OCI::Waas::Models::CustomProtectionRule'
|
3463
|
+
)
|
3464
|
+
end
|
3465
|
+
# rubocop:enable Metrics/BlockLength
|
3466
|
+
end
|
3467
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3468
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3469
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3470
|
+
|
3471
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3472
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3473
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3474
|
+
|
3475
|
+
|
2312
3476
|
# Updates the Device Fingerprint Challenge (DFC) settings in the Web Application Firewall configuration for a policy. The DFC generates a hashed signature of both virtual and real browsers based on 50+ attributes. These proprietary signatures are then leveraged for real-time correlation to identify and block malicious bots.
|
2313
3477
|
#
|
2314
3478
|
# The signature is based on a library of attributes detected via JavaScript listeners; the attributes include OS, screen resolution, fonts, UserAgent, IP address, etc. We are constantly making improvements and considering new libraries to include in our DFC build. We can also exclude attributes from the signature as needed.
|
2315
3479
|
#
|
2316
|
-
# DFC collects attributes to generate a hashed signature about a client
|
3480
|
+
# DFC collects attributes to generate a hashed signature about a client - if a fingerprint is not possible, then it will result in a block or alert action. Actions can be enforced across multiple devices if they share they have the same fingerprint.
|
2317
3481
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2318
3482
|
# @param [OCI::Waas::Models::DeviceFingerprintChallenge] update_device_fingerprint_challenge_details The device fingerprint challenge settings to be updated.
|
2319
3483
|
# @param [Hash] opts the optional parameters
|
@@ -2375,7 +3539,7 @@ module OCI
|
|
2375
3539
|
|
2376
3540
|
# Updates the list of good bots in the Web Application Firewall configuration for a policy. Only the fields specified in the request body will be updated, all other configuration properties will remain unchanged.
|
2377
3541
|
#
|
2378
|
-
# Good bots allows you to manage access for bots from known providers, such as Google or Baidu. For more information about good bots,
|
3542
|
+
# Good bots allows you to manage access for bots from known providers, such as Google or Baidu. For more information about good bots, see [Bot Management](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/botmanagement.htm).
|
2379
3543
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2380
3544
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::GoodBot>] good_bots
|
2381
3545
|
# @param [Hash] opts the optional parameters
|
@@ -2617,7 +3781,7 @@ module OCI
|
|
2617
3781
|
|
2618
3782
|
# Updates the action for each specified protection rule. Requests can either be allowed, blocked, or trigger an alert if they meet the parameters of an applied rule. For more information on protection rules, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
2619
3783
|
# This operation can update or disable protection rules depending on the structure of the request body.
|
2620
|
-
#
|
3784
|
+
# Protection rules can be updated by changing the properties of the protection rule object with the rule's key specified in the key field.
|
2621
3785
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2622
3786
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::ProtectionRuleAction>] protection_rules
|
2623
3787
|
# @param [Hash] opts the optional parameters
|
@@ -2790,7 +3954,7 @@ module OCI
|
|
2790
3954
|
|
2791
3955
|
|
2792
3956
|
# Updates the details of a WAAS policy, including origins and tags. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
2793
|
-
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds
|
3957
|
+
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds`, first retrieve the list of available resources with the related list operation such as `GetThreatFeeds` or `GetProtectionRules`.
|
2794
3958
|
# The returned list will contain objects with `key` properties that can be used to update the resource during the `UpdateWaasPolicy` request.
|
2795
3959
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2796
3960
|
# @param [OCI::Waas::Models::UpdateWaasPolicyDetails] update_waas_policy_details The details of the WAAS policy to update.
|
@@ -2851,6 +4015,66 @@ module OCI
|
|
2851
4015
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2852
4016
|
|
2853
4017
|
|
4018
|
+
# Updates the action for each specified custom protection rule. Only the `DETECT` and `BLOCK` actions can be set. Disabled rules should not be included in the list. For more information on protection rules, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
4019
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
4020
|
+
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::CustomProtectionRuleSetting>] update_custom_protection_rules_details
|
4021
|
+
# @param [Hash] opts the optional parameters
|
4022
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4023
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4024
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
4025
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
4026
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
4027
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
4028
|
+
# @return [Response] A Response object with data of type nil
|
4029
|
+
def update_waas_policy_custom_protection_rules(waas_policy_id, update_custom_protection_rules_details, opts = {})
|
4030
|
+
logger.debug 'Calling operation WaasClient#update_waas_policy_custom_protection_rules.' if logger
|
4031
|
+
|
4032
|
+
raise "Missing the required parameter 'waas_policy_id' when calling update_waas_policy_custom_protection_rules." if waas_policy_id.nil?
|
4033
|
+
raise "Missing the required parameter 'update_custom_protection_rules_details' when calling update_waas_policy_custom_protection_rules." if update_custom_protection_rules_details.nil?
|
4034
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
4035
|
+
|
4036
|
+
path = '/waasPolicies/{waasPolicyId}/wafConfig/customProtectionRules'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
4037
|
+
operation_signing_strategy = :standard
|
4038
|
+
|
4039
|
+
# rubocop:disable Style/NegatedIf
|
4040
|
+
# Query Params
|
4041
|
+
query_params = {}
|
4042
|
+
|
4043
|
+
# Header Params
|
4044
|
+
header_params = {}
|
4045
|
+
header_params[:accept] = 'application/json'
|
4046
|
+
header_params[:'content-type'] = 'application/json'
|
4047
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4048
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
4049
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
4050
|
+
# rubocop:enable Style/NegatedIf
|
4051
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
4052
|
+
|
4053
|
+
post_body = @api_client.object_to_http_body(update_custom_protection_rules_details)
|
4054
|
+
|
4055
|
+
# rubocop:disable Metrics/BlockLength
|
4056
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#update_waas_policy_custom_protection_rules') do
|
4057
|
+
@api_client.call_api(
|
4058
|
+
:PUT,
|
4059
|
+
path,
|
4060
|
+
endpoint,
|
4061
|
+
header_params: header_params,
|
4062
|
+
query_params: query_params,
|
4063
|
+
operation_signing_strategy: operation_signing_strategy,
|
4064
|
+
body: post_body
|
4065
|
+
)
|
4066
|
+
end
|
4067
|
+
# rubocop:enable Metrics/BlockLength
|
4068
|
+
end
|
4069
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4070
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4071
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4072
|
+
|
4073
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4074
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4075
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4076
|
+
|
4077
|
+
|
2854
4078
|
# Updates the address rate limiting settings in the Web Application Firewall configuration for a policy. Rate limiting allows you to configure a threshold for the number of requests from a unique IP address for the given period. You can also define the response code for the requests from the same address that exceed the threshold.
|
2855
4079
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2856
4080
|
# @param [OCI::Waas::Models::AddressRateLimiting] update_waf_address_rate_limiting_details The address rate limiting settings.
|
@@ -2913,8 +4137,8 @@ module OCI
|
|
2913
4137
|
|
2914
4138
|
# Updates the Web Application Firewall configuration for a specified WAAS policy.
|
2915
4139
|
#
|
2916
|
-
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds
|
2917
|
-
# first retrieve the list of available resources with the related list operation such as
|
4140
|
+
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds`,
|
4141
|
+
# first retrieve the list of available resources with the related list operation, such as
|
2918
4142
|
# `GetThreatFeeds` or `GetProtectionRules`.
|
2919
4143
|
#
|
2920
4144
|
# The returned list will contain objects with `key` properties that can be used to update the
|
@@ -2979,12 +4203,15 @@ module OCI
|
|
2979
4203
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2980
4204
|
|
2981
4205
|
|
2982
|
-
# Updates the list of IP addresses that bypass the Web Application Firewall for a WAAS policy. Supports
|
4206
|
+
# Updates the list of IP addresses that bypass the Web Application Firewall for a WAAS policy. Supports single IP addresses, subnet masks (CIDR notation) and Address Lists.
|
4207
|
+
#
|
2983
4208
|
# This operation can create, delete, update, and/or reorder whitelists depending on the structure of the request body.
|
2984
|
-
#
|
2985
|
-
#
|
2986
|
-
#
|
2987
|
-
#
|
4209
|
+
#
|
4210
|
+
# Whitelists can be updated by changing the properties of the whitelist object with the rule's key specified in the `key` field. Whitelists can be reordered by changing the order of the whitelists in the list of objects when updating.
|
4211
|
+
#
|
4212
|
+
# Whitelists can be created by adding a new whitelist object to the list without a `key` property specified. A `key` will be generated for the new whitelist upon update.
|
4213
|
+
#
|
4214
|
+
# Whitelists can be deleted by removing the existing whitelist object from the list. Any existing whitelists that are not specified with a `key` in the list of access rules will be deleted upon update.
|
2988
4215
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2989
4216
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::Whitelist>] whitelists
|
2990
4217
|
# @param [Hash] opts the optional parameters
|