oci 2.7.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +44 -11
- data/lib/oci.rb +33 -1
- data/lib/oci/analytics/analytics.rb +8 -1
- data/lib/oci/analytics/analytics_client.rb +94 -16
- data/lib/oci/analytics/analytics_client_composite_operations.rb +54 -1
- data/lib/oci/analytics/models/analytics_instance.rb +17 -2
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +2 -1
- data/lib/oci/analytics/models/analytics_instance_summary.rb +17 -2
- data/lib/oci/analytics/models/capacity.rb +2 -1
- data/lib/oci/analytics/models/capacity_type.rb +2 -1
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +155 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +2 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +16 -2
- data/lib/oci/analytics/models/feature_set.rb +2 -1
- data/lib/oci/analytics/models/license_type.rb +2 -1
- data/lib/oci/analytics/models/network_endpoint_details.rb +193 -0
- data/lib/oci/analytics/models/network_endpoint_type.rb +11 -0
- data/lib/oci/analytics/models/private_endpoint_details.rb +179 -0
- data/lib/oci/analytics/models/public_endpoint_details.rb +179 -0
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +2 -1
- data/lib/oci/analytics/models/sort_by.rb +3 -1
- data/lib/oci/analytics/models/sort_order.rb +2 -1
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +2 -1
- data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
- data/lib/oci/analytics/models/work_request.rb +3 -1
- data/lib/oci/analytics/models/work_request_action_result.rb +3 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -1
- data/lib/oci/analytics/models/work_request_log.rb +2 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +4 -2
- data/lib/oci/analytics/models/work_request_resource.rb +3 -1
- data/lib/oci/analytics/models/work_request_resource_type.rb +2 -1
- data/lib/oci/analytics/models/work_request_sort_by.rb +2 -1
- data/lib/oci/analytics/models/work_request_status.rb +2 -1
- data/lib/oci/analytics/models/work_request_summary.rb +3 -1
- data/lib/oci/analytics/util.rb +2 -1
- data/lib/oci/announcements_service/announcement_client.rb +10 -16
- 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 +14 -11
- data/lib/oci/api_client_proxy_settings.rb +2 -1
- data/lib/oci/apigateway/api_gateway_client.rb +1134 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +371 -0
- data/lib/oci/apigateway/apigateway.rb +105 -0
- data/lib/oci/apigateway/deployment_client.rb +508 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/gateway_client.rb +508 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +166 -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.rb +340 -0
- data/lib/oci/apigateway/models/api_collection.rb +150 -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 +246 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +185 -0
- data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +154 -0
- data/lib/oci/apigateway/models/api_summary.rb +342 -0
- data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → apigateway/models/api_validation_details.rb} +46 -40
- data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
- data/lib/oci/apigateway/models/api_validations.rb +150 -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/certificate.rb +362 -0
- data/lib/oci/apigateway/models/certificate_collection.rb +150 -0
- data/lib/oci/apigateway/models/certificate_summary.rb +311 -0
- data/lib/oci/apigateway/models/change_api_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/change_certificate_compartment_details.rb +156 -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_api_details.rb +222 -0
- data/lib/oci/apigateway/models/create_certificate_details.rb +250 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +261 -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 +205 -0
- data/lib/oci/apigateway/models/filter_header_policy.rb +186 -0
- data/lib/oci/apigateway/models/filter_header_policy_item.rb +152 -0
- data/lib/oci/apigateway/models/filter_query_parameter_policy.rb +186 -0
- data/lib/oci/apigateway/models/filter_query_parameter_policy_item.rb +152 -0
- data/lib/oci/apigateway/models/gateway.rb +400 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +341 -0
- data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
- data/lib/oci/apigateway/models/header_transformation_policy.rb +180 -0
- data/lib/oci/apigateway/models/http_backend.rb +227 -0
- data/lib/oci/apigateway/models/ip_address.rb +154 -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/query_parameter_transformation_policy.rb +180 -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/rename_header_policy.rb +151 -0
- data/lib/oci/apigateway/models/rename_header_policy_item.rb +164 -0
- data/lib/oci/apigateway/models/rename_query_parameter_policy.rb +152 -0
- data/lib/oci/apigateway/models/rename_query_parameter_policy_item.rb +165 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
- data/lib/oci/apigateway/models/set_header_policy.rb +151 -0
- data/lib/oci/apigateway/models/set_header_policy_item.rb +204 -0
- data/lib/oci/apigateway/models/set_query_parameter_policy.rb +152 -0
- data/lib/oci/apigateway/models/set_query_parameter_policy_item.rb +204 -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_api_details.rb +206 -0
- data/lib/oci/apigateway/models/update_certificate_details.rb +196 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +211 -0
- data/lib/oci/apigateway/models/work_request.rb +316 -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 +462 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/application_migration.rb +59 -0
- data/lib/oci/application_migration/application_migration_client.rb +1514 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +472 -0
- data/lib/oci/application_migration/models/authorization_details.rb +182 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
- data/lib/oci/application_migration/models/configuration_field.rb +227 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +326 -0
- data/lib/oci/application_migration/models/create_source_details.rb +245 -0
- data/lib/oci/application_migration/models/discovery_details.rb +188 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +178 -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 +179 -0
- data/lib/oci/application_migration/models/migration.rb +467 -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 +392 -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 +178 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +178 -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 +178 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +179 -0
- data/lib/oci/application_migration/models/sort_orders.rb +11 -0
- data/lib/oci/application_migration/models/source.rb +306 -0
- data/lib/oci/application_migration/models/source_application.rb +212 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +220 -0
- data/lib/oci/application_migration/models/source_details.rb +195 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → application_migration/models/source_summary.rb} +78 -77
- data/lib/oci/application_migration/models/source_types.rb +11 -0
- data/lib/oci/application_migration/models/target_database_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +248 -0
- data/lib/oci/application_migration/models/update_source_details.rb +224 -0
- data/lib/oci/application_migration/models/work_request.rb +309 -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 +302 -0
- data/lib/oci/application_migration/util.rb +3 -0
- data/lib/oci/audit/audit.rb +2 -1
- data/lib/oci/audit/audit_client.rb +10 -17
- data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
- data/lib/oci/audit/models/audit_event.rb +10 -8
- data/lib/oci/audit/models/configuration.rb +2 -1
- data/lib/oci/audit/models/data.rb +2 -108
- data/lib/oci/audit/models/identity.rb +2 -18
- data/lib/oci/audit/models/request.rb +2 -47
- data/lib/oci/audit/models/response.rb +2 -35
- data/lib/oci/audit/models/state_change.rb +2 -10
- data/lib/oci/audit/models/update_configuration_details.rb +2 -1
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/auth/auth.rb +8 -1
- data/lib/oci/auth/federation_client.rb +6 -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/ephemeral_resource_principals_signer.rb +126 -0
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +62 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +10 -4
- 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 +57 -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 +2 -1
- data/lib/oci/auth/util.rb +17 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +33 -28
- 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 +48 -0
- data/lib/oci/bds/bds_client.rb +1194 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +523 -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 +437 -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/change_shape_details.rb +164 -0
- data/lib/oci/bds/models/change_shape_nodes.rb +180 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
- data/lib/oci/bds/models/cluster_details.rb +310 -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 +392 -0
- data/lib/oci/bds/models/operation_status.rb +15 -0
- data/lib/oci/bds/models/operation_types.rb +20 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
- data/lib/oci/bds/models/restart_node_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 +315 -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/blockchain/blockchain.rb +58 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +1772 -0
- data/lib/oci/blockchain/blockchain_platform_client_composite_operations.rb +728 -0
- data/lib/oci/blockchain/models/availability_domain.rb +171 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +539 -0
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +318 -0
- data/lib/oci/blockchain/models/blockchain_platform_collection.rb +150 -0
- data/lib/oci/blockchain/models/blockchain_platform_component_details.rb +160 -0
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +318 -0
- data/lib/oci/blockchain/models/change_blockchain_platform_compartment_details.rb +156 -0
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +303 -0
- data/lib/oci/blockchain/models/create_osn_details.rb +163 -0
- data/lib/oci/blockchain/models/create_peer_details.rb +188 -0
- data/lib/oci/blockchain/models/metadata_details.rb +182 -0
- data/lib/oci/blockchain/models/modify_peer_details.rb +168 -0
- data/lib/oci/blockchain/models/ocpu_allocation_number_param.rb +154 -0
- data/lib/oci/blockchain/models/ocpu_utilization_info.rb +178 -0
- data/lib/oci/blockchain/models/osn.rb +212 -0
- data/lib/oci/blockchain/models/osn_collection.rb +150 -0
- data/lib/oci/blockchain/models/osn_summary.rb +168 -0
- data/lib/oci/blockchain/models/peer.rb +246 -0
- data/lib/oci/blockchain/models/peer_collection.rb +150 -0
- data/lib/oci/blockchain/models/peer_role.rb +163 -0
- data/lib/oci/blockchain/models/peer_summary.rb +168 -0
- data/lib/oci/blockchain/models/replica_details.rb +182 -0
- data/lib/oci/blockchain/models/scale_blockchain_platform_details.rb +259 -0
- data/lib/oci/blockchain/models/scale_storage_details.rb +154 -0
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +346 -0
- data/lib/oci/blockchain/models/scaled_platform_metering_preview.rb +210 -0
- data/lib/oci/blockchain/models/update_blockchain_platform_details.rb +219 -0
- data/lib/oci/blockchain/models/update_osn_details.rb +154 -0
- data/lib/oci/blockchain/models/update_peer_details.rb +154 -0
- data/lib/oci/blockchain/models/work_request.rb +312 -0
- data/lib/oci/blockchain/models/work_request_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_error.rb +173 -0
- data/lib/oci/blockchain/models/work_request_error_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_log_entry.rb +160 -0
- data/lib/oci/blockchain/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +233 -0
- data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +289 -0
- data/lib/oci/blockchain/util.rb +3 -0
- data/lib/oci/budget/budget.rb +2 -1
- data/lib/oci/budget/budget_client.rb +25 -27
- 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 +3 -2
- data/lib/oci/budget/models/budget_summary.rb +3 -2
- data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/create_budget_details.rb +3 -2
- 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 +2 -1
- 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 +68 -0
- data/lib/oci/cims/incident_client.rb +586 -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 +45 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → cims/models/category.rb} +21 -21
- 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/contextual_data.rb +192 -0
- data/lib/oci/cims/models/create_category_details.rb +157 -0
- data/lib/oci/cims/models/create_incident.rb +226 -0
- data/lib/oci/cims/models/create_issue_type_details.rb +157 -0
- data/lib/oci/cims/models/create_item_details.rb +215 -0
- data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
- data/lib/oci/cims/models/create_resource_details.rb +257 -0
- data/lib/oci/cims/models/create_sub_category_details.rb +157 -0
- data/lib/oci/cims/models/create_tech_support_item_details.rb +164 -0
- data/lib/oci/cims/models/create_ticket_details.rb +215 -0
- data/lib/oci/cims/models/create_user_details.rb +236 -0
- data/lib/oci/cims/models/error_code.rb +32 -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 +32 -0
- data/lib/oci/cims/models/resource.rb +267 -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/time_zone.rb +37 -0
- data/lib/oci/cims/models/unit.rb +12 -0
- data/lib/oci/cims/models/update_activity_item_details.rb +190 -0
- data/lib/oci/cims/models/update_incident.rb +150 -0
- data/lib/oci/cims/models/update_item_details.rb +169 -0
- data/lib/oci/cims/models/update_resource_details.rb +152 -0
- data/lib/oci/cims/models/update_ticket_details.rb +153 -0
- data/lib/oci/cims/models/user.rb +261 -0
- data/lib/oci/cims/models/validation_response.rb +154 -0
- data/lib/oci/cims/user_client.rb +163 -0
- data/lib/oci/cims/user_client_composite_operations.rb +25 -0
- data/lib/oci/cims/util.rb +3 -0
- data/lib/oci/cloud_guard/cloud_guard.rb +182 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +6101 -0
- data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +788 -0
- data/lib/oci/cloud_guard/models/activity_problem_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/activity_problem_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/actor_type.rb +13 -0
- data/lib/oci/cloud_guard/models/attach_target_detector_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/attach_target_responder_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/candidate_responder_rule.rb +178 -0
- data/lib/oci/cloud_guard/models/change_detector_recipe_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/change_managed_list_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/change_responder_recipe_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/cloud_guard_status.rb +11 -0
- data/lib/oci/cloud_guard/models/composite_condition.rb +207 -0
- data/lib/oci/cloud_guard/models/condition.rb +187 -0
- data/lib/oci/cloud_guard/models/condition_filter_type.rb +11 -0
- data/lib/oci/cloud_guard/models/condition_group.rb +164 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type.rb +164 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/condition_operator.rb +191 -0
- data/lib/oci/cloud_guard/models/condition_operator_name.rb +18 -0
- data/lib/oci/cloud_guard/models/condition_type_enum.rb +12 -0
- data/lib/oci/cloud_guard/models/condition_value_type.rb +11 -0
- data/lib/oci/cloud_guard/models/config_value.rb +198 -0
- data/lib/oci/cloud_guard/models/configuration.rb +199 -0
- data/lib/oci/cloud_guard/models/configuration_list_item_type.rb +11 -0
- data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +238 -0
- data/lib/oci/cloud_guard/models/create_managed_list_details.rb +274 -0
- data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +238 -0
- data/lib/oci/cloud_guard/models/create_target_details.rb +312 -0
- data/lib/oci/cloud_guard/models/create_target_detector_recipe_details.rb +168 -0
- data/lib/oci/cloud_guard/models/create_target_responder_recipe_details.rb +168 -0
- data/lib/oci/cloud_guard/models/detector.rb +199 -0
- data/lib/oci/cloud_guard/models/detector_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_configuration.rb +198 -0
- data/lib/oci/cloud_guard/models/detector_details.rb +234 -0
- data/lib/oci/cloud_guard/models/detector_enum.rb +11 -0
- data/lib/oci/cloud_guard/models/detector_recipe.rb +406 -0
- data/lib/oci/cloud_guard/models/detector_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +392 -0
- data/lib/oci/cloud_guard/models/detector_rule.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_rule_summary.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/event_status.rb +14 -0
- data/lib/oci/cloud_guard/models/execute_responder_execution_details.rb +150 -0
- data/lib/oci/cloud_guard/models/feed_provider_type.rb +11 -0
- data/lib/oci/cloud_guard/models/geographical_location.rb +160 -0
- data/lib/oci/cloud_guard/models/impacted_resource_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/impacted_resource_summary.rb +244 -0
- data/lib/oci/cloud_guard/models/lifecycle_state.rb +16 -0
- data/lib/oci/cloud_guard/models/managed_list.rb +437 -0
- data/lib/oci/cloud_guard/models/managed_list_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/managed_list_summary.rb +437 -0
- data/lib/oci/cloud_guard/models/managed_list_type.rb +20 -0
- data/lib/oci/cloud_guard/models/managed_list_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/managed_list_type_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/operator_summary.rb +246 -0
- data/lib/oci/cloud_guard/models/operator_type.rb +13 -0
- data/lib/oci/cloud_guard/models/owner_type.rb +11 -0
- data/lib/oci/cloud_guard/models/political_location.rb +170 -0
- data/lib/oci/cloud_guard/models/problem.rb +439 -0
- data/lib/oci/cloud_guard/models/problem_aggregation.rb +164 -0
- data/lib/oci/cloud_guard/models/problem_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_dimension.rb +13 -0
- data/lib/oci/cloud_guard/models/problem_history_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_history_summary.rb +328 -0
- data/lib/oci/cloud_guard/models/problem_lifecycle_detail.rb +12 -0
- data/lib/oci/cloud_guard/models/problem_lifecycle_state.rb +11 -0
- data/lib/oci/cloud_guard/models/problem_summary.rb +429 -0
- data/lib/oci/cloud_guard/models/problem_trend_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/problem_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/recommendation_lifecycle_detail.rb +12 -0
- data/lib/oci/cloud_guard/models/recommendation_summary.rb +402 -0
- data/lib/oci/cloud_guard/models/recommendation_summary_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/recommendation_type.rb +11 -0
- data/lib/oci/cloud_guard/models/resource_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/resource_type_summary.rb +174 -0
- data/lib/oci/cloud_guard/models/responder_activity_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_activity_summary.rb +321 -0
- data/lib/oci/cloud_guard/models/responder_activity_type.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_configuration.rb +174 -0
- data/lib/oci/cloud_guard/models/responder_dimension.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_execution.rb +415 -0
- data/lib/oci/cloud_guard/models/responder_execution_aggregation.rb +164 -0
- data/lib/oci/cloud_guard/models/responder_execution_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_execution_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_execution_modes.rb +12 -0
- data/lib/oci/cloud_guard/models/responder_execution_states.rb +16 -0
- data/lib/oci/cloud_guard/models/responder_execution_status.rb +14 -0
- data/lib/oci/cloud_guard/models/responder_execution_summary.rb +429 -0
- data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_mode_types.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_recipe.rb +391 -0
- data/lib/oci/cloud_guard/models/responder_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +361 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_summary.rb +357 -0
- data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +377 -0
- data/lib/oci/cloud_guard/models/responder_rule.rb +343 -0
- data/lib/oci/cloud_guard/models/responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_rule_details.rb +203 -0
- data/lib/oci/cloud_guard/models/responder_rule_execution_details.rb +159 -0
- data/lib/oci/cloud_guard/models/responder_rule_summary.rb +343 -0
- data/lib/oci/cloud_guard/models/responder_type.rb +11 -0
- data/lib/oci/cloud_guard/models/risk_level.rb +14 -0
- data/lib/oci/cloud_guard/models/risk_score_aggregation.rb +168 -0
- data/lib/oci/cloud_guard/models/risk_score_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +171 -0
- data/lib/oci/cloud_guard/models/security_rating.rb +13 -0
- data/lib/oci/cloud_guard/models/security_score_aggregation.rb +204 -0
- data/lib/oci/cloud_guard/models/security_score_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +232 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/service_type_summary.rb +164 -0
- data/lib/oci/cloud_guard/models/simple_condition.rb +233 -0
- data/lib/oci/cloud_guard/models/skip_bulk_responder_execution_details.rb +154 -0
- data/lib/oci/cloud_guard/models/sort_orders.rb +11 -0
- data/lib/oci/cloud_guard/models/target.rb +424 -0
- data/lib/oci/cloud_guard/models/target_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_details.rb +239 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe.rb +355 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +384 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +384 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +341 -0
- data/lib/oci/cloud_guard/models/target_resource_type.rb +12 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe.rb +288 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +361 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.rb +357 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → cloud_guard/models/target_responder_recipe_summary.rb} +80 -79
- data/lib/oci/cloud_guard/models/target_summary.rb +372 -0
- data/lib/oci/cloud_guard/models/trigger_responder_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +178 -0
- data/lib/oci/cloud_guard/models/update_configuration_details.rb +193 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule.rb +164 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule_details.rb +149 -0
- data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +213 -0
- data/lib/oci/cloud_guard/models/update_managed_list_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_problem_status_details.rb +174 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule.rb +164 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_responder_rule_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_details.rb +246 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe.rb +168 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_target_detector_rule_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_recipe_detector_rule_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_target_recipe_responder_rule_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe.rb +168 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_target_responder_rule_details.rb +182 -0
- data/lib/oci/cloud_guard/util.rb +3 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +528 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
- data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
- data/lib/oci/compute_instance_agent/util.rb +3 -0
- data/lib/oci/config.rb +44 -3
- data/lib/oci/config_file_loader.rb +9 -1
- data/lib/oci/container_engine/container_engine.rb +12 -1
- data/lib/oci/container_engine/container_engine_client.rb +29 -28
- 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 +2 -1
- 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 +2 -1
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +6 -6
- data/lib/oci/container_engine/models/create_node_pool_details.rb +39 -5
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +2 -1
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +164 -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 +45 -2
- data/lib/oci/container_engine/models/node_error.rb +2 -1
- data/lib/oci/container_engine/models/node_pool.rb +51 -6
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +2 -1
- data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +2 -1
- data/lib/oci/container_engine/models/node_pool_summary.rb +50 -5
- data/lib/oci/container_engine/models/node_shape_config.rb +167 -0
- data/lib/oci/container_engine/models/node_source_details.rb +191 -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 +176 -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 +78 -5
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +2 -1
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +164 -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 +168 -39
- data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
- data/lib/oci/core/compute_client.rb +1086 -145
- data/lib/oci/core/compute_client_composite_operations.rb +43 -2
- data/lib/oci/core/compute_management_client.rb +80 -41
- data/lib/oci/core/compute_management_client_composite_operations.rb +12 -11
- data/lib/oci/core/core.rb +70 -1
- data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +166 -0
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/add_public_ip_pool_capacity_details.rb +170 -0
- data/lib/oci/core/models/add_security_rule_details.rb +6 -3
- data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing.rb +3 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +3 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +3 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +3 -2
- data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +3 -2
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +3 -2
- 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 +2 -1
- data/lib/oci/core/models/attach_volume_details.rb +22 -3
- data/lib/oci/core/models/bgp_session_info.rb +2 -1
- data/lib/oci/core/models/boolean_image_capability_schema_descriptor.rb +166 -0
- data/lib/oci/core/models/boot_volume.rb +63 -7
- data/lib/oci/core/models/boot_volume_attachment.rb +3 -2
- data/lib/oci/core/models/boot_volume_backup.rb +21 -6
- 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/byoip_allocated_range_collection.rb +150 -0
- data/lib/oci/core/models/byoip_allocated_range_summary.rb +169 -0
- data/lib/oci/core/models/byoip_range.rb +388 -0
- data/lib/oci/core/models/byoip_range_collection.rb +150 -0
- data/lib/oci/core/models/byoip_range_summary.rb +276 -0
- data/lib/oci/core/models/capture_console_history_details.rb +2 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_byoip_range_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_compute_image_capability_schema_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cpe_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_drg_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_public_ip_pool_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/core/models/change_vlan_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_volume_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -1
- data/lib/oci/core/models/cluster_network.rb +19 -9
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +6 -2
- data/lib/oci/core/models/cluster_network_summary.rb +13 -7
- data/lib/oci/core/models/compute_global_image_capability_schema.rb +249 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_summary.rb +248 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_version.rb +214 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_version_summary.rb +197 -0
- data/lib/oci/core/models/compute_image_capability_schema.rb +295 -0
- data/lib/oci/core/models/compute_image_capability_schema_summary.rb +263 -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 +3 -2
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +3 -2
- data/lib/oci/core/models/cpe.rb +32 -3
- data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
- data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → core/models/cpe_device_config_question.rb} +28 -17
- 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 +47 -6
- data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
- data/lib/oci/core/models/create_cluster_network_details.rb +14 -6
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +14 -3
- data/lib/oci/core/models/create_compute_image_capability_schema_details.rb +250 -0
- data/lib/oci/core/models/create_cpe_details.rb +33 -6
- data/lib/oci/core/models/create_cross_connect_details.rb +2 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +2 -1
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +2 -1
- data/lib/oci/core/models/create_dhcp_details.rb +2 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/core/models/create_instance_configuration_details.rb +2 -1
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +2 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +7 -3
- 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 +3 -2
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +2 -3
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/create_ipv6_details.rb +3 -2
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_nat_gateway_details.rb +21 -5
- data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
- data/lib/oci/core/models/create_private_ip_details.rb +25 -6
- data/lib/oci/core/models/create_public_ip_details.rb +20 -5
- data/lib/oci/core/models/create_public_ip_pool_details.rb +207 -0
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/core/models/create_subnet_details.rb +7 -3
- data/lib/oci/core/models/create_vcn_details.rb +27 -5
- data/lib/oci/core/models/create_virtual_circuit_details.rb +23 -3
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
- data/lib/oci/core/models/create_vlan_details.rb +306 -0
- data/lib/oci/core/models/create_vnic_details.rb +51 -6
- 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 +29 -5
- data/lib/oci/core/models/create_volume_details.rb +49 -6
- data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/create_volume_group_details.rb +2 -1
- data/lib/oci/core/models/cross_connect.rb +3 -2
- data/lib/oci/core/models/cross_connect_group.rb +3 -2
- data/lib/oci/core/models/cross_connect_location.rb +2 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +6 -3
- 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 +3 -2
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +2 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +3 -2
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +2 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +3 -2
- 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 +3 -2
- data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
- data/lib/oci/core/models/drg.rb +3 -2
- data/lib/oci/core/models/drg_attachment.rb +3 -2
- data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
- data/lib/oci/core/models/egress_security_rule.rb +19 -6
- data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
- data/lib/oci/core/models/enum_integer_image_capability_descriptor.rb +176 -0
- data/lib/oci/core/models/enum_string_image_capability_schema_descriptor.rb +176 -0
- 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 +3 -2
- 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 +12 -8
- data/lib/oci/core/models/icmp_options.rb +2 -1
- data/lib/oci/core/models/image.rb +4 -3
- data/lib/oci/core/models/image_capability_schema_descriptor.rb +204 -0
- data/lib/oci/core/models/image_memory_constraints.rb +168 -0
- data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +32 -5
- data/lib/oci/core/models/image_shape_compatibility_summary.rb +190 -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 +19 -6
- data/lib/oci/core/models/instance.rb +54 -9
- 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_availability_config.rb +181 -0
- data/lib/oci/core/models/instance_configuration.rb +3 -2
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +31 -2
- data/lib/oci/core/models/instance_configuration_availability_config.rb +181 -0
- 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_options.rb +157 -0
- 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 +11 -2
- 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 +204 -27
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +178 -0
- data/lib/oci/core/models/instance_configuration_launch_options.rb +334 -0
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +31 -5
- data/lib/oci/core/models/instance_configuration_summary.rb +3 -2
- 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_options.rb +157 -0
- data/lib/oci/core/models/instance_pool.rb +11 -6
- 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 +3 -2
- data/lib/oci/core/models/instance_shape_config.rb +290 -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 +4 -3
- data/lib/oci/core/models/internet_gateway.rb +3 -2
- data/lib/oci/core/models/ip_sec_connection.rb +4 -3
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -2
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +6 -5
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -3
- data/lib/oci/core/models/ipv6.rb +5 -5
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +174 -0
- data/lib/oci/core/models/launch_instance_details.rb +64 -24
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +177 -0
- data/lib/oci/core/models/launch_options.rb +20 -16
- data/lib/oci/core/models/letter_of_authority.rb +4 -3
- data/lib/oci/core/models/local_peering_gateway.rb +3 -2
- data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
- data/lib/oci/core/models/nat_gateway.rb +22 -6
- data/lib/oci/core/models/network_security_group.rb +3 -2
- data/lib/oci/core/models/network_security_group_vnic.rb +3 -2
- 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 +37 -3
- data/lib/oci/core/models/public_ip.rb +22 -7
- data/lib/oci/core/models/public_ip_pool.rb +285 -0
- data/lib/oci/core/models/public_ip_pool_collection.rb +150 -0
- data/lib/oci/core/models/public_ip_pool_summary.rb +248 -0
- data/lib/oci/core/models/remote_peering_connection.rb +3 -2
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/remove_public_ip_pool_capacity_details.rb +156 -0
- data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/route_rule.rb +19 -7
- data/lib/oci/core/models/route_table.rb +3 -2
- data/lib/oci/core/models/security_list.rb +3 -3
- data/lib/oci/core/models/security_rule.rb +7 -4
- data/lib/oci/core/models/service.rb +2 -1
- data/lib/oci/core/models/service_gateway.rb +3 -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 +208 -6
- data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +180 -0
- data/lib/oci/core/models/shape_memory_options.rb +218 -0
- data/lib/oci/core/models/shape_networking_bandwidth_options.rb +188 -0
- data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
- data/lib/oci/core/models/subnet.rb +8 -6
- data/lib/oci/core/models/tcp_options.rb +2 -1
- data/lib/oci/core/models/tunnel_config.rb +4 -5
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
- data/lib/oci/core/models/tunnel_status.rb +5 -4
- 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 +44 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/update_byoip_range_details.rb +192 -0
- data/lib/oci/core/models/update_cluster_network_details.rb +6 -3
- data/lib/oci/core/models/update_compute_image_capability_schema_details.rb +206 -0
- data/lib/oci/core/models/update_console_history_details.rb +2 -1
- data/lib/oci/core/models/update_cpe_details.rb +31 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +2 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +2 -1
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +2 -1
- data/lib/oci/core/models/update_dhcp_details.rb +2 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +2 -1
- 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_availability_config_details.rb +174 -0
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
- data/lib/oci/core/models/update_instance_console_connection_details.rb +177 -0
- data/lib/oci/core/models/update_instance_details.rb +98 -33
- data/lib/oci/core/models/update_instance_pool_details.rb +5 -2
- 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 +174 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -3
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/update_ipv6_details.rb +2 -1
- data/lib/oci/core/models/update_launch_options.rb +248 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +2 -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_public_ip_pool_details.rb +192 -0
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +2 -1
- 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 +6 -3
- data/lib/oci/core/models/update_service_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_subnet_details.rb +29 -5
- 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 +22 -3
- data/lib/oci/core/models/update_vlan_details.rb +246 -0
- data/lib/oci/core/models/update_vnic_details.rb +11 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +29 -4
- data/lib/oci/core/models/update_volume_details.rb +46 -5
- data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/update_volume_group_details.rb +2 -1
- 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 +23 -5
- data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
- data/lib/oci/core/models/virtual_circuit.rb +23 -5
- 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/vlan.rb +378 -0
- data/lib/oci/core/models/vnic.rb +45 -7
- data/lib/oci/core/models/vnic_attachment.rb +28 -4
- data/lib/oci/core/models/volume.rb +63 -7
- data/lib/oci/core/models/volume_attachment.rb +18 -3
- data/lib/oci/core/models/volume_backup.rb +6 -5
- data/lib/oci/core/models/volume_backup_policy.rb +20 -3
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +28 -11
- data/lib/oci/core/models/volume_group.rb +4 -3
- data/lib/oci/core/models/volume_group_backup.rb +4 -3
- 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 +2951 -163
- data/lib/oci/core/virtual_network_client_composite_operations.rb +439 -1
- data/lib/oci/data_catalog/data_catalog.rb +178 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +10091 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +2001 -0
- data/lib/oci/data_catalog/models/attach_catalog_private_endpoint_details.rb +154 -0
- data/lib/oci/data_catalog/models/attribute.rb +582 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +161 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +446 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +296 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +161 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +296 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
- data/lib/oci/data_catalog/models/base_tag.rb +275 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +275 -0
- data/lib/oci/data_catalog/models/catalog.rb +352 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/catalog_private_endpoint.rb +336 -0
- data/lib/oci/data_catalog/models/catalog_private_endpoint_summary.rb +336 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +320 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/change_catalog_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/connection.rb +384 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +161 -0
- data/lib/oci/data_catalog/models/connection_result.rb +11 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +298 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +357 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
- data/lib/oci/data_catalog/models/create_catalog_private_endpoint_details.rb +231 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +252 -0
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +212 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +333 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +269 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +219 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +298 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +386 -0
- data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +249 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
- data/lib/oci/data_catalog/models/custom_property.rb +506 -0
- data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
- data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
- data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
- data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
- data/lib/oci/data_catalog/models/data_asset.rb +374 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +161 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +288 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +296 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +161 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +296 -0
- data/lib/oci/data_catalog/models/data_selector_pattern_details.rb +151 -0
- data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
- data/lib/oci/data_catalog/models/detach_catalog_private_endpoint_details.rb +154 -0
- data/lib/oci/data_catalog/models/entity.rb +532 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +161 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +368 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +296 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +161 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +296 -0
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +211 -0
- data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
- data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
- data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
- data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
- data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
- data/lib/oci/data_catalog/models/folder.rb +433 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +161 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +313 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +296 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +161 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +296 -0
- data/lib/oci/data_catalog/models/glossary.rb +424 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +161 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +357 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +359 -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 +536 -0
- data/lib/oci/data_catalog/models/job_collection.rb +161 -0
- data/lib/oci/data_catalog/models/job_definition.rb +550 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +161 -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 +436 -0
- data/lib/oci/data_catalog/models/job_execution.rb +477 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +161 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +332 -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 +161 -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 +161 -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 +484 -0
- data/lib/oci/data_catalog/models/job_type.rb +24 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
- data/lib/oci/data_catalog/models/namespace.rb +290 -0
- data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
- data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/pattern.rb +368 -0
- data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
- data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
- data/lib/oci/data_catalog/models/property_definition.rb +188 -0
- data/lib/oci/data_catalog/models/rule_attribute.rb +178 -0
- data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
- data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
- data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
- data/lib/oci/data_catalog/models/rule_type.rb +12 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +194 -0
- data/lib/oci/data_catalog/models/search_result.rb +515 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +200 -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 +429 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
- data/lib/oci/data_catalog/models/term_collection.rb +161 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +355 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +161 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +355 -0
- data/lib/oci/data_catalog/models/term_summary.rb +348 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
- data/lib/oci/data_catalog/models/type.rb +349 -0
- data/lib/oci/data_catalog/models/type_collection.rb +161 -0
- data/lib/oci/data_catalog/models/type_custom_property_details.rb +154 -0
- data/lib/oci/data_catalog/models/type_summary.rb +250 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +353 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
- data/lib/oci/data_catalog/models/update_catalog_private_endpoint_details.rb +202 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +234 -0
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +195 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +329 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +269 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +219 -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_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +233 -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 +180 -0
- data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
- data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
- data/lib/oci/data_catalog/models/work_request.rb +314 -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 +52 -0
- data/lib/oci/data_flow/data_flow_client.rb +1786 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +475 -0
- data/lib/oci/data_flow/models/application.rb +559 -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_private_endpoint_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 +443 -0
- data/lib/oci/data_flow/models/create_private_endpoint_details.rb +279 -0
- data/lib/oci/data_flow/models/create_run_details.rb +359 -0
- data/lib/oci/data_flow/models/private_endpoint.rb +408 -0
- data/lib/oci/data_flow/models/private_endpoint_collection.rb +152 -0
- data/lib/oci/data_flow/models/private_endpoint_lifecycle_state.rb +16 -0
- data/lib/oci/data_flow/models/private_endpoint_summary.rb +382 -0
- data/lib/oci/data_flow/models/run.rb +721 -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 +428 -0
- data/lib/oci/data_flow/models/update_private_endpoint_details.rb +249 -0
- data/lib/oci/data_flow/models/update_run_details.rb +174 -0
- data/lib/oci/data_flow/models/work_request.rb +308 -0
- data/lib/oci/data_flow/models/work_request_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_error.rb +199 -0
- data/lib/oci/data_flow/models/work_request_error_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_log.rb +187 -0
- data/lib/oci/data_flow/models/work_request_log_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_operation.rb +13 -0
- data/lib/oci/data_flow/models/work_request_resource.rb +250 -0
- data/lib/oci/data_flow/models/work_request_status.rb +15 -0
- data/lib/oci/data_flow/models/work_request_summary.rb +308 -0
- data/lib/oci/data_flow/util.rb +3 -0
- data/lib/oci/data_integration/data_integration.rb +318 -0
- data/lib/oci/data_integration/data_integration_client.rb +6515 -0
- data/lib/oci/data_integration/data_integration_client_composite_operations.rb +321 -0
- data/lib/oci/data_integration/models/abstract_data_operation_config.rb +184 -0
- data/lib/oci/data_integration/models/abstract_field.rb +173 -0
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +193 -0
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +190 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +196 -0
- data/lib/oci/data_integration/models/aggregator.rb +209 -0
- data/lib/oci/data_integration/models/application.rb +343 -0
- data/lib/oci/data_integration/models/application_details.rb +272 -0
- data/lib/oci/data_integration/models/application_summary.rb +340 -0
- data/lib/oci/data_integration/models/application_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +158 -0
- data/lib/oci/data_integration/models/base_type.rb +270 -0
- data/lib/oci/data_integration/models/change_compartment_details.rb +154 -0
- data/lib/oci/data_integration/models/child_reference.rb +270 -0
- data/lib/oci/data_integration/models/child_reference_detail.rb +164 -0
- data/lib/oci/data_integration/models/composite_field_map.rb +230 -0
- data/lib/oci/data_integration/models/composite_type.rb +208 -0
- data/lib/oci/data_integration/models/conditional_input_link.rb +207 -0
- data/lib/oci/data_integration/models/config_definition.rb +243 -0
- data/lib/oci/data_integration/models/config_parameter_definition.rb +233 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +196 -0
- data/lib/oci/data_integration/models/config_provider.rb +164 -0
- data/lib/oci/data_integration/models/config_values.rb +167 -0
- data/lib/oci/data_integration/models/configuration_details.rb +185 -0
- data/lib/oci/data_integration/models/configured_type.rb +212 -0
- data/lib/oci/data_integration/models/connection.rb +360 -0
- data/lib/oci/data_integration/models/connection_details.rb +339 -0
- data/lib/oci/data_integration/models/connection_from_adwc.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_adwc_details.rb +216 -0
- data/lib/oci/data_integration/models/connection_from_atp.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_atp_details.rb +216 -0
- data/lib/oci/data_integration/models/connection_from_jdbc.rb +210 -0
- data/lib/oci/data_integration/models/connection_from_jdbc_details.rb +206 -0
- data/lib/oci/data_integration/models/connection_from_my_sql.rb +210 -0
- data/lib/oci/data_integration/models/connection_from_my_sql_details.rb +206 -0
- data/lib/oci/data_integration/models/connection_from_object_storage.rb +256 -0
- data/lib/oci/data_integration/models/connection_from_object_storage_details.rb +252 -0
- data/lib/oci/data_integration/models/connection_from_oracle.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_oracle_details.rb +217 -0
- data/lib/oci/data_integration/models/connection_property.rb +160 -0
- data/lib/oci/data_integration/models/connection_summary.rb +360 -0
- data/lib/oci/data_integration/models/connection_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/connection_summary_from_adwc.rb +220 -0
- data/lib/oci/data_integration/models/connection_summary_from_atp.rb +220 -0
- data/lib/oci/data_integration/models/connection_summary_from_jdbc.rb +210 -0
- data/lib/oci/data_integration/models/connection_summary_from_my_sql.rb +210 -0
- data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +256 -0
- data/lib/oci/data_integration/models/connection_summary_from_oracle.rb +221 -0
- data/lib/oci/data_integration/models/connection_validation.rb +271 -0
- data/lib/oci/data_integration/models/connection_validation_summary.rb +268 -0
- data/lib/oci/data_integration/models/connection_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/count_statistic.rb +154 -0
- data/lib/oci/data_integration/models/count_statistic_summary.rb +193 -0
- data/lib/oci/data_integration/models/create_application_details.rb +260 -0
- data/lib/oci/data_integration/models/create_config_provider.rb +150 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +300 -0
- data/lib/oci/data_integration/models/create_connection_from_adwc.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_atp.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_jdbc.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_my_sql.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_object_storage.rb +240 -0
- data/lib/oci/data_integration/models/create_connection_from_oracle.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_validation_details.rb +175 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +301 -0
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +239 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +239 -0
- data/lib/oci/data_integration/models/create_data_asset_from_jdbc.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_my_sql.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_object_storage.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_oracle.rb +269 -0
- data/lib/oci/data_integration/models/create_data_flow_details.rb +268 -0
- data/lib/oci/data_integration/models/create_data_flow_validation_details.rb +302 -0
- data/lib/oci/data_integration/models/create_entity_shape_details.rb +182 -0
- data/lib/oci/data_integration/models/create_entity_shape_from_file.rb +389 -0
- data/lib/oci/data_integration/models/create_external_publication_details.rb +218 -0
- data/lib/oci/data_integration/models/create_external_publication_validation_details.rb +150 -0
- data/lib/oci/data_integration/models/create_folder_details.rb +236 -0
- data/lib/oci/data_integration/models/create_patch_details.rb +263 -0
- data/lib/oci/data_integration/models/create_project_details.rb +221 -0
- data/lib/oci/data_integration/models/create_source_application_info.rb +168 -0
- data/lib/oci/data_integration/models/create_task_details.rb +343 -0
- data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_integration_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +234 -0
- data/lib/oci/data_integration/models/create_task_validation_details.rb +352 -0
- data/lib/oci/data_integration/models/create_task_validation_from_data_loader_task.rb +217 -0
- data/lib/oci/data_integration/models/create_task_validation_from_integration_task.rb +217 -0
- data/lib/oci/data_integration/models/create_workspace_details.rb +282 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +238 -0
- data/lib/oci/data_integration/models/data_asset.rb +358 -0
- data/lib/oci/data_integration/models/data_asset_from_adwc_details.rb +255 -0
- data/lib/oci/data_integration/models/data_asset_from_atp_details.rb +255 -0
- data/lib/oci/data_integration/models/data_asset_from_jdbc.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_my_sql.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_object_storage_details.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_oracle_details.rb +285 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +344 -0
- data/lib/oci/data_integration/models/data_asset_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_adwc.rb +251 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_atp.rb +251 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_jdbc.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_my_sql.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_oracle.rb +281 -0
- data/lib/oci/data_integration/models/data_entity.rb +202 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +186 -0
- data/lib/oci/data_integration/models/data_entity_from_file.rb +400 -0
- data/lib/oci/data_integration/models/data_entity_from_file_entity_details.rb +389 -0
- data/lib/oci/data_integration/models/data_entity_from_table.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_from_table_entity_details.rb +376 -0
- data/lib/oci/data_integration/models/data_entity_from_view.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_from_view_entity_details.rb +376 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +202 -0
- data/lib/oci/data_integration/models/data_entity_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_file.rb +400 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_table.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_view.rb +387 -0
- data/lib/oci/data_integration/models/data_flow.rb +305 -0
- data/lib/oci/data_integration/models/data_flow_details.rb +295 -0
- data/lib/oci/data_integration/models/data_flow_summary.rb +302 -0
- data/lib/oci/data_integration/models/data_flow_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_flow_validation.rb +328 -0
- data/lib/oci/data_integration/models/data_flow_validation_summary.rb +325 -0
- data/lib/oci/data_integration/models/data_flow_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_format.rb +187 -0
- data/lib/oci/data_integration/models/data_type.rb +233 -0
- data/lib/oci/data_integration/models/dependent_object.rb +339 -0
- data/lib/oci/data_integration/models/dependent_object_summary.rb +303 -0
- data/lib/oci/data_integration/models/dependent_object_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/derived_field.rb +205 -0
- data/lib/oci/data_integration/models/derived_type.rb +169 -0
- data/lib/oci/data_integration/models/direct_field_map.rb +244 -0
- data/lib/oci/data_integration/models/direct_named_field_map.rb +272 -0
- data/lib/oci/data_integration/models/distinct.rb +193 -0
- data/lib/oci/data_integration/models/dynamic_input_field.rb +195 -0
- data/lib/oci/data_integration/models/dynamic_proxy_field.rb +195 -0
- data/lib/oci/data_integration/models/dynamic_type.rb +198 -0
- data/lib/oci/data_integration/models/dynamic_type_handler.rb +189 -0
- data/lib/oci/data_integration/models/enriched_entity.rb +162 -0
- data/lib/oci/data_integration/models/entity_shape.rb +198 -0
- data/lib/oci/data_integration/models/entity_shape_from_file.rb +400 -0
- data/lib/oci/data_integration/models/error_details.rb +162 -0
- data/lib/oci/data_integration/models/expression.rb +232 -0
- data/lib/oci/data_integration/models/external_publication.rb +385 -0
- data/lib/oci/data_integration/models/external_publication_summary.rb +382 -0
- data/lib/oci/data_integration/models/external_publication_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/external_publication_validation.rb +220 -0
- data/lib/oci/data_integration/models/external_publication_validation_summary.rb +217 -0
- data/lib/oci/data_integration/models/external_publication_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/field_map.rb +205 -0
- data/lib/oci/data_integration/models/filter.rb +209 -0
- data/lib/oci/data_integration/models/filter_push.rb +162 -0
- data/lib/oci/data_integration/models/flow_node.rb +288 -0
- data/lib/oci/data_integration/models/flow_port.rb +173 -0
- data/lib/oci/data_integration/models/flow_port_link.rb +257 -0
- data/lib/oci/data_integration/models/folder.rb +287 -0
- data/lib/oci/data_integration/models/folder_details.rb +276 -0
- data/lib/oci/data_integration/models/folder_summary.rb +284 -0
- data/lib/oci/data_integration/models/folder_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/foreign_key.rb +264 -0
- data/lib/oci/data_integration/models/input_field.rb +195 -0
- data/lib/oci/data_integration/models/input_link.rb +200 -0
- data/lib/oci/data_integration/models/input_port.rb +221 -0
- data/lib/oci/data_integration/models/java_type.rb +199 -0
- data/lib/oci/data_integration/models/join.rb +190 -0
- data/lib/oci/data_integration/models/joiner.rb +245 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +158 -0
- data/lib/oci/data_integration/models/key.rb +192 -0
- data/lib/oci/data_integration/models/key_attribute.rb +159 -0
- data/lib/oci/data_integration/models/key_range.rb +159 -0
- data/lib/oci/data_integration/models/key_range_partition_config.rb +175 -0
- data/lib/oci/data_integration/models/macro_field.rb +231 -0
- data/lib/oci/data_integration/models/message.rb +191 -0
- data/lib/oci/data_integration/models/name_list_rule.rb +306 -0
- data/lib/oci/data_integration/models/name_pattern_rule.rb +306 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +225 -0
- data/lib/oci/data_integration/models/object_metadata.rb +306 -0
- data/lib/oci/data_integration/models/operator.rb +349 -0
- data/lib/oci/{streaming/models/update_archiver_details.rb → data_integration/models/oracle_adwc_write_attribute.rb} +41 -61
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +191 -0
- data/lib/oci/{streaming/models/create_archiver_details.rb → data_integration/models/oracle_atp_write_attribute.rb} +41 -62
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +191 -0
- data/lib/oci/data_integration/models/oracle_read_attribute.rb +162 -0
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +151 -0
- data/lib/oci/data_integration/models/oracle_write_attribute.rb +190 -0
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +179 -0
- data/lib/oci/data_integration/models/output_field.rb +195 -0
- data/lib/oci/data_integration/models/output_link.rb +186 -0
- data/lib/oci/data_integration/models/output_port.rb +221 -0
- data/lib/oci/data_integration/models/parameter.rb +291 -0
- data/lib/oci/data_integration/models/parameter_value.rb +168 -0
- data/lib/oci/data_integration/models/parent_reference.rb +150 -0
- data/lib/oci/data_integration/models/partition_config.rb +189 -0
- data/lib/oci/data_integration/models/patch.rb +412 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +255 -0
- data/lib/oci/data_integration/models/patch_change_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +258 -0
- data/lib/oci/data_integration/models/patch_summary.rb +409 -0
- data/lib/oci/data_integration/models/patch_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/primary_key.rb +212 -0
- data/lib/oci/data_integration/models/project.rb +273 -0
- data/lib/oci/data_integration/models/project_details.rb +262 -0
- data/lib/oci/data_integration/models/project_summary.rb +270 -0
- data/lib/oci/data_integration/models/project_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/projection.rb +193 -0
- data/lib/oci/data_integration/models/projection_rule.rb +285 -0
- data/lib/oci/data_integration/models/proxy_field.rb +205 -0
- data/lib/oci/data_integration/models/published_object.rb +286 -0
- data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +257 -0
- data/lib/oci/data_integration/models/published_object_from_integration_task.rb +257 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +295 -0
- data/lib/oci/data_integration/models/published_object_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/published_object_summary_from_data_loader_task.rb +261 -0
- data/lib/oci/data_integration/models/published_object_summary_from_integration_task.rb +261 -0
- data/lib/oci/data_integration/models/push_down_operation.rb +197 -0
- data/lib/oci/data_integration/models/query.rb +158 -0
- data/lib/oci/data_integration/models/read_operation_config.rb +249 -0
- data/lib/oci/data_integration/models/reference.rb +284 -0
- data/lib/oci/data_integration/models/reference_summary.rb +284 -0
- data/lib/oci/data_integration/models/reference_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/reference_used_by.rb +174 -0
- data/lib/oci/data_integration/models/registry_metadata.rb +204 -0
- data/lib/oci/data_integration/models/rename_rule.rb +218 -0
- data/lib/oci/data_integration/models/resource_configuration.rb +196 -0
- data/lib/oci/data_integration/models/root_object.rb +205 -0
- data/lib/oci/data_integration/models/rule_based_field_map.rb +319 -0
- data/lib/oci/data_integration/models/rule_type_config.rb +251 -0
- data/lib/oci/data_integration/models/schema.rb +314 -0
- data/lib/oci/data_integration/models/schema_summary.rb +311 -0
- data/lib/oci/data_integration/models/schema_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/select.rb +176 -0
- data/lib/oci/data_integration/models/shape.rb +186 -0
- data/lib/oci/data_integration/models/shape_field.rb +209 -0
- data/lib/oci/data_integration/models/sort.rb +162 -0
- data/lib/oci/data_integration/models/sort_clause.rb +179 -0
- data/lib/oci/data_integration/models/sort_key.rb +154 -0
- data/lib/oci/data_integration/models/sort_key_rule.rb +167 -0
- data/lib/oci/data_integration/models/sort_oper.rb +209 -0
- data/lib/oci/data_integration/models/source.rb +261 -0
- data/lib/oci/data_integration/models/source_application_info.rb +196 -0
- data/lib/oci/data_integration/models/structured_type.rb +203 -0
- data/lib/oci/data_integration/models/target.rb +298 -0
- data/lib/oci/data_integration/models/task.rb +373 -0
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +221 -0
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +221 -0
- data/lib/oci/data_integration/models/task_run.rb +451 -0
- data/lib/oci/data_integration/models/task_run_details.rb +396 -0
- data/lib/oci/data_integration/models/task_run_log_summary.rb +150 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +393 -0
- data/lib/oci/data_integration/models/task_run_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +373 -0
- data/lib/oci/data_integration/models/task_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_integration_task.rb +221 -0
- data/lib/oci/data_integration/models/task_validation.rb +328 -0
- data/lib/oci/data_integration/models/task_validation_summary.rb +325 -0
- data/lib/oci/data_integration/models/task_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/type_library.rb +259 -0
- data/lib/oci/data_integration/models/type_list_rule.rb +306 -0
- data/lib/oci/data_integration/models/type_system.rb +287 -0
- data/lib/oci/data_integration/models/typed_name_pattern_rule.rb +326 -0
- data/lib/oci/data_integration/models/typed_object.rb +290 -0
- data/lib/oci/data_integration/models/ui_properties.rb +168 -0
- data/lib/oci/data_integration/models/unique_key.rb +224 -0
- data/lib/oci/data_integration/models/update_application_details.rb +269 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +314 -0
- data/lib/oci/data_integration/models/update_connection_from_adwc.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_atp.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_jdbc.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_my_sql.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_object_storage.rb +244 -0
- data/lib/oci/data_integration/models/update_connection_from_oracle.rb +208 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +315 -0
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +243 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +243 -0
- data/lib/oci/data_integration/models/update_data_asset_from_jdbc.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_my_sql.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_object_storage.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_oracle.rb +273 -0
- data/lib/oci/data_integration/models/update_data_flow_details.rb +292 -0
- data/lib/oci/data_integration/models/update_external_publication_details.rb +218 -0
- data/lib/oci/data_integration/models/update_folder_details.rb +273 -0
- data/lib/oci/data_integration/models/update_project_details.rb +259 -0
- data/lib/oci/data_integration/models/update_reference_details.rb +178 -0
- data/lib/oci/data_integration/models/update_task_details.rb +356 -0
- data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_integration_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +247 -0
- data/lib/oci/data_integration/models/update_workspace_details.rb +196 -0
- data/lib/oci/data_integration/models/validation_message.rb +178 -0
- data/lib/oci/data_integration/models/work_request.rb +306 -0
- data/lib/oci/data_integration/models/work_request_error.rb +172 -0
- data/lib/oci/data_integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_integration/models/work_request_resource.rb +222 -0
- data/lib/oci/data_integration/models/work_request_summary.rb +303 -0
- data/lib/oci/data_integration/models/workspace.rb +387 -0
- data/lib/oci/data_integration/models/workspace_summary.rb +306 -0
- data/lib/oci/data_integration/models/write_operation_config.rb +297 -0
- data/lib/oci/data_integration/util.rb +3 -0
- data/lib/oci/data_safe/data_safe.rb +42 -0
- data/lib/oci/data_safe/data_safe_client.rb +1415 -0
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +470 -0
- data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/change_on_prem_connector_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/create_on_prem_connector_details.rb +212 -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 +154 -0
- data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +5 -5
- data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/on_prem_connector.rb +317 -0
- data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/on_prem_connector_summary.rb +303 -0
- data/lib/oci/data_safe/models/service_list.rb +22 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
- data/lib/oci/data_safe/models/work_request.rb +307 -0
- data/lib/oci/data_safe/models/work_request_error.rb +172 -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 +307 -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 +2383 -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 +81 -10
- data/lib/oci/database/database_client.rb +6372 -2056
- data/lib/oci/database/database_client_composite_operations.rb +2535 -454
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/associated_database_details.rb +2 -1
- data/lib/oci/database/models/automated_mount_details.rb +176 -0
- data/lib/oci/database/models/autonomous_container_database.rb +216 -9
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +17 -2
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +216 -9
- data/lib/oci/database/models/autonomous_data_warehouse.rb +10 -22
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +10 -22
- data/lib/oci/database/models/autonomous_database.rb +661 -15
- data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
- data/lib/oci/database/models/autonomous_database_backup.rb +50 -5
- data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +50 -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 +3 -2
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
- data/lib/oci/database/models/autonomous_database_manual_refresh_details.rb +155 -0
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +220 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +661 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +2 -1
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +12 -3
- data/lib/oci/database/models/autonomous_db_version_summary.rb +274 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +5 -2
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +5 -2
- data/lib/oci/database/models/autonomous_patch.rb +296 -0
- data/lib/oci/database/models/autonomous_patch_summary.rb +304 -0
- data/lib/oci/database/models/autonomous_vm_cluster.rb +452 -0
- data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +455 -0
- data/lib/oci/database/models/backup.rb +41 -6
- data/lib/oci/database/models/backup_destination.rb +64 -2
- data/lib/oci/database/models/backup_destination_details.rb +13 -32
- data/lib/oci/database/models/backup_destination_summary.rb +64 -2
- data/lib/oci/database/models/backup_summary.rb +41 -6
- data/lib/oci/database/models/change_autonomous_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +155 -0
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +155 -0
- data/lib/oci/database/models/change_compartment_details.rb +2 -1
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +2 -1
- data/lib/oci/database/models/change_key_store_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +2 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +399 -0
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +402 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +734 -0
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +721 -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 +226 -8
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +163 -15
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +31 -2
- data/lib/oci/database/models/create_autonomous_database_details.rb +31 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +278 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +288 -0
- data/lib/oci/database/models/{create_autonomous_data_warehouse_details.rb → create_autonomous_vm_cluster_details.rb} +52 -53
- data/lib/oci/database/models/create_backup_destination_details.rb +2 -1
- data/lib/oci/database/models/create_backup_details.rb +2 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +465 -0
- data/lib/oci/database/models/create_console_connection_details.rb +156 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +19 -3
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +28 -7
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +197 -0
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +27 -6
- data/lib/oci/database/models/create_database_base.rb +245 -0
- data/lib/oci/database/models/create_database_details.rb +31 -2
- data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
- data/lib/oci/database/models/create_database_from_backup.rb +177 -0
- data/lib/oci/database/models/create_database_from_backup_details.rb +2 -1
- data/lib/oci/database/models/create_database_from_db_system_details.rb +246 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +319 -0
- data/lib/oci/database/models/create_db_home_base.rb +86 -6
- data/lib/oci/database/models/create_db_home_details.rb +56 -7
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +42 -7
- data/lib/oci/database/models/{update_autonomous_data_warehouse_details.rb → create_db_home_from_database_details.rb} +14 -46
- data/lib/oci/database/models/create_db_home_from_db_system_details.rb +201 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +24 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +23 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +197 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +24 -4
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +23 -2
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +31 -4
- data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/create_key_store_details.rb +217 -0
- data/lib/oci/database/models/create_new_database_details.rb +177 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +21 -6
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +2 -1
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +278 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +47 -3
- 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 +93 -7
- data/lib/oci/database/models/database_connection_strings.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +442 -0
- data/lib/oci/database/models/database_software_image_summary.rb +452 -0
- data/lib/oci/database/models/database_summary.rb +93 -7
- data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
- data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
- data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
- data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
- data/lib/oci/database/models/day_of_week.rb +2 -1
- data/lib/oci/database/models/db_backup_config.rb +2 -1
- data/lib/oci/database/models/db_home.rb +114 -9
- data/lib/oci/database/models/db_home_summary.rb +117 -12
- data/lib/oci/database/models/db_iorm_config.rb +6 -5
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +5 -4
- 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 +98 -9
- data/lib/oci/database/models/db_system_options.rb +8 -2
- data/lib/oci/database/models/db_system_shape_summary.rb +119 -6
- data/lib/oci/database/models/db_system_summary.rb +98 -9
- data/lib/oci/database/models/db_version_summary.rb +34 -5
- data/lib/oci/database/models/deregister_autonomous_database_data_safe_details.rb +155 -0
- data/lib/oci/database/models/exadata_db_system_migration.rb +197 -0
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +183 -0
- data/lib/oci/database/models/exadata_infrastructure.rb +130 -7
- data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +133 -8
- data/lib/oci/database/models/exadata_iorm_config.rb +9 -8
- 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/flex_component_collection.rb +150 -0
- data/lib/oci/database/models/flex_component_summary.rb +197 -0
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +9 -2
- data/lib/oci/database/models/generate_recommended_network_details.rb +3 -2
- data/lib/oci/database/models/gi_version_summary.rb +2 -1
- data/lib/oci/database/models/info_for_network_gen_details.rb +3 -2
- data/lib/oci/database/models/key_store.rb +300 -0
- data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
- data/lib/oci/database/models/key_store_summary.rb +303 -0
- data/lib/oci/database/models/key_store_type_details.rb +185 -0
- data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +5 -2
- data/lib/oci/database/models/launch_db_system_base.rb +64 -11
- data/lib/oci/database/models/launch_db_system_details.rb +31 -5
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +15 -2
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +352 -0
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +305 -0
- data/lib/oci/database/models/maintenance_run.rb +51 -16
- data/lib/oci/database/models/maintenance_run_summary.rb +51 -16
- data/lib/oci/database/models/maintenance_window.rb +21 -5
- data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
- data/lib/oci/database/models/month.rb +2 -1
- data/lib/oci/database/models/mount_type_details.rb +186 -0
- data/lib/oci/database/models/node_details.rb +3 -2
- 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 +18 -3
- data/lib/oci/database/models/patch_history_entry.rb +3 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +3 -2
- data/lib/oci/database/models/patch_summary.rb +2 -1
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
- data/lib/oci/database/models/register_autonomous_database_data_safe_details.rb +155 -0
- data/lib/oci/database/models/reinstate_data_guard_association_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 +2 -1
- data/lib/oci/database/models/self_mount_details.rb +163 -0
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/update.rb +340 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +32 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +262 -14
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +2 -1
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +5 -2
- data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
- data/lib/oci/database/models/update_backup_destination_details.rb +59 -3
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +319 -0
- data/lib/oci/database/models/update_database_details.rb +59 -2
- data/lib/oci/database/models/update_database_software_image_details.rb +189 -0
- data/lib/oci/database/models/update_db_home_details.rb +55 -6
- data/lib/oci/database/models/update_db_system_details.rb +65 -7
- data/lib/oci/database/models/update_details.rb +183 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +28 -3
- data/lib/oci/database/models/update_history_entry.rb +306 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +310 -0
- data/lib/oci/database/models/update_key_store_details.rb +187 -0
- data/lib/oci/database/models/update_maintenance_run_details.rb +50 -7
- data/lib/oci/database/models/update_summary.rb +348 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +57 -3
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +3 -2
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/database/models/vm_cluster.rb +51 -7
- data/lib/oci/database/models/vm_cluster_network.rb +2 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +4 -3
- data/lib/oci/database/models/vm_cluster_network_summary.rb +4 -2
- data/lib/oci/database/models/vm_cluster_summary.rb +51 -7
- data/lib/oci/database/models/vm_network_details.rb +4 -2
- data/lib/oci/database/models/workload_type.rb +161 -0
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/dns/dns.rb +31 -1
- data/lib/oci/dns/dns_client.rb +2763 -635
- data/lib/oci/dns/dns_client_composite_operations.rb +361 -1
- data/lib/oci/{oce/models/delete_oce_instance_details.rb → dns/models/attached_view.rb} +15 -13
- data/lib/oci/dns/models/attached_view_details.rb +155 -0
- data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +2 -1
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_view_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +2 -1
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +2 -1
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -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_view_details.rb +210 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +2 -1
- data/lib/oci/dns/models/create_zone_details.rb +43 -3
- data/lib/oci/dns/models/dynect_migration_details.rb +2 -1
- data/lib/oci/dns/models/external_master.rb +23 -5
- data/lib/oci/dns/models/migration_replacement.rb +3 -2
- 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 +3 -3
- data/lib/oci/dns/models/record_collection.rb +3 -1
- data/lib/oci/dns/models/record_details.rb +3 -3
- data/lib/oci/dns/models/record_operation.rb +3 -3
- data/lib/oci/dns/models/resolver.rb +393 -0
- data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
- data/lib/oci/dns/models/resolver_forward_rule.rb +187 -0
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
- data/lib/oci/dns/models/resolver_rule.rb +222 -0
- data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
- data/lib/oci/dns/models/resolver_summary.rb +357 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
- data/lib/oci/dns/models/rr_set.rb +3 -1
- data/lib/oci/dns/models/scope.rb +11 -0
- data/lib/oci/dns/models/sort_order.rb +2 -1
- data/lib/oci/dns/models/steering_policy.rb +14 -13
- data/lib/oci/dns/models/steering_policy_answer.rb +3 -2
- data/lib/oci/dns/models/steering_policy_attachment.rb +12 -11
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +12 -11
- 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 +12 -11
- 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_resolver_details.rb +221 -0
- data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
- 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_view_details.rb +196 -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/view.rb +321 -0
- data/lib/oci/dns/models/view_summary.rb +321 -0
- data/lib/oci/dns/models/zone.rb +77 -15
- data/lib/oci/dns/models/zone_summary.rb +78 -16
- data/lib/oci/dns/util.rb +2 -1
- data/lib/oci/dts/appliance_export_job_client.rb +491 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/dts.rb +9 -1
- 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 +2 -1
- 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 +2 -1
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +2 -1
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +10 -5
- data/lib/oci/dts/models/create_transfer_device_details.rb +2 -1
- data/lib/oci/dts/models/create_transfer_job_details.rb +10 -5
- data/lib/oci/dts/models/create_transfer_package_details.rb +2 -1
- data/lib/oci/dts/models/detach_devices_details.rb +2 -1
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +2 -1
- data/lib/oci/dts/models/multiple_transfer_devices.rb +2 -1
- data/lib/oci/dts/models/multiple_transfer_packages.rb +2 -1
- data/lib/oci/dts/models/new_transfer_device.rb +2 -1
- data/lib/oci/dts/models/shipping_address.rb +2 -1
- data/lib/oci/dts/models/shipping_vendors.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +10 -5
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +10 -5
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance_summary.rb +2 -1
- data/lib/oci/dts/models/transfer_device.rb +2 -1
- data/lib/oci/dts/models/transfer_device_summary.rb +2 -1
- data/lib/oci/dts/models/transfer_job.rb +10 -5
- data/lib/oci/dts/models/transfer_job_summary.rb +10 -5
- data/lib/oci/dts/models/transfer_package.rb +2 -1
- data/lib/oci/dts/models/transfer_package_summary.rb +2 -1
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +2 -1
- data/lib/oci/dts/models/update_transfer_device_details.rb +2 -1
- data/lib/oci/dts/models/update_transfer_job_details.rb +10 -5
- data/lib/oci/dts/models/update_transfer_package_details.rb +2 -1
- data/lib/oci/dts/shipping_vendors_client.rb +8 -17
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_appliance_client.rb +15 -17
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +10 -17
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_device_client.rb +12 -17
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_job_client.rb +45 -21
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_package_client.rb +14 -17
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +2 -1
- data/lib/oci/dts/util.rb +2 -1
- data/lib/oci/email/email.rb +2 -1
- data/lib/oci/email/email_client.rb +16 -16
- 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 +2 -1
- data/lib/oci/events/events_client.rb +13 -17
- data/lib/oci/events/events_client_composite_operations.rb +2 -1
- data/lib/oci/events/models/action.rb +23 -3
- data/lib/oci/events/models/action_details.rb +2 -1
- data/lib/oci/events/models/action_details_list.rb +2 -1
- data/lib/oci/events/models/action_list.rb +2 -1
- data/lib/oci/events/models/change_rule_compartment_details.rb +2 -1
- data/lib/oci/events/models/create_faa_s_action_details.rb +2 -1
- data/lib/oci/events/models/create_notification_service_action_details.rb +2 -1
- data/lib/oci/events/models/create_rule_details.rb +3 -7
- data/lib/oci/events/models/create_streaming_service_action_details.rb +2 -1
- data/lib/oci/events/models/faa_s_action.rb +7 -2
- data/lib/oci/events/models/notification_service_action.rb +7 -2
- data/lib/oci/events/models/rule.rb +4 -8
- data/lib/oci/events/models/rule_summary.rb +4 -8
- data/lib/oci/events/models/streaming_service_action.rb +7 -2
- data/lib/oci/events/models/update_rule_details.rb +3 -7
- data/lib/oci/events/util.rb +2 -1
- data/lib/oci/file_storage/file_storage.rb +2 -1
- data/lib/oci/file_storage/file_storage_client.rb +98 -75
- 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 +2 -1
- 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 +3 -2
- data/lib/oci/file_storage/models/file_system_summary.rb +2 -1
- 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 +7 -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 +2 -1
- data/lib/oci/functions/functions_invoke_client.rb +7 -16
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +2 -1
- data/lib/oci/functions/functions_management_client.rb +18 -17
- data/lib/oci/functions/functions_management_client_composite_operations.rb +2 -1
- data/lib/oci/functions/models/application.rb +23 -3
- data/lib/oci/functions/models/application_summary.rb +3 -2
- data/lib/oci/functions/models/change_application_compartment_details.rb +2 -1
- data/lib/oci/functions/models/create_application_details.rb +22 -2
- data/lib/oci/functions/models/create_function_details.rb +2 -1
- data/lib/oci/functions/models/function.rb +3 -2
- data/lib/oci/functions/models/function_summary.rb +3 -2
- data/lib/oci/functions/models/update_application_details.rb +22 -2
- data/lib/oci/functions/models/update_function_details.rb +2 -1
- data/lib/oci/functions/util.rb +2 -1
- data/lib/oci/global_context.rb +2 -1
- data/lib/oci/healthchecks/health_checks_client.rb +23 -16
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
- data/lib/oci/healthchecks/healthchecks.rb +2 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +2 -1
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +2 -1
- data/lib/oci/healthchecks/models/connection.rb +2 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe.rb +2 -1
- 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 +2 -1
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -1
- data/lib/oci/healthchecks/models/ping_probe.rb +2 -1
- 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 +2 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/util.rb +2 -1
- data/lib/oci/identity/identity.rb +24 -1
- data/lib/oci/identity/identity_client.rb +1791 -295
- data/lib/oci/identity/identity_client_composite_operations.rb +288 -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 +19 -6
- data/lib/oci/identity/models/availability_domain.rb +2 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +13 -10
- data/lib/oci/identity/models/bulk_action_resource.rb +203 -0
- data/lib/oci/identity/models/bulk_action_resource_type.rb +167 -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_edit_operation_details.rb +193 -0
- data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -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 +2 -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 -11
- 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 +2 -1
- data/lib/oci/identity/models/create_tag_details.rb +4 -7
- 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 +5 -4
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +5 -3
- data/lib/oci/identity/models/dynamic_group.rb +2 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +5 -3
- 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 +2 -1
- data/lib/oci/identity/models/identity_provider.rb +2 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +13 -2
- 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 +2 -1
- data/lib/oci/identity/models/network_policy.rb +156 -0
- data/lib/oci/identity/models/network_sources.rb +337 -0
- data/lib/oci/identity/models/network_sources_summary.rb +283 -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 +2 -1
- data/lib/oci/identity/models/region.rb +8 -19
- data/lib/oci/identity/models/region_subscription.rb +8 -19
- data/lib/oci/identity/models/saml2_identity_provider.rb +14 -2
- 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 +6 -8
- data/lib/oci/identity/models/tag_default.rb +2 -1
- data/lib/oci/identity/models/tag_default_summary.rb +2 -1
- data/lib/oci/identity/models/tag_namespace.rb +2 -1
- data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
- data/lib/oci/identity/models/tag_summary.rb +2 -1
- data/lib/oci/identity/models/tagging_work_request.rb +6 -1
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +2 -1
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +2 -1
- data/lib/oci/identity/models/tagging_work_request_summary.rb +6 -1
- data/lib/oci/identity/models/tenancy.rb +19 -11
- 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 +19 -6
- 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 +2 -1
- data/lib/oci/identity/models/update_tag_details.rb +4 -7
- 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 +72 -7
- 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 +3 -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 +5 -1
- data/lib/oci/integration/integration_instance_client.rb +168 -19
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +100 -1
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +2 -1
- data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +93 -5
- data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
- data/lib/oci/integration/models/integration_instance.rb +97 -5
- data/lib/oci/integration/models/integration_instance_summary.rb +97 -5
- data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +65 -5
- data/lib/oci/integration/models/work_request.rb +4 -1
- data/lib/oci/integration/models/work_request_error.rb +2 -1
- data/lib/oci/integration/models/work_request_log_entry.rb +2 -1
- data/lib/oci/integration/models/work_request_resource.rb +4 -1
- data/lib/oci/integration/models/work_request_summary.rb +4 -1
- data/lib/oci/integration/util.rb +2 -1
- 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 +70 -21
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
- data/lib/oci/key_management/kms_management_client.rb +813 -121
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
- data/lib/oci/key_management/kms_vault_client.rb +369 -34
- 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 +3 -2
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +3 -2
- data/lib/oci/key_management/models/create_key_details.rb +45 -11
- 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/export_key_details.rb +229 -0
- data/lib/oci/key_management/models/exported_key_data.rb +249 -0
- 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 +265 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
- data/lib/oci/key_management/models/key.rb +72 -16
- data/lib/oci/key_management/models/key_shape.rb +4 -2
- data/lib/oci/key_management/models/key_summary.rb +53 -11
- 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 +55 -15
- data/lib/oci/key_management/models/vault_summary.rb +19 -10
- data/lib/oci/key_management/models/vault_usage.rb +196 -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 +2 -1
- data/lib/oci/limits/limits_client.rb +10 -16
- data/lib/oci/limits/limits_client_composite_operations.rb +2 -1
- data/lib/oci/limits/models/create_quota_details.rb +2 -1
- data/lib/oci/limits/models/limit_definition_summary.rb +2 -1
- data/lib/oci/limits/models/limit_value_summary.rb +2 -1
- data/lib/oci/limits/models/quota.rb +2 -1
- data/lib/oci/limits/models/quota_summary.rb +2 -1
- data/lib/oci/limits/models/resource_availability.rb +2 -1
- data/lib/oci/limits/models/service_summary.rb +2 -1
- data/lib/oci/limits/models/update_quota_details.rb +2 -1
- data/lib/oci/limits/quotas_client.rb +11 -16
- data/lib/oci/limits/quotas_client_composite_operations.rb +2 -1
- data/lib/oci/limits/util.rb +2 -1
- data/lib/oci/load_balancer/load_balancer.rb +13 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +447 -16
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +212 -1
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +4 -2
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +2 -1
- data/lib/oci/load_balancer/models/backend.rb +2 -1
- data/lib/oci/load_balancer/models/backend_details.rb +2 -1
- data/lib/oci/load_balancer/models/backend_health.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +2 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +2 -1
- 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 +46 -2
- 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/create_ssl_cipher_suite_details.rb +445 -0
- 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 +2 -1
- data/lib/oci/load_balancer/models/health_checker_details.rb +2 -1
- 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/http_header_rule.rb +188 -0
- data/lib/oci/load_balancer/models/ip_address.rb +19 -5
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +29 -2
- 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 -3
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
- data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → load_balancer/models/reserved_ip.rb} +12 -13
- data/lib/oci/load_balancer/models/rule.rb +6 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +4 -1
- 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 +2 -1
- data/lib/oci/load_balancer/models/shape_details.rb +180 -0
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +2 -1
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +2 -1
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +2 -1
- data/lib/oci/load_balancer/models/ssl_cipher_suite.rb +445 -0
- data/lib/oci/load_balancer/models/ssl_cipher_suite_details.rb +445 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +142 -25
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +135 -25
- data/lib/oci/load_balancer/models/update_backend_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +2 -1
- 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_load_balancer_shape_details.rb +179 -0
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +2 -1
- 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/update_ssl_cipher_suite_details.rb +259 -0
- data/lib/oci/load_balancer/models/work_request.rb +17 -2
- data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
- data/lib/oci/load_balancer/util.rb +2 -1
- data/lib/oci/log_analytics/log_analytics.rb +290 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +9002 -0
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +685 -0
- data/lib/oci/log_analytics/models/abstract_column.rb +386 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +330 -0
- data/lib/oci/log_analytics/models/abstract_field.rb +354 -0
- data/lib/oci/log_analytics/models/abstract_parser_test_result_log_entry.rb +234 -0
- data/lib/oci/log_analytics/models/abstract_parser_test_result_log_line.rb +168 -0
- data/lib/oci/log_analytics/models/action.rb +187 -0
- data/lib/oci/log_analytics/models/action_types.rb +14 -0
- data/lib/oci/log_analytics/models/add_entity_association_details.rb +156 -0
- data/lib/oci/log_analytics/models/add_fields_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/archiving_configuration.rb +174 -0
- data/lib/oci/log_analytics/models/argument.rb +189 -0
- data/lib/oci/log_analytics/models/association_summary_report.rb +154 -0
- data/lib/oci/log_analytics/models/auto_lookups.rb +168 -0
- data/lib/oci/log_analytics/models/bottom_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/bucket_command_descriptor.rb +223 -0
- data/lib/oci/log_analytics/models/bucket_range.rb +178 -0
- data/lib/oci/log_analytics/models/change_log_analytics_entity_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_log_analytics_log_group_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_scheduled_task_compartment_details.rb +155 -0
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +150 -0
- data/lib/oci/log_analytics/models/chart_column.rb +241 -0
- data/lib/oci/log_analytics/models/chart_data_column.rb +219 -0
- data/lib/oci/log_analytics/models/classify_column.rb +294 -0
- data/lib/oci/log_analytics/models/classify_command_descriptor.rb +210 -0
- data/lib/oci/log_analytics/models/cluster_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cluster_compare_command_descriptor.rb +257 -0
- data/lib/oci/log_analytics/models/cluster_details_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cluster_split_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/column.rb +186 -0
- data/lib/oci/log_analytics/models/column_name.rb +150 -0
- data/lib/oci/log_analytics/models/column_name_collection.rb +150 -0
- data/lib/oci/log_analytics/models/command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/create_acceleration_task_details.rb +181 -0
- data/lib/oci/log_analytics/models/create_log_analytics_entity_details.rb +298 -0
- data/lib/oci/log_analytics/models/create_log_analytics_entity_type_details.rb +172 -0
- data/lib/oci/log_analytics/models/create_log_analytics_log_group_details.rb +216 -0
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +380 -0
- data/lib/oci/log_analytics/models/create_scheduled_task_details.rb +245 -0
- data/lib/oci/log_analytics/models/create_standard_task_details.rb +216 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +178 -0
- data/lib/oci/log_analytics/models/delete_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/delete_log_analytics_association.rb +234 -0
- data/lib/oci/log_analytics/models/delete_log_analytics_association_details.rb +164 -0
- data/lib/oci/log_analytics/models/delta_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/demo_mode_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/distinct_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/efd_regex_result.rb +263 -0
- data/lib/oci/log_analytics/models/entity_cloud_type.rb +11 -0
- data/lib/oci/log_analytics/models/entity_lifecycle_states.rb +11 -0
- data/lib/oci/log_analytics/models/entity_type_property.rb +163 -0
- data/lib/oci/log_analytics/models/error_details.rb +160 -0
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +226 -0
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +155 -0
- data/lib/oci/log_analytics/models/eval_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/event_stats_command_descriptor.rb +195 -0
- data/lib/oci/log_analytics/models/export_content.rb +182 -0
- data/lib/oci/log_analytics/models/export_details.rb +358 -0
- data/lib/oci/log_analytics/models/extended_fields_validation_result.rb +150 -0
- data/lib/oci/log_analytics/models/extract_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +150 -0
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +168 -0
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +168 -0
- data/lib/oci/log_analytics/models/field.rb +182 -0
- data/lib/oci/log_analytics/models/field_argument.rb +158 -0
- data/lib/oci/log_analytics/models/field_summary_command_descriptor.rb +186 -0
- data/lib/oci/log_analytics/models/field_summary_report.rb +182 -0
- data/lib/oci/log_analytics/models/field_value.rb +186 -0
- data/lib/oci/log_analytics/models/fields_add_remove_field.rb +216 -0
- data/lib/oci/log_analytics/models/fields_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/file_validation_response.rb +178 -0
- data/lib/oci/log_analytics/models/filter.rb +207 -0
- data/lib/oci/log_analytics/models/filter_details.rb +193 -0
- data/lib/oci/log_analytics/models/filter_output.rb +186 -0
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +189 -0
- data/lib/oci/log_analytics/models/function_field.rb +207 -0
- data/lib/oci/log_analytics/models/head_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/highlight_command_descriptor.rb +202 -0
- data/lib/oci/log_analytics/models/highlight_rows_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/indexes.rb +168 -0
- data/lib/oci/log_analytics/models/job_mode.rb +11 -0
- data/lib/oci/log_analytics/models/job_mode_filter.rb +12 -0
- data/lib/oci/log_analytics/models/label_names.rb +154 -0
- data/lib/oci/log_analytics/models/label_priority.rb +174 -0
- data/lib/oci/log_analytics/models/label_priority_collection.rb +150 -0
- data/lib/oci/log_analytics/models/label_source_collection.rb +151 -0
- data/lib/oci/log_analytics/models/label_source_summary.rb +238 -0
- data/lib/oci/log_analytics/models/label_summary_report.rb +168 -0
- data/lib/oci/log_analytics/models/lifecycle_states.rb +11 -0
- data/lib/oci/log_analytics/models/link_command_descriptor.rb +214 -0
- data/lib/oci/log_analytics/models/link_details_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/literal_argument.rb +175 -0
- data/lib/oci/log_analytics/models/log_analytics_associated_entity.rb +224 -0
- data/lib/oci/log_analytics/models/log_analytics_associated_entity_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_association.rb +398 -0
- data/lib/oci/log_analytics/models/log_analytics_association_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_association_parameter.rb +283 -0
- data/lib/oci/log_analytics/models/log_analytics_association_parameter_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request.rb +299 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_payload.rb +182 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_summary.rb +275 -0
- data/lib/oci/log_analytics/models/log_analytics_entity.rb +450 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +396 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_summary_report.rb +200 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type.rb +302 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type_summary.rb +277 -0
- data/lib/oci/log_analytics/models/log_analytics_extended_field.rb +232 -0
- data/lib/oci/log_analytics/models/log_analytics_field.rb +428 -0
- data/lib/oci/log_analytics/models/log_analytics_field_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +425 -0
- data/lib/oci/log_analytics/models/log_analytics_import_custom_change_list.rb +266 -0
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +209 -0
- data/lib/oci/log_analytics/models/log_analytics_label.rb +337 -0
- data/lib/oci/log_analytics/models/log_analytics_label_alias.rb +239 -0
- data/lib/oci/log_analytics/models/log_analytics_label_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_label_definition.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_label_operator.rb +164 -0
- data/lib/oci/log_analytics/models/log_analytics_label_operator_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_label_summary.rb +337 -0
- data/lib/oci/log_analytics/models/log_analytics_label_view.rb +341 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group.rb +258 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group_summary.rb +258 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group_summary_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +308 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function.rb +226 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function_argument.rb +322 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_source_type.rb +244 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_source_type_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_metric.rb +466 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +473 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +343 -0
- data/lib/oci/log_analytics/models/log_analytics_operation_types.rb +11 -0
- data/lib/oci/log_analytics/models/log_analytics_parameter.rb +202 -0
- data/lib/oci/log_analytics/models/log_analytics_parser.rb +540 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_field.rb +270 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +225 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function.rb +279 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function_parameter.rb +237 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin.rb +188 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_parameter.rb +212 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_summary.rb +540 -0
- data/lib/oci/log_analytics/models/log_analytics_pattern_filter.rb +238 -0
- data/lib/oci/log_analytics/models/log_analytics_source.rb +598 -0
- data/lib/oci/log_analytics/models/log_analytics_source_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_data_filter.rb +348 -0
- data/lib/oci/log_analytics/models/log_analytics_source_entity_type.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition.rb +359 -0
- data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_function.rb +295 -0
- data/lib/oci/log_analytics/models/log_analytics_source_label_condition.rb +388 -0
- data/lib/oci/log_analytics/models/log_analytics_source_metadata_field.rb +206 -0
- data/lib/oci/log_analytics/models/log_analytics_source_metric.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_source_pattern.rb +397 -0
- data/lib/oci/log_analytics/models/log_analytics_source_pattern_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_summary.rb +598 -0
- data/lib/oci/log_analytics/models/log_group_summary_report.rb +150 -0
- data/lib/oci/log_analytics/models/lookup_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/lookup_field.rb +230 -0
- data/lib/oci/log_analytics/models/macro_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/match_info.rb +182 -0
- data/lib/oci/log_analytics/models/multi_search_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/namespace.rb +183 -0
- data/lib/oci/log_analytics/models/namespace_collection.rb +152 -0
- data/lib/oci/log_analytics/models/namespace_summary.rb +180 -0
- data/lib/oci/log_analytics/models/object_collection_rule_collection_types.rb +12 -0
- data/lib/oci/log_analytics/models/operation_status.rb +15 -0
- data/lib/oci/log_analytics/models/parse_query_details.rb +182 -0
- data/lib/oci/log_analytics/models/parse_query_output.rb +208 -0
- data/lib/oci/log_analytics/models/parsed_content.rb +224 -0
- data/lib/oci/log_analytics/models/parsed_field.rb +168 -0
- data/lib/oci/log_analytics/models/parser_summary_report.rb +168 -0
- data/lib/oci/log_analytics/models/parser_test_result.rb +202 -0
- data/lib/oci/log_analytics/models/property_override.rb +201 -0
- data/lib/oci/log_analytics/models/purge_action.rb +246 -0
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +226 -0
- data/lib/oci/log_analytics/models/query_aggregation.rb +264 -0
- data/lib/oci/log_analytics/models/query_details.rb +401 -0
- data/lib/oci/log_analytics/models/query_operation_type.rb +11 -0
- data/lib/oci/log_analytics/models/query_work_request.rb +440 -0
- data/lib/oci/log_analytics/models/query_work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/query_work_request_summary.rb +335 -0
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +210 -0
- data/lib/oci/log_analytics/models/regex_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/regex_match_result.rb +210 -0
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +210 -0
- data/lib/oci/log_analytics/models/remove_entity_associations_details.rb +156 -0
- data/lib/oci/log_analytics/models/rename_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/result_column.rb +205 -0
- data/lib/oci/log_analytics/models/schedule.rb +223 -0
- data/lib/oci/log_analytics/models/scheduled_task.rb +398 -0
- data/lib/oci/log_analytics/models/scheduled_task_collection.rb +150 -0
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +344 -0
- data/lib/oci/log_analytics/models/scheduler_resource.rb +154 -0
- data/lib/oci/log_analytics/models/scope_filter.rb +167 -0
- data/lib/oci/log_analytics/models/search_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/search_lookup_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/sort_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/sort_field.rb +216 -0
- data/lib/oci/log_analytics/models/source_mapping_response.rb +154 -0
- data/lib/oci/log_analytics/models/source_summary_report.rb +182 -0
- data/lib/oci/log_analytics/models/source_validate_details.rb +160 -0
- data/lib/oci/log_analytics/models/source_validate_results.rb +150 -0
- data/lib/oci/log_analytics/models/stats_command_descriptor.rb +195 -0
- data/lib/oci/log_analytics/models/status_summary.rb +202 -0
- data/lib/oci/log_analytics/models/step_info.rb +182 -0
- data/lib/oci/log_analytics/models/storage.rb +170 -0
- data/lib/oci/log_analytics/models/storage_data_type.rb +11 -0
- data/lib/oci/log_analytics/models/storage_operation_type.rb +15 -0
- data/lib/oci/log_analytics/models/storage_usage.rb +182 -0
- data/lib/oci/log_analytics/models/storage_work_request.rb +469 -0
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +466 -0
- data/lib/oci/log_analytics/models/stream_action.rb +162 -0
- data/lib/oci/log_analytics/models/sub_system_name.rb +10 -0
- data/lib/oci/log_analytics/models/success.rb +150 -0
- data/lib/oci/log_analytics/models/suggest_details.rb +214 -0
- data/lib/oci/log_analytics/models/suggest_output.rb +222 -0
- data/lib/oci/log_analytics/models/tail_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/task_type.rb +13 -0
- data/lib/oci/log_analytics/models/test_parser_payload_details.rb +463 -0
- data/lib/oci/log_analytics/models/time_column.rb +211 -0
- data/lib/oci/log_analytics/models/time_compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/time_range.rb +188 -0
- data/lib/oci/log_analytics/models/time_stats_command_descriptor.rb +217 -0
- data/lib/oci/log_analytics/models/timezone_collection.rb +150 -0
- data/lib/oci/log_analytics/models/top_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/trend_column.rb +269 -0
- data/lib/oci/log_analytics/models/ui_parser_test_metadata.rb +182 -0
- data/lib/oci/log_analytics/models/update_log_analytics_entity_details.rb +238 -0
- data/lib/oci/log_analytics/models/update_log_analytics_entity_type_details.rb +161 -0
- data/lib/oci/log_analytics/models/update_log_analytics_log_group_details.rb +202 -0
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +258 -0
- data/lib/oci/log_analytics/models/update_scheduled_task_details.rb +202 -0
- data/lib/oci/log_analytics/models/update_storage_details.rb +154 -0
- data/lib/oci/log_analytics/models/upload.rb +231 -0
- data/lib/oci/log_analytics/models/upload_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_file_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_file_status.rb +168 -0
- data/lib/oci/log_analytics/models/upload_file_summary.rb +359 -0
- data/lib/oci/log_analytics/models/upload_summary.rb +230 -0
- data/lib/oci/log_analytics/models/upload_warning_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +188 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_association.rb +248 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_association_details.rb +164 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_field_details.rb +202 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_label_details.rb +296 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_parser_details.rb +440 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_source_details.rb +500 -0
- data/lib/oci/log_analytics/models/usage_status_item.rb +196 -0
- data/lib/oci/log_analytics/models/value_type.rb +17 -0
- data/lib/oci/log_analytics/models/verify_output.rb +216 -0
- data/lib/oci/log_analytics/models/violation.rb +226 -0
- data/lib/oci/log_analytics/models/where_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/work_request.rb +306 -0
- data/lib/oci/log_analytics/models/work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_error.rb +173 -0
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_log.rb +160 -0
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_resource.rb +219 -0
- data/lib/oci/log_analytics/models/work_request_status.rb +14 -0
- data/lib/oci/log_analytics/models/work_request_summary.rb +258 -0
- data/lib/oci/log_analytics/util.rb +3 -0
- data/lib/oci/logging/logging.rb +90 -0
- data/lib/oci/logging/logging_management_client.rb +2312 -0
- data/lib/oci/logging/logging_management_client_composite_operations.rb +794 -0
- data/lib/oci/logging/models/action_types.rb +14 -0
- data/lib/oci/logging/models/archiving.rb +156 -0
- data/lib/oci/logging/models/category.rb +174 -0
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +154 -0
- data/lib/oci/logging/models/change_log_log_group_details.rb +154 -0
- data/lib/oci/logging/models/change_log_saved_search_compartment_details.rb +155 -0
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +154 -0
- data/lib/oci/logging/models/configuration.rb +174 -0
- data/lib/oci/logging/models/create_log_details.rb +259 -0
- data/lib/oci/logging/models/create_log_group_details.rb +215 -0
- data/lib/oci/logging/models/create_log_saved_search_details.rb +223 -0
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +258 -0
- data/lib/oci/logging/models/grok_pattern.rb +202 -0
- data/lib/oci/logging/models/group_association_details.rb +154 -0
- data/lib/oci/logging/models/log.rb +383 -0
- data/lib/oci/logging/models/log_group.rb +291 -0
- data/lib/oci/logging/models/log_group_lifecycle_state.rb +15 -0
- data/lib/oci/logging/models/log_group_summary.rb +291 -0
- data/lib/oci/logging/models/log_included_search.rb +251 -0
- data/lib/oci/logging/models/log_included_search_summary.rb +195 -0
- data/lib/oci/logging/models/log_included_search_summary_collection.rb +150 -0
- data/lib/oci/logging/models/log_lifecycle_state.rb +15 -0
- data/lib/oci/logging/models/log_saved_search.rb +300 -0
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +15 -0
- data/lib/oci/logging/models/log_saved_search_summary.rb +300 -0
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +151 -0
- data/lib/oci/logging/models/log_summary.rb +369 -0
- data/lib/oci/logging/models/oci_service.rb +188 -0
- data/lib/oci/logging/models/operation_status.rb +15 -0
- data/lib/oci/logging/models/operation_types.rb +21 -0
- data/lib/oci/logging/models/parameter.rb +191 -0
- data/lib/oci/logging/models/resource_type.rb +160 -0
- data/lib/oci/logging/models/service_summary.rb +222 -0
- data/lib/oci/logging/models/source.rb +191 -0
- data/lib/oci/logging/models/source_update_details.rb +150 -0
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_auditd_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_configuration.rb +368 -0
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +150 -0
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +372 -0
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +194 -0
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +211 -0
- data/lib/oci/logging/models/unified_agent_logging_configuration.rb +166 -0
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +154 -0
- data/lib/oci/logging/models/unified_agent_logging_source.rb +201 -0
- data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +224 -0
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +198 -0
- data/lib/oci/logging/models/unified_agent_none_parser.rb +189 -0
- data/lib/oci/logging/models/unified_agent_parser.rb +313 -0
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +198 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +189 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_states.rb +11 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_types.rb +10 -0
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +294 -0
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +170 -0
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +194 -0
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +161 -0
- data/lib/oci/logging/models/unified_json_parser.rb +223 -0
- data/lib/oci/logging/models/update_configuration_details.rb +159 -0
- data/lib/oci/logging/models/update_log_details.rb +230 -0
- data/lib/oci/logging/models/update_log_group_details.rb +201 -0
- data/lib/oci/logging/models/update_log_saved_search_details.rb +209 -0
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +244 -0
- data/lib/oci/logging/models/work_request.rb +307 -0
- data/lib/oci/logging/models/work_request_error.rb +173 -0
- data/lib/oci/logging/models/work_request_log.rb +160 -0
- data/lib/oci/logging/models/work_request_resource.rb +219 -0
- data/lib/oci/logging/models/work_request_summary.rb +307 -0
- data/lib/oci/logging/util.rb +3 -0
- data/lib/oci/loggingingestion/logging_client.rb +170 -0
- data/lib/oci/loggingingestion/logging_client_composite_operations.rb +25 -0
- data/lib/oci/loggingingestion/loggingingestion.rb +22 -0
- data/lib/oci/loggingingestion/models/log_entry.rb +177 -0
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +201 -0
- data/lib/oci/loggingingestion/models/put_logs_details.rb +167 -0
- data/lib/oci/loggingingestion/util.rb +3 -0
- data/lib/oci/loggingsearch/log_search_client.rb +170 -0
- data/lib/oci/loggingsearch/log_search_client_composite_operations.rb +25 -0
- data/lib/oci/loggingsearch/loggingsearch.rb +24 -0
- data/lib/oci/loggingsearch/models/field_info.rb +195 -0
- data/lib/oci/loggingsearch/models/search_logs_details.rb +202 -0
- data/lib/oci/loggingsearch/models/search_response.rb +170 -0
- data/lib/oci/loggingsearch/models/search_result.rb +150 -0
- data/lib/oci/loggingsearch/models/search_result_summary.rb +168 -0
- data/lib/oci/loggingsearch/util.rb +3 -0
- data/lib/oci/management_agent/management_agent.rb +50 -0
- data/lib/oci/management_agent/management_agent_client.rb +1483 -0
- data/lib/oci/management_agent/management_agent_client_composite_operations.rb +273 -0
- data/lib/oci/management_agent/models/action_types.rb +14 -0
- data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
- data/lib/oci/management_agent/models/availability_status.rb +12 -0
- data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +196 -0
- data/lib/oci/management_agent/models/datatypes.rb +14 -0
- data/lib/oci/management_agent/models/deploy_plugins_details.rb +182 -0
- data/lib/oci/management_agent/models/edit_modes.rb +12 -0
- data/lib/oci/management_agent/models/lifecycle_states.rb +17 -0
- data/lib/oci/management_agent/models/management_agent.rb +477 -0
- data/lib/oci/management_agent/models/management_agent_error.rb +160 -0
- data/lib/oci/management_agent/models/management_agent_image.rb +268 -0
- data/lib/oci/management_agent/models/management_agent_image_summary.rb +281 -0
- data/lib/oci/management_agent/models/management_agent_install_key.rb +326 -0
- data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +302 -0
- data/lib/oci/management_agent/models/management_agent_plugin.rb +257 -0
- data/lib/oci/management_agent/models/management_agent_plugin_details.rb +196 -0
- data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +264 -0
- data/lib/oci/management_agent/models/management_agent_summary.rb +449 -0
- data/lib/oci/management_agent/models/operation_status.rb +16 -0
- data/lib/oci/management_agent/models/operation_types.rb +12 -0
- data/lib/oci/management_agent/models/platform_types.rb +11 -0
- data/lib/oci/management_agent/models/update_management_agent_details.rb +200 -0
- data/lib/oci/management_agent/models/update_management_agent_install_key_details.rb +168 -0
- data/lib/oci/management_agent/models/work_delivery_status.rb +15 -0
- data/lib/oci/management_agent/models/work_request.rb +308 -0
- data/lib/oci/management_agent/models/work_request_error.rb +173 -0
- data/lib/oci/management_agent/models/work_request_log_entry.rb +160 -0
- data/lib/oci/management_agent/models/work_request_resource.rb +281 -0
- data/lib/oci/management_agent/models/work_request_summary.rb +308 -0
- data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
- data/lib/oci/management_agent/util.rb +3 -0
- data/lib/oci/management_dashboard/dashx_apis_client.rb +1038 -0
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +25 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +39 -0
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +154 -0
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +154 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +408 -0
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +395 -0
- data/lib/oci/management_dashboard/models/lifecycle_states.rb +10 -0
- data/lib/oci/management_dashboard/models/management_dashboard.rb +478 -0
- data/lib/oci/management_dashboard/models/management_dashboard_collection.rb +150 -0
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +182 -0
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +422 -0
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +182 -0
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +375 -0
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +293 -0
- data/lib/oci/management_dashboard/models/management_saved_search.rb +458 -0
- data/lib/oci/management_dashboard/models/management_saved_search_collection.rb +150 -0
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +402 -0
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +462 -0
- data/lib/oci/management_dashboard/models/saved_search_types.rb +13 -0
- data/lib/oci/management_dashboard/models/sort_orders.rb +11 -0
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +394 -0
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +385 -0
- data/lib/oci/management_dashboard/util.rb +3 -0
- data/lib/oci/marketplace/marketplace.rb +56 -0
- data/lib/oci/marketplace/marketplace_client.rb +1258 -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/{streaming/models/archiver_error.rb → marketplace/models/error_entity.rb} +6 -5
- data/lib/oci/marketplace/models/image_listing_package.rb +226 -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 +480 -0
- data/lib/oci/marketplace/models/listing_package.rb +266 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +245 -0
- data/lib/oci/marketplace/models/listing_summary.rb +312 -0
- data/lib/oci/marketplace/models/named_link.rb +160 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +207 -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/tax_summary.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 +2 -1
- 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 +2 -1
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +2 -1
- data/lib/oci/monitoring/models/create_alarm_details.rb +2 -1
- data/lib/oci/monitoring/models/datapoint.rb +2 -1
- data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +2 -1
- data/lib/oci/monitoring/models/metric.rb +2 -1
- data/lib/oci/monitoring/models/metric_data.rb +2 -1
- data/lib/oci/monitoring/models/metric_data_details.rb +2 -1
- 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 +2 -1
- data/lib/oci/monitoring/models/suppression.rb +2 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +2 -1
- data/lib/oci/monitoring/monitoring.rb +2 -1
- data/lib/oci/monitoring/monitoring_client.rb +18 -16
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
- data/lib/oci/monitoring/util.rb +2 -1
- data/lib/oci/mysql/channels_client.rb +625 -0
- data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
- data/lib/oci/mysql/db_backups_client.rb +464 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
- data/lib/oci/mysql/db_system_client.rb +1313 -0
- data/lib/oci/mysql/db_system_client_composite_operations.rb +667 -0
- data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
- data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
- data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
- data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
- data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
- data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/backup.rb +473 -0
- data/lib/oci/mysql/models/backup_policy.rb +235 -0
- data/lib/oci/mysql/models/backup_summary.rb +353 -0
- data/lib/oci/mysql/models/ca_certificate.rb +189 -0
- data/lib/oci/mysql/models/channel.rb +340 -0
- data/lib/oci/mysql/models/channel_source.rb +189 -0
- data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
- data/lib/oci/mysql/models/channel_summary.rb +304 -0
- data/lib/oci/mysql/models/channel_target.rb +189 -0
- data/lib/oci/mysql/models/channel_target_db_system.rb +193 -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 +928 -0
- data/lib/oci/mysql/models/create_backup_details.rb +253 -0
- data/lib/oci/mysql/models/create_backup_policy_details.rb +229 -0
- data/lib/oci/mysql/models/create_channel_details.rb +248 -0
- data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +249 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
- data/lib/oci/mysql/models/create_db_system_source_details.rb +190 -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_from_none_details.rb +146 -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 +555 -0
- data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
- data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
- data/lib/oci/mysql/models/db_system_source.rb +197 -0
- data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
- data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
- data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +349 -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/pem_ca_certificate.rb +158 -0
- data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/shape_summary.rb +224 -0
- data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
- data/lib/oci/mysql/models/update_backup_details.rb +212 -0
- data/lib/oci/mysql/models/update_backup_policy_details.rb +229 -0
- data/lib/oci/mysql/models/update_channel_details.rb +234 -0
- data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
- data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -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 +320 -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 +22 -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 +310 -0
- data/lib/oci/mysql/mysql.rb +97 -0
- data/lib/oci/mysql/mysqlaas_client.rb +619 -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 +384 -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 +240 -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 +380 -0
- data/lib/oci/nosql/models/table_collection.rb +178 -0
- data/lib/oci/nosql/models/table_limits.rb +182 -0
- data/lib/oci/nosql/models/table_summary.rb +332 -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 +1571 -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 +88 -10
- 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 +37 -9
- 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 +27 -8
- 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/reencrypt_object_details.rb +195 -0
- 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/sse_customer_key_details.rb +191 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +41 -12
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +2 -1
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/work_request.rb +7 -6
- 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 +7 -6
- data/lib/oci/object_storage/object_storage.rb +17 -1
- data/lib/oci/object_storage/object_storage_client.rb +1201 -142
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +2 -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 +2 -1
- data/lib/oci/oce/models/create_oce_instance_details.rb +127 -2
- data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
- data/lib/oci/oce/models/license_type.rb +11 -0
- data/lib/oci/oce/models/oce_instance.rb +164 -2
- data/lib/oci/oce/models/oce_instance_summary.rb +132 -2
- data/lib/oci/oce/models/update_oce_instance_details.rb +44 -2
- data/lib/oci/oce/models/work_request.rb +2 -1
- data/lib/oci/oce/models/work_request_error.rb +2 -1
- data/lib/oci/oce/models/work_request_log_entry.rb +2 -1
- data/lib/oci/oce/models/work_request_resource.rb +3 -1
- data/lib/oci/oce/models/workflow_monitor.rb +2 -1
- data/lib/oci/oce/models/workflow_step.rb +2 -1
- data/lib/oci/oce/oce.rb +4 -2
- data/lib/oci/oce/oce_instance_client.rb +18 -20
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +4 -4
- data/lib/oci/oce/util.rb +2 -1
- data/lib/oci/ocvp/esxi_host_client.rb +482 -0
- data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +165 -0
- data/lib/oci/ocvp/models/action_types.rb +14 -0
- data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +156 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +215 -0
- data/lib/oci/ocvp/models/create_sddc_details.rb +475 -0
- data/lib/oci/ocvp/models/esxi_host.rb +332 -0
- data/lib/oci/ocvp/models/esxi_host_collection.rb +150 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +324 -0
- data/lib/oci/ocvp/models/lifecycle_states.rb +15 -0
- data/lib/oci/ocvp/models/operation_status.rb +15 -0
- data/lib/oci/ocvp/models/operation_types.rb +13 -0
- data/lib/oci/ocvp/models/sddc.rb +883 -0
- data/lib/oci/ocvp/models/sddc_collection.rb +150 -0
- data/lib/oci/ocvp/models/sddc_summary.rb +414 -0
- data/lib/oci/ocvp/models/sort_orders.rb +11 -0
- data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +150 -0
- data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +163 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +194 -0
- data/lib/oci/ocvp/models/update_sddc_details.rb +365 -0
- data/lib/oci/ocvp/models/work_request.rb +309 -0
- data/lib/oci/ocvp/models/work_request_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_error.rb +175 -0
- data/lib/oci/ocvp/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_log_entry.rb +163 -0
- data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_resource.rb +222 -0
- data/lib/oci/ocvp/ocvp.rb +48 -0
- data/lib/oci/ocvp/sddc_client.rb +617 -0
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +165 -0
- data/lib/oci/ocvp/util.rb +3 -0
- data/lib/oci/ocvp/work_request_client.rb +365 -0
- data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +2 -1
- data/lib/oci/oda/models/create_oda_instance_details.rb +2 -1
- data/lib/oci/oda/models/error_body.rb +2 -1
- data/lib/oci/oda/models/oda_instance.rb +8 -1
- data/lib/oci/oda/models/oda_instance_summary.rb +8 -1
- data/lib/oci/oda/models/update_oda_instance_details.rb +2 -1
- data/lib/oci/oda/models/work_request.rb +4 -1
- data/lib/oci/oda/models/work_request_error.rb +2 -1
- data/lib/oci/oda/models/work_request_log_entry.rb +2 -1
- data/lib/oci/oda/models/work_request_resource.rb +4 -1
- data/lib/oci/oda/models/work_request_summary.rb +4 -1
- data/lib/oci/oda/oda.rb +2 -1
- data/lib/oci/oda/oda_client.rb +161 -16
- data/lib/oci/oda/oda_client_composite_operations.rb +100 -1
- data/lib/oci/oda/util.rb +2 -1
- data/lib/oci/ons/models/backoff_retry_policy.rb +2 -1
- data/lib/oci/ons/models/change_compartment_details.rb +2 -1
- data/lib/oci/ons/models/confirmation_result.rb +2 -1
- data/lib/oci/ons/models/create_subscription_details.rb +3 -1
- data/lib/oci/ons/models/create_topic_details.rb +2 -1
- 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 +3 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +3 -2
- data/lib/oci/ons/models/publish_result.rb +2 -1
- data/lib/oci/ons/models/subscription.rb +2 -1
- data/lib/oci/ons/models/subscription_summary.rb +2 -1
- 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 +13 -17
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/notification_data_plane_client.rb +26 -18
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/ons.rb +2 -1
- data/lib/oci/ons/util.rb +2 -1
- data/lib/oci/opsi/models/database_details.rb +210 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
- data/lib/oci/opsi/models/database_insights.rb +154 -0
- data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
- data/lib/oci/opsi/models/historical_data_item.rb +165 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
- data/lib/oci/opsi/models/projected_data_item.rb +195 -0
- data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
- data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
- data/lib/oci/opsi/models/resource_statistics.rb +219 -0
- data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
- data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
- data/lib/oci/opsi/models/sort_order.rb +11 -0
- data/lib/oci/opsi/models/sql_bucket.rb +307 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +203 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +260 -0
- data/lib/oci/opsi/models/sql_inventory.rb +182 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
- data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
- data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
- data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
- data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
- data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
- data/lib/oci/opsi/models/sql_statistics.rb +402 -0
- data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
- data/lib/oci/opsi/models/sql_text.rb +248 -0
- data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
- data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
- data/lib/oci/opsi/models/usage_unit.rb +13 -0
- data/lib/oci/opsi/operations_insights_client.rb +2027 -0
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
- data/lib/oci/opsi/opsi.rb +72 -0
- data/lib/oci/opsi/util.rb +3 -0
- data/lib/oci/optimizer/models/action.rb +192 -0
- data/lib/oci/optimizer/models/action_type.rb +10 -0
- data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
- data/lib/oci/optimizer/models/category.rb +298 -0
- data/lib/oci/optimizer/models/category_collection.rb +151 -0
- data/lib/oci/optimizer/models/category_summary.rb +298 -0
- data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
- data/lib/oci/{streaming/models/archiver.rb → optimizer/models/enrollment_status.rb} +82 -94
- data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
- data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
- data/lib/oci/optimizer/models/history_collection.rb +151 -0
- data/lib/oci/optimizer/models/history_summary.rb +429 -0
- data/lib/oci/optimizer/models/importance.rb +14 -0
- data/lib/oci/optimizer/models/level_configuration.rb +164 -0
- data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
- data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
- data/lib/oci/optimizer/models/operation_status.rb +15 -0
- data/lib/oci/optimizer/models/operation_type.rb +10 -0
- data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
- data/lib/oci/optimizer/models/profile.rb +305 -0
- data/lib/oci/optimizer/models/profile_collection.rb +151 -0
- data/lib/oci/optimizer/models/profile_summary.rb +303 -0
- data/lib/oci/optimizer/models/recommendation.rb +409 -0
- data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
- data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
- data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
- data/lib/oci/optimizer/models/resource_action.rb +450 -0
- data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
- data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
- data/lib/oci/optimizer/models/resource_count.rb +182 -0
- data/lib/oci/optimizer/models/sort_order.rb +11 -0
- data/lib/oci/optimizer/models/status.rb +13 -0
- data/lib/oci/optimizer/models/supported_level.rb +151 -0
- data/lib/oci/optimizer/models/supported_levels.rb +153 -0
- data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
- data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
- data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
- data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
- data/lib/oci/optimizer/models/work_request.rb +300 -0
- data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
- data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_error.rb +173 -0
- data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
- data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_resource.rb +220 -0
- data/lib/oci/optimizer/optimizer.rb +66 -0
- data/lib/oci/optimizer/optimizer_client.rb +1674 -0
- data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
- data/lib/oci/optimizer/util.rb +3 -0
- 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 +3797 -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 +245 -9
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +2 -1
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +2 -1
- data/lib/oci/resource_manager/models/change_configuration_source_provider_compartment_details.rb +157 -0
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +3 -2
- data/lib/oci/resource_manager/models/compartment_config_source.rb +201 -0
- data/lib/oci/resource_manager/models/config_source.rb +11 -6
- data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +331 -0
- data/lib/oci/resource_manager/models/configuration_source_provider_collection.rb +151 -0
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +293 -0
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_compartment_config_source_details.rb +199 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +6 -3
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +249 -0
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -0
- data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_job_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_stack_details.rb +5 -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 +2 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +2 -1
- data/lib/oci/resource_manager/models/failure_details.rb +4 -1
- data/lib/oci/resource_manager/models/git_config_source.rb +198 -0
- data/lib/oci/resource_manager/models/git_config_source_record.rb +207 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +2 -1
- data/lib/oci/resource_manager/models/job.rb +34 -7
- data/lib/oci/resource_manager/models/job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +2 -1
- data/lib/oci/resource_manager/models/job_summary.rb +13 -2
- data/lib/oci/resource_manager/models/log_entry.rb +6 -2
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +2 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +2 -1
- data/lib/oci/resource_manager/models/resource_discovery_service_collection.rb +151 -0
- data/lib/oci/resource_manager/models/resource_discovery_service_summary.rb +190 -0
- data/lib/oci/resource_manager/models/stack.rb +64 -3
- data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
- data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +305 -0
- data/lib/oci/resource_manager/models/stack_summary.rb +17 -2
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +3 -2
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +2 -1
- data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -3
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +233 -0
- data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -0
- data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +4 -3
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/work_request.rb +16 -4
- data/lib/oci/resource_manager/models/work_request_error.rb +6 -2
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +6 -2
- data/lib/oci/resource_manager/models/work_request_resource.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_summary.rb +14 -4
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
- data/lib/oci/resource_manager/models/zip_upload_config_source_record.rb +146 -0
- data/lib/oci/resource_manager/resource_manager.rb +28 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +701 -47
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +189 -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 +15 -19
- 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/rover/models/change_rover_cluster_compartment_details.rb +155 -0
- data/lib/oci/rover/models/change_rover_entitlement_compartment_details.rb +155 -0
- data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
- data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
- data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
- data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
- data/lib/oci/rover/models/enclosure_type.rb +11 -0
- data/lib/oci/rover/models/lifecycle_state.rb +15 -0
- data/lib/oci/rover/models/node_type.rb +11 -0
- data/lib/oci/rover/models/rover_cluster.rb +610 -0
- data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_cluster_collection.rb +150 -0
- data/lib/oci/rover/models/rover_cluster_summary.rb +305 -0
- data/lib/oci/rover/models/rover_entitlement.rb +363 -0
- data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
- data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
- data/lib/oci/rover/models/rover_node.rb +661 -0
- data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
- data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_node_collection.rb +150 -0
- data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
- data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_summary.rb +323 -0
- data/lib/oci/rover/models/rover_workload.rb +264 -0
- data/lib/oci/rover/models/shipping_address.rb +276 -0
- data/lib/oci/rover/models/sort_orders.rb +11 -0
- data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
- data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
- data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
- data/lib/oci/rover/rover.rb +54 -0
- data/lib/oci/rover/rover_cluster_client.rb +549 -0
- data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_entitlement_client.rb +514 -0
- data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_node_client.rb +738 -0
- data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
- data/lib/oci/rover/util.rb +3 -0
- data/lib/oci/sch/models/action_type.rb +14 -0
- data/lib/oci/sch/models/change_service_connector_compartment_details.rb +157 -0
- data/lib/oci/sch/models/create_service_connector_details.rb +247 -0
- data/lib/oci/sch/models/functions_target_details.rb +164 -0
- data/lib/oci/sch/models/lifecycle_state.rb +16 -0
- data/lib/oci/sch/models/log_rule_task_details.rb +160 -0
- data/lib/oci/sch/models/log_source.rb +186 -0
- data/lib/oci/sch/models/logging_source_details.rb +164 -0
- data/lib/oci/sch/models/monitoring_target_details.rb +194 -0
- data/lib/oci/sch/models/notifications_target_details.rb +164 -0
- data/lib/oci/sch/models/object_storage_target_details.rb +190 -0
- data/lib/oci/sch/models/operation_status.rb +15 -0
- data/lib/oci/sch/models/operation_type.rb +14 -0
- data/lib/oci/sch/models/service_connector.rb +365 -0
- data/lib/oci/sch/models/service_connector_collection.rb +152 -0
- data/lib/oci/sch/models/service_connector_summary.rb +334 -0
- data/lib/oci/sch/models/sort_order.rb +11 -0
- data/lib/oci/sch/models/source_details.rb +190 -0
- data/lib/oci/sch/models/streaming_target_details.rb +164 -0
- data/lib/oci/sch/models/target_details.rb +198 -0
- data/lib/oci/sch/models/task_details.rb +190 -0
- data/lib/oci/sch/models/update_service_connector_details.rb +229 -0
- data/lib/oci/sch/models/work_request.rb +325 -0
- data/lib/oci/sch/models/work_request_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_error.rb +178 -0
- data/lib/oci/sch/models/work_request_error_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_log_entry.rb +165 -0
- data/lib/oci/sch/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_resource.rb +223 -0
- data/lib/oci/sch/sch.rb +49 -0
- data/lib/oci/sch/service_connector_client.rb +970 -0
- data/lib/oci/sch/service_connector_client_composite_operations.rb +329 -0
- data/lib/oci/sch/util.rb +3 -0
- 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 +251 -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 +31 -5
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +2 -1
- 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 +589 -99
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +130 -47
- data/lib/oci/streaming/stream_client.rb +35 -55
- data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
- data/lib/oci/streaming/streaming.rb +17 -7
- data/lib/oci/streaming/util.rb +2 -1
- data/lib/oci/tenant_manager_control_plane/link_client.rb +290 -0
- data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
- data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
- data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
- data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +430 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +440 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
- data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +360 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/models/configuration.rb +161 -0
- data/lib/oci/usage_api/models/configuration_aggregation.rb +150 -0
- data/lib/oci/usage_api/models/dimension.rb +163 -0
- data/lib/oci/usage_api/models/filter.rb +194 -0
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +282 -0
- data/lib/oci/usage_api/models/tag.rb +171 -0
- data/lib/oci/usage_api/models/usage_aggregation.rb +164 -0
- data/lib/oci/usage_api/models/usage_summary.rb +488 -0
- data/lib/oci/usage_api/usage_api.rb +27 -0
- data/lib/oci/usage_api/usageapi_client.rb +225 -0
- data/lib/oci/usage_api/usageapi_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/util.rb +3 -0
- 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 +883 -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 +90 -8
- data/lib/oci/waas/models/access_rule_criteria.rb +69 -32
- data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
- data/lib/oci/waas/models/address_list.rb +2 -1
- data/lib/oci/waas/models/address_list_summary.rb +2 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +2 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +2 -1
- data/lib/oci/waas/models/caching_rule.rb +3 -2
- data/lib/oci/waas/models/caching_rule_criteria.rb +2 -1
- data/lib/oci/waas/models/caching_rule_summary.rb +3 -2
- data/lib/oci/waas/models/captcha.rb +2 -1
- data/lib/oci/waas/models/certificate.rb +2 -1
- data/lib/oci/waas/models/certificate_extensions.rb +2 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +2 -1
- data/lib/oci/waas/models/certificate_public_key_info.rb +2 -1
- data/lib/oci/waas/models/certificate_subject_name.rb +2 -1
- data/lib/oci/waas/models/certificate_summary.rb +2 -1
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +2 -1
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +2 -1
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +2 -1
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +2 -1
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +2 -1
- data/lib/oci/waas/models/create_address_list_details.rb +3 -2
- data/lib/oci/waas/models/create_certificate_details.rb +2 -1
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +2 -1
- data/lib/oci/waas/models/create_http_redirect_details.rb +3 -2
- data/lib/oci/waas/models/create_waas_policy_details.rb +2 -1
- data/lib/oci/waas/models/custom_protection_rule.rb +2 -1
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +15 -5
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +2 -1
- 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 +4 -3
- data/lib/oci/waas/models/http_redirect_summary.rb +4 -3
- data/lib/oci/waas/models/http_redirect_target.rb +4 -3
- 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 +2 -1
- data/lib/oci/waas/models/origin_group_origins.rb +2 -1
- data/lib/oci/waas/models/policy_config.rb +63 -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 +5 -4
- data/lib/oci/waas/models/protection_settings.rb +2 -1
- data/lib/oci/waas/models/purge_cache.rb +2 -1
- 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 +3 -2
- data/lib/oci/waas/models/update_certificate_details.rb +2 -1
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +2 -1
- data/lib/oci/waas/models/update_http_redirect_details.rb +3 -2
- data/lib/oci/waas/models/update_waas_policy_details.rb +2 -1
- data/lib/oci/waas/models/waas_policy.rb +2 -1
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +15 -5
- data/lib/oci/waas/models/waas_policy_summary.rb +2 -1
- data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
- data/lib/oci/waas/models/waf_config.rb +2 -1
- data/lib/oci/waas/models/waf_config_details.rb +2 -1
- data/lib/oci/waas/models/waf_log.rb +4 -3
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- data/lib/oci/waas/redirect_client.rb +13 -17
- data/lib/oci/waas/redirect_client_composite_operations.rb +2 -1
- data/lib/oci/waas/util.rb +2 -1
- data/lib/oci/waas/waas.rb +11 -1
- data/lib/oci/waas/waas_client.rb +96 -38
- data/lib/oci/waas/waas_client_composite_operations.rb +2 -1
- data/lib/oci/waiter.rb +2 -1
- data/lib/oci/work_requests/models/work_request.rb +2 -1
- data/lib/oci/work_requests/models/work_request_error.rb +2 -1
- data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -1
- data/lib/oci/work_requests/models/work_request_resource.rb +2 -1
- data/lib/oci/work_requests/models/work_request_summary.rb +2 -1
- data/lib/oci/work_requests/util.rb +2 -1
- data/lib/oci/work_requests/work_request_client.rb +10 -16
- 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 +2294 -22
- data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
- data/lib/oci/streaming/models/archiver_start_position.rb +0 -10
data/lib/oci/dns/dns_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'
|
|
@@ -51,27 +52,16 @@ module OCI
|
|
|
51
52
|
# 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
|
|
52
53
|
# will not perform any retries
|
|
53
54
|
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
|
54
|
-
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (
|
|
55
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
|
55
56
|
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
|
56
57
|
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
|
57
58
|
# pass it to this constructor.
|
|
58
59
|
#
|
|
59
60
|
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
|
60
61
|
# so try and load the config from the default file.
|
|
61
|
-
config
|
|
62
|
-
|
|
63
|
-
config
|
|
64
|
-
|
|
65
|
-
if signer.nil?
|
|
66
|
-
signer = OCI::Signer.new(
|
|
67
|
-
config.user,
|
|
68
|
-
config.fingerprint,
|
|
69
|
-
config.tenancy,
|
|
70
|
-
config.key_file,
|
|
71
|
-
pass_phrase: config.pass_phrase,
|
|
72
|
-
private_key_content: config.key_content
|
|
73
|
-
)
|
|
74
|
-
end
|
|
62
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
|
63
|
+
|
|
64
|
+
signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
|
|
75
65
|
|
|
76
66
|
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
|
77
67
|
@retry_config = retry_config
|
|
@@ -109,9 +99,13 @@ module OCI
|
|
|
109
99
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
110
100
|
|
|
111
101
|
|
|
112
|
-
# Moves a
|
|
113
|
-
#
|
|
114
|
-
#
|
|
102
|
+
# Moves a resolver into a different compartment along with its protected default view and any endpoints.
|
|
103
|
+
# Zones in the default view are not moved.
|
|
104
|
+
#
|
|
105
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
106
|
+
# @param [OCI::Dns::Models::ChangeResolverCompartmentDetails] change_resolver_compartment_details Details for moving a resolver, along with its protected default view and endpoints, into a
|
|
107
|
+
# different compartment.
|
|
108
|
+
#
|
|
115
109
|
# @param [Hash] opts the optional parameters
|
|
116
110
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
117
111
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -120,28 +114,40 @@ module OCI
|
|
|
120
114
|
# when the field-value is `*`, or having a current representation of the
|
|
121
115
|
# target resource that has an entity-tag matching a member of the list of
|
|
122
116
|
# entity-tags provided in the field-value.
|
|
123
|
-
#
|
|
117
|
+
#
|
|
124
118
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
125
119
|
# of a timeout or server error without risk of executing that same action
|
|
126
120
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
127
121
|
# then due to conflicting operations (for example, if a resource has been
|
|
128
122
|
# deleted and purged from the system, then a retry of the original creation
|
|
129
123
|
# request may be rejected).
|
|
130
|
-
#
|
|
124
|
+
#
|
|
125
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
126
|
+
# to contact Oracle about a particular request, please provide
|
|
127
|
+
# the request ID.
|
|
128
|
+
#
|
|
129
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
130
|
+
#
|
|
131
131
|
# @return [Response] A Response object with data of type nil
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_resolver_compartment.rb.html) to see an example of how to use change_resolver_compartment API.
|
|
133
|
+
def change_resolver_compartment(resolver_id, change_resolver_compartment_details, opts = {})
|
|
134
|
+
logger.debug 'Calling operation DnsClient#change_resolver_compartment.' if logger
|
|
134
135
|
|
|
135
|
-
raise "Missing the required parameter '
|
|
136
|
-
raise "Missing the required parameter '
|
|
137
|
-
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
136
|
+
raise "Missing the required parameter 'resolver_id' when calling change_resolver_compartment." if resolver_id.nil?
|
|
137
|
+
raise "Missing the required parameter 'change_resolver_compartment_details' when calling change_resolver_compartment." if change_resolver_compartment_details.nil?
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
140
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
141
|
+
end
|
|
142
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
143
|
+
|
|
144
|
+
path = '/resolvers/{resolverId}/actions/changeCompartment'.sub('{resolverId}', resolver_id.to_s)
|
|
140
145
|
operation_signing_strategy = :standard
|
|
141
146
|
|
|
142
147
|
# rubocop:disable Style/NegatedIf
|
|
143
148
|
# Query Params
|
|
144
149
|
query_params = {}
|
|
150
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
145
151
|
|
|
146
152
|
# Header Params
|
|
147
153
|
header_params = {}
|
|
@@ -149,13 +155,14 @@ module OCI
|
|
|
149
155
|
header_params[:'content-type'] = 'application/json'
|
|
150
156
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
151
157
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
158
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
152
159
|
# rubocop:enable Style/NegatedIf
|
|
153
160
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
154
161
|
|
|
155
|
-
post_body = @api_client.object_to_http_body(
|
|
162
|
+
post_body = @api_client.object_to_http_body(change_resolver_compartment_details)
|
|
156
163
|
|
|
157
164
|
# rubocop:disable Metrics/BlockLength
|
|
158
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
165
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_resolver_compartment') do
|
|
159
166
|
@api_client.call_api(
|
|
160
167
|
:POST,
|
|
161
168
|
path,
|
|
@@ -177,10 +184,9 @@ module OCI
|
|
|
177
184
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
178
185
|
|
|
179
186
|
|
|
180
|
-
# Moves a
|
|
181
|
-
#
|
|
182
|
-
# @param [
|
|
183
|
-
# @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
|
|
187
|
+
# Moves a steering policy into a different compartment.
|
|
188
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
189
|
+
# @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
|
|
184
190
|
# @param [Hash] opts the optional parameters
|
|
185
191
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
186
192
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -189,28 +195,40 @@ module OCI
|
|
|
189
195
|
# when the field-value is `*`, or having a current representation of the
|
|
190
196
|
# target resource that has an entity-tag matching a member of the list of
|
|
191
197
|
# entity-tags provided in the field-value.
|
|
192
|
-
#
|
|
198
|
+
#
|
|
193
199
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
194
200
|
# of a timeout or server error without risk of executing that same action
|
|
195
201
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
196
202
|
# then due to conflicting operations (for example, if a resource has been
|
|
197
203
|
# deleted and purged from the system, then a retry of the original creation
|
|
198
204
|
# request may be rejected).
|
|
199
|
-
#
|
|
205
|
+
#
|
|
206
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
207
|
+
# to contact Oracle about a particular request, please provide
|
|
208
|
+
# the request ID.
|
|
209
|
+
#
|
|
210
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
211
|
+
#
|
|
200
212
|
# @return [Response] A Response object with data of type nil
|
|
201
|
-
|
|
202
|
-
|
|
213
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_steering_policy_compartment.rb.html) to see an example of how to use change_steering_policy_compartment API.
|
|
214
|
+
def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
|
|
215
|
+
logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
|
|
203
216
|
|
|
204
|
-
raise "Missing the required parameter '
|
|
205
|
-
raise "Missing the required parameter '
|
|
206
|
-
raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
|
|
217
|
+
raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
|
|
218
|
+
raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
|
|
207
219
|
|
|
208
|
-
|
|
220
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
221
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
222
|
+
end
|
|
223
|
+
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
224
|
+
|
|
225
|
+
path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
209
226
|
operation_signing_strategy = :standard
|
|
210
227
|
|
|
211
228
|
# rubocop:disable Style/NegatedIf
|
|
212
229
|
# Query Params
|
|
213
230
|
query_params = {}
|
|
231
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
214
232
|
|
|
215
233
|
# Header Params
|
|
216
234
|
header_params = {}
|
|
@@ -218,13 +236,14 @@ module OCI
|
|
|
218
236
|
header_params[:'content-type'] = 'application/json'
|
|
219
237
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
220
238
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
239
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
221
240
|
# rubocop:enable Style/NegatedIf
|
|
222
241
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
223
242
|
|
|
224
|
-
post_body = @api_client.object_to_http_body(
|
|
243
|
+
post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
|
|
225
244
|
|
|
226
245
|
# rubocop:disable Metrics/BlockLength
|
|
227
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
246
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
|
|
228
247
|
@api_client.call_api(
|
|
229
248
|
:POST,
|
|
230
249
|
path,
|
|
@@ -246,45 +265,66 @@ module OCI
|
|
|
246
265
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
247
266
|
|
|
248
267
|
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
# @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
|
|
268
|
+
# Moves a TSIG key into a different compartment.
|
|
269
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
270
|
+
# @param [OCI::Dns::Models::ChangeTsigKeyCompartmentDetails] change_tsig_key_compartment_details Details for moving a TSIG key into a different compartment.
|
|
253
271
|
# @param [Hash] opts the optional parameters
|
|
254
272
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
255
273
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
274
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
275
|
+
# existence of at least one current representation of the target resource,
|
|
276
|
+
# when the field-value is `*`, or having a current representation of the
|
|
277
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
278
|
+
# entity-tags provided in the field-value.
|
|
279
|
+
#
|
|
256
280
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
257
281
|
# of a timeout or server error without risk of executing that same action
|
|
258
282
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
259
283
|
# then due to conflicting operations (for example, if a resource has been
|
|
260
284
|
# deleted and purged from the system, then a retry of the original creation
|
|
261
285
|
# request may be rejected).
|
|
262
|
-
#
|
|
263
|
-
# @
|
|
264
|
-
|
|
265
|
-
|
|
286
|
+
#
|
|
287
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
288
|
+
# to contact Oracle about a particular request, please provide
|
|
289
|
+
# the request ID.
|
|
290
|
+
#
|
|
291
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
292
|
+
#
|
|
293
|
+
# @return [Response] A Response object with data of type nil
|
|
294
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_tsig_key_compartment.rb.html) to see an example of how to use change_tsig_key_compartment API.
|
|
295
|
+
def change_tsig_key_compartment(tsig_key_id, change_tsig_key_compartment_details, opts = {})
|
|
296
|
+
logger.debug 'Calling operation DnsClient#change_tsig_key_compartment.' if logger
|
|
266
297
|
|
|
267
|
-
raise "Missing the required parameter '
|
|
298
|
+
raise "Missing the required parameter 'tsig_key_id' when calling change_tsig_key_compartment." if tsig_key_id.nil?
|
|
299
|
+
raise "Missing the required parameter 'change_tsig_key_compartment_details' when calling change_tsig_key_compartment." if change_tsig_key_compartment_details.nil?
|
|
268
300
|
|
|
269
|
-
|
|
301
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
302
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
303
|
+
end
|
|
304
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
305
|
+
|
|
306
|
+
path = '/tsigKeys/{tsigKeyId}/actions/changeCompartment'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
270
307
|
operation_signing_strategy = :standard
|
|
271
308
|
|
|
272
309
|
# rubocop:disable Style/NegatedIf
|
|
273
310
|
# Query Params
|
|
274
311
|
query_params = {}
|
|
312
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
275
313
|
|
|
276
314
|
# Header Params
|
|
277
315
|
header_params = {}
|
|
278
316
|
header_params[:accept] = 'application/json'
|
|
279
317
|
header_params[:'content-type'] = 'application/json'
|
|
318
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
280
319
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
320
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
281
321
|
# rubocop:enable Style/NegatedIf
|
|
282
322
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
283
323
|
|
|
284
|
-
post_body = @api_client.object_to_http_body(
|
|
324
|
+
post_body = @api_client.object_to_http_body(change_tsig_key_compartment_details)
|
|
285
325
|
|
|
286
326
|
# rubocop:disable Metrics/BlockLength
|
|
287
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
327
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_tsig_key_compartment') do
|
|
288
328
|
@api_client.call_api(
|
|
289
329
|
:POST,
|
|
290
330
|
path,
|
|
@@ -292,8 +332,7 @@ module OCI
|
|
|
292
332
|
header_params: header_params,
|
|
293
333
|
query_params: query_params,
|
|
294
334
|
operation_signing_strategy: operation_signing_strategy,
|
|
295
|
-
body: post_body
|
|
296
|
-
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
335
|
+
body: post_body
|
|
297
336
|
)
|
|
298
337
|
end
|
|
299
338
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -307,49 +346,67 @@ module OCI
|
|
|
307
346
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
308
347
|
|
|
309
348
|
|
|
310
|
-
#
|
|
311
|
-
# policy permission to answer queries for the specified domain. A steering policy must
|
|
312
|
-
# be attached to a domain for the policy to answer DNS queries for that domain.
|
|
313
|
-
#
|
|
314
|
-
# For the purposes of access control, the attachment is automatically placed
|
|
315
|
-
# into the same compartment as the domain's zone.
|
|
349
|
+
# Moves a view into a different compartment. Protected views cannot have their compartment changed.
|
|
316
350
|
#
|
|
317
|
-
# @param [
|
|
351
|
+
# @param [String] view_id The OCID of the target view.
|
|
352
|
+
# @param [OCI::Dns::Models::ChangeViewCompartmentDetails] change_view_compartment_details Details for moving a view into a different compartment.
|
|
318
353
|
# @param [Hash] opts the optional parameters
|
|
319
354
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
320
355
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
356
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
357
|
+
# existence of at least one current representation of the target resource,
|
|
358
|
+
# when the field-value is `*`, or having a current representation of the
|
|
359
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
360
|
+
# entity-tags provided in the field-value.
|
|
361
|
+
#
|
|
321
362
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
322
363
|
# of a timeout or server error without risk of executing that same action
|
|
323
364
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
324
365
|
# then due to conflicting operations (for example, if a resource has been
|
|
325
366
|
# deleted and purged from the system, then a retry of the original creation
|
|
326
367
|
# request may be rejected).
|
|
327
|
-
#
|
|
328
|
-
# @
|
|
329
|
-
|
|
330
|
-
|
|
368
|
+
#
|
|
369
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
370
|
+
# to contact Oracle about a particular request, please provide
|
|
371
|
+
# the request ID.
|
|
372
|
+
#
|
|
373
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
374
|
+
#
|
|
375
|
+
# @return [Response] A Response object with data of type nil
|
|
376
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_view_compartment.rb.html) to see an example of how to use change_view_compartment API.
|
|
377
|
+
def change_view_compartment(view_id, change_view_compartment_details, opts = {})
|
|
378
|
+
logger.debug 'Calling operation DnsClient#change_view_compartment.' if logger
|
|
331
379
|
|
|
332
|
-
raise "Missing the required parameter '
|
|
380
|
+
raise "Missing the required parameter 'view_id' when calling change_view_compartment." if view_id.nil?
|
|
381
|
+
raise "Missing the required parameter 'change_view_compartment_details' when calling change_view_compartment." if change_view_compartment_details.nil?
|
|
333
382
|
|
|
334
|
-
|
|
383
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
384
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
385
|
+
end
|
|
386
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
387
|
+
|
|
388
|
+
path = '/views/{viewId}/actions/changeCompartment'.sub('{viewId}', view_id.to_s)
|
|
335
389
|
operation_signing_strategy = :standard
|
|
336
390
|
|
|
337
391
|
# rubocop:disable Style/NegatedIf
|
|
338
392
|
# Query Params
|
|
339
393
|
query_params = {}
|
|
394
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
340
395
|
|
|
341
396
|
# Header Params
|
|
342
397
|
header_params = {}
|
|
343
398
|
header_params[:accept] = 'application/json'
|
|
344
399
|
header_params[:'content-type'] = 'application/json'
|
|
400
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
345
401
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
402
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
346
403
|
# rubocop:enable Style/NegatedIf
|
|
347
404
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
348
405
|
|
|
349
|
-
post_body = @api_client.object_to_http_body(
|
|
406
|
+
post_body = @api_client.object_to_http_body(change_view_compartment_details)
|
|
350
407
|
|
|
351
408
|
# rubocop:disable Metrics/BlockLength
|
|
352
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
409
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_view_compartment') do
|
|
353
410
|
@api_client.call_api(
|
|
354
411
|
:POST,
|
|
355
412
|
path,
|
|
@@ -357,8 +414,7 @@ module OCI
|
|
|
357
414
|
header_params: header_params,
|
|
358
415
|
query_params: query_params,
|
|
359
416
|
operation_signing_strategy: operation_signing_strategy,
|
|
360
|
-
body: post_body
|
|
361
|
-
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
417
|
+
body: post_body
|
|
362
418
|
)
|
|
363
419
|
end
|
|
364
420
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -372,39 +428,69 @@ module OCI
|
|
|
372
428
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
373
429
|
|
|
374
430
|
|
|
375
|
-
#
|
|
376
|
-
# query parameter is required if the `Content-Type` header for the
|
|
377
|
-
# request is `text/dns`.
|
|
431
|
+
# Moves a zone into a different compartment. Protected zones cannot have their compartment changed.
|
|
378
432
|
#
|
|
379
|
-
#
|
|
433
|
+
# **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
|
|
434
|
+
#
|
|
435
|
+
# @param [String] zone_id The OCID of the target zone.
|
|
436
|
+
# @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
|
|
380
437
|
# @param [Hash] opts the optional parameters
|
|
381
438
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
382
439
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
383
|
-
# @option opts [String] :
|
|
384
|
-
#
|
|
385
|
-
|
|
386
|
-
|
|
440
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
441
|
+
# existence of at least one current representation of the target resource,
|
|
442
|
+
# when the field-value is `*`, or having a current representation of the
|
|
443
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
444
|
+
# entity-tags provided in the field-value.
|
|
445
|
+
#
|
|
446
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
447
|
+
# of a timeout or server error without risk of executing that same action
|
|
448
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
449
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
450
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
451
|
+
# request may be rejected).
|
|
452
|
+
#
|
|
453
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
454
|
+
# to contact Oracle about a particular request, please provide
|
|
455
|
+
# the request ID.
|
|
456
|
+
#
|
|
457
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
458
|
+
#
|
|
459
|
+
# @return [Response] A Response object with data of type nil
|
|
460
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_zone_compartment.rb.html) to see an example of how to use change_zone_compartment API.
|
|
461
|
+
def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
|
|
462
|
+
logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
|
|
387
463
|
|
|
388
|
-
raise "Missing the required parameter '
|
|
464
|
+
raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
|
|
465
|
+
raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
|
|
389
466
|
|
|
390
|
-
|
|
467
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
468
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
469
|
+
end
|
|
470
|
+
raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
|
|
471
|
+
|
|
472
|
+
path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
|
|
391
473
|
operation_signing_strategy = :standard
|
|
392
474
|
|
|
393
475
|
# rubocop:disable Style/NegatedIf
|
|
394
476
|
# Query Params
|
|
395
477
|
query_params = {}
|
|
396
|
-
query_params[:
|
|
478
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
397
479
|
|
|
398
480
|
# Header Params
|
|
399
481
|
header_params = {}
|
|
400
482
|
header_params[:accept] = 'application/json'
|
|
401
483
|
header_params[:'content-type'] = 'application/json'
|
|
484
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
485
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
486
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
402
487
|
# rubocop:enable Style/NegatedIf
|
|
488
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
403
489
|
|
|
404
|
-
post_body = @api_client.object_to_http_body(
|
|
490
|
+
post_body = @api_client.object_to_http_body(change_zone_compartment_details)
|
|
405
491
|
|
|
406
492
|
# rubocop:disable Metrics/BlockLength
|
|
407
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
493
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
|
|
408
494
|
@api_client.call_api(
|
|
409
495
|
:POST,
|
|
410
496
|
path,
|
|
@@ -412,8 +498,7 @@ module OCI
|
|
|
412
498
|
header_params: header_params,
|
|
413
499
|
query_params: query_params,
|
|
414
500
|
operation_signing_strategy: operation_signing_strategy,
|
|
415
|
-
body: post_body
|
|
416
|
-
return_type: 'OCI::Dns::Models::Zone'
|
|
501
|
+
body: post_body
|
|
417
502
|
)
|
|
418
503
|
end
|
|
419
504
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -427,62 +512,69 @@ module OCI
|
|
|
427
512
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
428
513
|
|
|
429
514
|
|
|
430
|
-
#
|
|
431
|
-
#
|
|
432
|
-
# @param [String]
|
|
515
|
+
# Creates a new resolver endpoint.
|
|
516
|
+
#
|
|
517
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
518
|
+
# @param [OCI::Dns::Models::CreateResolverEndpointDetails] create_resolver_endpoint_details Details for creating a new resolver endpoint.
|
|
433
519
|
# @param [Hash] opts the optional parameters
|
|
434
520
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
435
521
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
436
|
-
# @option opts [String] :
|
|
437
|
-
#
|
|
438
|
-
#
|
|
439
|
-
#
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
#
|
|
446
|
-
#
|
|
447
|
-
#
|
|
448
|
-
#
|
|
449
|
-
# @return [Response] A Response object with data of type
|
|
450
|
-
|
|
451
|
-
|
|
522
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
523
|
+
# of a timeout or server error without risk of executing that same action
|
|
524
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
525
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
526
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
527
|
+
# request may be rejected).
|
|
528
|
+
#
|
|
529
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
530
|
+
# to contact Oracle about a particular request, please provide
|
|
531
|
+
# the request ID.
|
|
532
|
+
#
|
|
533
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
534
|
+
#
|
|
535
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
536
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_resolver_endpoint.rb.html) to see an example of how to use create_resolver_endpoint API.
|
|
537
|
+
def create_resolver_endpoint(resolver_id, create_resolver_endpoint_details, opts = {})
|
|
538
|
+
logger.debug 'Calling operation DnsClient#create_resolver_endpoint.' if logger
|
|
452
539
|
|
|
453
|
-
raise "Missing the required parameter '
|
|
454
|
-
raise "Missing the required parameter '
|
|
455
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
456
|
-
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
540
|
+
raise "Missing the required parameter 'resolver_id' when calling create_resolver_endpoint." if resolver_id.nil?
|
|
541
|
+
raise "Missing the required parameter 'create_resolver_endpoint_details' when calling create_resolver_endpoint." if create_resolver_endpoint_details.nil?
|
|
457
542
|
|
|
458
|
-
|
|
543
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
544
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
545
|
+
end
|
|
546
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
547
|
+
|
|
548
|
+
path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
|
|
459
549
|
operation_signing_strategy = :standard
|
|
460
550
|
|
|
461
551
|
# rubocop:disable Style/NegatedIf
|
|
462
552
|
# Query Params
|
|
463
553
|
query_params = {}
|
|
464
|
-
query_params[:
|
|
554
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
465
555
|
|
|
466
556
|
# Header Params
|
|
467
557
|
header_params = {}
|
|
468
558
|
header_params[:accept] = 'application/json'
|
|
469
559
|
header_params[:'content-type'] = 'application/json'
|
|
470
|
-
header_params[:'
|
|
471
|
-
header_params[:'
|
|
560
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
561
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
472
562
|
# rubocop:enable Style/NegatedIf
|
|
563
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
473
564
|
|
|
474
|
-
post_body =
|
|
565
|
+
post_body = @api_client.object_to_http_body(create_resolver_endpoint_details)
|
|
475
566
|
|
|
476
567
|
# rubocop:disable Metrics/BlockLength
|
|
477
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
568
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_resolver_endpoint') do
|
|
478
569
|
@api_client.call_api(
|
|
479
|
-
:
|
|
570
|
+
:POST,
|
|
480
571
|
path,
|
|
481
572
|
endpoint,
|
|
482
573
|
header_params: header_params,
|
|
483
574
|
query_params: query_params,
|
|
484
575
|
operation_signing_strategy: operation_signing_strategy,
|
|
485
|
-
body: post_body
|
|
576
|
+
body: post_body,
|
|
577
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
486
578
|
)
|
|
487
579
|
end
|
|
488
580
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -496,66 +588,67 @@ module OCI
|
|
|
496
588
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
497
589
|
|
|
498
590
|
|
|
499
|
-
#
|
|
591
|
+
# Creates a new steering policy in the specified compartment. For more information on
|
|
592
|
+
# creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
500
593
|
#
|
|
501
|
-
# @param [
|
|
502
|
-
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
503
|
-
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
594
|
+
# @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
|
|
504
595
|
# @param [Hash] opts the optional parameters
|
|
505
596
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
506
597
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
507
|
-
# @option opts [String] :
|
|
508
|
-
#
|
|
509
|
-
#
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
#
|
|
517
|
-
#
|
|
518
|
-
#
|
|
519
|
-
#
|
|
520
|
-
# @return [Response] A Response object with data of type
|
|
521
|
-
|
|
522
|
-
|
|
598
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
599
|
+
# of a timeout or server error without risk of executing that same action
|
|
600
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
601
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
602
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
603
|
+
# request may be rejected).
|
|
604
|
+
#
|
|
605
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
606
|
+
# to contact Oracle about a particular request, please provide
|
|
607
|
+
# the request ID.
|
|
608
|
+
#
|
|
609
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
610
|
+
#
|
|
611
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
612
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_steering_policy.rb.html) to see an example of how to use create_steering_policy API.
|
|
613
|
+
def create_steering_policy(create_steering_policy_details, opts = {})
|
|
614
|
+
logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
|
|
523
615
|
|
|
524
|
-
raise "Missing the required parameter '
|
|
525
|
-
raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
|
|
526
|
-
raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
|
|
527
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
528
|
-
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
529
|
-
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
616
|
+
raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
|
|
530
617
|
|
|
531
|
-
|
|
618
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
619
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
path = '/steeringPolicies'
|
|
532
623
|
operation_signing_strategy = :standard
|
|
533
624
|
|
|
534
625
|
# rubocop:disable Style/NegatedIf
|
|
535
626
|
# Query Params
|
|
536
627
|
query_params = {}
|
|
537
|
-
query_params[:
|
|
628
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
538
629
|
|
|
539
630
|
# Header Params
|
|
540
631
|
header_params = {}
|
|
541
632
|
header_params[:accept] = 'application/json'
|
|
542
633
|
header_params[:'content-type'] = 'application/json'
|
|
543
|
-
header_params[:'
|
|
544
|
-
header_params[:'
|
|
634
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
635
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
545
636
|
# rubocop:enable Style/NegatedIf
|
|
637
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
546
638
|
|
|
547
|
-
post_body =
|
|
639
|
+
post_body = @api_client.object_to_http_body(create_steering_policy_details)
|
|
548
640
|
|
|
549
641
|
# rubocop:disable Metrics/BlockLength
|
|
550
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
642
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
|
|
551
643
|
@api_client.call_api(
|
|
552
|
-
:
|
|
644
|
+
:POST,
|
|
553
645
|
path,
|
|
554
646
|
endpoint,
|
|
555
647
|
header_params: header_params,
|
|
556
648
|
query_params: query_params,
|
|
557
649
|
operation_signing_strategy: operation_signing_strategy,
|
|
558
|
-
body: post_body
|
|
650
|
+
body: post_body,
|
|
651
|
+
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
559
652
|
)
|
|
560
653
|
end
|
|
561
654
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -569,61 +662,71 @@ module OCI
|
|
|
569
662
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
570
663
|
|
|
571
664
|
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
#
|
|
577
|
-
#
|
|
665
|
+
# Creates a new attachment between a steering policy and a domain, giving the
|
|
666
|
+
# policy permission to answer queries for the specified domain. A steering policy must
|
|
667
|
+
# be attached to a domain for the policy to answer DNS queries for that domain.
|
|
668
|
+
#
|
|
669
|
+
# For the purposes of access control, the attachment is automatically placed
|
|
670
|
+
# into the same compartment as the domain's zone.
|
|
671
|
+
#
|
|
672
|
+
# @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
|
|
578
673
|
# @param [Hash] opts the optional parameters
|
|
579
674
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
580
675
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
581
|
-
# @option opts [String] :
|
|
582
|
-
#
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
#
|
|
591
|
-
#
|
|
592
|
-
#
|
|
593
|
-
#
|
|
594
|
-
|
|
595
|
-
|
|
676
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
677
|
+
# of a timeout or server error without risk of executing that same action
|
|
678
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
679
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
680
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
681
|
+
# request may be rejected).
|
|
682
|
+
#
|
|
683
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
684
|
+
# to contact Oracle about a particular request, please provide
|
|
685
|
+
# the request ID.
|
|
686
|
+
#
|
|
687
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
688
|
+
#
|
|
689
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
690
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_steering_policy_attachment.rb.html) to see an example of how to use create_steering_policy_attachment API.
|
|
691
|
+
def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
|
|
692
|
+
logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
|
|
596
693
|
|
|
597
|
-
raise "Missing the required parameter '
|
|
598
|
-
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
694
|
+
raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
|
|
599
695
|
|
|
600
|
-
|
|
696
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
697
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
path = '/steeringPolicyAttachments'
|
|
601
701
|
operation_signing_strategy = :standard
|
|
602
702
|
|
|
603
703
|
# rubocop:disable Style/NegatedIf
|
|
604
704
|
# Query Params
|
|
605
705
|
query_params = {}
|
|
706
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
606
707
|
|
|
607
708
|
# Header Params
|
|
608
709
|
header_params = {}
|
|
609
710
|
header_params[:accept] = 'application/json'
|
|
610
711
|
header_params[:'content-type'] = 'application/json'
|
|
611
|
-
header_params[:'
|
|
612
|
-
header_params[:'
|
|
712
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
713
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
613
714
|
# rubocop:enable Style/NegatedIf
|
|
715
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
614
716
|
|
|
615
|
-
post_body =
|
|
717
|
+
post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
|
|
616
718
|
|
|
617
719
|
# rubocop:disable Metrics/BlockLength
|
|
618
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
720
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
|
|
619
721
|
@api_client.call_api(
|
|
620
|
-
:
|
|
722
|
+
:POST,
|
|
621
723
|
path,
|
|
622
724
|
endpoint,
|
|
623
725
|
header_params: header_params,
|
|
624
726
|
query_params: query_params,
|
|
625
727
|
operation_signing_strategy: operation_signing_strategy,
|
|
626
|
-
body: post_body
|
|
728
|
+
body: post_body,
|
|
729
|
+
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
627
730
|
)
|
|
628
731
|
end
|
|
629
732
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -637,59 +740,58 @@ module OCI
|
|
|
637
740
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
638
741
|
|
|
639
742
|
|
|
640
|
-
#
|
|
641
|
-
#
|
|
743
|
+
# Creates a new TSIG key in the specified compartment. There is no
|
|
744
|
+
# `opc-retry-token` header since TSIG key names must be globally unique.
|
|
642
745
|
#
|
|
643
|
-
# @param [
|
|
746
|
+
# @param [OCI::Dns::Models::CreateTsigKeyDetails] create_tsig_key_details Details for creating a new TSIG key.
|
|
644
747
|
# @param [Hash] opts the optional parameters
|
|
645
748
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
646
749
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
647
|
-
# @option opts [String] :
|
|
648
|
-
#
|
|
649
|
-
#
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
#
|
|
653
|
-
# @
|
|
654
|
-
#
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
# agent does not have an entity-tag for the representation.
|
|
658
|
-
# (default to nil)
|
|
659
|
-
# @return [Response] A Response object with data of type nil
|
|
660
|
-
def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
|
|
661
|
-
logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
|
|
750
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
751
|
+
# to contact Oracle about a particular request, please provide
|
|
752
|
+
# the request ID.
|
|
753
|
+
#
|
|
754
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
755
|
+
#
|
|
756
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
757
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_tsig_key.rb.html) to see an example of how to use create_tsig_key API.
|
|
758
|
+
def create_tsig_key(create_tsig_key_details, opts = {})
|
|
759
|
+
logger.debug 'Calling operation DnsClient#create_tsig_key.' if logger
|
|
662
760
|
|
|
663
|
-
raise "Missing the required parameter '
|
|
664
|
-
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
761
|
+
raise "Missing the required parameter 'create_tsig_key_details' when calling create_tsig_key." if create_tsig_key_details.nil?
|
|
665
762
|
|
|
666
|
-
|
|
763
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
764
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
765
|
+
end
|
|
766
|
+
|
|
767
|
+
path = '/tsigKeys'
|
|
667
768
|
operation_signing_strategy = :standard
|
|
668
769
|
|
|
669
770
|
# rubocop:disable Style/NegatedIf
|
|
670
771
|
# Query Params
|
|
671
772
|
query_params = {}
|
|
773
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
672
774
|
|
|
673
775
|
# Header Params
|
|
674
776
|
header_params = {}
|
|
675
777
|
header_params[:accept] = 'application/json'
|
|
676
778
|
header_params[:'content-type'] = 'application/json'
|
|
677
|
-
header_params[:'
|
|
678
|
-
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
779
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
679
780
|
# rubocop:enable Style/NegatedIf
|
|
680
781
|
|
|
681
|
-
post_body =
|
|
782
|
+
post_body = @api_client.object_to_http_body(create_tsig_key_details)
|
|
682
783
|
|
|
683
784
|
# rubocop:disable Metrics/BlockLength
|
|
684
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
785
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_tsig_key') do
|
|
685
786
|
@api_client.call_api(
|
|
686
|
-
:
|
|
787
|
+
:POST,
|
|
687
788
|
path,
|
|
688
789
|
endpoint,
|
|
689
790
|
header_params: header_params,
|
|
690
791
|
query_params: query_params,
|
|
691
792
|
operation_signing_strategy: operation_signing_strategy,
|
|
692
|
-
body: post_body
|
|
793
|
+
body: post_body,
|
|
794
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
693
795
|
)
|
|
694
796
|
end
|
|
695
797
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -703,61 +805,66 @@ module OCI
|
|
|
703
805
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
704
806
|
|
|
705
807
|
|
|
706
|
-
#
|
|
707
|
-
# A `204` response indicates that zone has been successfully deleted.
|
|
808
|
+
# Creates a new view in the specified compartment.
|
|
708
809
|
#
|
|
709
|
-
# @param [
|
|
810
|
+
# @param [OCI::Dns::Models::CreateViewDetails] create_view_details Details for creating a new view.
|
|
710
811
|
# @param [Hash] opts the optional parameters
|
|
711
812
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
712
813
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
713
|
-
# @option opts [String] :
|
|
714
|
-
#
|
|
715
|
-
#
|
|
716
|
-
#
|
|
717
|
-
#
|
|
718
|
-
#
|
|
719
|
-
#
|
|
720
|
-
#
|
|
721
|
-
#
|
|
722
|
-
#
|
|
723
|
-
#
|
|
724
|
-
#
|
|
725
|
-
#
|
|
726
|
-
# @return [Response] A Response object with data of type
|
|
727
|
-
|
|
728
|
-
|
|
814
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
815
|
+
# of a timeout or server error without risk of executing that same action
|
|
816
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
817
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
818
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
819
|
+
# request may be rejected).
|
|
820
|
+
#
|
|
821
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
822
|
+
# to contact Oracle about a particular request, please provide
|
|
823
|
+
# the request ID.
|
|
824
|
+
#
|
|
825
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
826
|
+
#
|
|
827
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
828
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_view.rb.html) to see an example of how to use create_view API.
|
|
829
|
+
def create_view(create_view_details, opts = {})
|
|
830
|
+
logger.debug 'Calling operation DnsClient#create_view.' if logger
|
|
729
831
|
|
|
730
|
-
raise "Missing the required parameter '
|
|
731
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
832
|
+
raise "Missing the required parameter 'create_view_details' when calling create_view." if create_view_details.nil?
|
|
732
833
|
|
|
733
|
-
|
|
834
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
835
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
path = '/views'
|
|
734
839
|
operation_signing_strategy = :standard
|
|
735
840
|
|
|
736
841
|
# rubocop:disable Style/NegatedIf
|
|
737
842
|
# Query Params
|
|
738
843
|
query_params = {}
|
|
739
|
-
query_params[:
|
|
844
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
740
845
|
|
|
741
846
|
# Header Params
|
|
742
847
|
header_params = {}
|
|
743
848
|
header_params[:accept] = 'application/json'
|
|
744
849
|
header_params[:'content-type'] = 'application/json'
|
|
745
|
-
header_params[:'
|
|
746
|
-
header_params[:'
|
|
850
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
851
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
747
852
|
# rubocop:enable Style/NegatedIf
|
|
853
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
748
854
|
|
|
749
|
-
post_body =
|
|
855
|
+
post_body = @api_client.object_to_http_body(create_view_details)
|
|
750
856
|
|
|
751
857
|
# rubocop:disable Metrics/BlockLength
|
|
752
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
858
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_view') do
|
|
753
859
|
@api_client.call_api(
|
|
754
|
-
:
|
|
860
|
+
:POST,
|
|
755
861
|
path,
|
|
756
862
|
endpoint,
|
|
757
863
|
header_params: header_params,
|
|
758
864
|
query_params: query_params,
|
|
759
865
|
operation_signing_strategy: operation_signing_strategy,
|
|
760
|
-
body: post_body
|
|
866
|
+
body: post_body,
|
|
867
|
+
return_type: 'OCI::Dns::Models::View'
|
|
761
868
|
)
|
|
762
869
|
end
|
|
763
870
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -771,91 +878,63 @@ module OCI
|
|
|
771
878
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
772
879
|
|
|
773
880
|
|
|
774
|
-
#
|
|
775
|
-
#
|
|
776
|
-
#
|
|
881
|
+
# Creates a new zone in the specified compartment. If the `Content-Type` header for the request is `text/dns`, the
|
|
882
|
+
# `compartmentId` query parameter is required. Additionally, for `text/dns`, the `scope` and `viewId` query
|
|
883
|
+
# parameters are required to create a private zone.
|
|
777
884
|
#
|
|
778
|
-
# @param [
|
|
779
|
-
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
885
|
+
# @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
|
|
780
886
|
# @param [Hash] opts the optional parameters
|
|
781
887
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
782
888
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
783
|
-
# @option opts [String] :
|
|
784
|
-
#
|
|
785
|
-
# the
|
|
786
|
-
#
|
|
787
|
-
#
|
|
788
|
-
# @option opts [String] :
|
|
789
|
-
#
|
|
790
|
-
#
|
|
791
|
-
#
|
|
792
|
-
#
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
796
|
-
# (default to nil)
|
|
797
|
-
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
798
|
-
# (default to nil)
|
|
799
|
-
# @option opts [String] :rtype Search by record type.
|
|
800
|
-
# Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
|
|
801
|
-
# (default to nil)
|
|
802
|
-
# @option opts [String] :sort_by The field by which to sort records. (default to rtype)
|
|
803
|
-
# Allowed values are: rtype, ttl
|
|
804
|
-
# @option opts [String] :sort_order The order to sort the resources.
|
|
805
|
-
# (default to DESC)
|
|
806
|
-
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
|
|
807
|
-
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
808
|
-
def get_domain_records(zone_name_or_id, domain, opts = {})
|
|
809
|
-
logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
|
|
810
|
-
|
|
811
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
|
|
812
|
-
raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
|
|
889
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
890
|
+
# to contact Oracle about a particular request, please provide
|
|
891
|
+
# the request ID.
|
|
892
|
+
#
|
|
893
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
894
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
895
|
+
#
|
|
896
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
897
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
898
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_zone.rb.html) to see an example of how to use create_zone API.
|
|
899
|
+
def create_zone(create_zone_details, opts = {})
|
|
900
|
+
logger.debug 'Calling operation DnsClient#create_zone.' if logger
|
|
813
901
|
|
|
814
|
-
|
|
815
|
-
raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
|
|
816
|
-
end
|
|
902
|
+
raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
|
|
817
903
|
|
|
818
|
-
if opts[:
|
|
819
|
-
raise 'Invalid value for "
|
|
904
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
905
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
820
906
|
end
|
|
821
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
822
|
-
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
823
907
|
|
|
824
|
-
path = '/zones
|
|
908
|
+
path = '/zones'
|
|
825
909
|
operation_signing_strategy = :standard
|
|
826
910
|
|
|
827
911
|
# rubocop:disable Style/NegatedIf
|
|
828
912
|
# Query Params
|
|
829
913
|
query_params = {}
|
|
830
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
831
|
-
query_params[:page] = opts[:page] if opts[:page]
|
|
832
|
-
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
833
|
-
query_params[:rtype] = opts[:rtype] if opts[:rtype]
|
|
834
|
-
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
835
|
-
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
836
914
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
915
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
916
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
837
917
|
|
|
838
918
|
# Header Params
|
|
839
919
|
header_params = {}
|
|
840
920
|
header_params[:accept] = 'application/json'
|
|
841
921
|
header_params[:'content-type'] = 'application/json'
|
|
842
|
-
header_params[:'
|
|
843
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
922
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
844
923
|
# rubocop:enable Style/NegatedIf
|
|
845
924
|
|
|
846
|
-
post_body =
|
|
925
|
+
post_body = @api_client.object_to_http_body(create_zone_details)
|
|
847
926
|
|
|
848
927
|
# rubocop:disable Metrics/BlockLength
|
|
849
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
928
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
|
|
850
929
|
@api_client.call_api(
|
|
851
|
-
:
|
|
930
|
+
:POST,
|
|
852
931
|
path,
|
|
853
932
|
endpoint,
|
|
854
933
|
header_params: header_params,
|
|
855
934
|
query_params: query_params,
|
|
856
935
|
operation_signing_strategy: operation_signing_strategy,
|
|
857
936
|
body: post_body,
|
|
858
|
-
return_type: 'OCI::Dns::Models::
|
|
937
|
+
return_type: 'OCI::Dns::Models::Zone'
|
|
859
938
|
)
|
|
860
939
|
end
|
|
861
940
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -869,75 +948,77 @@ module OCI
|
|
|
869
948
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
870
949
|
|
|
871
950
|
|
|
872
|
-
#
|
|
873
|
-
# sorted by `recordHash` by default.
|
|
874
|
-
#
|
|
951
|
+
# Deletes all records at the specified zone and domain.
|
|
875
952
|
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
876
953
|
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
877
|
-
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
878
954
|
# @param [Hash] opts the optional parameters
|
|
879
955
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
880
956
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
881
|
-
# @option opts [String] :
|
|
882
|
-
#
|
|
883
|
-
# the field-value is `*`, or having a
|
|
884
|
-
#
|
|
885
|
-
#
|
|
886
|
-
#
|
|
887
|
-
#
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
#
|
|
892
|
-
#
|
|
893
|
-
# @option opts [String] :
|
|
894
|
-
#
|
|
895
|
-
#
|
|
896
|
-
#
|
|
897
|
-
# @option opts [String] :
|
|
898
|
-
#
|
|
899
|
-
|
|
900
|
-
|
|
957
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
958
|
+
# existence of at least one current representation of the target resource,
|
|
959
|
+
# when the field-value is `*`, or having a current representation of the
|
|
960
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
961
|
+
# entity-tags provided in the field-value.
|
|
962
|
+
#
|
|
963
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
964
|
+
# conditional on the selected representation's last modification date being
|
|
965
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
966
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
967
|
+
# agent does not have an entity-tag for the representation.
|
|
968
|
+
#
|
|
969
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
970
|
+
# to contact Oracle about a particular request, please provide
|
|
971
|
+
# the request ID.
|
|
972
|
+
#
|
|
973
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
974
|
+
#
|
|
975
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
976
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
977
|
+
# @return [Response] A Response object with data of type nil
|
|
978
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_domain_records.rb.html) to see an example of how to use delete_domain_records API.
|
|
979
|
+
def delete_domain_records(zone_name_or_id, domain, opts = {})
|
|
980
|
+
logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
|
|
901
981
|
|
|
902
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling
|
|
903
|
-
raise "Missing the required parameter 'domain' when calling
|
|
904
|
-
|
|
982
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_domain_records." if zone_name_or_id.nil?
|
|
983
|
+
raise "Missing the required parameter 'domain' when calling delete_domain_records." if domain.nil?
|
|
984
|
+
|
|
985
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
986
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
987
|
+
end
|
|
905
988
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
906
989
|
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
907
|
-
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
908
990
|
|
|
909
|
-
path = '/zones/{zoneNameOrId}/records/{domain}
|
|
991
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
910
992
|
operation_signing_strategy = :standard
|
|
911
993
|
|
|
912
994
|
# rubocop:disable Style/NegatedIf
|
|
913
995
|
# Query Params
|
|
914
996
|
query_params = {}
|
|
915
|
-
query_params[:
|
|
916
|
-
query_params[:
|
|
917
|
-
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
997
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
998
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
918
999
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
919
1000
|
|
|
920
1001
|
# Header Params
|
|
921
1002
|
header_params = {}
|
|
922
1003
|
header_params[:accept] = 'application/json'
|
|
923
1004
|
header_params[:'content-type'] = 'application/json'
|
|
924
|
-
header_params[:'if-
|
|
925
|
-
header_params[:'if-
|
|
1005
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1006
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1007
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
926
1008
|
# rubocop:enable Style/NegatedIf
|
|
927
1009
|
|
|
928
1010
|
post_body = nil
|
|
929
1011
|
|
|
930
1012
|
# rubocop:disable Metrics/BlockLength
|
|
931
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
1013
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
|
|
932
1014
|
@api_client.call_api(
|
|
933
|
-
:
|
|
1015
|
+
:DELETE,
|
|
934
1016
|
path,
|
|
935
1017
|
endpoint,
|
|
936
1018
|
header_params: header_params,
|
|
937
1019
|
query_params: query_params,
|
|
938
1020
|
operation_signing_strategy: operation_signing_strategy,
|
|
939
|
-
body: post_body
|
|
940
|
-
return_type: 'OCI::Dns::Models::RRSet'
|
|
1021
|
+
body: post_body
|
|
941
1022
|
)
|
|
942
1023
|
end
|
|
943
1024
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -951,48 +1032,1535 @@ module OCI
|
|
|
951
1032
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
952
1033
|
|
|
953
1034
|
|
|
954
|
-
#
|
|
1035
|
+
# Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the
|
|
1036
|
+
# DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
|
|
1037
|
+
# Resolver endpoints may not be deleted if they are referenced by a resolver rule.
|
|
955
1038
|
#
|
|
956
|
-
# @param [String]
|
|
1039
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1040
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
957
1041
|
# @param [Hash] opts the optional parameters
|
|
958
1042
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
959
1043
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
960
|
-
# @option opts [String] :
|
|
961
|
-
#
|
|
962
|
-
# the field-value is `*`, or having a
|
|
963
|
-
#
|
|
964
|
-
#
|
|
965
|
-
#
|
|
966
|
-
#
|
|
967
|
-
#
|
|
1044
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1045
|
+
# existence of at least one current representation of the target resource,
|
|
1046
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1047
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1048
|
+
# entity-tags provided in the field-value.
|
|
1049
|
+
#
|
|
1050
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1051
|
+
# conditional on the selected representation's last modification date being
|
|
1052
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1053
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1054
|
+
# agent does not have an entity-tag for the representation.
|
|
1055
|
+
#
|
|
1056
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1057
|
+
# to contact Oracle about a particular request, please provide
|
|
1058
|
+
# the request ID.
|
|
1059
|
+
#
|
|
1060
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1061
|
+
#
|
|
1062
|
+
# @return [Response] A Response object with data of type nil
|
|
1063
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_resolver_endpoint.rb.html) to see an example of how to use delete_resolver_endpoint API.
|
|
1064
|
+
def delete_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
|
|
1065
|
+
logger.debug 'Calling operation DnsClient#delete_resolver_endpoint.' if logger
|
|
1066
|
+
|
|
1067
|
+
raise "Missing the required parameter 'resolver_id' when calling delete_resolver_endpoint." if resolver_id.nil?
|
|
1068
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling delete_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
1069
|
+
|
|
1070
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1071
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1072
|
+
end
|
|
1073
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1074
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
1075
|
+
|
|
1076
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1077
|
+
operation_signing_strategy = :standard
|
|
1078
|
+
|
|
1079
|
+
# rubocop:disable Style/NegatedIf
|
|
1080
|
+
# Query Params
|
|
1081
|
+
query_params = {}
|
|
1082
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1083
|
+
|
|
1084
|
+
# Header Params
|
|
1085
|
+
header_params = {}
|
|
1086
|
+
header_params[:accept] = 'application/json'
|
|
1087
|
+
header_params[:'content-type'] = 'application/json'
|
|
1088
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1089
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1090
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1091
|
+
# rubocop:enable Style/NegatedIf
|
|
1092
|
+
|
|
1093
|
+
post_body = nil
|
|
1094
|
+
|
|
1095
|
+
# rubocop:disable Metrics/BlockLength
|
|
1096
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_resolver_endpoint') do
|
|
1097
|
+
@api_client.call_api(
|
|
1098
|
+
:DELETE,
|
|
1099
|
+
path,
|
|
1100
|
+
endpoint,
|
|
1101
|
+
header_params: header_params,
|
|
1102
|
+
query_params: query_params,
|
|
1103
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1104
|
+
body: post_body
|
|
1105
|
+
)
|
|
1106
|
+
end
|
|
1107
|
+
# rubocop:enable Metrics/BlockLength
|
|
1108
|
+
end
|
|
1109
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1110
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1111
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1112
|
+
|
|
1113
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1114
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1115
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
# Deletes all records in the specified RRSet.
|
|
1119
|
+
#
|
|
1120
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1121
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1122
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
1123
|
+
# @param [Hash] opts the optional parameters
|
|
1124
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1125
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1126
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1127
|
+
# existence of at least one current representation of the target resource,
|
|
1128
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1129
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1130
|
+
# entity-tags provided in the field-value.
|
|
1131
|
+
#
|
|
1132
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1133
|
+
# conditional on the selected representation's last modification date being
|
|
1134
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1135
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1136
|
+
# agent does not have an entity-tag for the representation.
|
|
1137
|
+
#
|
|
1138
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1139
|
+
# to contact Oracle about a particular request, please provide
|
|
1140
|
+
# the request ID.
|
|
1141
|
+
#
|
|
1142
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1143
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1144
|
+
#
|
|
1145
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1146
|
+
# @return [Response] A Response object with data of type nil
|
|
1147
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_rr_set.rb.html) to see an example of how to use delete_rr_set API.
|
|
1148
|
+
def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
|
|
1149
|
+
logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
|
|
1150
|
+
|
|
1151
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_rr_set." if zone_name_or_id.nil?
|
|
1152
|
+
raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
|
|
1153
|
+
raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
|
|
1154
|
+
|
|
1155
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1156
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1157
|
+
end
|
|
1158
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1159
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1160
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
1161
|
+
|
|
1162
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
1163
|
+
operation_signing_strategy = :standard
|
|
1164
|
+
|
|
1165
|
+
# rubocop:disable Style/NegatedIf
|
|
1166
|
+
# Query Params
|
|
1167
|
+
query_params = {}
|
|
1168
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1169
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1170
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1171
|
+
|
|
1172
|
+
# Header Params
|
|
1173
|
+
header_params = {}
|
|
1174
|
+
header_params[:accept] = 'application/json'
|
|
1175
|
+
header_params[:'content-type'] = 'application/json'
|
|
1176
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1177
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1178
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1179
|
+
# rubocop:enable Style/NegatedIf
|
|
1180
|
+
|
|
1181
|
+
post_body = nil
|
|
1182
|
+
|
|
1183
|
+
# rubocop:disable Metrics/BlockLength
|
|
1184
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
|
|
1185
|
+
@api_client.call_api(
|
|
1186
|
+
:DELETE,
|
|
1187
|
+
path,
|
|
1188
|
+
endpoint,
|
|
1189
|
+
header_params: header_params,
|
|
1190
|
+
query_params: query_params,
|
|
1191
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1192
|
+
body: post_body
|
|
1193
|
+
)
|
|
1194
|
+
end
|
|
1195
|
+
# rubocop:enable Metrics/BlockLength
|
|
1196
|
+
end
|
|
1197
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1198
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1199
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1200
|
+
|
|
1201
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1202
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1203
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
# Deletes the specified steering policy.
|
|
1207
|
+
# A `204` response indicates that the delete has been successful.
|
|
1208
|
+
# Deletion will fail if the policy is attached to any zones. To detach a
|
|
1209
|
+
# policy from a zone, see `DeleteSteeringPolicyAttachment`.
|
|
1210
|
+
#
|
|
1211
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
1212
|
+
# @param [Hash] opts the optional parameters
|
|
1213
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1214
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1215
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1216
|
+
# existence of at least one current representation of the target resource,
|
|
1217
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1218
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1219
|
+
# entity-tags provided in the field-value.
|
|
1220
|
+
#
|
|
1221
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1222
|
+
# conditional on the selected representation's last modification date being
|
|
1223
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1224
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1225
|
+
# agent does not have an entity-tag for the representation.
|
|
1226
|
+
#
|
|
1227
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1228
|
+
# to contact Oracle about a particular request, please provide
|
|
1229
|
+
# the request ID.
|
|
1230
|
+
#
|
|
1231
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1232
|
+
#
|
|
1233
|
+
# @return [Response] A Response object with data of type nil
|
|
1234
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_steering_policy.rb.html) to see an example of how to use delete_steering_policy API.
|
|
1235
|
+
def delete_steering_policy(steering_policy_id, opts = {})
|
|
1236
|
+
logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
|
|
1237
|
+
|
|
1238
|
+
raise "Missing the required parameter 'steering_policy_id' when calling delete_steering_policy." if steering_policy_id.nil?
|
|
1239
|
+
|
|
1240
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1241
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1242
|
+
end
|
|
1243
|
+
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
1244
|
+
|
|
1245
|
+
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
1246
|
+
operation_signing_strategy = :standard
|
|
1247
|
+
|
|
1248
|
+
# rubocop:disable Style/NegatedIf
|
|
1249
|
+
# Query Params
|
|
1250
|
+
query_params = {}
|
|
1251
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1252
|
+
|
|
1253
|
+
# Header Params
|
|
1254
|
+
header_params = {}
|
|
1255
|
+
header_params[:accept] = 'application/json'
|
|
1256
|
+
header_params[:'content-type'] = 'application/json'
|
|
1257
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1258
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1259
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1260
|
+
# rubocop:enable Style/NegatedIf
|
|
1261
|
+
|
|
1262
|
+
post_body = nil
|
|
1263
|
+
|
|
1264
|
+
# rubocop:disable Metrics/BlockLength
|
|
1265
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
|
|
1266
|
+
@api_client.call_api(
|
|
1267
|
+
:DELETE,
|
|
1268
|
+
path,
|
|
1269
|
+
endpoint,
|
|
1270
|
+
header_params: header_params,
|
|
1271
|
+
query_params: query_params,
|
|
1272
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1273
|
+
body: post_body
|
|
1274
|
+
)
|
|
1275
|
+
end
|
|
1276
|
+
# rubocop:enable Metrics/BlockLength
|
|
1277
|
+
end
|
|
1278
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1279
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1280
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1281
|
+
|
|
1282
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1283
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1284
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
# Deletes the specified steering policy attachment.
|
|
1288
|
+
# A `204` response indicates that the delete has been successful.
|
|
1289
|
+
#
|
|
1290
|
+
# @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
|
|
1291
|
+
# @param [Hash] opts the optional parameters
|
|
1292
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1293
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1294
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1295
|
+
# existence of at least one current representation of the target resource,
|
|
1296
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1297
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1298
|
+
# entity-tags provided in the field-value.
|
|
1299
|
+
#
|
|
1300
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1301
|
+
# conditional on the selected representation's last modification date being
|
|
1302
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1303
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1304
|
+
# agent does not have an entity-tag for the representation.
|
|
1305
|
+
#
|
|
1306
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1307
|
+
# to contact Oracle about a particular request, please provide
|
|
1308
|
+
# the request ID.
|
|
1309
|
+
#
|
|
1310
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1311
|
+
#
|
|
1312
|
+
# @return [Response] A Response object with data of type nil
|
|
1313
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_steering_policy_attachment.rb.html) to see an example of how to use delete_steering_policy_attachment API.
|
|
1314
|
+
def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
|
|
1315
|
+
logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
|
|
1316
|
+
|
|
1317
|
+
raise "Missing the required parameter 'steering_policy_attachment_id' when calling delete_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
1318
|
+
|
|
1319
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1320
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1321
|
+
end
|
|
1322
|
+
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
1323
|
+
|
|
1324
|
+
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
1325
|
+
operation_signing_strategy = :standard
|
|
1326
|
+
|
|
1327
|
+
# rubocop:disable Style/NegatedIf
|
|
1328
|
+
# Query Params
|
|
1329
|
+
query_params = {}
|
|
1330
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1331
|
+
|
|
1332
|
+
# Header Params
|
|
1333
|
+
header_params = {}
|
|
1334
|
+
header_params[:accept] = 'application/json'
|
|
1335
|
+
header_params[:'content-type'] = 'application/json'
|
|
1336
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1337
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1338
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1339
|
+
# rubocop:enable Style/NegatedIf
|
|
1340
|
+
|
|
1341
|
+
post_body = nil
|
|
1342
|
+
|
|
1343
|
+
# rubocop:disable Metrics/BlockLength
|
|
1344
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
|
|
1345
|
+
@api_client.call_api(
|
|
1346
|
+
:DELETE,
|
|
1347
|
+
path,
|
|
1348
|
+
endpoint,
|
|
1349
|
+
header_params: header_params,
|
|
1350
|
+
query_params: query_params,
|
|
1351
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1352
|
+
body: post_body
|
|
1353
|
+
)
|
|
1354
|
+
end
|
|
1355
|
+
# rubocop:enable Metrics/BlockLength
|
|
1356
|
+
end
|
|
1357
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1358
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1359
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1360
|
+
|
|
1361
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1362
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1363
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
# Deletes the specified TSIG key.
|
|
1367
|
+
#
|
|
1368
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
1369
|
+
# @param [Hash] opts the optional parameters
|
|
1370
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1371
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1372
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1373
|
+
# existence of at least one current representation of the target resource,
|
|
1374
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1375
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1376
|
+
# entity-tags provided in the field-value.
|
|
1377
|
+
#
|
|
1378
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1379
|
+
# conditional on the selected representation's last modification date being
|
|
1380
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1381
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1382
|
+
# agent does not have an entity-tag for the representation.
|
|
1383
|
+
#
|
|
1384
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1385
|
+
# to contact Oracle about a particular request, please provide
|
|
1386
|
+
# the request ID.
|
|
1387
|
+
#
|
|
1388
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1389
|
+
#
|
|
1390
|
+
# @return [Response] A Response object with data of type nil
|
|
1391
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_tsig_key.rb.html) to see an example of how to use delete_tsig_key API.
|
|
1392
|
+
def delete_tsig_key(tsig_key_id, opts = {})
|
|
1393
|
+
logger.debug 'Calling operation DnsClient#delete_tsig_key.' if logger
|
|
1394
|
+
|
|
1395
|
+
raise "Missing the required parameter 'tsig_key_id' when calling delete_tsig_key." if tsig_key_id.nil?
|
|
1396
|
+
|
|
1397
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1398
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1399
|
+
end
|
|
1400
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
1401
|
+
|
|
1402
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
1403
|
+
operation_signing_strategy = :standard
|
|
1404
|
+
|
|
1405
|
+
# rubocop:disable Style/NegatedIf
|
|
1406
|
+
# Query Params
|
|
1407
|
+
query_params = {}
|
|
1408
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1409
|
+
|
|
1410
|
+
# Header Params
|
|
1411
|
+
header_params = {}
|
|
1412
|
+
header_params[:accept] = 'application/json'
|
|
1413
|
+
header_params[:'content-type'] = 'application/json'
|
|
1414
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1415
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1416
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1417
|
+
# rubocop:enable Style/NegatedIf
|
|
1418
|
+
|
|
1419
|
+
post_body = nil
|
|
1420
|
+
|
|
1421
|
+
# rubocop:disable Metrics/BlockLength
|
|
1422
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_tsig_key') do
|
|
1423
|
+
@api_client.call_api(
|
|
1424
|
+
:DELETE,
|
|
1425
|
+
path,
|
|
1426
|
+
endpoint,
|
|
1427
|
+
header_params: header_params,
|
|
1428
|
+
query_params: query_params,
|
|
1429
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1430
|
+
body: post_body
|
|
1431
|
+
)
|
|
1432
|
+
end
|
|
1433
|
+
# rubocop:enable Metrics/BlockLength
|
|
1434
|
+
end
|
|
1435
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1436
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1437
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1438
|
+
|
|
1439
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1440
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1441
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
# Deletes the specified view. Note that attempting to delete a
|
|
1445
|
+
# view in the DELETED lifecycleState will result in a 404 to be
|
|
1446
|
+
# consistent with other operations of the API. Views can not be
|
|
1447
|
+
# deleted if they are referenced by non-deleted zones or resolvers.
|
|
1448
|
+
# Protected views cannot be deleted.
|
|
1449
|
+
#
|
|
1450
|
+
# @param [String] view_id The OCID of the target view.
|
|
1451
|
+
# @param [Hash] opts the optional parameters
|
|
1452
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1453
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1454
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1455
|
+
# existence of at least one current representation of the target resource,
|
|
1456
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1457
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1458
|
+
# entity-tags provided in the field-value.
|
|
1459
|
+
#
|
|
1460
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1461
|
+
# conditional on the selected representation's last modification date being
|
|
1462
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1463
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1464
|
+
# agent does not have an entity-tag for the representation.
|
|
1465
|
+
#
|
|
1466
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1467
|
+
# to contact Oracle about a particular request, please provide
|
|
1468
|
+
# the request ID.
|
|
1469
|
+
#
|
|
1470
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1471
|
+
#
|
|
1472
|
+
# @return [Response] A Response object with data of type nil
|
|
1473
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_view.rb.html) to see an example of how to use delete_view API.
|
|
1474
|
+
def delete_view(view_id, opts = {})
|
|
1475
|
+
logger.debug 'Calling operation DnsClient#delete_view.' if logger
|
|
1476
|
+
|
|
1477
|
+
raise "Missing the required parameter 'view_id' when calling delete_view." if view_id.nil?
|
|
1478
|
+
|
|
1479
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1480
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1481
|
+
end
|
|
1482
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
1483
|
+
|
|
1484
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
1485
|
+
operation_signing_strategy = :standard
|
|
1486
|
+
|
|
1487
|
+
# rubocop:disable Style/NegatedIf
|
|
1488
|
+
# Query Params
|
|
1489
|
+
query_params = {}
|
|
1490
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1491
|
+
|
|
1492
|
+
# Header Params
|
|
1493
|
+
header_params = {}
|
|
1494
|
+
header_params[:accept] = 'application/json'
|
|
1495
|
+
header_params[:'content-type'] = 'application/json'
|
|
1496
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1497
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1498
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1499
|
+
# rubocop:enable Style/NegatedIf
|
|
1500
|
+
|
|
1501
|
+
post_body = nil
|
|
1502
|
+
|
|
1503
|
+
# rubocop:disable Metrics/BlockLength
|
|
1504
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_view') do
|
|
1505
|
+
@api_client.call_api(
|
|
1506
|
+
:DELETE,
|
|
1507
|
+
path,
|
|
1508
|
+
endpoint,
|
|
1509
|
+
header_params: header_params,
|
|
1510
|
+
query_params: query_params,
|
|
1511
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1512
|
+
body: post_body
|
|
1513
|
+
)
|
|
1514
|
+
end
|
|
1515
|
+
# rubocop:enable Metrics/BlockLength
|
|
1516
|
+
end
|
|
1517
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1518
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1519
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1520
|
+
|
|
1521
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1522
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1523
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
# Deletes the specified zone and all its steering policy attachments.
|
|
1527
|
+
# A `204` response indicates that the zone has been successfully deleted.
|
|
1528
|
+
# Protected zones cannot be deleted.
|
|
1529
|
+
#
|
|
1530
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1531
|
+
# @param [Hash] opts the optional parameters
|
|
1532
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1533
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1534
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1535
|
+
# existence of at least one current representation of the target resource,
|
|
1536
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1537
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1538
|
+
# entity-tags provided in the field-value.
|
|
1539
|
+
#
|
|
1540
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1541
|
+
# conditional on the selected representation's last modification date being
|
|
1542
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1543
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1544
|
+
# agent does not have an entity-tag for the representation.
|
|
1545
|
+
#
|
|
1546
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1547
|
+
# to contact Oracle about a particular request, please provide
|
|
1548
|
+
# the request ID.
|
|
1549
|
+
#
|
|
1550
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1551
|
+
#
|
|
1552
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1553
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1554
|
+
# @return [Response] A Response object with data of type nil
|
|
1555
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_zone.rb.html) to see an example of how to use delete_zone API.
|
|
1556
|
+
def delete_zone(zone_name_or_id, opts = {})
|
|
1557
|
+
logger.debug 'Calling operation DnsClient#delete_zone.' if logger
|
|
1558
|
+
|
|
1559
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_zone." if zone_name_or_id.nil?
|
|
1560
|
+
|
|
1561
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1562
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1563
|
+
end
|
|
1564
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1565
|
+
|
|
1566
|
+
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
1567
|
+
operation_signing_strategy = :standard
|
|
1568
|
+
|
|
1569
|
+
# rubocop:disable Style/NegatedIf
|
|
1570
|
+
# Query Params
|
|
1571
|
+
query_params = {}
|
|
1572
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1573
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1574
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1575
|
+
|
|
1576
|
+
# Header Params
|
|
1577
|
+
header_params = {}
|
|
1578
|
+
header_params[:accept] = 'application/json'
|
|
1579
|
+
header_params[:'content-type'] = 'application/json'
|
|
1580
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1581
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1582
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1583
|
+
# rubocop:enable Style/NegatedIf
|
|
1584
|
+
|
|
1585
|
+
post_body = nil
|
|
1586
|
+
|
|
1587
|
+
# rubocop:disable Metrics/BlockLength
|
|
1588
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
|
|
1589
|
+
@api_client.call_api(
|
|
1590
|
+
:DELETE,
|
|
1591
|
+
path,
|
|
1592
|
+
endpoint,
|
|
1593
|
+
header_params: header_params,
|
|
1594
|
+
query_params: query_params,
|
|
1595
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1596
|
+
body: post_body
|
|
1597
|
+
)
|
|
1598
|
+
end
|
|
1599
|
+
# rubocop:enable Metrics/BlockLength
|
|
1600
|
+
end
|
|
1601
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1602
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1603
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1604
|
+
|
|
1605
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1606
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1607
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
# Gets a list of all records at the specified zone and domain.
|
|
1611
|
+
# The results are sorted by `rtype` in alphabetical order by default. You
|
|
1612
|
+
# can optionally filter and/or sort the results using the listed parameters.
|
|
1613
|
+
#
|
|
1614
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1615
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1616
|
+
# @param [Hash] opts the optional parameters
|
|
1617
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1618
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1619
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1620
|
+
# the absence of any current representation of the target resource, when
|
|
1621
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1622
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1623
|
+
#
|
|
1624
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1625
|
+
# conditional on the selected representation's modification date being more
|
|
1626
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1627
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1628
|
+
#
|
|
1629
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1630
|
+
# to contact Oracle about a particular request, please provide
|
|
1631
|
+
# the request ID.
|
|
1632
|
+
#
|
|
1633
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1634
|
+
# (default to 50)
|
|
1635
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1636
|
+
#
|
|
1637
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
1638
|
+
#
|
|
1639
|
+
# @option opts [String] :rtype Search by record type.
|
|
1640
|
+
# Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
|
|
1641
|
+
#
|
|
1642
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1643
|
+
#
|
|
1644
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1645
|
+
# @option opts [String] :sort_by The field by which to sort records. (default to rtype)
|
|
1646
|
+
# Allowed values are: rtype, ttl
|
|
1647
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
1648
|
+
# (default to ASC)
|
|
1649
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1650
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1651
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_domain_records.rb.html) to see an example of how to use get_domain_records API.
|
|
1652
|
+
def get_domain_records(zone_name_or_id, domain, opts = {})
|
|
1653
|
+
logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
|
|
1654
|
+
|
|
1655
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
|
|
1656
|
+
raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
|
|
1657
|
+
|
|
1658
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1659
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1660
|
+
end
|
|
1661
|
+
|
|
1662
|
+
if opts[:sort_by] && !%w[rtype ttl].include?(opts[:sort_by])
|
|
1663
|
+
raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
|
|
1664
|
+
end
|
|
1665
|
+
|
|
1666
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1667
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1668
|
+
end
|
|
1669
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1670
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1671
|
+
|
|
1672
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
1673
|
+
operation_signing_strategy = :standard
|
|
1674
|
+
|
|
1675
|
+
# rubocop:disable Style/NegatedIf
|
|
1676
|
+
# Query Params
|
|
1677
|
+
query_params = {}
|
|
1678
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1679
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1680
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
1681
|
+
query_params[:rtype] = opts[:rtype] if opts[:rtype]
|
|
1682
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1683
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1684
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1685
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1686
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1687
|
+
|
|
1688
|
+
# Header Params
|
|
1689
|
+
header_params = {}
|
|
1690
|
+
header_params[:accept] = 'application/json'
|
|
1691
|
+
header_params[:'content-type'] = 'application/json'
|
|
1692
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1693
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1694
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1695
|
+
# rubocop:enable Style/NegatedIf
|
|
1696
|
+
|
|
1697
|
+
post_body = nil
|
|
1698
|
+
|
|
1699
|
+
# rubocop:disable Metrics/BlockLength
|
|
1700
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
|
|
1701
|
+
@api_client.call_api(
|
|
1702
|
+
:GET,
|
|
1703
|
+
path,
|
|
1704
|
+
endpoint,
|
|
1705
|
+
header_params: header_params,
|
|
1706
|
+
query_params: query_params,
|
|
1707
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1708
|
+
body: post_body,
|
|
1709
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
1710
|
+
)
|
|
1711
|
+
end
|
|
1712
|
+
# rubocop:enable Metrics/BlockLength
|
|
1713
|
+
end
|
|
1714
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1715
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1716
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1717
|
+
|
|
1718
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1719
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1720
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
# Get information about a specific resolver. Note that attempting to get a
|
|
1724
|
+
# resolver in the DELETED lifecycleState will result in a 404 to be
|
|
1725
|
+
# consistent with other operations of the API.
|
|
1726
|
+
#
|
|
1727
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1728
|
+
# @param [Hash] opts the optional parameters
|
|
1729
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1730
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1731
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1732
|
+
# conditional on the selected representation's modification date being more
|
|
1733
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1734
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1735
|
+
#
|
|
1736
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1737
|
+
# the absence of any current representation of the target resource, when
|
|
1738
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1739
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1740
|
+
#
|
|
1741
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1742
|
+
# to contact Oracle about a particular request, please provide
|
|
1743
|
+
# the request ID.
|
|
1744
|
+
#
|
|
1745
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1746
|
+
#
|
|
1747
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
|
|
1748
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_resolver.rb.html) to see an example of how to use get_resolver API.
|
|
1749
|
+
def get_resolver(resolver_id, opts = {})
|
|
1750
|
+
logger.debug 'Calling operation DnsClient#get_resolver.' if logger
|
|
1751
|
+
|
|
1752
|
+
raise "Missing the required parameter 'resolver_id' when calling get_resolver." if resolver_id.nil?
|
|
1753
|
+
|
|
1754
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1755
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1756
|
+
end
|
|
1757
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1758
|
+
|
|
1759
|
+
path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
|
|
1760
|
+
operation_signing_strategy = :standard
|
|
1761
|
+
|
|
1762
|
+
# rubocop:disable Style/NegatedIf
|
|
1763
|
+
# Query Params
|
|
1764
|
+
query_params = {}
|
|
1765
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1766
|
+
|
|
1767
|
+
# Header Params
|
|
1768
|
+
header_params = {}
|
|
1769
|
+
header_params[:accept] = 'application/json'
|
|
1770
|
+
header_params[:'content-type'] = 'application/json'
|
|
1771
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1772
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1773
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1774
|
+
# rubocop:enable Style/NegatedIf
|
|
1775
|
+
|
|
1776
|
+
post_body = nil
|
|
1777
|
+
|
|
1778
|
+
# rubocop:disable Metrics/BlockLength
|
|
1779
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver') do
|
|
1780
|
+
@api_client.call_api(
|
|
1781
|
+
:GET,
|
|
1782
|
+
path,
|
|
1783
|
+
endpoint,
|
|
1784
|
+
header_params: header_params,
|
|
1785
|
+
query_params: query_params,
|
|
1786
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1787
|
+
body: post_body,
|
|
1788
|
+
return_type: 'OCI::Dns::Models::Resolver'
|
|
1789
|
+
)
|
|
1790
|
+
end
|
|
1791
|
+
# rubocop:enable Metrics/BlockLength
|
|
1792
|
+
end
|
|
1793
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1794
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1795
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1796
|
+
|
|
1797
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1798
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1799
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
# Get information about a specific resolver endpoint. Note that attempting to get a resolver endpoint
|
|
1803
|
+
# in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
|
|
1804
|
+
#
|
|
1805
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1806
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
1807
|
+
# @param [Hash] opts the optional parameters
|
|
1808
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1809
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1810
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1811
|
+
# conditional on the selected representation's modification date being more
|
|
1812
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1813
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1814
|
+
#
|
|
1815
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1816
|
+
# the absence of any current representation of the target resource, when
|
|
1817
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1818
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1819
|
+
#
|
|
1820
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1821
|
+
# to contact Oracle about a particular request, please provide
|
|
1822
|
+
# the request ID.
|
|
1823
|
+
#
|
|
1824
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1825
|
+
#
|
|
1826
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
1827
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_resolver_endpoint.rb.html) to see an example of how to use get_resolver_endpoint API.
|
|
1828
|
+
def get_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
|
|
1829
|
+
logger.debug 'Calling operation DnsClient#get_resolver_endpoint.' if logger
|
|
1830
|
+
|
|
1831
|
+
raise "Missing the required parameter 'resolver_id' when calling get_resolver_endpoint." if resolver_id.nil?
|
|
1832
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling get_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
1833
|
+
|
|
1834
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1835
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1836
|
+
end
|
|
1837
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1838
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
1839
|
+
|
|
1840
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1841
|
+
operation_signing_strategy = :standard
|
|
1842
|
+
|
|
1843
|
+
# rubocop:disable Style/NegatedIf
|
|
1844
|
+
# Query Params
|
|
1845
|
+
query_params = {}
|
|
1846
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1847
|
+
|
|
1848
|
+
# Header Params
|
|
1849
|
+
header_params = {}
|
|
1850
|
+
header_params[:accept] = 'application/json'
|
|
1851
|
+
header_params[:'content-type'] = 'application/json'
|
|
1852
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1853
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1854
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1855
|
+
# rubocop:enable Style/NegatedIf
|
|
1856
|
+
|
|
1857
|
+
post_body = nil
|
|
1858
|
+
|
|
1859
|
+
# rubocop:disable Metrics/BlockLength
|
|
1860
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver_endpoint') do
|
|
1861
|
+
@api_client.call_api(
|
|
1862
|
+
:GET,
|
|
1863
|
+
path,
|
|
1864
|
+
endpoint,
|
|
1865
|
+
header_params: header_params,
|
|
1866
|
+
query_params: query_params,
|
|
1867
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1868
|
+
body: post_body,
|
|
1869
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
1870
|
+
)
|
|
1871
|
+
end
|
|
1872
|
+
# rubocop:enable Metrics/BlockLength
|
|
1873
|
+
end
|
|
1874
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1875
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1876
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1877
|
+
|
|
1878
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1879
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1880
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
# Gets a list of all records in the specified RRSet. The results are
|
|
1884
|
+
# sorted by `recordHash` by default.
|
|
1885
|
+
#
|
|
1886
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1887
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1888
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
1889
|
+
# @param [Hash] opts the optional parameters
|
|
1890
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1891
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1892
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1893
|
+
# the absence of any current representation of the target resource, when
|
|
1894
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1895
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1896
|
+
#
|
|
1897
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1898
|
+
# conditional on the selected representation's modification date being more
|
|
1899
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1900
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1901
|
+
#
|
|
1902
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1903
|
+
# to contact Oracle about a particular request, please provide
|
|
1904
|
+
# the request ID.
|
|
1905
|
+
#
|
|
1906
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1907
|
+
# (default to 50)
|
|
1908
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1909
|
+
#
|
|
1910
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
1911
|
+
#
|
|
1912
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1913
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1914
|
+
#
|
|
1915
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1916
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
|
|
1917
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_rr_set.rb.html) to see an example of how to use get_rr_set API.
|
|
1918
|
+
def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
|
|
1919
|
+
logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
|
|
1920
|
+
|
|
1921
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_rr_set." if zone_name_or_id.nil?
|
|
1922
|
+
raise "Missing the required parameter 'domain' when calling get_rr_set." if domain.nil?
|
|
1923
|
+
raise "Missing the required parameter 'rtype' when calling get_rr_set." if rtype.nil?
|
|
1924
|
+
|
|
1925
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1926
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1927
|
+
end
|
|
1928
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1929
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1930
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
1931
|
+
|
|
1932
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
1933
|
+
operation_signing_strategy = :standard
|
|
1934
|
+
|
|
1935
|
+
# rubocop:disable Style/NegatedIf
|
|
1936
|
+
# Query Params
|
|
1937
|
+
query_params = {}
|
|
1938
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1939
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1940
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
1941
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1942
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1943
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1944
|
+
|
|
1945
|
+
# Header Params
|
|
1946
|
+
header_params = {}
|
|
1947
|
+
header_params[:accept] = 'application/json'
|
|
1948
|
+
header_params[:'content-type'] = 'application/json'
|
|
1949
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1950
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1951
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1952
|
+
# rubocop:enable Style/NegatedIf
|
|
1953
|
+
|
|
1954
|
+
post_body = nil
|
|
1955
|
+
|
|
1956
|
+
# rubocop:disable Metrics/BlockLength
|
|
1957
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
|
|
1958
|
+
@api_client.call_api(
|
|
1959
|
+
:GET,
|
|
1960
|
+
path,
|
|
1961
|
+
endpoint,
|
|
1962
|
+
header_params: header_params,
|
|
1963
|
+
query_params: query_params,
|
|
1964
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1965
|
+
body: post_body,
|
|
1966
|
+
return_type: 'OCI::Dns::Models::RRSet'
|
|
1967
|
+
)
|
|
1968
|
+
end
|
|
1969
|
+
# rubocop:enable Metrics/BlockLength
|
|
1970
|
+
end
|
|
1971
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1972
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1973
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1974
|
+
|
|
1975
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1976
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1977
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
# Gets information about the specified steering policy.
|
|
1981
|
+
#
|
|
1982
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
1983
|
+
# @param [Hash] opts the optional parameters
|
|
1984
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1985
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1986
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1987
|
+
# the absence of any current representation of the target resource, when
|
|
1988
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1989
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1990
|
+
#
|
|
1991
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1992
|
+
# conditional on the selected representation's modification date being more
|
|
1993
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1994
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1995
|
+
#
|
|
1996
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1997
|
+
# to contact Oracle about a particular request, please provide
|
|
1998
|
+
# the request ID.
|
|
1999
|
+
#
|
|
2000
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2001
|
+
#
|
|
2002
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
2003
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_steering_policy.rb.html) to see an example of how to use get_steering_policy API.
|
|
2004
|
+
def get_steering_policy(steering_policy_id, opts = {})
|
|
2005
|
+
logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
|
|
2006
|
+
|
|
2007
|
+
raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
|
|
2008
|
+
|
|
2009
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2010
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2011
|
+
end
|
|
2012
|
+
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
2013
|
+
|
|
2014
|
+
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
2015
|
+
operation_signing_strategy = :standard
|
|
2016
|
+
|
|
2017
|
+
# rubocop:disable Style/NegatedIf
|
|
2018
|
+
# Query Params
|
|
2019
|
+
query_params = {}
|
|
2020
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2021
|
+
|
|
2022
|
+
# Header Params
|
|
2023
|
+
header_params = {}
|
|
2024
|
+
header_params[:accept] = 'application/json'
|
|
2025
|
+
header_params[:'content-type'] = 'application/json'
|
|
2026
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2027
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2028
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2029
|
+
# rubocop:enable Style/NegatedIf
|
|
2030
|
+
|
|
2031
|
+
post_body = nil
|
|
2032
|
+
|
|
2033
|
+
# rubocop:disable Metrics/BlockLength
|
|
2034
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
|
|
2035
|
+
@api_client.call_api(
|
|
2036
|
+
:GET,
|
|
2037
|
+
path,
|
|
2038
|
+
endpoint,
|
|
2039
|
+
header_params: header_params,
|
|
2040
|
+
query_params: query_params,
|
|
2041
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2042
|
+
body: post_body,
|
|
2043
|
+
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
2044
|
+
)
|
|
2045
|
+
end
|
|
2046
|
+
# rubocop:enable Metrics/BlockLength
|
|
2047
|
+
end
|
|
2048
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2049
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2050
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2051
|
+
|
|
2052
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2053
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2054
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
# Gets information about the specified steering policy attachment.
|
|
2058
|
+
#
|
|
2059
|
+
# @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
|
|
2060
|
+
# @param [Hash] opts the optional parameters
|
|
2061
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2062
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2063
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2064
|
+
# the absence of any current representation of the target resource, when
|
|
2065
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2066
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2067
|
+
#
|
|
2068
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2069
|
+
# conditional on the selected representation's modification date being more
|
|
2070
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2071
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2072
|
+
#
|
|
2073
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2074
|
+
# to contact Oracle about a particular request, please provide
|
|
2075
|
+
# the request ID.
|
|
2076
|
+
#
|
|
2077
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2078
|
+
#
|
|
2079
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
2080
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_steering_policy_attachment.rb.html) to see an example of how to use get_steering_policy_attachment API.
|
|
2081
|
+
def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
|
|
2082
|
+
logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
|
|
2083
|
+
|
|
2084
|
+
raise "Missing the required parameter 'steering_policy_attachment_id' when calling get_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
2085
|
+
|
|
2086
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2087
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2088
|
+
end
|
|
2089
|
+
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
2090
|
+
|
|
2091
|
+
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
2092
|
+
operation_signing_strategy = :standard
|
|
2093
|
+
|
|
2094
|
+
# rubocop:disable Style/NegatedIf
|
|
2095
|
+
# Query Params
|
|
2096
|
+
query_params = {}
|
|
2097
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2098
|
+
|
|
2099
|
+
# Header Params
|
|
2100
|
+
header_params = {}
|
|
2101
|
+
header_params[:accept] = 'application/json'
|
|
2102
|
+
header_params[:'content-type'] = 'application/json'
|
|
2103
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2104
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2105
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2106
|
+
# rubocop:enable Style/NegatedIf
|
|
2107
|
+
|
|
2108
|
+
post_body = nil
|
|
2109
|
+
|
|
2110
|
+
# rubocop:disable Metrics/BlockLength
|
|
2111
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
|
|
2112
|
+
@api_client.call_api(
|
|
2113
|
+
:GET,
|
|
2114
|
+
path,
|
|
2115
|
+
endpoint,
|
|
2116
|
+
header_params: header_params,
|
|
2117
|
+
query_params: query_params,
|
|
2118
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2119
|
+
body: post_body,
|
|
2120
|
+
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
2121
|
+
)
|
|
2122
|
+
end
|
|
2123
|
+
# rubocop:enable Metrics/BlockLength
|
|
2124
|
+
end
|
|
2125
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2126
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2127
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2128
|
+
|
|
2129
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2130
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2131
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
# Gets information about the specified TSIG key.
|
|
2135
|
+
#
|
|
2136
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
2137
|
+
# @param [Hash] opts the optional parameters
|
|
2138
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2139
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2140
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2141
|
+
# the absence of any current representation of the target resource, when
|
|
2142
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2143
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2144
|
+
#
|
|
2145
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2146
|
+
# conditional on the selected representation's modification date being more
|
|
2147
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2148
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2149
|
+
#
|
|
2150
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2151
|
+
# to contact Oracle about a particular request, please provide
|
|
2152
|
+
# the request ID.
|
|
2153
|
+
#
|
|
2154
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2155
|
+
#
|
|
2156
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
2157
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_tsig_key.rb.html) to see an example of how to use get_tsig_key API.
|
|
2158
|
+
def get_tsig_key(tsig_key_id, opts = {})
|
|
2159
|
+
logger.debug 'Calling operation DnsClient#get_tsig_key.' if logger
|
|
2160
|
+
|
|
2161
|
+
raise "Missing the required parameter 'tsig_key_id' when calling get_tsig_key." if tsig_key_id.nil?
|
|
2162
|
+
|
|
2163
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2164
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2165
|
+
end
|
|
2166
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
2167
|
+
|
|
2168
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
2169
|
+
operation_signing_strategy = :standard
|
|
2170
|
+
|
|
2171
|
+
# rubocop:disable Style/NegatedIf
|
|
2172
|
+
# Query Params
|
|
2173
|
+
query_params = {}
|
|
2174
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2175
|
+
|
|
2176
|
+
# Header Params
|
|
2177
|
+
header_params = {}
|
|
2178
|
+
header_params[:accept] = 'application/json'
|
|
2179
|
+
header_params[:'content-type'] = 'application/json'
|
|
2180
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2181
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2182
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2183
|
+
# rubocop:enable Style/NegatedIf
|
|
2184
|
+
|
|
2185
|
+
post_body = nil
|
|
2186
|
+
|
|
2187
|
+
# rubocop:disable Metrics/BlockLength
|
|
2188
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_tsig_key') do
|
|
2189
|
+
@api_client.call_api(
|
|
2190
|
+
:GET,
|
|
2191
|
+
path,
|
|
2192
|
+
endpoint,
|
|
2193
|
+
header_params: header_params,
|
|
2194
|
+
query_params: query_params,
|
|
2195
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2196
|
+
body: post_body,
|
|
2197
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
2198
|
+
)
|
|
2199
|
+
end
|
|
2200
|
+
# rubocop:enable Metrics/BlockLength
|
|
2201
|
+
end
|
|
2202
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2203
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2204
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2205
|
+
|
|
2206
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2207
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2208
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
# Get information about a specific view. Note that attempting to get a
|
|
2212
|
+
# view in the DELETED lifecycleState will result in a 404 to be
|
|
2213
|
+
# consistent with other operations of the API.
|
|
2214
|
+
#
|
|
2215
|
+
# @param [String] view_id The OCID of the target view.
|
|
2216
|
+
# @param [Hash] opts the optional parameters
|
|
2217
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2218
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2219
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2220
|
+
# conditional on the selected representation's modification date being more
|
|
2221
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
968
2222
|
# selected representation's data is avoided if that data has not changed.
|
|
969
|
-
#
|
|
970
|
-
# @
|
|
971
|
-
|
|
972
|
-
|
|
2223
|
+
#
|
|
2224
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2225
|
+
# the absence of any current representation of the target resource, when
|
|
2226
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2227
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2228
|
+
#
|
|
2229
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2230
|
+
# to contact Oracle about a particular request, please provide
|
|
2231
|
+
# the request ID.
|
|
2232
|
+
#
|
|
2233
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2234
|
+
#
|
|
2235
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
2236
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_view.rb.html) to see an example of how to use get_view API.
|
|
2237
|
+
def get_view(view_id, opts = {})
|
|
2238
|
+
logger.debug 'Calling operation DnsClient#get_view.' if logger
|
|
2239
|
+
|
|
2240
|
+
raise "Missing the required parameter 'view_id' when calling get_view." if view_id.nil?
|
|
2241
|
+
|
|
2242
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2243
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2244
|
+
end
|
|
2245
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
2246
|
+
|
|
2247
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
2248
|
+
operation_signing_strategy = :standard
|
|
2249
|
+
|
|
2250
|
+
# rubocop:disable Style/NegatedIf
|
|
2251
|
+
# Query Params
|
|
2252
|
+
query_params = {}
|
|
2253
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2254
|
+
|
|
2255
|
+
# Header Params
|
|
2256
|
+
header_params = {}
|
|
2257
|
+
header_params[:accept] = 'application/json'
|
|
2258
|
+
header_params[:'content-type'] = 'application/json'
|
|
2259
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2260
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2261
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2262
|
+
# rubocop:enable Style/NegatedIf
|
|
2263
|
+
|
|
2264
|
+
post_body = nil
|
|
2265
|
+
|
|
2266
|
+
# rubocop:disable Metrics/BlockLength
|
|
2267
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_view') do
|
|
2268
|
+
@api_client.call_api(
|
|
2269
|
+
:GET,
|
|
2270
|
+
path,
|
|
2271
|
+
endpoint,
|
|
2272
|
+
header_params: header_params,
|
|
2273
|
+
query_params: query_params,
|
|
2274
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2275
|
+
body: post_body,
|
|
2276
|
+
return_type: 'OCI::Dns::Models::View'
|
|
2277
|
+
)
|
|
2278
|
+
end
|
|
2279
|
+
# rubocop:enable Metrics/BlockLength
|
|
2280
|
+
end
|
|
2281
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2282
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2283
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2284
|
+
|
|
2285
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2286
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2287
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
# Gets information about the specified zone, including its creation date,
|
|
2291
|
+
# zone type, and serial.
|
|
2292
|
+
#
|
|
2293
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
2294
|
+
# @param [Hash] opts the optional parameters
|
|
2295
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2296
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2297
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2298
|
+
# the absence of any current representation of the target resource, when
|
|
2299
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2300
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2301
|
+
#
|
|
2302
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2303
|
+
# conditional on the selected representation's modification date being more
|
|
2304
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2305
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2306
|
+
#
|
|
2307
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2308
|
+
# to contact Oracle about a particular request, please provide
|
|
2309
|
+
# the request ID.
|
|
2310
|
+
#
|
|
2311
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2312
|
+
#
|
|
2313
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2314
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2315
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
2316
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_zone.rb.html) to see an example of how to use get_zone API.
|
|
2317
|
+
def get_zone(zone_name_or_id, opts = {})
|
|
2318
|
+
logger.debug 'Calling operation DnsClient#get_zone.' if logger
|
|
2319
|
+
|
|
2320
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_zone." if zone_name_or_id.nil?
|
|
2321
|
+
|
|
2322
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2323
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2324
|
+
end
|
|
2325
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2326
|
+
|
|
2327
|
+
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
2328
|
+
operation_signing_strategy = :standard
|
|
2329
|
+
|
|
2330
|
+
# rubocop:disable Style/NegatedIf
|
|
2331
|
+
# Query Params
|
|
2332
|
+
query_params = {}
|
|
2333
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2334
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2335
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2336
|
+
|
|
2337
|
+
# Header Params
|
|
2338
|
+
header_params = {}
|
|
2339
|
+
header_params[:accept] = 'application/json'
|
|
2340
|
+
header_params[:'content-type'] = 'application/json'
|
|
2341
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2342
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2343
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2344
|
+
# rubocop:enable Style/NegatedIf
|
|
2345
|
+
|
|
2346
|
+
post_body = nil
|
|
2347
|
+
|
|
2348
|
+
# rubocop:disable Metrics/BlockLength
|
|
2349
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
|
|
2350
|
+
@api_client.call_api(
|
|
2351
|
+
:GET,
|
|
2352
|
+
path,
|
|
2353
|
+
endpoint,
|
|
2354
|
+
header_params: header_params,
|
|
2355
|
+
query_params: query_params,
|
|
2356
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2357
|
+
body: post_body,
|
|
2358
|
+
return_type: 'OCI::Dns::Models::Zone'
|
|
2359
|
+
)
|
|
2360
|
+
end
|
|
2361
|
+
# rubocop:enable Metrics/BlockLength
|
|
2362
|
+
end
|
|
2363
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2364
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2365
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2366
|
+
|
|
2367
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2368
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2369
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
# Gets all records in the specified zone. The results are
|
|
2373
|
+
# sorted by `domain` in alphabetical order by default. For more
|
|
2374
|
+
# information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
|
|
2375
|
+
#
|
|
2376
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
2377
|
+
# @param [Hash] opts the optional parameters
|
|
2378
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2379
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2380
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2381
|
+
# the absence of any current representation of the target resource, when
|
|
2382
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2383
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2384
|
+
#
|
|
2385
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2386
|
+
# conditional on the selected representation's modification date being more
|
|
2387
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2388
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2389
|
+
#
|
|
2390
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2391
|
+
# to contact Oracle about a particular request, please provide
|
|
2392
|
+
# the request ID.
|
|
2393
|
+
#
|
|
2394
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2395
|
+
# (default to 50)
|
|
2396
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2397
|
+
#
|
|
2398
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
2399
|
+
#
|
|
2400
|
+
# @option opts [String] :domain Search by domain.
|
|
2401
|
+
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
2402
|
+
#
|
|
2403
|
+
# @option opts [String] :domain_contains Search by domain.
|
|
2404
|
+
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
2405
|
+
#
|
|
2406
|
+
# @option opts [String] :rtype Search by record type.
|
|
2407
|
+
# Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
|
|
2408
|
+
#
|
|
2409
|
+
# @option opts [String] :sort_by The field by which to sort records. (default to domain)
|
|
2410
|
+
# Allowed values are: domain, rtype, ttl
|
|
2411
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2412
|
+
# (default to ASC)
|
|
2413
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2414
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2415
|
+
#
|
|
2416
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2417
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
2418
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_zone_records.rb.html) to see an example of how to use get_zone_records API.
|
|
2419
|
+
def get_zone_records(zone_name_or_id, opts = {})
|
|
2420
|
+
logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
|
|
2421
|
+
|
|
2422
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
|
|
2423
|
+
|
|
2424
|
+
if opts[:sort_by] && !%w[domain rtype ttl].include?(opts[:sort_by])
|
|
2425
|
+
raise 'Invalid value for "sort_by", must be one of domain, rtype, ttl.'
|
|
2426
|
+
end
|
|
2427
|
+
|
|
2428
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2429
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2430
|
+
end
|
|
2431
|
+
|
|
2432
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2433
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2434
|
+
end
|
|
2435
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2436
|
+
|
|
2437
|
+
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
2438
|
+
operation_signing_strategy = :standard
|
|
2439
|
+
|
|
2440
|
+
# rubocop:disable Style/NegatedIf
|
|
2441
|
+
# Query Params
|
|
2442
|
+
query_params = {}
|
|
2443
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2444
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2445
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
2446
|
+
query_params[:domain] = opts[:domain] if opts[:domain]
|
|
2447
|
+
query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
|
|
2448
|
+
query_params[:rtype] = opts[:rtype] if opts[:rtype]
|
|
2449
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2450
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2451
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2452
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2453
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2454
|
+
|
|
2455
|
+
# Header Params
|
|
2456
|
+
header_params = {}
|
|
2457
|
+
header_params[:accept] = 'application/json'
|
|
2458
|
+
header_params[:'content-type'] = 'application/json'
|
|
2459
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2460
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2461
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2462
|
+
# rubocop:enable Style/NegatedIf
|
|
2463
|
+
|
|
2464
|
+
post_body = nil
|
|
2465
|
+
|
|
2466
|
+
# rubocop:disable Metrics/BlockLength
|
|
2467
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
|
|
2468
|
+
@api_client.call_api(
|
|
2469
|
+
:GET,
|
|
2470
|
+
path,
|
|
2471
|
+
endpoint,
|
|
2472
|
+
header_params: header_params,
|
|
2473
|
+
query_params: query_params,
|
|
2474
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2475
|
+
body: post_body,
|
|
2476
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
2477
|
+
)
|
|
2478
|
+
end
|
|
2479
|
+
# rubocop:enable Metrics/BlockLength
|
|
2480
|
+
end
|
|
2481
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2482
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2483
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2484
|
+
|
|
2485
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2486
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2487
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
# Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
|
|
2491
|
+
# It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
|
|
2492
|
+
# query parameter is provided that the collection does not include resolver endpoints in the DELETED
|
|
2493
|
+
# lifecycle state to be consistent with other operations of the API.
|
|
2494
|
+
#
|
|
2495
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
2496
|
+
# @param [Hash] opts the optional parameters
|
|
2497
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2498
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2499
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2500
|
+
# to contact Oracle about a particular request, please provide
|
|
2501
|
+
# the request ID.
|
|
2502
|
+
#
|
|
2503
|
+
# @option opts [String] :name The name of a resource.
|
|
2504
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2505
|
+
#
|
|
2506
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2507
|
+
# (default to 50)
|
|
2508
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2509
|
+
# (default to DESC)
|
|
2510
|
+
# @option opts [String] :sort_by The field by which to sort resolver endpoints. (default to timeCreated)
|
|
2511
|
+
# Allowed values are: name, timeCreated
|
|
2512
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
2513
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2514
|
+
#
|
|
2515
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverEndpointSummary ResolverEndpointSummary}>
|
|
2516
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_resolver_endpoints.rb.html) to see an example of how to use list_resolver_endpoints API.
|
|
2517
|
+
def list_resolver_endpoints(resolver_id, opts = {})
|
|
2518
|
+
logger.debug 'Calling operation DnsClient#list_resolver_endpoints.' if logger
|
|
973
2519
|
|
|
974
|
-
raise "Missing the required parameter '
|
|
975
|
-
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
2520
|
+
raise "Missing the required parameter 'resolver_id' when calling list_resolver_endpoints." if resolver_id.nil?
|
|
976
2521
|
|
|
977
|
-
|
|
2522
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2523
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2524
|
+
end
|
|
2525
|
+
|
|
2526
|
+
if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
|
|
2527
|
+
raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
|
|
2528
|
+
end
|
|
2529
|
+
|
|
2530
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2531
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.'
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2534
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2535
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2536
|
+
end
|
|
2537
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
2538
|
+
|
|
2539
|
+
path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
|
|
978
2540
|
operation_signing_strategy = :standard
|
|
979
2541
|
|
|
980
2542
|
# rubocop:disable Style/NegatedIf
|
|
981
2543
|
# Query Params
|
|
982
2544
|
query_params = {}
|
|
2545
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
2546
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2547
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2548
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2549
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2550
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2551
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
983
2552
|
|
|
984
2553
|
# Header Params
|
|
985
2554
|
header_params = {}
|
|
986
2555
|
header_params[:accept] = 'application/json'
|
|
987
2556
|
header_params[:'content-type'] = 'application/json'
|
|
988
|
-
header_params[:'
|
|
989
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2557
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
990
2558
|
# rubocop:enable Style/NegatedIf
|
|
991
2559
|
|
|
992
2560
|
post_body = nil
|
|
993
2561
|
|
|
994
2562
|
# rubocop:disable Metrics/BlockLength
|
|
995
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2563
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolver_endpoints') do
|
|
996
2564
|
@api_client.call_api(
|
|
997
2565
|
:GET,
|
|
998
2566
|
path,
|
|
@@ -1001,7 +2569,7 @@ module OCI
|
|
|
1001
2569
|
query_params: query_params,
|
|
1002
2570
|
operation_signing_strategy: operation_signing_strategy,
|
|
1003
2571
|
body: post_body,
|
|
1004
|
-
return_type: 'OCI::Dns::Models::
|
|
2572
|
+
return_type: 'Array<OCI::Dns::Models::ResolverEndpointSummary>'
|
|
1005
2573
|
)
|
|
1006
2574
|
end
|
|
1007
2575
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1015,48 +2583,84 @@ module OCI
|
|
|
1015
2583
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1016
2584
|
|
|
1017
2585
|
|
|
1018
|
-
# Gets
|
|
2586
|
+
# Gets a list of all resolvers within a compartment. The collection can
|
|
2587
|
+
# be filtered by display name, id, or lifecycle state. It can be sorted
|
|
2588
|
+
# on creation time or displayName both in ASC or DESC order. Note that
|
|
2589
|
+
# when no lifecycleState query parameter is provided that the collection
|
|
2590
|
+
# does not include resolvers in the DELETED lifecycleState to be consistent
|
|
2591
|
+
# with other operations of the API.
|
|
1019
2592
|
#
|
|
1020
|
-
# @param [String]
|
|
2593
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1021
2594
|
# @param [Hash] opts the optional parameters
|
|
1022
2595
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1023
2596
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1024
|
-
# @option opts [String] :
|
|
1025
|
-
#
|
|
1026
|
-
# the
|
|
1027
|
-
#
|
|
1028
|
-
#
|
|
1029
|
-
# @option opts [String] :
|
|
1030
|
-
#
|
|
1031
|
-
#
|
|
1032
|
-
#
|
|
1033
|
-
# (default to
|
|
1034
|
-
# @
|
|
1035
|
-
|
|
1036
|
-
|
|
2597
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2598
|
+
# to contact Oracle about a particular request, please provide
|
|
2599
|
+
# the request ID.
|
|
2600
|
+
#
|
|
2601
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2602
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2603
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2604
|
+
#
|
|
2605
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2606
|
+
# (default to 50)
|
|
2607
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2608
|
+
# (default to DESC)
|
|
2609
|
+
# @option opts [String] :sort_by The field by which to sort resolvers. (default to timeCreated)
|
|
2610
|
+
# Allowed values are: displayName, timeCreated
|
|
2611
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
2612
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2613
|
+
#
|
|
2614
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverSummary ResolverSummary}>
|
|
2615
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_resolvers.rb.html) to see an example of how to use list_resolvers API.
|
|
2616
|
+
def list_resolvers(compartment_id, opts = {})
|
|
2617
|
+
logger.debug 'Calling operation DnsClient#list_resolvers.' if logger
|
|
1037
2618
|
|
|
1038
|
-
raise "Missing the required parameter '
|
|
1039
|
-
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
2619
|
+
raise "Missing the required parameter 'compartment_id' when calling list_resolvers." if compartment_id.nil?
|
|
1040
2620
|
|
|
1041
|
-
|
|
2621
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2622
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2623
|
+
end
|
|
2624
|
+
|
|
2625
|
+
if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
|
|
2626
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
|
|
2627
|
+
end
|
|
2628
|
+
|
|
2629
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2630
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.'
|
|
2631
|
+
end
|
|
2632
|
+
|
|
2633
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2634
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2635
|
+
end
|
|
2636
|
+
|
|
2637
|
+
path = '/resolvers'
|
|
1042
2638
|
operation_signing_strategy = :standard
|
|
1043
2639
|
|
|
1044
2640
|
# rubocop:disable Style/NegatedIf
|
|
1045
2641
|
# Query Params
|
|
1046
2642
|
query_params = {}
|
|
2643
|
+
query_params[:compartmentId] = compartment_id
|
|
2644
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2645
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2646
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2647
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2648
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2649
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2650
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2651
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1047
2652
|
|
|
1048
2653
|
# Header Params
|
|
1049
2654
|
header_params = {}
|
|
1050
2655
|
header_params[:accept] = 'application/json'
|
|
1051
2656
|
header_params[:'content-type'] = 'application/json'
|
|
1052
|
-
header_params[:'
|
|
1053
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2657
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1054
2658
|
# rubocop:enable Style/NegatedIf
|
|
1055
2659
|
|
|
1056
2660
|
post_body = nil
|
|
1057
2661
|
|
|
1058
2662
|
# rubocop:disable Metrics/BlockLength
|
|
1059
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2663
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolvers') do
|
|
1060
2664
|
@api_client.call_api(
|
|
1061
2665
|
:GET,
|
|
1062
2666
|
path,
|
|
@@ -1065,7 +2669,7 @@ module OCI
|
|
|
1065
2669
|
query_params: query_params,
|
|
1066
2670
|
operation_signing_strategy: operation_signing_strategy,
|
|
1067
2671
|
body: post_body,
|
|
1068
|
-
return_type: 'OCI::Dns::Models::
|
|
2672
|
+
return_type: 'Array<OCI::Dns::Models::ResolverSummary>'
|
|
1069
2673
|
)
|
|
1070
2674
|
end
|
|
1071
2675
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1079,51 +2683,99 @@ module OCI
|
|
|
1079
2683
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1080
2684
|
|
|
1081
2685
|
|
|
1082
|
-
# Gets
|
|
1083
|
-
# zone type, and serial.
|
|
2686
|
+
# Gets a list of all steering policies in the specified compartment.
|
|
1084
2687
|
#
|
|
1085
|
-
# @param [String]
|
|
2688
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1086
2689
|
# @param [Hash] opts the optional parameters
|
|
1087
2690
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1088
2691
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1089
|
-
# @option opts [String] :
|
|
1090
|
-
#
|
|
1091
|
-
# the
|
|
1092
|
-
#
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
#
|
|
1098
|
-
#
|
|
1099
|
-
# @option opts [String] :
|
|
1100
|
-
#
|
|
1101
|
-
|
|
1102
|
-
|
|
2692
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2693
|
+
# to contact Oracle about a particular request, please provide
|
|
2694
|
+
# the request ID.
|
|
2695
|
+
#
|
|
2696
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2697
|
+
# (default to 50)
|
|
2698
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2699
|
+
#
|
|
2700
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2701
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2702
|
+
# @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
|
|
2703
|
+
# (case-insensitive) contains the provided value.
|
|
2704
|
+
#
|
|
2705
|
+
# @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
|
|
2706
|
+
# Will match any resource whose health check monitor ID matches the provided value.
|
|
2707
|
+
#
|
|
2708
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2709
|
+
# all returned resources were created on or after the indicated time.
|
|
2710
|
+
#
|
|
2711
|
+
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2712
|
+
# all returned resources were created before the indicated time.
|
|
2713
|
+
#
|
|
2714
|
+
# @option opts [String] :template Search by steering template type.
|
|
2715
|
+
# Will match any resource whose template type matches the provided value.
|
|
2716
|
+
#
|
|
2717
|
+
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
2718
|
+
# @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2719
|
+
# Allowed values are: displayName, timeCreated, template
|
|
2720
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2721
|
+
# (default to DESC)
|
|
2722
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2723
|
+
#
|
|
2724
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
|
|
2725
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_steering_policies.rb.html) to see an example of how to use list_steering_policies API.
|
|
2726
|
+
def list_steering_policies(compartment_id, opts = {})
|
|
2727
|
+
logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
|
|
1103
2728
|
|
|
1104
|
-
raise "Missing the required parameter '
|
|
1105
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2729
|
+
raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
|
|
1106
2730
|
|
|
1107
|
-
|
|
2731
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2732
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.'
|
|
2733
|
+
end
|
|
2734
|
+
|
|
2735
|
+
if opts[:sort_by] && !%w[displayName timeCreated template].include?(opts[:sort_by])
|
|
2736
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, template.'
|
|
2737
|
+
end
|
|
2738
|
+
|
|
2739
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2740
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2741
|
+
end
|
|
2742
|
+
|
|
2743
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2744
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2745
|
+
end
|
|
2746
|
+
|
|
2747
|
+
path = '/steeringPolicies'
|
|
1108
2748
|
operation_signing_strategy = :standard
|
|
1109
2749
|
|
|
1110
2750
|
# rubocop:disable Style/NegatedIf
|
|
1111
2751
|
# Query Params
|
|
1112
2752
|
query_params = {}
|
|
1113
|
-
query_params[:compartmentId] =
|
|
2753
|
+
query_params[:compartmentId] = compartment_id
|
|
2754
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2755
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2756
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2757
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2758
|
+
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
|
2759
|
+
query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
|
|
2760
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
2761
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
2762
|
+
query_params[:template] = opts[:template] if opts[:template]
|
|
2763
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2764
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2765
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2766
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1114
2767
|
|
|
1115
2768
|
# Header Params
|
|
1116
2769
|
header_params = {}
|
|
1117
2770
|
header_params[:accept] = 'application/json'
|
|
1118
2771
|
header_params[:'content-type'] = 'application/json'
|
|
1119
|
-
header_params[:'
|
|
1120
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2772
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1121
2773
|
# rubocop:enable Style/NegatedIf
|
|
1122
2774
|
|
|
1123
2775
|
post_body = nil
|
|
1124
2776
|
|
|
1125
2777
|
# rubocop:disable Metrics/BlockLength
|
|
1126
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2778
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
|
|
1127
2779
|
@api_client.call_api(
|
|
1128
2780
|
:GET,
|
|
1129
2781
|
path,
|
|
@@ -1132,7 +2784,7 @@ module OCI
|
|
|
1132
2784
|
query_params: query_params,
|
|
1133
2785
|
operation_signing_strategy: operation_signing_strategy,
|
|
1134
2786
|
body: post_body,
|
|
1135
|
-
return_type: 'OCI::Dns::Models::
|
|
2787
|
+
return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
|
|
1136
2788
|
)
|
|
1137
2789
|
end
|
|
1138
2790
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1146,87 +2798,103 @@ module OCI
|
|
|
1146
2798
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1147
2799
|
|
|
1148
2800
|
|
|
1149
|
-
#
|
|
1150
|
-
# sorted by `domain` in alphabetical order by default. For more
|
|
1151
|
-
# information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
|
|
2801
|
+
# Lists the steering policy attachments in the specified compartment.
|
|
1152
2802
|
#
|
|
1153
|
-
# @param [String]
|
|
2803
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1154
2804
|
# @param [Hash] opts the optional parameters
|
|
1155
2805
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1156
2806
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1157
|
-
# @option opts [String] :
|
|
1158
|
-
#
|
|
1159
|
-
# the
|
|
1160
|
-
#
|
|
1161
|
-
# (default to nil)
|
|
1162
|
-
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1163
|
-
# conditional on the selected representation's modification date being more
|
|
1164
|
-
# recent than the date provided in the field-value. Transfer of the
|
|
1165
|
-
# selected representation's data is avoided if that data has not changed.
|
|
1166
|
-
# (default to nil)
|
|
2807
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2808
|
+
# to contact Oracle about a particular request, please provide
|
|
2809
|
+
# the request ID.
|
|
2810
|
+
#
|
|
1167
2811
|
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1168
2812
|
# (default to 50)
|
|
1169
2813
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1170
|
-
#
|
|
1171
|
-
# @option opts [String] :
|
|
1172
|
-
#
|
|
2814
|
+
#
|
|
2815
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2816
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2817
|
+
# @option opts [String] :steering_policy_id Search by steering policy OCID.
|
|
2818
|
+
# Will match any resource whose steering policy ID matches the provided value.
|
|
2819
|
+
#
|
|
2820
|
+
# @option opts [String] :zone_id Search by zone OCID.
|
|
2821
|
+
# Will match any resource whose zone ID matches the provided value.
|
|
2822
|
+
#
|
|
1173
2823
|
# @option opts [String] :domain Search by domain.
|
|
1174
2824
|
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
1175
|
-
#
|
|
2825
|
+
#
|
|
1176
2826
|
# @option opts [String] :domain_contains Search by domain.
|
|
1177
2827
|
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
1178
|
-
#
|
|
1179
|
-
# @option opts [
|
|
1180
|
-
#
|
|
1181
|
-
#
|
|
1182
|
-
# @option opts [
|
|
1183
|
-
#
|
|
2828
|
+
#
|
|
2829
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2830
|
+
# all returned resources were created on or after the indicated time.
|
|
2831
|
+
#
|
|
2832
|
+
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2833
|
+
# all returned resources were created before the indicated time.
|
|
2834
|
+
#
|
|
2835
|
+
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
2836
|
+
# @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2837
|
+
# Allowed values are: displayName, timeCreated, domainName
|
|
1184
2838
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
1185
2839
|
# (default to DESC)
|
|
1186
|
-
# @option opts [String] :
|
|
1187
|
-
#
|
|
1188
|
-
|
|
1189
|
-
|
|
2840
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2841
|
+
#
|
|
2842
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
|
|
2843
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_steering_policy_attachments.rb.html) to see an example of how to use list_steering_policy_attachments API.
|
|
2844
|
+
def list_steering_policy_attachments(compartment_id, opts = {})
|
|
2845
|
+
logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
|
|
1190
2846
|
|
|
1191
|
-
raise "Missing the required parameter '
|
|
2847
|
+
raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
|
|
1192
2848
|
|
|
1193
|
-
if opts[:
|
|
1194
|
-
raise 'Invalid value for "
|
|
2849
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2850
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.'
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
if opts[:sort_by] && !%w[displayName timeCreated domainName].include?(opts[:sort_by])
|
|
2854
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, domainName.'
|
|
1195
2855
|
end
|
|
1196
2856
|
|
|
1197
2857
|
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1198
2858
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1199
2859
|
end
|
|
1200
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1201
2860
|
|
|
1202
|
-
|
|
2861
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2862
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2863
|
+
end
|
|
2864
|
+
|
|
2865
|
+
path = '/steeringPolicyAttachments'
|
|
1203
2866
|
operation_signing_strategy = :standard
|
|
1204
2867
|
|
|
1205
2868
|
# rubocop:disable Style/NegatedIf
|
|
1206
2869
|
# Query Params
|
|
1207
2870
|
query_params = {}
|
|
2871
|
+
query_params[:compartmentId] = compartment_id
|
|
1208
2872
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1209
2873
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1210
|
-
query_params[:
|
|
2874
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2875
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2876
|
+
query_params[:steeringPolicyId] = opts[:steering_policy_id] if opts[:steering_policy_id]
|
|
2877
|
+
query_params[:zoneId] = opts[:zone_id] if opts[:zone_id]
|
|
1211
2878
|
query_params[:domain] = opts[:domain] if opts[:domain]
|
|
1212
2879
|
query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
|
|
1213
|
-
query_params[:
|
|
2880
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
2881
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
2882
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1214
2883
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1215
2884
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1216
|
-
query_params[:
|
|
2885
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1217
2886
|
|
|
1218
2887
|
# Header Params
|
|
1219
2888
|
header_params = {}
|
|
1220
2889
|
header_params[:accept] = 'application/json'
|
|
1221
2890
|
header_params[:'content-type'] = 'application/json'
|
|
1222
|
-
header_params[:'
|
|
1223
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2891
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1224
2892
|
# rubocop:enable Style/NegatedIf
|
|
1225
2893
|
|
|
1226
2894
|
post_body = nil
|
|
1227
2895
|
|
|
1228
2896
|
# rubocop:disable Metrics/BlockLength
|
|
1229
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2897
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
|
|
1230
2898
|
@api_client.call_api(
|
|
1231
2899
|
:GET,
|
|
1232
2900
|
path,
|
|
@@ -1235,7 +2903,7 @@ module OCI
|
|
|
1235
2903
|
query_params: query_params,
|
|
1236
2904
|
operation_signing_strategy: operation_signing_strategy,
|
|
1237
2905
|
body: post_body,
|
|
1238
|
-
return_type: 'OCI::Dns::Models::
|
|
2906
|
+
return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
|
|
1239
2907
|
)
|
|
1240
2908
|
end
|
|
1241
2909
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1246,60 +2914,56 @@ module OCI
|
|
|
1246
2914
|
|
|
1247
2915
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1248
2916
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1249
|
-
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
# Gets a list of all
|
|
1253
|
-
#
|
|
1254
|
-
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1255
|
-
# @param [Hash] opts the optional parameters
|
|
1256
|
-
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1257
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1258
|
-
# @option opts [
|
|
1259
|
-
#
|
|
1260
|
-
#
|
|
1261
|
-
#
|
|
1262
|
-
# @option opts [
|
|
1263
|
-
#
|
|
1264
|
-
# @option opts [String] :
|
|
1265
|
-
#
|
|
1266
|
-
#
|
|
1267
|
-
# @option opts [String] :
|
|
1268
|
-
#
|
|
1269
|
-
#
|
|
1270
|
-
#
|
|
1271
|
-
# all returned resources were created on or after the indicated time.
|
|
1272
|
-
# (default to nil)
|
|
1273
|
-
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1274
|
-
# all returned resources were created before the indicated time.
|
|
1275
|
-
# (default to nil)
|
|
1276
|
-
# @option opts [String] :template Search by steering template type.
|
|
1277
|
-
# Will match any resource whose template type matches the provided value.
|
|
1278
|
-
# (default to nil)
|
|
1279
|
-
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
1280
|
-
# @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
1281
|
-
# Allowed values are: displayName, timeCreated, template
|
|
2917
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
# Gets a list of all TSIG keys in the specified compartment.
|
|
2921
|
+
#
|
|
2922
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
2923
|
+
# @param [Hash] opts the optional parameters
|
|
2924
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2925
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2926
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2927
|
+
# to contact Oracle about a particular request, please provide
|
|
2928
|
+
# the request ID.
|
|
2929
|
+
#
|
|
2930
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2931
|
+
# (default to 50)
|
|
2932
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2933
|
+
#
|
|
2934
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2935
|
+
# @option opts [String] :name The name of a resource.
|
|
2936
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
2937
|
+
# @option opts [String] :sort_by The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2938
|
+
# Allowed values are: name, timeCreated
|
|
1282
2939
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
1283
2940
|
# (default to DESC)
|
|
1284
|
-
# @
|
|
1285
|
-
|
|
1286
|
-
|
|
2941
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2942
|
+
#
|
|
2943
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::TsigKeySummary TsigKeySummary}>
|
|
2944
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_tsig_keys.rb.html) to see an example of how to use list_tsig_keys API.
|
|
2945
|
+
def list_tsig_keys(compartment_id, opts = {})
|
|
2946
|
+
logger.debug 'Calling operation DnsClient#list_tsig_keys.' if logger
|
|
1287
2947
|
|
|
1288
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
|
2948
|
+
raise "Missing the required parameter 'compartment_id' when calling list_tsig_keys." if compartment_id.nil?
|
|
1289
2949
|
|
|
1290
|
-
if opts[:lifecycle_state] && !OCI::Dns::Models::
|
|
1291
|
-
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::
|
|
2950
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2951
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.'
|
|
1292
2952
|
end
|
|
1293
2953
|
|
|
1294
|
-
if opts[:sort_by] && !%w[
|
|
1295
|
-
raise 'Invalid value for "sort_by", must be one of
|
|
2954
|
+
if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
|
|
2955
|
+
raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
|
|
1296
2956
|
end
|
|
1297
2957
|
|
|
1298
2958
|
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1299
2959
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1300
2960
|
end
|
|
1301
2961
|
|
|
1302
|
-
|
|
2962
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2963
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2964
|
+
end
|
|
2965
|
+
|
|
2966
|
+
path = '/tsigKeys'
|
|
1303
2967
|
operation_signing_strategy = :standard
|
|
1304
2968
|
|
|
1305
2969
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1309,26 +2973,23 @@ module OCI
|
|
|
1309
2973
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1310
2974
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1311
2975
|
query_params[:id] = opts[:id] if opts[:id]
|
|
1312
|
-
query_params[:
|
|
1313
|
-
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
|
1314
|
-
query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
|
|
1315
|
-
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
1316
|
-
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
1317
|
-
query_params[:template] = opts[:template] if opts[:template]
|
|
2976
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
1318
2977
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1319
2978
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1320
2979
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2980
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1321
2981
|
|
|
1322
2982
|
# Header Params
|
|
1323
2983
|
header_params = {}
|
|
1324
2984
|
header_params[:accept] = 'application/json'
|
|
1325
2985
|
header_params[:'content-type'] = 'application/json'
|
|
2986
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1326
2987
|
# rubocop:enable Style/NegatedIf
|
|
1327
2988
|
|
|
1328
2989
|
post_body = nil
|
|
1329
2990
|
|
|
1330
2991
|
# rubocop:disable Metrics/BlockLength
|
|
1331
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2992
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_tsig_keys') do
|
|
1332
2993
|
@api_client.call_api(
|
|
1333
2994
|
:GET,
|
|
1334
2995
|
path,
|
|
@@ -1337,7 +2998,7 @@ module OCI
|
|
|
1337
2998
|
query_params: query_params,
|
|
1338
2999
|
operation_signing_strategy: operation_signing_strategy,
|
|
1339
3000
|
body: post_body,
|
|
1340
|
-
return_type: 'Array<OCI::Dns::Models::
|
|
3001
|
+
return_type: 'Array<OCI::Dns::Models::TsigKeySummary>'
|
|
1341
3002
|
)
|
|
1342
3003
|
end
|
|
1343
3004
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1351,90 +3012,84 @@ module OCI
|
|
|
1351
3012
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1352
3013
|
|
|
1353
3014
|
|
|
1354
|
-
#
|
|
3015
|
+
# Gets a list of all views within a compartment. The collection can
|
|
3016
|
+
# be filtered by display name, id, or lifecycle state. It can be sorted
|
|
3017
|
+
# on creation time or displayName both in ASC or DESC order. Note that
|
|
3018
|
+
# when no lifecycleState query parameter is provided that the collection
|
|
3019
|
+
# does not include views in the DELETED lifecycleState to be consistent
|
|
3020
|
+
# with other operations of the API.
|
|
1355
3021
|
#
|
|
1356
3022
|
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1357
3023
|
# @param [Hash] opts the optional parameters
|
|
1358
3024
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1359
3025
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3026
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3027
|
+
# to contact Oracle about a particular request, please provide
|
|
3028
|
+
# the request ID.
|
|
3029
|
+
#
|
|
3030
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
3031
|
+
# @option opts [String] :id The OCID of a resource.
|
|
3032
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
3033
|
+
#
|
|
1360
3034
|
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1361
3035
|
# (default to 50)
|
|
1362
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1363
|
-
# (default to nil)
|
|
1364
|
-
# @option opts [String] :id The OCID of a resource. (default to nil)
|
|
1365
|
-
# @option opts [String] :display_name The displayName of a resource. (default to nil)
|
|
1366
|
-
# @option opts [String] :steering_policy_id Search by steering policy OCID.
|
|
1367
|
-
# Will match any resource whose steering policy ID matches the provided value.
|
|
1368
|
-
# (default to nil)
|
|
1369
|
-
# @option opts [String] :zone_id Search by zone OCID.
|
|
1370
|
-
# Will match any resource whose zone ID matches the provided value.
|
|
1371
|
-
# (default to nil)
|
|
1372
|
-
# @option opts [String] :domain Search by domain.
|
|
1373
|
-
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
1374
|
-
# (default to nil)
|
|
1375
|
-
# @option opts [String] :domain_contains Search by domain.
|
|
1376
|
-
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
1377
|
-
# (default to nil)
|
|
1378
|
-
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1379
|
-
# all returned resources were created on or after the indicated time.
|
|
1380
|
-
# (default to nil)
|
|
1381
|
-
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1382
|
-
# all returned resources were created before the indicated time.
|
|
1383
|
-
# (default to nil)
|
|
1384
|
-
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
1385
|
-
# @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
1386
|
-
# Allowed values are: displayName, timeCreated, domainName
|
|
1387
3036
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
1388
3037
|
# (default to DESC)
|
|
1389
|
-
# @
|
|
1390
|
-
|
|
1391
|
-
|
|
3038
|
+
# @option opts [String] :sort_by The field by which to sort views. (default to timeCreated)
|
|
3039
|
+
# Allowed values are: displayName, timeCreated
|
|
3040
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
3041
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3042
|
+
#
|
|
3043
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ViewSummary ViewSummary}>
|
|
3044
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_views.rb.html) to see an example of how to use list_views API.
|
|
3045
|
+
def list_views(compartment_id, opts = {})
|
|
3046
|
+
logger.debug 'Calling operation DnsClient#list_views.' if logger
|
|
1392
3047
|
|
|
1393
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
|
3048
|
+
raise "Missing the required parameter 'compartment_id' when calling list_views." if compartment_id.nil?
|
|
1394
3049
|
|
|
1395
|
-
if opts[:
|
|
1396
|
-
raise 'Invalid value for "
|
|
3050
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
3051
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1397
3052
|
end
|
|
1398
3053
|
|
|
1399
|
-
if opts[:sort_by] && !%w[displayName timeCreated
|
|
1400
|
-
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated
|
|
3054
|
+
if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
|
|
3055
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
|
|
1401
3056
|
end
|
|
1402
3057
|
|
|
1403
|
-
if opts[:
|
|
1404
|
-
raise 'Invalid value for "
|
|
3058
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
3059
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.'
|
|
1405
3060
|
end
|
|
1406
3061
|
|
|
1407
|
-
|
|
3062
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3063
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3064
|
+
end
|
|
3065
|
+
|
|
3066
|
+
path = '/views'
|
|
1408
3067
|
operation_signing_strategy = :standard
|
|
1409
3068
|
|
|
1410
3069
|
# rubocop:disable Style/NegatedIf
|
|
1411
3070
|
# Query Params
|
|
1412
3071
|
query_params = {}
|
|
1413
3072
|
query_params[:compartmentId] = compartment_id
|
|
1414
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1415
|
-
query_params[:page] = opts[:page] if opts[:page]
|
|
1416
|
-
query_params[:id] = opts[:id] if opts[:id]
|
|
1417
3073
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
1418
|
-
query_params[:
|
|
1419
|
-
query_params[:
|
|
1420
|
-
query_params[:
|
|
1421
|
-
query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
|
|
1422
|
-
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
1423
|
-
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
1424
|
-
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1425
|
-
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
3074
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
3075
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
3076
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1426
3077
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
3078
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
3079
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
3080
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1427
3081
|
|
|
1428
3082
|
# Header Params
|
|
1429
3083
|
header_params = {}
|
|
1430
3084
|
header_params[:accept] = 'application/json'
|
|
1431
3085
|
header_params[:'content-type'] = 'application/json'
|
|
3086
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1432
3087
|
# rubocop:enable Style/NegatedIf
|
|
1433
3088
|
|
|
1434
3089
|
post_body = nil
|
|
1435
3090
|
|
|
1436
3091
|
# rubocop:disable Metrics/BlockLength
|
|
1437
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3092
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_views') do
|
|
1438
3093
|
@api_client.call_api(
|
|
1439
3094
|
:GET,
|
|
1440
3095
|
path,
|
|
@@ -1443,7 +3098,7 @@ module OCI
|
|
|
1443
3098
|
query_params: query_params,
|
|
1444
3099
|
operation_signing_strategy: operation_signing_strategy,
|
|
1445
3100
|
body: post_body,
|
|
1446
|
-
return_type: 'Array<OCI::Dns::Models::
|
|
3101
|
+
return_type: 'Array<OCI::Dns::Models::ViewSummary>'
|
|
1447
3102
|
)
|
|
1448
3103
|
end
|
|
1449
3104
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1458,39 +3113,47 @@ module OCI
|
|
|
1458
3113
|
|
|
1459
3114
|
|
|
1460
3115
|
# Gets a list of all zones in the specified compartment. The collection
|
|
1461
|
-
# can be filtered by name, time created, and zone type.
|
|
3116
|
+
# can be filtered by name, time created, scope, associated view, and zone type.
|
|
1462
3117
|
#
|
|
1463
3118
|
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1464
3119
|
# @param [Hash] opts the optional parameters
|
|
1465
3120
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1466
3121
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3122
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3123
|
+
# to contact Oracle about a particular request, please provide
|
|
3124
|
+
# the request ID.
|
|
3125
|
+
#
|
|
1467
3126
|
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1468
3127
|
# (default to 50)
|
|
1469
3128
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1470
|
-
#
|
|
3129
|
+
#
|
|
1471
3130
|
# @option opts [String] :name A case-sensitive filter for zone names.
|
|
1472
3131
|
# Will match any zone with a name that equals the provided value.
|
|
1473
|
-
#
|
|
3132
|
+
#
|
|
1474
3133
|
# @option opts [String] :name_contains Search by zone name.
|
|
1475
3134
|
# Will match any zone whose name (case-insensitive) contains the provided value.
|
|
1476
|
-
#
|
|
3135
|
+
#
|
|
1477
3136
|
# @option opts [String] :zone_type Search by zone type, `PRIMARY` or `SECONDARY`.
|
|
1478
3137
|
# Will match any zone whose type equals the provided value.
|
|
1479
|
-
#
|
|
3138
|
+
#
|
|
1480
3139
|
# Allowed values are: PRIMARY, SECONDARY
|
|
1481
3140
|
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1482
3141
|
# all returned resources were created on or after the indicated time.
|
|
1483
|
-
#
|
|
3142
|
+
#
|
|
1484
3143
|
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1485
3144
|
# all returned resources were created before the indicated time.
|
|
1486
|
-
#
|
|
3145
|
+
#
|
|
1487
3146
|
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
1488
3147
|
# Allowed values are: ACTIVE, CREATING, DELETED, DELETING, FAILED
|
|
1489
3148
|
# @option opts [String] :sort_by The field by which to sort zones. (default to timeCreated)
|
|
1490
3149
|
# Allowed values are: name, zoneType, timeCreated
|
|
1491
3150
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
1492
3151
|
# (default to DESC)
|
|
3152
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3153
|
+
#
|
|
3154
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1493
3155
|
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ZoneSummary ZoneSummary}>
|
|
3156
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_zones.rb.html) to see an example of how to use list_zones API.
|
|
1494
3157
|
def list_zones(compartment_id, opts = {})
|
|
1495
3158
|
logger.debug 'Calling operation DnsClient#list_zones.' if logger
|
|
1496
3159
|
|
|
@@ -1512,6 +3175,10 @@ module OCI
|
|
|
1512
3175
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1513
3176
|
end
|
|
1514
3177
|
|
|
3178
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3179
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3180
|
+
end
|
|
3181
|
+
|
|
1515
3182
|
path = '/zones'
|
|
1516
3183
|
operation_signing_strategy = :standard
|
|
1517
3184
|
|
|
@@ -1529,11 +3196,14 @@ module OCI
|
|
|
1529
3196
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1530
3197
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1531
3198
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
3199
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3200
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1532
3201
|
|
|
1533
3202
|
# Header Params
|
|
1534
3203
|
header_params = {}
|
|
1535
3204
|
header_params[:accept] = 'application/json'
|
|
1536
3205
|
header_params[:'content-type'] = 'application/json'
|
|
3206
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1537
3207
|
# rubocop:enable Style/NegatedIf
|
|
1538
3208
|
|
|
1539
3209
|
post_body = nil
|
|
@@ -1578,30 +3248,223 @@ module OCI
|
|
|
1578
3248
|
# when the field-value is `*`, or having a current representation of the
|
|
1579
3249
|
# target resource that has an entity-tag matching a member of the list of
|
|
1580
3250
|
# entity-tags provided in the field-value.
|
|
1581
|
-
#
|
|
3251
|
+
#
|
|
1582
3252
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1583
3253
|
# conditional on the selected representation's last modification date being
|
|
1584
3254
|
# earlier than or equal to the date provided in the field-value. This
|
|
1585
3255
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1586
3256
|
# agent does not have an entity-tag for the representation.
|
|
1587
|
-
#
|
|
1588
|
-
# @option opts [String] :
|
|
3257
|
+
#
|
|
3258
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3259
|
+
# to contact Oracle about a particular request, please provide
|
|
3260
|
+
# the request ID.
|
|
3261
|
+
#
|
|
3262
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3263
|
+
#
|
|
3264
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3265
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1589
3266
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3267
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_domain_records.rb.html) to see an example of how to use patch_domain_records API.
|
|
1590
3268
|
def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
|
|
1591
3269
|
logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
|
|
1592
3270
|
|
|
1593
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
|
|
1594
|
-
raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
|
|
1595
|
-
raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
|
|
3271
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
|
|
3272
|
+
raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
|
|
3273
|
+
raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
|
|
3274
|
+
|
|
3275
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3276
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3277
|
+
end
|
|
3278
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
3279
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
3280
|
+
|
|
3281
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
3282
|
+
operation_signing_strategy = :standard
|
|
3283
|
+
|
|
3284
|
+
# rubocop:disable Style/NegatedIf
|
|
3285
|
+
# Query Params
|
|
3286
|
+
query_params = {}
|
|
3287
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3288
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
3289
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
3290
|
+
|
|
3291
|
+
# Header Params
|
|
3292
|
+
header_params = {}
|
|
3293
|
+
header_params[:accept] = 'application/json'
|
|
3294
|
+
header_params[:'content-type'] = 'application/json'
|
|
3295
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3296
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3297
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
3298
|
+
# rubocop:enable Style/NegatedIf
|
|
3299
|
+
|
|
3300
|
+
post_body = @api_client.object_to_http_body(patch_domain_records_details)
|
|
3301
|
+
|
|
3302
|
+
# rubocop:disable Metrics/BlockLength
|
|
3303
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
|
|
3304
|
+
@api_client.call_api(
|
|
3305
|
+
:PATCH,
|
|
3306
|
+
path,
|
|
3307
|
+
endpoint,
|
|
3308
|
+
header_params: header_params,
|
|
3309
|
+
query_params: query_params,
|
|
3310
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3311
|
+
body: post_body,
|
|
3312
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
3313
|
+
)
|
|
3314
|
+
end
|
|
3315
|
+
# rubocop:enable Metrics/BlockLength
|
|
3316
|
+
end
|
|
3317
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3318
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3319
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3320
|
+
|
|
3321
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3322
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3323
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
# Updates records in the specified RRSet.
|
|
3327
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
3328
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
3329
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
3330
|
+
# @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
|
|
3331
|
+
# @param [Hash] opts the optional parameters
|
|
3332
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3333
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3334
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
3335
|
+
# existence of at least one current representation of the target resource,
|
|
3336
|
+
# when the field-value is `*`, or having a current representation of the
|
|
3337
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
3338
|
+
# entity-tags provided in the field-value.
|
|
3339
|
+
#
|
|
3340
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
3341
|
+
# conditional on the selected representation's last modification date being
|
|
3342
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
3343
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
3344
|
+
# agent does not have an entity-tag for the representation.
|
|
3345
|
+
#
|
|
3346
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3347
|
+
# to contact Oracle about a particular request, please provide
|
|
3348
|
+
# the request ID.
|
|
3349
|
+
#
|
|
3350
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3351
|
+
#
|
|
3352
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3353
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
3354
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3355
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_rr_set.rb.html) to see an example of how to use patch_rr_set API.
|
|
3356
|
+
def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
|
|
3357
|
+
logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
|
|
3358
|
+
|
|
3359
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_rr_set." if zone_name_or_id.nil?
|
|
3360
|
+
raise "Missing the required parameter 'domain' when calling patch_rr_set." if domain.nil?
|
|
3361
|
+
raise "Missing the required parameter 'rtype' when calling patch_rr_set." if rtype.nil?
|
|
3362
|
+
raise "Missing the required parameter 'patch_rr_set_details' when calling patch_rr_set." if patch_rr_set_details.nil?
|
|
3363
|
+
|
|
3364
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3365
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3366
|
+
end
|
|
3367
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
3368
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
3369
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
3370
|
+
|
|
3371
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
3372
|
+
operation_signing_strategy = :standard
|
|
3373
|
+
|
|
3374
|
+
# rubocop:disable Style/NegatedIf
|
|
3375
|
+
# Query Params
|
|
3376
|
+
query_params = {}
|
|
3377
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3378
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
3379
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
3380
|
+
|
|
3381
|
+
# Header Params
|
|
3382
|
+
header_params = {}
|
|
3383
|
+
header_params[:accept] = 'application/json'
|
|
3384
|
+
header_params[:'content-type'] = 'application/json'
|
|
3385
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3386
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3387
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
3388
|
+
# rubocop:enable Style/NegatedIf
|
|
3389
|
+
|
|
3390
|
+
post_body = @api_client.object_to_http_body(patch_rr_set_details)
|
|
3391
|
+
|
|
3392
|
+
# rubocop:disable Metrics/BlockLength
|
|
3393
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
|
|
3394
|
+
@api_client.call_api(
|
|
3395
|
+
:PATCH,
|
|
3396
|
+
path,
|
|
3397
|
+
endpoint,
|
|
3398
|
+
header_params: header_params,
|
|
3399
|
+
query_params: query_params,
|
|
3400
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3401
|
+
body: post_body,
|
|
3402
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
3403
|
+
)
|
|
3404
|
+
end
|
|
3405
|
+
# rubocop:enable Metrics/BlockLength
|
|
3406
|
+
end
|
|
3407
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3408
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3409
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3410
|
+
|
|
3411
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3412
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3413
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
# Updates a collection of records in the specified zone. You can update
|
|
3417
|
+
# one record or all records for the specified zone depending on the
|
|
3418
|
+
# changes provided in the request body. You can also add or remove records
|
|
3419
|
+
# using this function.
|
|
3420
|
+
#
|
|
3421
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
3422
|
+
# @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
|
|
3423
|
+
#
|
|
3424
|
+
# @param [Hash] opts the optional parameters
|
|
3425
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3426
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3427
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
3428
|
+
# existence of at least one current representation of the target resource,
|
|
3429
|
+
# when the field-value is `*`, or having a current representation of the
|
|
3430
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
3431
|
+
# entity-tags provided in the field-value.
|
|
3432
|
+
#
|
|
3433
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
3434
|
+
# conditional on the selected representation's last modification date being
|
|
3435
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
3436
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
3437
|
+
# agent does not have an entity-tag for the representation.
|
|
3438
|
+
#
|
|
3439
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3440
|
+
# to contact Oracle about a particular request, please provide
|
|
3441
|
+
# the request ID.
|
|
3442
|
+
#
|
|
3443
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3444
|
+
#
|
|
3445
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3446
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
3447
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3448
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_zone_records.rb.html) to see an example of how to use patch_zone_records API.
|
|
3449
|
+
def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
|
|
3450
|
+
logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
|
|
3451
|
+
|
|
3452
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_zone_records." if zone_name_or_id.nil?
|
|
3453
|
+
raise "Missing the required parameter 'patch_zone_records_details' when calling patch_zone_records." if patch_zone_records_details.nil?
|
|
3454
|
+
|
|
3455
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3456
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3457
|
+
end
|
|
1596
3458
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1597
|
-
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1598
3459
|
|
|
1599
|
-
path = '/zones/{zoneNameOrId}/records
|
|
3460
|
+
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
1600
3461
|
operation_signing_strategy = :standard
|
|
1601
3462
|
|
|
1602
3463
|
# rubocop:disable Style/NegatedIf
|
|
1603
3464
|
# Query Params
|
|
1604
3465
|
query_params = {}
|
|
3466
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3467
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1605
3468
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1606
3469
|
|
|
1607
3470
|
# Header Params
|
|
@@ -1610,12 +3473,13 @@ module OCI
|
|
|
1610
3473
|
header_params[:'content-type'] = 'application/json'
|
|
1611
3474
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1612
3475
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3476
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1613
3477
|
# rubocop:enable Style/NegatedIf
|
|
1614
3478
|
|
|
1615
|
-
post_body = @api_client.object_to_http_body(
|
|
3479
|
+
post_body = @api_client.object_to_http_body(patch_zone_records_details)
|
|
1616
3480
|
|
|
1617
3481
|
# rubocop:disable Metrics/BlockLength
|
|
1618
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3482
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
|
|
1619
3483
|
@api_client.call_api(
|
|
1620
3484
|
:PATCH,
|
|
1621
3485
|
path,
|
|
@@ -1638,11 +3502,16 @@ module OCI
|
|
|
1638
3502
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1639
3503
|
|
|
1640
3504
|
|
|
1641
|
-
#
|
|
3505
|
+
# Replaces records in the specified zone at a domain with the records
|
|
3506
|
+
# specified in the request body. If a specified record does not exist,
|
|
3507
|
+
# it will be created. If the record exists, then it will be updated to
|
|
3508
|
+
# represent the record in the body of the request. If a record in the zone
|
|
3509
|
+
# does not exist in the request body, the record will be removed from the
|
|
3510
|
+
# zone.
|
|
3511
|
+
#
|
|
1642
3512
|
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1643
3513
|
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1644
|
-
# @param [
|
|
1645
|
-
# @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
|
|
3514
|
+
# @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
|
|
1646
3515
|
# @param [Hash] opts the optional parameters
|
|
1647
3516
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1648
3517
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1651,32 +3520,44 @@ module OCI
|
|
|
1651
3520
|
# when the field-value is `*`, or having a current representation of the
|
|
1652
3521
|
# target resource that has an entity-tag matching a member of the list of
|
|
1653
3522
|
# entity-tags provided in the field-value.
|
|
1654
|
-
#
|
|
3523
|
+
#
|
|
1655
3524
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1656
3525
|
# conditional on the selected representation's last modification date being
|
|
1657
3526
|
# earlier than or equal to the date provided in the field-value. This
|
|
1658
3527
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1659
3528
|
# agent does not have an entity-tag for the representation.
|
|
1660
|
-
#
|
|
1661
|
-
# @option opts [String] :
|
|
3529
|
+
#
|
|
3530
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3531
|
+
# to contact Oracle about a particular request, please provide
|
|
3532
|
+
# the request ID.
|
|
3533
|
+
#
|
|
3534
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3535
|
+
#
|
|
3536
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3537
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1662
3538
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1663
|
-
|
|
1664
|
-
|
|
3539
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_domain_records.rb.html) to see an example of how to use update_domain_records API.
|
|
3540
|
+
def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
|
|
3541
|
+
logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
|
|
1665
3542
|
|
|
1666
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling
|
|
1667
|
-
raise "Missing the required parameter 'domain' when calling
|
|
1668
|
-
raise "Missing the required parameter '
|
|
1669
|
-
|
|
3543
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling update_domain_records." if zone_name_or_id.nil?
|
|
3544
|
+
raise "Missing the required parameter 'domain' when calling update_domain_records." if domain.nil?
|
|
3545
|
+
raise "Missing the required parameter 'update_domain_records_details' when calling update_domain_records." if update_domain_records_details.nil?
|
|
3546
|
+
|
|
3547
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3548
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3549
|
+
end
|
|
1670
3550
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1671
3551
|
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1672
|
-
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
1673
3552
|
|
|
1674
|
-
path = '/zones/{zoneNameOrId}/records/{domain}
|
|
3553
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
1675
3554
|
operation_signing_strategy = :standard
|
|
1676
3555
|
|
|
1677
3556
|
# rubocop:disable Style/NegatedIf
|
|
1678
3557
|
# Query Params
|
|
1679
3558
|
query_params = {}
|
|
3559
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3560
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1680
3561
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1681
3562
|
|
|
1682
3563
|
# Header Params
|
|
@@ -1685,14 +3566,15 @@ module OCI
|
|
|
1685
3566
|
header_params[:'content-type'] = 'application/json'
|
|
1686
3567
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1687
3568
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3569
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1688
3570
|
# rubocop:enable Style/NegatedIf
|
|
1689
3571
|
|
|
1690
|
-
post_body = @api_client.object_to_http_body(
|
|
3572
|
+
post_body = @api_client.object_to_http_body(update_domain_records_details)
|
|
1691
3573
|
|
|
1692
3574
|
# rubocop:disable Metrics/BlockLength
|
|
1693
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3575
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
|
|
1694
3576
|
@api_client.call_api(
|
|
1695
|
-
:
|
|
3577
|
+
:PUT,
|
|
1696
3578
|
path,
|
|
1697
3579
|
endpoint,
|
|
1698
3580
|
header_params: header_params,
|
|
@@ -1713,14 +3595,10 @@ module OCI
|
|
|
1713
3595
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1714
3596
|
|
|
1715
3597
|
|
|
1716
|
-
# Updates
|
|
1717
|
-
# one record or all records for the specified zone depending on the
|
|
1718
|
-
# changes provided in the request body. You can also add or remove records
|
|
1719
|
-
# using this function.
|
|
1720
|
-
#
|
|
1721
|
-
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1722
|
-
# @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
|
|
3598
|
+
# Updates the specified resolver with your new information.
|
|
1723
3599
|
#
|
|
3600
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
3601
|
+
# @param [OCI::Dns::Models::UpdateResolverDetails] update_resolver_details New data for the resolver.
|
|
1724
3602
|
# @param [Hash] opts the optional parameters
|
|
1725
3603
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1726
3604
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1729,29 +3607,39 @@ module OCI
|
|
|
1729
3607
|
# when the field-value is `*`, or having a current representation of the
|
|
1730
3608
|
# target resource that has an entity-tag matching a member of the list of
|
|
1731
3609
|
# entity-tags provided in the field-value.
|
|
1732
|
-
#
|
|
3610
|
+
#
|
|
1733
3611
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1734
3612
|
# conditional on the selected representation's last modification date being
|
|
1735
3613
|
# earlier than or equal to the date provided in the field-value. This
|
|
1736
3614
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1737
3615
|
# agent does not have an entity-tag for the representation.
|
|
1738
|
-
#
|
|
1739
|
-
# @option opts [String] :
|
|
1740
|
-
#
|
|
1741
|
-
|
|
1742
|
-
|
|
3616
|
+
#
|
|
3617
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3618
|
+
# to contact Oracle about a particular request, please provide
|
|
3619
|
+
# the request ID.
|
|
3620
|
+
#
|
|
3621
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3622
|
+
#
|
|
3623
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
|
|
3624
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_resolver.rb.html) to see an example of how to use update_resolver API.
|
|
3625
|
+
def update_resolver(resolver_id, update_resolver_details, opts = {})
|
|
3626
|
+
logger.debug 'Calling operation DnsClient#update_resolver.' if logger
|
|
1743
3627
|
|
|
1744
|
-
raise "Missing the required parameter '
|
|
1745
|
-
raise "Missing the required parameter '
|
|
1746
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
3628
|
+
raise "Missing the required parameter 'resolver_id' when calling update_resolver." if resolver_id.nil?
|
|
3629
|
+
raise "Missing the required parameter 'update_resolver_details' when calling update_resolver." if update_resolver_details.nil?
|
|
1747
3630
|
|
|
1748
|
-
|
|
3631
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3632
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3633
|
+
end
|
|
3634
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
3635
|
+
|
|
3636
|
+
path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
|
|
1749
3637
|
operation_signing_strategy = :standard
|
|
1750
3638
|
|
|
1751
3639
|
# rubocop:disable Style/NegatedIf
|
|
1752
3640
|
# Query Params
|
|
1753
3641
|
query_params = {}
|
|
1754
|
-
query_params[:
|
|
3642
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1755
3643
|
|
|
1756
3644
|
# Header Params
|
|
1757
3645
|
header_params = {}
|
|
@@ -1759,21 +3647,22 @@ module OCI
|
|
|
1759
3647
|
header_params[:'content-type'] = 'application/json'
|
|
1760
3648
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1761
3649
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3650
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1762
3651
|
# rubocop:enable Style/NegatedIf
|
|
1763
3652
|
|
|
1764
|
-
post_body = @api_client.object_to_http_body(
|
|
3653
|
+
post_body = @api_client.object_to_http_body(update_resolver_details)
|
|
1765
3654
|
|
|
1766
3655
|
# rubocop:disable Metrics/BlockLength
|
|
1767
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3656
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver') do
|
|
1768
3657
|
@api_client.call_api(
|
|
1769
|
-
:
|
|
3658
|
+
:PUT,
|
|
1770
3659
|
path,
|
|
1771
3660
|
endpoint,
|
|
1772
3661
|
header_params: header_params,
|
|
1773
3662
|
query_params: query_params,
|
|
1774
3663
|
operation_signing_strategy: operation_signing_strategy,
|
|
1775
3664
|
body: post_body,
|
|
1776
|
-
return_type: 'OCI::Dns::Models::
|
|
3665
|
+
return_type: 'OCI::Dns::Models::Resolver'
|
|
1777
3666
|
)
|
|
1778
3667
|
end
|
|
1779
3668
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1787,16 +3676,11 @@ module OCI
|
|
|
1787
3676
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1788
3677
|
|
|
1789
3678
|
|
|
1790
|
-
#
|
|
1791
|
-
# specified in the request body. If a specified record does not exist,
|
|
1792
|
-
# it will be created. If the record exists, then it will be updated to
|
|
1793
|
-
# represent the record in the body of the request. If a record in the zone
|
|
1794
|
-
# does not exist in the request body, the record will be removed from the
|
|
1795
|
-
# zone.
|
|
3679
|
+
# Updates the specified resolver endpoint with your new information.
|
|
1796
3680
|
#
|
|
1797
|
-
# @param [String]
|
|
1798
|
-
# @param [String]
|
|
1799
|
-
# @param [OCI::Dns::Models::
|
|
3681
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
3682
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
3683
|
+
# @param [OCI::Dns::Models::UpdateResolverEndpointDetails] update_resolver_endpoint_details New data for the resolver endpoint.
|
|
1800
3684
|
# @param [Hash] opts the optional parameters
|
|
1801
3685
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1802
3686
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1805,31 +3689,41 @@ module OCI
|
|
|
1805
3689
|
# when the field-value is `*`, or having a current representation of the
|
|
1806
3690
|
# target resource that has an entity-tag matching a member of the list of
|
|
1807
3691
|
# entity-tags provided in the field-value.
|
|
1808
|
-
#
|
|
3692
|
+
#
|
|
1809
3693
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1810
3694
|
# conditional on the selected representation's last modification date being
|
|
1811
3695
|
# earlier than or equal to the date provided in the field-value. This
|
|
1812
3696
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1813
3697
|
# agent does not have an entity-tag for the representation.
|
|
1814
|
-
#
|
|
1815
|
-
# @option opts [String] :
|
|
1816
|
-
#
|
|
1817
|
-
|
|
1818
|
-
|
|
3698
|
+
#
|
|
3699
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3700
|
+
# to contact Oracle about a particular request, please provide
|
|
3701
|
+
# the request ID.
|
|
3702
|
+
#
|
|
3703
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3704
|
+
#
|
|
3705
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
3706
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_resolver_endpoint.rb.html) to see an example of how to use update_resolver_endpoint API.
|
|
3707
|
+
def update_resolver_endpoint(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, opts = {})
|
|
3708
|
+
logger.debug 'Calling operation DnsClient#update_resolver_endpoint.' if logger
|
|
1819
3709
|
|
|
1820
|
-
raise "Missing the required parameter '
|
|
1821
|
-
raise "Missing the required parameter '
|
|
1822
|
-
raise "Missing the required parameter '
|
|
1823
|
-
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1824
|
-
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
3710
|
+
raise "Missing the required parameter 'resolver_id' when calling update_resolver_endpoint." if resolver_id.nil?
|
|
3711
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling update_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
3712
|
+
raise "Missing the required parameter 'update_resolver_endpoint_details' when calling update_resolver_endpoint." if update_resolver_endpoint_details.nil?
|
|
1825
3713
|
|
|
1826
|
-
|
|
3714
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3715
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3716
|
+
end
|
|
3717
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
3718
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
3719
|
+
|
|
3720
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1827
3721
|
operation_signing_strategy = :standard
|
|
1828
3722
|
|
|
1829
3723
|
# rubocop:disable Style/NegatedIf
|
|
1830
3724
|
# Query Params
|
|
1831
3725
|
query_params = {}
|
|
1832
|
-
query_params[:
|
|
3726
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1833
3727
|
|
|
1834
3728
|
# Header Params
|
|
1835
3729
|
header_params = {}
|
|
@@ -1837,12 +3731,13 @@ module OCI
|
|
|
1837
3731
|
header_params[:'content-type'] = 'application/json'
|
|
1838
3732
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1839
3733
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3734
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1840
3735
|
# rubocop:enable Style/NegatedIf
|
|
1841
3736
|
|
|
1842
|
-
post_body = @api_client.object_to_http_body(
|
|
3737
|
+
post_body = @api_client.object_to_http_body(update_resolver_endpoint_details)
|
|
1843
3738
|
|
|
1844
3739
|
# rubocop:disable Metrics/BlockLength
|
|
1845
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3740
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver_endpoint') do
|
|
1846
3741
|
@api_client.call_api(
|
|
1847
3742
|
:PUT,
|
|
1848
3743
|
path,
|
|
@@ -1851,7 +3746,7 @@ module OCI
|
|
|
1851
3746
|
query_params: query_params,
|
|
1852
3747
|
operation_signing_strategy: operation_signing_strategy,
|
|
1853
3748
|
body: post_body,
|
|
1854
|
-
return_type: 'OCI::Dns::Models::
|
|
3749
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
1855
3750
|
)
|
|
1856
3751
|
end
|
|
1857
3752
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1878,15 +3773,23 @@ module OCI
|
|
|
1878
3773
|
# when the field-value is `*`, or having a current representation of the
|
|
1879
3774
|
# target resource that has an entity-tag matching a member of the list of
|
|
1880
3775
|
# entity-tags provided in the field-value.
|
|
1881
|
-
#
|
|
3776
|
+
#
|
|
1882
3777
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1883
3778
|
# conditional on the selected representation's last modification date being
|
|
1884
3779
|
# earlier than or equal to the date provided in the field-value. This
|
|
1885
3780
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1886
3781
|
# agent does not have an entity-tag for the representation.
|
|
1887
|
-
#
|
|
1888
|
-
# @option opts [String] :
|
|
3782
|
+
#
|
|
3783
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3784
|
+
# to contact Oracle about a particular request, please provide
|
|
3785
|
+
# the request ID.
|
|
3786
|
+
#
|
|
3787
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3788
|
+
#
|
|
3789
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3790
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1889
3791
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3792
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_rr_set.rb.html) to see an example of how to use update_rr_set API.
|
|
1890
3793
|
def update_rr_set(zone_name_or_id, domain, rtype, update_rr_set_details, opts = {})
|
|
1891
3794
|
logger.debug 'Calling operation DnsClient#update_rr_set.' if logger
|
|
1892
3795
|
|
|
@@ -1894,6 +3797,10 @@ module OCI
|
|
|
1894
3797
|
raise "Missing the required parameter 'domain' when calling update_rr_set." if domain.nil?
|
|
1895
3798
|
raise "Missing the required parameter 'rtype' when calling update_rr_set." if rtype.nil?
|
|
1896
3799
|
raise "Missing the required parameter 'update_rr_set_details' when calling update_rr_set." if update_rr_set_details.nil?
|
|
3800
|
+
|
|
3801
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3802
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3803
|
+
end
|
|
1897
3804
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1898
3805
|
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1899
3806
|
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
@@ -1904,6 +3811,8 @@ module OCI
|
|
|
1904
3811
|
# rubocop:disable Style/NegatedIf
|
|
1905
3812
|
# Query Params
|
|
1906
3813
|
query_params = {}
|
|
3814
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3815
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1907
3816
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1908
3817
|
|
|
1909
3818
|
# Header Params
|
|
@@ -1912,6 +3821,7 @@ module OCI
|
|
|
1912
3821
|
header_params[:'content-type'] = 'application/json'
|
|
1913
3822
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1914
3823
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3824
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1915
3825
|
# rubocop:enable Style/NegatedIf
|
|
1916
3826
|
|
|
1917
3827
|
post_body = @api_client.object_to_http_body(update_rr_set_details)
|
|
@@ -1952,19 +3862,30 @@ module OCI
|
|
|
1952
3862
|
# when the field-value is `*`, or having a current representation of the
|
|
1953
3863
|
# target resource that has an entity-tag matching a member of the list of
|
|
1954
3864
|
# entity-tags provided in the field-value.
|
|
1955
|
-
#
|
|
3865
|
+
#
|
|
1956
3866
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1957
3867
|
# conditional on the selected representation's last modification date being
|
|
1958
3868
|
# earlier than or equal to the date provided in the field-value. This
|
|
1959
3869
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1960
3870
|
# agent does not have an entity-tag for the representation.
|
|
1961
|
-
#
|
|
3871
|
+
#
|
|
3872
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3873
|
+
# to contact Oracle about a particular request, please provide
|
|
3874
|
+
# the request ID.
|
|
3875
|
+
#
|
|
3876
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3877
|
+
#
|
|
1962
3878
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
3879
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_steering_policy.rb.html) to see an example of how to use update_steering_policy API.
|
|
1963
3880
|
def update_steering_policy(steering_policy_id, update_steering_policy_details, opts = {})
|
|
1964
3881
|
logger.debug 'Calling operation DnsClient#update_steering_policy.' if logger
|
|
1965
3882
|
|
|
1966
3883
|
raise "Missing the required parameter 'steering_policy_id' when calling update_steering_policy." if steering_policy_id.nil?
|
|
1967
3884
|
raise "Missing the required parameter 'update_steering_policy_details' when calling update_steering_policy." if update_steering_policy_details.nil?
|
|
3885
|
+
|
|
3886
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3887
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3888
|
+
end
|
|
1968
3889
|
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
1969
3890
|
|
|
1970
3891
|
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
@@ -1973,6 +3894,7 @@ module OCI
|
|
|
1973
3894
|
# rubocop:disable Style/NegatedIf
|
|
1974
3895
|
# Query Params
|
|
1975
3896
|
query_params = {}
|
|
3897
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1976
3898
|
|
|
1977
3899
|
# Header Params
|
|
1978
3900
|
header_params = {}
|
|
@@ -1980,6 +3902,7 @@ module OCI
|
|
|
1980
3902
|
header_params[:'content-type'] = 'application/json'
|
|
1981
3903
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1982
3904
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3905
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1983
3906
|
# rubocop:enable Style/NegatedIf
|
|
1984
3907
|
|
|
1985
3908
|
post_body = @api_client.object_to_http_body(update_steering_policy_details)
|
|
@@ -2020,19 +3943,30 @@ module OCI
|
|
|
2020
3943
|
# when the field-value is `*`, or having a current representation of the
|
|
2021
3944
|
# target resource that has an entity-tag matching a member of the list of
|
|
2022
3945
|
# entity-tags provided in the field-value.
|
|
2023
|
-
#
|
|
3946
|
+
#
|
|
2024
3947
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
2025
3948
|
# conditional on the selected representation's last modification date being
|
|
2026
3949
|
# earlier than or equal to the date provided in the field-value. This
|
|
2027
3950
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2028
3951
|
# agent does not have an entity-tag for the representation.
|
|
2029
|
-
#
|
|
3952
|
+
#
|
|
3953
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3954
|
+
# to contact Oracle about a particular request, please provide
|
|
3955
|
+
# the request ID.
|
|
3956
|
+
#
|
|
3957
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3958
|
+
#
|
|
2030
3959
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
3960
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_steering_policy_attachment.rb.html) to see an example of how to use update_steering_policy_attachment API.
|
|
2031
3961
|
def update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, opts = {})
|
|
2032
3962
|
logger.debug 'Calling operation DnsClient#update_steering_policy_attachment.' if logger
|
|
2033
3963
|
|
|
2034
3964
|
raise "Missing the required parameter 'steering_policy_attachment_id' when calling update_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
2035
3965
|
raise "Missing the required parameter 'update_steering_policy_attachment_details' when calling update_steering_policy_attachment." if update_steering_policy_attachment_details.nil?
|
|
3966
|
+
|
|
3967
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3968
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3969
|
+
end
|
|
2036
3970
|
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
2037
3971
|
|
|
2038
3972
|
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
@@ -2041,6 +3975,7 @@ module OCI
|
|
|
2041
3975
|
# rubocop:disable Style/NegatedIf
|
|
2042
3976
|
# Query Params
|
|
2043
3977
|
query_params = {}
|
|
3978
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2044
3979
|
|
|
2045
3980
|
# Header Params
|
|
2046
3981
|
header_params = {}
|
|
@@ -2048,6 +3983,7 @@ module OCI
|
|
|
2048
3983
|
header_params[:'content-type'] = 'application/json'
|
|
2049
3984
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2050
3985
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3986
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2051
3987
|
# rubocop:enable Style/NegatedIf
|
|
2052
3988
|
|
|
2053
3989
|
post_body = @api_client.object_to_http_body(update_steering_policy_attachment_details)
|
|
@@ -2076,6 +4012,168 @@ module OCI
|
|
|
2076
4012
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2077
4013
|
|
|
2078
4014
|
|
|
4015
|
+
# Updates the specified TSIG key.
|
|
4016
|
+
#
|
|
4017
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
4018
|
+
# @param [OCI::Dns::Models::UpdateTsigKeyDetails] update_tsig_key_details New data for the TSIG key.
|
|
4019
|
+
# @param [Hash] opts the optional parameters
|
|
4020
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4021
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4022
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
4023
|
+
# existence of at least one current representation of the target resource,
|
|
4024
|
+
# when the field-value is `*`, or having a current representation of the
|
|
4025
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
4026
|
+
# entity-tags provided in the field-value.
|
|
4027
|
+
#
|
|
4028
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
4029
|
+
# conditional on the selected representation's last modification date being
|
|
4030
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
4031
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
4032
|
+
# agent does not have an entity-tag for the representation.
|
|
4033
|
+
#
|
|
4034
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4035
|
+
# to contact Oracle about a particular request, please provide
|
|
4036
|
+
# the request ID.
|
|
4037
|
+
#
|
|
4038
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4039
|
+
#
|
|
4040
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
4041
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_tsig_key.rb.html) to see an example of how to use update_tsig_key API.
|
|
4042
|
+
def update_tsig_key(tsig_key_id, update_tsig_key_details, opts = {})
|
|
4043
|
+
logger.debug 'Calling operation DnsClient#update_tsig_key.' if logger
|
|
4044
|
+
|
|
4045
|
+
raise "Missing the required parameter 'tsig_key_id' when calling update_tsig_key." if tsig_key_id.nil?
|
|
4046
|
+
raise "Missing the required parameter 'update_tsig_key_details' when calling update_tsig_key." if update_tsig_key_details.nil?
|
|
4047
|
+
|
|
4048
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4049
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4050
|
+
end
|
|
4051
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
4052
|
+
|
|
4053
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
4054
|
+
operation_signing_strategy = :standard
|
|
4055
|
+
|
|
4056
|
+
# rubocop:disable Style/NegatedIf
|
|
4057
|
+
# Query Params
|
|
4058
|
+
query_params = {}
|
|
4059
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4060
|
+
|
|
4061
|
+
# Header Params
|
|
4062
|
+
header_params = {}
|
|
4063
|
+
header_params[:accept] = 'application/json'
|
|
4064
|
+
header_params[:'content-type'] = 'application/json'
|
|
4065
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4066
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4067
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4068
|
+
# rubocop:enable Style/NegatedIf
|
|
4069
|
+
|
|
4070
|
+
post_body = @api_client.object_to_http_body(update_tsig_key_details)
|
|
4071
|
+
|
|
4072
|
+
# rubocop:disable Metrics/BlockLength
|
|
4073
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_tsig_key') do
|
|
4074
|
+
@api_client.call_api(
|
|
4075
|
+
:PUT,
|
|
4076
|
+
path,
|
|
4077
|
+
endpoint,
|
|
4078
|
+
header_params: header_params,
|
|
4079
|
+
query_params: query_params,
|
|
4080
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4081
|
+
body: post_body,
|
|
4082
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
4083
|
+
)
|
|
4084
|
+
end
|
|
4085
|
+
# rubocop:enable Metrics/BlockLength
|
|
4086
|
+
end
|
|
4087
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4088
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4089
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4090
|
+
|
|
4091
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4092
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4093
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
# Updates the specified view with your new information.
|
|
4097
|
+
#
|
|
4098
|
+
# @param [String] view_id The OCID of the target view.
|
|
4099
|
+
# @param [OCI::Dns::Models::UpdateViewDetails] update_view_details New data for the view.
|
|
4100
|
+
# @param [Hash] opts the optional parameters
|
|
4101
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4102
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4103
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
4104
|
+
# existence of at least one current representation of the target resource,
|
|
4105
|
+
# when the field-value is `*`, or having a current representation of the
|
|
4106
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
4107
|
+
# entity-tags provided in the field-value.
|
|
4108
|
+
#
|
|
4109
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
4110
|
+
# conditional on the selected representation's last modification date being
|
|
4111
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
4112
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
4113
|
+
# agent does not have an entity-tag for the representation.
|
|
4114
|
+
#
|
|
4115
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4116
|
+
# to contact Oracle about a particular request, please provide
|
|
4117
|
+
# the request ID.
|
|
4118
|
+
#
|
|
4119
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4120
|
+
#
|
|
4121
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
4122
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_view.rb.html) to see an example of how to use update_view API.
|
|
4123
|
+
def update_view(view_id, update_view_details, opts = {})
|
|
4124
|
+
logger.debug 'Calling operation DnsClient#update_view.' if logger
|
|
4125
|
+
|
|
4126
|
+
raise "Missing the required parameter 'view_id' when calling update_view." if view_id.nil?
|
|
4127
|
+
raise "Missing the required parameter 'update_view_details' when calling update_view." if update_view_details.nil?
|
|
4128
|
+
|
|
4129
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4130
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4131
|
+
end
|
|
4132
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
4133
|
+
|
|
4134
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
4135
|
+
operation_signing_strategy = :standard
|
|
4136
|
+
|
|
4137
|
+
# rubocop:disable Style/NegatedIf
|
|
4138
|
+
# Query Params
|
|
4139
|
+
query_params = {}
|
|
4140
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4141
|
+
|
|
4142
|
+
# Header Params
|
|
4143
|
+
header_params = {}
|
|
4144
|
+
header_params[:accept] = 'application/json'
|
|
4145
|
+
header_params[:'content-type'] = 'application/json'
|
|
4146
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4147
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4148
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4149
|
+
# rubocop:enable Style/NegatedIf
|
|
4150
|
+
|
|
4151
|
+
post_body = @api_client.object_to_http_body(update_view_details)
|
|
4152
|
+
|
|
4153
|
+
# rubocop:disable Metrics/BlockLength
|
|
4154
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_view') do
|
|
4155
|
+
@api_client.call_api(
|
|
4156
|
+
:PUT,
|
|
4157
|
+
path,
|
|
4158
|
+
endpoint,
|
|
4159
|
+
header_params: header_params,
|
|
4160
|
+
query_params: query_params,
|
|
4161
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4162
|
+
body: post_body,
|
|
4163
|
+
return_type: 'OCI::Dns::Models::View'
|
|
4164
|
+
)
|
|
4165
|
+
end
|
|
4166
|
+
# rubocop:enable Metrics/BlockLength
|
|
4167
|
+
end
|
|
4168
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4169
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4170
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4171
|
+
|
|
4172
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4173
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4174
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4175
|
+
|
|
4176
|
+
|
|
2079
4177
|
# Updates the specified secondary zone with your new external master
|
|
2080
4178
|
# server information. For more information about secondary zone, see
|
|
2081
4179
|
# [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).
|
|
@@ -2090,20 +4188,32 @@ module OCI
|
|
|
2090
4188
|
# when the field-value is `*`, or having a current representation of the
|
|
2091
4189
|
# target resource that has an entity-tag matching a member of the list of
|
|
2092
4190
|
# entity-tags provided in the field-value.
|
|
2093
|
-
#
|
|
4191
|
+
#
|
|
2094
4192
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
2095
4193
|
# conditional on the selected representation's last modification date being
|
|
2096
4194
|
# earlier than or equal to the date provided in the field-value. This
|
|
2097
4195
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2098
4196
|
# agent does not have an entity-tag for the representation.
|
|
2099
|
-
#
|
|
2100
|
-
# @option opts [String] :
|
|
4197
|
+
#
|
|
4198
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4199
|
+
# to contact Oracle about a particular request, please provide
|
|
4200
|
+
# the request ID.
|
|
4201
|
+
#
|
|
4202
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4203
|
+
#
|
|
4204
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
4205
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2101
4206
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
4207
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_zone.rb.html) to see an example of how to use update_zone API.
|
|
2102
4208
|
def update_zone(zone_name_or_id, update_zone_details, opts = {})
|
|
2103
4209
|
logger.debug 'Calling operation DnsClient#update_zone.' if logger
|
|
2104
4210
|
|
|
2105
4211
|
raise "Missing the required parameter 'zone_name_or_id' when calling update_zone." if zone_name_or_id.nil?
|
|
2106
4212
|
raise "Missing the required parameter 'update_zone_details' when calling update_zone." if update_zone_details.nil?
|
|
4213
|
+
|
|
4214
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4215
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4216
|
+
end
|
|
2107
4217
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2108
4218
|
|
|
2109
4219
|
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
@@ -2112,6 +4222,8 @@ module OCI
|
|
|
2112
4222
|
# rubocop:disable Style/NegatedIf
|
|
2113
4223
|
# Query Params
|
|
2114
4224
|
query_params = {}
|
|
4225
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4226
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2115
4227
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2116
4228
|
|
|
2117
4229
|
# Header Params
|
|
@@ -2120,6 +4232,7 @@ module OCI
|
|
|
2120
4232
|
header_params[:'content-type'] = 'application/json'
|
|
2121
4233
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2122
4234
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4235
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2123
4236
|
# rubocop:enable Style/NegatedIf
|
|
2124
4237
|
|
|
2125
4238
|
post_body = @api_client.object_to_http_body(update_zone_details)
|
|
@@ -2164,20 +4277,32 @@ module OCI
|
|
|
2164
4277
|
# when the field-value is `*`, or having a current representation of the
|
|
2165
4278
|
# target resource that has an entity-tag matching a member of the list of
|
|
2166
4279
|
# entity-tags provided in the field-value.
|
|
2167
|
-
#
|
|
4280
|
+
#
|
|
2168
4281
|
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
2169
4282
|
# conditional on the selected representation's last modification date being
|
|
2170
4283
|
# earlier than or equal to the date provided in the field-value. This
|
|
2171
4284
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2172
4285
|
# agent does not have an entity-tag for the representation.
|
|
2173
|
-
#
|
|
2174
|
-
# @option opts [String] :
|
|
4286
|
+
#
|
|
4287
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4288
|
+
# to contact Oracle about a particular request, please provide
|
|
4289
|
+
# the request ID.
|
|
4290
|
+
#
|
|
4291
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4292
|
+
#
|
|
4293
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
4294
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2175
4295
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
4296
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_zone_records.rb.html) to see an example of how to use update_zone_records API.
|
|
2176
4297
|
def update_zone_records(zone_name_or_id, update_zone_records_details, opts = {})
|
|
2177
4298
|
logger.debug 'Calling operation DnsClient#update_zone_records.' if logger
|
|
2178
4299
|
|
|
2179
4300
|
raise "Missing the required parameter 'zone_name_or_id' when calling update_zone_records." if zone_name_or_id.nil?
|
|
2180
4301
|
raise "Missing the required parameter 'update_zone_records_details' when calling update_zone_records." if update_zone_records_details.nil?
|
|
4302
|
+
|
|
4303
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4304
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4305
|
+
end
|
|
2181
4306
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2182
4307
|
|
|
2183
4308
|
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
@@ -2186,6 +4311,8 @@ module OCI
|
|
|
2186
4311
|
# rubocop:disable Style/NegatedIf
|
|
2187
4312
|
# Query Params
|
|
2188
4313
|
query_params = {}
|
|
4314
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4315
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2189
4316
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2190
4317
|
|
|
2191
4318
|
# Header Params
|
|
@@ -2194,6 +4321,7 @@ module OCI
|
|
|
2194
4321
|
header_params[:'content-type'] = 'application/json'
|
|
2195
4322
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2196
4323
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4324
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2197
4325
|
# rubocop:enable Style/NegatedIf
|
|
2198
4326
|
|
|
2199
4327
|
post_body = @api_client.object_to_http_body(update_zone_records_details)
|