oci 2.5.10 → 2.9.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 +37 -11
- data/lib/oci.rb +24 -1
- data/lib/oci/analytics/analytics.rb +43 -0
- data/lib/oci/analytics/analytics_client.rb +1133 -0
- data/lib/oci/analytics/analytics_client_composite_operations.rb +372 -0
- data/lib/oci/analytics/models/analytics_instance.rb +407 -0
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
- data/lib/oci/analytics/models/analytics_instance_summary.rb +371 -0
- data/lib/oci/analytics/models/capacity.rb +192 -0
- data/lib/oci/analytics/models/capacity_type.rb +11 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +310 -0
- data/lib/oci/analytics/models/feature_set.rb +11 -0
- data/lib/oci/analytics/models/license_type.rb +11 -0
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +151 -0
- data/lib/oci/analytics/models/sort_by.rb +14 -0
- data/lib/oci/analytics/models/sort_order.rb +11 -0
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
- data/lib/oci/analytics/models/work_request.rb +317 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +16 -0
- data/lib/oci/analytics/models/work_request_error.rb +177 -0
- data/lib/oci/analytics/models/work_request_log.rb +165 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +15 -0
- data/lib/oci/analytics/models/work_request_resource.rb +249 -0
- data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
- data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
- data/lib/oci/analytics/models/work_request_status.rb +15 -0
- data/lib/oci/analytics/models/work_request_summary.rb +301 -0
- data/lib/oci/analytics/util.rb +3 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -5
- data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
- data/lib/oci/announcements_service/announcements_service.rb +2 -1
- data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
- data/lib/oci/announcements_service/models/announcement.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
- data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
- data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
- data/lib/oci/announcements_service/util.rb +2 -1
- data/lib/oci/api_client.rb +6 -3
- data/lib/oci/api_client_proxy_settings.rb +2 -1
- data/lib/oci/apigateway/apigateway.rb +71 -0
- data/lib/oci/apigateway/deployment_client.rb +511 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/gateway_client.rb +509 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +157 -0
- data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
- data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
- data/lib/oci/apigateway/models/api_specification.rb +176 -0
- data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
- data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
- data/lib/oci/apigateway/models/api_specification_route.rb +233 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +159 -0
- data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
- data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
- data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/cors_policy.rb +240 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +242 -0
- data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
- data/lib/oci/apigateway/models/deployment.rb +362 -0
- data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
- data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
- data/lib/oci/apigateway/models/execution_log_policy.rb +196 -0
- data/lib/oci/apigateway/models/gateway.rb +367 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +322 -0
- data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
- data/lib/oci/apigateway/models/http_backend.rb +227 -0
- data/lib/oci/apigateway/models/json_web_key.rb +278 -0
- data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
- data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
- data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
- data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
- data/lib/oci/apigateway/models/public_key_set.rb +187 -0
- data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
- data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
- data/lib/oci/apigateway/models/static_public_key.rb +199 -0
- data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
- data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +196 -0
- data/lib/oci/apigateway/models/work_request.rb +309 -0
- data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_error.rb +173 -0
- data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_log.rb +160 -0
- data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
- data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
- data/lib/oci/apigateway/util.rb +3 -0
- data/lib/oci/apigateway/work_requests_client.rb +466 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/application_migration.rb +57 -0
- data/lib/oci/application_migration/application_migration_client.rb +1387 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/models/authorization_details.rb +180 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
- data/lib/oci/application_migration/models/configuration_field.rb +225 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +284 -0
- data/lib/oci/application_migration/models/create_source_details.rb +240 -0
- data/lib/oci/application_migration/models/discovery_details.rb +188 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/migration.rb +374 -0
- data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_summary.rb +344 -0
- data/lib/oci/application_migration/models/migration_types.rb +15 -0
- data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/ocic_source_details.rb +173 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/operation_status.rb +15 -0
- data/lib/oci/application_migration/models/operation_types.rb +20 -0
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/sort_orders.rb +11 -0
- data/lib/oci/application_migration/models/source.rb +278 -0
- data/lib/oci/application_migration/models/source_application.rb +212 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +219 -0
- data/lib/oci/application_migration/models/source_details.rb +187 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
- data/lib/oci/application_migration/models/source_summary.rb +295 -0
- data/lib/oci/application_migration/models/source_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +240 -0
- data/lib/oci/application_migration/models/update_source_details.rb +224 -0
- data/lib/oci/application_migration/models/work_request.rb +258 -0
- data/lib/oci/application_migration/models/work_request_error.rb +171 -0
- data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
- data/lib/oci/application_migration/models/work_request_summary.rb +251 -0
- data/lib/oci/application_migration/util.rb +3 -0
- data/lib/oci/audit/audit.rb +7 -1
- data/lib/oci/audit/audit_client.rb +34 -19
- data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
- data/lib/oci/audit/models/audit_event.rb +83 -262
- data/lib/oci/audit/models/configuration.rb +9 -3
- data/lib/oci/audit/models/data.rb +465 -0
- data/lib/oci/audit/models/identity.rb +314 -0
- data/lib/oci/audit/models/request.rb +286 -0
- data/lib/oci/audit/models/response.rb +274 -0
- data/lib/oci/audit/models/state_change.rb +176 -0
- data/lib/oci/audit/models/update_configuration_details.rb +9 -3
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/auth/auth.rb +6 -1
- data/lib/oci/auth/federation_client.rb +7 -3
- data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
- data/lib/oci/auth/security_token_container.rb +2 -1
- data/lib/oci/auth/session_key_supplier.rb +2 -1
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +16 -5
- data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
- data/lib/oci/auth/signers/resource_principals_signer.rb +41 -0
- data/lib/oci/auth/signers/security_token_signer.rb +2 -1
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
- data/lib/oci/auth/url_based_certificate_retriever.rb +8 -3
- data/lib/oci/auth/util.rb +20 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +20 -17
- data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
- data/lib/oci/autoscaling/autoscaling.rb +7 -1
- data/lib/oci/autoscaling/models/action.rb +2 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
- data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
- data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
- data/lib/oci/autoscaling/models/capacity.rb +5 -4
- data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
- data/lib/oci/autoscaling/models/condition.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
- data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
- data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
- data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
- data/lib/oci/autoscaling/models/metric.rb +2 -1
- data/lib/oci/autoscaling/models/resource.rb +2 -1
- data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
- data/lib/oci/autoscaling/models/threshold.rb +2 -1
- data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
- data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/util.rb +2 -1
- data/lib/oci/base_signer.rb +4 -3
- data/lib/oci/bds/bds.rb +45 -0
- data/lib/oci/bds/bds_client.rb +1045 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +423 -0
- data/lib/oci/bds/models/action_types.rb +14 -0
- data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
- data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
- data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
- data/lib/oci/bds/models/bds_instance.rb +436 -0
- data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
- data/lib/oci/bds/models/cluster_details.rb +240 -0
- data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
- data/lib/oci/bds/models/create_node_details.rb +194 -0
- data/lib/oci/bds/models/default_error.rb +160 -0
- data/lib/oci/bds/models/kerberos_details.rb +168 -0
- data/lib/oci/bds/models/network_config.rb +168 -0
- data/lib/oci/bds/models/node.rb +390 -0
- data/lib/oci/bds/models/operation_status.rb +15 -0
- data/lib/oci/bds/models/operation_types.rb +17 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
- data/lib/oci/bds/models/sort_orders.rb +11 -0
- data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
- data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
- data/lib/oci/bds/models/work_request.rb +312 -0
- data/lib/oci/bds/models/work_request_error.rb +173 -0
- data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bds/models/work_request_resource.rb +219 -0
- data/lib/oci/bds/util.rb +3 -0
- data/lib/oci/budget/budget.rb +3 -1
- data/lib/oci/budget/budget_client.rb +33 -16
- data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
- data/lib/oci/budget/models/alert_rule.rb +2 -1
- data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
- data/lib/oci/budget/models/alert_type.rb +2 -1
- data/lib/oci/budget/models/budget.rb +54 -3
- data/lib/oci/budget/models/budget_summary.rb +54 -3
- data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/create_budget_details.rb +57 -3
- data/lib/oci/budget/models/lifecycle_state.rb +2 -1
- data/lib/oci/budget/models/reset_period.rb +2 -1
- data/lib/oci/budget/models/sort_by.rb +2 -1
- data/lib/oci/budget/models/sort_order.rb +2 -1
- data/lib/oci/budget/models/target_type.rb +11 -0
- data/lib/oci/budget/models/threshold_type.rb +2 -1
- data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/update_budget_details.rb +2 -1
- data/lib/oci/budget/util.rb +2 -1
- data/lib/oci/cims/cims.rb +63 -0
- data/lib/oci/cims/incident_client.rb +575 -0
- data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
- data/lib/oci/cims/models/activity_item.rb +275 -0
- data/lib/oci/cims/models/availability_domain.rb +48 -0
- data/lib/oci/cims/models/category.rb +164 -0
- data/lib/oci/cims/models/classifier.rb +256 -0
- data/lib/oci/cims/models/contact.rb +219 -0
- data/lib/oci/cims/models/contact_list.rb +154 -0
- data/lib/oci/cims/models/create_category_details.rb +154 -0
- data/lib/oci/cims/models/create_incident.rb +223 -0
- data/lib/oci/cims/models/create_issue_type_details.rb +154 -0
- data/lib/oci/cims/models/create_item_details.rb +212 -0
- data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
- data/lib/oci/cims/models/create_resource_details.rb +263 -0
- data/lib/oci/cims/models/create_sub_category_details.rb +154 -0
- data/lib/oci/cims/models/create_tech_support_item_details.rb +161 -0
- data/lib/oci/cims/models/create_ticket_details.rb +198 -0
- data/lib/oci/cims/models/error_code.rb +27 -0
- data/lib/oci/cims/models/incident.rb +258 -0
- data/lib/oci/cims/models/incident_resource_type.rb +198 -0
- data/lib/oci/cims/models/incident_summary.rb +248 -0
- data/lib/oci/cims/models/incident_type.rb +194 -0
- data/lib/oci/cims/models/issue_type.rb +164 -0
- data/lib/oci/cims/models/item.rb +227 -0
- data/lib/oci/cims/models/lifecycle_details.rb +13 -0
- data/lib/oci/cims/models/lifecycle_state.rb +11 -0
- data/lib/oci/cims/models/limit_item.rb +245 -0
- data/lib/oci/cims/models/problem_type.rb +13 -0
- data/lib/oci/cims/models/region.rb +38 -0
- data/lib/oci/cims/models/resource.rb +276 -0
- data/lib/oci/cims/models/scope.rb +13 -0
- data/lib/oci/cims/models/service_category.rb +270 -0
- data/lib/oci/cims/models/sort_by.rb +11 -0
- data/lib/oci/cims/models/sort_order.rb +11 -0
- data/lib/oci/cims/models/status.rb +160 -0
- data/lib/oci/cims/models/sub_category.rb +164 -0
- data/lib/oci/cims/models/tech_support_item.rb +165 -0
- data/lib/oci/cims/models/tenancy_information.rb +168 -0
- data/lib/oci/cims/models/ticket.rb +315 -0
- data/lib/oci/cims/models/unit.rb +12 -0
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → cims/models/update_activity_item_details.rb} +39 -38
- data/lib/oci/cims/models/update_incident.rb +150 -0
- data/lib/oci/cims/models/update_item_details.rb +166 -0
- data/lib/oci/cims/models/update_resource_details.rb +149 -0
- data/lib/oci/cims/models/update_ticket_details.rb +150 -0
- data/lib/oci/cims/models/validation_response.rb +154 -0
- data/lib/oci/cims/util.rb +3 -0
- data/lib/oci/config.rb +12 -1
- data/lib/oci/config_file_loader.rb +9 -1
- data/lib/oci/container_engine/container_engine.rb +13 -1
- data/lib/oci/container_engine/container_engine_client.rb +9 -6
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
- data/lib/oci/container_engine/models/add_on_options.rb +2 -1
- data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
- data/lib/oci/container_engine/models/cluster.rb +17 -2
- data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
- data/lib/oci/container_engine/models/cluster_options.rb +2 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
- data/lib/oci/container_engine/models/create_node_pool_details.rb +50 -8
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/key_value.rb +2 -1
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
- data/lib/oci/container_engine/models/node.rb +31 -2
- data/lib/oci/container_engine/models/node_error.rb +2 -1
- data/lib/oci/container_engine/models/node_pool.rb +38 -7
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool_summary.rb +38 -7
- data/lib/oci/container_engine/models/node_source_details.rb +184 -0
- data/lib/oci/container_engine/models/node_source_option.rb +206 -0
- data/lib/oci/container_engine/models/node_source_type.rb +10 -0
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +162 -0
- data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
- data/lib/oci/container_engine/models/sort_order.rb +2 -1
- data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
- data/lib/oci/container_engine/models/update_node_pool_details.rb +47 -20
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/work_request.rb +2 -1
- data/lib/oci/container_engine/models/work_request_error.rb +2 -1
- data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
- data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
- data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
- data/lib/oci/container_engine/models/work_request_status.rb +2 -1
- data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
- data/lib/oci/container_engine/util.rb +2 -1
- data/lib/oci/core/blockstorage_client.rb +322 -28
- data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
- data/lib/oci/core/compute_client.rb +1093 -97
- data/lib/oci/core/compute_client_composite_operations.rb +121 -1
- data/lib/oci/core/compute_management_client.rb +537 -22
- data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
- data/lib/oci/core/core.rb +60 -1
- data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +153 -0
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/add_security_rule_details.rb +10 -5
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +2 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_vnic_details.rb +3 -1
- data/lib/oci/core/models/attach_volume_details.rb +21 -2
- data/lib/oci/core/models/bgp_session_info.rb +2 -1
- data/lib/oci/core/models/boot_volume.rb +43 -3
- data/lib/oci/core/models/boot_volume_attachment.rb +2 -1
- data/lib/oci/core/models/boot_volume_backup.rb +51 -2
- data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
- data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +3 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cpe_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +4 -3
- data/lib/oci/core/models/cluster_network.rb +323 -0
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
- data/lib/oci/core/models/cluster_network_summary.rb +305 -0
- data/lib/oci/core/models/compute_instance_details.rb +2 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
- data/lib/oci/core/models/console_history.rb +2 -1
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +29 -5
- data/lib/oci/core/models/cpe.rb +31 -2
- data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
- data/lib/oci/core/models/cpe_device_config_question.rb +181 -0
- data/lib/oci/core/models/cpe_device_info.rb +164 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +29 -3
- data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +221 -0
- data/lib/oci/core/models/create_cpe_details.rb +32 -5
- data/lib/oci/core/models/create_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/create_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +265 -0
- data/lib/oci/core/models/create_dhcp_details.rb +2 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +6 -3
- data/lib/oci/core/models/create_drg_details.rb +2 -1
- data/lib/oci/core/models/create_image_details.rb +3 -2
- data/lib/oci/core/models/create_instance_configuration_base.rb +261 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +17 -58
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +181 -0
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +10 -4
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/create_ipv6_details.rb +250 -0
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -2
- data/lib/oci/core/models/create_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
- data/lib/oci/core/models/create_private_ip_details.rb +2 -1
- data/lib/oci/core/models/create_public_ip_details.rb +2 -1
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/create_route_table_details.rb +2 -1
- data/lib/oci/core/models/create_security_list_details.rb +2 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +25 -2
- data/lib/oci/core/models/create_subnet_details.rb +26 -2
- data/lib/oci/core/models/create_vcn_details.rb +58 -5
- data/lib/oci/core/models/create_virtual_circuit_details.rb +60 -4
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
- data/lib/oci/core/models/create_vnic_details.rb +2 -2
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +238 -0
- data/lib/oci/core/models/create_volume_details.rb +31 -3
- data/lib/oci/core/models/create_volume_group_backup_details.rb +5 -2
- data/lib/oci/core/models/create_volume_group_details.rb +3 -2
- data/lib/oci/core/models/cross_connect.rb +39 -2
- data/lib/oci/core/models/cross_connect_group.rb +39 -2
- data/lib/oci/core/models/cross_connect_location.rb +2 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +58 -2
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
- data/lib/oci/core/models/cross_connect_status.rb +2 -1
- data/lib/oci/core/models/dedicated_vm_host.rb +362 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +171 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +216 -0
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +172 -0
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +326 -0
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
- data/lib/oci/core/models/device.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
- data/lib/oci/core/models/dhcp_option.rb +2 -1
- data/lib/oci/core/models/dhcp_options.rb +2 -1
- data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
- data/lib/oci/core/models/drg.rb +2 -1
- data/lib/oci/core/models/drg_attachment.rb +8 -4
- data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
- data/lib/oci/core/models/egress_security_rule.rb +29 -12
- data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
- data/lib/oci/core/models/export_image_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +2 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +7 -2
- data/lib/oci/core/models/icmp_options.rb +2 -1
- data/lib/oci/core/models/image.rb +4 -1
- data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +177 -0
- data/lib/oci/core/models/image_shape_compatibility_summary.rb +177 -0
- data/lib/oci/core/models/image_source_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/ingress_security_rule.rb +29 -12
- data/lib/oci/core/models/instance.rb +48 -2
- data/lib/oci/core/models/instance_agent_config.rb +23 -5
- data/lib/oci/core/models/instance_agent_features.rb +21 -5
- data/lib/oci/core/models/instance_configuration.rb +12 -8
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
- data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +151 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/instance_configuration_launch_options.rb +331 -0
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_summary.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_console_connection.rb +3 -2
- data/lib/oci/core/models/instance_credentials.rb +2 -1
- data/lib/oci/core/models/instance_pool.rb +10 -5
- data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
- data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
- data/lib/oci/core/models/instance_pool_summary.rb +2 -1
- data/lib/oci/core/models/instance_shape_config.rb +287 -0
- data/lib/oci/core/models/instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
- data/lib/oci/core/models/instance_summary.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection.rb +6 -1
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +37 -2
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -1
- data/lib/oci/core/models/ipv6.rb +377 -0
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
- data/lib/oci/core/models/launch_instance_details.rb +44 -2
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/launch_options.rb +8 -6
- data/lib/oci/core/models/letter_of_authority.rb +2 -1
- data/lib/oci/core/models/local_peering_gateway.rb +6 -4
- data/lib/oci/core/models/nat_gateway.rb +2 -1
- data/lib/oci/core/models/network_security_group.rb +2 -1
- data/lib/oci/core/models/network_security_group_vnic.rb +2 -1
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
- data/lib/oci/core/models/port_range.rb +2 -1
- data/lib/oci/core/models/private_ip.rb +3 -1
- data/lib/oci/core/models/public_ip.rb +2 -1
- data/lib/oci/core/models/remote_peering_connection.rb +39 -2
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/route_rule.rb +22 -6
- data/lib/oci/core/models/route_table.rb +2 -1
- data/lib/oci/core/models/security_list.rb +2 -2
- data/lib/oci/core/models/security_rule.rb +9 -4
- data/lib/oci/core/models/service.rb +2 -1
- data/lib/oci/core/models/service_gateway.rb +20 -2
- data/lib/oci/core/models/service_id_request_details.rb +2 -1
- data/lib/oci/core/models/service_id_response_details.rb +2 -1
- data/lib/oci/core/models/shape.rb +203 -5
- data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +177 -0
- data/lib/oci/core/models/shape_memory_options.rb +189 -0
- data/lib/oci/core/models/shape_networking_bandwidth_options.rb +186 -0
- data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
- data/lib/oci/core/models/subnet.rb +60 -3
- data/lib/oci/core/models/tcp_options.rb +2 -1
- data/lib/oci/core/models/tunnel_config.rb +2 -1
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
- data/lib/oci/core/models/tunnel_status.rb +2 -1
- data/lib/oci/core/models/udp_options.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_details.rb +29 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/update_cluster_network_details.rb +192 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -1
- data/lib/oci/core/models/update_cpe_details.rb +31 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +195 -0
- data/lib/oci/core/models/update_dhcp_details.rb +2 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +8 -4
- data/lib/oci/core/models/update_drg_details.rb +2 -1
- data/lib/oci/core/models/update_image_details.rb +2 -1
- data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
- data/lib/oci/core/models/update_instance_details.rb +31 -34
- data/lib/oci/core/models/update_instance_pool_details.rb +8 -3
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +159 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/update_ipv6_details.rb +230 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +6 -4
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +4 -1
- data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/update_private_ip_details.rb +2 -1
- data/lib/oci/core/models/update_public_ip_details.rb +2 -1
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/update_route_table_details.rb +2 -1
- data/lib/oci/core/models/update_security_list_details.rb +2 -1
- data/lib/oci/core/models/update_security_rule_details.rb +10 -5
- data/lib/oci/core/models/update_service_gateway_details.rb +20 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -1
- data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
- data/lib/oci/core/models/update_vcn_details.rb +2 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +58 -3
- data/lib/oci/core/models/update_vnic_details.rb +7 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -2
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +224 -0
- data/lib/oci/core/models/update_volume_details.rb +28 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +4 -2
- data/lib/oci/core/models/update_volume_group_details.rb +4 -2
- data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/vcn.rb +46 -2
- data/lib/oci/core/models/virtual_circuit.rb +58 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
- data/lib/oci/core/models/vnic.rb +2 -1
- data/lib/oci/core/models/vnic_attachment.rb +3 -2
- data/lib/oci/core/models/volume.rb +45 -3
- data/lib/oci/core/models/volume_attachment.rb +17 -2
- data/lib/oci/core/models/volume_backup.rb +37 -2
- data/lib/oci/core/models/volume_backup_policy.rb +71 -5
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
- data/lib/oci/core/models/volume_group.rb +3 -2
- data/lib/oci/core/models/volume_group_backup.rb +2 -1
- data/lib/oci/core/models/volume_group_source_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
- data/lib/oci/core/models/volume_kms_key.rb +4 -3
- data/lib/oci/core/models/volume_source_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/util.rb +2 -1
- data/lib/oci/core/virtual_network_client.rb +1879 -44
- data/lib/oci/core/virtual_network_client_composite_operations.rb +121 -1
- data/lib/oci/data_catalog/data_catalog.rb +136 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +7576 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +173 -0
- data/lib/oci/data_catalog/models/attribute.rb +404 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +282 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +270 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
- data/lib/oci/data_catalog/models/base_tag.rb +256 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +256 -0
- data/lib/oci/data_catalog/models/catalog.rb +312 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +280 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/connection.rb +344 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +151 -0
- data/lib/oci/data_catalog/models/connection_result.rb +11 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +272 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +284 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +238 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +198 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +276 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +272 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +343 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +220 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
- data/lib/oci/data_catalog/models/data_asset.rb +320 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +262 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +270 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/entity.rb +429 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +300 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +270 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/folder.rb +372 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +287 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +270 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/glossary.rb +305 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +151 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +252 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +312 -0
- data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
- data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
- data/lib/oci/data_catalog/models/job.rb +421 -0
- data/lib/oci/data_catalog/models/job_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition.rb +392 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +263 -0
- data/lib/oci/data_catalog/models/job_execution.rb +421 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +276 -0
- data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
- data/lib/oci/data_catalog/models/job_log.rb +259 -0
- data/lib/oci/data_catalog/models/job_log_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
- data/lib/oci/data_catalog/models/job_metric.rb +337 -0
- data/lib/oci/data_catalog/models/job_metric_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
- data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
- data/lib/oci/data_catalog/models/job_summary.rb +387 -0
- data/lib/oci/data_catalog/models/job_type.rb +22 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/property_definition.rb +188 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +151 -0
- data/lib/oci/data_catalog/models/search_result.rb +491 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +162 -0
- data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
- data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
- data/lib/oci/data_catalog/models/term.rb +368 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
- data/lib/oci/data_catalog/models/term_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +301 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
- data/lib/oci/data_catalog/models/type.rb +309 -0
- data/lib/oci/data_catalog/models/type_collection.rb +151 -0
- data/lib/oci/data_catalog/models/type_summary.rb +224 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +280 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +220 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +181 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +272 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
- data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +204 -0
- data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
- data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_result.rb +160 -0
- data/lib/oci/data_catalog/models/work_request.rb +308 -0
- data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
- data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
- data/lib/oci/data_catalog/util.rb +3 -0
- data/lib/oci/data_flow/data_flow.rb +35 -0
- data/lib/oci/data_flow/data_flow_client.rb +1115 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +271 -0
- data/lib/oci/data_flow/models/application.rb +528 -0
- data/lib/oci/data_flow/models/application_language.rb +13 -0
- data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
- data/lib/oci/data_flow/models/application_parameter.rb +166 -0
- data/lib/oci/data_flow/models/application_summary.rb +346 -0
- data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/create_application_details.rb +412 -0
- data/lib/oci/data_flow/models/create_run_details.rb +359 -0
- data/lib/oci/data_flow/models/run.rb +626 -0
- data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
- data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
- data/lib/oci/data_flow/models/run_summary.rb +455 -0
- data/lib/oci/data_flow/models/update_application_details.rb +397 -0
- data/lib/oci/data_flow/models/update_run_details.rb +174 -0
- data/lib/oci/data_flow/util.rb +3 -0
- data/lib/oci/data_safe/data_safe.rb +34 -0
- data/lib/oci/data_safe/data_safe_client.rb +831 -0
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
- data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
- data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
- data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/service_list.rb +21 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
- data/lib/oci/data_safe/models/work_request.rb +302 -0
- data/lib/oci/data_safe/models/work_request_error.rb +173 -0
- data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
- data/lib/oci/data_safe/util.rb +3 -0
- data/lib/oci/data_science/data_science.rb +50 -0
- data/lib/oci/data_science/data_science_client.rb +2358 -0
- data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
- data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/create_model_details.rb +226 -0
- data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
- data/lib/oci/data_science/models/create_project_details.rb +211 -0
- data/lib/oci/data_science/models/model.rb +300 -0
- data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
- data/lib/oci/data_science/models/model_provenance.rb +211 -0
- data/lib/oci/data_science/models/model_summary.rb +290 -0
- data/lib/oci/data_science/models/notebook_session.rb +337 -0
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
- data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
- data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
- data/lib/oci/data_science/models/project.rb +286 -0
- data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
- data/lib/oci/data_science/models/project_summary.rb +285 -0
- data/lib/oci/data_science/models/update_model_details.rb +199 -0
- data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
- data/lib/oci/data_science/models/update_project_details.rb +196 -0
- data/lib/oci/data_science/models/work_request.rb +301 -0
- data/lib/oci/data_science/models/work_request_error.rb +171 -0
- data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
- data/lib/oci/data_science/models/work_request_resource.rb +215 -0
- data/lib/oci/data_science/models/work_request_status.rb +15 -0
- data/lib/oci/data_science/models/work_request_summary.rb +301 -0
- data/lib/oci/data_science/util.rb +3 -0
- data/lib/oci/database/database.rb +54 -3
- data/lib/oci/database/database_client.rb +4952 -1574
- data/lib/oci/database/database_client_composite_operations.rb +729 -49
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
- data/lib/oci/database/models/associated_database_details.rb +164 -0
- data/lib/oci/database/models/autonomous_container_database.rb +32 -6
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +32 -6
- data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +165 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_database.rb +250 -15
- data/lib/oci/database/models/autonomous_database_backup.rb +22 -5
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +22 -5
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +250 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +8 -5
- data/lib/oci/database/models/autonomous_db_version_summary.rb +228 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
- data/lib/oci/database/models/backup.rb +26 -5
- data/lib/oci/database/models/backup_destination.rb +360 -0
- data/lib/oci/database/models/backup_destination_details.rb +210 -0
- data/lib/oci/database/models/backup_destination_summary.rb +363 -0
- data/lib/oci/database/models/backup_summary.rb +26 -5
- data/lib/oci/database/models/change_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/console_connection.rb +236 -0
- data/lib/oci/database/models/console_connection_summary.rb +241 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +17 -5
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +128 -13
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +28 -3
- data/lib/oci/database/models/create_autonomous_database_details.rb +27 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +270 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +280 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
- data/lib/oci/database/models/create_backup_details.rb +2 -1
- data/lib/oci/database/models/create_console_connection_details.rb +156 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +3 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -3
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +23 -9
- data/lib/oci/database/models/create_database_base.rb +216 -0
- data/lib/oci/database/models/create_database_details.rb +18 -5
- data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
- data/lib/oci/database/models/create_database_from_backup.rb +169 -0
- data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
- data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_db_home_base.rb} +12 -21
- data/lib/oci/database/models/create_db_home_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_database_details.rb +167 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -11
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +22 -10
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +177 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +190 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +351 -0
- data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/create_new_database_details.rb +169 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +179 -0
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
- data/lib/oci/database/models/database.rb +46 -5
- data/lib/oci/database/models/database_connection_strings.rb +2 -1
- data/lib/oci/database/models/database_summary.rb +46 -5
- data/lib/oci/database/models/day_of_week.rb +2 -1
- data/lib/oci/database/models/db_backup_config.rb +67 -5
- data/lib/oci/database/models/db_home.rb +49 -6
- data/lib/oci/database/models/db_home_summary.rb +52 -9
- data/lib/oci/database/models/db_iorm_config.rb +2 -1
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +2 -1
- data/lib/oci/database/models/db_node.rb +80 -5
- data/lib/oci/database/models/db_node_summary.rb +80 -5
- data/lib/oci/database/models/db_system.rb +61 -9
- data/lib/oci/database/models/db_system_options.rb +179 -0
- data/lib/oci/database/models/db_system_shape_summary.rb +115 -2
- data/lib/oci/database/models/db_system_summary.rb +61 -9
- data/lib/oci/database/models/db_version_summary.rb +20 -5
- data/lib/oci/database/models/exadata_infrastructure.rb +535 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +538 -0
- data/lib/oci/database/models/exadata_iorm_config.rb +2 -1
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
- data/lib/oci/database/models/external_backup_job.rb +2 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +33 -2
- data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
- data/lib/oci/database/models/gi_version_summary.rb +153 -0
- data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/launch_db_system_base.rb +27 -12
- data/lib/oci/database/models/launch_db_system_details.rb +23 -5
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +7 -2
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +340 -0
- data/lib/oci/database/models/maintenance_run.rb +6 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +6 -1
- data/lib/oci/database/models/maintenance_window.rb +23 -6
- data/lib/oci/database/models/month.rb +2 -1
- data/lib/oci/database/models/node_details.rb +184 -0
- data/lib/oci/database/models/ocp_us.rb +182 -0
- data/lib/oci/database/models/patch.rb +2 -1
- data/lib/oci/database/models/patch_details.rb +3 -2
- data/lib/oci/database/models/patch_history_entry.rb +2 -1
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/patch_summary.rb +2 -1
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
- data/lib/oci/database/models/restore_database_details.rb +2 -1
- data/lib/oci/database/models/scan_details.rb +171 -0
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +16 -4
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/update_autonomous_database_details.rb +68 -14
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/update_backup_destination_details.rb +219 -0
- data/lib/oci/database/models/update_database_details.rb +17 -4
- data/lib/oci/database/models/update_db_home_details.rb +3 -2
- data/lib/oci/database/models/update_db_system_details.rb +65 -12
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +308 -0
- data/lib/oci/database/models/update_maintenance_run_details.rb +20 -5
- data/lib/oci/database/models/update_vm_cluster_details.rb +281 -0
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
- data/lib/oci/database/models/vm_cluster.rb +492 -0
- data/lib/oci/database/models/vm_cluster_network.rb +351 -0
- data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
- data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
- data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
- data/lib/oci/database/models/vm_network_details.rb +232 -0
- data/lib/oci/database/models/workload_type.rb +161 -0
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/dns/dns.rb +13 -1
- data/lib/oci/dns/dns_client.rb +810 -105
- data/lib/oci/dns/dns_client_composite_operations.rb +122 -2
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +156 -0
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +180 -0
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +253 -0
- data/lib/oci/dns/models/create_zone_details.rb +20 -57
- data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
- data/lib/oci/dns/models/external_master.rb +23 -5
- data/lib/oci/dns/models/migration_replacement.rb +188 -0
- data/lib/oci/dns/models/nameserver.rb +2 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/record.rb +2 -1
- data/lib/oci/dns/models/record_collection.rb +2 -1
- data/lib/oci/dns/models/record_details.rb +2 -1
- data/lib/oci/dns/models/record_operation.rb +2 -1
- data/lib/oci/dns/models/rr_set.rb +2 -1
- data/lib/oci/dns/models/sort_order.rb +2 -1
- data/lib/oci/dns/models/steering_policy.rb +2 -1
- data/lib/oci/dns/models/steering_policy_answer.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
- data/lib/oci/dns/models/tsig.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +321 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
- data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
- data/lib/oci/dns/models/update_zone_details.rb +2 -1
- data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +2 -1
- data/lib/oci/dns/models/zone_summary.rb +2 -1
- data/lib/oci/dns/util.rb +2 -1
- data/lib/oci/dts/appliance_export_job_client.rb +494 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/dts.rb +67 -0
- data/lib/oci/dts/models/appliance_export_job.rb +551 -0
- data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
- data/lib/oci/dts/models/attach_devices_details.rb +154 -0
- data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +153 -0
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +228 -0
- data/lib/oci/dts/models/create_transfer_device_details.rb +166 -0
- data/lib/oci/dts/models/create_transfer_job_details.rb +243 -0
- data/lib/oci/dts/models/create_transfer_package_details.rb +179 -0
- data/lib/oci/dts/models/detach_devices_details.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_devices.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_packages.rb +154 -0
- data/lib/oci/dts/models/new_transfer_device.rb +247 -0
- data/lib/oci/dts/models/shipping_address.rb +264 -0
- data/lib/oci/dts/models/shipping_vendors.rb +150 -0
- data/lib/oci/dts/models/transfer_appliance.rb +370 -0
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +149 -0
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +314 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_summary.rb +226 -0
- data/lib/oci/dts/models/transfer_device.rb +269 -0
- data/lib/oci/dts/models/transfer_device_summary.rb +255 -0
- data/lib/oci/dts/models/transfer_job.rb +357 -0
- data/lib/oci/dts/models/transfer_job_summary.rb +301 -0
- data/lib/oci/dts/models/transfer_package.rb +282 -0
- data/lib/oci/dts/models/transfer_package_summary.rb +202 -0
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +182 -0
- data/lib/oci/dts/models/update_transfer_device_details.rb +167 -0
- data/lib/oci/dts/models/update_transfer_job_details.rb +242 -0
- data/lib/oci/dts/models/update_transfer_package_details.rb +205 -0
- data/lib/oci/dts/shipping_vendors_client.rb +164 -0
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +25 -0
- data/lib/oci/dts/transfer_appliance_client.rb +568 -0
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +105 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +298 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +64 -0
- data/lib/oci/dts/transfer_device_client.rb +401 -0
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +66 -0
- data/lib/oci/dts/transfer_job_client.rb +485 -0
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/transfer_package_client.rb +514 -0
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +105 -0
- data/lib/oci/dts/util.rb +3 -0
- data/lib/oci/email/email.rb +2 -1
- data/lib/oci/email/email_client.rb +4 -5
- data/lib/oci/email/email_client_composite_operations.rb +2 -1
- data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
- data/lib/oci/email/models/create_sender_details.rb +2 -1
- data/lib/oci/email/models/create_suppression_details.rb +2 -1
- data/lib/oci/email/models/sender.rb +2 -1
- data/lib/oci/email/models/sender_summary.rb +2 -1
- data/lib/oci/email/models/suppression.rb +2 -1
- data/lib/oci/email/models/suppression_summary.rb +2 -1
- data/lib/oci/email/models/update_sender_details.rb +2 -1
- data/lib/oci/email/util.rb +2 -1
- data/lib/oci/errors.rb +2 -1
- data/lib/oci/events/events.rb +35 -0
- data/lib/oci/events/events_client.rb +536 -0
- data/lib/oci/events/events_client_composite_operations.rb +146 -0
- data/lib/oci/events/models/action.rb +295 -0
- data/lib/oci/events/models/action_details.rb +223 -0
- data/lib/oci/events/models/action_details_list.rb +151 -0
- data/lib/oci/events/models/action_list.rb +152 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +157 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +171 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +171 -0
- data/lib/oci/events/models/create_rule_details.rb +280 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +171 -0
- data/lib/oci/events/models/faa_s_action.rb +183 -0
- data/lib/oci/events/models/notification_service_action.rb +184 -0
- data/lib/oci/events/models/rule.rb +368 -0
- data/lib/oci/events/models/rule_summary.rb +317 -0
- data/lib/oci/events/models/streaming_service_action.rb +183 -0
- data/lib/oci/events/models/update_rule_details.rb +262 -0
- data/lib/oci/events/util.rb +3 -0
- data/lib/oci/file_storage/file_storage.rb +2 -1
- data/lib/oci/file_storage/file_storage_client.rb +71 -64
- data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
- data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/client_options.rb +2 -1
- data/lib/oci/file_storage/models/create_export_details.rb +2 -1
- data/lib/oci/file_storage/models/create_file_system_details.rb +21 -5
- data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/models/export.rb +2 -1
- data/lib/oci/file_storage/models/export_set.rb +2 -1
- data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
- data/lib/oci/file_storage/models/export_summary.rb +2 -1
- data/lib/oci/file_storage/models/file_system.rb +21 -5
- data/lib/oci/file_storage/models/file_system_summary.rb +21 -5
- data/lib/oci/file_storage/models/mount_target.rb +21 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
- data/lib/oci/file_storage/models/snapshot.rb +2 -1
- data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
- data/lib/oci/file_storage/models/update_export_details.rb +2 -1
- data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
- data/lib/oci/file_storage/models/update_file_system_details.rb +25 -5
- data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/util.rb +2 -1
- data/lib/oci/functions/functions.rb +30 -0
- data/lib/oci/functions/functions_invoke_client.rb +236 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +25 -0
- data/lib/oci/functions/functions_management_client.rb +850 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +267 -0
- data/lib/oci/functions/models/application.rb +323 -0
- data/lib/oci/functions/models/application_summary.rb +282 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +157 -0
- data/lib/oci/functions/models/create_application_details.rb +237 -0
- data/lib/oci/functions/models/create_function_details.rb +281 -0
- data/lib/oci/functions/models/function.rb +398 -0
- data/lib/oci/functions/models/function_summary.rb +382 -0
- data/lib/oci/functions/models/update_application_details.rb +192 -0
- data/lib/oci/functions/models/update_function_details.rb +251 -0
- data/lib/oci/functions/util.rb +3 -0
- data/lib/oci/global_context.rb +2 -1
- data/lib/oci/healthchecks/health_checks_client.rb +169 -20
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
- data/lib/oci/healthchecks/healthchecks.rb +4 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/connection.rb +2 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/dns.rb +2 -1
- data/lib/oci/healthchecks/models/geolocation.rb +2 -1
- data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/http_probe.rb +35 -2
- data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/ping_probe.rb +35 -2
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/routing.rb +2 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/util.rb +2 -1
- data/lib/oci/identity/identity.rb +26 -1
- data/lib/oci/identity/identity_client.rb +1771 -118
- data/lib/oci/identity/identity_client_composite_operations.rb +290 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
- data/lib/oci/identity/models/api_key.rb +2 -1
- data/lib/oci/identity/models/auth_token.rb +2 -1
- data/lib/oci/identity/models/authentication_policy.rb +2 -1
- data/lib/oci/identity/models/availability_domain.rb +2 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +203 -0
- data/lib/oci/identity/models/bulk_action_resource.rb +182 -0
- data/lib/oci/identity/models/bulk_action_resource_type.rb +169 -0
- data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
- data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
- data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
- data/lib/oci/identity/models/compartment.rb +5 -1
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +2 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/create_network_source_details.rb +254 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
- data/lib/oci/identity/models/create_policy_details.rb +2 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/create_tag_details.rb +30 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
- data/lib/oci/identity/models/create_user_details.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
- data/lib/oci/identity/models/dynamic_group.rb +5 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
- data/lib/oci/identity/models/fault_domain.rb +2 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
- data/lib/oci/identity/models/group.rb +5 -1
- data/lib/oci/identity/models/identity_provider.rb +5 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +2 -1
- data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
- data/lib/oci/identity/models/move_compartment_details.rb +156 -0
- data/lib/oci/identity/models/network_sources.rb +337 -0
- data/lib/oci/identity/models/network_sources_summary.rb +249 -0
- data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
- data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
- data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
- data/lib/oci/identity/models/password_policy.rb +2 -1
- data/lib/oci/identity/models/policy.rb +5 -1
- data/lib/oci/identity/models/region.rb +8 -13
- data/lib/oci/identity/models/region_subscription.rb +8 -13
- data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
- data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
- data/lib/oci/identity/models/smtp_credential.rb +2 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
- data/lib/oci/identity/models/swift_password.rb +2 -1
- data/lib/oci/identity/models/tag.rb +36 -8
- data/lib/oci/identity/models/tag_default.rb +28 -5
- data/lib/oci/identity/models/tag_default_summary.rb +28 -5
- data/lib/oci/identity/models/tag_namespace.rb +7 -3
- data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
- data/lib/oci/identity/models/tag_summary.rb +5 -3
- data/lib/oci/identity/models/tagging_work_request.rb +306 -0
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +305 -0
- data/lib/oci/identity/models/tenancy.rb +19 -8
- data/lib/oci/identity/models/ui_password.rb +2 -1
- data/lib/oci/identity/models/ui_password_information.rb +2 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_compartment_details.rb +2 -1
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/update_group_details.rb +2 -1
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/update_network_source_details.rb +227 -0
- data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
- data/lib/oci/identity/models/update_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/update_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
- data/lib/oci/identity/models/update_user_details.rb +2 -1
- data/lib/oci/identity/models/user.rb +22 -3
- data/lib/oci/identity/models/user_capabilities.rb +21 -5
- data/lib/oci/identity/models/user_group_membership.rb +2 -1
- data/lib/oci/identity/models/work_request.rb +2 -1
- data/lib/oci/identity/models/work_request_error.rb +2 -1
- data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
- data/lib/oci/identity/models/work_request_resource.rb +2 -1
- data/lib/oci/identity/models/work_request_summary.rb +2 -1
- data/lib/oci/identity/util.rb +2 -1
- data/lib/oci/integration/integration.rb +30 -0
- data/lib/oci/integration/integration_instance_client.rb +877 -0
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +287 -0
- data/lib/oci/integration/models/integration_instance.rb +382 -0
- data/lib/oci/integration/models/integration_instance_summary.rb +348 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
- data/lib/oci/integration/models/work_request.rb +313 -0
- data/lib/oci/integration/models/work_request_error.rb +171 -0
- data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/integration/models/work_request_resource.rb +221 -0
- data/lib/oci/integration/models/work_request_summary.rb +313 -0
- data/lib/oci/integration/util.rb +3 -0
- data/lib/oci/internal/internal.rb +2 -1
- data/lib/oci/internal/util.rb +2 -1
- data/lib/oci/key_management/key_management.rb +17 -1
- data/lib/oci/key_management/kms_crypto_client.rb +7 -9
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
- data/lib/oci/key_management/kms_management_client.rb +794 -64
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
- data/lib/oci/key_management/kms_vault_client.rb +426 -21
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
- data/lib/oci/key_management/models/backup_key_details.rb +153 -0
- data/lib/oci/key_management/models/backup_location.rb +183 -0
- data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
- data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
- data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/create_key_details.rb +9 -7
- data/lib/oci/key_management/models/create_vault_details.rb +10 -7
- data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
- data/lib/oci/key_management/models/decrypted_data.rb +2 -1
- data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
- data/lib/oci/key_management/models/encrypted_data.rb +2 -1
- data/lib/oci/key_management/models/generate_key_details.rb +7 -6
- data/lib/oci/key_management/models/generated_key.rb +9 -9
- data/lib/oci/key_management/models/import_key_details.rb +231 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
- data/lib/oci/key_management/models/key.rb +35 -16
- data/lib/oci/key_management/models/key_shape.rb +4 -2
- data/lib/oci/key_management/models/key_summary.rb +12 -7
- data/lib/oci/key_management/models/key_version.rb +113 -5
- data/lib/oci/key_management/models/key_version_summary.rb +94 -3
- data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/update_key_details.rb +8 -6
- data/lib/oci/key_management/models/update_vault_details.rb +8 -6
- data/lib/oci/key_management/models/vault.rb +56 -15
- data/lib/oci/key_management/models/vault_summary.rb +20 -10
- data/lib/oci/key_management/models/vault_usage.rb +168 -0
- data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
- data/lib/oci/key_management/models/wrapping_key.rb +258 -0
- data/lib/oci/key_management/util.rb +2 -1
- data/lib/oci/limits/limits.rb +29 -0
- data/lib/oci/limits/limits_client.rb +443 -0
- data/lib/oci/limits/limits_client_composite_operations.rb +25 -0
- data/lib/oci/limits/models/create_quota_details.rb +221 -0
- data/lib/oci/limits/models/limit_definition_summary.rb +242 -0
- data/lib/oci/limits/models/limit_value_summary.rb +211 -0
- data/lib/oci/limits/models/quota.rb +288 -0
- data/lib/oci/limits/models/quota_summary.rb +274 -0
- data/lib/oci/limits/models/resource_availability.rb +164 -0
- data/lib/oci/limits/models/service_summary.rb +160 -0
- data/lib/oci/limits/models/update_quota_details.rb +195 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +144 -0
- data/lib/oci/limits/util.rb +3 -0
- data/lib/oci/load_balancer/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +146 -8
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +54 -3
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +182 -0
- data/lib/oci/load_balancer/models/backend.rb +4 -1
- data/lib/oci/load_balancer/models/backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/backend_health.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
- data/lib/oci/load_balancer/models/certificate.rb +2 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +157 -0
- data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +206 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -3
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
- data/lib/oci/load_balancer/models/health_checker.rb +4 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/hostname.rb +2 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/ip_address.rb +2 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +335 -0
- data/lib/oci/load_balancer/models/listener.rb +2 -1
- data/lib/oci/load_balancer/models/listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +167 -0
- data/lib/oci/load_balancer/models/load_balancer.rb +35 -3
- data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
- data/lib/oci/load_balancer/models/path_route.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/rule.rb +8 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +195 -0
- data/lib/oci/load_balancer/models/rule_set.rb +2 -1
- data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +8 -1
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +168 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +170 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +172 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +2 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/work_request.rb +2 -1
- data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
- data/lib/oci/load_balancer/util.rb +2 -1
- data/lib/oci/marketplace/marketplace.rb +55 -0
- data/lib/oci/marketplace/marketplace_client.rb +1194 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
- data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
- data/lib/oci/marketplace/models/agreement.rb +230 -0
- data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
- data/lib/oci/marketplace/models/category_summary.rb +150 -0
- data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
- data/lib/oci/marketplace/models/documentation_link.rb +174 -0
- data/lib/oci/marketplace/models/error_entity.rb +160 -0
- data/lib/oci/marketplace/models/image_listing_package.rb +225 -0
- data/lib/oci/marketplace/models/item.rb +160 -0
- data/lib/oci/marketplace/models/link.rb +183 -0
- data/lib/oci/marketplace/models/link_enum.rb +14 -0
- data/lib/oci/marketplace/models/listing.rb +479 -0
- data/lib/oci/marketplace/models/listing_package.rb +266 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +244 -0
- data/lib/oci/marketplace/models/listing_summary.rb +311 -0
- data/lib/oci/marketplace/models/named_link.rb +160 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +206 -0
- data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
- data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
- data/lib/oci/marketplace/models/pricing_model.rb +244 -0
- data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
- data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
- data/lib/oci/marketplace/models/publisher.rb +259 -0
- data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
- data/lib/oci/marketplace/models/region.rb +170 -0
- data/lib/oci/marketplace/models/report_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_summary.rb +184 -0
- data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
- data/lib/oci/marketplace/models/screenshot.rb +202 -0
- data/lib/oci/marketplace/models/support_contact.rb +180 -0
- data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
- data/lib/oci/marketplace/models/upload_data.rb +192 -0
- data/lib/oci/marketplace/util.rb +3 -0
- data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
- data/lib/oci/monitoring/models/alarm.rb +32 -10
- data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
- data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
- data/lib/oci/monitoring/models/alarm_summary.rb +6 -4
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +156 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +32 -10
- data/lib/oci/monitoring/models/datapoint.rb +3 -2
- data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +29 -8
- data/lib/oci/monitoring/models/metric.rb +22 -2
- data/lib/oci/monitoring/models/metric_data.rb +36 -2
- data/lib/oci/monitoring/models/metric_data_details.rb +28 -6
- data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
- data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +25 -2
- data/lib/oci/monitoring/models/suppression.rb +2 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +32 -10
- data/lib/oci/monitoring/monitoring.rb +3 -1
- data/lib/oci/monitoring/monitoring_client.rb +160 -10
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
- data/lib/oci/monitoring/util.rb +2 -1
- data/lib/oci/mysql/db_backups_client.rb +462 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
- data/lib/oci/mysql/db_system_client.rb +696 -0
- data/lib/oci/mysql/db_system_client_composite_operations.rb +322 -0
- data/lib/oci/mysql/models/backup.rb +460 -0
- data/lib/oci/mysql/models/backup_policy.rb +235 -0
- data/lib/oci/mysql/models/backup_summary.rb +339 -0
- data/lib/oci/mysql/models/configuration.rb +353 -0
- data/lib/oci/mysql/models/configuration_summary.rb +287 -0
- data/lib/oci/mysql/models/configuration_variables.rb +913 -0
- data/lib/oci/mysql/models/create_backup_details.rb +253 -0
- data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
- data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
- data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
- data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
- data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/db_system.rb +513 -0
- data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
- data/lib/oci/mysql/models/db_system_source.rb +196 -0
- data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
- data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +319 -0
- data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
- data/lib/oci/mysql/models/maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/shape_summary.rb +182 -0
- data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/update_backup_details.rb +212 -0
- data/lib/oci/mysql/models/update_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
- data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
- data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/version.rb +161 -0
- data/lib/oci/mysql/models/version_summary.rb +165 -0
- data/lib/oci/mysql/models/work_request.rb +313 -0
- data/lib/oci/mysql/models/work_request_error.rb +174 -0
- data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
- data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +15 -0
- data/lib/oci/mysql/models/work_request_resource.rb +219 -0
- data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
- data/lib/oci/mysql/models/work_request_summary.rb +303 -0
- data/lib/oci/mysql/mysql.rb +65 -0
- data/lib/oci/mysql/mysqlaas_client.rb +607 -0
- data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
- data/lib/oci/mysql/util.rb +3 -0
- data/lib/oci/mysql/work_requests_client.rb +389 -0
- data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
- data/lib/oci/nosql/models/column.rb +188 -0
- data/lib/oci/nosql/models/create_index_details.rb +196 -0
- data/lib/oci/nosql/models/create_table_details.rb +226 -0
- data/lib/oci/nosql/models/delete_row_result.rb +194 -0
- data/lib/oci/nosql/models/index.rb +255 -0
- data/lib/oci/nosql/models/index_collection.rb +150 -0
- data/lib/oci/nosql/models/index_key.rb +187 -0
- data/lib/oci/nosql/models/index_summary.rb +189 -0
- data/lib/oci/nosql/models/prepared_statement.rb +161 -0
- data/lib/oci/nosql/models/query_details.rb +246 -0
- data/lib/oci/nosql/models/query_result_collection.rb +159 -0
- data/lib/oci/nosql/models/request_usage.rb +168 -0
- data/lib/oci/nosql/models/row.rb +176 -0
- data/lib/oci/nosql/models/schema.rb +188 -0
- data/lib/oci/nosql/models/statement_summary.rb +248 -0
- data/lib/oci/nosql/models/table.rb +329 -0
- data/lib/oci/nosql/models/table_collection.rb +150 -0
- data/lib/oci/nosql/models/table_limits.rb +182 -0
- data/lib/oci/nosql/models/table_summary.rb +282 -0
- data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
- data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
- data/lib/oci/nosql/models/update_row_details.rb +285 -0
- data/lib/oci/nosql/models/update_row_result.rb +208 -0
- data/lib/oci/nosql/models/update_table_details.rb +220 -0
- data/lib/oci/nosql/models/work_request.rb +306 -0
- data/lib/oci/nosql/models/work_request_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_error.rb +174 -0
- data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
- data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_resource.rb +220 -0
- data/lib/oci/nosql/models/work_request_summary.rb +306 -0
- data/lib/oci/nosql/nosql.rb +53 -0
- data/lib/oci/nosql/nosql_client.rb +1558 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
- data/lib/oci/nosql/util.rb +3 -0
- data/lib/oci/object_storage/models/bucket.rb +102 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/duration.rb +193 -0
- data/lib/oci/object_storage/models/list_objects.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +3 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
- data/lib/oci/object_storage/models/object_summary.rb +31 -6
- data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
- data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
- data/lib/oci/object_storage/models/pattern_details.rb +2 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
- data/lib/oci/object_storage/models/replication_policy.rb +263 -0
- data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
- data/lib/oci/object_storage/models/replication_source.rb +182 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
- data/lib/oci/object_storage/models/retention_rule.rb +227 -0
- data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
- data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
- data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +56 -11
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/work_request.rb +12 -8
- data/lib/oci/object_storage/models/work_request_error.rb +2 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
- data/lib/oci/object_storage/object_storage.rb +15 -1
- data/lib/oci/object_storage/object_storage_client.rb +1129 -132
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
- data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
- data/lib/oci/object_storage/transfer/transfer.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
- data/lib/oci/object_storage/util.rb +2 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +373 -0
- data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
- data/lib/oci/oce/models/oce_instance.rb +516 -0
- data/lib/oci/oce/models/oce_instance_summary.rb +484 -0
- data/lib/oci/oce/models/update_oce_instance_details.rb +196 -0
- data/lib/oci/oce/models/work_request.rb +320 -0
- data/lib/oci/oce/models/work_request_error.rb +173 -0
- data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
- data/lib/oci/oce/models/work_request_resource.rb +219 -0
- data/lib/oci/oce/models/workflow_monitor.rb +182 -0
- data/lib/oci/oce/models/workflow_step.rb +164 -0
- data/lib/oci/oce/oce.rb +32 -0
- data/lib/oci/oce/oce_instance_client.rb +730 -0
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
- data/lib/oci/oce/util.rb +3 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
- data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
- data/lib/oci/oda/models/error_body.rb +160 -0
- data/lib/oci/oda/models/oda_instance.rb +406 -0
- data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
- data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
- data/lib/oci/oda/models/work_request.rb +343 -0
- data/lib/oci/oda/models/work_request_error.rb +177 -0
- data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
- data/lib/oci/oda/models/work_request_resource.rb +275 -0
- data/lib/oci/oda/models/work_request_summary.rb +265 -0
- data/lib/oci/oda/oda.rb +31 -0
- data/lib/oci/oda/oda_client.rb +984 -0
- data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
- data/lib/oci/oda/util.rb +3 -0
- data/lib/oci/ons/models/backoff_retry_policy.rb +6 -4
- data/lib/oci/ons/models/change_compartment_details.rb +157 -0
- data/lib/oci/ons/models/confirmation_result.rb +11 -9
- data/lib/oci/ons/models/create_subscription_details.rb +22 -5
- data/lib/oci/ons/models/create_topic_details.rb +3 -2
- data/lib/oci/ons/models/delivery_policy.rb +2 -1
- data/lib/oci/ons/models/message_details.rb +2 -1
- data/lib/oci/ons/models/notification_topic.rb +7 -5
- data/lib/oci/ons/models/notification_topic_summary.rb +5 -4
- data/lib/oci/ons/models/publish_result.rb +2 -1
- data/lib/oci/ons/models/subscription.rb +57 -8
- data/lib/oci/ons/models/subscription_summary.rb +26 -7
- data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
- data/lib/oci/ons/models/update_subscription_details.rb +2 -1
- data/lib/oci/ons/notification_control_plane_client.rb +103 -16
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/notification_data_plane_client.rb +148 -16
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/ons.rb +3 -1
- data/lib/oci/ons/util.rb +2 -1
- data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/api_error.rb +162 -0
- data/lib/oci/os_management/models/arch_types.rb +14 -0
- data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
- data/lib/oci/os_management/models/available_update_summary.rb +286 -0
- data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
- data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/checksum_types.rb +13 -0
- data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
- data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
- data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
- data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/erratum.rb +332 -0
- data/lib/oci/os_management/models/erratum_summary.rb +247 -0
- data/lib/oci/os_management/models/id.rb +164 -0
- data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
- data/lib/oci/os_management/models/installation_requirements.rb +12 -0
- data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
- data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
- data/lib/oci/os_management/models/interval_types.rb +13 -0
- data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
- data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
- data/lib/oci/os_management/models/managed_instance.rb +396 -0
- data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
- data/lib/oci/os_management/models/operation_status.rb +15 -0
- data/lib/oci/os_management/models/operation_types.rb +13 -0
- data/lib/oci/os_management/models/os_families.rb +12 -0
- data/lib/oci/os_management/models/package_name.rb +150 -0
- data/lib/oci/os_management/models/package_update_types.rb +13 -0
- data/lib/oci/os_management/models/recurrence.rb +183 -0
- data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/schedule_types.rb +11 -0
- data/lib/oci/os_management/models/scheduled_job.rb +544 -0
- data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
- data/lib/oci/os_management/models/software_package.rb +290 -0
- data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
- data/lib/oci/os_management/models/software_package_file.rb +214 -0
- data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
- data/lib/oci/os_management/models/software_package_summary.rb +218 -0
- data/lib/oci/os_management/models/software_source.rb +520 -0
- data/lib/oci/os_management/models/software_source_id.rb +160 -0
- data/lib/oci/os_management/models/software_source_summary.rb +341 -0
- data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
- data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
- data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
- data/lib/oci/os_management/models/update_types.rb +13 -0
- data/lib/oci/os_management/models/windows_update.rb +330 -0
- data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
- data/lib/oci/os_management/models/work_request.rb +375 -0
- data/lib/oci/os_management/models/work_request_error.rb +173 -0
- data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
- data/lib/oci/os_management/models/work_request_resource.rb +232 -0
- data/lib/oci/os_management/models/work_request_summary.rb +321 -0
- data/lib/oci/os_management/os_management.rb +80 -0
- data/lib/oci/os_management/os_management_client.rb +3753 -0
- data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
- data/lib/oci/os_management/util.rb +3 -0
- data/lib/oci/regions.rb +231 -14
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +2 -1
- data/lib/oci/resource_manager/models/config_source.rb +6 -5
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +3 -2
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +164 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +19 -3
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
- data/lib/oci/resource_manager/models/failure_details.rb +2 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/job.rb +30 -7
- data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
- data/lib/oci/resource_manager/models/job_summary.rb +27 -7
- data/lib/oci/resource_manager/models/log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/stack.rb +75 -7
- data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
- data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +304 -0
- data/lib/oci/resource_manager/models/stack_summary.rb +28 -2
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -2
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +18 -2
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/work_request.rb +5 -3
- data/lib/oci/resource_manager/models/work_request_error.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_resource.rb +3 -2
- data/lib/oci/resource_manager/models/work_request_summary.rb +4 -3
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
- data/lib/oci/resource_manager/resource_manager.rb +21 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +350 -43
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +57 -7
- data/lib/oci/resource_manager/util.rb +2 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
- data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
- data/lib/oci/resource_search/models/resource_summary.rb +50 -11
- data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
- data/lib/oci/resource_search/models/resource_type.rb +2 -1
- data/lib/oci/resource_search/models/search_context.rb +3 -2
- data/lib/oci/resource_search/models/search_details.rb +4 -3
- data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
- data/lib/oci/resource_search/resource_search.rb +2 -1
- data/lib/oci/resource_search/resource_search_client.rb +6 -7
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
- data/lib/oci/resource_search/util.rb +2 -1
- data/lib/oci/response.rb +2 -1
- data/lib/oci/response_headers.rb +2 -1
- data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
- data/lib/oci/retry/functions/sleep.rb +2 -1
- data/lib/oci/retry/internal/retry_state.rb +2 -1
- data/lib/oci/retry/retry.rb +2 -1
- data/lib/oci/retry/retry_config.rb +2 -1
- data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
- data/lib/oci/secrets/models/secret_bundle.rb +294 -0
- data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
- data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
- data/lib/oci/secrets/secrets.rb +23 -0
- data/lib/oci/secrets/secrets_client.rb +258 -0
- data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
- data/lib/oci/secrets/util.rb +3 -0
- data/lib/oci/signer.rb +2 -1
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/connect_harness.rb +281 -0
- data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
- data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
- data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_stream_details.rb +18 -3
- data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
- data/lib/oci/streaming/models/cursor.rb +2 -1
- data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
- data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
- data/lib/oci/streaming/models/group.rb +4 -3
- data/lib/oci/streaming/models/kafka_settings.rb +196 -0
- data/lib/oci/streaming/models/message.rb +2 -1
- data/lib/oci/streaming/models/partition_reservation.rb +2 -1
- data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
- data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
- data/lib/oci/streaming/models/put_messages_details.rb +2 -1
- data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
- data/lib/oci/streaming/models/put_messages_result.rb +3 -2
- data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
- data/lib/oci/streaming/models/stream.rb +20 -2
- data/lib/oci/streaming/models/stream_pool.rb +352 -0
- data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
- data/lib/oci/streaming/models/stream_summary.rb +20 -2
- data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
- data/lib/oci/streaming/models/update_group_details.rb +2 -1
- data/lib/oci/streaming/models/update_stream_details.rb +18 -2
- data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
- data/lib/oci/streaming/stream_admin_client.rb +888 -45
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +249 -4
- data/lib/oci/streaming/stream_client.rb +25 -44
- data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
- data/lib/oci/streaming/streaming.rb +18 -1
- data/lib/oci/streaming/util.rb +2 -1
- data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
- data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
- data/lib/oci/vault/models/create_secret_details.rb +282 -0
- data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
- data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
- data/lib/oci/vault/models/secret.rb +394 -0
- data/lib/oci/vault/models/secret_content_details.rb +221 -0
- data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
- data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
- data/lib/oci/vault/models/secret_rule.rb +191 -0
- data/lib/oci/vault/models/secret_summary.rb +353 -0
- data/lib/oci/vault/models/secret_version.rb +305 -0
- data/lib/oci/vault/models/secret_version_summary.rb +305 -0
- data/lib/oci/vault/models/update_secret_details.rb +241 -0
- data/lib/oci/vault/util.rb +3 -0
- data/lib/oci/vault/vault.rb +34 -0
- data/lib/oci/vault/vaults_client.rb +881 -0
- data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
- data/lib/oci/version.rb +4 -2
- data/lib/oci/waas/models/access_rule.rb +206 -7
- data/lib/oci/waas/models/access_rule_criteria.rb +80 -19
- data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
- data/lib/oci/waas/models/address_list.rb +291 -0
- data/lib/oci/waas/models/address_list_summary.rb +280 -0
- data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
- data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
- data/lib/oci/waas/models/caching_rule.rb +245 -0
- data/lib/oci/waas/models/caching_rule_criteria.rb +191 -0
- data/lib/oci/waas/models/caching_rule_summary.rb +248 -0
- data/lib/oci/waas/models/captcha.rb +2 -1
- data/lib/oci/waas/models/certificate.rb +24 -10
- data/lib/oci/waas/models/certificate_extensions.rb +5 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +226 -0
- data/lib/oci/waas/models/certificate_public_key_info.rb +6 -2
- data/lib/oci/waas/models/certificate_subject_name.rb +10 -2
- data/lib/oci/waas/models/certificate_summary.rb +12 -3
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +156 -0
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +156 -0
- data/lib/oci/waas/models/create_address_list_details.rb +214 -0
- data/lib/oci/waas/models/create_certificate_details.rb +24 -4
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +257 -0
- data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/custom_protection_rule.rb +331 -0
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +191 -0
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +280 -0
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
- data/lib/oci/waas/models/edge_subnet.rb +2 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
- data/lib/oci/waas/models/good_bot.rb +2 -1
- data/lib/oci/waas/models/header.rb +3 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
- data/lib/oci/waas/models/health_check.rb +346 -0
- data/lib/oci/waas/models/http_redirect.rb +302 -0
- data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
- data/lib/oci/waas/models/http_redirect_target.rb +210 -0
- data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/js_challenge.rb +49 -6
- data/lib/oci/waas/models/lifecycle_states.rb +2 -1
- data/lib/oci/waas/models/load_balancing_method.rb +195 -0
- data/lib/oci/waas/models/origin.rb +2 -1
- data/lib/oci/waas/models/origin_group.rb +150 -0
- data/lib/oci/waas/models/origin_group_origins.rb +160 -0
- data/lib/oci/waas/models/policy_config.rb +267 -5
- data/lib/oci/waas/models/protection_rule.rb +2 -1
- data/lib/oci/waas/models/protection_rule_action.rb +2 -1
- data/lib/oci/waas/models/protection_rule_exclusion.rb +18 -2
- data/lib/oci/waas/models/protection_settings.rb +12 -7
- data/lib/oci/waas/models/purge_cache.rb +150 -0
- data/lib/oci/waas/models/recommendation.rb +2 -1
- data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
- data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
- data/lib/oci/waas/models/threat_feed.rb +2 -1
- data/lib/oci/waas/models/threat_feed_action.rb +2 -1
- data/lib/oci/waas/models/update_address_list_details.rb +200 -0
- data/lib/oci/waas/models/update_certificate_details.rb +12 -3
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +242 -0
- data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/waas_policy.rb +28 -5
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +218 -0
- data/lib/oci/waas/models/waas_policy_summary.rb +12 -3
- data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
- data/lib/oci/waas/models/waf_config.rb +46 -2
- data/lib/oci/waas/models/waf_config_details.rb +54 -10
- data/lib/oci/waas/models/waf_log.rb +45 -23
- data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
- data/lib/oci/waas/models/waf_request.rb +2 -1
- data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
- data/lib/oci/waas/models/whitelist.rb +21 -6
- data/lib/oci/waas/models/work_request.rb +9 -2
- data/lib/oci/waas/models/work_request_error.rb +2 -1
- data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +9 -2
- data/lib/oci/waas/models/work_request_resource.rb +2 -1
- data/lib/oci/waas/models/work_request_status_values.rb +2 -1
- data/lib/oci/waas/models/work_request_summary.rb +9 -2
- data/lib/oci/waas/redirect_client.rb +492 -0
- data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
- data/lib/oci/waas/util.rb +2 -1
- data/lib/oci/waas/waas.rb +40 -1
- data/lib/oci/waas/waas_client.rb +1285 -58
- data/lib/oci/waas/waas_client_composite_operations.rb +388 -1
- data/lib/oci/waiter.rb +2 -1
- data/lib/oci/work_requests/models/work_request.rb +16 -9
- data/lib/oci/work_requests/models/work_request_error.rb +5 -4
- data/lib/oci/work_requests/models/work_request_log_entry.rb +4 -3
- data/lib/oci/work_requests/models/work_request_resource.rb +11 -8
- data/lib/oci/work_requests/models/work_request_summary.rb +14 -7
- data/lib/oci/work_requests/util.rb +2 -1
- data/lib/oci/work_requests/work_request_client.rb +37 -21
- data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
- data/lib/oci/work_requests/work_requests.rb +2 -1
- data/lib/oraclebmc.rb +2 -1
- metadata +1049 -5
|
@@ -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 'date'
|
|
4
5
|
require 'logger'
|
|
@@ -22,13 +23,25 @@ module OCI
|
|
|
22
23
|
# @return [String]
|
|
23
24
|
attr_accessor :results_url
|
|
24
25
|
|
|
26
|
+
# The region where updates must be made and where results must be fetched from.
|
|
27
|
+
#
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :home_region
|
|
30
|
+
|
|
31
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
|
32
|
+
#
|
|
33
|
+
# @return [DateTime]
|
|
34
|
+
attr_accessor :time_created
|
|
35
|
+
|
|
25
36
|
# The OCID of the compartment.
|
|
26
37
|
# @return [String]
|
|
27
38
|
attr_accessor :compartment_id
|
|
28
39
|
|
|
40
|
+
# A list of targets (hostnames or IP addresses) of the probe.
|
|
29
41
|
# @return [Array<String>]
|
|
30
42
|
attr_accessor :targets
|
|
31
43
|
|
|
44
|
+
# A list of names of vantage points from which to execute the probe.
|
|
32
45
|
# @return [Array<String>]
|
|
33
46
|
attr_accessor :vantage_point_names
|
|
34
47
|
|
|
@@ -53,6 +66,8 @@ module OCI
|
|
|
53
66
|
# rubocop:disable Style/SymbolLiteral
|
|
54
67
|
'id': :'id',
|
|
55
68
|
'results_url': :'resultsUrl',
|
|
69
|
+
'home_region': :'homeRegion',
|
|
70
|
+
'time_created': :'timeCreated',
|
|
56
71
|
'compartment_id': :'compartmentId',
|
|
57
72
|
'targets': :'targets',
|
|
58
73
|
'vantage_point_names': :'vantagePointNames',
|
|
@@ -69,6 +84,8 @@ module OCI
|
|
|
69
84
|
# rubocop:disable Style/SymbolLiteral
|
|
70
85
|
'id': :'String',
|
|
71
86
|
'results_url': :'String',
|
|
87
|
+
'home_region': :'String',
|
|
88
|
+
'time_created': :'DateTime',
|
|
72
89
|
'compartment_id': :'String',
|
|
73
90
|
'targets': :'Array<String>',
|
|
74
91
|
'vantage_point_names': :'Array<String>',
|
|
@@ -87,6 +104,8 @@ module OCI
|
|
|
87
104
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
88
105
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
89
106
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
|
107
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
|
108
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
90
109
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
91
110
|
# @option attributes [Array<String>] :targets The value to assign to the {#targets} property
|
|
92
111
|
# @option attributes [Array<String>] :vantage_point_names The value to assign to the {#vantage_point_names} property
|
|
@@ -107,6 +126,18 @@ module OCI
|
|
|
107
126
|
|
|
108
127
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
|
109
128
|
|
|
129
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
|
130
|
+
|
|
131
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
|
132
|
+
|
|
133
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
|
134
|
+
|
|
135
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
|
136
|
+
|
|
137
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
138
|
+
|
|
139
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
|
140
|
+
|
|
110
141
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
111
142
|
|
|
112
143
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
@@ -158,6 +189,8 @@ module OCI
|
|
|
158
189
|
self.class == other.class &&
|
|
159
190
|
id == other.id &&
|
|
160
191
|
results_url == other.results_url &&
|
|
192
|
+
home_region == other.home_region &&
|
|
193
|
+
time_created == other.time_created &&
|
|
161
194
|
compartment_id == other.compartment_id &&
|
|
162
195
|
targets == other.targets &&
|
|
163
196
|
vantage_point_names == other.vantage_point_names &&
|
|
@@ -179,7 +212,7 @@ module OCI
|
|
|
179
212
|
# Calculates hash code according to all attributes.
|
|
180
213
|
# @return [Fixnum] Hash code
|
|
181
214
|
def hash
|
|
182
|
-
[id, results_url, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol].hash
|
|
215
|
+
[id, results_url, home_region, time_created, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol].hash
|
|
183
216
|
end
|
|
184
217
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
185
218
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
2
3
|
|
|
3
4
|
module OCI
|
|
4
5
|
module Healthchecks::Models
|
|
@@ -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 'date'
|
|
4
5
|
require 'logger'
|
|
@@ -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 'date'
|
|
4
5
|
|
|
@@ -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 'date'
|
|
4
5
|
|
|
@@ -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 'date'
|
|
4
5
|
|
|
@@ -16,9 +17,11 @@ module OCI
|
|
|
16
17
|
METHOD_HEAD = 'HEAD'.freeze
|
|
17
18
|
].freeze
|
|
18
19
|
|
|
20
|
+
# A list of targets (hostnames or IP addresses) of the probe.
|
|
19
21
|
# @return [Array<String>]
|
|
20
22
|
attr_accessor :targets
|
|
21
23
|
|
|
24
|
+
# A list of names of vantage points from which to execute the probe.
|
|
22
25
|
# @return [Array<String>]
|
|
23
26
|
attr_accessor :vantage_point_names
|
|
24
27
|
|
|
@@ -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 'date'
|
|
4
5
|
|
|
@@ -11,9 +12,11 @@ module OCI
|
|
|
11
12
|
PROTOCOL_TCP = 'TCP'.freeze
|
|
12
13
|
].freeze
|
|
13
14
|
|
|
15
|
+
# A list of targets (hostnames or IP addresses) of the probe.
|
|
14
16
|
# @return [Array<String>]
|
|
15
17
|
attr_accessor :targets
|
|
16
18
|
|
|
19
|
+
# A list of names of vantage points from which to execute the probe.
|
|
17
20
|
# @return [Array<String>]
|
|
18
21
|
attr_accessor :vantage_point_names
|
|
19
22
|
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
2
3
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
2
3
|
|
|
3
4
|
module OCI
|
|
4
5
|
module Identity
|
|
@@ -15,6 +16,13 @@ require 'oci/identity/models/api_key'
|
|
|
15
16
|
require 'oci/identity/models/auth_token'
|
|
16
17
|
require 'oci/identity/models/authentication_policy'
|
|
17
18
|
require 'oci/identity/models/availability_domain'
|
|
19
|
+
require 'oci/identity/models/base_tag_definition_validator'
|
|
20
|
+
require 'oci/identity/models/bulk_action_resource'
|
|
21
|
+
require 'oci/identity/models/bulk_action_resource_type'
|
|
22
|
+
require 'oci/identity/models/bulk_action_resource_type_collection'
|
|
23
|
+
require 'oci/identity/models/bulk_delete_resources_details'
|
|
24
|
+
require 'oci/identity/models/bulk_delete_tags_details'
|
|
25
|
+
require 'oci/identity/models/bulk_move_resources_details'
|
|
18
26
|
require 'oci/identity/models/change_tag_namespace_compartment_detail'
|
|
19
27
|
require 'oci/identity/models/compartment'
|
|
20
28
|
require 'oci/identity/models/create_api_key_details'
|
|
@@ -25,6 +33,8 @@ require 'oci/identity/models/create_dynamic_group_details'
|
|
|
25
33
|
require 'oci/identity/models/create_group_details'
|
|
26
34
|
require 'oci/identity/models/create_identity_provider_details'
|
|
27
35
|
require 'oci/identity/models/create_idp_group_mapping_details'
|
|
36
|
+
require 'oci/identity/models/create_network_source_details'
|
|
37
|
+
require 'oci/identity/models/create_o_auth2_client_credential_details'
|
|
28
38
|
require 'oci/identity/models/create_policy_details'
|
|
29
39
|
require 'oci/identity/models/create_region_subscription_details'
|
|
30
40
|
require 'oci/identity/models/create_saml2_identity_provider_details'
|
|
@@ -36,8 +46,11 @@ require 'oci/identity/models/create_tag_namespace_details'
|
|
|
36
46
|
require 'oci/identity/models/create_user_details'
|
|
37
47
|
require 'oci/identity/models/customer_secret_key'
|
|
38
48
|
require 'oci/identity/models/customer_secret_key_summary'
|
|
49
|
+
require 'oci/identity/models/default_tag_definition_validator'
|
|
39
50
|
require 'oci/identity/models/dynamic_group'
|
|
51
|
+
require 'oci/identity/models/enum_tag_definition_validator'
|
|
40
52
|
require 'oci/identity/models/fault_domain'
|
|
53
|
+
require 'oci/identity/models/fully_qualified_scope'
|
|
41
54
|
require 'oci/identity/models/group'
|
|
42
55
|
require 'oci/identity/models/identity_provider'
|
|
43
56
|
require 'oci/identity/models/identity_provider_group_summary'
|
|
@@ -45,6 +58,12 @@ require 'oci/identity/models/idp_group_mapping'
|
|
|
45
58
|
require 'oci/identity/models/mfa_totp_device'
|
|
46
59
|
require 'oci/identity/models/mfa_totp_device_summary'
|
|
47
60
|
require 'oci/identity/models/mfa_totp_token'
|
|
61
|
+
require 'oci/identity/models/move_compartment_details'
|
|
62
|
+
require 'oci/identity/models/network_sources'
|
|
63
|
+
require 'oci/identity/models/network_sources_summary'
|
|
64
|
+
require 'oci/identity/models/network_sources_virtual_source_list'
|
|
65
|
+
require 'oci/identity/models/o_auth2_client_credential'
|
|
66
|
+
require 'oci/identity/models/o_auth2_client_credential_summary'
|
|
48
67
|
require 'oci/identity/models/password_policy'
|
|
49
68
|
require 'oci/identity/models/policy'
|
|
50
69
|
require 'oci/identity/models/region'
|
|
@@ -60,6 +79,10 @@ require 'oci/identity/models/tag_default_summary'
|
|
|
60
79
|
require 'oci/identity/models/tag_namespace'
|
|
61
80
|
require 'oci/identity/models/tag_namespace_summary'
|
|
62
81
|
require 'oci/identity/models/tag_summary'
|
|
82
|
+
require 'oci/identity/models/tagging_work_request'
|
|
83
|
+
require 'oci/identity/models/tagging_work_request_error_summary'
|
|
84
|
+
require 'oci/identity/models/tagging_work_request_log_summary'
|
|
85
|
+
require 'oci/identity/models/tagging_work_request_summary'
|
|
63
86
|
require 'oci/identity/models/tenancy'
|
|
64
87
|
require 'oci/identity/models/ui_password'
|
|
65
88
|
require 'oci/identity/models/ui_password_information'
|
|
@@ -71,6 +94,8 @@ require 'oci/identity/models/update_dynamic_group_details'
|
|
|
71
94
|
require 'oci/identity/models/update_group_details'
|
|
72
95
|
require 'oci/identity/models/update_identity_provider_details'
|
|
73
96
|
require 'oci/identity/models/update_idp_group_mapping_details'
|
|
97
|
+
require 'oci/identity/models/update_network_source_details'
|
|
98
|
+
require 'oci/identity/models/update_o_auth2_client_credential_details'
|
|
74
99
|
require 'oci/identity/models/update_policy_details'
|
|
75
100
|
require 'oci/identity/models/update_saml2_identity_provider_details'
|
|
76
101
|
require 'oci/identity/models/update_smtp_credential_details'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
2
3
|
|
|
3
4
|
require 'uri'
|
|
4
5
|
require 'logger'
|
|
@@ -50,16 +51,14 @@ module OCI
|
|
|
50
51
|
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
|
51
52
|
# will not perform any retries
|
|
52
53
|
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
|
53
|
-
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (
|
|
54
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
|
54
55
|
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
|
55
56
|
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
|
56
57
|
# pass it to this constructor.
|
|
57
58
|
#
|
|
58
59
|
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
|
59
60
|
# so try and load the config from the default file.
|
|
60
|
-
config
|
|
61
|
-
config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
62
|
-
config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
61
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
|
63
62
|
|
|
64
63
|
if signer.nil?
|
|
65
64
|
signer = OCI::Signer.new(
|
|
@@ -240,6 +239,370 @@ module OCI
|
|
|
240
239
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
241
240
|
|
|
242
241
|
|
|
242
|
+
# Assembles tag defaults in the specified compartment and any parent compartments to determine
|
|
243
|
+
# the tags to apply. Tag defaults from parent compartments do not override tag defaults
|
|
244
|
+
# referencing the same tag in a compartment lower down the hierarchy. This set of tag defaults
|
|
245
|
+
# includes all tag defaults from the current compartment back to the root compartment.
|
|
246
|
+
#
|
|
247
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
248
|
+
#
|
|
249
|
+
# @param [Hash] opts the optional parameters
|
|
250
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
251
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
252
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
253
|
+
#
|
|
254
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TagDefaultSummary TagDefaultSummary}>
|
|
255
|
+
def assemble_effective_tag_set(compartment_id, opts = {})
|
|
256
|
+
logger.debug 'Calling operation IdentityClient#assemble_effective_tag_set.' if logger
|
|
257
|
+
|
|
258
|
+
raise "Missing the required parameter 'compartment_id' when calling assemble_effective_tag_set." if compartment_id.nil?
|
|
259
|
+
|
|
260
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
261
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.'
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
path = '/tagDefaults/actions/assembleEffectiveTagSet'
|
|
265
|
+
operation_signing_strategy = :standard
|
|
266
|
+
|
|
267
|
+
# rubocop:disable Style/NegatedIf
|
|
268
|
+
# Query Params
|
|
269
|
+
query_params = {}
|
|
270
|
+
query_params[:compartmentId] = compartment_id
|
|
271
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
272
|
+
|
|
273
|
+
# Header Params
|
|
274
|
+
header_params = {}
|
|
275
|
+
header_params[:accept] = 'application/json'
|
|
276
|
+
header_params[:'content-type'] = 'application/json'
|
|
277
|
+
# rubocop:enable Style/NegatedIf
|
|
278
|
+
|
|
279
|
+
post_body = nil
|
|
280
|
+
|
|
281
|
+
# rubocop:disable Metrics/BlockLength
|
|
282
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#assemble_effective_tag_set') do
|
|
283
|
+
@api_client.call_api(
|
|
284
|
+
:GET,
|
|
285
|
+
path,
|
|
286
|
+
endpoint,
|
|
287
|
+
header_params: header_params,
|
|
288
|
+
query_params: query_params,
|
|
289
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
290
|
+
body: post_body,
|
|
291
|
+
return_type: 'Array<OCI::Identity::Models::TagDefaultSummary>'
|
|
292
|
+
)
|
|
293
|
+
end
|
|
294
|
+
# rubocop:enable Metrics/BlockLength
|
|
295
|
+
end
|
|
296
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
297
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
298
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
299
|
+
|
|
300
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
301
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
302
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
# Bulk delete resources in the compartment. All resources must be in the same compartment.
|
|
306
|
+
# This API can only be invoked from tenancy's home region.
|
|
307
|
+
#
|
|
308
|
+
# @param [String] compartment_id The OCID of the compartment.
|
|
309
|
+
# @param [OCI::Identity::Models::BulkDeleteResourcesDetails] bulk_delete_resources_details Request object for bulk delete resources in a compartment.
|
|
310
|
+
# @param [Hash] opts the optional parameters
|
|
311
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
312
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
313
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
314
|
+
# particular request, please provide the request ID.
|
|
315
|
+
#
|
|
316
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
317
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
318
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
319
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
320
|
+
# may be rejected).
|
|
321
|
+
#
|
|
322
|
+
# @return [Response] A Response object with data of type nil
|
|
323
|
+
def bulk_delete_resources(compartment_id, bulk_delete_resources_details, opts = {})
|
|
324
|
+
logger.debug 'Calling operation IdentityClient#bulk_delete_resources.' if logger
|
|
325
|
+
|
|
326
|
+
raise "Missing the required parameter 'compartment_id' when calling bulk_delete_resources." if compartment_id.nil?
|
|
327
|
+
raise "Missing the required parameter 'bulk_delete_resources_details' when calling bulk_delete_resources." if bulk_delete_resources_details.nil?
|
|
328
|
+
raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
|
|
329
|
+
|
|
330
|
+
path = '/compartments/{compartmentId}/actions/bulkDeleteResources'.sub('{compartmentId}', compartment_id.to_s)
|
|
331
|
+
operation_signing_strategy = :standard
|
|
332
|
+
|
|
333
|
+
# rubocop:disable Style/NegatedIf
|
|
334
|
+
# Query Params
|
|
335
|
+
query_params = {}
|
|
336
|
+
|
|
337
|
+
# Header Params
|
|
338
|
+
header_params = {}
|
|
339
|
+
header_params[:accept] = 'application/json'
|
|
340
|
+
header_params[:'content-type'] = 'application/json'
|
|
341
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
342
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
343
|
+
# rubocop:enable Style/NegatedIf
|
|
344
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
345
|
+
|
|
346
|
+
post_body = @api_client.object_to_http_body(bulk_delete_resources_details)
|
|
347
|
+
|
|
348
|
+
# rubocop:disable Metrics/BlockLength
|
|
349
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#bulk_delete_resources') do
|
|
350
|
+
@api_client.call_api(
|
|
351
|
+
:POST,
|
|
352
|
+
path,
|
|
353
|
+
endpoint,
|
|
354
|
+
header_params: header_params,
|
|
355
|
+
query_params: query_params,
|
|
356
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
357
|
+
body: post_body
|
|
358
|
+
)
|
|
359
|
+
end
|
|
360
|
+
# rubocop:enable Metrics/BlockLength
|
|
361
|
+
end
|
|
362
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
363
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
364
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
365
|
+
|
|
366
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
367
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
368
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
# Deletes the specified tag key definitions. This operation triggers a process that removes the
|
|
372
|
+
# tags from all resources in your tenancy.
|
|
373
|
+
#
|
|
374
|
+
# The following actions happen immediately:
|
|
375
|
+
# \u00A0
|
|
376
|
+
# * If the tag is a cost-tracking tag, the tag no longer counts against your
|
|
377
|
+
# 10 cost-tracking tags limit, even if you do not disable the tag before running this operation.
|
|
378
|
+
# * If the tag is used with dynamic groups, the rules that contain the tag are no longer
|
|
379
|
+
# evaluated against the tag.
|
|
380
|
+
#
|
|
381
|
+
# After you start this operation, the state of the tag changes to DELETING, and tag removal
|
|
382
|
+
# from resources begins. This process can take up to 48 hours depending on the number of resources that
|
|
383
|
+
# are tagged and the regions in which those resources reside.
|
|
384
|
+
#
|
|
385
|
+
# When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. After the tag state
|
|
386
|
+
# changes to DELETED, you can use the same tag name again.
|
|
387
|
+
#
|
|
388
|
+
# After you start this operation, you cannot start either the {#delete_tag delete_tag} or the {#cascade_delete_tag_namespace cascade_delete_tag_namespace} operation until this process completes.
|
|
389
|
+
#
|
|
390
|
+
# In order to delete tags, you must first retire the tags. Use {#update_tag update_tag}
|
|
391
|
+
# to retire a tag.
|
|
392
|
+
#
|
|
393
|
+
# @param [OCI::Identity::Models::BulkDeleteTagsDetails] bulk_delete_tags_details Request object for deleting tags in bulk.
|
|
394
|
+
# @param [Hash] opts the optional parameters
|
|
395
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
396
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
397
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
398
|
+
# particular request, please provide the request ID.
|
|
399
|
+
#
|
|
400
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
401
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
402
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
403
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
404
|
+
# may be rejected).
|
|
405
|
+
#
|
|
406
|
+
# @return [Response] A Response object with data of type nil
|
|
407
|
+
def bulk_delete_tags(bulk_delete_tags_details, opts = {})
|
|
408
|
+
logger.debug 'Calling operation IdentityClient#bulk_delete_tags.' if logger
|
|
409
|
+
|
|
410
|
+
raise "Missing the required parameter 'bulk_delete_tags_details' when calling bulk_delete_tags." if bulk_delete_tags_details.nil?
|
|
411
|
+
|
|
412
|
+
path = '/tags/actions/bulkDelete'
|
|
413
|
+
operation_signing_strategy = :standard
|
|
414
|
+
|
|
415
|
+
# rubocop:disable Style/NegatedIf
|
|
416
|
+
# Query Params
|
|
417
|
+
query_params = {}
|
|
418
|
+
|
|
419
|
+
# Header Params
|
|
420
|
+
header_params = {}
|
|
421
|
+
header_params[:accept] = 'application/json'
|
|
422
|
+
header_params[:'content-type'] = 'application/json'
|
|
423
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
424
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
425
|
+
# rubocop:enable Style/NegatedIf
|
|
426
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
427
|
+
|
|
428
|
+
post_body = @api_client.object_to_http_body(bulk_delete_tags_details)
|
|
429
|
+
|
|
430
|
+
# rubocop:disable Metrics/BlockLength
|
|
431
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#bulk_delete_tags') do
|
|
432
|
+
@api_client.call_api(
|
|
433
|
+
:POST,
|
|
434
|
+
path,
|
|
435
|
+
endpoint,
|
|
436
|
+
header_params: header_params,
|
|
437
|
+
query_params: query_params,
|
|
438
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
439
|
+
body: post_body
|
|
440
|
+
)
|
|
441
|
+
end
|
|
442
|
+
# rubocop:enable Metrics/BlockLength
|
|
443
|
+
end
|
|
444
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
445
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
446
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
447
|
+
|
|
448
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
449
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
450
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
# Bulk move resources in the compartment. All resources must be in the same compartment.
|
|
454
|
+
# This API can only be invoked from tenancy's home region.
|
|
455
|
+
#
|
|
456
|
+
# @param [String] compartment_id The OCID of the compartment.
|
|
457
|
+
# @param [OCI::Identity::Models::BulkMoveResourcesDetails] bulk_move_resources_details Request object for bulk move resources in the compartment.
|
|
458
|
+
# @param [Hash] opts the optional parameters
|
|
459
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
460
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
461
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
462
|
+
# particular request, please provide the request ID.
|
|
463
|
+
#
|
|
464
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
465
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
466
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
467
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
468
|
+
# may be rejected).
|
|
469
|
+
#
|
|
470
|
+
# @return [Response] A Response object with data of type nil
|
|
471
|
+
def bulk_move_resources(compartment_id, bulk_move_resources_details, opts = {})
|
|
472
|
+
logger.debug 'Calling operation IdentityClient#bulk_move_resources.' if logger
|
|
473
|
+
|
|
474
|
+
raise "Missing the required parameter 'compartment_id' when calling bulk_move_resources." if compartment_id.nil?
|
|
475
|
+
raise "Missing the required parameter 'bulk_move_resources_details' when calling bulk_move_resources." if bulk_move_resources_details.nil?
|
|
476
|
+
raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
|
|
477
|
+
|
|
478
|
+
path = '/compartments/{compartmentId}/actions/bulkMoveResources'.sub('{compartmentId}', compartment_id.to_s)
|
|
479
|
+
operation_signing_strategy = :standard
|
|
480
|
+
|
|
481
|
+
# rubocop:disable Style/NegatedIf
|
|
482
|
+
# Query Params
|
|
483
|
+
query_params = {}
|
|
484
|
+
|
|
485
|
+
# Header Params
|
|
486
|
+
header_params = {}
|
|
487
|
+
header_params[:accept] = 'application/json'
|
|
488
|
+
header_params[:'content-type'] = 'application/json'
|
|
489
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
490
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
491
|
+
# rubocop:enable Style/NegatedIf
|
|
492
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
493
|
+
|
|
494
|
+
post_body = @api_client.object_to_http_body(bulk_move_resources_details)
|
|
495
|
+
|
|
496
|
+
# rubocop:disable Metrics/BlockLength
|
|
497
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#bulk_move_resources') do
|
|
498
|
+
@api_client.call_api(
|
|
499
|
+
:POST,
|
|
500
|
+
path,
|
|
501
|
+
endpoint,
|
|
502
|
+
header_params: header_params,
|
|
503
|
+
query_params: query_params,
|
|
504
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
505
|
+
body: post_body
|
|
506
|
+
)
|
|
507
|
+
end
|
|
508
|
+
# rubocop:enable Metrics/BlockLength
|
|
509
|
+
end
|
|
510
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
511
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
512
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
513
|
+
|
|
514
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
515
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
516
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
# Deletes the specified tag namespace. This operation triggers a process that removes all of the tags
|
|
520
|
+
# defined in the specified tag namespace from all resources in your tenancy and then deletes the tag namespace.
|
|
521
|
+
#
|
|
522
|
+
# After you start the delete operation:
|
|
523
|
+
#
|
|
524
|
+
# * New tag key definitions cannot be created under the namespace.
|
|
525
|
+
# * The state of the tag namespace changes to DELETING.
|
|
526
|
+
# * Tag removal from the resources begins.
|
|
527
|
+
#
|
|
528
|
+
# This process can take up to 48 hours depending on the number of tag definitions in the namespace, the number of resources
|
|
529
|
+
# that are tagged, and the locations of the regions in which those resources reside.
|
|
530
|
+
#
|
|
531
|
+
# After all tags are removed, the state changes to DELETED. You cannot restore a deleted tag namespace. After the deleted tag namespace
|
|
532
|
+
# changes its state to DELETED, you can use the name of the deleted tag namespace again.
|
|
533
|
+
#
|
|
534
|
+
# After you start this operation, you cannot start either the {#delete_tag delete_tag} or the {#bulk_delete_tags bulk_delete_tags} operation until this process completes.
|
|
535
|
+
#
|
|
536
|
+
# To delete a tag namespace, you must first retire it. Use {#update_tag_namespace update_tag_namespace}
|
|
537
|
+
# to retire a tag namespace.
|
|
538
|
+
#
|
|
539
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
540
|
+
#
|
|
541
|
+
# @param [Hash] opts the optional parameters
|
|
542
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
543
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
544
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
545
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
546
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
547
|
+
#
|
|
548
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
549
|
+
# particular request, please provide the request ID.
|
|
550
|
+
#
|
|
551
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
552
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
553
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
554
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
555
|
+
# may be rejected).
|
|
556
|
+
#
|
|
557
|
+
# @return [Response] A Response object with data of type nil
|
|
558
|
+
def cascade_delete_tag_namespace(tag_namespace_id, opts = {})
|
|
559
|
+
logger.debug 'Calling operation IdentityClient#cascade_delete_tag_namespace.' if logger
|
|
560
|
+
|
|
561
|
+
raise "Missing the required parameter 'tag_namespace_id' when calling cascade_delete_tag_namespace." if tag_namespace_id.nil?
|
|
562
|
+
raise "Parameter value for 'tag_namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(tag_namespace_id)
|
|
563
|
+
|
|
564
|
+
path = '/tagNamespaces/{tagNamespaceId}/actions/cascadeDelete'.sub('{tagNamespaceId}', tag_namespace_id.to_s)
|
|
565
|
+
operation_signing_strategy = :standard
|
|
566
|
+
|
|
567
|
+
# rubocop:disable Style/NegatedIf
|
|
568
|
+
# Query Params
|
|
569
|
+
query_params = {}
|
|
570
|
+
|
|
571
|
+
# Header Params
|
|
572
|
+
header_params = {}
|
|
573
|
+
header_params[:accept] = 'application/json'
|
|
574
|
+
header_params[:'content-type'] = 'application/json'
|
|
575
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
576
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
577
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
578
|
+
# rubocop:enable Style/NegatedIf
|
|
579
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
580
|
+
|
|
581
|
+
post_body = nil
|
|
582
|
+
|
|
583
|
+
# rubocop:disable Metrics/BlockLength
|
|
584
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#cascade_delete_tag_namespace') do
|
|
585
|
+
@api_client.call_api(
|
|
586
|
+
:POST,
|
|
587
|
+
path,
|
|
588
|
+
endpoint,
|
|
589
|
+
header_params: header_params,
|
|
590
|
+
query_params: query_params,
|
|
591
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
592
|
+
body: post_body
|
|
593
|
+
)
|
|
594
|
+
end
|
|
595
|
+
# rubocop:enable Metrics/BlockLength
|
|
596
|
+
end
|
|
597
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
598
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
599
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
600
|
+
|
|
601
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
602
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
603
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
604
|
+
|
|
605
|
+
|
|
243
606
|
# Moves the specified tag namespace to the specified compartment within the same tenancy.
|
|
244
607
|
#
|
|
245
608
|
# To move the tag namespace, you must have the manage tag-namespaces permission on both compartments.
|
|
@@ -881,6 +1244,147 @@ module OCI
|
|
|
881
1244
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
882
1245
|
|
|
883
1246
|
|
|
1247
|
+
# Creates a new network source in your tenancy.
|
|
1248
|
+
#
|
|
1249
|
+
# You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
|
|
1250
|
+
# is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
|
|
1251
|
+
# reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
|
|
1252
|
+
# reside within compartments inside the tenancy. For information about OCIDs, see
|
|
1253
|
+
# [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
1254
|
+
#
|
|
1255
|
+
# You must also specify a *name* for the network source, which must be unique across all network sources in your
|
|
1256
|
+
# tenancy, and cannot be changed.
|
|
1257
|
+
# You can use this name or the OCID when writing policies that apply to the network source. For more information
|
|
1258
|
+
# about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
|
|
1259
|
+
#
|
|
1260
|
+
# You must also specify a *description* for the network source (although it can be an empty string). It does not
|
|
1261
|
+
# have to be unique, and you can change it anytime with {#update_network_source update_network_source}.
|
|
1262
|
+
#
|
|
1263
|
+
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
1264
|
+
# object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
1265
|
+
#
|
|
1266
|
+
# After your network resource is created, you can use it in policy to restrict access to only requests made from an allowed
|
|
1267
|
+
# IP address specified in your network source. For more information, see [Managing Network Sources](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
|
|
1268
|
+
#
|
|
1269
|
+
# @param [OCI::Identity::Models::CreateNetworkSourceDetails] create_network_source_details Request object for creating a new network source.
|
|
1270
|
+
# @param [Hash] opts the optional parameters
|
|
1271
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1272
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1273
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1274
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1275
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
1276
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1277
|
+
# may be rejected).
|
|
1278
|
+
#
|
|
1279
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::NetworkSources NetworkSources}
|
|
1280
|
+
def create_network_source(create_network_source_details, opts = {})
|
|
1281
|
+
logger.debug 'Calling operation IdentityClient#create_network_source.' if logger
|
|
1282
|
+
|
|
1283
|
+
raise "Missing the required parameter 'create_network_source_details' when calling create_network_source." if create_network_source_details.nil?
|
|
1284
|
+
|
|
1285
|
+
path = '/networkSources'
|
|
1286
|
+
operation_signing_strategy = :standard
|
|
1287
|
+
|
|
1288
|
+
# rubocop:disable Style/NegatedIf
|
|
1289
|
+
# Query Params
|
|
1290
|
+
query_params = {}
|
|
1291
|
+
|
|
1292
|
+
# Header Params
|
|
1293
|
+
header_params = {}
|
|
1294
|
+
header_params[:accept] = 'application/json'
|
|
1295
|
+
header_params[:'content-type'] = 'application/json'
|
|
1296
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1297
|
+
# rubocop:enable Style/NegatedIf
|
|
1298
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1299
|
+
|
|
1300
|
+
post_body = @api_client.object_to_http_body(create_network_source_details)
|
|
1301
|
+
|
|
1302
|
+
# rubocop:disable Metrics/BlockLength
|
|
1303
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_network_source') do
|
|
1304
|
+
@api_client.call_api(
|
|
1305
|
+
:POST,
|
|
1306
|
+
path,
|
|
1307
|
+
endpoint,
|
|
1308
|
+
header_params: header_params,
|
|
1309
|
+
query_params: query_params,
|
|
1310
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1311
|
+
body: post_body,
|
|
1312
|
+
return_type: 'OCI::Identity::Models::NetworkSources'
|
|
1313
|
+
)
|
|
1314
|
+
end
|
|
1315
|
+
# rubocop:enable Metrics/BlockLength
|
|
1316
|
+
end
|
|
1317
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1318
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1319
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1320
|
+
|
|
1321
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1322
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1323
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
# Creates Oauth token for the user
|
|
1327
|
+
#
|
|
1328
|
+
# @param [String] user_id The OCID of the user.
|
|
1329
|
+
# @param [OCI::Identity::Models::CreateOAuth2ClientCredentialDetails] create_o_auth2_client_credential_details Request object containing the information required to generate an Oauth token.
|
|
1330
|
+
# @param [Hash] opts the optional parameters
|
|
1331
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1332
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1333
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1334
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1335
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
1336
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1337
|
+
# may be rejected).
|
|
1338
|
+
#
|
|
1339
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::OAuth2ClientCredential OAuth2ClientCredential}
|
|
1340
|
+
def create_o_auth_client_credential(user_id, create_o_auth2_client_credential_details, opts = {})
|
|
1341
|
+
logger.debug 'Calling operation IdentityClient#create_o_auth_client_credential.' if logger
|
|
1342
|
+
|
|
1343
|
+
raise "Missing the required parameter 'user_id' when calling create_o_auth_client_credential." if user_id.nil?
|
|
1344
|
+
raise "Missing the required parameter 'create_o_auth2_client_credential_details' when calling create_o_auth_client_credential." if create_o_auth2_client_credential_details.nil?
|
|
1345
|
+
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
1346
|
+
|
|
1347
|
+
path = '/users/{userId}/oauth2ClientCredentials'.sub('{userId}', user_id.to_s)
|
|
1348
|
+
operation_signing_strategy = :standard
|
|
1349
|
+
|
|
1350
|
+
# rubocop:disable Style/NegatedIf
|
|
1351
|
+
# Query Params
|
|
1352
|
+
query_params = {}
|
|
1353
|
+
|
|
1354
|
+
# Header Params
|
|
1355
|
+
header_params = {}
|
|
1356
|
+
header_params[:accept] = 'application/json'
|
|
1357
|
+
header_params[:'content-type'] = 'application/json'
|
|
1358
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1359
|
+
# rubocop:enable Style/NegatedIf
|
|
1360
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1361
|
+
|
|
1362
|
+
post_body = @api_client.object_to_http_body(create_o_auth2_client_credential_details)
|
|
1363
|
+
|
|
1364
|
+
# rubocop:disable Metrics/BlockLength
|
|
1365
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_o_auth_client_credential') do
|
|
1366
|
+
@api_client.call_api(
|
|
1367
|
+
:POST,
|
|
1368
|
+
path,
|
|
1369
|
+
endpoint,
|
|
1370
|
+
header_params: header_params,
|
|
1371
|
+
query_params: query_params,
|
|
1372
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1373
|
+
body: post_body,
|
|
1374
|
+
return_type: 'OCI::Identity::Models::OAuth2ClientCredential'
|
|
1375
|
+
)
|
|
1376
|
+
end
|
|
1377
|
+
# rubocop:enable Metrics/BlockLength
|
|
1378
|
+
end
|
|
1379
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1380
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1381
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1382
|
+
|
|
1383
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1384
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1385
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1386
|
+
|
|
1387
|
+
|
|
884
1388
|
# Creates a new Console one-time password for the specified user. For more information about user
|
|
885
1389
|
# credentials, see [User Credentials](https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
|
|
886
1390
|
#
|
|
@@ -1228,17 +1732,27 @@ module OCI
|
|
|
1228
1732
|
|
|
1229
1733
|
# Creates a new tag in the specified tag namespace.
|
|
1230
1734
|
#
|
|
1231
|
-
#
|
|
1735
|
+
# The tag requires either the OCID or the name of the tag namespace that will contain this
|
|
1736
|
+
# tag definition.
|
|
1232
1737
|
#
|
|
1233
|
-
# You must
|
|
1738
|
+
# You must specify a *name* for the tag, which must be unique across all tags in the tag namespace
|
|
1234
1739
|
# and cannot be changed. The name can contain any ASCII character except the space (_) or period (.) characters.
|
|
1235
1740
|
# Names are case insensitive. That means, for example, \"myTag\" and \"mytag\" are not allowed in the same namespace.
|
|
1236
1741
|
# If you specify a name that's already in use in the tag namespace, a 409 error is returned.
|
|
1237
1742
|
#
|
|
1238
|
-
#
|
|
1239
|
-
# It does not have to be unique, and you can change it with
|
|
1743
|
+
# The tag must have a *description*. It does not have to be unique, and you can change it with
|
|
1240
1744
|
# {#update_tag update_tag}.
|
|
1241
1745
|
#
|
|
1746
|
+
# The tag must have a value type, which is specified with a validator. Tags can use either a
|
|
1747
|
+
# static value or a list of possible values. Static values are entered by a user applying the tag
|
|
1748
|
+
# to a resource. Lists are created by you and the user must apply a value from the list. Lists
|
|
1749
|
+
# are validiated.
|
|
1750
|
+
#
|
|
1751
|
+
# * If no `validator` is set, the user applying the tag to a resource can type in a static
|
|
1752
|
+
# value or leave the tag value empty.
|
|
1753
|
+
# * If a `validator` is set, the user applying the tag to a resource must select from a list
|
|
1754
|
+
# of values that you supply with {#enum_tag_definition_validator enum_tag_definition_validator}.
|
|
1755
|
+
#
|
|
1242
1756
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
1243
1757
|
#
|
|
1244
1758
|
# @param [OCI::Identity::Models::CreateTagDetails] create_tag_details Request object for creating a new tag in the specified tag namespace.
|
|
@@ -1302,6 +1816,13 @@ module OCI
|
|
|
1302
1816
|
|
|
1303
1817
|
# Creates a new tag default in the specified compartment for the specified tag definition.
|
|
1304
1818
|
#
|
|
1819
|
+
# If you specify that a value is required, a value is set during resource creation (either by
|
|
1820
|
+
# the user creating the resource or another tag defualt). If no value is set, resource creation
|
|
1821
|
+
# is blocked.
|
|
1822
|
+
#
|
|
1823
|
+
# * If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
|
1824
|
+
# * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
|
1825
|
+
#
|
|
1305
1826
|
# @param [OCI::Identity::Models::CreateTagDefaultDetails] create_tag_default_details Request object for creating a new tag default.
|
|
1306
1827
|
# @param [Hash] opts the optional parameters
|
|
1307
1828
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1378,9 +1899,6 @@ module OCI
|
|
|
1378
1899
|
# It does not have to be unique, and you can change it with
|
|
1379
1900
|
# {#update_tag_namespace update_tag_namespace}.
|
|
1380
1901
|
#
|
|
1381
|
-
# Tag namespaces cannot be deleted, but they can be retired.
|
|
1382
|
-
# See [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring) for more information.
|
|
1383
|
-
#
|
|
1384
1902
|
# @param [OCI::Identity::Models::CreateTagNamespaceDetails] create_tag_namespace_details Request object for creating a new tag namespace.
|
|
1385
1903
|
# @param [Hash] opts the optional parameters
|
|
1386
1904
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1747,7 +2265,119 @@ module OCI
|
|
|
1747
2265
|
post_body = nil
|
|
1748
2266
|
|
|
1749
2267
|
# rubocop:disable Metrics/BlockLength
|
|
1750
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_customer_secret_key') do
|
|
2268
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_customer_secret_key') do
|
|
2269
|
+
@api_client.call_api(
|
|
2270
|
+
:DELETE,
|
|
2271
|
+
path,
|
|
2272
|
+
endpoint,
|
|
2273
|
+
header_params: header_params,
|
|
2274
|
+
query_params: query_params,
|
|
2275
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2276
|
+
body: post_body
|
|
2277
|
+
)
|
|
2278
|
+
end
|
|
2279
|
+
# rubocop:enable Metrics/BlockLength
|
|
2280
|
+
end
|
|
2281
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2282
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2283
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2284
|
+
|
|
2285
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2286
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2287
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
# Deletes the specified dynamic group.
|
|
2291
|
+
#
|
|
2292
|
+
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
|
2293
|
+
# @param [Hash] opts the optional parameters
|
|
2294
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2295
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2296
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
2297
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
2298
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2299
|
+
#
|
|
2300
|
+
# @return [Response] A Response object with data of type nil
|
|
2301
|
+
def delete_dynamic_group(dynamic_group_id, opts = {})
|
|
2302
|
+
logger.debug 'Calling operation IdentityClient#delete_dynamic_group.' if logger
|
|
2303
|
+
|
|
2304
|
+
raise "Missing the required parameter 'dynamic_group_id' when calling delete_dynamic_group." if dynamic_group_id.nil?
|
|
2305
|
+
raise "Parameter value for 'dynamic_group_id' must not be blank" if OCI::Internal::Util.blank_string?(dynamic_group_id)
|
|
2306
|
+
|
|
2307
|
+
path = '/dynamicGroups/{dynamicGroupId}'.sub('{dynamicGroupId}', dynamic_group_id.to_s)
|
|
2308
|
+
operation_signing_strategy = :standard
|
|
2309
|
+
|
|
2310
|
+
# rubocop:disable Style/NegatedIf
|
|
2311
|
+
# Query Params
|
|
2312
|
+
query_params = {}
|
|
2313
|
+
|
|
2314
|
+
# Header Params
|
|
2315
|
+
header_params = {}
|
|
2316
|
+
header_params[:accept] = 'application/json'
|
|
2317
|
+
header_params[:'content-type'] = 'application/json'
|
|
2318
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2319
|
+
# rubocop:enable Style/NegatedIf
|
|
2320
|
+
|
|
2321
|
+
post_body = nil
|
|
2322
|
+
|
|
2323
|
+
# rubocop:disable Metrics/BlockLength
|
|
2324
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_dynamic_group') do
|
|
2325
|
+
@api_client.call_api(
|
|
2326
|
+
:DELETE,
|
|
2327
|
+
path,
|
|
2328
|
+
endpoint,
|
|
2329
|
+
header_params: header_params,
|
|
2330
|
+
query_params: query_params,
|
|
2331
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2332
|
+
body: post_body
|
|
2333
|
+
)
|
|
2334
|
+
end
|
|
2335
|
+
# rubocop:enable Metrics/BlockLength
|
|
2336
|
+
end
|
|
2337
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2338
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2339
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2340
|
+
|
|
2341
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2342
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2343
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
# Deletes the specified group. The group must be empty.
|
|
2347
|
+
#
|
|
2348
|
+
# @param [String] group_id The OCID of the group.
|
|
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_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
2353
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
2354
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2355
|
+
#
|
|
2356
|
+
# @return [Response] A Response object with data of type nil
|
|
2357
|
+
def delete_group(group_id, opts = {})
|
|
2358
|
+
logger.debug 'Calling operation IdentityClient#delete_group.' if logger
|
|
2359
|
+
|
|
2360
|
+
raise "Missing the required parameter 'group_id' when calling delete_group." if group_id.nil?
|
|
2361
|
+
raise "Parameter value for 'group_id' must not be blank" if OCI::Internal::Util.blank_string?(group_id)
|
|
2362
|
+
|
|
2363
|
+
path = '/groups/{groupId}'.sub('{groupId}', group_id.to_s)
|
|
2364
|
+
operation_signing_strategy = :standard
|
|
2365
|
+
|
|
2366
|
+
# rubocop:disable Style/NegatedIf
|
|
2367
|
+
# Query Params
|
|
2368
|
+
query_params = {}
|
|
2369
|
+
|
|
2370
|
+
# Header Params
|
|
2371
|
+
header_params = {}
|
|
2372
|
+
header_params[:accept] = 'application/json'
|
|
2373
|
+
header_params[:'content-type'] = 'application/json'
|
|
2374
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2375
|
+
# rubocop:enable Style/NegatedIf
|
|
2376
|
+
|
|
2377
|
+
post_body = nil
|
|
2378
|
+
|
|
2379
|
+
# rubocop:disable Metrics/BlockLength
|
|
2380
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_group') do
|
|
1751
2381
|
@api_client.call_api(
|
|
1752
2382
|
:DELETE,
|
|
1753
2383
|
path,
|
|
@@ -1769,9 +2399,10 @@ module OCI
|
|
|
1769
2399
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1770
2400
|
|
|
1771
2401
|
|
|
1772
|
-
# Deletes the specified
|
|
2402
|
+
# Deletes the specified identity provider. The identity provider must not have
|
|
2403
|
+
# any group mappings (see {IdpGroupMapping}).
|
|
1773
2404
|
#
|
|
1774
|
-
# @param [String]
|
|
2405
|
+
# @param [String] identity_provider_id The OCID of the identity provider.
|
|
1775
2406
|
# @param [Hash] opts the optional parameters
|
|
1776
2407
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1777
2408
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1780,13 +2411,13 @@ module OCI
|
|
|
1780
2411
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
1781
2412
|
#
|
|
1782
2413
|
# @return [Response] A Response object with data of type nil
|
|
1783
|
-
def
|
|
1784
|
-
logger.debug 'Calling operation IdentityClient#
|
|
2414
|
+
def delete_identity_provider(identity_provider_id, opts = {})
|
|
2415
|
+
logger.debug 'Calling operation IdentityClient#delete_identity_provider.' if logger
|
|
1785
2416
|
|
|
1786
|
-
raise "Missing the required parameter '
|
|
1787
|
-
raise "Parameter value for '
|
|
2417
|
+
raise "Missing the required parameter 'identity_provider_id' when calling delete_identity_provider." if identity_provider_id.nil?
|
|
2418
|
+
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
1788
2419
|
|
|
1789
|
-
path = '/
|
|
2420
|
+
path = '/identityProviders/{identityProviderId}'.sub('{identityProviderId}', identity_provider_id.to_s)
|
|
1790
2421
|
operation_signing_strategy = :standard
|
|
1791
2422
|
|
|
1792
2423
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1803,7 +2434,7 @@ module OCI
|
|
|
1803
2434
|
post_body = nil
|
|
1804
2435
|
|
|
1805
2436
|
# rubocop:disable Metrics/BlockLength
|
|
1806
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
2437
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_identity_provider') do
|
|
1807
2438
|
@api_client.call_api(
|
|
1808
2439
|
:DELETE,
|
|
1809
2440
|
path,
|
|
@@ -1825,9 +2456,9 @@ module OCI
|
|
|
1825
2456
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1826
2457
|
|
|
1827
2458
|
|
|
1828
|
-
# Deletes the specified group
|
|
1829
|
-
#
|
|
1830
|
-
# @param [String]
|
|
2459
|
+
# Deletes the specified group mapping.
|
|
2460
|
+
# @param [String] identity_provider_id The OCID of the identity provider.
|
|
2461
|
+
# @param [String] mapping_id The OCID of the group mapping.
|
|
1831
2462
|
# @param [Hash] opts the optional parameters
|
|
1832
2463
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1833
2464
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1836,13 +2467,15 @@ module OCI
|
|
|
1836
2467
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
1837
2468
|
#
|
|
1838
2469
|
# @return [Response] A Response object with data of type nil
|
|
1839
|
-
def
|
|
1840
|
-
logger.debug 'Calling operation IdentityClient#
|
|
2470
|
+
def delete_idp_group_mapping(identity_provider_id, mapping_id, opts = {})
|
|
2471
|
+
logger.debug 'Calling operation IdentityClient#delete_idp_group_mapping.' if logger
|
|
1841
2472
|
|
|
1842
|
-
raise "Missing the required parameter '
|
|
1843
|
-
raise "
|
|
2473
|
+
raise "Missing the required parameter 'identity_provider_id' when calling delete_idp_group_mapping." if identity_provider_id.nil?
|
|
2474
|
+
raise "Missing the required parameter 'mapping_id' when calling delete_idp_group_mapping." if mapping_id.nil?
|
|
2475
|
+
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
2476
|
+
raise "Parameter value for 'mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(mapping_id)
|
|
1844
2477
|
|
|
1845
|
-
path = '/
|
|
2478
|
+
path = '/identityProviders/{identityProviderId}/groupMappings/{mappingId}'.sub('{identityProviderId}', identity_provider_id.to_s).sub('{mappingId}', mapping_id.to_s)
|
|
1846
2479
|
operation_signing_strategy = :standard
|
|
1847
2480
|
|
|
1848
2481
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1859,7 +2492,7 @@ module OCI
|
|
|
1859
2492
|
post_body = nil
|
|
1860
2493
|
|
|
1861
2494
|
# rubocop:disable Metrics/BlockLength
|
|
1862
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
2495
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_idp_group_mapping') do
|
|
1863
2496
|
@api_client.call_api(
|
|
1864
2497
|
:DELETE,
|
|
1865
2498
|
path,
|
|
@@ -1881,10 +2514,10 @@ module OCI
|
|
|
1881
2514
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1882
2515
|
|
|
1883
2516
|
|
|
1884
|
-
# Deletes the specified
|
|
1885
|
-
# any group mappings (see {IdpGroupMapping}).
|
|
2517
|
+
# Deletes the specified MFA TOTP device for the specified user.
|
|
1886
2518
|
#
|
|
1887
|
-
# @param [String]
|
|
2519
|
+
# @param [String] user_id The OCID of the user.
|
|
2520
|
+
# @param [String] mfa_totp_device_id The OCID of the MFA TOTP device.
|
|
1888
2521
|
# @param [Hash] opts the optional parameters
|
|
1889
2522
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1890
2523
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1893,13 +2526,15 @@ module OCI
|
|
|
1893
2526
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
1894
2527
|
#
|
|
1895
2528
|
# @return [Response] A Response object with data of type nil
|
|
1896
|
-
def
|
|
1897
|
-
logger.debug 'Calling operation IdentityClient#
|
|
2529
|
+
def delete_mfa_totp_device(user_id, mfa_totp_device_id, opts = {})
|
|
2530
|
+
logger.debug 'Calling operation IdentityClient#delete_mfa_totp_device.' if logger
|
|
1898
2531
|
|
|
1899
|
-
raise "Missing the required parameter '
|
|
1900
|
-
raise "
|
|
2532
|
+
raise "Missing the required parameter 'user_id' when calling delete_mfa_totp_device." if user_id.nil?
|
|
2533
|
+
raise "Missing the required parameter 'mfa_totp_device_id' when calling delete_mfa_totp_device." if mfa_totp_device_id.nil?
|
|
2534
|
+
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
2535
|
+
raise "Parameter value for 'mfa_totp_device_id' must not be blank" if OCI::Internal::Util.blank_string?(mfa_totp_device_id)
|
|
1901
2536
|
|
|
1902
|
-
path = '/
|
|
2537
|
+
path = '/users/{userId}/mfaTotpDevices/{mfaTotpDeviceId}'.sub('{userId}', user_id.to_s).sub('{mfaTotpDeviceId}', mfa_totp_device_id.to_s)
|
|
1903
2538
|
operation_signing_strategy = :standard
|
|
1904
2539
|
|
|
1905
2540
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1916,7 +2551,7 @@ module OCI
|
|
|
1916
2551
|
post_body = nil
|
|
1917
2552
|
|
|
1918
2553
|
# rubocop:disable Metrics/BlockLength
|
|
1919
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
2554
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_mfa_totp_device') do
|
|
1920
2555
|
@api_client.call_api(
|
|
1921
2556
|
:DELETE,
|
|
1922
2557
|
path,
|
|
@@ -1938,9 +2573,9 @@ module OCI
|
|
|
1938
2573
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1939
2574
|
|
|
1940
2575
|
|
|
1941
|
-
# Deletes the specified
|
|
1942
|
-
#
|
|
1943
|
-
# @param [String]
|
|
2576
|
+
# Deletes the specified network source
|
|
2577
|
+
#
|
|
2578
|
+
# @param [String] network_source_id The OCID of the network source.
|
|
1944
2579
|
# @param [Hash] opts the optional parameters
|
|
1945
2580
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1946
2581
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1949,15 +2584,13 @@ module OCI
|
|
|
1949
2584
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
1950
2585
|
#
|
|
1951
2586
|
# @return [Response] A Response object with data of type nil
|
|
1952
|
-
def
|
|
1953
|
-
logger.debug 'Calling operation IdentityClient#
|
|
2587
|
+
def delete_network_source(network_source_id, opts = {})
|
|
2588
|
+
logger.debug 'Calling operation IdentityClient#delete_network_source.' if logger
|
|
1954
2589
|
|
|
1955
|
-
raise "Missing the required parameter '
|
|
1956
|
-
raise "
|
|
1957
|
-
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
1958
|
-
raise "Parameter value for 'mapping_id' must not be blank" if OCI::Internal::Util.blank_string?(mapping_id)
|
|
2590
|
+
raise "Missing the required parameter 'network_source_id' when calling delete_network_source." if network_source_id.nil?
|
|
2591
|
+
raise "Parameter value for 'network_source_id' must not be blank" if OCI::Internal::Util.blank_string?(network_source_id)
|
|
1959
2592
|
|
|
1960
|
-
path = '/
|
|
2593
|
+
path = '/networkSources/{networkSourceId}'.sub('{networkSourceId}', network_source_id.to_s)
|
|
1961
2594
|
operation_signing_strategy = :standard
|
|
1962
2595
|
|
|
1963
2596
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1974,7 +2607,7 @@ module OCI
|
|
|
1974
2607
|
post_body = nil
|
|
1975
2608
|
|
|
1976
2609
|
# rubocop:disable Metrics/BlockLength
|
|
1977
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
2610
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_network_source') do
|
|
1978
2611
|
@api_client.call_api(
|
|
1979
2612
|
:DELETE,
|
|
1980
2613
|
path,
|
|
@@ -1996,10 +2629,10 @@ module OCI
|
|
|
1996
2629
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1997
2630
|
|
|
1998
2631
|
|
|
1999
|
-
#
|
|
2632
|
+
# Delete Oauth token for the user
|
|
2000
2633
|
#
|
|
2001
2634
|
# @param [String] user_id The OCID of the user.
|
|
2002
|
-
# @param [String]
|
|
2635
|
+
# @param [String] oauth2_client_credential_id The ID of the Oauth credential.
|
|
2003
2636
|
# @param [Hash] opts the optional parameters
|
|
2004
2637
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2005
2638
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -2008,15 +2641,15 @@ module OCI
|
|
|
2008
2641
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2009
2642
|
#
|
|
2010
2643
|
# @return [Response] A Response object with data of type nil
|
|
2011
|
-
def
|
|
2012
|
-
logger.debug 'Calling operation IdentityClient#
|
|
2644
|
+
def delete_o_auth_client_credential(user_id, oauth2_client_credential_id, opts = {})
|
|
2645
|
+
logger.debug 'Calling operation IdentityClient#delete_o_auth_client_credential.' if logger
|
|
2013
2646
|
|
|
2014
|
-
raise "Missing the required parameter 'user_id' when calling
|
|
2015
|
-
raise "Missing the required parameter '
|
|
2647
|
+
raise "Missing the required parameter 'user_id' when calling delete_o_auth_client_credential." if user_id.nil?
|
|
2648
|
+
raise "Missing the required parameter 'oauth2_client_credential_id' when calling delete_o_auth_client_credential." if oauth2_client_credential_id.nil?
|
|
2016
2649
|
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
2017
|
-
raise "Parameter value for '
|
|
2650
|
+
raise "Parameter value for 'oauth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(oauth2_client_credential_id)
|
|
2018
2651
|
|
|
2019
|
-
path = '/users/{userId}/
|
|
2652
|
+
path = '/users/{userId}/oauth2ClientCredentials/{oauth2ClientCredentialId}'.sub('{userId}', user_id.to_s).sub('{oauth2ClientCredentialId}', oauth2_client_credential_id.to_s)
|
|
2020
2653
|
operation_signing_strategy = :standard
|
|
2021
2654
|
|
|
2022
2655
|
# rubocop:disable Style/NegatedIf
|
|
@@ -2033,7 +2666,7 @@ module OCI
|
|
|
2033
2666
|
post_body = nil
|
|
2034
2667
|
|
|
2035
2668
|
# rubocop:disable Metrics/BlockLength
|
|
2036
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
2669
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_o_auth_client_credential') do
|
|
2037
2670
|
@api_client.call_api(
|
|
2038
2671
|
:DELETE,
|
|
2039
2672
|
path,
|
|
@@ -2230,7 +2863,27 @@ module OCI
|
|
|
2230
2863
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2231
2864
|
|
|
2232
2865
|
|
|
2233
|
-
# Deletes the
|
|
2866
|
+
# Deletes the specified tag definition. This operation triggers a process that removes the
|
|
2867
|
+
# tag from all resources in your tenancy.
|
|
2868
|
+
#
|
|
2869
|
+
# These things happen immediately:
|
|
2870
|
+
# \u00A0
|
|
2871
|
+
# * If the tag was a cost-tracking tag, it no longer counts against your 10 cost-tracking
|
|
2872
|
+
# tags limit, whether you first disabled it or not.
|
|
2873
|
+
# * If the tag was used with dynamic groups, none of the rules that contain the tag will
|
|
2874
|
+
# be evaluated against the tag.
|
|
2875
|
+
#
|
|
2876
|
+
# When you start the delete operation, the state of the tag changes to DELETING and tag removal
|
|
2877
|
+
# from resources begins. This can take up to 48 hours depending on the number of resources that
|
|
2878
|
+
# were tagged as well as the regions in which those resources reside.
|
|
2879
|
+
#
|
|
2880
|
+
# When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. Once the deleted tag
|
|
2881
|
+
# changes its state to DELETED, you can use the same tag name again.
|
|
2882
|
+
#
|
|
2883
|
+
# After you start this operation, you cannot start either the {#bulk_delete_tags bulk_delete_tags} or the {#cascade_delete_tag_namespace cascade_delete_tag_namespace} operation until this process completes.
|
|
2884
|
+
#
|
|
2885
|
+
# To delete a tag, you must first retire it. Use {#update_tag update_tag}
|
|
2886
|
+
# to retire a tag.
|
|
2234
2887
|
#
|
|
2235
2888
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
2236
2889
|
#
|
|
@@ -2351,8 +3004,13 @@ module OCI
|
|
|
2351
3004
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2352
3005
|
|
|
2353
3006
|
|
|
2354
|
-
#
|
|
2355
|
-
#
|
|
3007
|
+
# Deletes the specified tag namespace. Only an empty tag namespace can be deleted with this operation. To use this operation
|
|
3008
|
+
# to delete a tag namespace that contains tag definitions, first delete all of its tag definitions.
|
|
3009
|
+
#
|
|
3010
|
+
# Use {#cascade_delete_tag_namespace cascade_delete_tag_namespace} to delete a tag namespace along with all of
|
|
3011
|
+
# the tag definitions contained within that namespace.
|
|
3012
|
+
#
|
|
3013
|
+
# Use {#delete_tag delete_tag} to delete a tag definition.
|
|
2356
3014
|
#
|
|
2357
3015
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
2358
3016
|
#
|
|
@@ -2923,6 +3581,60 @@ module OCI
|
|
|
2923
3581
|
# rubocop:disable Lint/UnusedMethodArgument
|
|
2924
3582
|
|
|
2925
3583
|
|
|
3584
|
+
# Gets the specified network source's information.
|
|
3585
|
+
#
|
|
3586
|
+
# @param [String] network_source_id The OCID of the network source.
|
|
3587
|
+
# @param [Hash] opts the optional parameters
|
|
3588
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3589
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3590
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::NetworkSources NetworkSources}
|
|
3591
|
+
def get_network_source(network_source_id, opts = {})
|
|
3592
|
+
logger.debug 'Calling operation IdentityClient#get_network_source.' if logger
|
|
3593
|
+
|
|
3594
|
+
raise "Missing the required parameter 'network_source_id' when calling get_network_source." if network_source_id.nil?
|
|
3595
|
+
raise "Parameter value for 'network_source_id' must not be blank" if OCI::Internal::Util.blank_string?(network_source_id)
|
|
3596
|
+
|
|
3597
|
+
path = '/networkSources/{networkSourceId}'.sub('{networkSourceId}', network_source_id.to_s)
|
|
3598
|
+
operation_signing_strategy = :standard
|
|
3599
|
+
|
|
3600
|
+
# rubocop:disable Style/NegatedIf
|
|
3601
|
+
# Query Params
|
|
3602
|
+
query_params = {}
|
|
3603
|
+
|
|
3604
|
+
# Header Params
|
|
3605
|
+
header_params = {}
|
|
3606
|
+
header_params[:accept] = 'application/json'
|
|
3607
|
+
header_params[:'content-type'] = 'application/json'
|
|
3608
|
+
# rubocop:enable Style/NegatedIf
|
|
3609
|
+
|
|
3610
|
+
post_body = nil
|
|
3611
|
+
|
|
3612
|
+
# rubocop:disable Metrics/BlockLength
|
|
3613
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_network_source') do
|
|
3614
|
+
@api_client.call_api(
|
|
3615
|
+
:GET,
|
|
3616
|
+
path,
|
|
3617
|
+
endpoint,
|
|
3618
|
+
header_params: header_params,
|
|
3619
|
+
query_params: query_params,
|
|
3620
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3621
|
+
body: post_body,
|
|
3622
|
+
return_type: 'OCI::Identity::Models::NetworkSources'
|
|
3623
|
+
)
|
|
3624
|
+
end
|
|
3625
|
+
# rubocop:enable Metrics/BlockLength
|
|
3626
|
+
end
|
|
3627
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3628
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3629
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3630
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
3631
|
+
|
|
3632
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3633
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3634
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3635
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
3636
|
+
|
|
3637
|
+
|
|
2926
3638
|
# Gets the specified policy's information.
|
|
2927
3639
|
# @param [String] policy_id The OCID of the policy.
|
|
2928
3640
|
# @param [Hash] opts the optional parameters
|
|
@@ -3143,6 +3855,61 @@ module OCI
|
|
|
3143
3855
|
# rubocop:disable Lint/UnusedMethodArgument
|
|
3144
3856
|
|
|
3145
3857
|
|
|
3858
|
+
# Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
|
3859
|
+
# for any asynchronous operation in the Identity and Access Management service.
|
|
3860
|
+
#
|
|
3861
|
+
# @param [String] work_request_id The OCID of the work request.
|
|
3862
|
+
# @param [Hash] opts the optional parameters
|
|
3863
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3864
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3865
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::TaggingWorkRequest TaggingWorkRequest}
|
|
3866
|
+
def get_tagging_work_request(work_request_id, opts = {})
|
|
3867
|
+
logger.debug 'Calling operation IdentityClient#get_tagging_work_request.' if logger
|
|
3868
|
+
|
|
3869
|
+
raise "Missing the required parameter 'work_request_id' when calling get_tagging_work_request." if work_request_id.nil?
|
|
3870
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
3871
|
+
|
|
3872
|
+
path = '/taggingWorkRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
3873
|
+
operation_signing_strategy = :standard
|
|
3874
|
+
|
|
3875
|
+
# rubocop:disable Style/NegatedIf
|
|
3876
|
+
# Query Params
|
|
3877
|
+
query_params = {}
|
|
3878
|
+
|
|
3879
|
+
# Header Params
|
|
3880
|
+
header_params = {}
|
|
3881
|
+
header_params[:accept] = 'application/json'
|
|
3882
|
+
header_params[:'content-type'] = 'application/json'
|
|
3883
|
+
# rubocop:enable Style/NegatedIf
|
|
3884
|
+
|
|
3885
|
+
post_body = nil
|
|
3886
|
+
|
|
3887
|
+
# rubocop:disable Metrics/BlockLength
|
|
3888
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tagging_work_request') do
|
|
3889
|
+
@api_client.call_api(
|
|
3890
|
+
:GET,
|
|
3891
|
+
path,
|
|
3892
|
+
endpoint,
|
|
3893
|
+
header_params: header_params,
|
|
3894
|
+
query_params: query_params,
|
|
3895
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3896
|
+
body: post_body,
|
|
3897
|
+
return_type: 'OCI::Identity::Models::TaggingWorkRequest'
|
|
3898
|
+
)
|
|
3899
|
+
end
|
|
3900
|
+
# rubocop:enable Metrics/BlockLength
|
|
3901
|
+
end
|
|
3902
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3903
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3904
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3905
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
3906
|
+
|
|
3907
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3908
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3909
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3910
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
3911
|
+
|
|
3912
|
+
|
|
3146
3913
|
# Get the specified tenancy's information.
|
|
3147
3914
|
# @param [String] tenancy_id The OCID of the tenancy.
|
|
3148
3915
|
# @param [Hash] opts the optional parameters
|
|
@@ -3582,6 +4349,69 @@ module OCI
|
|
|
3582
4349
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3583
4350
|
|
|
3584
4351
|
|
|
4352
|
+
# Lists the resource types supported by compartment bulk actions.
|
|
4353
|
+
#
|
|
4354
|
+
# @param [String] bulk_action_type The type of the bulk action.
|
|
4355
|
+
#
|
|
4356
|
+
# Allowed values are: BULK_MOVE_RESOURCES, BULK_DELETE_RESOURCES
|
|
4357
|
+
# @param [Hash] opts the optional parameters
|
|
4358
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4359
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4360
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
4361
|
+
#
|
|
4362
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
4363
|
+
#
|
|
4364
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::BulkActionResourceTypeCollection BulkActionResourceTypeCollection}
|
|
4365
|
+
def list_bulk_action_resource_types(bulk_action_type, opts = {})
|
|
4366
|
+
logger.debug 'Calling operation IdentityClient#list_bulk_action_resource_types.' if logger
|
|
4367
|
+
|
|
4368
|
+
raise "Missing the required parameter 'bulk_action_type' when calling list_bulk_action_resource_types." if bulk_action_type.nil?
|
|
4369
|
+
unless %w[BULK_MOVE_RESOURCES BULK_DELETE_RESOURCES].include?(bulk_action_type)
|
|
4370
|
+
raise "Invalid value for 'bulk_action_type', must be one of BULK_MOVE_RESOURCES, BULK_DELETE_RESOURCES."
|
|
4371
|
+
end
|
|
4372
|
+
|
|
4373
|
+
path = '/compartments/bulkActionResourceTypes'
|
|
4374
|
+
operation_signing_strategy = :standard
|
|
4375
|
+
|
|
4376
|
+
# rubocop:disable Style/NegatedIf
|
|
4377
|
+
# Query Params
|
|
4378
|
+
query_params = {}
|
|
4379
|
+
query_params[:bulkActionType] = bulk_action_type
|
|
4380
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
4381
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4382
|
+
|
|
4383
|
+
# Header Params
|
|
4384
|
+
header_params = {}
|
|
4385
|
+
header_params[:accept] = 'application/json'
|
|
4386
|
+
header_params[:'content-type'] = 'application/json'
|
|
4387
|
+
# rubocop:enable Style/NegatedIf
|
|
4388
|
+
|
|
4389
|
+
post_body = nil
|
|
4390
|
+
|
|
4391
|
+
# rubocop:disable Metrics/BlockLength
|
|
4392
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_bulk_action_resource_types') do
|
|
4393
|
+
@api_client.call_api(
|
|
4394
|
+
:GET,
|
|
4395
|
+
path,
|
|
4396
|
+
endpoint,
|
|
4397
|
+
header_params: header_params,
|
|
4398
|
+
query_params: query_params,
|
|
4399
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4400
|
+
body: post_body,
|
|
4401
|
+
return_type: 'OCI::Identity::Models::BulkActionResourceTypeCollection'
|
|
4402
|
+
)
|
|
4403
|
+
end
|
|
4404
|
+
# rubocop:enable Metrics/BlockLength
|
|
4405
|
+
end
|
|
4406
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4407
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4408
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4409
|
+
|
|
4410
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4411
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4412
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4413
|
+
|
|
4414
|
+
|
|
3585
4415
|
# Lists the compartments in a specified compartment. The members of the list
|
|
3586
4416
|
# returned depends on the values set for several parameters.
|
|
3587
4417
|
#
|
|
@@ -3625,6 +4455,24 @@ module OCI
|
|
|
3625
4455
|
# and all compartments and subcompartments in the tenancy are
|
|
3626
4456
|
# returned depending on the the setting of `accessLevel`.
|
|
3627
4457
|
#
|
|
4458
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
4459
|
+
#
|
|
4460
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
4461
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
4462
|
+
# sort order is case sensitive.
|
|
4463
|
+
#
|
|
4464
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
4465
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
4466
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
4467
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
4468
|
+
#
|
|
4469
|
+
# Allowed values are: TIMECREATED, NAME
|
|
4470
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
4471
|
+
# is case sensitive.
|
|
4472
|
+
#
|
|
4473
|
+
# Allowed values are: ASC, DESC
|
|
4474
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
4475
|
+
#
|
|
3628
4476
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Compartment Compartment}>
|
|
3629
4477
|
def list_compartments(compartment_id, opts = {})
|
|
3630
4478
|
logger.debug 'Calling operation IdentityClient#list_compartments.' if logger
|
|
@@ -3635,6 +4483,18 @@ module OCI
|
|
|
3635
4483
|
raise 'Invalid value for "access_level", must be one of ANY, ACCESSIBLE.'
|
|
3636
4484
|
end
|
|
3637
4485
|
|
|
4486
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
4487
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
4488
|
+
end
|
|
4489
|
+
|
|
4490
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
4491
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
4492
|
+
end
|
|
4493
|
+
|
|
4494
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::Compartment::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
4495
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::Compartment::LIFECYCLE_STATE_ENUM.'
|
|
4496
|
+
end
|
|
4497
|
+
|
|
3638
4498
|
path = '/compartments/'
|
|
3639
4499
|
operation_signing_strategy = :standard
|
|
3640
4500
|
|
|
@@ -3646,6 +4506,10 @@ module OCI
|
|
|
3646
4506
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
3647
4507
|
query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
|
|
3648
4508
|
query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
|
|
4509
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
4510
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
4511
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
4512
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
3649
4513
|
|
|
3650
4514
|
# Header Params
|
|
3651
4515
|
header_params = {}
|
|
@@ -3807,12 +4671,42 @@ module OCI
|
|
|
3807
4671
|
#
|
|
3808
4672
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
3809
4673
|
#
|
|
4674
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
4675
|
+
#
|
|
4676
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
4677
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
4678
|
+
# sort order is case sensitive.
|
|
4679
|
+
#
|
|
4680
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
4681
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
4682
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
4683
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
4684
|
+
#
|
|
4685
|
+
# Allowed values are: TIMECREATED, NAME
|
|
4686
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
4687
|
+
# is case sensitive.
|
|
4688
|
+
#
|
|
4689
|
+
# Allowed values are: ASC, DESC
|
|
4690
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
4691
|
+
#
|
|
3810
4692
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::DynamicGroup DynamicGroup}>
|
|
3811
4693
|
def list_dynamic_groups(compartment_id, opts = {})
|
|
3812
4694
|
logger.debug 'Calling operation IdentityClient#list_dynamic_groups.' if logger
|
|
3813
4695
|
|
|
3814
4696
|
raise "Missing the required parameter 'compartment_id' when calling list_dynamic_groups." if compartment_id.nil?
|
|
3815
4697
|
|
|
4698
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
4699
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
4700
|
+
end
|
|
4701
|
+
|
|
4702
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
4703
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
4704
|
+
end
|
|
4705
|
+
|
|
4706
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::DynamicGroup::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
4707
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::DynamicGroup::LIFECYCLE_STATE_ENUM.'
|
|
4708
|
+
end
|
|
4709
|
+
|
|
3816
4710
|
path = '/dynamicGroups/'
|
|
3817
4711
|
operation_signing_strategy = :standard
|
|
3818
4712
|
|
|
@@ -3822,6 +4716,10 @@ module OCI
|
|
|
3822
4716
|
query_params[:compartmentId] = compartment_id
|
|
3823
4717
|
query_params[:page] = opts[:page] if opts[:page]
|
|
3824
4718
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4719
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
4720
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
4721
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
4722
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
3825
4723
|
|
|
3826
4724
|
# Header Params
|
|
3827
4725
|
header_params = {}
|
|
@@ -3929,12 +4827,42 @@ module OCI
|
|
|
3929
4827
|
#
|
|
3930
4828
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
3931
4829
|
#
|
|
4830
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
4831
|
+
#
|
|
4832
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
4833
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
4834
|
+
# sort order is case sensitive.
|
|
4835
|
+
#
|
|
4836
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
4837
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
4838
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
4839
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
4840
|
+
#
|
|
4841
|
+
# Allowed values are: TIMECREATED, NAME
|
|
4842
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
4843
|
+
# is case sensitive.
|
|
4844
|
+
#
|
|
4845
|
+
# Allowed values are: ASC, DESC
|
|
4846
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
4847
|
+
#
|
|
3932
4848
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Group Group}>
|
|
3933
4849
|
def list_groups(compartment_id, opts = {})
|
|
3934
4850
|
logger.debug 'Calling operation IdentityClient#list_groups.' if logger
|
|
3935
4851
|
|
|
3936
4852
|
raise "Missing the required parameter 'compartment_id' when calling list_groups." if compartment_id.nil?
|
|
3937
4853
|
|
|
4854
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
4855
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
4856
|
+
end
|
|
4857
|
+
|
|
4858
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
4859
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
4860
|
+
end
|
|
4861
|
+
|
|
4862
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::Group::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
4863
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::Group::LIFECYCLE_STATE_ENUM.'
|
|
4864
|
+
end
|
|
4865
|
+
|
|
3938
4866
|
path = '/groups/'
|
|
3939
4867
|
operation_signing_strategy = :standard
|
|
3940
4868
|
|
|
@@ -3944,6 +4872,10 @@ module OCI
|
|
|
3944
4872
|
query_params[:compartmentId] = compartment_id
|
|
3945
4873
|
query_params[:page] = opts[:page] if opts[:page]
|
|
3946
4874
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4875
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
4876
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
4877
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
4878
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
3947
4879
|
|
|
3948
4880
|
# Header Params
|
|
3949
4881
|
header_params = {}
|
|
@@ -3986,11 +4918,19 @@ module OCI
|
|
|
3986
4918
|
#
|
|
3987
4919
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
3988
4920
|
#
|
|
4921
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
4922
|
+
#
|
|
4923
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
4924
|
+
#
|
|
3989
4925
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::IdentityProviderGroupSummary IdentityProviderGroupSummary}>
|
|
3990
4926
|
def list_identity_provider_groups(identity_provider_id, opts = {})
|
|
3991
4927
|
logger.debug 'Calling operation IdentityClient#list_identity_provider_groups.' if logger
|
|
3992
4928
|
|
|
3993
4929
|
raise "Missing the required parameter 'identity_provider_id' when calling list_identity_provider_groups." if identity_provider_id.nil?
|
|
4930
|
+
|
|
4931
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::IdentityProvider::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
4932
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::IdentityProvider::LIFECYCLE_STATE_ENUM.'
|
|
4933
|
+
end
|
|
3994
4934
|
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
3995
4935
|
|
|
3996
4936
|
path = '/identityProviders/{identityProviderId}/groups/'.sub('{identityProviderId}', identity_provider_id.to_s)
|
|
@@ -4001,6 +4941,8 @@ module OCI
|
|
|
4001
4941
|
query_params = {}
|
|
4002
4942
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4003
4943
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4944
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
4945
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4004
4946
|
|
|
4005
4947
|
# Header Params
|
|
4006
4948
|
header_params = {}
|
|
@@ -4050,6 +4992,24 @@ module OCI
|
|
|
4050
4992
|
#
|
|
4051
4993
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
4052
4994
|
#
|
|
4995
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
4996
|
+
#
|
|
4997
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
4998
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
4999
|
+
# sort order is case sensitive.
|
|
5000
|
+
#
|
|
5001
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
5002
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
5003
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
5004
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
5005
|
+
#
|
|
5006
|
+
# Allowed values are: TIMECREATED, NAME
|
|
5007
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
5008
|
+
# is case sensitive.
|
|
5009
|
+
#
|
|
5010
|
+
# Allowed values are: ASC, DESC
|
|
5011
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
5012
|
+
#
|
|
4053
5013
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::IdentityProvider IdentityProvider}>
|
|
4054
5014
|
def list_identity_providers(protocol, compartment_id, opts = {})
|
|
4055
5015
|
logger.debug 'Calling operation IdentityClient#list_identity_providers.' if logger
|
|
@@ -4060,6 +5020,18 @@ module OCI
|
|
|
4060
5020
|
end
|
|
4061
5021
|
raise "Missing the required parameter 'compartment_id' when calling list_identity_providers." if compartment_id.nil?
|
|
4062
5022
|
|
|
5023
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
5024
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
5025
|
+
end
|
|
5026
|
+
|
|
5027
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
5028
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
5029
|
+
end
|
|
5030
|
+
|
|
5031
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::IdentityProvider::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
5032
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::IdentityProvider::LIFECYCLE_STATE_ENUM.'
|
|
5033
|
+
end
|
|
5034
|
+
|
|
4063
5035
|
path = '/identityProviders/'
|
|
4064
5036
|
operation_signing_strategy = :standard
|
|
4065
5037
|
|
|
@@ -4070,6 +5042,10 @@ module OCI
|
|
|
4070
5042
|
query_params[:compartmentId] = compartment_id
|
|
4071
5043
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4072
5044
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5045
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
5046
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
5047
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
5048
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4073
5049
|
|
|
4074
5050
|
# Header Params
|
|
4075
5051
|
header_params = {}
|
|
@@ -4105,29 +5081,207 @@ module OCI
|
|
|
4105
5081
|
|
|
4106
5082
|
# Lists the group mappings for the specified identity provider.
|
|
4107
5083
|
#
|
|
4108
|
-
# @param [String] identity_provider_id The OCID of the identity provider.
|
|
4109
|
-
# @param [Hash] opts the optional parameters
|
|
4110
|
-
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4111
|
-
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4112
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5084
|
+
# @param [String] identity_provider_id The OCID of the identity provider.
|
|
5085
|
+
# @param [Hash] opts the optional parameters
|
|
5086
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5087
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5088
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5089
|
+
#
|
|
5090
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5091
|
+
#
|
|
5092
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::IdpGroupMapping IdpGroupMapping}>
|
|
5093
|
+
def list_idp_group_mappings(identity_provider_id, opts = {})
|
|
5094
|
+
logger.debug 'Calling operation IdentityClient#list_idp_group_mappings.' if logger
|
|
5095
|
+
|
|
5096
|
+
raise "Missing the required parameter 'identity_provider_id' when calling list_idp_group_mappings." if identity_provider_id.nil?
|
|
5097
|
+
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
5098
|
+
|
|
5099
|
+
path = '/identityProviders/{identityProviderId}/groupMappings/'.sub('{identityProviderId}', identity_provider_id.to_s)
|
|
5100
|
+
operation_signing_strategy = :standard
|
|
5101
|
+
|
|
5102
|
+
# rubocop:disable Style/NegatedIf
|
|
5103
|
+
# Query Params
|
|
5104
|
+
query_params = {}
|
|
5105
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5106
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5107
|
+
|
|
5108
|
+
# Header Params
|
|
5109
|
+
header_params = {}
|
|
5110
|
+
header_params[:accept] = 'application/json'
|
|
5111
|
+
header_params[:'content-type'] = 'application/json'
|
|
5112
|
+
# rubocop:enable Style/NegatedIf
|
|
5113
|
+
|
|
5114
|
+
post_body = nil
|
|
5115
|
+
|
|
5116
|
+
# rubocop:disable Metrics/BlockLength
|
|
5117
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_idp_group_mappings') do
|
|
5118
|
+
@api_client.call_api(
|
|
5119
|
+
:GET,
|
|
5120
|
+
path,
|
|
5121
|
+
endpoint,
|
|
5122
|
+
header_params: header_params,
|
|
5123
|
+
query_params: query_params,
|
|
5124
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5125
|
+
body: post_body,
|
|
5126
|
+
return_type: 'Array<OCI::Identity::Models::IdpGroupMapping>'
|
|
5127
|
+
)
|
|
5128
|
+
end
|
|
5129
|
+
# rubocop:enable Metrics/BlockLength
|
|
5130
|
+
end
|
|
5131
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5132
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5133
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5134
|
+
|
|
5135
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5136
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5137
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5138
|
+
|
|
5139
|
+
|
|
5140
|
+
# Lists the MFA TOTP devices for the specified user. The returned object contains the device's OCID, but not
|
|
5141
|
+
# the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.
|
|
5142
|
+
#
|
|
5143
|
+
# @param [String] user_id The OCID of the user.
|
|
5144
|
+
# @param [Hash] opts the optional parameters
|
|
5145
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5146
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5147
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5148
|
+
#
|
|
5149
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5150
|
+
#
|
|
5151
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
5152
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
5153
|
+
# sort order is case sensitive.
|
|
5154
|
+
#
|
|
5155
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
5156
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
5157
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
5158
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
5159
|
+
#
|
|
5160
|
+
# Allowed values are: TIMECREATED, NAME
|
|
5161
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
5162
|
+
# is case sensitive.
|
|
5163
|
+
#
|
|
5164
|
+
# Allowed values are: ASC, DESC
|
|
5165
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::MfaTotpDeviceSummary MfaTotpDeviceSummary}>
|
|
5166
|
+
def list_mfa_totp_devices(user_id, opts = {})
|
|
5167
|
+
logger.debug 'Calling operation IdentityClient#list_mfa_totp_devices.' if logger
|
|
5168
|
+
|
|
5169
|
+
raise "Missing the required parameter 'user_id' when calling list_mfa_totp_devices." if user_id.nil?
|
|
5170
|
+
|
|
5171
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
5172
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
5173
|
+
end
|
|
5174
|
+
|
|
5175
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
5176
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
5177
|
+
end
|
|
5178
|
+
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
5179
|
+
|
|
5180
|
+
path = '/users/{userId}/mfaTotpDevices'.sub('{userId}', user_id.to_s)
|
|
5181
|
+
operation_signing_strategy = :standard
|
|
5182
|
+
|
|
5183
|
+
# rubocop:disable Style/NegatedIf
|
|
5184
|
+
# Query Params
|
|
5185
|
+
query_params = {}
|
|
5186
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5187
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5188
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
5189
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
5190
|
+
|
|
5191
|
+
# Header Params
|
|
5192
|
+
header_params = {}
|
|
5193
|
+
header_params[:accept] = 'application/json'
|
|
5194
|
+
header_params[:'content-type'] = 'application/json'
|
|
5195
|
+
# rubocop:enable Style/NegatedIf
|
|
5196
|
+
|
|
5197
|
+
post_body = nil
|
|
5198
|
+
|
|
5199
|
+
# rubocop:disable Metrics/BlockLength
|
|
5200
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_mfa_totp_devices') do
|
|
5201
|
+
@api_client.call_api(
|
|
5202
|
+
:GET,
|
|
5203
|
+
path,
|
|
5204
|
+
endpoint,
|
|
5205
|
+
header_params: header_params,
|
|
5206
|
+
query_params: query_params,
|
|
5207
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5208
|
+
body: post_body,
|
|
5209
|
+
return_type: 'Array<OCI::Identity::Models::MfaTotpDeviceSummary>'
|
|
5210
|
+
)
|
|
5211
|
+
end
|
|
5212
|
+
# rubocop:enable Metrics/BlockLength
|
|
5213
|
+
end
|
|
5214
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5215
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5216
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5217
|
+
|
|
5218
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5219
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5220
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5221
|
+
|
|
5222
|
+
|
|
5223
|
+
# Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for
|
|
5224
|
+
# the compartment ID (remember that the tenancy is simply the root compartment).
|
|
5225
|
+
# See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
5226
|
+
#
|
|
5227
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
5228
|
+
#
|
|
5229
|
+
# @param [Hash] opts the optional parameters
|
|
5230
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5231
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5232
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5233
|
+
#
|
|
5234
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5235
|
+
#
|
|
5236
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
5237
|
+
#
|
|
5238
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
5239
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
5240
|
+
# sort order is case sensitive.
|
|
5241
|
+
#
|
|
5242
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
5243
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
5244
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
5245
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
4113
5246
|
#
|
|
4114
|
-
#
|
|
5247
|
+
# Allowed values are: TIMECREATED, NAME
|
|
5248
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
5249
|
+
# is case sensitive.
|
|
4115
5250
|
#
|
|
4116
|
-
#
|
|
4117
|
-
|
|
4118
|
-
|
|
5251
|
+
# Allowed values are: ASC, DESC
|
|
5252
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
5253
|
+
#
|
|
5254
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::NetworkSourcesSummary NetworkSourcesSummary}>
|
|
5255
|
+
def list_network_sources(compartment_id, opts = {})
|
|
5256
|
+
logger.debug 'Calling operation IdentityClient#list_network_sources.' if logger
|
|
4119
5257
|
|
|
4120
|
-
raise "Missing the required parameter '
|
|
4121
|
-
raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
|
|
5258
|
+
raise "Missing the required parameter 'compartment_id' when calling list_network_sources." if compartment_id.nil?
|
|
4122
5259
|
|
|
4123
|
-
|
|
5260
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
5261
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
5262
|
+
end
|
|
5263
|
+
|
|
5264
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
5265
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
5266
|
+
end
|
|
5267
|
+
|
|
5268
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::NetworkSources::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
5269
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::NetworkSources::LIFECYCLE_STATE_ENUM.'
|
|
5270
|
+
end
|
|
5271
|
+
|
|
5272
|
+
path = '/networkSources'
|
|
4124
5273
|
operation_signing_strategy = :standard
|
|
4125
5274
|
|
|
4126
5275
|
# rubocop:disable Style/NegatedIf
|
|
4127
5276
|
# Query Params
|
|
4128
5277
|
query_params = {}
|
|
5278
|
+
query_params[:compartmentId] = compartment_id
|
|
4129
5279
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4130
5280
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5281
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
5282
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
5283
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
5284
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4131
5285
|
|
|
4132
5286
|
# Header Params
|
|
4133
5287
|
header_params = {}
|
|
@@ -4138,7 +5292,7 @@ module OCI
|
|
|
4138
5292
|
post_body = nil
|
|
4139
5293
|
|
|
4140
5294
|
# rubocop:disable Metrics/BlockLength
|
|
4141
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
5295
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_network_sources') do
|
|
4142
5296
|
@api_client.call_api(
|
|
4143
5297
|
:GET,
|
|
4144
5298
|
path,
|
|
@@ -4147,7 +5301,7 @@ module OCI
|
|
|
4147
5301
|
query_params: query_params,
|
|
4148
5302
|
operation_signing_strategy: operation_signing_strategy,
|
|
4149
5303
|
body: post_body,
|
|
4150
|
-
return_type: 'Array<OCI::Identity::Models::
|
|
5304
|
+
return_type: 'Array<OCI::Identity::Models::NetworkSourcesSummary>'
|
|
4151
5305
|
)
|
|
4152
5306
|
end
|
|
4153
5307
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -4161,8 +5315,7 @@ module OCI
|
|
|
4161
5315
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4162
5316
|
|
|
4163
5317
|
|
|
4164
|
-
#
|
|
4165
|
-
# the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.
|
|
5318
|
+
# List of Oauth tokens for the user
|
|
4166
5319
|
#
|
|
4167
5320
|
# @param [String] user_id The OCID of the user.
|
|
4168
5321
|
# @param [Hash] opts the optional parameters
|
|
@@ -4172,36 +5325,20 @@ module OCI
|
|
|
4172
5325
|
#
|
|
4173
5326
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
4174
5327
|
#
|
|
4175
|
-
# @option opts [String] :
|
|
4176
|
-
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
4177
|
-
# sort order is case sensitive.
|
|
4178
|
-
#
|
|
4179
|
-
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
4180
|
-
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
4181
|
-
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
4182
|
-
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
4183
|
-
#
|
|
4184
|
-
# Allowed values are: TIMECREATED, NAME
|
|
4185
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
4186
|
-
# is case sensitive.
|
|
5328
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
4187
5329
|
#
|
|
4188
|
-
#
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
logger.debug 'Calling operation IdentityClient#list_mfa_totp_devices.' if logger
|
|
4192
|
-
|
|
4193
|
-
raise "Missing the required parameter 'user_id' when calling list_mfa_totp_devices." if user_id.nil?
|
|
5330
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::OAuth2ClientCredentialSummary OAuth2ClientCredentialSummary}>
|
|
5331
|
+
def list_o_auth_client_credentials(user_id, opts = {})
|
|
5332
|
+
logger.debug 'Calling operation IdentityClient#list_o_auth_client_credentials.' if logger
|
|
4194
5333
|
|
|
4195
|
-
|
|
4196
|
-
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
4197
|
-
end
|
|
5334
|
+
raise "Missing the required parameter 'user_id' when calling list_o_auth_client_credentials." if user_id.nil?
|
|
4198
5335
|
|
|
4199
|
-
if opts[:
|
|
4200
|
-
raise 'Invalid value for "
|
|
5336
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::OAuth2ClientCredentialSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
5337
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::OAuth2ClientCredentialSummary::LIFECYCLE_STATE_ENUM.'
|
|
4201
5338
|
end
|
|
4202
5339
|
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
4203
5340
|
|
|
4204
|
-
path = '/users/{userId}/
|
|
5341
|
+
path = '/users/{userId}/oauth2ClientCredentials'.sub('{userId}', user_id.to_s)
|
|
4205
5342
|
operation_signing_strategy = :standard
|
|
4206
5343
|
|
|
4207
5344
|
# rubocop:disable Style/NegatedIf
|
|
@@ -4209,8 +5346,7 @@ module OCI
|
|
|
4209
5346
|
query_params = {}
|
|
4210
5347
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4211
5348
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4212
|
-
query_params[:
|
|
4213
|
-
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
5349
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4214
5350
|
|
|
4215
5351
|
# Header Params
|
|
4216
5352
|
header_params = {}
|
|
@@ -4221,7 +5357,7 @@ module OCI
|
|
|
4221
5357
|
post_body = nil
|
|
4222
5358
|
|
|
4223
5359
|
# rubocop:disable Metrics/BlockLength
|
|
4224
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
5360
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_o_auth_client_credentials') do
|
|
4225
5361
|
@api_client.call_api(
|
|
4226
5362
|
:GET,
|
|
4227
5363
|
path,
|
|
@@ -4230,7 +5366,7 @@ module OCI
|
|
|
4230
5366
|
query_params: query_params,
|
|
4231
5367
|
operation_signing_strategy: operation_signing_strategy,
|
|
4232
5368
|
body: post_body,
|
|
4233
|
-
return_type: 'Array<OCI::Identity::Models::
|
|
5369
|
+
return_type: 'Array<OCI::Identity::Models::OAuth2ClientCredentialSummary>'
|
|
4234
5370
|
)
|
|
4235
5371
|
end
|
|
4236
5372
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -4259,12 +5395,42 @@ module OCI
|
|
|
4259
5395
|
#
|
|
4260
5396
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
4261
5397
|
#
|
|
5398
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
5399
|
+
#
|
|
5400
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
5401
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
5402
|
+
# sort order is case sensitive.
|
|
5403
|
+
#
|
|
5404
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
5405
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
5406
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
5407
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
5408
|
+
#
|
|
5409
|
+
# Allowed values are: TIMECREATED, NAME
|
|
5410
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
5411
|
+
# is case sensitive.
|
|
5412
|
+
#
|
|
5413
|
+
# Allowed values are: ASC, DESC
|
|
5414
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
5415
|
+
#
|
|
4262
5416
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Policy Policy}>
|
|
4263
5417
|
def list_policies(compartment_id, opts = {})
|
|
4264
5418
|
logger.debug 'Calling operation IdentityClient#list_policies.' if logger
|
|
4265
5419
|
|
|
4266
5420
|
raise "Missing the required parameter 'compartment_id' when calling list_policies." if compartment_id.nil?
|
|
4267
5421
|
|
|
5422
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
5423
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
5424
|
+
end
|
|
5425
|
+
|
|
5426
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
5427
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
5428
|
+
end
|
|
5429
|
+
|
|
5430
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::Policy::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
5431
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::Policy::LIFECYCLE_STATE_ENUM.'
|
|
5432
|
+
end
|
|
5433
|
+
|
|
4268
5434
|
path = '/policies/'
|
|
4269
5435
|
operation_signing_strategy = :standard
|
|
4270
5436
|
|
|
@@ -4274,6 +5440,10 @@ module OCI
|
|
|
4274
5440
|
query_params[:compartmentId] = compartment_id
|
|
4275
5441
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4276
5442
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5443
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
5444
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
5445
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
5446
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4277
5447
|
|
|
4278
5448
|
# Header Params
|
|
4279
5449
|
header_params = {}
|
|
@@ -4615,11 +5785,189 @@ module OCI
|
|
|
4615
5785
|
|
|
4616
5786
|
raise "Missing the required parameter 'compartment_id' when calling list_tag_namespaces." if compartment_id.nil?
|
|
4617
5787
|
|
|
4618
|
-
if opts[:lifecycle_state] && !OCI::Identity::Models::TagNamespace::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
4619
|
-
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::TagNamespace::LIFECYCLE_STATE_ENUM.'
|
|
4620
|
-
end
|
|
5788
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::TagNamespace::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
5789
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::TagNamespace::LIFECYCLE_STATE_ENUM.'
|
|
5790
|
+
end
|
|
5791
|
+
|
|
5792
|
+
path = '/tagNamespaces'
|
|
5793
|
+
operation_signing_strategy = :standard
|
|
5794
|
+
|
|
5795
|
+
# rubocop:disable Style/NegatedIf
|
|
5796
|
+
# Query Params
|
|
5797
|
+
query_params = {}
|
|
5798
|
+
query_params[:compartmentId] = compartment_id
|
|
5799
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5800
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5801
|
+
query_params[:includeSubcompartments] = opts[:include_subcompartments] if !opts[:include_subcompartments].nil?
|
|
5802
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
5803
|
+
|
|
5804
|
+
# Header Params
|
|
5805
|
+
header_params = {}
|
|
5806
|
+
header_params[:accept] = 'application/json'
|
|
5807
|
+
header_params[:'content-type'] = 'application/json'
|
|
5808
|
+
# rubocop:enable Style/NegatedIf
|
|
5809
|
+
|
|
5810
|
+
post_body = nil
|
|
5811
|
+
|
|
5812
|
+
# rubocop:disable Metrics/BlockLength
|
|
5813
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tag_namespaces') do
|
|
5814
|
+
@api_client.call_api(
|
|
5815
|
+
:GET,
|
|
5816
|
+
path,
|
|
5817
|
+
endpoint,
|
|
5818
|
+
header_params: header_params,
|
|
5819
|
+
query_params: query_params,
|
|
5820
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5821
|
+
body: post_body,
|
|
5822
|
+
return_type: 'Array<OCI::Identity::Models::TagNamespaceSummary>'
|
|
5823
|
+
)
|
|
5824
|
+
end
|
|
5825
|
+
# rubocop:enable Metrics/BlockLength
|
|
5826
|
+
end
|
|
5827
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5828
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5829
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5830
|
+
|
|
5831
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5832
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5833
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5834
|
+
|
|
5835
|
+
|
|
5836
|
+
# Gets the errors for a work request.
|
|
5837
|
+
#
|
|
5838
|
+
# @param [String] work_request_id The OCID of the work request.
|
|
5839
|
+
# @param [Hash] opts the optional parameters
|
|
5840
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5841
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5842
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5843
|
+
#
|
|
5844
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5845
|
+
#
|
|
5846
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestErrorSummary TaggingWorkRequestErrorSummary}>
|
|
5847
|
+
def list_tagging_work_request_errors(work_request_id, opts = {})
|
|
5848
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_request_errors.' if logger
|
|
5849
|
+
|
|
5850
|
+
raise "Missing the required parameter 'work_request_id' when calling list_tagging_work_request_errors." if work_request_id.nil?
|
|
5851
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
5852
|
+
|
|
5853
|
+
path = '/taggingWorkRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
|
|
5854
|
+
operation_signing_strategy = :standard
|
|
5855
|
+
|
|
5856
|
+
# rubocop:disable Style/NegatedIf
|
|
5857
|
+
# Query Params
|
|
5858
|
+
query_params = {}
|
|
5859
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5860
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5861
|
+
|
|
5862
|
+
# Header Params
|
|
5863
|
+
header_params = {}
|
|
5864
|
+
header_params[:accept] = 'application/json'
|
|
5865
|
+
header_params[:'content-type'] = 'application/json'
|
|
5866
|
+
# rubocop:enable Style/NegatedIf
|
|
5867
|
+
|
|
5868
|
+
post_body = nil
|
|
5869
|
+
|
|
5870
|
+
# rubocop:disable Metrics/BlockLength
|
|
5871
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_request_errors') do
|
|
5872
|
+
@api_client.call_api(
|
|
5873
|
+
:GET,
|
|
5874
|
+
path,
|
|
5875
|
+
endpoint,
|
|
5876
|
+
header_params: header_params,
|
|
5877
|
+
query_params: query_params,
|
|
5878
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5879
|
+
body: post_body,
|
|
5880
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestErrorSummary>'
|
|
5881
|
+
)
|
|
5882
|
+
end
|
|
5883
|
+
# rubocop:enable Metrics/BlockLength
|
|
5884
|
+
end
|
|
5885
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5886
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5887
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5888
|
+
|
|
5889
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5890
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5891
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5892
|
+
|
|
5893
|
+
|
|
5894
|
+
# Gets the logs for a work request.
|
|
5895
|
+
#
|
|
5896
|
+
# @param [String] work_request_id The OCID of the work request.
|
|
5897
|
+
# @param [Hash] opts the optional parameters
|
|
5898
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5899
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5900
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5901
|
+
#
|
|
5902
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5903
|
+
#
|
|
5904
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestLogSummary TaggingWorkRequestLogSummary}>
|
|
5905
|
+
def list_tagging_work_request_logs(work_request_id, opts = {})
|
|
5906
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_request_logs.' if logger
|
|
5907
|
+
|
|
5908
|
+
raise "Missing the required parameter 'work_request_id' when calling list_tagging_work_request_logs." if work_request_id.nil?
|
|
5909
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
5910
|
+
|
|
5911
|
+
path = '/taggingWorkRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
|
|
5912
|
+
operation_signing_strategy = :standard
|
|
5913
|
+
|
|
5914
|
+
# rubocop:disable Style/NegatedIf
|
|
5915
|
+
# Query Params
|
|
5916
|
+
query_params = {}
|
|
5917
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5918
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5919
|
+
|
|
5920
|
+
# Header Params
|
|
5921
|
+
header_params = {}
|
|
5922
|
+
header_params[:accept] = 'application/json'
|
|
5923
|
+
header_params[:'content-type'] = 'application/json'
|
|
5924
|
+
# rubocop:enable Style/NegatedIf
|
|
5925
|
+
|
|
5926
|
+
post_body = nil
|
|
5927
|
+
|
|
5928
|
+
# rubocop:disable Metrics/BlockLength
|
|
5929
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_request_logs') do
|
|
5930
|
+
@api_client.call_api(
|
|
5931
|
+
:GET,
|
|
5932
|
+
path,
|
|
5933
|
+
endpoint,
|
|
5934
|
+
header_params: header_params,
|
|
5935
|
+
query_params: query_params,
|
|
5936
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5937
|
+
body: post_body,
|
|
5938
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestLogSummary>'
|
|
5939
|
+
)
|
|
5940
|
+
end
|
|
5941
|
+
# rubocop:enable Metrics/BlockLength
|
|
5942
|
+
end
|
|
5943
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5944
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5945
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5946
|
+
|
|
5947
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5948
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5949
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5950
|
+
|
|
5951
|
+
|
|
5952
|
+
# Lists the tagging work requests in compartment.
|
|
5953
|
+
#
|
|
5954
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
5955
|
+
#
|
|
5956
|
+
# @param [Hash] opts the optional parameters
|
|
5957
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5958
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5959
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
5960
|
+
#
|
|
5961
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
5962
|
+
#
|
|
5963
|
+
# @option opts [String] :resource_identifier The identifier of the resource the work request affects.
|
|
5964
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestSummary TaggingWorkRequestSummary}>
|
|
5965
|
+
def list_tagging_work_requests(compartment_id, opts = {})
|
|
5966
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_requests.' if logger
|
|
5967
|
+
|
|
5968
|
+
raise "Missing the required parameter 'compartment_id' when calling list_tagging_work_requests." if compartment_id.nil?
|
|
4621
5969
|
|
|
4622
|
-
path = '/
|
|
5970
|
+
path = '/taggingWorkRequests/'
|
|
4623
5971
|
operation_signing_strategy = :standard
|
|
4624
5972
|
|
|
4625
5973
|
# rubocop:disable Style/NegatedIf
|
|
@@ -4628,8 +5976,7 @@ module OCI
|
|
|
4628
5976
|
query_params[:compartmentId] = compartment_id
|
|
4629
5977
|
query_params[:page] = opts[:page] if opts[:page]
|
|
4630
5978
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4631
|
-
query_params[:
|
|
4632
|
-
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
5979
|
+
query_params[:resourceIdentifier] = opts[:resource_identifier] if opts[:resource_identifier]
|
|
4633
5980
|
|
|
4634
5981
|
# Header Params
|
|
4635
5982
|
header_params = {}
|
|
@@ -4640,7 +5987,7 @@ module OCI
|
|
|
4640
5987
|
post_body = nil
|
|
4641
5988
|
|
|
4642
5989
|
# rubocop:disable Metrics/BlockLength
|
|
4643
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#
|
|
5990
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_requests') do
|
|
4644
5991
|
@api_client.call_api(
|
|
4645
5992
|
:GET,
|
|
4646
5993
|
path,
|
|
@@ -4649,7 +5996,7 @@ module OCI
|
|
|
4649
5996
|
query_params: query_params,
|
|
4650
5997
|
operation_signing_strategy: operation_signing_strategy,
|
|
4651
5998
|
body: post_body,
|
|
4652
|
-
return_type: 'Array<OCI::Identity::Models::
|
|
5999
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestSummary>'
|
|
4653
6000
|
)
|
|
4654
6001
|
end
|
|
4655
6002
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -4738,7 +6085,7 @@ module OCI
|
|
|
4738
6085
|
# - Similarly, you can limit the results to just the memberships for a given group by specifying a `groupId`.
|
|
4739
6086
|
# - You can set both the `userId` and `groupId` to determine if the specified user is in the specified group.
|
|
4740
6087
|
# If the answer is no, the response is an empty list.
|
|
4741
|
-
# - Although`userId` and `groupId` are not
|
|
6088
|
+
# - Although`userId` and `groupId` are not individually required, you must set one of them.
|
|
4742
6089
|
#
|
|
4743
6090
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
4744
6091
|
#
|
|
@@ -4818,12 +6165,42 @@ module OCI
|
|
|
4818
6165
|
#
|
|
4819
6166
|
# @option opts [String] :external_identifier The id of a user in the identity provider.
|
|
4820
6167
|
#
|
|
6168
|
+
# @option opts [String] :name A filter to only return resources that match the given name exactly.
|
|
6169
|
+
#
|
|
6170
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
6171
|
+
# TIMECREATED is descending. Default order for NAME is ascending. The NAME
|
|
6172
|
+
# sort order is case sensitive.
|
|
6173
|
+
#
|
|
6174
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
6175
|
+
# optionally filter by Availability Domain if the scope of the resource type is within a
|
|
6176
|
+
# single Availability Domain. If you call one of these \"List\" operations without specifying
|
|
6177
|
+
# an Availability Domain, the resources are grouped by Availability Domain, then sorted.
|
|
6178
|
+
#
|
|
6179
|
+
# Allowed values are: TIMECREATED, NAME
|
|
6180
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order
|
|
6181
|
+
# is case sensitive.
|
|
6182
|
+
#
|
|
6183
|
+
# Allowed values are: ASC, DESC
|
|
6184
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
|
6185
|
+
#
|
|
4821
6186
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::User User}>
|
|
4822
6187
|
def list_users(compartment_id, opts = {})
|
|
4823
6188
|
logger.debug 'Calling operation IdentityClient#list_users.' if logger
|
|
4824
6189
|
|
|
4825
6190
|
raise "Missing the required parameter 'compartment_id' when calling list_users." if compartment_id.nil?
|
|
4826
6191
|
|
|
6192
|
+
if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by])
|
|
6193
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.'
|
|
6194
|
+
end
|
|
6195
|
+
|
|
6196
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
6197
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
6198
|
+
end
|
|
6199
|
+
|
|
6200
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::User::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
6201
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::User::LIFECYCLE_STATE_ENUM.'
|
|
6202
|
+
end
|
|
6203
|
+
|
|
4827
6204
|
path = '/users/'
|
|
4828
6205
|
operation_signing_strategy = :standard
|
|
4829
6206
|
|
|
@@ -4835,6 +6212,10 @@ module OCI
|
|
|
4835
6212
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
4836
6213
|
query_params[:identityProviderId] = opts[:identity_provider_id] if opts[:identity_provider_id]
|
|
4837
6214
|
query_params[:externalIdentifier] = opts[:external_identifier] if opts[:external_identifier]
|
|
6215
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
6216
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
6217
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
6218
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
4838
6219
|
|
|
4839
6220
|
# Header Params
|
|
4840
6221
|
header_params = {}
|
|
@@ -4929,6 +6310,144 @@ module OCI
|
|
|
4929
6310
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4930
6311
|
|
|
4931
6312
|
|
|
6313
|
+
# Move the compartment to a different parent compartment in the same tenancy. When you move a
|
|
6314
|
+
# compartment, all its contents (subcompartments and resources) are moved with it. Note that
|
|
6315
|
+
# the `CompartmentId` that you specify in the path is the compartment that you want to move.
|
|
6316
|
+
#
|
|
6317
|
+
# **IMPORTANT**: After you move a compartment to a new parent compartment, the access policies of
|
|
6318
|
+
# the new parent take effect and the policies of the previous parent no longer apply. Ensure that you
|
|
6319
|
+
# are aware of the implications for the compartment contents before you move it. For more
|
|
6320
|
+
# information, see [Moving a Compartment](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#MoveCompartment).
|
|
6321
|
+
#
|
|
6322
|
+
# @param [String] compartment_id The OCID of the compartment.
|
|
6323
|
+
# @param [OCI::Identity::Models::MoveCompartmentDetails] move_compartment_details Request object for moving a compartment.
|
|
6324
|
+
# @param [Hash] opts the optional parameters
|
|
6325
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6326
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
6327
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
6328
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
6329
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
6330
|
+
#
|
|
6331
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
6332
|
+
# particular request, please provide the request ID.
|
|
6333
|
+
#
|
|
6334
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
6335
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
6336
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
6337
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
6338
|
+
# may be rejected).
|
|
6339
|
+
#
|
|
6340
|
+
# @return [Response] A Response object with data of type nil
|
|
6341
|
+
def move_compartment(compartment_id, move_compartment_details, opts = {})
|
|
6342
|
+
logger.debug 'Calling operation IdentityClient#move_compartment.' if logger
|
|
6343
|
+
|
|
6344
|
+
raise "Missing the required parameter 'compartment_id' when calling move_compartment." if compartment_id.nil?
|
|
6345
|
+
raise "Missing the required parameter 'move_compartment_details' when calling move_compartment." if move_compartment_details.nil?
|
|
6346
|
+
raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
|
|
6347
|
+
|
|
6348
|
+
path = '/compartments/{compartmentId}/actions/moveCompartment'.sub('{compartmentId}', compartment_id.to_s)
|
|
6349
|
+
operation_signing_strategy = :standard
|
|
6350
|
+
|
|
6351
|
+
# rubocop:disable Style/NegatedIf
|
|
6352
|
+
# Query Params
|
|
6353
|
+
query_params = {}
|
|
6354
|
+
|
|
6355
|
+
# Header Params
|
|
6356
|
+
header_params = {}
|
|
6357
|
+
header_params[:accept] = 'application/json'
|
|
6358
|
+
header_params[:'content-type'] = 'application/json'
|
|
6359
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
6360
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
6361
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
6362
|
+
# rubocop:enable Style/NegatedIf
|
|
6363
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
6364
|
+
|
|
6365
|
+
post_body = @api_client.object_to_http_body(move_compartment_details)
|
|
6366
|
+
|
|
6367
|
+
# rubocop:disable Metrics/BlockLength
|
|
6368
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#move_compartment') do
|
|
6369
|
+
@api_client.call_api(
|
|
6370
|
+
:POST,
|
|
6371
|
+
path,
|
|
6372
|
+
endpoint,
|
|
6373
|
+
header_params: header_params,
|
|
6374
|
+
query_params: query_params,
|
|
6375
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
6376
|
+
body: post_body
|
|
6377
|
+
)
|
|
6378
|
+
end
|
|
6379
|
+
# rubocop:enable Metrics/BlockLength
|
|
6380
|
+
end
|
|
6381
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6382
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6383
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
6384
|
+
|
|
6385
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6386
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6387
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6388
|
+
|
|
6389
|
+
|
|
6390
|
+
# Recover the compartment from DELETED state to ACTIVE state.
|
|
6391
|
+
#
|
|
6392
|
+
# @param [String] compartment_id The OCID of the compartment.
|
|
6393
|
+
# @param [Hash] opts the optional parameters
|
|
6394
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6395
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
6396
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
6397
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
6398
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
6399
|
+
#
|
|
6400
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
6401
|
+
# particular request, please provide the request ID.
|
|
6402
|
+
#
|
|
6403
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::Compartment Compartment}
|
|
6404
|
+
def recover_compartment(compartment_id, opts = {})
|
|
6405
|
+
logger.debug 'Calling operation IdentityClient#recover_compartment.' if logger
|
|
6406
|
+
|
|
6407
|
+
raise "Missing the required parameter 'compartment_id' when calling recover_compartment." if compartment_id.nil?
|
|
6408
|
+
raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
|
|
6409
|
+
|
|
6410
|
+
path = '/compartments/{compartmentId}/actions/recoverCompartment'.sub('{compartmentId}', compartment_id.to_s)
|
|
6411
|
+
operation_signing_strategy = :standard
|
|
6412
|
+
|
|
6413
|
+
# rubocop:disable Style/NegatedIf
|
|
6414
|
+
# Query Params
|
|
6415
|
+
query_params = {}
|
|
6416
|
+
|
|
6417
|
+
# Header Params
|
|
6418
|
+
header_params = {}
|
|
6419
|
+
header_params[:accept] = 'application/json'
|
|
6420
|
+
header_params[:'content-type'] = 'application/json'
|
|
6421
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
6422
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
6423
|
+
# rubocop:enable Style/NegatedIf
|
|
6424
|
+
|
|
6425
|
+
post_body = nil
|
|
6426
|
+
|
|
6427
|
+
# rubocop:disable Metrics/BlockLength
|
|
6428
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#recover_compartment') do
|
|
6429
|
+
@api_client.call_api(
|
|
6430
|
+
:POST,
|
|
6431
|
+
path,
|
|
6432
|
+
endpoint,
|
|
6433
|
+
header_params: header_params,
|
|
6434
|
+
query_params: query_params,
|
|
6435
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
6436
|
+
body: post_body,
|
|
6437
|
+
return_type: 'OCI::Identity::Models::Compartment'
|
|
6438
|
+
)
|
|
6439
|
+
end
|
|
6440
|
+
# rubocop:enable Metrics/BlockLength
|
|
6441
|
+
end
|
|
6442
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6443
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6444
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
6445
|
+
|
|
6446
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6447
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6448
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6449
|
+
|
|
6450
|
+
|
|
4932
6451
|
# Removes a user from a group by deleting the corresponding `UserGroupMembership`.
|
|
4933
6452
|
# @param [String] user_group_membership_id The OCID of the userGroupMembership.
|
|
4934
6453
|
# @param [Hash] opts the optional parameters
|
|
@@ -5514,6 +7033,126 @@ module OCI
|
|
|
5514
7033
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5515
7034
|
|
|
5516
7035
|
|
|
7036
|
+
# Updates the specified network source.
|
|
7037
|
+
# @param [String] network_source_id The OCID of the network source.
|
|
7038
|
+
# @param [OCI::Identity::Models::UpdateNetworkSourceDetails] update_network_source_details Request object for updating a network source.
|
|
7039
|
+
# @param [Hash] opts the optional parameters
|
|
7040
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7041
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7042
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
7043
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
7044
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
7045
|
+
#
|
|
7046
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::NetworkSources NetworkSources}
|
|
7047
|
+
def update_network_source(network_source_id, update_network_source_details, opts = {})
|
|
7048
|
+
logger.debug 'Calling operation IdentityClient#update_network_source.' if logger
|
|
7049
|
+
|
|
7050
|
+
raise "Missing the required parameter 'network_source_id' when calling update_network_source." if network_source_id.nil?
|
|
7051
|
+
raise "Missing the required parameter 'update_network_source_details' when calling update_network_source." if update_network_source_details.nil?
|
|
7052
|
+
raise "Parameter value for 'network_source_id' must not be blank" if OCI::Internal::Util.blank_string?(network_source_id)
|
|
7053
|
+
|
|
7054
|
+
path = '/networkSources/{networkSourceId}'.sub('{networkSourceId}', network_source_id.to_s)
|
|
7055
|
+
operation_signing_strategy = :standard
|
|
7056
|
+
|
|
7057
|
+
# rubocop:disable Style/NegatedIf
|
|
7058
|
+
# Query Params
|
|
7059
|
+
query_params = {}
|
|
7060
|
+
|
|
7061
|
+
# Header Params
|
|
7062
|
+
header_params = {}
|
|
7063
|
+
header_params[:accept] = 'application/json'
|
|
7064
|
+
header_params[:'content-type'] = 'application/json'
|
|
7065
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
7066
|
+
# rubocop:enable Style/NegatedIf
|
|
7067
|
+
|
|
7068
|
+
post_body = @api_client.object_to_http_body(update_network_source_details)
|
|
7069
|
+
|
|
7070
|
+
# rubocop:disable Metrics/BlockLength
|
|
7071
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_network_source') do
|
|
7072
|
+
@api_client.call_api(
|
|
7073
|
+
:PUT,
|
|
7074
|
+
path,
|
|
7075
|
+
endpoint,
|
|
7076
|
+
header_params: header_params,
|
|
7077
|
+
query_params: query_params,
|
|
7078
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7079
|
+
body: post_body,
|
|
7080
|
+
return_type: 'OCI::Identity::Models::NetworkSources'
|
|
7081
|
+
)
|
|
7082
|
+
end
|
|
7083
|
+
# rubocop:enable Metrics/BlockLength
|
|
7084
|
+
end
|
|
7085
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7086
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7087
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7088
|
+
|
|
7089
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7090
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7091
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7092
|
+
|
|
7093
|
+
|
|
7094
|
+
# Updates Oauth token for the user
|
|
7095
|
+
#
|
|
7096
|
+
# @param [String] user_id The OCID of the user.
|
|
7097
|
+
# @param [String] oauth2_client_credential_id The ID of the Oauth credential.
|
|
7098
|
+
# @param [OCI::Identity::Models::UpdateOAuth2ClientCredentialDetails] update_o_auth2_client_credential_details Request object containing the information required to generate an Oauth token.
|
|
7099
|
+
# @param [Hash] opts the optional parameters
|
|
7100
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7101
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7102
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
7103
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
7104
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
7105
|
+
#
|
|
7106
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::OAuth2ClientCredential OAuth2ClientCredential}
|
|
7107
|
+
def update_o_auth_client_credential(user_id, oauth2_client_credential_id, update_o_auth2_client_credential_details, opts = {})
|
|
7108
|
+
logger.debug 'Calling operation IdentityClient#update_o_auth_client_credential.' if logger
|
|
7109
|
+
|
|
7110
|
+
raise "Missing the required parameter 'user_id' when calling update_o_auth_client_credential." if user_id.nil?
|
|
7111
|
+
raise "Missing the required parameter 'oauth2_client_credential_id' when calling update_o_auth_client_credential." if oauth2_client_credential_id.nil?
|
|
7112
|
+
raise "Missing the required parameter 'update_o_auth2_client_credential_details' when calling update_o_auth_client_credential." if update_o_auth2_client_credential_details.nil?
|
|
7113
|
+
raise "Parameter value for 'user_id' must not be blank" if OCI::Internal::Util.blank_string?(user_id)
|
|
7114
|
+
raise "Parameter value for 'oauth2_client_credential_id' must not be blank" if OCI::Internal::Util.blank_string?(oauth2_client_credential_id)
|
|
7115
|
+
|
|
7116
|
+
path = '/users/{userId}/oauth2ClientCredentials/{oauth2ClientCredentialId}'.sub('{userId}', user_id.to_s).sub('{oauth2ClientCredentialId}', oauth2_client_credential_id.to_s)
|
|
7117
|
+
operation_signing_strategy = :standard
|
|
7118
|
+
|
|
7119
|
+
# rubocop:disable Style/NegatedIf
|
|
7120
|
+
# Query Params
|
|
7121
|
+
query_params = {}
|
|
7122
|
+
|
|
7123
|
+
# Header Params
|
|
7124
|
+
header_params = {}
|
|
7125
|
+
header_params[:accept] = 'application/json'
|
|
7126
|
+
header_params[:'content-type'] = 'application/json'
|
|
7127
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
7128
|
+
# rubocop:enable Style/NegatedIf
|
|
7129
|
+
|
|
7130
|
+
post_body = @api_client.object_to_http_body(update_o_auth2_client_credential_details)
|
|
7131
|
+
|
|
7132
|
+
# rubocop:disable Metrics/BlockLength
|
|
7133
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_o_auth_client_credential') do
|
|
7134
|
+
@api_client.call_api(
|
|
7135
|
+
:PUT,
|
|
7136
|
+
path,
|
|
7137
|
+
endpoint,
|
|
7138
|
+
header_params: header_params,
|
|
7139
|
+
query_params: query_params,
|
|
7140
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7141
|
+
body: post_body,
|
|
7142
|
+
return_type: 'OCI::Identity::Models::OAuth2ClientCredential'
|
|
7143
|
+
)
|
|
7144
|
+
end
|
|
7145
|
+
# rubocop:enable Metrics/BlockLength
|
|
7146
|
+
end
|
|
7147
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7148
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7149
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7150
|
+
|
|
7151
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7152
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7153
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7154
|
+
|
|
7155
|
+
|
|
5517
7156
|
# Updates the specified policy. You can update the description or the policy statements themselves.
|
|
5518
7157
|
#
|
|
5519
7158
|
# Policy changes take effect typically within 10 seconds.
|
|
@@ -5701,7 +7340,16 @@ module OCI
|
|
|
5701
7340
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5702
7341
|
|
|
5703
7342
|
|
|
5704
|
-
# Updates the
|
|
7343
|
+
# Updates the specified tag definition.
|
|
7344
|
+
#
|
|
7345
|
+
# Setting `validator` determines the value type. Tags can use either a static value or a
|
|
7346
|
+
# list of possible values. Static values are entered by a user applying the tag to a resource.
|
|
7347
|
+
# Lists are created by you and the user must apply a value from the list. On update, any values
|
|
7348
|
+
# in a list that were previously set do not change, but new values must pass validation. Values
|
|
7349
|
+
# already applied to a resource do not change.
|
|
7350
|
+
#
|
|
7351
|
+
# You cannot remove list values that appear in a TagDefault. To remove a list value that
|
|
7352
|
+
# appears in a TagDefault, first update the TagDefault to use a different value.
|
|
5705
7353
|
#
|
|
5706
7354
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
5707
7355
|
#
|
|
@@ -5765,7 +7413,12 @@ module OCI
|
|
|
5765
7413
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5766
7414
|
|
|
5767
7415
|
|
|
5768
|
-
# Updates the specified tag default.
|
|
7416
|
+
# Updates the specified tag default. If you specify that a value is required, a value is set
|
|
7417
|
+
# during resource creation (either by the user creating the resource or another tag defualt).
|
|
7418
|
+
# If no value is set, resource creation is blocked.
|
|
7419
|
+
#
|
|
7420
|
+
# * If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
|
7421
|
+
# * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
|
5769
7422
|
#
|
|
5770
7423
|
# @param [String] tag_default_id The OCID of the tag default.
|
|
5771
7424
|
# @param [OCI::Identity::Models::UpdateTagDefaultDetails] update_tag_default_details Request object for updating a tag default.
|
|
@@ -5833,7 +7486,7 @@ module OCI
|
|
|
5833
7486
|
#
|
|
5834
7487
|
# Updating `isRetired` to 'true' retires the namespace and all the tag definitions in the namespace. Reactivating a
|
|
5835
7488
|
# namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions.
|
|
5836
|
-
# To reactivate the tag definitions, you must reactivate each one
|
|
7489
|
+
# To reactivate the tag definitions, you must reactivate each one individually *after* you reactivate the namespace,
|
|
5837
7490
|
# using {#update_tag update_tag}. For more information about retiring tag namespaces, see
|
|
5838
7491
|
# [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
|
5839
7492
|
#
|