oci 2.115.1__py3-none-any.whl → 2.116.0__py3-none-any.whl
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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_speech/models/__init__.py +4 -0
- oci/ai_speech/models/create_transcription_job_details.py +4 -4
- oci/ai_speech/models/diarization.py +103 -0
- oci/ai_speech/models/transcription_job.py +6 -6
- oci/ai_speech/models/transcription_job_summary.py +6 -6
- oci/ai_speech/models/transcription_model_details.py +29 -2
- oci/ai_speech/models/transcription_settings.py +68 -0
- oci/ai_speech/models/update_transcription_job_details.py +4 -4
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +521 -47
- oci/bds/bds_client_composite_operations.py +123 -0
- oci/bds/models/__init__.py +14 -0
- oci/bds/models/certificate_service_info_details.py +72 -0
- oci/bds/models/certificate_service_info_summary.py +206 -0
- oci/bds/models/disable_certificate_details.py +103 -0
- oci/bds/models/enable_certificate_details.py +196 -0
- oci/bds/models/host_cert_details.py +134 -0
- oci/bds/models/host_specific_certificate_details.py +150 -0
- oci/bds/models/renew_certificate_details.py +196 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1480 -210
- oci/core/compute_client_composite_operations.py +195 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +42 -0
- oci/core/models/capacity_source.py +101 -0
- oci/core/models/change_compute_capacity_topology_compartment_details.py +78 -0
- oci/core/models/compute_bare_metal_host.py +458 -0
- oci/core/models/compute_bare_metal_host_collection.py +72 -0
- oci/core/models/compute_bare_metal_host_summary.py +422 -0
- oci/core/models/compute_capacity_topology.py +425 -0
- oci/core/models/compute_capacity_topology_collection.py +72 -0
- oci/core/models/compute_capacity_topology_summary.py +370 -0
- oci/core/models/compute_hpc_island.py +267 -0
- oci/core/models/compute_hpc_island_collection.py +72 -0
- oci/core/models/compute_hpc_island_summary.py +251 -0
- oci/core/models/compute_network_block.py +302 -0
- oci/core/models/compute_network_block_collection.py +72 -0
- oci/core/models/compute_network_block_summary.py +286 -0
- oci/core/models/create_capacity_source_details.py +89 -0
- oci/core/models/create_compute_capacity_topology_details.py +253 -0
- oci/core/models/create_dedicated_capacity_source_details.py +85 -0
- oci/core/models/dedicated_capacity_source.py +86 -0
- oci/core/models/update_capacity_source_details.py +89 -0
- oci/core/models/update_compute_capacity_topology_details.py +183 -0
- oci/core/models/update_dedicated_capacity_source_details.py +50 -0
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +141 -141
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +252 -252
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +320 -320
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +57 -57
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +20355 -6173
- oci/identity_domains/models/__init__.py +216 -0
- oci/identity_domains/models/app_extension_radius_app_app.py +55 -0
- oci/identity_domains/models/approval_workflow.py +832 -0
- oci/identity_domains/models/approval_workflow_approval_workflow_steps.py +294 -0
- oci/identity_domains/models/approval_workflow_assignment.py +771 -0
- oci/identity_domains/models/approval_workflow_assignment_approval_workflow.py +318 -0
- oci/identity_domains/models/approval_workflow_assignment_assigned_to.py +318 -0
- oci/identity_domains/models/approval_workflow_assignments.py +196 -0
- oci/identity_domains/models/approval_workflow_max_duration.py +185 -0
- oci/identity_domains/models/approval_workflow_step.py +929 -0
- oci/identity_domains/models/approval_workflow_step_approvers.py +294 -0
- oci/identity_domains/models/approval_workflow_steps.py +196 -0
- oci/identity_domains/models/approval_workflows.py +196 -0
- oci/identity_domains/models/authentication_factors_remover.py +51 -2
- oci/identity_domains/models/branding_setting.py +1556 -0
- oci/identity_domains/models/branding_settings.py +196 -0
- oci/identity_domains/models/branding_settings_company_names.py +131 -0
- oci/identity_domains/models/branding_settings_default_company_names.py +143 -0
- oci/identity_domains/models/branding_settings_default_images.py +188 -0
- oci/identity_domains/models/branding_settings_default_login_texts.py +143 -0
- oci/identity_domains/models/branding_settings_images.py +176 -0
- oci/identity_domains/models/branding_settings_login_texts.py +131 -0
- oci/identity_domains/models/cloud_gate.py +1239 -0
- oci/identity_domains/models/cloud_gate_ext_mappings.py +610 -0
- oci/identity_domains/models/cloud_gate_ext_servers.py +296 -0
- oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.py +316 -0
- oci/identity_domains/models/cloud_gate_ext_upstream_servers.py +426 -0
- oci/identity_domains/models/cloud_gate_mapping.py +1068 -0
- oci/identity_domains/models/cloud_gate_mapping_cloud_gate.py +153 -0
- oci/identity_domains/models/cloud_gate_mapping_gateway_app.py +204 -0
- oci/identity_domains/models/cloud_gate_mapping_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_mapping_server.py +153 -0
- oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.py +217 -0
- oci/identity_domains/models/cloud_gate_mappings.py +196 -0
- oci/identity_domains/models/cloud_gate_oauth_client.py +208 -0
- oci/identity_domains/models/cloud_gate_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_server.py +1042 -0
- oci/identity_domains/models/cloud_gate_server_cloud_gate.py +153 -0
- oci/identity_domains/models/cloud_gate_server_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_servers.py +196 -0
- oci/identity_domains/models/cloud_gates.py +196 -0
- oci/identity_domains/models/condition.py +1063 -0
- oci/identity_domains/models/condition_search_request.py +364 -0
- oci/identity_domains/models/conditions.py +196 -0
- oci/identity_domains/models/defined_tags.py +2 -0
- oci/identity_domains/models/extension_social_identity_provider.py +55 -0
- oci/identity_domains/models/freeform_tags.py +2 -0
- oci/identity_domains/models/identity_provider_relay_idp_param_mappings.py +159 -0
- oci/identity_domains/models/me_password_changer.py +2 -2
- oci/identity_domains/models/my_authentication_factors_remover.py +51 -2
- oci/identity_domains/models/my_completed_approval.py +1146 -0
- oci/identity_domains/models/my_completed_approvals.py +196 -0
- oci/identity_domains/models/my_pending_approval.py +1146 -0
- oci/identity_domains/models/my_pending_approvals.py +196 -0
- oci/identity_domains/models/my_request.py +217 -2
- oci/identity_domains/models/my_request_approval_details.py +398 -0
- oci/identity_domains/models/my_request_requesting.py +53 -0
- oci/identity_domains/models/network_perimeter.py +852 -0
- oci/identity_domains/models/network_perimeter_ip_addresses.py +228 -0
- oci/identity_domains/models/network_perimeter_search_request.py +364 -0
- oci/identity_domains/models/network_perimeters.py +196 -0
- oci/identity_domains/models/notification_setting.py +1038 -0
- oci/identity_domains/models/notification_settings.py +196 -0
- oci/identity_domains/models/notification_settings_event_settings.py +143 -0
- oci/identity_domains/models/notification_settings_from_email_address.py +278 -0
- oci/identity_domains/models/notification_settings_search_request.py +171 -0
- oci/identity_domains/models/o_auth_client_certificate.py +1187 -0
- oci/identity_domains/models/o_auth_client_certificate_search_request.py +364 -0
- oci/identity_domains/models/o_auth_client_certificates.py +196 -0
- oci/identity_domains/models/o_auth_partner_certificate.py +1187 -0
- oci/identity_domains/models/o_auth_partner_certificate_search_request.py +364 -0
- oci/identity_domains/models/o_auth_partner_certificates.py +196 -0
- oci/identity_domains/models/policies.py +196 -0
- oci/identity_domains/models/policy.py +979 -0
- oci/identity_domains/models/policy_policy_type.py +150 -0
- oci/identity_domains/models/policy_rules.py +247 -0
- oci/identity_domains/models/policy_search_request.py +364 -0
- oci/identity_domains/models/rule.py +1110 -0
- oci/identity_domains/models/rule_condition_group.py +270 -0
- oci/identity_domains/models/rule_policy_type.py +150 -0
- oci/identity_domains/models/rule_return.py +188 -0
- oci/identity_domains/models/rule_search_request.py +364 -0
- oci/identity_domains/models/rules.py +196 -0
- oci/identity_domains/models/schema.py +537 -0
- oci/identity_domains/models/schema_attributes.py +4165 -0
- oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.py +188 -0
- oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.py +433 -0
- oci/identity_domains/models/schema_localized_canonical_values.py +188 -0
- oci/identity_domains/models/schema_localized_display_name.py +147 -0
- oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.py +139 -0
- oci/identity_domains/models/schema_resolve_value_using_resource_type.py +139 -0
- oci/identity_domains/models/schema_search_request.py +329 -0
- oci/identity_domains/models/schema_sub_attributes.py +3209 -0
- oci/identity_domains/models/schemas.py +196 -0
- oci/identity_domains/models/self_registration_profile.py +1636 -0
- oci/identity_domains/models/self_registration_profile_after_submit_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_consent_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_default_groups.py +190 -0
- oci/identity_domains/models/self_registration_profile_display_name.py +194 -0
- oci/identity_domains/models/self_registration_profile_email_template.py +202 -0
- oci/identity_domains/models/self_registration_profile_footer_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_header_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_search_request.py +364 -0
- oci/identity_domains/models/self_registration_profile_user_attributes.py +286 -0
- oci/identity_domains/models/self_registration_profiles.py +196 -0
- oci/identity_domains/models/setting.py +3110 -0
- oci/identity_domains/models/settings.py +196 -0
- oci/identity_domains/models/settings_certificate_validation.py +566 -0
- oci/identity_domains/models/settings_cloud_gate_cors_settings.py +318 -0
- oci/identity_domains/models/settings_company_names.py +135 -0
- oci/identity_domains/models/settings_default_company_names.py +143 -0
- oci/identity_domains/models/settings_default_images.py +188 -0
- oci/identity_domains/models/settings_default_login_texts.py +145 -0
- oci/identity_domains/models/settings_images.py +176 -0
- oci/identity_domains/models/settings_login_texts.py +137 -0
- oci/identity_domains/models/settings_purge_configs.py +139 -0
- oci/identity_domains/models/settings_search_request.py +171 -0
- oci/identity_domains/models/settings_tenant_custom_claims.py +438 -0
- oci/identity_domains/models/user_ext_risk_scores.py +4 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +192 -192
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/esxi_host_client.py +6 -6
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +159 -159
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/__init__.py +14 -0
- oci/psql/models/__init__.py +166 -0
- oci/psql/models/backup.py +645 -0
- oci/psql/models/backup_collection.py +72 -0
- oci/psql/models/backup_policy.py +156 -0
- oci/psql/models/backup_source_details.py +113 -0
- oci/psql/models/backup_summary.py +481 -0
- oci/psql/models/change_backup_compartment_details.py +74 -0
- oci/psql/models/change_configuration_compartment_details.py +74 -0
- oci/psql/models/change_db_system_compartment_details.py +78 -0
- oci/psql/models/config_overrides.py +103 -0
- oci/psql/models/config_params.py +289 -0
- oci/psql/models/configuration.py +532 -0
- oci/psql/models/configuration_collection.py +72 -0
- oci/psql/models/configuration_details.py +72 -0
- oci/psql/models/configuration_summary.py +450 -0
- oci/psql/models/connection_details.py +134 -0
- oci/psql/models/create_backup_details.py +262 -0
- oci/psql/models/create_configuration_details.py +384 -0
- oci/psql/models/create_db_instance_details.py +136 -0
- oci/psql/models/create_db_system_details.py +585 -0
- oci/psql/models/credentials.py +100 -0
- oci/psql/models/daily_backup_policy.py +89 -0
- oci/psql/models/db_configuration_override_collection.py +72 -0
- oci/psql/models/db_instance.py +325 -0
- oci/psql/models/db_instance_endpoint.py +99 -0
- oci/psql/models/db_system.py +827 -0
- oci/psql/models/db_system_collection.py +72 -0
- oci/psql/models/db_system_details.py +103 -0
- oci/psql/models/db_system_summary.py +574 -0
- oci/psql/models/default_config_params.py +258 -0
- oci/psql/models/default_configuration.py +406 -0
- oci/psql/models/default_configuration_collection.py +72 -0
- oci/psql/models/default_configuration_details.py +72 -0
- oci/psql/models/default_configuration_summary.py +320 -0
- oci/psql/models/endpoint.py +134 -0
- oci/psql/models/failover_db_system_details.py +107 -0
- oci/psql/models/management_policy.py +99 -0
- oci/psql/models/management_policy_details.py +99 -0
- oci/psql/models/monthly_backup_policy.py +122 -0
- oci/psql/models/network_details.py +136 -0
- oci/psql/models/none_backup_policy.py +58 -0
- oci/psql/models/none_source_details.py +51 -0
- oci/psql/models/oci_optimized_storage_details.py +95 -0
- oci/psql/models/password_details.py +110 -0
- oci/psql/models/patch_db_system_details.py +74 -0
- oci/psql/models/patch_insert_instruction.py +171 -0
- oci/psql/models/patch_instruction.py +184 -0
- oci/psql/models/patch_merge_instruction.py +97 -0
- oci/psql/models/patch_move_instruction.py +147 -0
- oci/psql/models/patch_prohibit_instruction.py +100 -0
- oci/psql/models/patch_remove_instruction.py +59 -0
- oci/psql/models/patch_replace_instruction.py +92 -0
- oci/psql/models/patch_require_instruction.py +99 -0
- oci/psql/models/plain_text_password_details.py +82 -0
- oci/psql/models/primary_db_instance_details.py +72 -0
- oci/psql/models/reset_master_user_password_details.py +69 -0
- oci/psql/models/restart_db_instance_in_db_system_details.py +119 -0
- oci/psql/models/restore_db_system_details.py +105 -0
- oci/psql/models/shape_collection.py +72 -0
- oci/psql/models/shape_summary.py +165 -0
- oci/psql/models/source_details.py +109 -0
- oci/psql/models/storage_details.py +161 -0
- oci/psql/models/update_backup_details.py +200 -0
- oci/psql/models/update_configuration_details.py +103 -0
- oci/psql/models/update_db_config_params.py +121 -0
- oci/psql/models/update_db_system_db_instance_details.py +103 -0
- oci/psql/models/update_db_system_details.py +250 -0
- oci/psql/models/update_storage_details_params.py +74 -0
- oci/psql/models/vault_secret_password_details.py +113 -0
- oci/psql/models/weekly_backup_policy.py +157 -0
- oci/psql/models/work_request.py +412 -0
- oci/psql/models/work_request_error.py +136 -0
- oci/psql/models/work_request_error_collection.py +72 -0
- oci/psql/models/work_request_log_entry.py +103 -0
- oci/psql/models/work_request_log_entry_collection.py +72 -0
- oci/psql/models/work_request_resource.py +228 -0
- oci/psql/models/work_request_summary.py +412 -0
- oci/psql/models/work_request_summary_collection.py +72 -0
- oci/psql/postgresql_client.py +3980 -0
- oci/psql/postgresql_client_composite_operations.py +807 -0
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +19 -19
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/METADATA +1 -1
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/RECORD +478 -259
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/WHEEL +0 -0
- {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/top_level.txt +0 -0
oci/bds/bds_client.py
CHANGED
@@ -163,7 +163,7 @@ class BdsClient(object):
|
|
163
163
|
:rtype: :class:`~oci.response.Response`
|
164
164
|
|
165
165
|
:example:
|
166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/activate_bds_metastore_configuration.py.html>`__ to see an example of how to use activate_bds_metastore_configuration API.
|
167
167
|
"""
|
168
168
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
169
169
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -282,7 +282,7 @@ class BdsClient(object):
|
|
282
282
|
:rtype: :class:`~oci.response.Response`
|
283
283
|
|
284
284
|
:example:
|
285
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_auto_scaling_configuration.py.html>`__ to see an example of how to use add_auto_scaling_configuration API.
|
286
286
|
"""
|
287
287
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
288
288
|
required_arguments = ['bdsInstanceId']
|
@@ -400,7 +400,7 @@ class BdsClient(object):
|
|
400
400
|
:rtype: :class:`~oci.response.Response`
|
401
401
|
|
402
402
|
:example:
|
403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_block_storage.py.html>`__ to see an example of how to use add_block_storage API.
|
404
404
|
"""
|
405
405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
406
406
|
required_arguments = ['bdsInstanceId']
|
@@ -518,7 +518,7 @@ class BdsClient(object):
|
|
518
518
|
:rtype: :class:`~oci.response.Response`
|
519
519
|
|
520
520
|
:example:
|
521
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
521
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_cloud_sql.py.html>`__ to see an example of how to use add_cloud_sql API.
|
522
522
|
"""
|
523
523
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
524
524
|
required_arguments = ['bdsInstanceId']
|
@@ -636,7 +636,7 @@ class BdsClient(object):
|
|
636
636
|
:rtype: :class:`~oci.response.Response`
|
637
637
|
|
638
638
|
:example:
|
639
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
639
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_kafka.py.html>`__ to see an example of how to use add_kafka API.
|
640
640
|
"""
|
641
641
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
642
642
|
required_arguments = ['bdsInstanceId']
|
@@ -754,7 +754,7 @@ class BdsClient(object):
|
|
754
754
|
:rtype: :class:`~oci.response.Response`
|
755
755
|
|
756
756
|
:example:
|
757
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
757
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_master_nodes.py.html>`__ to see an example of how to use add_master_nodes API.
|
758
758
|
"""
|
759
759
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
760
760
|
required_arguments = ['bdsInstanceId']
|
@@ -872,7 +872,7 @@ class BdsClient(object):
|
|
872
872
|
:rtype: :class:`~oci.response.Response`
|
873
873
|
|
874
874
|
:example:
|
875
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
875
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_utility_nodes.py.html>`__ to see an example of how to use add_utility_nodes API.
|
876
876
|
"""
|
877
877
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
878
878
|
required_arguments = ['bdsInstanceId']
|
@@ -990,7 +990,7 @@ class BdsClient(object):
|
|
990
990
|
:rtype: :class:`~oci.response.Response`
|
991
991
|
|
992
992
|
:example:
|
993
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
993
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/add_worker_nodes.py.html>`__ to see an example of how to use add_worker_nodes API.
|
994
994
|
"""
|
995
995
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
996
996
|
required_arguments = ['bdsInstanceId']
|
@@ -1064,6 +1064,126 @@ class BdsClient(object):
|
|
1064
1064
|
api_reference_link=api_reference_link,
|
1065
1065
|
required_arguments=required_arguments)
|
1066
1066
|
|
1067
|
+
def certificate_service_info(self, bds_instance_id, certificate_service_info_details, **kwargs):
|
1068
|
+
"""
|
1069
|
+
A list of services and their certificate details.
|
1070
|
+
|
1071
|
+
|
1072
|
+
:param str bds_instance_id: (required)
|
1073
|
+
The OCID of the cluster.
|
1074
|
+
|
1075
|
+
:param oci.bds.models.CertificateServiceInfoDetails certificate_service_info_details: (required)
|
1076
|
+
Details for certificate service info
|
1077
|
+
|
1078
|
+
:param str opc_request_id: (optional)
|
1079
|
+
The client request ID for tracing.
|
1080
|
+
|
1081
|
+
:param str if_match: (optional)
|
1082
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1083
|
+
for a resource, set the `if-match` parameter to the value of the
|
1084
|
+
etag from a previous GET or POST response for that resource.
|
1085
|
+
The resource will be updated or deleted only if the etag you
|
1086
|
+
provide matches the resource's current etag value.
|
1087
|
+
|
1088
|
+
:param str opc_retry_token: (optional)
|
1089
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1090
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
1091
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
1092
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1093
|
+
might be rejected.
|
1094
|
+
|
1095
|
+
:param obj retry_strategy: (optional)
|
1096
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1097
|
+
|
1098
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
1099
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1100
|
+
|
1101
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1102
|
+
|
1103
|
+
:param bool allow_control_chars: (optional)
|
1104
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1105
|
+
By default, the response will not allow control characters in strings
|
1106
|
+
|
1107
|
+
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.bds.models.CertificateServiceInfoSummary`
|
1108
|
+
:rtype: :class:`~oci.response.Response`
|
1109
|
+
|
1110
|
+
:example:
|
1111
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/certificate_service_info.py.html>`__ to see an example of how to use certificate_service_info API.
|
1112
|
+
"""
|
1113
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1114
|
+
required_arguments = ['bdsInstanceId']
|
1115
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/actions/fetchOdhServiceCertificate"
|
1116
|
+
method = "POST"
|
1117
|
+
operation_name = "certificate_service_info"
|
1118
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CertificateServiceInfo"
|
1119
|
+
|
1120
|
+
# Don't accept unknown kwargs
|
1121
|
+
expected_kwargs = [
|
1122
|
+
"allow_control_chars",
|
1123
|
+
"retry_strategy",
|
1124
|
+
"opc_request_id",
|
1125
|
+
"if_match",
|
1126
|
+
"opc_retry_token"
|
1127
|
+
]
|
1128
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1129
|
+
if extra_kwargs:
|
1130
|
+
raise ValueError(
|
1131
|
+
f"certificate_service_info got unknown kwargs: {extra_kwargs!r}")
|
1132
|
+
|
1133
|
+
path_params = {
|
1134
|
+
"bdsInstanceId": bds_instance_id
|
1135
|
+
}
|
1136
|
+
|
1137
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1138
|
+
|
1139
|
+
for (k, v) in six.iteritems(path_params):
|
1140
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1141
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1142
|
+
|
1143
|
+
header_params = {
|
1144
|
+
"accept": "application/json",
|
1145
|
+
"content-type": "application/json",
|
1146
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1147
|
+
"if-match": kwargs.get("if_match", missing),
|
1148
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1149
|
+
}
|
1150
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1151
|
+
|
1152
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1153
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1154
|
+
client_retry_strategy=self.retry_strategy
|
1155
|
+
)
|
1156
|
+
|
1157
|
+
if retry_strategy:
|
1158
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1159
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1160
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1161
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1162
|
+
return retry_strategy.make_retrying_call(
|
1163
|
+
self.base_client.call_api,
|
1164
|
+
resource_path=resource_path,
|
1165
|
+
method=method,
|
1166
|
+
path_params=path_params,
|
1167
|
+
header_params=header_params,
|
1168
|
+
body=certificate_service_info_details,
|
1169
|
+
response_type="list[CertificateServiceInfoSummary]",
|
1170
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1171
|
+
operation_name=operation_name,
|
1172
|
+
api_reference_link=api_reference_link,
|
1173
|
+
required_arguments=required_arguments)
|
1174
|
+
else:
|
1175
|
+
return self.base_client.call_api(
|
1176
|
+
resource_path=resource_path,
|
1177
|
+
method=method,
|
1178
|
+
path_params=path_params,
|
1179
|
+
header_params=header_params,
|
1180
|
+
body=certificate_service_info_details,
|
1181
|
+
response_type="list[CertificateServiceInfoSummary]",
|
1182
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1183
|
+
operation_name=operation_name,
|
1184
|
+
api_reference_link=api_reference_link,
|
1185
|
+
required_arguments=required_arguments)
|
1186
|
+
|
1067
1187
|
def change_bds_instance_compartment(self, bds_instance_id, change_bds_instance_compartment_details, **kwargs):
|
1068
1188
|
"""
|
1069
1189
|
Moves a Big Data Service cluster into a different compartment.
|
@@ -1108,7 +1228,7 @@ class BdsClient(object):
|
|
1108
1228
|
:rtype: :class:`~oci.response.Response`
|
1109
1229
|
|
1110
1230
|
:example:
|
1111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1231
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/change_bds_instance_compartment.py.html>`__ to see an example of how to use change_bds_instance_compartment API.
|
1112
1232
|
"""
|
1113
1233
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1114
1234
|
required_arguments = ['bdsInstanceId']
|
@@ -1226,7 +1346,7 @@ class BdsClient(object):
|
|
1226
1346
|
:rtype: :class:`~oci.response.Response`
|
1227
1347
|
|
1228
1348
|
:example:
|
1229
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1349
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/change_shape.py.html>`__ to see an example of how to use change_shape API.
|
1230
1350
|
"""
|
1231
1351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1232
1352
|
required_arguments = ['bdsInstanceId']
|
@@ -1337,7 +1457,7 @@ class BdsClient(object):
|
|
1337
1457
|
:rtype: :class:`~oci.response.Response`
|
1338
1458
|
|
1339
1459
|
:example:
|
1340
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1460
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/create_bds_api_key.py.html>`__ to see an example of how to use create_bds_api_key API.
|
1341
1461
|
"""
|
1342
1462
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1343
1463
|
required_arguments = ['bdsInstanceId']
|
@@ -1443,7 +1563,7 @@ class BdsClient(object):
|
|
1443
1563
|
:rtype: :class:`~oci.response.Response`
|
1444
1564
|
|
1445
1565
|
:example:
|
1446
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1566
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/create_bds_instance.py.html>`__ to see an example of how to use create_bds_instance API.
|
1447
1567
|
"""
|
1448
1568
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1449
1569
|
required_arguments = []
|
@@ -1540,7 +1660,7 @@ class BdsClient(object):
|
|
1540
1660
|
:rtype: :class:`~oci.response.Response`
|
1541
1661
|
|
1542
1662
|
:example:
|
1543
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/create_bds_metastore_configuration.py.html>`__ to see an example of how to use create_bds_metastore_configuration API.
|
1544
1664
|
"""
|
1545
1665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1546
1666
|
required_arguments = ['bdsInstanceId']
|
@@ -1649,7 +1769,7 @@ class BdsClient(object):
|
|
1649
1769
|
:rtype: :class:`~oci.response.Response`
|
1650
1770
|
|
1651
1771
|
:example:
|
1652
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/delete_bds_api_key.py.html>`__ to see an example of how to use delete_bds_api_key API.
|
1653
1773
|
"""
|
1654
1774
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1655
1775
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -1753,7 +1873,7 @@ class BdsClient(object):
|
|
1753
1873
|
:rtype: :class:`~oci.response.Response`
|
1754
1874
|
|
1755
1875
|
:example:
|
1756
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1876
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/delete_bds_instance.py.html>`__ to see an example of how to use delete_bds_instance API.
|
1757
1877
|
"""
|
1758
1878
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1759
1879
|
required_arguments = ['bdsInstanceId']
|
@@ -1859,7 +1979,7 @@ class BdsClient(object):
|
|
1859
1979
|
:rtype: :class:`~oci.response.Response`
|
1860
1980
|
|
1861
1981
|
:example:
|
1862
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1982
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/delete_bds_metastore_configuration.py.html>`__ to see an example of how to use delete_bds_metastore_configuration API.
|
1863
1983
|
"""
|
1864
1984
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1865
1985
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -1929,6 +2049,242 @@ class BdsClient(object):
|
|
1929
2049
|
api_reference_link=api_reference_link,
|
1930
2050
|
required_arguments=required_arguments)
|
1931
2051
|
|
2052
|
+
def disable_certificate(self, bds_instance_id, disable_certificate_details, **kwargs):
|
2053
|
+
"""
|
2054
|
+
Disabling TLS/SSL for various ODH services running on the BDS cluster.
|
2055
|
+
|
2056
|
+
|
2057
|
+
:param str bds_instance_id: (required)
|
2058
|
+
The OCID of the cluster.
|
2059
|
+
|
2060
|
+
:param oci.bds.models.DisableCertificateDetails disable_certificate_details: (required)
|
2061
|
+
Details for disabling certificate.
|
2062
|
+
|
2063
|
+
:param str opc_request_id: (optional)
|
2064
|
+
The client request ID for tracing.
|
2065
|
+
|
2066
|
+
:param str if_match: (optional)
|
2067
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2068
|
+
for a resource, set the `if-match` parameter to the value of the
|
2069
|
+
etag from a previous GET or POST response for that resource.
|
2070
|
+
The resource will be updated or deleted only if the etag you
|
2071
|
+
provide matches the resource's current etag value.
|
2072
|
+
|
2073
|
+
:param str opc_retry_token: (optional)
|
2074
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2075
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
2076
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
2077
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2078
|
+
might be rejected.
|
2079
|
+
|
2080
|
+
:param obj retry_strategy: (optional)
|
2081
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2082
|
+
|
2083
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
2084
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2085
|
+
|
2086
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2087
|
+
|
2088
|
+
:param bool allow_control_chars: (optional)
|
2089
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2090
|
+
By default, the response will not allow control characters in strings
|
2091
|
+
|
2092
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2093
|
+
:rtype: :class:`~oci.response.Response`
|
2094
|
+
|
2095
|
+
:example:
|
2096
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/disable_certificate.py.html>`__ to see an example of how to use disable_certificate API.
|
2097
|
+
"""
|
2098
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2099
|
+
required_arguments = ['bdsInstanceId']
|
2100
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/actions/disableOdhServiceCertificate"
|
2101
|
+
method = "POST"
|
2102
|
+
operation_name = "disable_certificate"
|
2103
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DisableCertificate"
|
2104
|
+
|
2105
|
+
# Don't accept unknown kwargs
|
2106
|
+
expected_kwargs = [
|
2107
|
+
"allow_control_chars",
|
2108
|
+
"retry_strategy",
|
2109
|
+
"opc_request_id",
|
2110
|
+
"if_match",
|
2111
|
+
"opc_retry_token"
|
2112
|
+
]
|
2113
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2114
|
+
if extra_kwargs:
|
2115
|
+
raise ValueError(
|
2116
|
+
f"disable_certificate got unknown kwargs: {extra_kwargs!r}")
|
2117
|
+
|
2118
|
+
path_params = {
|
2119
|
+
"bdsInstanceId": bds_instance_id
|
2120
|
+
}
|
2121
|
+
|
2122
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2123
|
+
|
2124
|
+
for (k, v) in six.iteritems(path_params):
|
2125
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2126
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2127
|
+
|
2128
|
+
header_params = {
|
2129
|
+
"accept": "application/json",
|
2130
|
+
"content-type": "application/json",
|
2131
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2132
|
+
"if-match": kwargs.get("if_match", missing),
|
2133
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2134
|
+
}
|
2135
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2136
|
+
|
2137
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2138
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2139
|
+
client_retry_strategy=self.retry_strategy
|
2140
|
+
)
|
2141
|
+
|
2142
|
+
if retry_strategy:
|
2143
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2144
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
2145
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2146
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2147
|
+
return retry_strategy.make_retrying_call(
|
2148
|
+
self.base_client.call_api,
|
2149
|
+
resource_path=resource_path,
|
2150
|
+
method=method,
|
2151
|
+
path_params=path_params,
|
2152
|
+
header_params=header_params,
|
2153
|
+
body=disable_certificate_details,
|
2154
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2155
|
+
operation_name=operation_name,
|
2156
|
+
api_reference_link=api_reference_link,
|
2157
|
+
required_arguments=required_arguments)
|
2158
|
+
else:
|
2159
|
+
return self.base_client.call_api(
|
2160
|
+
resource_path=resource_path,
|
2161
|
+
method=method,
|
2162
|
+
path_params=path_params,
|
2163
|
+
header_params=header_params,
|
2164
|
+
body=disable_certificate_details,
|
2165
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2166
|
+
operation_name=operation_name,
|
2167
|
+
api_reference_link=api_reference_link,
|
2168
|
+
required_arguments=required_arguments)
|
2169
|
+
|
2170
|
+
def enable_certificate(self, bds_instance_id, enable_certificate_details, **kwargs):
|
2171
|
+
"""
|
2172
|
+
Configuring TLS/SSL for various ODH services running on the BDS cluster.
|
2173
|
+
|
2174
|
+
|
2175
|
+
:param str bds_instance_id: (required)
|
2176
|
+
The OCID of the cluster.
|
2177
|
+
|
2178
|
+
:param oci.bds.models.EnableCertificateDetails enable_certificate_details: (required)
|
2179
|
+
Details for configuring certificate.
|
2180
|
+
|
2181
|
+
:param str opc_request_id: (optional)
|
2182
|
+
The client request ID for tracing.
|
2183
|
+
|
2184
|
+
:param str if_match: (optional)
|
2185
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2186
|
+
for a resource, set the `if-match` parameter to the value of the
|
2187
|
+
etag from a previous GET or POST response for that resource.
|
2188
|
+
The resource will be updated or deleted only if the etag you
|
2189
|
+
provide matches the resource's current etag value.
|
2190
|
+
|
2191
|
+
:param str opc_retry_token: (optional)
|
2192
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2193
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
2194
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
2195
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2196
|
+
might be rejected.
|
2197
|
+
|
2198
|
+
:param obj retry_strategy: (optional)
|
2199
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2200
|
+
|
2201
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
2202
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2203
|
+
|
2204
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2205
|
+
|
2206
|
+
:param bool allow_control_chars: (optional)
|
2207
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2208
|
+
By default, the response will not allow control characters in strings
|
2209
|
+
|
2210
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2211
|
+
:rtype: :class:`~oci.response.Response`
|
2212
|
+
|
2213
|
+
:example:
|
2214
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/enable_certificate.py.html>`__ to see an example of how to use enable_certificate API.
|
2215
|
+
"""
|
2216
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2217
|
+
required_arguments = ['bdsInstanceId']
|
2218
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/actions/enableOdhServiceCertificate"
|
2219
|
+
method = "POST"
|
2220
|
+
operation_name = "enable_certificate"
|
2221
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/EnableCertificate"
|
2222
|
+
|
2223
|
+
# Don't accept unknown kwargs
|
2224
|
+
expected_kwargs = [
|
2225
|
+
"allow_control_chars",
|
2226
|
+
"retry_strategy",
|
2227
|
+
"opc_request_id",
|
2228
|
+
"if_match",
|
2229
|
+
"opc_retry_token"
|
2230
|
+
]
|
2231
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2232
|
+
if extra_kwargs:
|
2233
|
+
raise ValueError(
|
2234
|
+
f"enable_certificate got unknown kwargs: {extra_kwargs!r}")
|
2235
|
+
|
2236
|
+
path_params = {
|
2237
|
+
"bdsInstanceId": bds_instance_id
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2241
|
+
|
2242
|
+
for (k, v) in six.iteritems(path_params):
|
2243
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2244
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2245
|
+
|
2246
|
+
header_params = {
|
2247
|
+
"accept": "application/json",
|
2248
|
+
"content-type": "application/json",
|
2249
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2250
|
+
"if-match": kwargs.get("if_match", missing),
|
2251
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2252
|
+
}
|
2253
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2254
|
+
|
2255
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2256
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2257
|
+
client_retry_strategy=self.retry_strategy
|
2258
|
+
)
|
2259
|
+
|
2260
|
+
if retry_strategy:
|
2261
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2262
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
2263
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2264
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2265
|
+
return retry_strategy.make_retrying_call(
|
2266
|
+
self.base_client.call_api,
|
2267
|
+
resource_path=resource_path,
|
2268
|
+
method=method,
|
2269
|
+
path_params=path_params,
|
2270
|
+
header_params=header_params,
|
2271
|
+
body=enable_certificate_details,
|
2272
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2273
|
+
operation_name=operation_name,
|
2274
|
+
api_reference_link=api_reference_link,
|
2275
|
+
required_arguments=required_arguments)
|
2276
|
+
else:
|
2277
|
+
return self.base_client.call_api(
|
2278
|
+
resource_path=resource_path,
|
2279
|
+
method=method,
|
2280
|
+
path_params=path_params,
|
2281
|
+
header_params=header_params,
|
2282
|
+
body=enable_certificate_details,
|
2283
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2284
|
+
operation_name=operation_name,
|
2285
|
+
api_reference_link=api_reference_link,
|
2286
|
+
required_arguments=required_arguments)
|
2287
|
+
|
1932
2288
|
def execute_bootstrap_script(self, bds_instance_id, execute_bootstrap_script_details, **kwargs):
|
1933
2289
|
"""
|
1934
2290
|
Execute bootstrap script.
|
@@ -1973,7 +2329,7 @@ class BdsClient(object):
|
|
1973
2329
|
:rtype: :class:`~oci.response.Response`
|
1974
2330
|
|
1975
2331
|
:example:
|
1976
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2332
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/execute_bootstrap_script.py.html>`__ to see an example of how to use execute_bootstrap_script API.
|
1977
2333
|
"""
|
1978
2334
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1979
2335
|
required_arguments = ['bdsInstanceId']
|
@@ -2077,7 +2433,7 @@ class BdsClient(object):
|
|
2077
2433
|
:rtype: :class:`~oci.response.Response`
|
2078
2434
|
|
2079
2435
|
:example:
|
2080
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
|
2081
2437
|
"""
|
2082
2438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2083
2439
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -2177,7 +2533,7 @@ class BdsClient(object):
|
|
2177
2533
|
:rtype: :class:`~oci.response.Response`
|
2178
2534
|
|
2179
2535
|
:example:
|
2180
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2536
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_bds_api_key.py.html>`__ to see an example of how to use get_bds_api_key API.
|
2181
2537
|
"""
|
2182
2538
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2183
2539
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -2274,7 +2630,7 @@ class BdsClient(object):
|
|
2274
2630
|
:rtype: :class:`~oci.response.Response`
|
2275
2631
|
|
2276
2632
|
:example:
|
2277
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2633
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_bds_instance.py.html>`__ to see an example of how to use get_bds_instance API.
|
2278
2634
|
"""
|
2279
2635
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2280
2636
|
required_arguments = ['bdsInstanceId']
|
@@ -2373,7 +2729,7 @@ class BdsClient(object):
|
|
2373
2729
|
:rtype: :class:`~oci.response.Response`
|
2374
2730
|
|
2375
2731
|
:example:
|
2376
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2732
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_bds_metastore_configuration.py.html>`__ to see an example of how to use get_bds_metastore_configuration API.
|
2377
2733
|
"""
|
2378
2734
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2379
2735
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -2487,7 +2843,7 @@ class BdsClient(object):
|
|
2487
2843
|
:rtype: :class:`~oci.response.Response`
|
2488
2844
|
|
2489
2845
|
:example:
|
2490
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2846
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_os_patch_details.py.html>`__ to see an example of how to use get_os_patch_details API.
|
2491
2847
|
"""
|
2492
2848
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2493
2849
|
required_arguments = ['bdsInstanceId', 'osPatchVersion']
|
@@ -2595,7 +2951,7 @@ class BdsClient(object):
|
|
2595
2951
|
:rtype: :class:`~oci.response.Response`
|
2596
2952
|
|
2597
2953
|
:example:
|
2598
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2954
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2599
2955
|
"""
|
2600
2956
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2601
2957
|
required_arguments = ['workRequestId']
|
@@ -2708,7 +3064,7 @@ class BdsClient(object):
|
|
2708
3064
|
:rtype: :class:`~oci.response.Response`
|
2709
3065
|
|
2710
3066
|
:example:
|
2711
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3067
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/install_os_patch.py.html>`__ to see an example of how to use install_os_patch API.
|
2712
3068
|
"""
|
2713
3069
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2714
3070
|
required_arguments = ['bdsInstanceId']
|
@@ -2826,7 +3182,7 @@ class BdsClient(object):
|
|
2826
3182
|
:rtype: :class:`~oci.response.Response`
|
2827
3183
|
|
2828
3184
|
:example:
|
2829
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3185
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/install_patch.py.html>`__ to see an example of how to use install_patch API.
|
2830
3186
|
"""
|
2831
3187
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2832
3188
|
required_arguments = ['bdsInstanceId']
|
@@ -2954,7 +3310,7 @@ class BdsClient(object):
|
|
2954
3310
|
:rtype: :class:`~oci.response.Response`
|
2955
3311
|
|
2956
3312
|
:example:
|
2957
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3313
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
|
2958
3314
|
"""
|
2959
3315
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2960
3316
|
required_arguments = ['bdsInstanceId', 'compartmentId']
|
@@ -3117,7 +3473,7 @@ class BdsClient(object):
|
|
3117
3473
|
:rtype: :class:`~oci.response.Response`
|
3118
3474
|
|
3119
3475
|
:example:
|
3120
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3476
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_bds_api_keys.py.html>`__ to see an example of how to use list_bds_api_keys API.
|
3121
3477
|
"""
|
3122
3478
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3123
3479
|
required_arguments = ['bdsInstanceId']
|
@@ -3278,7 +3634,7 @@ class BdsClient(object):
|
|
3278
3634
|
:rtype: :class:`~oci.response.Response`
|
3279
3635
|
|
3280
3636
|
:example:
|
3281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_bds_instances.py.html>`__ to see an example of how to use list_bds_instances API.
|
3282
3638
|
"""
|
3283
3639
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3284
3640
|
required_arguments = ['compartmentId']
|
@@ -3437,7 +3793,7 @@ class BdsClient(object):
|
|
3437
3793
|
:rtype: :class:`~oci.response.Response`
|
3438
3794
|
|
3439
3795
|
:example:
|
3440
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3796
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_bds_metastore_configurations.py.html>`__ to see an example of how to use list_bds_metastore_configurations API.
|
3441
3797
|
"""
|
3442
3798
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3443
3799
|
required_arguments = ['bdsInstanceId']
|
@@ -3615,7 +3971,7 @@ class BdsClient(object):
|
|
3615
3971
|
:rtype: :class:`~oci.response.Response`
|
3616
3972
|
|
3617
3973
|
:example:
|
3618
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3974
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_os_patches.py.html>`__ to see an example of how to use list_os_patches API.
|
3619
3975
|
"""
|
3620
3976
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3621
3977
|
required_arguments = ['bdsInstanceId']
|
@@ -3773,7 +4129,7 @@ class BdsClient(object):
|
|
3773
4129
|
:rtype: :class:`~oci.response.Response`
|
3774
4130
|
|
3775
4131
|
:example:
|
3776
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4132
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_patch_histories.py.html>`__ to see an example of how to use list_patch_histories API.
|
3777
4133
|
"""
|
3778
4134
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3779
4135
|
required_arguments = ['bdsInstanceId']
|
@@ -3923,7 +4279,7 @@ class BdsClient(object):
|
|
3923
4279
|
:rtype: :class:`~oci.response.Response`
|
3924
4280
|
|
3925
4281
|
:example:
|
3926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_patches.py.html>`__ to see an example of how to use list_patches API.
|
3927
4283
|
"""
|
3928
4284
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3929
4285
|
required_arguments = ['bdsInstanceId']
|
@@ -4045,7 +4401,7 @@ class BdsClient(object):
|
|
4045
4401
|
:rtype: :class:`~oci.response.Response`
|
4046
4402
|
|
4047
4403
|
:example:
|
4048
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4404
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
4049
4405
|
"""
|
4050
4406
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4051
4407
|
required_arguments = ['workRequestId']
|
@@ -4185,7 +4541,7 @@ class BdsClient(object):
|
|
4185
4541
|
:rtype: :class:`~oci.response.Response`
|
4186
4542
|
|
4187
4543
|
:example:
|
4188
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4544
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
4189
4545
|
"""
|
4190
4546
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4191
4547
|
required_arguments = ['workRequestId']
|
@@ -4328,7 +4684,7 @@ class BdsClient(object):
|
|
4328
4684
|
:rtype: :class:`~oci.response.Response`
|
4329
4685
|
|
4330
4686
|
:example:
|
4331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4687
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4332
4688
|
"""
|
4333
4689
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4334
4690
|
required_arguments = ['compartmentId']
|
@@ -4463,7 +4819,7 @@ class BdsClient(object):
|
|
4463
4819
|
:rtype: :class:`~oci.response.Response`
|
4464
4820
|
|
4465
4821
|
:example:
|
4466
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4822
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/remove_auto_scaling_configuration.py.html>`__ to see an example of how to use remove_auto_scaling_configuration API.
|
4467
4823
|
"""
|
4468
4824
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4469
4825
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -4582,7 +4938,7 @@ class BdsClient(object):
|
|
4582
4938
|
:rtype: :class:`~oci.response.Response`
|
4583
4939
|
|
4584
4940
|
:example:
|
4585
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4941
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/remove_cloud_sql.py.html>`__ to see an example of how to use remove_cloud_sql API.
|
4586
4942
|
"""
|
4587
4943
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4588
4944
|
required_arguments = ['bdsInstanceId']
|
@@ -4700,7 +5056,7 @@ class BdsClient(object):
|
|
4700
5056
|
:rtype: :class:`~oci.response.Response`
|
4701
5057
|
|
4702
5058
|
:example:
|
4703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5059
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/remove_kafka.py.html>`__ to see an example of how to use remove_kafka API.
|
4704
5060
|
"""
|
4705
5061
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4706
5062
|
required_arguments = ['bdsInstanceId']
|
@@ -4811,7 +5167,7 @@ class BdsClient(object):
|
|
4811
5167
|
:rtype: :class:`~oci.response.Response`
|
4812
5168
|
|
4813
5169
|
:example:
|
4814
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/remove_node.py.html>`__ to see an example of how to use remove_node API.
|
4815
5171
|
"""
|
4816
5172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4817
5173
|
required_arguments = ['bdsInstanceId']
|
@@ -4882,6 +5238,124 @@ class BdsClient(object):
|
|
4882
5238
|
api_reference_link=api_reference_link,
|
4883
5239
|
required_arguments=required_arguments)
|
4884
5240
|
|
5241
|
+
def renew_certificate(self, bds_instance_id, renew_certificate_details, **kwargs):
|
5242
|
+
"""
|
5243
|
+
Renewing TLS/SSL for various ODH services running on the BDS cluster.
|
5244
|
+
|
5245
|
+
|
5246
|
+
:param str bds_instance_id: (required)
|
5247
|
+
The OCID of the cluster.
|
5248
|
+
|
5249
|
+
:param oci.bds.models.RenewCertificateDetails renew_certificate_details: (required)
|
5250
|
+
Details for renewing certificate.
|
5251
|
+
|
5252
|
+
:param str opc_request_id: (optional)
|
5253
|
+
The client request ID for tracing.
|
5254
|
+
|
5255
|
+
:param str if_match: (optional)
|
5256
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
5257
|
+
for a resource, set the `if-match` parameter to the value of the
|
5258
|
+
etag from a previous GET or POST response for that resource.
|
5259
|
+
The resource will be updated or deleted only if the etag you
|
5260
|
+
provide matches the resource's current etag value.
|
5261
|
+
|
5262
|
+
:param str opc_retry_token: (optional)
|
5263
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
5264
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
5265
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
5266
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
5267
|
+
might be rejected.
|
5268
|
+
|
5269
|
+
:param obj retry_strategy: (optional)
|
5270
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5271
|
+
|
5272
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5273
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5274
|
+
|
5275
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5276
|
+
|
5277
|
+
:param bool allow_control_chars: (optional)
|
5278
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5279
|
+
By default, the response will not allow control characters in strings
|
5280
|
+
|
5281
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5282
|
+
:rtype: :class:`~oci.response.Response`
|
5283
|
+
|
5284
|
+
:example:
|
5285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/renew_certificate.py.html>`__ to see an example of how to use renew_certificate API.
|
5286
|
+
"""
|
5287
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5288
|
+
required_arguments = ['bdsInstanceId']
|
5289
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/actions/renewOdhServiceCertificate"
|
5290
|
+
method = "POST"
|
5291
|
+
operation_name = "renew_certificate"
|
5292
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RenewCertificate"
|
5293
|
+
|
5294
|
+
# Don't accept unknown kwargs
|
5295
|
+
expected_kwargs = [
|
5296
|
+
"allow_control_chars",
|
5297
|
+
"retry_strategy",
|
5298
|
+
"opc_request_id",
|
5299
|
+
"if_match",
|
5300
|
+
"opc_retry_token"
|
5301
|
+
]
|
5302
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5303
|
+
if extra_kwargs:
|
5304
|
+
raise ValueError(
|
5305
|
+
f"renew_certificate got unknown kwargs: {extra_kwargs!r}")
|
5306
|
+
|
5307
|
+
path_params = {
|
5308
|
+
"bdsInstanceId": bds_instance_id
|
5309
|
+
}
|
5310
|
+
|
5311
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5312
|
+
|
5313
|
+
for (k, v) in six.iteritems(path_params):
|
5314
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5315
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5316
|
+
|
5317
|
+
header_params = {
|
5318
|
+
"accept": "application/json",
|
5319
|
+
"content-type": "application/json",
|
5320
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5321
|
+
"if-match": kwargs.get("if_match", missing),
|
5322
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
5323
|
+
}
|
5324
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5325
|
+
|
5326
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5327
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5328
|
+
client_retry_strategy=self.retry_strategy
|
5329
|
+
)
|
5330
|
+
|
5331
|
+
if retry_strategy:
|
5332
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5333
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5334
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5335
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5336
|
+
return retry_strategy.make_retrying_call(
|
5337
|
+
self.base_client.call_api,
|
5338
|
+
resource_path=resource_path,
|
5339
|
+
method=method,
|
5340
|
+
path_params=path_params,
|
5341
|
+
header_params=header_params,
|
5342
|
+
body=renew_certificate_details,
|
5343
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5344
|
+
operation_name=operation_name,
|
5345
|
+
api_reference_link=api_reference_link,
|
5346
|
+
required_arguments=required_arguments)
|
5347
|
+
else:
|
5348
|
+
return self.base_client.call_api(
|
5349
|
+
resource_path=resource_path,
|
5350
|
+
method=method,
|
5351
|
+
path_params=path_params,
|
5352
|
+
header_params=header_params,
|
5353
|
+
body=renew_certificate_details,
|
5354
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5355
|
+
operation_name=operation_name,
|
5356
|
+
api_reference_link=api_reference_link,
|
5357
|
+
required_arguments=required_arguments)
|
5358
|
+
|
4885
5359
|
def restart_node(self, bds_instance_id, restart_node_details, **kwargs):
|
4886
5360
|
"""
|
4887
5361
|
Restarts a single node of a Big Data Service cluster
|
@@ -4926,7 +5400,7 @@ class BdsClient(object):
|
|
4926
5400
|
:rtype: :class:`~oci.response.Response`
|
4927
5401
|
|
4928
5402
|
:example:
|
4929
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/restart_node.py.html>`__ to see an example of how to use restart_node API.
|
4930
5404
|
"""
|
4931
5405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4932
5406
|
required_arguments = ['bdsInstanceId']
|
@@ -5037,7 +5511,7 @@ class BdsClient(object):
|
|
5037
5511
|
:rtype: :class:`~oci.response.Response`
|
5038
5512
|
|
5039
5513
|
:example:
|
5040
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5514
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/start_bds_instance.py.html>`__ to see an example of how to use start_bds_instance API.
|
5041
5515
|
"""
|
5042
5516
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5043
5517
|
required_arguments = ['bdsInstanceId']
|
@@ -5145,7 +5619,7 @@ class BdsClient(object):
|
|
5145
5619
|
:rtype: :class:`~oci.response.Response`
|
5146
5620
|
|
5147
5621
|
:example:
|
5148
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5622
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/stop_bds_instance.py.html>`__ to see an example of how to use stop_bds_instance API.
|
5149
5623
|
"""
|
5150
5624
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5151
5625
|
required_arguments = ['bdsInstanceId']
|
@@ -5256,7 +5730,7 @@ class BdsClient(object):
|
|
5256
5730
|
:rtype: :class:`~oci.response.Response`
|
5257
5731
|
|
5258
5732
|
:example:
|
5259
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5733
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/test_bds_metastore_configuration.py.html>`__ to see an example of how to use test_bds_metastore_configuration API.
|
5260
5734
|
"""
|
5261
5735
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5262
5736
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -5361,7 +5835,7 @@ class BdsClient(object):
|
|
5361
5835
|
:rtype: :class:`~oci.response.Response`
|
5362
5836
|
|
5363
5837
|
:example:
|
5364
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/test_bds_object_storage_connection.py.html>`__ to see an example of how to use test_bds_object_storage_connection API.
|
5365
5839
|
"""
|
5366
5840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5367
5841
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -5478,7 +5952,7 @@ class BdsClient(object):
|
|
5478
5952
|
:rtype: :class:`~oci.response.Response`
|
5479
5953
|
|
5480
5954
|
:example:
|
5481
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5955
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
|
5482
5956
|
"""
|
5483
5957
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5484
5958
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -5590,7 +6064,7 @@ class BdsClient(object):
|
|
5590
6064
|
:rtype: :class:`~oci.response.Response`
|
5591
6065
|
|
5592
6066
|
:example:
|
5593
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6067
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/update_bds_instance.py.html>`__ to see an example of how to use update_bds_instance API.
|
5594
6068
|
"""
|
5595
6069
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5596
6070
|
required_arguments = ['bdsInstanceId']
|
@@ -5701,7 +6175,7 @@ class BdsClient(object):
|
|
5701
6175
|
:rtype: :class:`~oci.response.Response`
|
5702
6176
|
|
5703
6177
|
:example:
|
5704
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6178
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.116.0/bds/update_bds_metastore_configuration.py.html>`__ to see an example of how to use update_bds_metastore_configuration API.
|
5705
6179
|
"""
|
5706
6180
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5707
6181
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|