oci 2.6.0 → 2.11.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 +48 -11
- data/lib/oci.rb +36 -1
- data/lib/oci/analytics/analytics.rb +49 -0
- data/lib/oci/analytics/analytics_client.rb +1197 -0
- data/lib/oci/analytics/analytics_client_composite_operations.rb +424 -0
- data/lib/oci/analytics/models/analytics_instance.rb +421 -0
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
- data/lib/oci/analytics/models/analytics_instance_summary.rb +385 -0
- data/lib/oci/analytics/models/capacity.rb +192 -0
- data/lib/oci/analytics/models/capacity_type.rb +11 -0
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +155 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +323 -0
- data/lib/oci/analytics/models/feature_set.rb +11 -0
- data/lib/oci/analytics/models/license_type.rb +11 -0
- data/lib/oci/analytics/models/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 +151 -0
- data/lib/oci/analytics/models/sort_by.rb +15 -0
- data/lib/oci/analytics/models/sort_order.rb +11 -0
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
- data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
- data/lib/oci/analytics/models/work_request.rb +318 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +17 -0
- data/lib/oci/analytics/models/work_request_error.rb +177 -0
- data/lib/oci/analytics/models/work_request_log.rb +165 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +16 -0
- data/lib/oci/analytics/models/work_request_resource.rb +250 -0
- data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
- data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
- data/lib/oci/analytics/models/work_request_status.rb +15 -0
- data/lib/oci/analytics/models/work_request_summary.rb +302 -0
- data/lib/oci/analytics/util.rb +3 -0
- data/lib/oci/announcements_service/announcement_client.rb +6 -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 +1119 -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 +502 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/gateway_client.rb +502 -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 +457 -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 +1495 -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/application_migration/models/source_summary.rb +317 -0
- 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 +7 -1
- data/lib/oci/audit/audit_client.rb +36 -30
- data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
- data/lib/oci/audit/models/audit_event.rb +83 -262
- data/lib/oci/audit/models/configuration.rb +9 -3
- data/lib/oci/audit/models/data.rb +465 -0
- data/lib/oci/audit/models/identity.rb +314 -0
- data/lib/oci/audit/models/request.rb +286 -0
- data/lib/oci/audit/models/response.rb +274 -0
- data/lib/oci/audit/models/state_change.rb +176 -0
- data/lib/oci/audit/models/update_configuration_details.rb +9 -3
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/auth/auth.rb +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 +127 -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 +22 -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 +1178 -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 +57 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +1715 -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 +506 -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 +311 -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 +219 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +288 -0
- data/lib/oci/blockchain/util.rb +3 -0
- data/lib/oci/budget/budget.rb +2 -1
- data/lib/oci/budget/budget_client.rb +15 -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 +579 -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/cims/models/category.rb +164 -0
- data/lib/oci/cims/models/classifier.rb +256 -0
- data/lib/oci/cims/models/contact.rb +219 -0
- data/lib/oci/cims/models/contact_list.rb +154 -0
- data/lib/oci/cims/models/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 +162 -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 +6019 -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 +170 -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/cloud_guard/models/target_responder_recipe_summary.rb +312 -0
- 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 +522 -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 +16 -1
- data/lib/oci/container_engine/container_engine_client.rb +11 -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 +17 -2
- data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
- data/lib/oci/container_engine/models/cluster_options.rb +2 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
- data/lib/oci/container_engine/models/create_node_pool_details.rb +67 -10
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
- 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 +68 -9
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool_summary.rb +67 -8
- 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 +119 -20
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
- 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 +306 -33
- data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
- data/lib/oci/core/compute_client.rb +1094 -109
- data/lib/oci/core/compute_client_composite_operations.rb +44 -3
- data/lib/oci/core/compute_management_client.rb +532 -28
- data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
- data/lib/oci/core/core.rb +81 -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 +79 -7
- data/lib/oci/core/models/boot_volume_attachment.rb +3 -2
- data/lib/oci/core/models/boot_volume_backup.rb +37 -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 +156 -0
- 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 +4 -3
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +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 +323 -0
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
- data/lib/oci/core/models/cluster_network_summary.rb +305 -0
- data/lib/oci/core/models/compute_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/core/models/cpe_device_config_question.rb +181 -0
- data/lib/oci/core/models/cpe_device_info.rb +164 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +47 -6
- data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
- data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +224 -0
- 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 +12 -9
- 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 +6 -1
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -4
- 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 +239 -0
- 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 +13 -10
- 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 +190 -0
- 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 +70 -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 +7 -2
- 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 +41 -6
- 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 +77 -24
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +177 -0
- data/lib/oci/core/models/launch_options.rb +23 -19
- 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 -3
- 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 +192 -0
- 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 +3 -2
- 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 +6 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -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 -2
- 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 +226 -0
- 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 +79 -7
- data/lib/oci/core/models/volume_attachment.rb +18 -3
- data/lib/oci/core/models/volume_backup.rb +23 -6
- data/lib/oci/core/models/volume_backup_policy.rb +73 -6
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
- data/lib/oci/core/models/volume_group.rb +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 +3537 -876
- data/lib/oci/core/virtual_network_client_composite_operations.rb +439 -1
- data/lib/oci/data_catalog/data_catalog.rb +173 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +9788 -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 +541 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +161 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +405 -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 +160 -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/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 +186 -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 +1762 -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 +6423 -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 +34 -0
- data/lib/oci/data_safe/data_safe_client.rb +822 -0
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
- data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
- data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
- data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/service_list.rb +21 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
- data/lib/oci/data_safe/models/work_request.rb +302 -0
- data/lib/oci/data_safe/models/work_request_error.rb +173 -0
- data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
- data/lib/oci/data_safe/util.rb +3 -0
- data/lib/oci/data_science/data_science.rb +50 -0
- data/lib/oci/data_science/data_science_client.rb +2349 -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 +112 -3
- data/lib/oci/database/database_client.rb +8465 -1714
- data/lib/oci/database/database_client_composite_operations.rb +1939 -306
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
- data/lib/oci/database/models/associated_database_details.rb +164 -0
- data/lib/oci/database/models/automated_mount_details.rb +176 -0
- data/lib/oci/database/models/autonomous_container_database.rb +215 -10
- 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 +215 -10
- data/lib/oci/database/models/autonomous_data_warehouse.rb +2 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +2 -3
- data/lib/oci/database/models/autonomous_database.rb +691 -16
- 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 +691 -16
- data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +10 -3
- data/lib/oci/database/models/autonomous_db_version_summary.rb +272 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
- data/lib/oci/database/models/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 +26 -5
- data/lib/oci/database/models/backup_destination.rb +421 -0
- data/lib/oci/database/models/backup_destination_details.rb +224 -0
- data/lib/oci/database/models/backup_destination_summary.rb +424 -0
- data/lib/oci/database/models/backup_summary.rb +26 -5
- 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 +156 -0
- data/lib/oci/database/models/change_key_store_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +398 -0
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +401 -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 -10
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +174 -15
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +36 -3
- data/lib/oci/database/models/create_autonomous_database_details.rb +35 -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_vm_cluster_details.rb +288 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
- data/lib/oci/database/models/create_backup_details.rb +2 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +464 -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_db_home_with_db_system_id_base.rb → create_database_base.rb} +30 -26
- data/lib/oci/database/models/create_database_details.rb +45 -4
- data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
- data/lib/oci/database/models/create_database_from_backup.rb +169 -0
- data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
- data/lib/oci/database/models/create_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 +253 -0
- 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/create_db_home_from_database_details.rb +201 -0
- 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 +33 -11
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +32 -9
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +189 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +202 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +189 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +361 -0
- 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 +169 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +193 -0
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +278 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
- data/lib/oci/database/models/database.rb +78 -8
- 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 +78 -8
- 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 +67 -5
- 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 +96 -10
- data/lib/oci/database/models/db_system_options.rb +179 -0
- data/lib/oci/database/models/db_system_shape_summary.rb +133 -6
- data/lib/oci/database/models/db_system_summary.rb +96 -10
- 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 +559 -0
- data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +562 -0
- 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/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +39 -2
- data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
- data/lib/oci/database/models/gi_version_summary.rb +153 -0
- data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
- data/lib/oci/database/models/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 +20 -4
- data/lib/oci/database/models/launch_db_system_base.rb +48 -13
- data/lib/oci/database/models/launch_db_system_details.rb +27 -5
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +11 -2
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +344 -0
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +297 -0
- data/lib/oci/database/models/maintenance_run.rb +49 -15
- data/lib/oci/database/models/maintenance_run_summary.rb +49 -15
- data/lib/oci/database/models/maintenance_window.rb +21 -5
- 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 +184 -0
- data/lib/oci/database/models/ocp_us.rb +182 -0
- data/lib/oci/database/models/patch.rb +2 -1
- data/lib/oci/database/models/patch_details.rb +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_data_warehouse_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
- data/lib/oci/database/models/restore_database_details.rb +2 -1
- data/lib/oci/database/models/scan_details.rb +171 -0
- data/lib/oci/database/models/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 -4
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/update_autonomous_database_details.rb +274 -15
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
- data/lib/oci/database/models/update_backup_destination_details.rb +274 -0
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +318 -0
- data/lib/oci/database/models/update_database_details.rb +59 -4
- 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 -9
- data/lib/oci/database/models/update_details.rb +183 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +318 -0
- data/lib/oci/database/models/update_history_entry.rb +306 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +309 -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 +281 -0
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/database/models/vm_cluster.rb +492 -0
- data/lib/oci/database/models/vm_cluster_network.rb +351 -0
- data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
- data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
- data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
- data/lib/oci/database/models/vm_network_details.rb +232 -0
- data/lib/oci/database/models/workload_type.rb +161 -0
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/dns/dns.rb +35 -1
- data/lib/oci/dns/dns_client.rb +2649 -570
- data/lib/oci/dns/dns_client_composite_operations.rb +362 -2
- data/lib/oci/dns/models/attached_view.rb +155 -0
- 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 +180 -0
- 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 +253 -0
- data/lib/oci/dns/models/create_zone_details.rb +51 -49
- data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
- data/lib/oci/dns/models/external_master.rb +23 -5
- data/lib/oci/dns/models/migration_replacement.rb +188 -0
- data/lib/oci/dns/models/nameserver.rb +2 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/record.rb +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 +485 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/dts.rb +11 -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 +55 -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 +4 -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 +108 -34
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +2 -1
- data/lib/oci/dts/models/transfer_appliance_summary.rb +4 -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 -9
- 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 +3 -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 -18
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_appliance_client.rb +11 -21
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +93 -27
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +41 -1
- data/lib/oci/dts/transfer_device_client.rb +8 -18
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_job_client.rb +40 -22
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +2 -1
- data/lib/oci/dts/transfer_package_client.rb +8 -18
- 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 +6 -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 +7 -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 +73 -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 -17
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +2 -1
- data/lib/oci/functions/functions_management_client.rb +8 -18
- 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 +24 -30
- 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 +33 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/http_probe.rb +33 -2
- data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +33 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/ping_probe.rb +33 -2
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/routing.rb +2 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +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 +31 -1
- data/lib/oci/identity/identity_client.rb +2957 -1242
- 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 +203 -0
- 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 +5 -1
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +2 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/create_network_source_details.rb +254 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
- data/lib/oci/identity/models/create_policy_details.rb +2 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/create_tag_details.rb +19 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
- data/lib/oci/identity/models/create_user_details.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key.rb +5 -4
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
- data/lib/oci/identity/models/dynamic_group.rb +5 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
- data/lib/oci/identity/models/fault_domain.rb +2 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
- data/lib/oci/identity/models/group.rb +5 -1
- data/lib/oci/identity/models/identity_provider.rb +5 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +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 +4 -3
- 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 +5 -1
- data/lib/oci/identity/models/region.rb +8 -13
- data/lib/oci/identity/models/region_subscription.rb +8 -13
- data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
- data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
- data/lib/oci/identity/models/smtp_credential.rb +2 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
- data/lib/oci/identity/models/swift_password.rb +2 -1
- data/lib/oci/identity/models/tag.rb +25 -8
- data/lib/oci/identity/models/tag_default.rb +28 -5
- data/lib/oci/identity/models/tag_default_summary.rb +28 -5
- data/lib/oci/identity/models/tag_namespace.rb +7 -3
- data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
- data/lib/oci/identity/models/tag_summary.rb +5 -3
- data/lib/oci/identity/models/tagging_work_request.rb +310 -0
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +309 -0
- data/lib/oci/identity/models/tenancy.rb +19 -8
- data/lib/oci/identity/models/ui_password.rb +2 -1
- data/lib/oci/identity/models/ui_password_information.rb +2 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +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 +28 -5
- data/lib/oci/identity/models/update_tag_details.rb +17 -5
- data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
- data/lib/oci/identity/models/update_user_details.rb +2 -1
- data/lib/oci/identity/models/user.rb +75 -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 +30 -0
- data/lib/oci/integration/integration_instance_client.rb +868 -0
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +315 -0
- data/lib/oci/integration/models/integration_instance.rb +416 -0
- data/lib/oci/integration/models/integration_instance_summary.rb +382 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
- data/lib/oci/integration/models/work_request.rb +313 -0
- data/lib/oci/integration/models/work_request_error.rb +171 -0
- data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/integration/models/work_request_resource.rb +221 -0
- data/lib/oci/integration/models/work_request_summary.rb +313 -0
- data/lib/oci/integration/util.rb +3 -0
- data/lib/oci/internal/internal.rb +2 -1
- data/lib/oci/internal/util.rb +2 -1
- data/lib/oci/key_management/key_management.rb +17 -1
- data/lib/oci/key_management/kms_crypto_client.rb +66 -21
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
- data/lib/oci/key_management/kms_management_client.rb +782 -121
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
- data/lib/oci/key_management/kms_vault_client.rb +358 -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 +6 -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 +6 -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 +12 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +394 -19
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +214 -3
- 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 +4 -1
- data/lib/oci/load_balancer/models/backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/backend_health.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set.rb +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 +4 -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 +43 -3
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/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 +4 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/hostname.rb +2 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/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 +4 -3
- 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 +48 -3
- data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
- data/lib/oci/load_balancer/models/path_route.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -3
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/reserved_ip.rb +149 -0
- 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/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 +141 -24
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +134 -24
- data/lib/oci/load_balancer/models/update_backend_details.rb +4 -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 +4 -2
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +161 -0
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/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 +8876 -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 +2280 -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 +169 -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 +169 -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 +48 -0
- data/lib/oci/management_agent/management_agent_client.rb +1382 -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/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 +443 -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 +401 -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 +1024 -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 +1242 -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 +8 -6
- 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 +8 -6
- 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 +8 -6
- data/lib/oci/monitoring/monitoring.rb +2 -1
- data/lib/oci/monitoring/monitoring_client.rb +31 -25
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
- data/lib/oci/monitoring/util.rb +2 -1
- data/lib/oci/mysql/db_backups_client.rb +453 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
- data/lib/oci/mysql/db_system_client.rb +1296 -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 +460 -0
- data/lib/oci/mysql/models/backup_policy.rb +235 -0
- data/lib/oci/mysql/models/backup_summary.rb +339 -0
- data/lib/oci/mysql/models/configuration.rb +353 -0
- data/lib/oci/mysql/models/configuration_summary.rb +287 -0
- data/lib/oci/mysql/models/configuration_variables.rb +913 -0
- data/lib/oci/mysql/models/create_backup_details.rb +253 -0
- data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
- data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
- data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
- data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
- data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/db_system.rb +543 -0
- data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
- data/lib/oci/mysql/models/db_system_source.rb +196 -0
- data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
- data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +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/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 +226 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
- data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
- data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/version.rb +161 -0
- data/lib/oci/mysql/models/version_summary.rb +165 -0
- data/lib/oci/mysql/models/work_request.rb +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 +74 -0
- data/lib/oci/mysql/mysqlaas_client.rb +612 -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 +380 -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 +1549 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
- data/lib/oci/nosql/util.rb +3 -0
- data/lib/oci/object_storage/models/bucket.rb +102 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/duration.rb +193 -0
- data/lib/oci/object_storage/models/list_objects.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +22 -5
- 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 +56 -11
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/work_request.rb +12 -8
- data/lib/oci/object_storage/models/work_request_error.rb +2 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
- data/lib/oci/object_storage/object_storage.rb +17 -1
- data/lib/oci/object_storage/object_storage_client.rb +1173 -92
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
- data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
- data/lib/oci/object_storage/transfer/transfer.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
- data/lib/oci/object_storage/util.rb +2 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +400 -0
- 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 +549 -0
- data/lib/oci/oce/models/oce_instance_summary.rb +517 -0
- data/lib/oci/oce/models/update_oce_instance_details.rb +223 -0
- data/lib/oci/oce/models/work_request.rb +320 -0
- data/lib/oci/oce/models/work_request_error.rb +173 -0
- data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
- data/lib/oci/oce/models/work_request_resource.rb +219 -0
- data/lib/oci/oce/models/workflow_monitor.rb +182 -0
- data/lib/oci/oce/models/workflow_step.rb +164 -0
- data/lib/oci/oce/oce.rb +33 -0
- data/lib/oci/oce/oce_instance_client.rb +721 -0
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
- data/lib/oci/oce/util.rb +3 -0
- data/lib/oci/ocvp/esxi_host_client.rb +477 -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 +610 -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 +361 -0
- data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
- data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
- data/lib/oci/oda/models/error_body.rb +160 -0
- data/lib/oci/oda/models/oda_instance.rb +406 -0
- data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
- data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
- data/lib/oci/oda/models/work_request.rb +343 -0
- data/lib/oci/oda/models/work_request_error.rb +177 -0
- data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
- data/lib/oci/oda/models/work_request_resource.rb +275 -0
- data/lib/oci/oda/models/work_request_summary.rb +265 -0
- data/lib/oci/oda/oda.rb +31 -0
- data/lib/oci/oda/oda_client.rb +975 -0
- data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
- data/lib/oci/oda/util.rb +3 -0
- data/lib/oci/ons/models/backoff_retry_policy.rb +4 -2
- data/lib/oci/ons/models/change_compartment_details.rb +2 -1
- data/lib/oci/ons/models/confirmation_result.rb +7 -4
- data/lib/oci/ons/models/create_subscription_details.rb +22 -5
- 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 +5 -3
- 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 +10 -4
- data/lib/oci/ons/models/subscription_summary.rb +7 -4
- 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 +11 -20
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/notification_data_plane_client.rb +44 -22
- 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 +202 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -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 +2008 -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 +1652 -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 +3744 -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 +244 -8
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
- data/lib/oci/resource_manager/models/change_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 -5
- data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +327 -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 +291 -0
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
- 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 +7 -3
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +246 -0
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
- data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -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 +164 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +22 -5
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
- data/lib/oci/resource_manager/models/failure_details.rb +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/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 +146 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/job.rb +56 -11
- data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
- data/lib/oci/resource_manager/models/job_summary.rb +33 -7
- data/lib/oci/resource_manager/models/log_entry.rb +6 -2
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/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 +81 -8
- 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 +33 -3
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +6 -3
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +230 -0
- data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -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 +20 -4
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/work_request.rb +18 -6
- 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 +3 -2
- data/lib/oci/resource_manager/models/work_request_summary.rb +16 -6
- 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 +41 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +943 -165
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +195 -13
- 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 +12 -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/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 +958 -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 +249 -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 +571 -99
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +130 -47
- data/lib/oci/streaming/stream_client.rb +27 -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 +287 -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 +425 -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 +435 -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 +356 -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 +223 -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 +872 -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 +92 -10
- 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 +3 -1
- data/lib/oci/waas/models/address_list_summary.rb +2 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
- data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
- data/lib/oci/waas/models/caching_rule.rb +12 -10
- data/lib/oci/waas/models/caching_rule_criteria.rb +3 -6
- data/lib/oci/waas/models/caching_rule_summary.rb +12 -10
- 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 +3 -2
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +3 -1
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +3 -2
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +3 -1
- data/lib/oci/waas/models/create_address_list_details.rb +4 -3
- data/lib/oci/waas/models/create_certificate_details.rb +2 -1
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +19 -13
- data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +4 -2
- data/lib/oci/waas/models/custom_protection_rule.rb +22 -17
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +19 -8
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +8 -7
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
- data/lib/oci/waas/models/edge_subnet.rb +2 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
- data/lib/oci/waas/models/good_bot.rb +2 -1
- data/lib/oci/waas/models/header.rb +3 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
- data/lib/oci/waas/models/health_check.rb +346 -0
- data/lib/oci/waas/models/http_redirect.rb +302 -0
- data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
- data/lib/oci/waas/models/http_redirect_target.rb +210 -0
- data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/js_challenge.rb +49 -6
- data/lib/oci/waas/models/lifecycle_states.rb +2 -1
- data/lib/oci/waas/models/load_balancing_method.rb +195 -0
- data/lib/oci/waas/models/origin.rb +2 -1
- data/lib/oci/waas/models/origin_group.rb +2 -1
- data/lib/oci/waas/models/origin_group_origins.rb +4 -3
- data/lib/oci/waas/models/policy_config.rb +77 -12
- 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 +3 -2
- data/lib/oci/waas/models/purge_cache.rb +4 -3
- 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 +4 -3
- data/lib/oci/waas/models/update_certificate_details.rb +2 -1
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +18 -13
- data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +4 -2
- data/lib/oci/waas/models/waas_policy.rb +3 -2
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +20 -9
- 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 +4 -2
- data/lib/oci/waas/models/waf_config_details.rb +4 -2
- 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 +5 -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 +5 -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 +5 -1
- data/lib/oci/waas/redirect_client.rb +483 -0
- data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
- data/lib/oci/waas/util.rb +2 -1
- data/lib/oci/waas/waas.rb +19 -1
- data/lib/oci/waas/waas_client.rb +65 -61
- data/lib/oci/waas/waas_client_composite_operations.rb +6 -5
- 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 +6 -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 +2368 -14
- 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
|
|
@@ -128,20 +122,31 @@ module OCI
|
|
|
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
|
-
def
|
|
133
|
-
logger.debug 'Calling operation DnsClient#
|
|
132
|
+
def change_resolver_compartment(resolver_id, change_resolver_compartment_details, opts = {})
|
|
133
|
+
logger.debug 'Calling operation DnsClient#change_resolver_compartment.' if logger
|
|
134
134
|
|
|
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)
|
|
135
|
+
raise "Missing the required parameter 'resolver_id' when calling change_resolver_compartment." if resolver_id.nil?
|
|
136
|
+
raise "Missing the required parameter 'change_resolver_compartment_details' when calling change_resolver_compartment." if change_resolver_compartment_details.nil?
|
|
138
137
|
|
|
139
|
-
|
|
138
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
139
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
140
|
+
end
|
|
141
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
142
|
+
|
|
143
|
+
path = '/resolvers/{resolverId}/actions/changeCompartment'.sub('{resolverId}', resolver_id.to_s)
|
|
140
144
|
operation_signing_strategy = :standard
|
|
141
145
|
|
|
142
146
|
# rubocop:disable Style/NegatedIf
|
|
143
147
|
# Query Params
|
|
144
148
|
query_params = {}
|
|
149
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
145
150
|
|
|
146
151
|
# Header Params
|
|
147
152
|
header_params = {}
|
|
@@ -149,13 +154,14 @@ module OCI
|
|
|
149
154
|
header_params[:'content-type'] = 'application/json'
|
|
150
155
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
151
156
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
157
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
152
158
|
# rubocop:enable Style/NegatedIf
|
|
153
159
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
154
160
|
|
|
155
|
-
post_body = @api_client.object_to_http_body(
|
|
161
|
+
post_body = @api_client.object_to_http_body(change_resolver_compartment_details)
|
|
156
162
|
|
|
157
163
|
# rubocop:disable Metrics/BlockLength
|
|
158
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
164
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_resolver_compartment') do
|
|
159
165
|
@api_client.call_api(
|
|
160
166
|
:POST,
|
|
161
167
|
path,
|
|
@@ -177,10 +183,9 @@ module OCI
|
|
|
177
183
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
178
184
|
|
|
179
185
|
|
|
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.
|
|
186
|
+
# Moves a steering policy into a different compartment.
|
|
187
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
188
|
+
# @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
|
|
184
189
|
# @param [Hash] opts the optional parameters
|
|
185
190
|
# @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
191
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -197,20 +202,31 @@ module OCI
|
|
|
197
202
|
# deleted and purged from the system, then a retry of the original creation
|
|
198
203
|
# request may be rejected).
|
|
199
204
|
#
|
|
205
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
206
|
+
# to contact Oracle about a particular request, please provide
|
|
207
|
+
# the request ID.
|
|
208
|
+
#
|
|
209
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
210
|
+
#
|
|
200
211
|
# @return [Response] A Response object with data of type nil
|
|
201
|
-
def
|
|
202
|
-
logger.debug 'Calling operation DnsClient#
|
|
212
|
+
def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
|
|
213
|
+
logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
|
|
203
214
|
|
|
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)
|
|
215
|
+
raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
|
|
216
|
+
raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
|
|
207
217
|
|
|
208
|
-
|
|
218
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
219
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
220
|
+
end
|
|
221
|
+
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
222
|
+
|
|
223
|
+
path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
209
224
|
operation_signing_strategy = :standard
|
|
210
225
|
|
|
211
226
|
# rubocop:disable Style/NegatedIf
|
|
212
227
|
# Query Params
|
|
213
228
|
query_params = {}
|
|
229
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
214
230
|
|
|
215
231
|
# Header Params
|
|
216
232
|
header_params = {}
|
|
@@ -218,13 +234,14 @@ module OCI
|
|
|
218
234
|
header_params[:'content-type'] = 'application/json'
|
|
219
235
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
220
236
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
237
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
221
238
|
# rubocop:enable Style/NegatedIf
|
|
222
239
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
223
240
|
|
|
224
|
-
post_body = @api_client.object_to_http_body(
|
|
241
|
+
post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
|
|
225
242
|
|
|
226
243
|
# rubocop:disable Metrics/BlockLength
|
|
227
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
244
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
|
|
228
245
|
@api_client.call_api(
|
|
229
246
|
:POST,
|
|
230
247
|
path,
|
|
@@ -246,13 +263,18 @@ module OCI
|
|
|
246
263
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
247
264
|
|
|
248
265
|
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
# @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
|
|
266
|
+
# Moves a TSIG key into a different compartment.
|
|
267
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
268
|
+
# @param [OCI::Dns::Models::ChangeTsigKeyCompartmentDetails] change_tsig_key_compartment_details Details for moving a TSIG key into a different compartment.
|
|
253
269
|
# @param [Hash] opts the optional parameters
|
|
254
270
|
# @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
271
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
272
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
273
|
+
# existence of at least one current representation of the target resource,
|
|
274
|
+
# when the field-value is `*`, or having a current representation of the
|
|
275
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
276
|
+
# entity-tags provided in the field-value.
|
|
277
|
+
#
|
|
256
278
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
257
279
|
# of a timeout or server error without risk of executing that same action
|
|
258
280
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
@@ -260,31 +282,46 @@ module OCI
|
|
|
260
282
|
# deleted and purged from the system, then a retry of the original creation
|
|
261
283
|
# request may be rejected).
|
|
262
284
|
#
|
|
263
|
-
# @
|
|
264
|
-
|
|
265
|
-
|
|
285
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
286
|
+
# to contact Oracle about a particular request, please provide
|
|
287
|
+
# the request ID.
|
|
288
|
+
#
|
|
289
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
290
|
+
#
|
|
291
|
+
# @return [Response] A Response object with data of type nil
|
|
292
|
+
def change_tsig_key_compartment(tsig_key_id, change_tsig_key_compartment_details, opts = {})
|
|
293
|
+
logger.debug 'Calling operation DnsClient#change_tsig_key_compartment.' if logger
|
|
266
294
|
|
|
267
|
-
raise "Missing the required parameter '
|
|
295
|
+
raise "Missing the required parameter 'tsig_key_id' when calling change_tsig_key_compartment." if tsig_key_id.nil?
|
|
296
|
+
raise "Missing the required parameter 'change_tsig_key_compartment_details' when calling change_tsig_key_compartment." if change_tsig_key_compartment_details.nil?
|
|
268
297
|
|
|
269
|
-
|
|
298
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
299
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
300
|
+
end
|
|
301
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
302
|
+
|
|
303
|
+
path = '/tsigKeys/{tsigKeyId}/actions/changeCompartment'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
270
304
|
operation_signing_strategy = :standard
|
|
271
305
|
|
|
272
306
|
# rubocop:disable Style/NegatedIf
|
|
273
307
|
# Query Params
|
|
274
308
|
query_params = {}
|
|
309
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
275
310
|
|
|
276
311
|
# Header Params
|
|
277
312
|
header_params = {}
|
|
278
313
|
header_params[:accept] = 'application/json'
|
|
279
314
|
header_params[:'content-type'] = 'application/json'
|
|
315
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
280
316
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
317
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
281
318
|
# rubocop:enable Style/NegatedIf
|
|
282
319
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
283
320
|
|
|
284
|
-
post_body = @api_client.object_to_http_body(
|
|
321
|
+
post_body = @api_client.object_to_http_body(change_tsig_key_compartment_details)
|
|
285
322
|
|
|
286
323
|
# rubocop:disable Metrics/BlockLength
|
|
287
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
324
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_tsig_key_compartment') do
|
|
288
325
|
@api_client.call_api(
|
|
289
326
|
:POST,
|
|
290
327
|
path,
|
|
@@ -292,8 +329,7 @@ module OCI
|
|
|
292
329
|
header_params: header_params,
|
|
293
330
|
query_params: query_params,
|
|
294
331
|
operation_signing_strategy: operation_signing_strategy,
|
|
295
|
-
body: post_body
|
|
296
|
-
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
332
|
+
body: post_body
|
|
297
333
|
)
|
|
298
334
|
end
|
|
299
335
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -307,17 +343,19 @@ module OCI
|
|
|
307
343
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
308
344
|
|
|
309
345
|
|
|
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.
|
|
346
|
+
# Moves a view into a different compartment. Protected views cannot have their compartment changed.
|
|
316
347
|
#
|
|
317
|
-
# @param [
|
|
348
|
+
# @param [String] view_id The OCID of the target view.
|
|
349
|
+
# @param [OCI::Dns::Models::ChangeViewCompartmentDetails] change_view_compartment_details Details for moving a view into a different compartment.
|
|
318
350
|
# @param [Hash] opts the optional parameters
|
|
319
351
|
# @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
352
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
353
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
354
|
+
# existence of at least one current representation of the target resource,
|
|
355
|
+
# when the field-value is `*`, or having a current representation of the
|
|
356
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
357
|
+
# entity-tags provided in the field-value.
|
|
358
|
+
#
|
|
321
359
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
322
360
|
# of a timeout or server error without risk of executing that same action
|
|
323
361
|
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
@@ -325,31 +363,46 @@ module OCI
|
|
|
325
363
|
# deleted and purged from the system, then a retry of the original creation
|
|
326
364
|
# request may be rejected).
|
|
327
365
|
#
|
|
328
|
-
# @
|
|
329
|
-
|
|
330
|
-
|
|
366
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
367
|
+
# to contact Oracle about a particular request, please provide
|
|
368
|
+
# the request ID.
|
|
369
|
+
#
|
|
370
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
371
|
+
#
|
|
372
|
+
# @return [Response] A Response object with data of type nil
|
|
373
|
+
def change_view_compartment(view_id, change_view_compartment_details, opts = {})
|
|
374
|
+
logger.debug 'Calling operation DnsClient#change_view_compartment.' if logger
|
|
331
375
|
|
|
332
|
-
raise "Missing the required parameter '
|
|
376
|
+
raise "Missing the required parameter 'view_id' when calling change_view_compartment." if view_id.nil?
|
|
377
|
+
raise "Missing the required parameter 'change_view_compartment_details' when calling change_view_compartment." if change_view_compartment_details.nil?
|
|
333
378
|
|
|
334
|
-
|
|
379
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
380
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
381
|
+
end
|
|
382
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
383
|
+
|
|
384
|
+
path = '/views/{viewId}/actions/changeCompartment'.sub('{viewId}', view_id.to_s)
|
|
335
385
|
operation_signing_strategy = :standard
|
|
336
386
|
|
|
337
387
|
# rubocop:disable Style/NegatedIf
|
|
338
388
|
# Query Params
|
|
339
389
|
query_params = {}
|
|
390
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
340
391
|
|
|
341
392
|
# Header Params
|
|
342
393
|
header_params = {}
|
|
343
394
|
header_params[:accept] = 'application/json'
|
|
344
395
|
header_params[:'content-type'] = 'application/json'
|
|
396
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
345
397
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
398
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
346
399
|
# rubocop:enable Style/NegatedIf
|
|
347
400
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
348
401
|
|
|
349
|
-
post_body = @api_client.object_to_http_body(
|
|
402
|
+
post_body = @api_client.object_to_http_body(change_view_compartment_details)
|
|
350
403
|
|
|
351
404
|
# rubocop:disable Metrics/BlockLength
|
|
352
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
405
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_view_compartment') do
|
|
353
406
|
@api_client.call_api(
|
|
354
407
|
:POST,
|
|
355
408
|
path,
|
|
@@ -357,8 +410,7 @@ module OCI
|
|
|
357
410
|
header_params: header_params,
|
|
358
411
|
query_params: query_params,
|
|
359
412
|
operation_signing_strategy: operation_signing_strategy,
|
|
360
|
-
body: post_body
|
|
361
|
-
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
413
|
+
body: post_body
|
|
362
414
|
)
|
|
363
415
|
end
|
|
364
416
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -372,39 +424,68 @@ module OCI
|
|
|
372
424
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
373
425
|
|
|
374
426
|
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
427
|
+
# Moves a zone into a different compartment. Protected zones cannot have their compartment changed.
|
|
428
|
+
#
|
|
429
|
+
# **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
|
|
378
430
|
#
|
|
379
|
-
# @param [
|
|
431
|
+
# @param [String] zone_id The OCID of the target zone.
|
|
432
|
+
# @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
|
|
380
433
|
# @param [Hash] opts the optional parameters
|
|
381
434
|
# @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
435
|
# 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
|
-
|
|
436
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
437
|
+
# existence of at least one current representation of the target resource,
|
|
438
|
+
# when the field-value is `*`, or having a current representation of the
|
|
439
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
440
|
+
# entity-tags provided in the field-value.
|
|
441
|
+
#
|
|
442
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
443
|
+
# of a timeout or server error without risk of executing that same action
|
|
444
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
445
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
446
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
447
|
+
# request may be rejected).
|
|
448
|
+
#
|
|
449
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
450
|
+
# to contact Oracle about a particular request, please provide
|
|
451
|
+
# the request ID.
|
|
452
|
+
#
|
|
453
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
454
|
+
#
|
|
455
|
+
# @return [Response] A Response object with data of type nil
|
|
456
|
+
def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
|
|
457
|
+
logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
|
|
387
458
|
|
|
388
|
-
raise "Missing the required parameter '
|
|
459
|
+
raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
|
|
460
|
+
raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
|
|
389
461
|
|
|
390
|
-
|
|
462
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
463
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
464
|
+
end
|
|
465
|
+
raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
|
|
466
|
+
|
|
467
|
+
path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
|
|
391
468
|
operation_signing_strategy = :standard
|
|
392
469
|
|
|
393
470
|
# rubocop:disable Style/NegatedIf
|
|
394
471
|
# Query Params
|
|
395
472
|
query_params = {}
|
|
396
|
-
query_params[:
|
|
473
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
397
474
|
|
|
398
475
|
# Header Params
|
|
399
476
|
header_params = {}
|
|
400
477
|
header_params[:accept] = 'application/json'
|
|
401
478
|
header_params[:'content-type'] = 'application/json'
|
|
479
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
480
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
481
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
402
482
|
# rubocop:enable Style/NegatedIf
|
|
483
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
403
484
|
|
|
404
|
-
post_body = @api_client.object_to_http_body(
|
|
485
|
+
post_body = @api_client.object_to_http_body(change_zone_compartment_details)
|
|
405
486
|
|
|
406
487
|
# rubocop:disable Metrics/BlockLength
|
|
407
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
488
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
|
|
408
489
|
@api_client.call_api(
|
|
409
490
|
:POST,
|
|
410
491
|
path,
|
|
@@ -412,8 +493,7 @@ module OCI
|
|
|
412
493
|
header_params: header_params,
|
|
413
494
|
query_params: query_params,
|
|
414
495
|
operation_signing_strategy: operation_signing_strategy,
|
|
415
|
-
body: post_body
|
|
416
|
-
return_type: 'OCI::Dns::Models::Zone'
|
|
496
|
+
body: post_body
|
|
417
497
|
)
|
|
418
498
|
end
|
|
419
499
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -427,62 +507,68 @@ module OCI
|
|
|
427
507
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
428
508
|
|
|
429
509
|
|
|
430
|
-
#
|
|
431
|
-
#
|
|
432
|
-
# @param [String]
|
|
510
|
+
# Creates a new resolver endpoint.
|
|
511
|
+
#
|
|
512
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
513
|
+
# @param [OCI::Dns::Models::CreateResolverEndpointDetails] create_resolver_endpoint_details Details for creating a new resolver endpoint.
|
|
433
514
|
# @param [Hash] opts the optional parameters
|
|
434
515
|
# @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
516
|
# 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
|
-
#
|
|
517
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
518
|
+
# of a timeout or server error without risk of executing that same action
|
|
519
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
520
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
521
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
522
|
+
# request may be rejected).
|
|
441
523
|
#
|
|
442
|
-
# @option opts [String] :
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
# field accomplishes the same purpose as If-Match for cases where the user
|
|
446
|
-
# agent does not have an entity-tag for the representation.
|
|
524
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
525
|
+
# to contact Oracle about a particular request, please provide
|
|
526
|
+
# the request ID.
|
|
447
527
|
#
|
|
448
|
-
# @option opts [String] :
|
|
449
|
-
#
|
|
450
|
-
|
|
451
|
-
|
|
528
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
529
|
+
#
|
|
530
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
531
|
+
def create_resolver_endpoint(resolver_id, create_resolver_endpoint_details, opts = {})
|
|
532
|
+
logger.debug 'Calling operation DnsClient#create_resolver_endpoint.' if logger
|
|
452
533
|
|
|
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)
|
|
534
|
+
raise "Missing the required parameter 'resolver_id' when calling create_resolver_endpoint." if resolver_id.nil?
|
|
535
|
+
raise "Missing the required parameter 'create_resolver_endpoint_details' when calling create_resolver_endpoint." if create_resolver_endpoint_details.nil?
|
|
457
536
|
|
|
458
|
-
|
|
537
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
538
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
539
|
+
end
|
|
540
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
541
|
+
|
|
542
|
+
path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
|
|
459
543
|
operation_signing_strategy = :standard
|
|
460
544
|
|
|
461
545
|
# rubocop:disable Style/NegatedIf
|
|
462
546
|
# Query Params
|
|
463
547
|
query_params = {}
|
|
464
|
-
query_params[:
|
|
548
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
465
549
|
|
|
466
550
|
# Header Params
|
|
467
551
|
header_params = {}
|
|
468
552
|
header_params[:accept] = 'application/json'
|
|
469
553
|
header_params[:'content-type'] = 'application/json'
|
|
470
|
-
header_params[:'
|
|
471
|
-
header_params[:'
|
|
554
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
555
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
472
556
|
# rubocop:enable Style/NegatedIf
|
|
557
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
473
558
|
|
|
474
|
-
post_body =
|
|
559
|
+
post_body = @api_client.object_to_http_body(create_resolver_endpoint_details)
|
|
475
560
|
|
|
476
561
|
# rubocop:disable Metrics/BlockLength
|
|
477
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
562
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_resolver_endpoint') do
|
|
478
563
|
@api_client.call_api(
|
|
479
|
-
:
|
|
564
|
+
:POST,
|
|
480
565
|
path,
|
|
481
566
|
endpoint,
|
|
482
567
|
header_params: header_params,
|
|
483
568
|
query_params: query_params,
|
|
484
569
|
operation_signing_strategy: operation_signing_strategy,
|
|
485
|
-
body: post_body
|
|
570
|
+
body: post_body,
|
|
571
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
486
572
|
)
|
|
487
573
|
end
|
|
488
574
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -496,66 +582,66 @@ module OCI
|
|
|
496
582
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
497
583
|
|
|
498
584
|
|
|
499
|
-
#
|
|
585
|
+
# Creates a new steering policy in the specified compartment. For more information on
|
|
586
|
+
# creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
500
587
|
#
|
|
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.
|
|
588
|
+
# @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
|
|
504
589
|
# @param [Hash] opts the optional parameters
|
|
505
590
|
# @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
591
|
# 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
|
-
#
|
|
592
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
593
|
+
# of a timeout or server error without risk of executing that same action
|
|
594
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
595
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
596
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
597
|
+
# request may be rejected).
|
|
512
598
|
#
|
|
513
|
-
# @option opts [String] :
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
# field accomplishes the same purpose as If-Match for cases where the user
|
|
517
|
-
# agent does not have an entity-tag for the representation.
|
|
599
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
600
|
+
# to contact Oracle about a particular request, please provide
|
|
601
|
+
# the request ID.
|
|
518
602
|
#
|
|
519
|
-
# @option opts [String] :
|
|
520
|
-
#
|
|
521
|
-
|
|
522
|
-
|
|
603
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
604
|
+
#
|
|
605
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
606
|
+
def create_steering_policy(create_steering_policy_details, opts = {})
|
|
607
|
+
logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
|
|
523
608
|
|
|
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)
|
|
609
|
+
raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
|
|
530
610
|
|
|
531
|
-
|
|
611
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
612
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
path = '/steeringPolicies'
|
|
532
616
|
operation_signing_strategy = :standard
|
|
533
617
|
|
|
534
618
|
# rubocop:disable Style/NegatedIf
|
|
535
619
|
# Query Params
|
|
536
620
|
query_params = {}
|
|
537
|
-
query_params[:
|
|
621
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
538
622
|
|
|
539
623
|
# Header Params
|
|
540
624
|
header_params = {}
|
|
541
625
|
header_params[:accept] = 'application/json'
|
|
542
626
|
header_params[:'content-type'] = 'application/json'
|
|
543
|
-
header_params[:'
|
|
544
|
-
header_params[:'
|
|
627
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
628
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
545
629
|
# rubocop:enable Style/NegatedIf
|
|
630
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
546
631
|
|
|
547
|
-
post_body =
|
|
632
|
+
post_body = @api_client.object_to_http_body(create_steering_policy_details)
|
|
548
633
|
|
|
549
634
|
# rubocop:disable Metrics/BlockLength
|
|
550
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
635
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
|
|
551
636
|
@api_client.call_api(
|
|
552
|
-
:
|
|
637
|
+
:POST,
|
|
553
638
|
path,
|
|
554
639
|
endpoint,
|
|
555
640
|
header_params: header_params,
|
|
556
641
|
query_params: query_params,
|
|
557
642
|
operation_signing_strategy: operation_signing_strategy,
|
|
558
|
-
body: post_body
|
|
643
|
+
body: post_body,
|
|
644
|
+
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
559
645
|
)
|
|
560
646
|
end
|
|
561
647
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -569,61 +655,70 @@ module OCI
|
|
|
569
655
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
570
656
|
|
|
571
657
|
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
# policy from a zone, see `DeleteSteeringPolicyAttachment`.
|
|
658
|
+
# Creates a new attachment between a steering policy and a domain, giving the
|
|
659
|
+
# policy permission to answer queries for the specified domain. A steering policy must
|
|
660
|
+
# be attached to a domain for the policy to answer DNS queries for that domain.
|
|
576
661
|
#
|
|
577
|
-
#
|
|
662
|
+
# For the purposes of access control, the attachment is automatically placed
|
|
663
|
+
# into the same compartment as the domain's zone.
|
|
664
|
+
#
|
|
665
|
+
# @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
|
|
578
666
|
# @param [Hash] opts the optional parameters
|
|
579
667
|
# @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
668
|
# 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
|
-
#
|
|
669
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
670
|
+
# of a timeout or server error without risk of executing that same action
|
|
671
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
672
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
673
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
674
|
+
# request may be rejected).
|
|
586
675
|
#
|
|
587
|
-
# @option opts [String] :
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
# field accomplishes the same purpose as If-Match for cases where the user
|
|
591
|
-
# agent does not have an entity-tag for the representation.
|
|
676
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
677
|
+
# to contact Oracle about a particular request, please provide
|
|
678
|
+
# the request ID.
|
|
592
679
|
#
|
|
593
|
-
# @
|
|
594
|
-
|
|
595
|
-
|
|
680
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
681
|
+
#
|
|
682
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
683
|
+
def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
|
|
684
|
+
logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
|
|
596
685
|
|
|
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)
|
|
686
|
+
raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
|
|
599
687
|
|
|
600
|
-
|
|
688
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
689
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
path = '/steeringPolicyAttachments'
|
|
601
693
|
operation_signing_strategy = :standard
|
|
602
694
|
|
|
603
695
|
# rubocop:disable Style/NegatedIf
|
|
604
696
|
# Query Params
|
|
605
697
|
query_params = {}
|
|
698
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
606
699
|
|
|
607
700
|
# Header Params
|
|
608
701
|
header_params = {}
|
|
609
702
|
header_params[:accept] = 'application/json'
|
|
610
703
|
header_params[:'content-type'] = 'application/json'
|
|
611
|
-
header_params[:'
|
|
612
|
-
header_params[:'
|
|
704
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
705
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
613
706
|
# rubocop:enable Style/NegatedIf
|
|
707
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
614
708
|
|
|
615
|
-
post_body =
|
|
709
|
+
post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
|
|
616
710
|
|
|
617
711
|
# rubocop:disable Metrics/BlockLength
|
|
618
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
712
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
|
|
619
713
|
@api_client.call_api(
|
|
620
|
-
:
|
|
714
|
+
:POST,
|
|
621
715
|
path,
|
|
622
716
|
endpoint,
|
|
623
717
|
header_params: header_params,
|
|
624
718
|
query_params: query_params,
|
|
625
719
|
operation_signing_strategy: operation_signing_strategy,
|
|
626
|
-
body: post_body
|
|
720
|
+
body: post_body,
|
|
721
|
+
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
627
722
|
)
|
|
628
723
|
end
|
|
629
724
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -637,59 +732,57 @@ module OCI
|
|
|
637
732
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
638
733
|
|
|
639
734
|
|
|
640
|
-
#
|
|
641
|
-
#
|
|
735
|
+
# Creates a new TSIG key in the specified compartment. There is no
|
|
736
|
+
# `opc-retry-token` header since TSIG key names must be globally unique.
|
|
642
737
|
#
|
|
643
|
-
# @param [
|
|
738
|
+
# @param [OCI::Dns::Models::CreateTsigKeyDetails] create_tsig_key_details Details for creating a new TSIG key.
|
|
644
739
|
# @param [Hash] opts the optional parameters
|
|
645
740
|
# @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
741
|
# 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
|
-
# target resource that has an entity-tag matching a member of the list of
|
|
651
|
-
# entity-tags provided in the field-value.
|
|
742
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
743
|
+
# to contact Oracle about a particular request, please provide
|
|
744
|
+
# the request ID.
|
|
652
745
|
#
|
|
653
|
-
# @option opts [String] :
|
|
654
|
-
# conditional on the selected representation's last modification date being
|
|
655
|
-
# earlier than or equal to the date provided in the field-value. This
|
|
656
|
-
# field accomplishes the same purpose as If-Match for cases where the user
|
|
657
|
-
# agent does not have an entity-tag for the representation.
|
|
746
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
658
747
|
#
|
|
659
|
-
# @return [Response] A Response object with data of type
|
|
660
|
-
def
|
|
661
|
-
logger.debug 'Calling operation DnsClient#
|
|
748
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
749
|
+
def create_tsig_key(create_tsig_key_details, opts = {})
|
|
750
|
+
logger.debug 'Calling operation DnsClient#create_tsig_key.' if logger
|
|
662
751
|
|
|
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)
|
|
752
|
+
raise "Missing the required parameter 'create_tsig_key_details' when calling create_tsig_key." if create_tsig_key_details.nil?
|
|
665
753
|
|
|
666
|
-
|
|
754
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
755
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
path = '/tsigKeys'
|
|
667
759
|
operation_signing_strategy = :standard
|
|
668
760
|
|
|
669
761
|
# rubocop:disable Style/NegatedIf
|
|
670
762
|
# Query Params
|
|
671
763
|
query_params = {}
|
|
764
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
672
765
|
|
|
673
766
|
# Header Params
|
|
674
767
|
header_params = {}
|
|
675
768
|
header_params[:accept] = 'application/json'
|
|
676
769
|
header_params[:'content-type'] = 'application/json'
|
|
677
|
-
header_params[:'
|
|
678
|
-
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
770
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
679
771
|
# rubocop:enable Style/NegatedIf
|
|
680
772
|
|
|
681
|
-
post_body =
|
|
773
|
+
post_body = @api_client.object_to_http_body(create_tsig_key_details)
|
|
682
774
|
|
|
683
775
|
# rubocop:disable Metrics/BlockLength
|
|
684
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
776
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_tsig_key') do
|
|
685
777
|
@api_client.call_api(
|
|
686
|
-
:
|
|
778
|
+
:POST,
|
|
687
779
|
path,
|
|
688
780
|
endpoint,
|
|
689
781
|
header_params: header_params,
|
|
690
782
|
query_params: query_params,
|
|
691
783
|
operation_signing_strategy: operation_signing_strategy,
|
|
692
|
-
body: post_body
|
|
784
|
+
body: post_body,
|
|
785
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
693
786
|
)
|
|
694
787
|
end
|
|
695
788
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -703,61 +796,65 @@ module OCI
|
|
|
703
796
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
704
797
|
|
|
705
798
|
|
|
706
|
-
#
|
|
707
|
-
# A `204` response indicates that zone has been successfully deleted.
|
|
799
|
+
# Creates a new view in the specified compartment.
|
|
708
800
|
#
|
|
709
|
-
# @param [
|
|
801
|
+
# @param [OCI::Dns::Models::CreateViewDetails] create_view_details Details for creating a new view.
|
|
710
802
|
# @param [Hash] opts the optional parameters
|
|
711
803
|
# @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
804
|
# 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
|
-
#
|
|
805
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
|
|
806
|
+
# of a timeout or server error without risk of executing that same action
|
|
807
|
+
# again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
808
|
+
# then due to conflicting operations (for example, if a resource has been
|
|
809
|
+
# deleted and purged from the system, then a retry of the original creation
|
|
810
|
+
# request may be rejected).
|
|
718
811
|
#
|
|
719
|
-
# @option opts [String] :
|
|
720
|
-
#
|
|
721
|
-
#
|
|
722
|
-
# field accomplishes the same purpose as If-Match for cases where the user
|
|
723
|
-
# agent does not have an entity-tag for the representation.
|
|
812
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
813
|
+
# to contact Oracle about a particular request, please provide
|
|
814
|
+
# the request ID.
|
|
724
815
|
#
|
|
725
|
-
# @option opts [String] :
|
|
726
|
-
#
|
|
727
|
-
|
|
728
|
-
|
|
816
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
817
|
+
#
|
|
818
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
819
|
+
def create_view(create_view_details, opts = {})
|
|
820
|
+
logger.debug 'Calling operation DnsClient#create_view.' if logger
|
|
729
821
|
|
|
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)
|
|
822
|
+
raise "Missing the required parameter 'create_view_details' when calling create_view." if create_view_details.nil?
|
|
732
823
|
|
|
733
|
-
|
|
824
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
825
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
path = '/views'
|
|
734
829
|
operation_signing_strategy = :standard
|
|
735
830
|
|
|
736
831
|
# rubocop:disable Style/NegatedIf
|
|
737
832
|
# Query Params
|
|
738
833
|
query_params = {}
|
|
739
|
-
query_params[:
|
|
834
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
740
835
|
|
|
741
836
|
# Header Params
|
|
742
837
|
header_params = {}
|
|
743
838
|
header_params[:accept] = 'application/json'
|
|
744
839
|
header_params[:'content-type'] = 'application/json'
|
|
745
|
-
header_params[:'
|
|
746
|
-
header_params[:'
|
|
840
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
841
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
747
842
|
# rubocop:enable Style/NegatedIf
|
|
843
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
748
844
|
|
|
749
|
-
post_body =
|
|
845
|
+
post_body = @api_client.object_to_http_body(create_view_details)
|
|
750
846
|
|
|
751
847
|
# rubocop:disable Metrics/BlockLength
|
|
752
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
848
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_view') do
|
|
753
849
|
@api_client.call_api(
|
|
754
|
-
:
|
|
850
|
+
:POST,
|
|
755
851
|
path,
|
|
756
852
|
endpoint,
|
|
757
853
|
header_params: header_params,
|
|
758
854
|
query_params: query_params,
|
|
759
855
|
operation_signing_strategy: operation_signing_strategy,
|
|
760
|
-
body: post_body
|
|
856
|
+
body: post_body,
|
|
857
|
+
return_type: 'OCI::Dns::Models::View'
|
|
761
858
|
)
|
|
762
859
|
end
|
|
763
860
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -771,91 +868,62 @@ module OCI
|
|
|
771
868
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
772
869
|
|
|
773
870
|
|
|
774
|
-
#
|
|
775
|
-
#
|
|
776
|
-
#
|
|
871
|
+
# Creates a new zone in the specified compartment. If the `Content-Type` header for the request is `text/dns`, the
|
|
872
|
+
# `compartmentId` query parameter is required. Additionally, for `text/dns`, the `scope` and `viewId` query
|
|
873
|
+
# parameters are required to create a private zone.
|
|
777
874
|
#
|
|
778
|
-
# @param [
|
|
779
|
-
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
875
|
+
# @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
|
|
780
876
|
# @param [Hash] opts the optional parameters
|
|
781
877
|
# @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
878
|
# 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
|
-
# entity-tag that does not match any of those listed in the field-value.
|
|
787
|
-
#
|
|
788
|
-
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
789
|
-
# conditional on the selected representation's modification date being more
|
|
790
|
-
# recent than the date provided in the field-value. Transfer of the
|
|
791
|
-
# selected representation's data is avoided if that data has not changed.
|
|
792
|
-
#
|
|
793
|
-
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
794
|
-
# (default to 50)
|
|
795
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
796
|
-
#
|
|
797
|
-
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
798
|
-
#
|
|
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
|
-
#
|
|
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.
|
|
879
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
880
|
+
# to contact Oracle about a particular request, please provide
|
|
881
|
+
# the request ID.
|
|
805
882
|
#
|
|
806
883
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
807
|
-
# @
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
884
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
885
|
+
#
|
|
886
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
887
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
888
|
+
def create_zone(create_zone_details, opts = {})
|
|
889
|
+
logger.debug 'Calling operation DnsClient#create_zone.' if logger
|
|
813
890
|
|
|
814
|
-
|
|
815
|
-
raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
|
|
816
|
-
end
|
|
891
|
+
raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
|
|
817
892
|
|
|
818
|
-
if opts[:
|
|
819
|
-
raise 'Invalid value for "
|
|
893
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
894
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
820
895
|
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
896
|
|
|
824
|
-
path = '/zones
|
|
897
|
+
path = '/zones'
|
|
825
898
|
operation_signing_strategy = :standard
|
|
826
899
|
|
|
827
900
|
# rubocop:disable Style/NegatedIf
|
|
828
901
|
# Query Params
|
|
829
902
|
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
903
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
904
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
905
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
837
906
|
|
|
838
907
|
# Header Params
|
|
839
908
|
header_params = {}
|
|
840
909
|
header_params[:accept] = 'application/json'
|
|
841
910
|
header_params[:'content-type'] = 'application/json'
|
|
842
|
-
header_params[:'
|
|
843
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
911
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
844
912
|
# rubocop:enable Style/NegatedIf
|
|
845
913
|
|
|
846
|
-
post_body =
|
|
914
|
+
post_body = @api_client.object_to_http_body(create_zone_details)
|
|
847
915
|
|
|
848
916
|
# rubocop:disable Metrics/BlockLength
|
|
849
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
917
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
|
|
850
918
|
@api_client.call_api(
|
|
851
|
-
:
|
|
919
|
+
:POST,
|
|
852
920
|
path,
|
|
853
921
|
endpoint,
|
|
854
922
|
header_params: header_params,
|
|
855
923
|
query_params: query_params,
|
|
856
924
|
operation_signing_strategy: operation_signing_strategy,
|
|
857
925
|
body: post_body,
|
|
858
|
-
return_type: 'OCI::Dns::Models::
|
|
926
|
+
return_type: 'OCI::Dns::Models::Zone'
|
|
859
927
|
)
|
|
860
928
|
end
|
|
861
929
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -869,75 +937,76 @@ module OCI
|
|
|
869
937
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
870
938
|
|
|
871
939
|
|
|
872
|
-
#
|
|
873
|
-
# sorted by `recordHash` by default.
|
|
874
|
-
#
|
|
940
|
+
# Deletes all records at the specified zone and domain.
|
|
875
941
|
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
876
942
|
# @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
943
|
# @param [Hash] opts the optional parameters
|
|
879
944
|
# @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
945
|
# 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
|
-
#
|
|
946
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
947
|
+
# existence of at least one current representation of the target resource,
|
|
948
|
+
# when the field-value is `*`, or having a current representation of the
|
|
949
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
950
|
+
# entity-tags provided in the field-value.
|
|
885
951
|
#
|
|
886
|
-
# @option opts [String] :
|
|
887
|
-
# conditional on the selected representation's modification date being
|
|
888
|
-
#
|
|
889
|
-
#
|
|
952
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
953
|
+
# conditional on the selected representation's last modification date being
|
|
954
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
955
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
956
|
+
# agent does not have an entity-tag for the representation.
|
|
890
957
|
#
|
|
891
|
-
# @option opts [
|
|
892
|
-
#
|
|
893
|
-
#
|
|
958
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
959
|
+
# to contact Oracle about a particular request, please provide
|
|
960
|
+
# the request ID.
|
|
894
961
|
#
|
|
895
|
-
# @option opts [String] :
|
|
962
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
896
963
|
#
|
|
964
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
897
965
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
898
|
-
# @return [Response] A Response object with data of type
|
|
899
|
-
def
|
|
900
|
-
logger.debug 'Calling operation DnsClient#
|
|
966
|
+
# @return [Response] A Response object with data of type nil
|
|
967
|
+
def delete_domain_records(zone_name_or_id, domain, opts = {})
|
|
968
|
+
logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
|
|
901
969
|
|
|
902
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling
|
|
903
|
-
raise "Missing the required parameter 'domain' when calling
|
|
904
|
-
|
|
970
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_domain_records." if zone_name_or_id.nil?
|
|
971
|
+
raise "Missing the required parameter 'domain' when calling delete_domain_records." if domain.nil?
|
|
972
|
+
|
|
973
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
974
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
975
|
+
end
|
|
905
976
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
906
977
|
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
978
|
|
|
909
|
-
path = '/zones/{zoneNameOrId}/records/{domain}
|
|
979
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
910
980
|
operation_signing_strategy = :standard
|
|
911
981
|
|
|
912
982
|
# rubocop:disable Style/NegatedIf
|
|
913
983
|
# Query Params
|
|
914
984
|
query_params = {}
|
|
915
|
-
query_params[:
|
|
916
|
-
query_params[:
|
|
917
|
-
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
985
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
986
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
918
987
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
919
988
|
|
|
920
989
|
# Header Params
|
|
921
990
|
header_params = {}
|
|
922
991
|
header_params[:accept] = 'application/json'
|
|
923
992
|
header_params[:'content-type'] = 'application/json'
|
|
924
|
-
header_params[:'if-
|
|
925
|
-
header_params[:'if-
|
|
993
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
994
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
995
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
926
996
|
# rubocop:enable Style/NegatedIf
|
|
927
997
|
|
|
928
998
|
post_body = nil
|
|
929
999
|
|
|
930
1000
|
# rubocop:disable Metrics/BlockLength
|
|
931
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
1001
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
|
|
932
1002
|
@api_client.call_api(
|
|
933
|
-
:
|
|
1003
|
+
:DELETE,
|
|
934
1004
|
path,
|
|
935
1005
|
endpoint,
|
|
936
1006
|
header_params: header_params,
|
|
937
1007
|
query_params: query_params,
|
|
938
1008
|
operation_signing_strategy: operation_signing_strategy,
|
|
939
|
-
body: post_body
|
|
940
|
-
return_type: 'OCI::Dns::Models::RRSet'
|
|
1009
|
+
body: post_body
|
|
941
1010
|
)
|
|
942
1011
|
end
|
|
943
1012
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -951,48 +1020,1517 @@ module OCI
|
|
|
951
1020
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
952
1021
|
|
|
953
1022
|
|
|
954
|
-
#
|
|
1023
|
+
# Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the
|
|
1024
|
+
# DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
|
|
1025
|
+
# Resolver endpoints may not be deleted if they are referenced by a resolver rule.
|
|
955
1026
|
#
|
|
956
|
-
# @param [String]
|
|
1027
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1028
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
957
1029
|
# @param [Hash] opts the optional parameters
|
|
958
1030
|
# @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
1031
|
# 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
|
-
#
|
|
1032
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1033
|
+
# existence of at least one current representation of the target resource,
|
|
1034
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1035
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1036
|
+
# entity-tags provided in the field-value.
|
|
964
1037
|
#
|
|
965
|
-
# @option opts [String] :
|
|
966
|
-
# conditional on the selected representation's modification date being
|
|
967
|
-
#
|
|
968
|
-
#
|
|
1038
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1039
|
+
# conditional on the selected representation's last modification date being
|
|
1040
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1041
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1042
|
+
# agent does not have an entity-tag for the representation.
|
|
969
1043
|
#
|
|
970
|
-
# @
|
|
971
|
-
|
|
972
|
-
|
|
1044
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1045
|
+
# to contact Oracle about a particular request, please provide
|
|
1046
|
+
# the request ID.
|
|
1047
|
+
#
|
|
1048
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1049
|
+
#
|
|
1050
|
+
# @return [Response] A Response object with data of type nil
|
|
1051
|
+
def delete_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
|
|
1052
|
+
logger.debug 'Calling operation DnsClient#delete_resolver_endpoint.' if logger
|
|
973
1053
|
|
|
974
|
-
raise "Missing the required parameter '
|
|
1054
|
+
raise "Missing the required parameter 'resolver_id' when calling delete_resolver_endpoint." if resolver_id.nil?
|
|
1055
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling delete_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
1056
|
+
|
|
1057
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1058
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1059
|
+
end
|
|
1060
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1061
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
1062
|
+
|
|
1063
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1064
|
+
operation_signing_strategy = :standard
|
|
1065
|
+
|
|
1066
|
+
# rubocop:disable Style/NegatedIf
|
|
1067
|
+
# Query Params
|
|
1068
|
+
query_params = {}
|
|
1069
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1070
|
+
|
|
1071
|
+
# Header Params
|
|
1072
|
+
header_params = {}
|
|
1073
|
+
header_params[:accept] = 'application/json'
|
|
1074
|
+
header_params[:'content-type'] = 'application/json'
|
|
1075
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1076
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1077
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1078
|
+
# rubocop:enable Style/NegatedIf
|
|
1079
|
+
|
|
1080
|
+
post_body = nil
|
|
1081
|
+
|
|
1082
|
+
# rubocop:disable Metrics/BlockLength
|
|
1083
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_resolver_endpoint') do
|
|
1084
|
+
@api_client.call_api(
|
|
1085
|
+
:DELETE,
|
|
1086
|
+
path,
|
|
1087
|
+
endpoint,
|
|
1088
|
+
header_params: header_params,
|
|
1089
|
+
query_params: query_params,
|
|
1090
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1091
|
+
body: post_body
|
|
1092
|
+
)
|
|
1093
|
+
end
|
|
1094
|
+
# rubocop:enable Metrics/BlockLength
|
|
1095
|
+
end
|
|
1096
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1097
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1098
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1099
|
+
|
|
1100
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1101
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1102
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
# Deletes all records in the specified RRSet.
|
|
1106
|
+
#
|
|
1107
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1108
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1109
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
1110
|
+
# @param [Hash] opts the optional parameters
|
|
1111
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1112
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1113
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1114
|
+
# existence of at least one current representation of the target resource,
|
|
1115
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1116
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1117
|
+
# entity-tags provided in the field-value.
|
|
1118
|
+
#
|
|
1119
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1120
|
+
# conditional on the selected representation's last modification date being
|
|
1121
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1122
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1123
|
+
# agent does not have an entity-tag for the representation.
|
|
1124
|
+
#
|
|
1125
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1126
|
+
# to contact Oracle about a particular request, please provide
|
|
1127
|
+
# the request ID.
|
|
1128
|
+
#
|
|
1129
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1130
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1131
|
+
#
|
|
1132
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1133
|
+
# @return [Response] A Response object with data of type nil
|
|
1134
|
+
def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
|
|
1135
|
+
logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
|
|
1136
|
+
|
|
1137
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_rr_set." if zone_name_or_id.nil?
|
|
1138
|
+
raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
|
|
1139
|
+
raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
|
|
1140
|
+
|
|
1141
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1142
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1143
|
+
end
|
|
1144
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1145
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1146
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
1147
|
+
|
|
1148
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
1149
|
+
operation_signing_strategy = :standard
|
|
1150
|
+
|
|
1151
|
+
# rubocop:disable Style/NegatedIf
|
|
1152
|
+
# Query Params
|
|
1153
|
+
query_params = {}
|
|
1154
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1155
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1156
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1157
|
+
|
|
1158
|
+
# Header Params
|
|
1159
|
+
header_params = {}
|
|
1160
|
+
header_params[:accept] = 'application/json'
|
|
1161
|
+
header_params[:'content-type'] = 'application/json'
|
|
1162
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1163
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1164
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1165
|
+
# rubocop:enable Style/NegatedIf
|
|
1166
|
+
|
|
1167
|
+
post_body = nil
|
|
1168
|
+
|
|
1169
|
+
# rubocop:disable Metrics/BlockLength
|
|
1170
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
|
|
1171
|
+
@api_client.call_api(
|
|
1172
|
+
:DELETE,
|
|
1173
|
+
path,
|
|
1174
|
+
endpoint,
|
|
1175
|
+
header_params: header_params,
|
|
1176
|
+
query_params: query_params,
|
|
1177
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1178
|
+
body: post_body
|
|
1179
|
+
)
|
|
1180
|
+
end
|
|
1181
|
+
# rubocop:enable Metrics/BlockLength
|
|
1182
|
+
end
|
|
1183
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1184
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1185
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1186
|
+
|
|
1187
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1188
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1189
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
# Deletes the specified steering policy.
|
|
1193
|
+
# A `204` response indicates that the delete has been successful.
|
|
1194
|
+
# Deletion will fail if the policy is attached to any zones. To detach a
|
|
1195
|
+
# policy from a zone, see `DeleteSteeringPolicyAttachment`.
|
|
1196
|
+
#
|
|
1197
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
1198
|
+
# @param [Hash] opts the optional parameters
|
|
1199
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1200
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1201
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1202
|
+
# existence of at least one current representation of the target resource,
|
|
1203
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1204
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1205
|
+
# entity-tags provided in the field-value.
|
|
1206
|
+
#
|
|
1207
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1208
|
+
# conditional on the selected representation's last modification date being
|
|
1209
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1210
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1211
|
+
# agent does not have an entity-tag for the representation.
|
|
1212
|
+
#
|
|
1213
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1214
|
+
# to contact Oracle about a particular request, please provide
|
|
1215
|
+
# the request ID.
|
|
1216
|
+
#
|
|
1217
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1218
|
+
#
|
|
1219
|
+
# @return [Response] A Response object with data of type nil
|
|
1220
|
+
def delete_steering_policy(steering_policy_id, opts = {})
|
|
1221
|
+
logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
|
|
1222
|
+
|
|
1223
|
+
raise "Missing the required parameter 'steering_policy_id' when calling delete_steering_policy." if steering_policy_id.nil?
|
|
1224
|
+
|
|
1225
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1226
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1227
|
+
end
|
|
975
1228
|
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
976
1229
|
|
|
977
|
-
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
1230
|
+
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
1231
|
+
operation_signing_strategy = :standard
|
|
1232
|
+
|
|
1233
|
+
# rubocop:disable Style/NegatedIf
|
|
1234
|
+
# Query Params
|
|
1235
|
+
query_params = {}
|
|
1236
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1237
|
+
|
|
1238
|
+
# Header Params
|
|
1239
|
+
header_params = {}
|
|
1240
|
+
header_params[:accept] = 'application/json'
|
|
1241
|
+
header_params[:'content-type'] = 'application/json'
|
|
1242
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1243
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1244
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1245
|
+
# rubocop:enable Style/NegatedIf
|
|
1246
|
+
|
|
1247
|
+
post_body = nil
|
|
1248
|
+
|
|
1249
|
+
# rubocop:disable Metrics/BlockLength
|
|
1250
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
|
|
1251
|
+
@api_client.call_api(
|
|
1252
|
+
:DELETE,
|
|
1253
|
+
path,
|
|
1254
|
+
endpoint,
|
|
1255
|
+
header_params: header_params,
|
|
1256
|
+
query_params: query_params,
|
|
1257
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1258
|
+
body: post_body
|
|
1259
|
+
)
|
|
1260
|
+
end
|
|
1261
|
+
# rubocop:enable Metrics/BlockLength
|
|
1262
|
+
end
|
|
1263
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1264
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1265
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1266
|
+
|
|
1267
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1268
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1269
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
# Deletes the specified steering policy attachment.
|
|
1273
|
+
# A `204` response indicates that the delete has been successful.
|
|
1274
|
+
#
|
|
1275
|
+
# @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
|
|
1276
|
+
# @param [Hash] opts the optional parameters
|
|
1277
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1278
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1279
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1280
|
+
# existence of at least one current representation of the target resource,
|
|
1281
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1282
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1283
|
+
# entity-tags provided in the field-value.
|
|
1284
|
+
#
|
|
1285
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1286
|
+
# conditional on the selected representation's last modification date being
|
|
1287
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1288
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1289
|
+
# agent does not have an entity-tag for the representation.
|
|
1290
|
+
#
|
|
1291
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1292
|
+
# to contact Oracle about a particular request, please provide
|
|
1293
|
+
# the request ID.
|
|
1294
|
+
#
|
|
1295
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1296
|
+
#
|
|
1297
|
+
# @return [Response] A Response object with data of type nil
|
|
1298
|
+
def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
|
|
1299
|
+
logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
|
|
1300
|
+
|
|
1301
|
+
raise "Missing the required parameter 'steering_policy_attachment_id' when calling delete_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
1302
|
+
|
|
1303
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1304
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1305
|
+
end
|
|
1306
|
+
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
1307
|
+
|
|
1308
|
+
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
1309
|
+
operation_signing_strategy = :standard
|
|
1310
|
+
|
|
1311
|
+
# rubocop:disable Style/NegatedIf
|
|
1312
|
+
# Query Params
|
|
1313
|
+
query_params = {}
|
|
1314
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1315
|
+
|
|
1316
|
+
# Header Params
|
|
1317
|
+
header_params = {}
|
|
1318
|
+
header_params[:accept] = 'application/json'
|
|
1319
|
+
header_params[:'content-type'] = 'application/json'
|
|
1320
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1321
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1322
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1323
|
+
# rubocop:enable Style/NegatedIf
|
|
1324
|
+
|
|
1325
|
+
post_body = nil
|
|
1326
|
+
|
|
1327
|
+
# rubocop:disable Metrics/BlockLength
|
|
1328
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
|
|
1329
|
+
@api_client.call_api(
|
|
1330
|
+
:DELETE,
|
|
1331
|
+
path,
|
|
1332
|
+
endpoint,
|
|
1333
|
+
header_params: header_params,
|
|
1334
|
+
query_params: query_params,
|
|
1335
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1336
|
+
body: post_body
|
|
1337
|
+
)
|
|
1338
|
+
end
|
|
1339
|
+
# rubocop:enable Metrics/BlockLength
|
|
1340
|
+
end
|
|
1341
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1342
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1343
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1344
|
+
|
|
1345
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1346
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1347
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
# Deletes the specified TSIG key.
|
|
1351
|
+
#
|
|
1352
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
1353
|
+
# @param [Hash] opts the optional parameters
|
|
1354
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1355
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1356
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1357
|
+
# existence of at least one current representation of the target resource,
|
|
1358
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1359
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1360
|
+
# entity-tags provided in the field-value.
|
|
1361
|
+
#
|
|
1362
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1363
|
+
# conditional on the selected representation's last modification date being
|
|
1364
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1365
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1366
|
+
# agent does not have an entity-tag for the representation.
|
|
1367
|
+
#
|
|
1368
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1369
|
+
# to contact Oracle about a particular request, please provide
|
|
1370
|
+
# the request ID.
|
|
1371
|
+
#
|
|
1372
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1373
|
+
#
|
|
1374
|
+
# @return [Response] A Response object with data of type nil
|
|
1375
|
+
def delete_tsig_key(tsig_key_id, opts = {})
|
|
1376
|
+
logger.debug 'Calling operation DnsClient#delete_tsig_key.' if logger
|
|
1377
|
+
|
|
1378
|
+
raise "Missing the required parameter 'tsig_key_id' when calling delete_tsig_key." if tsig_key_id.nil?
|
|
1379
|
+
|
|
1380
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1381
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1382
|
+
end
|
|
1383
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
1384
|
+
|
|
1385
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
1386
|
+
operation_signing_strategy = :standard
|
|
1387
|
+
|
|
1388
|
+
# rubocop:disable Style/NegatedIf
|
|
1389
|
+
# Query Params
|
|
1390
|
+
query_params = {}
|
|
1391
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1392
|
+
|
|
1393
|
+
# Header Params
|
|
1394
|
+
header_params = {}
|
|
1395
|
+
header_params[:accept] = 'application/json'
|
|
1396
|
+
header_params[:'content-type'] = 'application/json'
|
|
1397
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1398
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1399
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1400
|
+
# rubocop:enable Style/NegatedIf
|
|
1401
|
+
|
|
1402
|
+
post_body = nil
|
|
1403
|
+
|
|
1404
|
+
# rubocop:disable Metrics/BlockLength
|
|
1405
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_tsig_key') do
|
|
1406
|
+
@api_client.call_api(
|
|
1407
|
+
:DELETE,
|
|
1408
|
+
path,
|
|
1409
|
+
endpoint,
|
|
1410
|
+
header_params: header_params,
|
|
1411
|
+
query_params: query_params,
|
|
1412
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1413
|
+
body: post_body
|
|
1414
|
+
)
|
|
1415
|
+
end
|
|
1416
|
+
# rubocop:enable Metrics/BlockLength
|
|
1417
|
+
end
|
|
1418
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1419
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1420
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1421
|
+
|
|
1422
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1423
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1424
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
# Deletes the specified view. Note that attempting to delete a
|
|
1428
|
+
# view in the DELETED lifecycleState will result in a 404 to be
|
|
1429
|
+
# consistent with other operations of the API. Views can not be
|
|
1430
|
+
# deleted if they are referenced by non-deleted zones or resolvers.
|
|
1431
|
+
# Protected views cannot be deleted.
|
|
1432
|
+
#
|
|
1433
|
+
# @param [String] view_id The OCID of the target view.
|
|
1434
|
+
# @param [Hash] opts the optional parameters
|
|
1435
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1436
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1437
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1438
|
+
# existence of at least one current representation of the target resource,
|
|
1439
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1440
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1441
|
+
# entity-tags provided in the field-value.
|
|
1442
|
+
#
|
|
1443
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1444
|
+
# conditional on the selected representation's last modification date being
|
|
1445
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1446
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1447
|
+
# agent does not have an entity-tag for the representation.
|
|
1448
|
+
#
|
|
1449
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1450
|
+
# to contact Oracle about a particular request, please provide
|
|
1451
|
+
# the request ID.
|
|
1452
|
+
#
|
|
1453
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1454
|
+
#
|
|
1455
|
+
# @return [Response] A Response object with data of type nil
|
|
1456
|
+
def delete_view(view_id, opts = {})
|
|
1457
|
+
logger.debug 'Calling operation DnsClient#delete_view.' if logger
|
|
1458
|
+
|
|
1459
|
+
raise "Missing the required parameter 'view_id' when calling delete_view." if view_id.nil?
|
|
1460
|
+
|
|
1461
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1462
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1463
|
+
end
|
|
1464
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
1465
|
+
|
|
1466
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
1467
|
+
operation_signing_strategy = :standard
|
|
1468
|
+
|
|
1469
|
+
# rubocop:disable Style/NegatedIf
|
|
1470
|
+
# Query Params
|
|
1471
|
+
query_params = {}
|
|
1472
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1473
|
+
|
|
1474
|
+
# Header Params
|
|
1475
|
+
header_params = {}
|
|
1476
|
+
header_params[:accept] = 'application/json'
|
|
1477
|
+
header_params[:'content-type'] = 'application/json'
|
|
1478
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1479
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1480
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1481
|
+
# rubocop:enable Style/NegatedIf
|
|
1482
|
+
|
|
1483
|
+
post_body = nil
|
|
1484
|
+
|
|
1485
|
+
# rubocop:disable Metrics/BlockLength
|
|
1486
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_view') do
|
|
1487
|
+
@api_client.call_api(
|
|
1488
|
+
:DELETE,
|
|
1489
|
+
path,
|
|
1490
|
+
endpoint,
|
|
1491
|
+
header_params: header_params,
|
|
1492
|
+
query_params: query_params,
|
|
1493
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1494
|
+
body: post_body
|
|
1495
|
+
)
|
|
1496
|
+
end
|
|
1497
|
+
# rubocop:enable Metrics/BlockLength
|
|
1498
|
+
end
|
|
1499
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1500
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1501
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1502
|
+
|
|
1503
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1504
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1505
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
# Deletes the specified zone and all its steering policy attachments.
|
|
1509
|
+
# A `204` response indicates that the zone has been successfully deleted.
|
|
1510
|
+
# Protected zones cannot be deleted.
|
|
1511
|
+
#
|
|
1512
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1513
|
+
# @param [Hash] opts the optional parameters
|
|
1514
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1515
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1516
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
1517
|
+
# existence of at least one current representation of the target resource,
|
|
1518
|
+
# when the field-value is `*`, or having a current representation of the
|
|
1519
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
1520
|
+
# entity-tags provided in the field-value.
|
|
1521
|
+
#
|
|
1522
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
1523
|
+
# conditional on the selected representation's last modification date being
|
|
1524
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
1525
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1526
|
+
# agent does not have an entity-tag for the representation.
|
|
1527
|
+
#
|
|
1528
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1529
|
+
# to contact Oracle about a particular request, please provide
|
|
1530
|
+
# the request ID.
|
|
1531
|
+
#
|
|
1532
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1533
|
+
#
|
|
1534
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1535
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1536
|
+
# @return [Response] A Response object with data of type nil
|
|
1537
|
+
def delete_zone(zone_name_or_id, opts = {})
|
|
1538
|
+
logger.debug 'Calling operation DnsClient#delete_zone.' if logger
|
|
1539
|
+
|
|
1540
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling delete_zone." if zone_name_or_id.nil?
|
|
1541
|
+
|
|
1542
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1543
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1544
|
+
end
|
|
1545
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1546
|
+
|
|
1547
|
+
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
1548
|
+
operation_signing_strategy = :standard
|
|
1549
|
+
|
|
1550
|
+
# rubocop:disable Style/NegatedIf
|
|
1551
|
+
# Query Params
|
|
1552
|
+
query_params = {}
|
|
1553
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1554
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1555
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1556
|
+
|
|
1557
|
+
# Header Params
|
|
1558
|
+
header_params = {}
|
|
1559
|
+
header_params[:accept] = 'application/json'
|
|
1560
|
+
header_params[:'content-type'] = 'application/json'
|
|
1561
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1562
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
1563
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1564
|
+
# rubocop:enable Style/NegatedIf
|
|
1565
|
+
|
|
1566
|
+
post_body = nil
|
|
1567
|
+
|
|
1568
|
+
# rubocop:disable Metrics/BlockLength
|
|
1569
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
|
|
1570
|
+
@api_client.call_api(
|
|
1571
|
+
:DELETE,
|
|
1572
|
+
path,
|
|
1573
|
+
endpoint,
|
|
1574
|
+
header_params: header_params,
|
|
1575
|
+
query_params: query_params,
|
|
1576
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1577
|
+
body: post_body
|
|
1578
|
+
)
|
|
1579
|
+
end
|
|
1580
|
+
# rubocop:enable Metrics/BlockLength
|
|
1581
|
+
end
|
|
1582
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1583
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1584
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1585
|
+
|
|
1586
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1587
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1588
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
# Gets a list of all records at the specified zone and domain.
|
|
1592
|
+
# The results are sorted by `rtype` in alphabetical order by default. You
|
|
1593
|
+
# can optionally filter and/or sort the results using the listed parameters.
|
|
1594
|
+
#
|
|
1595
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1596
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1597
|
+
# @param [Hash] opts the optional parameters
|
|
1598
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1599
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1600
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1601
|
+
# the absence of any current representation of the target resource, when
|
|
1602
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1603
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1604
|
+
#
|
|
1605
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1606
|
+
# conditional on the selected representation's modification date being more
|
|
1607
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1608
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1609
|
+
#
|
|
1610
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1611
|
+
# to contact Oracle about a particular request, please provide
|
|
1612
|
+
# the request ID.
|
|
1613
|
+
#
|
|
1614
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1615
|
+
# (default to 50)
|
|
1616
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1617
|
+
#
|
|
1618
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
1619
|
+
#
|
|
1620
|
+
# @option opts [String] :rtype Search by record type.
|
|
1621
|
+
# 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.
|
|
1622
|
+
#
|
|
1623
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1624
|
+
#
|
|
1625
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1626
|
+
# @option opts [String] :sort_by The field by which to sort records. (default to rtype)
|
|
1627
|
+
# Allowed values are: rtype, ttl
|
|
1628
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
1629
|
+
# (default to ASC)
|
|
1630
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1631
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1632
|
+
def get_domain_records(zone_name_or_id, domain, opts = {})
|
|
1633
|
+
logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
|
|
1634
|
+
|
|
1635
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
|
|
1636
|
+
raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
|
|
1637
|
+
|
|
1638
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1639
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
if opts[:sort_by] && !%w[rtype ttl].include?(opts[:sort_by])
|
|
1643
|
+
raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1646
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1647
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1648
|
+
end
|
|
1649
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1650
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1651
|
+
|
|
1652
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
1653
|
+
operation_signing_strategy = :standard
|
|
1654
|
+
|
|
1655
|
+
# rubocop:disable Style/NegatedIf
|
|
1656
|
+
# Query Params
|
|
1657
|
+
query_params = {}
|
|
1658
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1659
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1660
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
1661
|
+
query_params[:rtype] = opts[:rtype] if opts[:rtype]
|
|
1662
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1663
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1664
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1665
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1666
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1667
|
+
|
|
1668
|
+
# Header Params
|
|
1669
|
+
header_params = {}
|
|
1670
|
+
header_params[:accept] = 'application/json'
|
|
1671
|
+
header_params[:'content-type'] = 'application/json'
|
|
1672
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1673
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1674
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1675
|
+
# rubocop:enable Style/NegatedIf
|
|
1676
|
+
|
|
1677
|
+
post_body = nil
|
|
1678
|
+
|
|
1679
|
+
# rubocop:disable Metrics/BlockLength
|
|
1680
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
|
|
1681
|
+
@api_client.call_api(
|
|
1682
|
+
:GET,
|
|
1683
|
+
path,
|
|
1684
|
+
endpoint,
|
|
1685
|
+
header_params: header_params,
|
|
1686
|
+
query_params: query_params,
|
|
1687
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1688
|
+
body: post_body,
|
|
1689
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
1690
|
+
)
|
|
1691
|
+
end
|
|
1692
|
+
# rubocop:enable Metrics/BlockLength
|
|
1693
|
+
end
|
|
1694
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1695
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1696
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1697
|
+
|
|
1698
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1699
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1700
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
# Get information about a specific resolver. Note that attempting to get a
|
|
1704
|
+
# resolver in the DELETED lifecycleState will result in a 404 to be
|
|
1705
|
+
# consistent with other operations of the API.
|
|
1706
|
+
#
|
|
1707
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1708
|
+
# @param [Hash] opts the optional parameters
|
|
1709
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1710
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1711
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1712
|
+
# conditional on the selected representation's modification date being more
|
|
1713
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1714
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1715
|
+
#
|
|
1716
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1717
|
+
# the absence of any current representation of the target resource, when
|
|
1718
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1719
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1720
|
+
#
|
|
1721
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1722
|
+
# to contact Oracle about a particular request, please provide
|
|
1723
|
+
# the request ID.
|
|
1724
|
+
#
|
|
1725
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1726
|
+
#
|
|
1727
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
|
|
1728
|
+
def get_resolver(resolver_id, opts = {})
|
|
1729
|
+
logger.debug 'Calling operation DnsClient#get_resolver.' if logger
|
|
1730
|
+
|
|
1731
|
+
raise "Missing the required parameter 'resolver_id' when calling get_resolver." if resolver_id.nil?
|
|
1732
|
+
|
|
1733
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1734
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1735
|
+
end
|
|
1736
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1737
|
+
|
|
1738
|
+
path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
|
|
1739
|
+
operation_signing_strategy = :standard
|
|
1740
|
+
|
|
1741
|
+
# rubocop:disable Style/NegatedIf
|
|
1742
|
+
# Query Params
|
|
1743
|
+
query_params = {}
|
|
1744
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1745
|
+
|
|
1746
|
+
# Header Params
|
|
1747
|
+
header_params = {}
|
|
1748
|
+
header_params[:accept] = 'application/json'
|
|
1749
|
+
header_params[:'content-type'] = 'application/json'
|
|
1750
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1751
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1752
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1753
|
+
# rubocop:enable Style/NegatedIf
|
|
1754
|
+
|
|
1755
|
+
post_body = nil
|
|
1756
|
+
|
|
1757
|
+
# rubocop:disable Metrics/BlockLength
|
|
1758
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver') do
|
|
1759
|
+
@api_client.call_api(
|
|
1760
|
+
:GET,
|
|
1761
|
+
path,
|
|
1762
|
+
endpoint,
|
|
1763
|
+
header_params: header_params,
|
|
1764
|
+
query_params: query_params,
|
|
1765
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1766
|
+
body: post_body,
|
|
1767
|
+
return_type: 'OCI::Dns::Models::Resolver'
|
|
1768
|
+
)
|
|
1769
|
+
end
|
|
1770
|
+
# rubocop:enable Metrics/BlockLength
|
|
1771
|
+
end
|
|
1772
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1773
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1774
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1775
|
+
|
|
1776
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1777
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1778
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
# Get information about a specific resolver endpoint. Note that attempting to get a resolver endpoint
|
|
1782
|
+
# in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
|
|
1783
|
+
#
|
|
1784
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
1785
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
1786
|
+
# @param [Hash] opts the optional parameters
|
|
1787
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1788
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1789
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1790
|
+
# conditional on the selected representation's modification date being more
|
|
1791
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1792
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1793
|
+
#
|
|
1794
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1795
|
+
# the absence of any current representation of the target resource, when
|
|
1796
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1797
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1798
|
+
#
|
|
1799
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1800
|
+
# to contact Oracle about a particular request, please provide
|
|
1801
|
+
# the request ID.
|
|
1802
|
+
#
|
|
1803
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1804
|
+
#
|
|
1805
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
1806
|
+
def get_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
|
|
1807
|
+
logger.debug 'Calling operation DnsClient#get_resolver_endpoint.' if logger
|
|
1808
|
+
|
|
1809
|
+
raise "Missing the required parameter 'resolver_id' when calling get_resolver_endpoint." if resolver_id.nil?
|
|
1810
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling get_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
1811
|
+
|
|
1812
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1813
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1814
|
+
end
|
|
1815
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
1816
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
1817
|
+
|
|
1818
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1819
|
+
operation_signing_strategy = :standard
|
|
1820
|
+
|
|
1821
|
+
# rubocop:disable Style/NegatedIf
|
|
1822
|
+
# Query Params
|
|
1823
|
+
query_params = {}
|
|
1824
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1825
|
+
|
|
1826
|
+
# Header Params
|
|
1827
|
+
header_params = {}
|
|
1828
|
+
header_params[:accept] = 'application/json'
|
|
1829
|
+
header_params[:'content-type'] = 'application/json'
|
|
1830
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1831
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1832
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1833
|
+
# rubocop:enable Style/NegatedIf
|
|
1834
|
+
|
|
1835
|
+
post_body = nil
|
|
1836
|
+
|
|
1837
|
+
# rubocop:disable Metrics/BlockLength
|
|
1838
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver_endpoint') do
|
|
1839
|
+
@api_client.call_api(
|
|
1840
|
+
:GET,
|
|
1841
|
+
path,
|
|
1842
|
+
endpoint,
|
|
1843
|
+
header_params: header_params,
|
|
1844
|
+
query_params: query_params,
|
|
1845
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1846
|
+
body: post_body,
|
|
1847
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
1848
|
+
)
|
|
1849
|
+
end
|
|
1850
|
+
# rubocop:enable Metrics/BlockLength
|
|
1851
|
+
end
|
|
1852
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1853
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1854
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1855
|
+
|
|
1856
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1857
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1858
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
# Gets a list of all records in the specified RRSet. The results are
|
|
1862
|
+
# sorted by `recordHash` by default.
|
|
1863
|
+
#
|
|
1864
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1865
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1866
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
1867
|
+
# @param [Hash] opts the optional parameters
|
|
1868
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1869
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1870
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1871
|
+
# the absence of any current representation of the target resource, when
|
|
1872
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1873
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1874
|
+
#
|
|
1875
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1876
|
+
# conditional on the selected representation's modification date being more
|
|
1877
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1878
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1879
|
+
#
|
|
1880
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1881
|
+
# to contact Oracle about a particular request, please provide
|
|
1882
|
+
# the request ID.
|
|
1883
|
+
#
|
|
1884
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1885
|
+
# (default to 50)
|
|
1886
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1887
|
+
#
|
|
1888
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
1889
|
+
#
|
|
1890
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1891
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1892
|
+
#
|
|
1893
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1894
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
|
|
1895
|
+
def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
|
|
1896
|
+
logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
|
|
1897
|
+
|
|
1898
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_rr_set." if zone_name_or_id.nil?
|
|
1899
|
+
raise "Missing the required parameter 'domain' when calling get_rr_set." if domain.nil?
|
|
1900
|
+
raise "Missing the required parameter 'rtype' when calling get_rr_set." if rtype.nil?
|
|
1901
|
+
|
|
1902
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1903
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1904
|
+
end
|
|
1905
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1906
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1907
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
1908
|
+
|
|
1909
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
1910
|
+
operation_signing_strategy = :standard
|
|
1911
|
+
|
|
1912
|
+
# rubocop:disable Style/NegatedIf
|
|
1913
|
+
# Query Params
|
|
1914
|
+
query_params = {}
|
|
1915
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1916
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1917
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
1918
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1919
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1920
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1921
|
+
|
|
1922
|
+
# Header Params
|
|
1923
|
+
header_params = {}
|
|
1924
|
+
header_params[:accept] = 'application/json'
|
|
1925
|
+
header_params[:'content-type'] = 'application/json'
|
|
1926
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1927
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
1928
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1929
|
+
# rubocop:enable Style/NegatedIf
|
|
1930
|
+
|
|
1931
|
+
post_body = nil
|
|
1932
|
+
|
|
1933
|
+
# rubocop:disable Metrics/BlockLength
|
|
1934
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
|
|
1935
|
+
@api_client.call_api(
|
|
1936
|
+
:GET,
|
|
1937
|
+
path,
|
|
1938
|
+
endpoint,
|
|
1939
|
+
header_params: header_params,
|
|
1940
|
+
query_params: query_params,
|
|
1941
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1942
|
+
body: post_body,
|
|
1943
|
+
return_type: 'OCI::Dns::Models::RRSet'
|
|
1944
|
+
)
|
|
1945
|
+
end
|
|
1946
|
+
# rubocop:enable Metrics/BlockLength
|
|
1947
|
+
end
|
|
1948
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1949
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1950
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1951
|
+
|
|
1952
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1953
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1954
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
# Gets information about the specified steering policy.
|
|
1958
|
+
#
|
|
1959
|
+
# @param [String] steering_policy_id The OCID of the target steering policy.
|
|
1960
|
+
# @param [Hash] opts the optional parameters
|
|
1961
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1962
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1963
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
1964
|
+
# the absence of any current representation of the target resource, when
|
|
1965
|
+
# the field-value is `*`, or having a selected representation with an
|
|
1966
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
1967
|
+
#
|
|
1968
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
1969
|
+
# conditional on the selected representation's modification date being more
|
|
1970
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
1971
|
+
# selected representation's data is avoided if that data has not changed.
|
|
1972
|
+
#
|
|
1973
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
1974
|
+
# to contact Oracle about a particular request, please provide
|
|
1975
|
+
# the request ID.
|
|
1976
|
+
#
|
|
1977
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1978
|
+
#
|
|
1979
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
1980
|
+
def get_steering_policy(steering_policy_id, opts = {})
|
|
1981
|
+
logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
|
|
1982
|
+
|
|
1983
|
+
raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
|
|
1984
|
+
|
|
1985
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
1986
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
1987
|
+
end
|
|
1988
|
+
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
1989
|
+
|
|
1990
|
+
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
1991
|
+
operation_signing_strategy = :standard
|
|
1992
|
+
|
|
1993
|
+
# rubocop:disable Style/NegatedIf
|
|
1994
|
+
# Query Params
|
|
1995
|
+
query_params = {}
|
|
1996
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1997
|
+
|
|
1998
|
+
# Header Params
|
|
1999
|
+
header_params = {}
|
|
2000
|
+
header_params[:accept] = 'application/json'
|
|
2001
|
+
header_params[:'content-type'] = 'application/json'
|
|
2002
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2003
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2004
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2005
|
+
# rubocop:enable Style/NegatedIf
|
|
2006
|
+
|
|
2007
|
+
post_body = nil
|
|
2008
|
+
|
|
2009
|
+
# rubocop:disable Metrics/BlockLength
|
|
2010
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
|
|
2011
|
+
@api_client.call_api(
|
|
2012
|
+
:GET,
|
|
2013
|
+
path,
|
|
2014
|
+
endpoint,
|
|
2015
|
+
header_params: header_params,
|
|
2016
|
+
query_params: query_params,
|
|
2017
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2018
|
+
body: post_body,
|
|
2019
|
+
return_type: 'OCI::Dns::Models::SteeringPolicy'
|
|
2020
|
+
)
|
|
2021
|
+
end
|
|
2022
|
+
# rubocop:enable Metrics/BlockLength
|
|
2023
|
+
end
|
|
2024
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2025
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2026
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2027
|
+
|
|
2028
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2029
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2030
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
# Gets information about the specified steering policy attachment.
|
|
2034
|
+
#
|
|
2035
|
+
# @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
|
|
2036
|
+
# @param [Hash] opts the optional parameters
|
|
2037
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2038
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2039
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2040
|
+
# the absence of any current representation of the target resource, when
|
|
2041
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2042
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2043
|
+
#
|
|
2044
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2045
|
+
# conditional on the selected representation's modification date being more
|
|
2046
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2047
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2048
|
+
#
|
|
2049
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2050
|
+
# to contact Oracle about a particular request, please provide
|
|
2051
|
+
# the request ID.
|
|
2052
|
+
#
|
|
2053
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2054
|
+
#
|
|
2055
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
2056
|
+
def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
|
|
2057
|
+
logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
|
|
2058
|
+
|
|
2059
|
+
raise "Missing the required parameter 'steering_policy_attachment_id' when calling get_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
2060
|
+
|
|
2061
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2062
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2063
|
+
end
|
|
2064
|
+
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
2065
|
+
|
|
2066
|
+
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
2067
|
+
operation_signing_strategy = :standard
|
|
2068
|
+
|
|
2069
|
+
# rubocop:disable Style/NegatedIf
|
|
2070
|
+
# Query Params
|
|
2071
|
+
query_params = {}
|
|
2072
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2073
|
+
|
|
2074
|
+
# Header Params
|
|
2075
|
+
header_params = {}
|
|
2076
|
+
header_params[:accept] = 'application/json'
|
|
2077
|
+
header_params[:'content-type'] = 'application/json'
|
|
2078
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2079
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2080
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2081
|
+
# rubocop:enable Style/NegatedIf
|
|
2082
|
+
|
|
2083
|
+
post_body = nil
|
|
2084
|
+
|
|
2085
|
+
# rubocop:disable Metrics/BlockLength
|
|
2086
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
|
|
2087
|
+
@api_client.call_api(
|
|
2088
|
+
:GET,
|
|
2089
|
+
path,
|
|
2090
|
+
endpoint,
|
|
2091
|
+
header_params: header_params,
|
|
2092
|
+
query_params: query_params,
|
|
2093
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2094
|
+
body: post_body,
|
|
2095
|
+
return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
|
|
2096
|
+
)
|
|
2097
|
+
end
|
|
2098
|
+
# rubocop:enable Metrics/BlockLength
|
|
2099
|
+
end
|
|
2100
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2101
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2102
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2103
|
+
|
|
2104
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2105
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2106
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
# Gets information about the specified TSIG key.
|
|
2110
|
+
#
|
|
2111
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
2112
|
+
# @param [Hash] opts the optional parameters
|
|
2113
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2114
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2115
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2116
|
+
# the absence of any current representation of the target resource, when
|
|
2117
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2118
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2119
|
+
#
|
|
2120
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2121
|
+
# conditional on the selected representation's modification date being more
|
|
2122
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2123
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2124
|
+
#
|
|
2125
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2126
|
+
# to contact Oracle about a particular request, please provide
|
|
2127
|
+
# the request ID.
|
|
2128
|
+
#
|
|
2129
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2130
|
+
#
|
|
2131
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
2132
|
+
def get_tsig_key(tsig_key_id, opts = {})
|
|
2133
|
+
logger.debug 'Calling operation DnsClient#get_tsig_key.' if logger
|
|
2134
|
+
|
|
2135
|
+
raise "Missing the required parameter 'tsig_key_id' when calling get_tsig_key." if tsig_key_id.nil?
|
|
2136
|
+
|
|
2137
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2138
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2139
|
+
end
|
|
2140
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
2141
|
+
|
|
2142
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
2143
|
+
operation_signing_strategy = :standard
|
|
2144
|
+
|
|
2145
|
+
# rubocop:disable Style/NegatedIf
|
|
2146
|
+
# Query Params
|
|
2147
|
+
query_params = {}
|
|
2148
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2149
|
+
|
|
2150
|
+
# Header Params
|
|
2151
|
+
header_params = {}
|
|
2152
|
+
header_params[:accept] = 'application/json'
|
|
2153
|
+
header_params[:'content-type'] = 'application/json'
|
|
2154
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2155
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2156
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2157
|
+
# rubocop:enable Style/NegatedIf
|
|
2158
|
+
|
|
2159
|
+
post_body = nil
|
|
2160
|
+
|
|
2161
|
+
# rubocop:disable Metrics/BlockLength
|
|
2162
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_tsig_key') do
|
|
2163
|
+
@api_client.call_api(
|
|
2164
|
+
:GET,
|
|
2165
|
+
path,
|
|
2166
|
+
endpoint,
|
|
2167
|
+
header_params: header_params,
|
|
2168
|
+
query_params: query_params,
|
|
2169
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2170
|
+
body: post_body,
|
|
2171
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
2172
|
+
)
|
|
2173
|
+
end
|
|
2174
|
+
# rubocop:enable Metrics/BlockLength
|
|
2175
|
+
end
|
|
2176
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2177
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2178
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2179
|
+
|
|
2180
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2181
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2182
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
# Get information about a specific view. Note that attempting to get a
|
|
2186
|
+
# view in the DELETED lifecycleState will result in a 404 to be
|
|
2187
|
+
# consistent with other operations of the API.
|
|
2188
|
+
#
|
|
2189
|
+
# @param [String] view_id The OCID of the target view.
|
|
2190
|
+
# @param [Hash] opts the optional parameters
|
|
2191
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2192
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2193
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2194
|
+
# conditional on the selected representation's modification date being more
|
|
2195
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2196
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2197
|
+
#
|
|
2198
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2199
|
+
# the absence of any current representation of the target resource, when
|
|
2200
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2201
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2202
|
+
#
|
|
2203
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2204
|
+
# to contact Oracle about a particular request, please provide
|
|
2205
|
+
# the request ID.
|
|
2206
|
+
#
|
|
2207
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2208
|
+
#
|
|
2209
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
2210
|
+
def get_view(view_id, opts = {})
|
|
2211
|
+
logger.debug 'Calling operation DnsClient#get_view.' if logger
|
|
2212
|
+
|
|
2213
|
+
raise "Missing the required parameter 'view_id' when calling get_view." if view_id.nil?
|
|
2214
|
+
|
|
2215
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2216
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2217
|
+
end
|
|
2218
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
2219
|
+
|
|
2220
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
2221
|
+
operation_signing_strategy = :standard
|
|
2222
|
+
|
|
2223
|
+
# rubocop:disable Style/NegatedIf
|
|
2224
|
+
# Query Params
|
|
2225
|
+
query_params = {}
|
|
2226
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2227
|
+
|
|
2228
|
+
# Header Params
|
|
2229
|
+
header_params = {}
|
|
2230
|
+
header_params[:accept] = 'application/json'
|
|
2231
|
+
header_params[:'content-type'] = 'application/json'
|
|
2232
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2233
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2234
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2235
|
+
# rubocop:enable Style/NegatedIf
|
|
2236
|
+
|
|
2237
|
+
post_body = nil
|
|
2238
|
+
|
|
2239
|
+
# rubocop:disable Metrics/BlockLength
|
|
2240
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_view') do
|
|
2241
|
+
@api_client.call_api(
|
|
2242
|
+
:GET,
|
|
2243
|
+
path,
|
|
2244
|
+
endpoint,
|
|
2245
|
+
header_params: header_params,
|
|
2246
|
+
query_params: query_params,
|
|
2247
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2248
|
+
body: post_body,
|
|
2249
|
+
return_type: 'OCI::Dns::Models::View'
|
|
2250
|
+
)
|
|
2251
|
+
end
|
|
2252
|
+
# rubocop:enable Metrics/BlockLength
|
|
2253
|
+
end
|
|
2254
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2255
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2256
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2257
|
+
|
|
2258
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2259
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2260
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
# Gets information about the specified zone, including its creation date,
|
|
2264
|
+
# zone type, and serial.
|
|
2265
|
+
#
|
|
2266
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
2267
|
+
# @param [Hash] opts the optional parameters
|
|
2268
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2269
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2270
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2271
|
+
# the absence of any current representation of the target resource, when
|
|
2272
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2273
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2274
|
+
#
|
|
2275
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2276
|
+
# conditional on the selected representation's modification date being more
|
|
2277
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2278
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2279
|
+
#
|
|
2280
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2281
|
+
# to contact Oracle about a particular request, please provide
|
|
2282
|
+
# the request ID.
|
|
2283
|
+
#
|
|
2284
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2285
|
+
#
|
|
2286
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2287
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2288
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
2289
|
+
def get_zone(zone_name_or_id, opts = {})
|
|
2290
|
+
logger.debug 'Calling operation DnsClient#get_zone.' if logger
|
|
2291
|
+
|
|
2292
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_zone." if zone_name_or_id.nil?
|
|
2293
|
+
|
|
2294
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2295
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2296
|
+
end
|
|
2297
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2298
|
+
|
|
2299
|
+
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
2300
|
+
operation_signing_strategy = :standard
|
|
2301
|
+
|
|
2302
|
+
# rubocop:disable Style/NegatedIf
|
|
2303
|
+
# Query Params
|
|
2304
|
+
query_params = {}
|
|
2305
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2306
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2307
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2308
|
+
|
|
2309
|
+
# Header Params
|
|
2310
|
+
header_params = {}
|
|
2311
|
+
header_params[:accept] = 'application/json'
|
|
2312
|
+
header_params[:'content-type'] = 'application/json'
|
|
2313
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2314
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2315
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2316
|
+
# rubocop:enable Style/NegatedIf
|
|
2317
|
+
|
|
2318
|
+
post_body = nil
|
|
2319
|
+
|
|
2320
|
+
# rubocop:disable Metrics/BlockLength
|
|
2321
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
|
|
2322
|
+
@api_client.call_api(
|
|
2323
|
+
:GET,
|
|
2324
|
+
path,
|
|
2325
|
+
endpoint,
|
|
2326
|
+
header_params: header_params,
|
|
2327
|
+
query_params: query_params,
|
|
2328
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2329
|
+
body: post_body,
|
|
2330
|
+
return_type: 'OCI::Dns::Models::Zone'
|
|
2331
|
+
)
|
|
2332
|
+
end
|
|
2333
|
+
# rubocop:enable Metrics/BlockLength
|
|
2334
|
+
end
|
|
2335
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2336
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2337
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2338
|
+
|
|
2339
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2340
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2341
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
# Gets all records in the specified zone. The results are
|
|
2345
|
+
# sorted by `domain` in alphabetical order by default. For more
|
|
2346
|
+
# information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
|
|
2347
|
+
#
|
|
2348
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
2349
|
+
# @param [Hash] opts the optional parameters
|
|
2350
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2351
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2352
|
+
# @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
|
|
2353
|
+
# the absence of any current representation of the target resource, when
|
|
2354
|
+
# the field-value is `*`, or having a selected representation with an
|
|
2355
|
+
# entity-tag that does not match any of those listed in the field-value.
|
|
2356
|
+
#
|
|
2357
|
+
# @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
|
|
2358
|
+
# conditional on the selected representation's modification date being more
|
|
2359
|
+
# recent than the date provided in the field-value. Transfer of the
|
|
2360
|
+
# selected representation's data is avoided if that data has not changed.
|
|
2361
|
+
#
|
|
2362
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2363
|
+
# to contact Oracle about a particular request, please provide
|
|
2364
|
+
# the request ID.
|
|
2365
|
+
#
|
|
2366
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2367
|
+
# (default to 50)
|
|
2368
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2369
|
+
#
|
|
2370
|
+
# @option opts [String] :zone_version The version of the zone for which data is requested.
|
|
2371
|
+
#
|
|
2372
|
+
# @option opts [String] :domain Search by domain.
|
|
2373
|
+
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
2374
|
+
#
|
|
2375
|
+
# @option opts [String] :domain_contains Search by domain.
|
|
2376
|
+
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
2377
|
+
#
|
|
2378
|
+
# @option opts [String] :rtype Search by record type.
|
|
2379
|
+
# 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.
|
|
2380
|
+
#
|
|
2381
|
+
# @option opts [String] :sort_by The field by which to sort records. (default to domain)
|
|
2382
|
+
# Allowed values are: domain, rtype, ttl
|
|
2383
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2384
|
+
# (default to ASC)
|
|
2385
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2386
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2387
|
+
#
|
|
2388
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2389
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
2390
|
+
def get_zone_records(zone_name_or_id, opts = {})
|
|
2391
|
+
logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
|
|
2392
|
+
|
|
2393
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
|
|
2394
|
+
|
|
2395
|
+
if opts[:sort_by] && !%w[domain rtype ttl].include?(opts[:sort_by])
|
|
2396
|
+
raise 'Invalid value for "sort_by", must be one of domain, rtype, ttl.'
|
|
2397
|
+
end
|
|
2398
|
+
|
|
2399
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2400
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2401
|
+
end
|
|
2402
|
+
|
|
2403
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2404
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2405
|
+
end
|
|
2406
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2407
|
+
|
|
2408
|
+
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
2409
|
+
operation_signing_strategy = :standard
|
|
2410
|
+
|
|
2411
|
+
# rubocop:disable Style/NegatedIf
|
|
2412
|
+
# Query Params
|
|
2413
|
+
query_params = {}
|
|
2414
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2415
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2416
|
+
query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
|
|
2417
|
+
query_params[:domain] = opts[:domain] if opts[:domain]
|
|
2418
|
+
query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
|
|
2419
|
+
query_params[:rtype] = opts[:rtype] if opts[:rtype]
|
|
2420
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2421
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2422
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2423
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2424
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2425
|
+
|
|
2426
|
+
# Header Params
|
|
2427
|
+
header_params = {}
|
|
2428
|
+
header_params[:accept] = 'application/json'
|
|
2429
|
+
header_params[:'content-type'] = 'application/json'
|
|
2430
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
2431
|
+
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2432
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2433
|
+
# rubocop:enable Style/NegatedIf
|
|
2434
|
+
|
|
2435
|
+
post_body = nil
|
|
2436
|
+
|
|
2437
|
+
# rubocop:disable Metrics/BlockLength
|
|
2438
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
|
|
2439
|
+
@api_client.call_api(
|
|
2440
|
+
:GET,
|
|
2441
|
+
path,
|
|
2442
|
+
endpoint,
|
|
2443
|
+
header_params: header_params,
|
|
2444
|
+
query_params: query_params,
|
|
2445
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2446
|
+
body: post_body,
|
|
2447
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
2448
|
+
)
|
|
2449
|
+
end
|
|
2450
|
+
# rubocop:enable Metrics/BlockLength
|
|
2451
|
+
end
|
|
2452
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2453
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2454
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2455
|
+
|
|
2456
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2457
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2458
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
# Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
|
|
2462
|
+
# It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
|
|
2463
|
+
# query parameter is provided that the collection does not include resolver endpoints in the DELETED
|
|
2464
|
+
# lifecycle state to be consistent with other operations of the API.
|
|
2465
|
+
#
|
|
2466
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
2467
|
+
# @param [Hash] opts the optional parameters
|
|
2468
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2469
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2470
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2471
|
+
# to contact Oracle about a particular request, please provide
|
|
2472
|
+
# the request ID.
|
|
2473
|
+
#
|
|
2474
|
+
# @option opts [String] :name The name of a resource.
|
|
2475
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
2476
|
+
#
|
|
2477
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2478
|
+
# (default to 50)
|
|
2479
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2480
|
+
# (default to DESC)
|
|
2481
|
+
# @option opts [String] :sort_by The field by which to sort resolver endpoints. (default to timeCreated)
|
|
2482
|
+
# Allowed values are: name, timeCreated
|
|
2483
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
2484
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2485
|
+
#
|
|
2486
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverEndpointSummary ResolverEndpointSummary}>
|
|
2487
|
+
def list_resolver_endpoints(resolver_id, opts = {})
|
|
2488
|
+
logger.debug 'Calling operation DnsClient#list_resolver_endpoints.' if logger
|
|
2489
|
+
|
|
2490
|
+
raise "Missing the required parameter 'resolver_id' when calling list_resolver_endpoints." if resolver_id.nil?
|
|
2491
|
+
|
|
2492
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2493
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2496
|
+
if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
|
|
2497
|
+
raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
|
|
2498
|
+
end
|
|
2499
|
+
|
|
2500
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2501
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.'
|
|
2502
|
+
end
|
|
2503
|
+
|
|
2504
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2505
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2506
|
+
end
|
|
2507
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
2508
|
+
|
|
2509
|
+
path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
|
|
978
2510
|
operation_signing_strategy = :standard
|
|
979
2511
|
|
|
980
2512
|
# rubocop:disable Style/NegatedIf
|
|
981
2513
|
# Query Params
|
|
982
2514
|
query_params = {}
|
|
2515
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
2516
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2517
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2518
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2519
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2520
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2521
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
983
2522
|
|
|
984
2523
|
# Header Params
|
|
985
2524
|
header_params = {}
|
|
986
2525
|
header_params[:accept] = 'application/json'
|
|
987
2526
|
header_params[:'content-type'] = 'application/json'
|
|
988
|
-
header_params[:'
|
|
989
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2527
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
990
2528
|
# rubocop:enable Style/NegatedIf
|
|
991
2529
|
|
|
992
2530
|
post_body = nil
|
|
993
2531
|
|
|
994
2532
|
# rubocop:disable Metrics/BlockLength
|
|
995
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2533
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolver_endpoints') do
|
|
996
2534
|
@api_client.call_api(
|
|
997
2535
|
:GET,
|
|
998
2536
|
path,
|
|
@@ -1001,7 +2539,7 @@ module OCI
|
|
|
1001
2539
|
query_params: query_params,
|
|
1002
2540
|
operation_signing_strategy: operation_signing_strategy,
|
|
1003
2541
|
body: post_body,
|
|
1004
|
-
return_type: 'OCI::Dns::Models::
|
|
2542
|
+
return_type: 'Array<OCI::Dns::Models::ResolverEndpointSummary>'
|
|
1005
2543
|
)
|
|
1006
2544
|
end
|
|
1007
2545
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1015,48 +2553,83 @@ module OCI
|
|
|
1015
2553
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1016
2554
|
|
|
1017
2555
|
|
|
1018
|
-
# Gets
|
|
2556
|
+
# Gets a list of all resolvers within a compartment. The collection can
|
|
2557
|
+
# be filtered by display name, id, or lifecycle state. It can be sorted
|
|
2558
|
+
# on creation time or displayName both in ASC or DESC order. Note that
|
|
2559
|
+
# when no lifecycleState query parameter is provided that the collection
|
|
2560
|
+
# does not include resolvers in the DELETED lifecycleState to be consistent
|
|
2561
|
+
# with other operations of the API.
|
|
1019
2562
|
#
|
|
1020
|
-
# @param [String]
|
|
2563
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1021
2564
|
# @param [Hash] opts the optional parameters
|
|
1022
2565
|
# @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
2566
|
# 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
|
-
# entity-tag that does not match any of those listed in the field-value.
|
|
2567
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2568
|
+
# to contact Oracle about a particular request, please provide
|
|
2569
|
+
# the request ID.
|
|
1028
2570
|
#
|
|
1029
|
-
# @option opts [String] :
|
|
1030
|
-
#
|
|
1031
|
-
#
|
|
1032
|
-
# selected representation's data is avoided if that data has not changed.
|
|
2571
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2572
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2573
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1033
2574
|
#
|
|
1034
|
-
# @
|
|
1035
|
-
|
|
1036
|
-
|
|
2575
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2576
|
+
# (default to 50)
|
|
2577
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2578
|
+
# (default to DESC)
|
|
2579
|
+
# @option opts [String] :sort_by The field by which to sort resolvers. (default to timeCreated)
|
|
2580
|
+
# Allowed values are: displayName, timeCreated
|
|
2581
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
2582
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2583
|
+
#
|
|
2584
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverSummary ResolverSummary}>
|
|
2585
|
+
def list_resolvers(compartment_id, opts = {})
|
|
2586
|
+
logger.debug 'Calling operation DnsClient#list_resolvers.' if logger
|
|
1037
2587
|
|
|
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)
|
|
2588
|
+
raise "Missing the required parameter 'compartment_id' when calling list_resolvers." if compartment_id.nil?
|
|
1040
2589
|
|
|
1041
|
-
|
|
2590
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2591
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2592
|
+
end
|
|
2593
|
+
|
|
2594
|
+
if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
|
|
2595
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
|
|
2596
|
+
end
|
|
2597
|
+
|
|
2598
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2599
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.'
|
|
2600
|
+
end
|
|
2601
|
+
|
|
2602
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2603
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2604
|
+
end
|
|
2605
|
+
|
|
2606
|
+
path = '/resolvers'
|
|
1042
2607
|
operation_signing_strategy = :standard
|
|
1043
2608
|
|
|
1044
2609
|
# rubocop:disable Style/NegatedIf
|
|
1045
2610
|
# Query Params
|
|
1046
2611
|
query_params = {}
|
|
2612
|
+
query_params[:compartmentId] = compartment_id
|
|
2613
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2614
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2615
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2616
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2617
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2618
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2619
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2620
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1047
2621
|
|
|
1048
2622
|
# Header Params
|
|
1049
2623
|
header_params = {}
|
|
1050
2624
|
header_params[:accept] = 'application/json'
|
|
1051
2625
|
header_params[:'content-type'] = 'application/json'
|
|
1052
|
-
header_params[:'
|
|
1053
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2626
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1054
2627
|
# rubocop:enable Style/NegatedIf
|
|
1055
2628
|
|
|
1056
2629
|
post_body = nil
|
|
1057
2630
|
|
|
1058
2631
|
# rubocop:disable Metrics/BlockLength
|
|
1059
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2632
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolvers') do
|
|
1060
2633
|
@api_client.call_api(
|
|
1061
2634
|
:GET,
|
|
1062
2635
|
path,
|
|
@@ -1065,7 +2638,7 @@ module OCI
|
|
|
1065
2638
|
query_params: query_params,
|
|
1066
2639
|
operation_signing_strategy: operation_signing_strategy,
|
|
1067
2640
|
body: post_body,
|
|
1068
|
-
return_type: 'OCI::Dns::Models::
|
|
2641
|
+
return_type: 'Array<OCI::Dns::Models::ResolverSummary>'
|
|
1069
2642
|
)
|
|
1070
2643
|
end
|
|
1071
2644
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1079,51 +2652,98 @@ module OCI
|
|
|
1079
2652
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1080
2653
|
|
|
1081
2654
|
|
|
1082
|
-
# Gets
|
|
1083
|
-
# zone type, and serial.
|
|
2655
|
+
# Gets a list of all steering policies in the specified compartment.
|
|
1084
2656
|
#
|
|
1085
|
-
# @param [String]
|
|
2657
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1086
2658
|
# @param [Hash] opts the optional parameters
|
|
1087
2659
|
# @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
2660
|
# 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
|
-
# entity-tag that does not match any of those listed in the field-value.
|
|
2661
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2662
|
+
# to contact Oracle about a particular request, please provide
|
|
2663
|
+
# the request ID.
|
|
1093
2664
|
#
|
|
1094
|
-
# @option opts [
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
# selected representation's data is avoided if that data has not changed.
|
|
2665
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2666
|
+
# (default to 50)
|
|
2667
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1098
2668
|
#
|
|
1099
|
-
# @option opts [String] :
|
|
1100
|
-
# @
|
|
1101
|
-
|
|
1102
|
-
|
|
2669
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2670
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2671
|
+
# @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
|
|
2672
|
+
# (case-insensitive) contains the provided value.
|
|
2673
|
+
#
|
|
2674
|
+
# @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
|
|
2675
|
+
# Will match any resource whose health check monitor ID matches the provided value.
|
|
2676
|
+
#
|
|
2677
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2678
|
+
# all returned resources were created on or after the indicated time.
|
|
2679
|
+
#
|
|
2680
|
+
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2681
|
+
# all returned resources were created before the indicated time.
|
|
2682
|
+
#
|
|
2683
|
+
# @option opts [String] :template Search by steering template type.
|
|
2684
|
+
# Will match any resource whose template type matches the provided value.
|
|
2685
|
+
#
|
|
2686
|
+
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
2687
|
+
# @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2688
|
+
# Allowed values are: displayName, timeCreated, template
|
|
2689
|
+
# @option opts [String] :sort_order The order to sort the resources.
|
|
2690
|
+
# (default to DESC)
|
|
2691
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
2692
|
+
#
|
|
2693
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
|
|
2694
|
+
def list_steering_policies(compartment_id, opts = {})
|
|
2695
|
+
logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
|
|
1103
2696
|
|
|
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)
|
|
2697
|
+
raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
|
|
1106
2698
|
|
|
1107
|
-
|
|
2699
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2700
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.'
|
|
2701
|
+
end
|
|
2702
|
+
|
|
2703
|
+
if opts[:sort_by] && !%w[displayName timeCreated template].include?(opts[:sort_by])
|
|
2704
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, template.'
|
|
2705
|
+
end
|
|
2706
|
+
|
|
2707
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
2708
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
2709
|
+
end
|
|
2710
|
+
|
|
2711
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2712
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2713
|
+
end
|
|
2714
|
+
|
|
2715
|
+
path = '/steeringPolicies'
|
|
1108
2716
|
operation_signing_strategy = :standard
|
|
1109
2717
|
|
|
1110
2718
|
# rubocop:disable Style/NegatedIf
|
|
1111
2719
|
# Query Params
|
|
1112
2720
|
query_params = {}
|
|
1113
|
-
query_params[:compartmentId] =
|
|
2721
|
+
query_params[:compartmentId] = compartment_id
|
|
2722
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2723
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2724
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2725
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2726
|
+
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
|
2727
|
+
query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
|
|
2728
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
2729
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
2730
|
+
query_params[:template] = opts[:template] if opts[:template]
|
|
2731
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
2732
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
2733
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2734
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1114
2735
|
|
|
1115
2736
|
# Header Params
|
|
1116
2737
|
header_params = {}
|
|
1117
2738
|
header_params[:accept] = 'application/json'
|
|
1118
2739
|
header_params[:'content-type'] = 'application/json'
|
|
1119
|
-
header_params[:'
|
|
1120
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2740
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1121
2741
|
# rubocop:enable Style/NegatedIf
|
|
1122
2742
|
|
|
1123
2743
|
post_body = nil
|
|
1124
2744
|
|
|
1125
2745
|
# rubocop:disable Metrics/BlockLength
|
|
1126
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2746
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
|
|
1127
2747
|
@api_client.call_api(
|
|
1128
2748
|
:GET,
|
|
1129
2749
|
path,
|
|
@@ -1132,7 +2752,7 @@ module OCI
|
|
|
1132
2752
|
query_params: query_params,
|
|
1133
2753
|
operation_signing_strategy: operation_signing_strategy,
|
|
1134
2754
|
body: post_body,
|
|
1135
|
-
return_type: 'OCI::Dns::Models::
|
|
2755
|
+
return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
|
|
1136
2756
|
)
|
|
1137
2757
|
end
|
|
1138
2758
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1146,29 +2766,27 @@ module OCI
|
|
|
1146
2766
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1147
2767
|
|
|
1148
2768
|
|
|
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).
|
|
2769
|
+
# Lists the steering policy attachments in the specified compartment.
|
|
1152
2770
|
#
|
|
1153
|
-
# @param [String]
|
|
2771
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1154
2772
|
# @param [Hash] opts the optional parameters
|
|
1155
2773
|
# @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
2774
|
# 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
|
-
# entity-tag that does not match any of those listed in the field-value.
|
|
1161
|
-
#
|
|
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.
|
|
2775
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2776
|
+
# to contact Oracle about a particular request, please provide
|
|
2777
|
+
# the request ID.
|
|
1166
2778
|
#
|
|
1167
2779
|
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1168
2780
|
# (default to 50)
|
|
1169
2781
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1170
2782
|
#
|
|
1171
|
-
# @option opts [String] :
|
|
2783
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2784
|
+
# @option opts [String] :display_name The displayName of a resource.
|
|
2785
|
+
# @option opts [String] :steering_policy_id Search by steering policy OCID.
|
|
2786
|
+
# Will match any resource whose steering policy ID matches the provided value.
|
|
2787
|
+
#
|
|
2788
|
+
# @option opts [String] :zone_id Search by zone OCID.
|
|
2789
|
+
# Will match any resource whose zone ID matches the provided value.
|
|
1172
2790
|
#
|
|
1173
2791
|
# @option opts [String] :domain Search by domain.
|
|
1174
2792
|
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
@@ -1176,57 +2794,74 @@ module OCI
|
|
|
1176
2794
|
# @option opts [String] :domain_contains Search by domain.
|
|
1177
2795
|
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
1178
2796
|
#
|
|
1179
|
-
# @option opts [
|
|
1180
|
-
#
|
|
2797
|
+
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2798
|
+
# all returned resources were created on or after the indicated time.
|
|
1181
2799
|
#
|
|
1182
|
-
# @option opts [
|
|
1183
|
-
#
|
|
2800
|
+
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
2801
|
+
# all returned resources were created before the indicated time.
|
|
2802
|
+
#
|
|
2803
|
+
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
2804
|
+
# @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2805
|
+
# Allowed values are: displayName, timeCreated, domainName
|
|
1184
2806
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
2807
|
+
# (default to DESC)
|
|
2808
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1185
2809
|
#
|
|
1186
|
-
# @
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
|
|
2810
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
|
|
2811
|
+
def list_steering_policy_attachments(compartment_id, opts = {})
|
|
2812
|
+
logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
|
|
1190
2813
|
|
|
1191
|
-
raise "Missing the required parameter '
|
|
2814
|
+
raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
|
|
1192
2815
|
|
|
1193
|
-
if opts[:
|
|
1194
|
-
raise 'Invalid value for "
|
|
2816
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2817
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.'
|
|
2818
|
+
end
|
|
2819
|
+
|
|
2820
|
+
if opts[:sort_by] && !%w[displayName timeCreated domainName].include?(opts[:sort_by])
|
|
2821
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, domainName.'
|
|
1195
2822
|
end
|
|
1196
2823
|
|
|
1197
2824
|
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1198
2825
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1199
2826
|
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
2827
|
|
|
1202
|
-
|
|
2828
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2829
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2830
|
+
end
|
|
2831
|
+
|
|
2832
|
+
path = '/steeringPolicyAttachments'
|
|
1203
2833
|
operation_signing_strategy = :standard
|
|
1204
2834
|
|
|
1205
2835
|
# rubocop:disable Style/NegatedIf
|
|
1206
2836
|
# Query Params
|
|
1207
2837
|
query_params = {}
|
|
2838
|
+
query_params[:compartmentId] = compartment_id
|
|
1208
2839
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1209
2840
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1210
|
-
query_params[:
|
|
2841
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
2842
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
2843
|
+
query_params[:steeringPolicyId] = opts[:steering_policy_id] if opts[:steering_policy_id]
|
|
2844
|
+
query_params[:zoneId] = opts[:zone_id] if opts[:zone_id]
|
|
1211
2845
|
query_params[:domain] = opts[:domain] if opts[:domain]
|
|
1212
2846
|
query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
|
|
1213
|
-
query_params[:
|
|
2847
|
+
query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
|
|
2848
|
+
query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
|
|
2849
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1214
2850
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1215
2851
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1216
|
-
query_params[:
|
|
2852
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1217
2853
|
|
|
1218
2854
|
# Header Params
|
|
1219
2855
|
header_params = {}
|
|
1220
2856
|
header_params[:accept] = 'application/json'
|
|
1221
2857
|
header_params[:'content-type'] = 'application/json'
|
|
1222
|
-
header_params[:'
|
|
1223
|
-
header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
|
|
2858
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1224
2859
|
# rubocop:enable Style/NegatedIf
|
|
1225
2860
|
|
|
1226
2861
|
post_body = nil
|
|
1227
2862
|
|
|
1228
2863
|
# rubocop:disable Metrics/BlockLength
|
|
1229
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2864
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
|
|
1230
2865
|
@api_client.call_api(
|
|
1231
2866
|
:GET,
|
|
1232
2867
|
path,
|
|
@@ -1235,7 +2870,7 @@ module OCI
|
|
|
1235
2870
|
query_params: query_params,
|
|
1236
2871
|
operation_signing_strategy: operation_signing_strategy,
|
|
1237
2872
|
body: post_body,
|
|
1238
|
-
return_type: 'OCI::Dns::Models::
|
|
2873
|
+
return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
|
|
1239
2874
|
)
|
|
1240
2875
|
end
|
|
1241
2876
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1246,60 +2881,55 @@ module OCI
|
|
|
1246
2881
|
|
|
1247
2882
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1248
2883
|
# 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 [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1259
|
-
# (default to 50)
|
|
1260
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1261
|
-
#
|
|
1262
|
-
# @option opts [String] :id The OCID of a resource.
|
|
1263
|
-
# @option opts [String] :display_name The displayName of a resource.
|
|
1264
|
-
# @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
|
|
1265
|
-
# (case-insensitive) contains the provided value.
|
|
1266
|
-
#
|
|
1267
|
-
# @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
|
|
1268
|
-
# Will match any resource whose health check monitor ID matches the provided value.
|
|
1269
|
-
#
|
|
1270
|
-
# @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1271
|
-
# all returned resources were created on or after the indicated time.
|
|
2884
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
# Gets a list of all TSIG keys in the specified compartment.
|
|
1272
2888
|
#
|
|
1273
|
-
# @
|
|
1274
|
-
#
|
|
2889
|
+
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
2890
|
+
# @param [Hash] opts the optional parameters
|
|
2891
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2892
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2893
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2894
|
+
# to contact Oracle about a particular request, please provide
|
|
2895
|
+
# the request ID.
|
|
1275
2896
|
#
|
|
1276
|
-
# @option opts [
|
|
1277
|
-
#
|
|
2897
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
2898
|
+
# (default to 50)
|
|
2899
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1278
2900
|
#
|
|
2901
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2902
|
+
# @option opts [String] :name The name of a resource.
|
|
1279
2903
|
# @option opts [String] :lifecycle_state The state of a resource.
|
|
1280
|
-
# @option opts [String] :sort_by The field by which to sort
|
|
1281
|
-
# Allowed values are:
|
|
2904
|
+
# @option opts [String] :sort_by The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. (default to timeCreated)
|
|
2905
|
+
# Allowed values are: name, timeCreated
|
|
1282
2906
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
2907
|
+
# (default to DESC)
|
|
2908
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1283
2909
|
#
|
|
1284
|
-
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::
|
|
1285
|
-
def
|
|
1286
|
-
logger.debug 'Calling operation DnsClient#
|
|
2910
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::TsigKeySummary TsigKeySummary}>
|
|
2911
|
+
def list_tsig_keys(compartment_id, opts = {})
|
|
2912
|
+
logger.debug 'Calling operation DnsClient#list_tsig_keys.' if logger
|
|
1287
2913
|
|
|
1288
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
|
2914
|
+
raise "Missing the required parameter 'compartment_id' when calling list_tsig_keys." if compartment_id.nil?
|
|
1289
2915
|
|
|
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::
|
|
2916
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
2917
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.'
|
|
1292
2918
|
end
|
|
1293
2919
|
|
|
1294
|
-
if opts[:sort_by] && !%w[
|
|
1295
|
-
raise 'Invalid value for "sort_by", must be one of
|
|
2920
|
+
if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
|
|
2921
|
+
raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
|
|
1296
2922
|
end
|
|
1297
2923
|
|
|
1298
2924
|
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1299
2925
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1300
2926
|
end
|
|
1301
2927
|
|
|
1302
|
-
|
|
2928
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
2929
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
2930
|
+
end
|
|
2931
|
+
|
|
2932
|
+
path = '/tsigKeys'
|
|
1303
2933
|
operation_signing_strategy = :standard
|
|
1304
2934
|
|
|
1305
2935
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1309,26 +2939,23 @@ module OCI
|
|
|
1309
2939
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1310
2940
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1311
2941
|
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]
|
|
2942
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
1318
2943
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1319
2944
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1320
2945
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
2946
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1321
2947
|
|
|
1322
2948
|
# Header Params
|
|
1323
2949
|
header_params = {}
|
|
1324
2950
|
header_params[:accept] = 'application/json'
|
|
1325
2951
|
header_params[:'content-type'] = 'application/json'
|
|
2952
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1326
2953
|
# rubocop:enable Style/NegatedIf
|
|
1327
2954
|
|
|
1328
2955
|
post_body = nil
|
|
1329
2956
|
|
|
1330
2957
|
# rubocop:disable Metrics/BlockLength
|
|
1331
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
2958
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_tsig_keys') do
|
|
1332
2959
|
@api_client.call_api(
|
|
1333
2960
|
:GET,
|
|
1334
2961
|
path,
|
|
@@ -1337,7 +2964,7 @@ module OCI
|
|
|
1337
2964
|
query_params: query_params,
|
|
1338
2965
|
operation_signing_strategy: operation_signing_strategy,
|
|
1339
2966
|
body: post_body,
|
|
1340
|
-
return_type: 'Array<OCI::Dns::Models::
|
|
2967
|
+
return_type: 'Array<OCI::Dns::Models::TsigKeySummary>'
|
|
1341
2968
|
)
|
|
1342
2969
|
end
|
|
1343
2970
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1351,90 +2978,83 @@ module OCI
|
|
|
1351
2978
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1352
2979
|
|
|
1353
2980
|
|
|
1354
|
-
#
|
|
2981
|
+
# Gets a list of all views within a compartment. The collection can
|
|
2982
|
+
# be filtered by display name, id, or lifecycle state. It can be sorted
|
|
2983
|
+
# on creation time or displayName both in ASC or DESC order. Note that
|
|
2984
|
+
# when no lifecycleState query parameter is provided that the collection
|
|
2985
|
+
# does not include views in the DELETED lifecycleState to be consistent
|
|
2986
|
+
# with other operations of the API.
|
|
1355
2987
|
#
|
|
1356
2988
|
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1357
2989
|
# @param [Hash] opts the optional parameters
|
|
1358
2990
|
# @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
2991
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1360
|
-
# @option opts [
|
|
1361
|
-
#
|
|
1362
|
-
#
|
|
2992
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
2993
|
+
# to contact Oracle about a particular request, please provide
|
|
2994
|
+
# the request ID.
|
|
1363
2995
|
#
|
|
1364
|
-
# @option opts [String] :id The OCID of a resource.
|
|
1365
2996
|
# @option opts [String] :display_name The displayName of a resource.
|
|
1366
|
-
# @option opts [String] :
|
|
1367
|
-
#
|
|
1368
|
-
#
|
|
1369
|
-
# @option opts [String] :zone_id Search by zone OCID.
|
|
1370
|
-
# Will match any resource whose zone ID matches the provided value.
|
|
1371
|
-
#
|
|
1372
|
-
# @option opts [String] :domain Search by domain.
|
|
1373
|
-
# Will match any record whose domain (case-insensitive) equals the provided value.
|
|
1374
|
-
#
|
|
1375
|
-
# @option opts [String] :domain_contains Search by domain.
|
|
1376
|
-
# Will match any record whose domain (case-insensitive) contains the provided value.
|
|
1377
|
-
#
|
|
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
|
-
#
|
|
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.
|
|
2997
|
+
# @option opts [String] :id The OCID of a resource.
|
|
2998
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1383
2999
|
#
|
|
1384
|
-
# @option opts [
|
|
1385
|
-
#
|
|
1386
|
-
# Allowed values are: displayName, timeCreated, domainName
|
|
3000
|
+
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
3001
|
+
# (default to 50)
|
|
1387
3002
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
3003
|
+
# (default to DESC)
|
|
3004
|
+
# @option opts [String] :sort_by The field by which to sort views. (default to timeCreated)
|
|
3005
|
+
# Allowed values are: displayName, timeCreated
|
|
3006
|
+
# @option opts [String] :lifecycle_state The state of a resource.
|
|
3007
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1388
3008
|
#
|
|
1389
|
-
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::
|
|
1390
|
-
def
|
|
1391
|
-
logger.debug 'Calling operation DnsClient#
|
|
3009
|
+
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ViewSummary ViewSummary}>
|
|
3010
|
+
def list_views(compartment_id, opts = {})
|
|
3011
|
+
logger.debug 'Calling operation DnsClient#list_views.' if logger
|
|
1392
3012
|
|
|
1393
|
-
raise "Missing the required parameter 'compartment_id' when calling
|
|
3013
|
+
raise "Missing the required parameter 'compartment_id' when calling list_views." if compartment_id.nil?
|
|
1394
3014
|
|
|
1395
|
-
if opts[:
|
|
1396
|
-
raise 'Invalid value for "
|
|
3015
|
+
if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
3016
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1397
3017
|
end
|
|
1398
3018
|
|
|
1399
|
-
if opts[:sort_by] && !%w[displayName timeCreated
|
|
1400
|
-
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated
|
|
3019
|
+
if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
|
|
3020
|
+
raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
|
|
1401
3021
|
end
|
|
1402
3022
|
|
|
1403
|
-
if opts[:
|
|
1404
|
-
raise 'Invalid value for "
|
|
3023
|
+
if opts[:lifecycle_state] && !OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
3024
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.'
|
|
1405
3025
|
end
|
|
1406
3026
|
|
|
1407
|
-
|
|
3027
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3028
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3029
|
+
end
|
|
3030
|
+
|
|
3031
|
+
path = '/views'
|
|
1408
3032
|
operation_signing_strategy = :standard
|
|
1409
3033
|
|
|
1410
3034
|
# rubocop:disable Style/NegatedIf
|
|
1411
3035
|
# Query Params
|
|
1412
3036
|
query_params = {}
|
|
1413
3037
|
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
3038
|
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]
|
|
3039
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
3040
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
3041
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1426
3042
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
3043
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
3044
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
3045
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1427
3046
|
|
|
1428
3047
|
# Header Params
|
|
1429
3048
|
header_params = {}
|
|
1430
3049
|
header_params[:accept] = 'application/json'
|
|
1431
3050
|
header_params[:'content-type'] = 'application/json'
|
|
3051
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1432
3052
|
# rubocop:enable Style/NegatedIf
|
|
1433
3053
|
|
|
1434
3054
|
post_body = nil
|
|
1435
3055
|
|
|
1436
3056
|
# rubocop:disable Metrics/BlockLength
|
|
1437
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3057
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_views') do
|
|
1438
3058
|
@api_client.call_api(
|
|
1439
3059
|
:GET,
|
|
1440
3060
|
path,
|
|
@@ -1443,7 +3063,7 @@ module OCI
|
|
|
1443
3063
|
query_params: query_params,
|
|
1444
3064
|
operation_signing_strategy: operation_signing_strategy,
|
|
1445
3065
|
body: post_body,
|
|
1446
|
-
return_type: 'Array<OCI::Dns::Models::
|
|
3066
|
+
return_type: 'Array<OCI::Dns::Models::ViewSummary>'
|
|
1447
3067
|
)
|
|
1448
3068
|
end
|
|
1449
3069
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1458,12 +3078,16 @@ module OCI
|
|
|
1458
3078
|
|
|
1459
3079
|
|
|
1460
3080
|
# Gets a list of all zones in the specified compartment. The collection
|
|
1461
|
-
# can be filtered by name, time created, and zone type.
|
|
3081
|
+
# can be filtered by name, time created, scope, associated view, and zone type.
|
|
1462
3082
|
#
|
|
1463
3083
|
# @param [String] compartment_id The OCID of the compartment the resource belongs to.
|
|
1464
3084
|
# @param [Hash] opts the optional parameters
|
|
1465
3085
|
# @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
3086
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3087
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3088
|
+
# to contact Oracle about a particular request, please provide
|
|
3089
|
+
# the request ID.
|
|
3090
|
+
#
|
|
1467
3091
|
# @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
|
|
1468
3092
|
# (default to 50)
|
|
1469
3093
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
@@ -1484,12 +3108,15 @@ module OCI
|
|
|
1484
3108
|
# @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
|
|
1485
3109
|
# all returned resources were created before the indicated time.
|
|
1486
3110
|
#
|
|
1487
|
-
# @option opts [String] :lifecycle_state The state of a resource.
|
|
3111
|
+
# @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
|
|
1488
3112
|
# Allowed values are: ACTIVE, CREATING, DELETED, DELETING, FAILED
|
|
1489
3113
|
# @option opts [String] :sort_by The field by which to sort zones. (default to timeCreated)
|
|
1490
3114
|
# Allowed values are: name, zoneType, timeCreated
|
|
1491
3115
|
# @option opts [String] :sort_order The order to sort the resources.
|
|
3116
|
+
# (default to DESC)
|
|
3117
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
1492
3118
|
#
|
|
3119
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1493
3120
|
# @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ZoneSummary ZoneSummary}>
|
|
1494
3121
|
def list_zones(compartment_id, opts = {})
|
|
1495
3122
|
logger.debug 'Calling operation DnsClient#list_zones.' if logger
|
|
@@ -1512,6 +3139,10 @@ module OCI
|
|
|
1512
3139
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
|
|
1513
3140
|
end
|
|
1514
3141
|
|
|
3142
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3143
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3144
|
+
end
|
|
3145
|
+
|
|
1515
3146
|
path = '/zones'
|
|
1516
3147
|
operation_signing_strategy = :standard
|
|
1517
3148
|
|
|
@@ -1529,11 +3160,14 @@ module OCI
|
|
|
1529
3160
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1530
3161
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1531
3162
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
3163
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3164
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1532
3165
|
|
|
1533
3166
|
# Header Params
|
|
1534
3167
|
header_params = {}
|
|
1535
3168
|
header_params[:accept] = 'application/json'
|
|
1536
3169
|
header_params[:'content-type'] = 'application/json'
|
|
3170
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1537
3171
|
# rubocop:enable Style/NegatedIf
|
|
1538
3172
|
|
|
1539
3173
|
post_body = nil
|
|
@@ -1568,8 +3202,187 @@ module OCI
|
|
|
1568
3202
|
# function.
|
|
1569
3203
|
#
|
|
1570
3204
|
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1571
|
-
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
1572
|
-
# @param [OCI::Dns::Models::PatchDomainRecordsDetails] patch_domain_records_details Operations describing how to modify the collection of records.
|
|
3205
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
3206
|
+
# @param [OCI::Dns::Models::PatchDomainRecordsDetails] patch_domain_records_details Operations describing how to modify the collection of records.
|
|
3207
|
+
# @param [Hash] opts the optional parameters
|
|
3208
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3209
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3210
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
3211
|
+
# existence of at least one current representation of the target resource,
|
|
3212
|
+
# when the field-value is `*`, or having a current representation of the
|
|
3213
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
3214
|
+
# entity-tags provided in the field-value.
|
|
3215
|
+
#
|
|
3216
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
3217
|
+
# conditional on the selected representation's last modification date being
|
|
3218
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
3219
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
3220
|
+
# agent does not have an entity-tag for the representation.
|
|
3221
|
+
#
|
|
3222
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3223
|
+
# to contact Oracle about a particular request, please provide
|
|
3224
|
+
# the request ID.
|
|
3225
|
+
#
|
|
3226
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3227
|
+
#
|
|
3228
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3229
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
3230
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3231
|
+
def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
|
|
3232
|
+
logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
|
|
3233
|
+
|
|
3234
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
|
|
3235
|
+
raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
|
|
3236
|
+
raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
|
|
3237
|
+
|
|
3238
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3239
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3240
|
+
end
|
|
3241
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
3242
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
3243
|
+
|
|
3244
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
3245
|
+
operation_signing_strategy = :standard
|
|
3246
|
+
|
|
3247
|
+
# rubocop:disable Style/NegatedIf
|
|
3248
|
+
# Query Params
|
|
3249
|
+
query_params = {}
|
|
3250
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3251
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
3252
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
3253
|
+
|
|
3254
|
+
# Header Params
|
|
3255
|
+
header_params = {}
|
|
3256
|
+
header_params[:accept] = 'application/json'
|
|
3257
|
+
header_params[:'content-type'] = 'application/json'
|
|
3258
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3259
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3260
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
3261
|
+
# rubocop:enable Style/NegatedIf
|
|
3262
|
+
|
|
3263
|
+
post_body = @api_client.object_to_http_body(patch_domain_records_details)
|
|
3264
|
+
|
|
3265
|
+
# rubocop:disable Metrics/BlockLength
|
|
3266
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
|
|
3267
|
+
@api_client.call_api(
|
|
3268
|
+
:PATCH,
|
|
3269
|
+
path,
|
|
3270
|
+
endpoint,
|
|
3271
|
+
header_params: header_params,
|
|
3272
|
+
query_params: query_params,
|
|
3273
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3274
|
+
body: post_body,
|
|
3275
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
3276
|
+
)
|
|
3277
|
+
end
|
|
3278
|
+
# rubocop:enable Metrics/BlockLength
|
|
3279
|
+
end
|
|
3280
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3281
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3282
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3283
|
+
|
|
3284
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3285
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3286
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
# Updates records in the specified RRSet.
|
|
3290
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
3291
|
+
# @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
|
|
3292
|
+
# @param [String] rtype The type of the target RRSet within the target zone.
|
|
3293
|
+
# @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
|
|
3294
|
+
# @param [Hash] opts the optional parameters
|
|
3295
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3296
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3297
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
3298
|
+
# existence of at least one current representation of the target resource,
|
|
3299
|
+
# when the field-value is `*`, or having a current representation of the
|
|
3300
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
3301
|
+
# entity-tags provided in the field-value.
|
|
3302
|
+
#
|
|
3303
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
3304
|
+
# conditional on the selected representation's last modification date being
|
|
3305
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
3306
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
3307
|
+
# agent does not have an entity-tag for the representation.
|
|
3308
|
+
#
|
|
3309
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3310
|
+
# to contact Oracle about a particular request, please provide
|
|
3311
|
+
# the request ID.
|
|
3312
|
+
#
|
|
3313
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3314
|
+
#
|
|
3315
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
3316
|
+
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
3317
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
3318
|
+
def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
|
|
3319
|
+
logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
|
|
3320
|
+
|
|
3321
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_rr_set." if zone_name_or_id.nil?
|
|
3322
|
+
raise "Missing the required parameter 'domain' when calling patch_rr_set." if domain.nil?
|
|
3323
|
+
raise "Missing the required parameter 'rtype' when calling patch_rr_set." if rtype.nil?
|
|
3324
|
+
raise "Missing the required parameter 'patch_rr_set_details' when calling patch_rr_set." if patch_rr_set_details.nil?
|
|
3325
|
+
|
|
3326
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3327
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3328
|
+
end
|
|
3329
|
+
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
3330
|
+
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
3331
|
+
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
3332
|
+
|
|
3333
|
+
path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
|
|
3334
|
+
operation_signing_strategy = :standard
|
|
3335
|
+
|
|
3336
|
+
# rubocop:disable Style/NegatedIf
|
|
3337
|
+
# Query Params
|
|
3338
|
+
query_params = {}
|
|
3339
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3340
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
3341
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
3342
|
+
|
|
3343
|
+
# Header Params
|
|
3344
|
+
header_params = {}
|
|
3345
|
+
header_params[:accept] = 'application/json'
|
|
3346
|
+
header_params[:'content-type'] = 'application/json'
|
|
3347
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3348
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3349
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
3350
|
+
# rubocop:enable Style/NegatedIf
|
|
3351
|
+
|
|
3352
|
+
post_body = @api_client.object_to_http_body(patch_rr_set_details)
|
|
3353
|
+
|
|
3354
|
+
# rubocop:disable Metrics/BlockLength
|
|
3355
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
|
|
3356
|
+
@api_client.call_api(
|
|
3357
|
+
:PATCH,
|
|
3358
|
+
path,
|
|
3359
|
+
endpoint,
|
|
3360
|
+
header_params: header_params,
|
|
3361
|
+
query_params: query_params,
|
|
3362
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3363
|
+
body: post_body,
|
|
3364
|
+
return_type: 'OCI::Dns::Models::RecordCollection'
|
|
3365
|
+
)
|
|
3366
|
+
end
|
|
3367
|
+
# rubocop:enable Metrics/BlockLength
|
|
3368
|
+
end
|
|
3369
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3370
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3371
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3372
|
+
|
|
3373
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3374
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3375
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
# Updates a collection of records in the specified zone. You can update
|
|
3379
|
+
# one record or all records for the specified zone depending on the
|
|
3380
|
+
# changes provided in the request body. You can also add or remove records
|
|
3381
|
+
# using this function.
|
|
3382
|
+
#
|
|
3383
|
+
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
3384
|
+
# @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
|
|
3385
|
+
#
|
|
1573
3386
|
# @param [Hash] opts the optional parameters
|
|
1574
3387
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1575
3388
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1585,23 +3398,34 @@ module OCI
|
|
|
1585
3398
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1586
3399
|
# agent does not have an entity-tag for the representation.
|
|
1587
3400
|
#
|
|
3401
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3402
|
+
# to contact Oracle about a particular request, please provide
|
|
3403
|
+
# the request ID.
|
|
3404
|
+
#
|
|
3405
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3406
|
+
#
|
|
3407
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1588
3408
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1589
3409
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1590
|
-
def
|
|
1591
|
-
logger.debug 'Calling operation DnsClient#
|
|
3410
|
+
def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
|
|
3411
|
+
logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
|
|
1592
3412
|
|
|
1593
|
-
raise "Missing the required parameter 'zone_name_or_id' when calling
|
|
1594
|
-
raise "Missing the required parameter '
|
|
1595
|
-
|
|
3413
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling patch_zone_records." if zone_name_or_id.nil?
|
|
3414
|
+
raise "Missing the required parameter 'patch_zone_records_details' when calling patch_zone_records." if patch_zone_records_details.nil?
|
|
3415
|
+
|
|
3416
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3417
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3418
|
+
end
|
|
1596
3419
|
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
3420
|
|
|
1599
|
-
path = '/zones/{zoneNameOrId}/records
|
|
3421
|
+
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
1600
3422
|
operation_signing_strategy = :standard
|
|
1601
3423
|
|
|
1602
3424
|
# rubocop:disable Style/NegatedIf
|
|
1603
3425
|
# Query Params
|
|
1604
3426
|
query_params = {}
|
|
3427
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3428
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1605
3429
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1606
3430
|
|
|
1607
3431
|
# Header Params
|
|
@@ -1610,12 +3434,13 @@ module OCI
|
|
|
1610
3434
|
header_params[:'content-type'] = 'application/json'
|
|
1611
3435
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1612
3436
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3437
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1613
3438
|
# rubocop:enable Style/NegatedIf
|
|
1614
3439
|
|
|
1615
|
-
post_body = @api_client.object_to_http_body(
|
|
3440
|
+
post_body = @api_client.object_to_http_body(patch_zone_records_details)
|
|
1616
3441
|
|
|
1617
3442
|
# rubocop:disable Metrics/BlockLength
|
|
1618
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3443
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
|
|
1619
3444
|
@api_client.call_api(
|
|
1620
3445
|
:PATCH,
|
|
1621
3446
|
path,
|
|
@@ -1638,11 +3463,16 @@ module OCI
|
|
|
1638
3463
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1639
3464
|
|
|
1640
3465
|
|
|
1641
|
-
#
|
|
3466
|
+
# Replaces records in the specified zone at a domain with the records
|
|
3467
|
+
# specified in the request body. If a specified record does not exist,
|
|
3468
|
+
# it will be created. If the record exists, then it will be updated to
|
|
3469
|
+
# represent the record in the body of the request. If a record in the zone
|
|
3470
|
+
# does not exist in the request body, the record will be removed from the
|
|
3471
|
+
# zone.
|
|
3472
|
+
#
|
|
1642
3473
|
# @param [String] zone_name_or_id The name or OCID of the target zone.
|
|
1643
3474
|
# @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.
|
|
3475
|
+
# @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
|
|
1646
3476
|
# @param [Hash] opts the optional parameters
|
|
1647
3477
|
# @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
3478
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1658,25 +3488,36 @@ module OCI
|
|
|
1658
3488
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1659
3489
|
# agent does not have an entity-tag for the representation.
|
|
1660
3490
|
#
|
|
3491
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3492
|
+
# to contact Oracle about a particular request, please provide
|
|
3493
|
+
# the request ID.
|
|
3494
|
+
#
|
|
3495
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3496
|
+
#
|
|
3497
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1661
3498
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1662
3499
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1663
|
-
def
|
|
1664
|
-
logger.debug 'Calling operation DnsClient#
|
|
3500
|
+
def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
|
|
3501
|
+
logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
|
|
1665
3502
|
|
|
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
|
-
|
|
3503
|
+
raise "Missing the required parameter 'zone_name_or_id' when calling update_domain_records." if zone_name_or_id.nil?
|
|
3504
|
+
raise "Missing the required parameter 'domain' when calling update_domain_records." if domain.nil?
|
|
3505
|
+
raise "Missing the required parameter 'update_domain_records_details' when calling update_domain_records." if update_domain_records_details.nil?
|
|
3506
|
+
|
|
3507
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3508
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3509
|
+
end
|
|
1670
3510
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1671
3511
|
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
3512
|
|
|
1674
|
-
path = '/zones/{zoneNameOrId}/records/{domain}
|
|
3513
|
+
path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
|
|
1675
3514
|
operation_signing_strategy = :standard
|
|
1676
3515
|
|
|
1677
3516
|
# rubocop:disable Style/NegatedIf
|
|
1678
3517
|
# Query Params
|
|
1679
3518
|
query_params = {}
|
|
3519
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3520
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1680
3521
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1681
3522
|
|
|
1682
3523
|
# Header Params
|
|
@@ -1685,14 +3526,15 @@ module OCI
|
|
|
1685
3526
|
header_params[:'content-type'] = 'application/json'
|
|
1686
3527
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1687
3528
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3529
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1688
3530
|
# rubocop:enable Style/NegatedIf
|
|
1689
3531
|
|
|
1690
|
-
post_body = @api_client.object_to_http_body(
|
|
3532
|
+
post_body = @api_client.object_to_http_body(update_domain_records_details)
|
|
1691
3533
|
|
|
1692
3534
|
# rubocop:disable Metrics/BlockLength
|
|
1693
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3535
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
|
|
1694
3536
|
@api_client.call_api(
|
|
1695
|
-
:
|
|
3537
|
+
:PUT,
|
|
1696
3538
|
path,
|
|
1697
3539
|
endpoint,
|
|
1698
3540
|
header_params: header_params,
|
|
@@ -1713,14 +3555,10 @@ module OCI
|
|
|
1713
3555
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1714
3556
|
|
|
1715
3557
|
|
|
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.
|
|
3558
|
+
# Updates the specified resolver with your new information.
|
|
1723
3559
|
#
|
|
3560
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
3561
|
+
# @param [OCI::Dns::Models::UpdateResolverDetails] update_resolver_details New data for the resolver.
|
|
1724
3562
|
# @param [Hash] opts the optional parameters
|
|
1725
3563
|
# @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
3564
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1736,22 +3574,31 @@ module OCI
|
|
|
1736
3574
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1737
3575
|
# agent does not have an entity-tag for the representation.
|
|
1738
3576
|
#
|
|
1739
|
-
# @option opts [String] :
|
|
1740
|
-
#
|
|
1741
|
-
|
|
1742
|
-
|
|
3577
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3578
|
+
# to contact Oracle about a particular request, please provide
|
|
3579
|
+
# the request ID.
|
|
3580
|
+
#
|
|
3581
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3582
|
+
#
|
|
3583
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
|
|
3584
|
+
def update_resolver(resolver_id, update_resolver_details, opts = {})
|
|
3585
|
+
logger.debug 'Calling operation DnsClient#update_resolver.' if logger
|
|
1743
3586
|
|
|
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)
|
|
3587
|
+
raise "Missing the required parameter 'resolver_id' when calling update_resolver." if resolver_id.nil?
|
|
3588
|
+
raise "Missing the required parameter 'update_resolver_details' when calling update_resolver." if update_resolver_details.nil?
|
|
1747
3589
|
|
|
1748
|
-
|
|
3590
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3591
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3592
|
+
end
|
|
3593
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
3594
|
+
|
|
3595
|
+
path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
|
|
1749
3596
|
operation_signing_strategy = :standard
|
|
1750
3597
|
|
|
1751
3598
|
# rubocop:disable Style/NegatedIf
|
|
1752
3599
|
# Query Params
|
|
1753
3600
|
query_params = {}
|
|
1754
|
-
query_params[:
|
|
3601
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1755
3602
|
|
|
1756
3603
|
# Header Params
|
|
1757
3604
|
header_params = {}
|
|
@@ -1759,21 +3606,22 @@ module OCI
|
|
|
1759
3606
|
header_params[:'content-type'] = 'application/json'
|
|
1760
3607
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1761
3608
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3609
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1762
3610
|
# rubocop:enable Style/NegatedIf
|
|
1763
3611
|
|
|
1764
|
-
post_body = @api_client.object_to_http_body(
|
|
3612
|
+
post_body = @api_client.object_to_http_body(update_resolver_details)
|
|
1765
3613
|
|
|
1766
3614
|
# rubocop:disable Metrics/BlockLength
|
|
1767
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3615
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver') do
|
|
1768
3616
|
@api_client.call_api(
|
|
1769
|
-
:
|
|
3617
|
+
:PUT,
|
|
1770
3618
|
path,
|
|
1771
3619
|
endpoint,
|
|
1772
3620
|
header_params: header_params,
|
|
1773
3621
|
query_params: query_params,
|
|
1774
3622
|
operation_signing_strategy: operation_signing_strategy,
|
|
1775
3623
|
body: post_body,
|
|
1776
|
-
return_type: 'OCI::Dns::Models::
|
|
3624
|
+
return_type: 'OCI::Dns::Models::Resolver'
|
|
1777
3625
|
)
|
|
1778
3626
|
end
|
|
1779
3627
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1787,16 +3635,11 @@ module OCI
|
|
|
1787
3635
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1788
3636
|
|
|
1789
3637
|
|
|
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.
|
|
3638
|
+
# Updates the specified resolver endpoint with your new information.
|
|
1796
3639
|
#
|
|
1797
|
-
# @param [String]
|
|
1798
|
-
# @param [String]
|
|
1799
|
-
# @param [OCI::Dns::Models::
|
|
3640
|
+
# @param [String] resolver_id The OCID of the target resolver.
|
|
3641
|
+
# @param [String] resolver_endpoint_name The name of the target resolver endpoint.
|
|
3642
|
+
# @param [OCI::Dns::Models::UpdateResolverEndpointDetails] update_resolver_endpoint_details New data for the resolver endpoint.
|
|
1800
3643
|
# @param [Hash] opts the optional parameters
|
|
1801
3644
|
# @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
3645
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1812,24 +3655,33 @@ module OCI
|
|
|
1812
3655
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1813
3656
|
# agent does not have an entity-tag for the representation.
|
|
1814
3657
|
#
|
|
1815
|
-
# @option opts [String] :
|
|
1816
|
-
#
|
|
1817
|
-
|
|
1818
|
-
|
|
3658
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3659
|
+
# to contact Oracle about a particular request, please provide
|
|
3660
|
+
# the request ID.
|
|
3661
|
+
#
|
|
3662
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3663
|
+
#
|
|
3664
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
|
|
3665
|
+
def update_resolver_endpoint(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, opts = {})
|
|
3666
|
+
logger.debug 'Calling operation DnsClient#update_resolver_endpoint.' if logger
|
|
1819
3667
|
|
|
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)
|
|
3668
|
+
raise "Missing the required parameter 'resolver_id' when calling update_resolver_endpoint." if resolver_id.nil?
|
|
3669
|
+
raise "Missing the required parameter 'resolver_endpoint_name' when calling update_resolver_endpoint." if resolver_endpoint_name.nil?
|
|
3670
|
+
raise "Missing the required parameter 'update_resolver_endpoint_details' when calling update_resolver_endpoint." if update_resolver_endpoint_details.nil?
|
|
1825
3671
|
|
|
1826
|
-
|
|
3672
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3673
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3674
|
+
end
|
|
3675
|
+
raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
|
|
3676
|
+
raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
|
|
3677
|
+
|
|
3678
|
+
path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
|
|
1827
3679
|
operation_signing_strategy = :standard
|
|
1828
3680
|
|
|
1829
3681
|
# rubocop:disable Style/NegatedIf
|
|
1830
3682
|
# Query Params
|
|
1831
3683
|
query_params = {}
|
|
1832
|
-
query_params[:
|
|
3684
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1833
3685
|
|
|
1834
3686
|
# Header Params
|
|
1835
3687
|
header_params = {}
|
|
@@ -1837,12 +3689,13 @@ module OCI
|
|
|
1837
3689
|
header_params[:'content-type'] = 'application/json'
|
|
1838
3690
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1839
3691
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3692
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1840
3693
|
# rubocop:enable Style/NegatedIf
|
|
1841
3694
|
|
|
1842
|
-
post_body = @api_client.object_to_http_body(
|
|
3695
|
+
post_body = @api_client.object_to_http_body(update_resolver_endpoint_details)
|
|
1843
3696
|
|
|
1844
3697
|
# rubocop:disable Metrics/BlockLength
|
|
1845
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#
|
|
3698
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver_endpoint') do
|
|
1846
3699
|
@api_client.call_api(
|
|
1847
3700
|
:PUT,
|
|
1848
3701
|
path,
|
|
@@ -1851,7 +3704,7 @@ module OCI
|
|
|
1851
3704
|
query_params: query_params,
|
|
1852
3705
|
operation_signing_strategy: operation_signing_strategy,
|
|
1853
3706
|
body: post_body,
|
|
1854
|
-
return_type: 'OCI::Dns::Models::
|
|
3707
|
+
return_type: 'OCI::Dns::Models::ResolverEndpoint'
|
|
1855
3708
|
)
|
|
1856
3709
|
end
|
|
1857
3710
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1885,6 +3738,13 @@ module OCI
|
|
|
1885
3738
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1886
3739
|
# agent does not have an entity-tag for the representation.
|
|
1887
3740
|
#
|
|
3741
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3742
|
+
# to contact Oracle about a particular request, please provide
|
|
3743
|
+
# the request ID.
|
|
3744
|
+
#
|
|
3745
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3746
|
+
#
|
|
3747
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
1888
3748
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
1889
3749
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
1890
3750
|
def update_rr_set(zone_name_or_id, domain, rtype, update_rr_set_details, opts = {})
|
|
@@ -1894,6 +3754,10 @@ module OCI
|
|
|
1894
3754
|
raise "Missing the required parameter 'domain' when calling update_rr_set." if domain.nil?
|
|
1895
3755
|
raise "Missing the required parameter 'rtype' when calling update_rr_set." if rtype.nil?
|
|
1896
3756
|
raise "Missing the required parameter 'update_rr_set_details' when calling update_rr_set." if update_rr_set_details.nil?
|
|
3757
|
+
|
|
3758
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3759
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3760
|
+
end
|
|
1897
3761
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
1898
3762
|
raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
|
|
1899
3763
|
raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
|
|
@@ -1904,6 +3768,8 @@ module OCI
|
|
|
1904
3768
|
# rubocop:disable Style/NegatedIf
|
|
1905
3769
|
# Query Params
|
|
1906
3770
|
query_params = {}
|
|
3771
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
3772
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
1907
3773
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1908
3774
|
|
|
1909
3775
|
# Header Params
|
|
@@ -1912,6 +3778,7 @@ module OCI
|
|
|
1912
3778
|
header_params[:'content-type'] = 'application/json'
|
|
1913
3779
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1914
3780
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3781
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1915
3782
|
# rubocop:enable Style/NegatedIf
|
|
1916
3783
|
|
|
1917
3784
|
post_body = @api_client.object_to_http_body(update_rr_set_details)
|
|
@@ -1959,12 +3826,22 @@ module OCI
|
|
|
1959
3826
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
1960
3827
|
# agent does not have an entity-tag for the representation.
|
|
1961
3828
|
#
|
|
3829
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3830
|
+
# to contact Oracle about a particular request, please provide
|
|
3831
|
+
# the request ID.
|
|
3832
|
+
#
|
|
3833
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3834
|
+
#
|
|
1962
3835
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
|
|
1963
3836
|
def update_steering_policy(steering_policy_id, update_steering_policy_details, opts = {})
|
|
1964
3837
|
logger.debug 'Calling operation DnsClient#update_steering_policy.' if logger
|
|
1965
3838
|
|
|
1966
3839
|
raise "Missing the required parameter 'steering_policy_id' when calling update_steering_policy." if steering_policy_id.nil?
|
|
1967
3840
|
raise "Missing the required parameter 'update_steering_policy_details' when calling update_steering_policy." if update_steering_policy_details.nil?
|
|
3841
|
+
|
|
3842
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3843
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3844
|
+
end
|
|
1968
3845
|
raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
|
|
1969
3846
|
|
|
1970
3847
|
path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
|
|
@@ -1973,6 +3850,7 @@ module OCI
|
|
|
1973
3850
|
# rubocop:disable Style/NegatedIf
|
|
1974
3851
|
# Query Params
|
|
1975
3852
|
query_params = {}
|
|
3853
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
1976
3854
|
|
|
1977
3855
|
# Header Params
|
|
1978
3856
|
header_params = {}
|
|
@@ -1980,6 +3858,7 @@ module OCI
|
|
|
1980
3858
|
header_params[:'content-type'] = 'application/json'
|
|
1981
3859
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1982
3860
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3861
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1983
3862
|
# rubocop:enable Style/NegatedIf
|
|
1984
3863
|
|
|
1985
3864
|
post_body = @api_client.object_to_http_body(update_steering_policy_details)
|
|
@@ -2027,12 +3906,22 @@ module OCI
|
|
|
2027
3906
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2028
3907
|
# agent does not have an entity-tag for the representation.
|
|
2029
3908
|
#
|
|
3909
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3910
|
+
# to contact Oracle about a particular request, please provide
|
|
3911
|
+
# the request ID.
|
|
3912
|
+
#
|
|
3913
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3914
|
+
#
|
|
2030
3915
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
|
|
2031
3916
|
def update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, opts = {})
|
|
2032
3917
|
logger.debug 'Calling operation DnsClient#update_steering_policy_attachment.' if logger
|
|
2033
3918
|
|
|
2034
3919
|
raise "Missing the required parameter 'steering_policy_attachment_id' when calling update_steering_policy_attachment." if steering_policy_attachment_id.nil?
|
|
2035
3920
|
raise "Missing the required parameter 'update_steering_policy_attachment_details' when calling update_steering_policy_attachment." if update_steering_policy_attachment_details.nil?
|
|
3921
|
+
|
|
3922
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
3923
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
3924
|
+
end
|
|
2036
3925
|
raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
|
|
2037
3926
|
|
|
2038
3927
|
path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
|
|
@@ -2041,6 +3930,7 @@ module OCI
|
|
|
2041
3930
|
# rubocop:disable Style/NegatedIf
|
|
2042
3931
|
# Query Params
|
|
2043
3932
|
query_params = {}
|
|
3933
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
2044
3934
|
|
|
2045
3935
|
# Header Params
|
|
2046
3936
|
header_params = {}
|
|
@@ -2048,6 +3938,7 @@ module OCI
|
|
|
2048
3938
|
header_params[:'content-type'] = 'application/json'
|
|
2049
3939
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2050
3940
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
3941
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2051
3942
|
# rubocop:enable Style/NegatedIf
|
|
2052
3943
|
|
|
2053
3944
|
post_body = @api_client.object_to_http_body(update_steering_policy_attachment_details)
|
|
@@ -2076,6 +3967,166 @@ module OCI
|
|
|
2076
3967
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2077
3968
|
|
|
2078
3969
|
|
|
3970
|
+
# Updates the specified TSIG key.
|
|
3971
|
+
#
|
|
3972
|
+
# @param [String] tsig_key_id The OCID of the target TSIG key.
|
|
3973
|
+
# @param [OCI::Dns::Models::UpdateTsigKeyDetails] update_tsig_key_details New data for the TSIG key.
|
|
3974
|
+
# @param [Hash] opts the optional parameters
|
|
3975
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3976
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3977
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
3978
|
+
# existence of at least one current representation of the target resource,
|
|
3979
|
+
# when the field-value is `*`, or having a current representation of the
|
|
3980
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
3981
|
+
# entity-tags provided in the field-value.
|
|
3982
|
+
#
|
|
3983
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
3984
|
+
# conditional on the selected representation's last modification date being
|
|
3985
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
3986
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
3987
|
+
# agent does not have an entity-tag for the representation.
|
|
3988
|
+
#
|
|
3989
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
3990
|
+
# to contact Oracle about a particular request, please provide
|
|
3991
|
+
# the request ID.
|
|
3992
|
+
#
|
|
3993
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
3994
|
+
#
|
|
3995
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
|
|
3996
|
+
def update_tsig_key(tsig_key_id, update_tsig_key_details, opts = {})
|
|
3997
|
+
logger.debug 'Calling operation DnsClient#update_tsig_key.' if logger
|
|
3998
|
+
|
|
3999
|
+
raise "Missing the required parameter 'tsig_key_id' when calling update_tsig_key." if tsig_key_id.nil?
|
|
4000
|
+
raise "Missing the required parameter 'update_tsig_key_details' when calling update_tsig_key." if update_tsig_key_details.nil?
|
|
4001
|
+
|
|
4002
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4003
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4004
|
+
end
|
|
4005
|
+
raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
|
|
4006
|
+
|
|
4007
|
+
path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
|
|
4008
|
+
operation_signing_strategy = :standard
|
|
4009
|
+
|
|
4010
|
+
# rubocop:disable Style/NegatedIf
|
|
4011
|
+
# Query Params
|
|
4012
|
+
query_params = {}
|
|
4013
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4014
|
+
|
|
4015
|
+
# Header Params
|
|
4016
|
+
header_params = {}
|
|
4017
|
+
header_params[:accept] = 'application/json'
|
|
4018
|
+
header_params[:'content-type'] = 'application/json'
|
|
4019
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4020
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4021
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4022
|
+
# rubocop:enable Style/NegatedIf
|
|
4023
|
+
|
|
4024
|
+
post_body = @api_client.object_to_http_body(update_tsig_key_details)
|
|
4025
|
+
|
|
4026
|
+
# rubocop:disable Metrics/BlockLength
|
|
4027
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_tsig_key') do
|
|
4028
|
+
@api_client.call_api(
|
|
4029
|
+
:PUT,
|
|
4030
|
+
path,
|
|
4031
|
+
endpoint,
|
|
4032
|
+
header_params: header_params,
|
|
4033
|
+
query_params: query_params,
|
|
4034
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4035
|
+
body: post_body,
|
|
4036
|
+
return_type: 'OCI::Dns::Models::TsigKey'
|
|
4037
|
+
)
|
|
4038
|
+
end
|
|
4039
|
+
# rubocop:enable Metrics/BlockLength
|
|
4040
|
+
end
|
|
4041
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4042
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4043
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4044
|
+
|
|
4045
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4046
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4047
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4048
|
+
|
|
4049
|
+
|
|
4050
|
+
# Updates the specified view with your new information.
|
|
4051
|
+
#
|
|
4052
|
+
# @param [String] view_id The OCID of the target view.
|
|
4053
|
+
# @param [OCI::Dns::Models::UpdateViewDetails] update_view_details New data for the view.
|
|
4054
|
+
# @param [Hash] opts the optional parameters
|
|
4055
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4056
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4057
|
+
# @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
|
|
4058
|
+
# existence of at least one current representation of the target resource,
|
|
4059
|
+
# when the field-value is `*`, or having a current representation of the
|
|
4060
|
+
# target resource that has an entity-tag matching a member of the list of
|
|
4061
|
+
# entity-tags provided in the field-value.
|
|
4062
|
+
#
|
|
4063
|
+
# @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
|
|
4064
|
+
# conditional on the selected representation's last modification date being
|
|
4065
|
+
# earlier than or equal to the date provided in the field-value. This
|
|
4066
|
+
# field accomplishes the same purpose as If-Match for cases where the user
|
|
4067
|
+
# agent does not have an entity-tag for the representation.
|
|
4068
|
+
#
|
|
4069
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4070
|
+
# to contact Oracle about a particular request, please provide
|
|
4071
|
+
# the request ID.
|
|
4072
|
+
#
|
|
4073
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4074
|
+
#
|
|
4075
|
+
# @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
|
|
4076
|
+
def update_view(view_id, update_view_details, opts = {})
|
|
4077
|
+
logger.debug 'Calling operation DnsClient#update_view.' if logger
|
|
4078
|
+
|
|
4079
|
+
raise "Missing the required parameter 'view_id' when calling update_view." if view_id.nil?
|
|
4080
|
+
raise "Missing the required parameter 'update_view_details' when calling update_view." if update_view_details.nil?
|
|
4081
|
+
|
|
4082
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4083
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4084
|
+
end
|
|
4085
|
+
raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
|
|
4086
|
+
|
|
4087
|
+
path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
|
|
4088
|
+
operation_signing_strategy = :standard
|
|
4089
|
+
|
|
4090
|
+
# rubocop:disable Style/NegatedIf
|
|
4091
|
+
# Query Params
|
|
4092
|
+
query_params = {}
|
|
4093
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4094
|
+
|
|
4095
|
+
# Header Params
|
|
4096
|
+
header_params = {}
|
|
4097
|
+
header_params[:accept] = 'application/json'
|
|
4098
|
+
header_params[:'content-type'] = 'application/json'
|
|
4099
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4100
|
+
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4101
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4102
|
+
# rubocop:enable Style/NegatedIf
|
|
4103
|
+
|
|
4104
|
+
post_body = @api_client.object_to_http_body(update_view_details)
|
|
4105
|
+
|
|
4106
|
+
# rubocop:disable Metrics/BlockLength
|
|
4107
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_view') do
|
|
4108
|
+
@api_client.call_api(
|
|
4109
|
+
:PUT,
|
|
4110
|
+
path,
|
|
4111
|
+
endpoint,
|
|
4112
|
+
header_params: header_params,
|
|
4113
|
+
query_params: query_params,
|
|
4114
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4115
|
+
body: post_body,
|
|
4116
|
+
return_type: 'OCI::Dns::Models::View'
|
|
4117
|
+
)
|
|
4118
|
+
end
|
|
4119
|
+
# rubocop:enable Metrics/BlockLength
|
|
4120
|
+
end
|
|
4121
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4122
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4123
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4124
|
+
|
|
4125
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4126
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4127
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4128
|
+
|
|
4129
|
+
|
|
2079
4130
|
# Updates the specified secondary zone with your new external master
|
|
2080
4131
|
# server information. For more information about secondary zone, see
|
|
2081
4132
|
# [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).
|
|
@@ -2097,6 +4148,13 @@ module OCI
|
|
|
2097
4148
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2098
4149
|
# agent does not have an entity-tag for the representation.
|
|
2099
4150
|
#
|
|
4151
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4152
|
+
# to contact Oracle about a particular request, please provide
|
|
4153
|
+
# the request ID.
|
|
4154
|
+
#
|
|
4155
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4156
|
+
#
|
|
4157
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2100
4158
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2101
4159
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
|
|
2102
4160
|
def update_zone(zone_name_or_id, update_zone_details, opts = {})
|
|
@@ -2104,6 +4162,10 @@ module OCI
|
|
|
2104
4162
|
|
|
2105
4163
|
raise "Missing the required parameter 'zone_name_or_id' when calling update_zone." if zone_name_or_id.nil?
|
|
2106
4164
|
raise "Missing the required parameter 'update_zone_details' when calling update_zone." if update_zone_details.nil?
|
|
4165
|
+
|
|
4166
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4167
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4168
|
+
end
|
|
2107
4169
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2108
4170
|
|
|
2109
4171
|
path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
@@ -2112,6 +4174,8 @@ module OCI
|
|
|
2112
4174
|
# rubocop:disable Style/NegatedIf
|
|
2113
4175
|
# Query Params
|
|
2114
4176
|
query_params = {}
|
|
4177
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4178
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2115
4179
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2116
4180
|
|
|
2117
4181
|
# Header Params
|
|
@@ -2120,6 +4184,7 @@ module OCI
|
|
|
2120
4184
|
header_params[:'content-type'] = 'application/json'
|
|
2121
4185
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2122
4186
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4187
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2123
4188
|
# rubocop:enable Style/NegatedIf
|
|
2124
4189
|
|
|
2125
4190
|
post_body = @api_client.object_to_http_body(update_zone_details)
|
|
@@ -2171,6 +4236,13 @@ module OCI
|
|
|
2171
4236
|
# field accomplishes the same purpose as If-Match for cases where the user
|
|
2172
4237
|
# agent does not have an entity-tag for the representation.
|
|
2173
4238
|
#
|
|
4239
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
|
|
4240
|
+
# to contact Oracle about a particular request, please provide
|
|
4241
|
+
# the request ID.
|
|
4242
|
+
#
|
|
4243
|
+
# @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
|
|
4244
|
+
#
|
|
4245
|
+
# @option opts [String] :view_id The OCID of the view the resource is associated with.
|
|
2174
4246
|
# @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
|
|
2175
4247
|
# @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
|
|
2176
4248
|
def update_zone_records(zone_name_or_id, update_zone_records_details, opts = {})
|
|
@@ -2178,6 +4250,10 @@ module OCI
|
|
|
2178
4250
|
|
|
2179
4251
|
raise "Missing the required parameter 'zone_name_or_id' when calling update_zone_records." if zone_name_or_id.nil?
|
|
2180
4252
|
raise "Missing the required parameter 'update_zone_records_details' when calling update_zone_records." if update_zone_records_details.nil?
|
|
4253
|
+
|
|
4254
|
+
if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
|
|
4255
|
+
raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
|
|
4256
|
+
end
|
|
2181
4257
|
raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
|
|
2182
4258
|
|
|
2183
4259
|
path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
|
|
@@ -2186,6 +4262,8 @@ module OCI
|
|
|
2186
4262
|
# rubocop:disable Style/NegatedIf
|
|
2187
4263
|
# Query Params
|
|
2188
4264
|
query_params = {}
|
|
4265
|
+
query_params[:scope] = opts[:scope] if opts[:scope]
|
|
4266
|
+
query_params[:viewId] = opts[:view_id] if opts[:view_id]
|
|
2189
4267
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
2190
4268
|
|
|
2191
4269
|
# Header Params
|
|
@@ -2194,6 +4272,7 @@ module OCI
|
|
|
2194
4272
|
header_params[:'content-type'] = 'application/json'
|
|
2195
4273
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2196
4274
|
header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
|
|
4275
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2197
4276
|
# rubocop:enable Style/NegatedIf
|
|
2198
4277
|
|
|
2199
4278
|
post_body = @api_client.object_to_http_body(update_zone_records_details)
|