oci 2.129.4__py3-none-any.whl → 2.131.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/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 +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- 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 +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +808 -84
- oci/bds/bds_client_composite_operations.py +177 -0
- oci/bds/models/__init__.py +22 -0
- oci/bds/models/auto_scale_policy_metric_rule.py +9 -5
- oci/bds/models/batching_based_odh_patching_config.py +113 -0
- oci/bds/models/batching_based_patching_configs.py +2 -2
- oci/bds/models/create_resource_principal_configuration_details.py +134 -0
- oci/bds/models/domain_based_odh_patching_config.py +82 -0
- oci/bds/models/domain_based_patching_configs.py +113 -0
- oci/bds/models/downtime_based_odh_patching_config.py +51 -0
- oci/bds/models/downtime_based_patching_configs.py +1 -1
- oci/bds/models/force_refresh_resource_principal_details.py +72 -0
- oci/bds/models/install_patch_details.py +29 -2
- oci/bds/models/node.py +31 -0
- oci/bds/models/odh_patching_config.py +117 -0
- oci/bds/models/patching_configs.py +12 -4
- oci/bds/models/remove_resource_principal_configuration_details.py +72 -0
- oci/bds/models/resource_principal_configuration.py +352 -0
- oci/bds/models/resource_principal_configuration_summary.py +289 -0
- oci/bds/models/update_resource_principal_configuration_details.py +103 -0
- oci/bds/models/work_request.py +19 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- 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 +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- 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 +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- 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 +3154 -2286
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +2 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/report.py +42 -3
- oci/data_safe/models/report_definition.py +38 -3
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +11 -3
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/work_request.py +31 -3
- oci/data_safe/models/work_request_summary.py +31 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +356 -356
- oci/database/models/autonomous_database.py +37 -2
- oci/database/models/autonomous_database_summary.py +37 -2
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +8664 -2588
- oci/devops/devops_client_composite_operations.py +443 -0
- oci/devops/models/__init__.py +182 -0
- oci/devops/models/approval_activity_summary.py +127 -0
- oci/devops/models/approval_rule.py +165 -0
- oci/devops/models/approval_rule_collection.py +72 -0
- oci/devops/models/approval_rule_merge_check.py +270 -0
- oci/devops/models/build_merge_check.py +144 -0
- oci/devops/models/build_run_snapshot.py +329 -0
- oci/devops/models/build_run_snapshot_collection.py +72 -0
- oci/devops/models/build_run_snapshot_summary.py +297 -0
- oci/devops/models/comment_activity_summary.py +110 -0
- oci/devops/models/commit_activity_summary.py +141 -0
- oci/devops/models/commit_analytics_author_collection.py +72 -0
- oci/devops/models/commit_analytics_author_summary.py +103 -0
- oci/devops/models/conflict_merge_check.py +99 -0
- oci/devops/models/create_or_update_git_branch_details.py +89 -0
- oci/devops/models/create_or_update_git_ref_details.py +140 -0
- oci/devops/models/create_or_update_git_tag_details.py +89 -0
- oci/devops/models/create_or_update_protected_branch_details.py +122 -0
- oci/devops/models/create_pull_request_comment_details.py +227 -0
- oci/devops/models/create_pull_request_details.py +328 -0
- oci/devops/models/create_repository_details.py +33 -0
- oci/devops/models/create_reviewer_details.py +72 -0
- oci/devops/models/delete_git_ref_details.py +72 -0
- oci/devops/models/delete_protected_branch_details.py +72 -0
- oci/devops/models/deploy_artifact_source.py +7 -3
- oci/devops/models/devops_code_repository_filter.py +11 -3
- oci/devops/models/devops_code_repository_filter_attributes.py +31 -0
- oci/devops/models/execute_merge_pull_request_details.py +196 -0
- oci/devops/models/fork_sync_status_collection.py +72 -0
- oci/devops/models/fork_sync_status_summary.py +154 -0
- oci/devops/models/generic_artifact_location_details.py +101 -0
- oci/devops/models/generic_artifacts.py +116 -0
- oci/devops/models/generic_deploy_artifact_source.py +1 -1
- oci/devops/models/helm_command_spec_artifact_source.py +1 -1
- oci/devops/models/helm_repository_deploy_artifact_source.py +1 -1
- oci/devops/models/inline_deploy_artifact_source.py +1 -1
- oci/devops/models/merge_check.py +117 -0
- oci/devops/models/merge_check_collection.py +145 -0
- oci/devops/models/merge_checks.py +88 -0
- oci/devops/models/merge_pull_request_details.py +109 -0
- oci/devops/models/merge_settings.py +139 -0
- oci/devops/models/mirror_repository_config.py +2 -2
- oci/devops/models/object_storage_generic_artifact_location_details.py +175 -0
- oci/devops/models/ocir_deploy_artifact_source.py +1 -1
- oci/devops/models/patch_insert_instruction.py +171 -0
- oci/devops/models/patch_instruction.py +184 -0
- oci/devops/models/patch_merge_instruction.py +97 -0
- oci/devops/models/patch_move_instruction.py +147 -0
- oci/devops/models/patch_prohibit_instruction.py +100 -0
- oci/devops/models/patch_pull_request_details.py +72 -0
- oci/devops/models/patch_remove_instruction.py +59 -0
- oci/devops/models/patch_replace_instruction.py +92 -0
- oci/devops/models/patch_require_instruction.py +99 -0
- oci/devops/models/principal_details.py +209 -0
- oci/devops/models/project_notification_preference.py +154 -0
- oci/devops/models/project_repository_settings.py +95 -0
- oci/devops/models/protected_branch.py +189 -0
- oci/devops/models/protected_branch_collection.py +72 -0
- oci/devops/models/protected_branch_summary.py +224 -0
- oci/devops/models/pull_request.py +814 -0
- oci/devops/models/pull_request_activity_collection.py +72 -0
- oci/devops/models/pull_request_activity_summary.py +253 -0
- oci/devops/models/pull_request_attachment.py +196 -0
- oci/devops/models/pull_request_attachment_collection.py +72 -0
- oci/devops/models/pull_request_attachment_summary.py +196 -0
- oci/devops/models/pull_request_author_collection.py +72 -0
- oci/devops/models/pull_request_author_summary.py +68 -0
- oci/devops/models/pull_request_change_summary_metrics.py +134 -0
- oci/devops/models/pull_request_collection.py +72 -0
- oci/devops/models/pull_request_comment.py +581 -0
- oci/devops/models/pull_request_comment_collection.py +72 -0
- oci/devops/models/pull_request_comment_like_collection.py +103 -0
- oci/devops/models/pull_request_comment_summary.py +533 -0
- oci/devops/models/pull_request_file_change_collection.py +72 -0
- oci/devops/models/pull_request_file_change_summary.py +456 -0
- oci/devops/models/pull_request_lifecycle_activity_summary.py +135 -0
- oci/devops/models/pull_request_notification_preference.py +154 -0
- oci/devops/models/pull_request_summary.py +669 -0
- oci/devops/models/repository.py +47 -6
- oci/devops/models/repository_analytics_details.py +318 -0
- oci/devops/models/repository_metric_aggregation.py +72 -0
- oci/devops/models/repository_metric_summary.py +281 -0
- oci/devops/models/repository_notification_preference.py +158 -0
- oci/devops/models/repository_settings.py +122 -0
- oci/devops/models/repository_summary.py +33 -0
- oci/devops/models/review_pull_request_details.py +88 -0
- oci/devops/models/reviewer.py +256 -0
- oci/devops/models/reviewer_activity_summary.py +141 -0
- oci/devops/models/stage_output.py +140 -0
- oci/devops/models/summarize_project_repository_analytics_details.py +318 -0
- oci/devops/models/summarize_repository_analytics_details.py +318 -0
- oci/devops/models/sync_repository_details.py +103 -0
- oci/devops/models/test_report_output.py +89 -0
- oci/devops/models/update_approval_rule_details.py +165 -0
- oci/devops/models/update_approval_rule_details_collection.py +72 -0
- oci/devops/models/update_project_notification_preference_details.py +72 -0
- oci/devops/models/update_project_repository_settings_details.py +95 -0
- oci/devops/models/update_pull_request_comment_details.py +72 -0
- oci/devops/models/update_pull_request_details.py +235 -0
- oci/devops/models/update_pull_request_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_details.py +2 -0
- oci/devops/models/update_repository_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_settings_details.py +122 -0
- oci/devops/models/update_reviewer_details.py +72 -0
- oci/devops/models/validate_merge_pull_request_details.py +51 -0
- oci/devops/models/work_request.py +31 -3
- oci/devops/models/work_request_summary.py +31 -3
- 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 +26 -26
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- 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 +41 -41
- 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/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- 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 +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +1414 -234
- oci/jms/java_management_service_client_composite_operations.py +194 -0
- oci/jms/models/__init__.py +24 -0
- oci/jms/models/agent_installer_collection.py +72 -0
- oci/jms/models/agent_installer_summary.py +411 -0
- oci/jms/models/application_installation_usage_summary.py +62 -0
- oci/jms/models/application_usage.py +35 -4
- oci/jms/models/application_work_item_details.py +1 -1
- oci/jms/models/basic_work_item_details.py +1 -1
- oci/jms/models/create_jms_plugin_details.py +220 -0
- oci/jms/models/crypto_analysis_result.py +62 -0
- oci/jms/models/crypto_analysis_result_summary.py +62 -0
- oci/jms/models/deployed_application_installation_usage_summary.py +32 -1
- oci/jms/models/deployed_application_migration_analyses_target.py +197 -0
- oci/jms/models/deployed_application_usage.py +31 -0
- oci/jms/models/deployed_application_work_item_details.py +183 -0
- oci/jms/models/export_setting.py +3 -3
- oci/jms/models/fleet_agent_configuration.py +62 -0
- oci/jms/models/generate_agent_installer_configuration_details.py +111 -0
- oci/jms/models/generate_load_pipeline_script_details.py +165 -0
- oci/jms/models/installation_site.py +7 -3
- oci/jms/models/java_artifact.py +2 -2
- oci/jms/models/java_family.py +37 -2
- oci/jms/models/java_family_summary.py +37 -2
- oci/jms/models/java_migration_analysis_target.py +34 -3
- oci/jms/models/java_server_instance_usage.py +31 -0
- oci/jms/models/jms_plugin.py +698 -0
- oci/jms/models/jms_plugin_collection.py +72 -0
- oci/jms/models/jms_plugin_summary.py +698 -0
- oci/jms/models/lcm_work_item_details.py +1 -1
- oci/jms/models/library_usage.py +64 -2
- oci/jms/models/managed_instance_usage.py +38 -3
- oci/jms/models/operating_system.py +2 -2
- oci/jms/models/performance_tuning_analysis_result.py +4 -4
- oci/jms/models/performance_tuning_analysis_result_summary.py +4 -4
- oci/jms/models/request_deployed_application_migration_analyses_details.py +73 -0
- oci/jms/models/update_export_setting_details.py +3 -3
- oci/jms/models/update_fleet_agent_configuration_details.py +62 -0
- oci/jms/models/update_jms_plugin_details.py +150 -0
- oci/jms/models/work_item_details.py +11 -3
- oci/jms/models/work_item_summary.py +7 -3
- oci/jms_java_downloads/java_download_client.py +30 -30
- oci/jms_java_downloads/models/generate_artifact_download_url_details.py +35 -0
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- 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 +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- 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 +28 -28
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- 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/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- 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/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- 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 +13 -13
- 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 +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +177 -177
- 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/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/models/create_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/custom_software_source.py +41 -0
- oci/os_management_hub/models/update_custom_software_source_details.py +43 -2
- oci/os_management_hub/models/versioned_custom_software_source.py +41 -0
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +28 -28
- 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/models/__init__.py +6 -0
- oci/psql/models/backup.py +2 -2
- oci/psql/models/backup_summary.py +2 -2
- oci/psql/models/configuration.py +117 -31
- oci/psql/models/configuration_summary.py +58 -19
- oci/psql/models/create_configuration_details.py +60 -21
- oci/psql/models/create_db_system_details.py +1 -1
- oci/psql/models/default_configuration.py +72 -33
- oci/psql/models/default_configuration_summary.py +60 -21
- oci/psql/models/management_policy_details.py +10 -2
- oci/psql/models/shape_memory_options.py +196 -0
- oci/psql/models/shape_ocpu_options.py +103 -0
- oci/psql/models/shape_summary.py +87 -2
- oci/psql/models/update_db_system_details.py +122 -0
- oci/psql/models/update_network_details.py +76 -0
- oci/psql/postgresql_client.py +35 -35
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +3 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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/connector_plugins_client.py +2 -2
- 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/models/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -64
- 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 +33 -33
- oci/vault/vaults_client.py +13 -13
- 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.129.4.dist-info → oci-2.131.0.dist-info}/METADATA +1 -1
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/RECORD +570 -391
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/WHEEL +0 -0
- {oci-2.129.4.dist-info → oci-2.131.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.131.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.131.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.131.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.131.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.131.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.131.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.131.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.131.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']
|
@@ -1108,7 +1108,7 @@ class BdsClient(object):
|
|
1108
1108
|
:rtype: :class:`~oci.response.Response`
|
1109
1109
|
|
1110
1110
|
:example:
|
1111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1111
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/backup_node.py.html>`__ to see an example of how to use backup_node API.
|
1112
1112
|
"""
|
1113
1113
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1114
1114
|
required_arguments = ['bdsInstanceId']
|
@@ -1226,7 +1226,7 @@ class BdsClient(object):
|
|
1226
1226
|
:rtype: :class:`~oci.response.Response`
|
1227
1227
|
|
1228
1228
|
:example:
|
1229
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1229
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/certificate_service_info.py.html>`__ to see an example of how to use certificate_service_info API.
|
1230
1230
|
"""
|
1231
1231
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1232
1232
|
required_arguments = ['bdsInstanceId']
|
@@ -1346,7 +1346,7 @@ class BdsClient(object):
|
|
1346
1346
|
:rtype: :class:`~oci.response.Response`
|
1347
1347
|
|
1348
1348
|
:example:
|
1349
|
-
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.131.0/bds/change_bds_instance_compartment.py.html>`__ to see an example of how to use change_bds_instance_compartment API.
|
1350
1350
|
"""
|
1351
1351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1352
1352
|
required_arguments = ['bdsInstanceId']
|
@@ -1464,7 +1464,7 @@ class BdsClient(object):
|
|
1464
1464
|
:rtype: :class:`~oci.response.Response`
|
1465
1465
|
|
1466
1466
|
:example:
|
1467
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/change_shape.py.html>`__ to see an example of how to use change_shape API.
|
1468
1468
|
"""
|
1469
1469
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1470
1470
|
required_arguments = ['bdsInstanceId']
|
@@ -1575,7 +1575,7 @@ class BdsClient(object):
|
|
1575
1575
|
:rtype: :class:`~oci.response.Response`
|
1576
1576
|
|
1577
1577
|
:example:
|
1578
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1578
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_bds_api_key.py.html>`__ to see an example of how to use create_bds_api_key API.
|
1579
1579
|
"""
|
1580
1580
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1581
1581
|
required_arguments = ['bdsInstanceId']
|
@@ -1681,7 +1681,7 @@ class BdsClient(object):
|
|
1681
1681
|
:rtype: :class:`~oci.response.Response`
|
1682
1682
|
|
1683
1683
|
:example:
|
1684
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1684
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_bds_instance.py.html>`__ to see an example of how to use create_bds_instance API.
|
1685
1685
|
"""
|
1686
1686
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1687
1687
|
required_arguments = []
|
@@ -1778,7 +1778,7 @@ class BdsClient(object):
|
|
1778
1778
|
:rtype: :class:`~oci.response.Response`
|
1779
1779
|
|
1780
1780
|
:example:
|
1781
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1781
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_bds_metastore_configuration.py.html>`__ to see an example of how to use create_bds_metastore_configuration API.
|
1782
1782
|
"""
|
1783
1783
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1784
1784
|
required_arguments = ['bdsInstanceId']
|
@@ -1887,7 +1887,7 @@ class BdsClient(object):
|
|
1887
1887
|
:rtype: :class:`~oci.response.Response`
|
1888
1888
|
|
1889
1889
|
:example:
|
1890
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1890
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_node_backup_configuration.py.html>`__ to see an example of how to use create_node_backup_configuration API.
|
1891
1891
|
"""
|
1892
1892
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1893
1893
|
required_arguments = ['bdsInstanceId']
|
@@ -1996,7 +1996,7 @@ class BdsClient(object):
|
|
1996
1996
|
:rtype: :class:`~oci.response.Response`
|
1997
1997
|
|
1998
1998
|
:example:
|
1999
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1999
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_node_replace_configuration.py.html>`__ to see an example of how to use create_node_replace_configuration API.
|
2000
2000
|
"""
|
2001
2001
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2002
2002
|
required_arguments = ['bdsInstanceId']
|
@@ -2068,6 +2068,115 @@ class BdsClient(object):
|
|
2068
2068
|
api_reference_link=api_reference_link,
|
2069
2069
|
required_arguments=required_arguments)
|
2070
2070
|
|
2071
|
+
def create_resource_principal_configuration(self, bds_instance_id, create_resource_principal_configuration_details, **kwargs):
|
2072
|
+
"""
|
2073
|
+
Create a resource principal session token configuration.
|
2074
|
+
|
2075
|
+
|
2076
|
+
:param str bds_instance_id: (required)
|
2077
|
+
The OCID of the cluster.
|
2078
|
+
|
2079
|
+
:param oci.bds.models.CreateResourcePrincipalConfigurationDetails create_resource_principal_configuration_details: (required)
|
2080
|
+
Details of creating resource principal session token for the bds cluster.
|
2081
|
+
|
2082
|
+
:param str opc_request_id: (optional)
|
2083
|
+
The client request ID for tracing.
|
2084
|
+
|
2085
|
+
:param str opc_retry_token: (optional)
|
2086
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2087
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
2088
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
2089
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2090
|
+
might be rejected.
|
2091
|
+
|
2092
|
+
:param obj retry_strategy: (optional)
|
2093
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2094
|
+
|
2095
|
+
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.
|
2096
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2097
|
+
|
2098
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2099
|
+
|
2100
|
+
:param bool allow_control_chars: (optional)
|
2101
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2102
|
+
By default, the response will not allow control characters in strings
|
2103
|
+
|
2104
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2105
|
+
:rtype: :class:`~oci.response.Response`
|
2106
|
+
|
2107
|
+
:example:
|
2108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/create_resource_principal_configuration.py.html>`__ to see an example of how to use create_resource_principal_configuration API.
|
2109
|
+
"""
|
2110
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2111
|
+
required_arguments = ['bdsInstanceId']
|
2112
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations"
|
2113
|
+
method = "POST"
|
2114
|
+
operation_name = "create_resource_principal_configuration"
|
2115
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateResourcePrincipalConfiguration"
|
2116
|
+
|
2117
|
+
# Don't accept unknown kwargs
|
2118
|
+
expected_kwargs = [
|
2119
|
+
"allow_control_chars",
|
2120
|
+
"retry_strategy",
|
2121
|
+
"opc_request_id",
|
2122
|
+
"opc_retry_token"
|
2123
|
+
]
|
2124
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2125
|
+
if extra_kwargs:
|
2126
|
+
raise ValueError(
|
2127
|
+
f"create_resource_principal_configuration got unknown kwargs: {extra_kwargs!r}")
|
2128
|
+
|
2129
|
+
path_params = {
|
2130
|
+
"bdsInstanceId": bds_instance_id
|
2131
|
+
}
|
2132
|
+
|
2133
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2134
|
+
|
2135
|
+
for (k, v) in six.iteritems(path_params):
|
2136
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2137
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2138
|
+
|
2139
|
+
header_params = {
|
2140
|
+
"accept": "application/json",
|
2141
|
+
"content-type": "application/json",
|
2142
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2143
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2144
|
+
}
|
2145
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2146
|
+
|
2147
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2148
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2149
|
+
client_retry_strategy=self.retry_strategy
|
2150
|
+
)
|
2151
|
+
|
2152
|
+
if retry_strategy:
|
2153
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2154
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
2155
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2156
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2157
|
+
return retry_strategy.make_retrying_call(
|
2158
|
+
self.base_client.call_api,
|
2159
|
+
resource_path=resource_path,
|
2160
|
+
method=method,
|
2161
|
+
path_params=path_params,
|
2162
|
+
header_params=header_params,
|
2163
|
+
body=create_resource_principal_configuration_details,
|
2164
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2165
|
+
operation_name=operation_name,
|
2166
|
+
api_reference_link=api_reference_link,
|
2167
|
+
required_arguments=required_arguments)
|
2168
|
+
else:
|
2169
|
+
return self.base_client.call_api(
|
2170
|
+
resource_path=resource_path,
|
2171
|
+
method=method,
|
2172
|
+
path_params=path_params,
|
2173
|
+
header_params=header_params,
|
2174
|
+
body=create_resource_principal_configuration_details,
|
2175
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2176
|
+
operation_name=operation_name,
|
2177
|
+
api_reference_link=api_reference_link,
|
2178
|
+
required_arguments=required_arguments)
|
2179
|
+
|
2071
2180
|
def delete_bds_api_key(self, bds_instance_id, api_key_id, **kwargs):
|
2072
2181
|
"""
|
2073
2182
|
Deletes the user's API key represented by the provided ID.
|
@@ -2105,7 +2214,7 @@ class BdsClient(object):
|
|
2105
2214
|
:rtype: :class:`~oci.response.Response`
|
2106
2215
|
|
2107
2216
|
:example:
|
2108
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2217
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/delete_bds_api_key.py.html>`__ to see an example of how to use delete_bds_api_key API.
|
2109
2218
|
"""
|
2110
2219
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2111
2220
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -2209,7 +2318,7 @@ class BdsClient(object):
|
|
2209
2318
|
:rtype: :class:`~oci.response.Response`
|
2210
2319
|
|
2211
2320
|
:example:
|
2212
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2321
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/delete_bds_instance.py.html>`__ to see an example of how to use delete_bds_instance API.
|
2213
2322
|
"""
|
2214
2323
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2215
2324
|
required_arguments = ['bdsInstanceId']
|
@@ -2315,7 +2424,7 @@ class BdsClient(object):
|
|
2315
2424
|
:rtype: :class:`~oci.response.Response`
|
2316
2425
|
|
2317
2426
|
:example:
|
2318
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2427
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/delete_bds_metastore_configuration.py.html>`__ to see an example of how to use delete_bds_metastore_configuration API.
|
2319
2428
|
"""
|
2320
2429
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2321
2430
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -2422,7 +2531,7 @@ class BdsClient(object):
|
|
2422
2531
|
:rtype: :class:`~oci.response.Response`
|
2423
2532
|
|
2424
2533
|
:example:
|
2425
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2534
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/delete_node_backup.py.html>`__ to see an example of how to use delete_node_backup API.
|
2426
2535
|
"""
|
2427
2536
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2428
2537
|
required_arguments = ['bdsInstanceId', 'nodeBackupId']
|
@@ -2529,7 +2638,7 @@ class BdsClient(object):
|
|
2529
2638
|
:rtype: :class:`~oci.response.Response`
|
2530
2639
|
|
2531
2640
|
:example:
|
2532
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2641
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/delete_node_backup_configuration.py.html>`__ to see an example of how to use delete_node_backup_configuration API.
|
2533
2642
|
"""
|
2534
2643
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2535
2644
|
required_arguments = ['bdsInstanceId', 'nodeBackupConfigurationId']
|
@@ -2643,7 +2752,7 @@ class BdsClient(object):
|
|
2643
2752
|
:rtype: :class:`~oci.response.Response`
|
2644
2753
|
|
2645
2754
|
:example:
|
2646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2755
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/disable_certificate.py.html>`__ to see an example of how to use disable_certificate API.
|
2647
2756
|
"""
|
2648
2757
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2649
2758
|
required_arguments = ['bdsInstanceId']
|
@@ -2761,7 +2870,7 @@ class BdsClient(object):
|
|
2761
2870
|
:rtype: :class:`~oci.response.Response`
|
2762
2871
|
|
2763
2872
|
:example:
|
2764
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2873
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/enable_certificate.py.html>`__ to see an example of how to use enable_certificate API.
|
2765
2874
|
"""
|
2766
2875
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2767
2876
|
required_arguments = ['bdsInstanceId']
|
@@ -2879,7 +2988,7 @@ class BdsClient(object):
|
|
2879
2988
|
:rtype: :class:`~oci.response.Response`
|
2880
2989
|
|
2881
2990
|
:example:
|
2882
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2991
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/execute_bootstrap_script.py.html>`__ to see an example of how to use execute_bootstrap_script API.
|
2883
2992
|
"""
|
2884
2993
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2885
2994
|
required_arguments = ['bdsInstanceId']
|
@@ -2953,6 +3062,128 @@ class BdsClient(object):
|
|
2953
3062
|
api_reference_link=api_reference_link,
|
2954
3063
|
required_arguments=required_arguments)
|
2955
3064
|
|
3065
|
+
def force_refresh_resource_principal(self, bds_instance_id, resource_principal_configuration_id, force_refresh_resource_principal_details, **kwargs):
|
3066
|
+
"""
|
3067
|
+
Force Refresh Resource Principal for the cluster.
|
3068
|
+
|
3069
|
+
|
3070
|
+
:param str bds_instance_id: (required)
|
3071
|
+
The OCID of the cluster.
|
3072
|
+
|
3073
|
+
:param str resource_principal_configuration_id: (required)
|
3074
|
+
Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
|
3075
|
+
|
3076
|
+
:param oci.bds.models.ForceRefreshResourcePrincipalDetails force_refresh_resource_principal_details: (required)
|
3077
|
+
Details of refreshing resource principal session token
|
3078
|
+
|
3079
|
+
:param str opc_request_id: (optional)
|
3080
|
+
The client request ID for tracing.
|
3081
|
+
|
3082
|
+
:param str if_match: (optional)
|
3083
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
3084
|
+
for a resource, set the `if-match` parameter to the value of the
|
3085
|
+
etag from a previous GET or POST response for that resource.
|
3086
|
+
The resource will be updated or deleted only if the etag you
|
3087
|
+
provide matches the resource's current etag value.
|
3088
|
+
|
3089
|
+
:param str opc_retry_token: (optional)
|
3090
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3091
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
3092
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
3093
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
3094
|
+
might be rejected.
|
3095
|
+
|
3096
|
+
:param obj retry_strategy: (optional)
|
3097
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3098
|
+
|
3099
|
+
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.
|
3100
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3101
|
+
|
3102
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3103
|
+
|
3104
|
+
:param bool allow_control_chars: (optional)
|
3105
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3106
|
+
By default, the response will not allow control characters in strings
|
3107
|
+
|
3108
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
3109
|
+
:rtype: :class:`~oci.response.Response`
|
3110
|
+
|
3111
|
+
:example:
|
3112
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/force_refresh_resource_principal.py.html>`__ to see an example of how to use force_refresh_resource_principal API.
|
3113
|
+
"""
|
3114
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3115
|
+
required_arguments = ['bdsInstanceId', 'resourcePrincipalConfigurationId']
|
3116
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/forceRefreshResourcePrincipal"
|
3117
|
+
method = "POST"
|
3118
|
+
operation_name = "force_refresh_resource_principal"
|
3119
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ForceRefreshResourcePrincipal"
|
3120
|
+
|
3121
|
+
# Don't accept unknown kwargs
|
3122
|
+
expected_kwargs = [
|
3123
|
+
"allow_control_chars",
|
3124
|
+
"retry_strategy",
|
3125
|
+
"opc_request_id",
|
3126
|
+
"if_match",
|
3127
|
+
"opc_retry_token"
|
3128
|
+
]
|
3129
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3130
|
+
if extra_kwargs:
|
3131
|
+
raise ValueError(
|
3132
|
+
f"force_refresh_resource_principal got unknown kwargs: {extra_kwargs!r}")
|
3133
|
+
|
3134
|
+
path_params = {
|
3135
|
+
"bdsInstanceId": bds_instance_id,
|
3136
|
+
"resourcePrincipalConfigurationId": resource_principal_configuration_id
|
3137
|
+
}
|
3138
|
+
|
3139
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3140
|
+
|
3141
|
+
for (k, v) in six.iteritems(path_params):
|
3142
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3143
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3144
|
+
|
3145
|
+
header_params = {
|
3146
|
+
"accept": "application/json",
|
3147
|
+
"content-type": "application/json",
|
3148
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
3149
|
+
"if-match": kwargs.get("if_match", missing),
|
3150
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
3151
|
+
}
|
3152
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3153
|
+
|
3154
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3155
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3156
|
+
client_retry_strategy=self.retry_strategy
|
3157
|
+
)
|
3158
|
+
|
3159
|
+
if retry_strategy:
|
3160
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3161
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3162
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3163
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3164
|
+
return retry_strategy.make_retrying_call(
|
3165
|
+
self.base_client.call_api,
|
3166
|
+
resource_path=resource_path,
|
3167
|
+
method=method,
|
3168
|
+
path_params=path_params,
|
3169
|
+
header_params=header_params,
|
3170
|
+
body=force_refresh_resource_principal_details,
|
3171
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3172
|
+
operation_name=operation_name,
|
3173
|
+
api_reference_link=api_reference_link,
|
3174
|
+
required_arguments=required_arguments)
|
3175
|
+
else:
|
3176
|
+
return self.base_client.call_api(
|
3177
|
+
resource_path=resource_path,
|
3178
|
+
method=method,
|
3179
|
+
path_params=path_params,
|
3180
|
+
header_params=header_params,
|
3181
|
+
body=force_refresh_resource_principal_details,
|
3182
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3183
|
+
operation_name=operation_name,
|
3184
|
+
api_reference_link=api_reference_link,
|
3185
|
+
required_arguments=required_arguments)
|
3186
|
+
|
2956
3187
|
def get_auto_scaling_configuration(self, bds_instance_id, auto_scaling_configuration_id, **kwargs):
|
2957
3188
|
"""
|
2958
3189
|
Returns details of the autoscale configuration identified by the given ID.
|
@@ -2983,7 +3214,7 @@ class BdsClient(object):
|
|
2983
3214
|
:rtype: :class:`~oci.response.Response`
|
2984
3215
|
|
2985
3216
|
:example:
|
2986
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3217
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
|
2987
3218
|
"""
|
2988
3219
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2989
3220
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -3083,7 +3314,7 @@ class BdsClient(object):
|
|
3083
3314
|
:rtype: :class:`~oci.response.Response`
|
3084
3315
|
|
3085
3316
|
:example:
|
3086
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3317
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_bds_api_key.py.html>`__ to see an example of how to use get_bds_api_key API.
|
3087
3318
|
"""
|
3088
3319
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3089
3320
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -3180,7 +3411,7 @@ class BdsClient(object):
|
|
3180
3411
|
:rtype: :class:`~oci.response.Response`
|
3181
3412
|
|
3182
3413
|
:example:
|
3183
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_bds_instance.py.html>`__ to see an example of how to use get_bds_instance API.
|
3184
3415
|
"""
|
3185
3416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3186
3417
|
required_arguments = ['bdsInstanceId']
|
@@ -3279,7 +3510,7 @@ class BdsClient(object):
|
|
3279
3510
|
:rtype: :class:`~oci.response.Response`
|
3280
3511
|
|
3281
3512
|
:example:
|
3282
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3513
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_bds_metastore_configuration.py.html>`__ to see an example of how to use get_bds_metastore_configuration API.
|
3283
3514
|
"""
|
3284
3515
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3285
3516
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -3379,7 +3610,7 @@ class BdsClient(object):
|
|
3379
3610
|
:rtype: :class:`~oci.response.Response`
|
3380
3611
|
|
3381
3612
|
:example:
|
3382
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3613
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_node_backup.py.html>`__ to see an example of how to use get_node_backup API.
|
3383
3614
|
"""
|
3384
3615
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3385
3616
|
required_arguments = ['bdsInstanceId', 'nodeBackupId']
|
@@ -3479,7 +3710,7 @@ class BdsClient(object):
|
|
3479
3710
|
:rtype: :class:`~oci.response.Response`
|
3480
3711
|
|
3481
3712
|
:example:
|
3482
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3713
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_node_backup_configuration.py.html>`__ to see an example of how to use get_node_backup_configuration API.
|
3483
3714
|
"""
|
3484
3715
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3485
3716
|
required_arguments = ['bdsInstanceId', 'nodeBackupConfigurationId']
|
@@ -3579,7 +3810,7 @@ class BdsClient(object):
|
|
3579
3810
|
:rtype: :class:`~oci.response.Response`
|
3580
3811
|
|
3581
3812
|
:example:
|
3582
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3813
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_node_replace_configuration.py.html>`__ to see an example of how to use get_node_replace_configuration API.
|
3583
3814
|
"""
|
3584
3815
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3585
3816
|
required_arguments = ['bdsInstanceId', 'nodeReplaceConfigurationId']
|
@@ -3693,7 +3924,7 @@ class BdsClient(object):
|
|
3693
3924
|
:rtype: :class:`~oci.response.Response`
|
3694
3925
|
|
3695
3926
|
:example:
|
3696
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3927
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_os_patch_details.py.html>`__ to see an example of how to use get_os_patch_details API.
|
3697
3928
|
"""
|
3698
3929
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3699
3930
|
required_arguments = ['bdsInstanceId', 'osPatchVersion']
|
@@ -3774,6 +4005,106 @@ class BdsClient(object):
|
|
3774
4005
|
api_reference_link=api_reference_link,
|
3775
4006
|
required_arguments=required_arguments)
|
3776
4007
|
|
4008
|
+
def get_resource_principal_configuration(self, bds_instance_id, resource_principal_configuration_id, **kwargs):
|
4009
|
+
"""
|
4010
|
+
Returns details of the resourcePrincipalConfiguration identified by the given ID.
|
4011
|
+
|
4012
|
+
|
4013
|
+
:param str bds_instance_id: (required)
|
4014
|
+
The OCID of the cluster.
|
4015
|
+
|
4016
|
+
:param str resource_principal_configuration_id: (required)
|
4017
|
+
Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
|
4018
|
+
|
4019
|
+
:param str opc_request_id: (optional)
|
4020
|
+
The client request ID for tracing.
|
4021
|
+
|
4022
|
+
:param obj retry_strategy: (optional)
|
4023
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4024
|
+
|
4025
|
+
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.
|
4026
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4027
|
+
|
4028
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4029
|
+
|
4030
|
+
:param bool allow_control_chars: (optional)
|
4031
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4032
|
+
By default, the response will not allow control characters in strings
|
4033
|
+
|
4034
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.bds.models.ResourcePrincipalConfiguration`
|
4035
|
+
:rtype: :class:`~oci.response.Response`
|
4036
|
+
|
4037
|
+
:example:
|
4038
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_resource_principal_configuration.py.html>`__ to see an example of how to use get_resource_principal_configuration API.
|
4039
|
+
"""
|
4040
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4041
|
+
required_arguments = ['bdsInstanceId', 'resourcePrincipalConfigurationId']
|
4042
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}"
|
4043
|
+
method = "GET"
|
4044
|
+
operation_name = "get_resource_principal_configuration"
|
4045
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetResourcePrincipalConfiguration"
|
4046
|
+
|
4047
|
+
# Don't accept unknown kwargs
|
4048
|
+
expected_kwargs = [
|
4049
|
+
"allow_control_chars",
|
4050
|
+
"retry_strategy",
|
4051
|
+
"opc_request_id"
|
4052
|
+
]
|
4053
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4054
|
+
if extra_kwargs:
|
4055
|
+
raise ValueError(
|
4056
|
+
f"get_resource_principal_configuration got unknown kwargs: {extra_kwargs!r}")
|
4057
|
+
|
4058
|
+
path_params = {
|
4059
|
+
"bdsInstanceId": bds_instance_id,
|
4060
|
+
"resourcePrincipalConfigurationId": resource_principal_configuration_id
|
4061
|
+
}
|
4062
|
+
|
4063
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
4064
|
+
|
4065
|
+
for (k, v) in six.iteritems(path_params):
|
4066
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
4067
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
4068
|
+
|
4069
|
+
header_params = {
|
4070
|
+
"accept": "application/json",
|
4071
|
+
"content-type": "application/json",
|
4072
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
4073
|
+
}
|
4074
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4075
|
+
|
4076
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
4077
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4078
|
+
client_retry_strategy=self.retry_strategy
|
4079
|
+
)
|
4080
|
+
|
4081
|
+
if retry_strategy:
|
4082
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4083
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
4084
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4085
|
+
return retry_strategy.make_retrying_call(
|
4086
|
+
self.base_client.call_api,
|
4087
|
+
resource_path=resource_path,
|
4088
|
+
method=method,
|
4089
|
+
path_params=path_params,
|
4090
|
+
header_params=header_params,
|
4091
|
+
response_type="ResourcePrincipalConfiguration",
|
4092
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4093
|
+
operation_name=operation_name,
|
4094
|
+
api_reference_link=api_reference_link,
|
4095
|
+
required_arguments=required_arguments)
|
4096
|
+
else:
|
4097
|
+
return self.base_client.call_api(
|
4098
|
+
resource_path=resource_path,
|
4099
|
+
method=method,
|
4100
|
+
path_params=path_params,
|
4101
|
+
header_params=header_params,
|
4102
|
+
response_type="ResourcePrincipalConfiguration",
|
4103
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4104
|
+
operation_name=operation_name,
|
4105
|
+
api_reference_link=api_reference_link,
|
4106
|
+
required_arguments=required_arguments)
|
4107
|
+
|
3777
4108
|
def get_work_request(self, work_request_id, **kwargs):
|
3778
4109
|
"""
|
3779
4110
|
Returns the status of the work request identified by the given ID.
|
@@ -3801,7 +4132,7 @@ class BdsClient(object):
|
|
3801
4132
|
:rtype: :class:`~oci.response.Response`
|
3802
4133
|
|
3803
4134
|
:example:
|
3804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4135
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
3805
4136
|
"""
|
3806
4137
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3807
4138
|
required_arguments = ['workRequestId']
|
@@ -3914,7 +4245,7 @@ class BdsClient(object):
|
|
3914
4245
|
:rtype: :class:`~oci.response.Response`
|
3915
4246
|
|
3916
4247
|
:example:
|
3917
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4248
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/install_os_patch.py.html>`__ to see an example of how to use install_os_patch API.
|
3918
4249
|
"""
|
3919
4250
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3920
4251
|
required_arguments = ['bdsInstanceId']
|
@@ -4032,7 +4363,7 @@ class BdsClient(object):
|
|
4032
4363
|
:rtype: :class:`~oci.response.Response`
|
4033
4364
|
|
4034
4365
|
:example:
|
4035
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4366
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/install_patch.py.html>`__ to see an example of how to use install_patch API.
|
4036
4367
|
"""
|
4037
4368
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4038
4369
|
required_arguments = ['bdsInstanceId']
|
@@ -4160,7 +4491,7 @@ class BdsClient(object):
|
|
4160
4491
|
:rtype: :class:`~oci.response.Response`
|
4161
4492
|
|
4162
4493
|
:example:
|
4163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4494
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
|
4164
4495
|
"""
|
4165
4496
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4166
4497
|
required_arguments = ['bdsInstanceId', 'compartmentId']
|
@@ -4323,7 +4654,7 @@ class BdsClient(object):
|
|
4323
4654
|
:rtype: :class:`~oci.response.Response`
|
4324
4655
|
|
4325
4656
|
:example:
|
4326
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4657
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_bds_api_keys.py.html>`__ to see an example of how to use list_bds_api_keys API.
|
4327
4658
|
"""
|
4328
4659
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4329
4660
|
required_arguments = ['bdsInstanceId']
|
@@ -4484,7 +4815,7 @@ class BdsClient(object):
|
|
4484
4815
|
:rtype: :class:`~oci.response.Response`
|
4485
4816
|
|
4486
4817
|
:example:
|
4487
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4818
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_bds_instances.py.html>`__ to see an example of how to use list_bds_instances API.
|
4488
4819
|
"""
|
4489
4820
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4490
4821
|
required_arguments = ['compartmentId']
|
@@ -4643,7 +4974,7 @@ class BdsClient(object):
|
|
4643
4974
|
:rtype: :class:`~oci.response.Response`
|
4644
4975
|
|
4645
4976
|
:example:
|
4646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4977
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_bds_metastore_configurations.py.html>`__ to see an example of how to use list_bds_metastore_configurations API.
|
4647
4978
|
"""
|
4648
4979
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4649
4980
|
required_arguments = ['bdsInstanceId']
|
@@ -4815,7 +5146,7 @@ class BdsClient(object):
|
|
4815
5146
|
:rtype: :class:`~oci.response.Response`
|
4816
5147
|
|
4817
5148
|
:example:
|
4818
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_node_backup_configurations.py.html>`__ to see an example of how to use list_node_backup_configurations API.
|
4819
5150
|
"""
|
4820
5151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4821
5152
|
required_arguments = ['bdsInstanceId']
|
@@ -4977,7 +5308,7 @@ class BdsClient(object):
|
|
4977
5308
|
:rtype: :class:`~oci.response.Response`
|
4978
5309
|
|
4979
5310
|
:example:
|
4980
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5311
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_node_backups.py.html>`__ to see an example of how to use list_node_backups API.
|
4981
5312
|
"""
|
4982
5313
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4983
5314
|
required_arguments = ['bdsInstanceId']
|
@@ -5138,7 +5469,7 @@ class BdsClient(object):
|
|
5138
5469
|
:rtype: :class:`~oci.response.Response`
|
5139
5470
|
|
5140
5471
|
:example:
|
5141
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5472
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_node_replace_configurations.py.html>`__ to see an example of how to use list_node_replace_configurations API.
|
5142
5473
|
"""
|
5143
5474
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5144
5475
|
required_arguments = ['bdsInstanceId']
|
@@ -5303,7 +5634,7 @@ class BdsClient(object):
|
|
5303
5634
|
:rtype: :class:`~oci.response.Response`
|
5304
5635
|
|
5305
5636
|
:example:
|
5306
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_os_patches.py.html>`__ to see an example of how to use list_os_patches API.
|
5307
5638
|
"""
|
5308
5639
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5309
5640
|
required_arguments = ['bdsInstanceId']
|
@@ -5461,7 +5792,7 @@ class BdsClient(object):
|
|
5461
5792
|
:rtype: :class:`~oci.response.Response`
|
5462
5793
|
|
5463
5794
|
:example:
|
5464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5795
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_patch_histories.py.html>`__ to see an example of how to use list_patch_histories API.
|
5465
5796
|
"""
|
5466
5797
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5467
5798
|
required_arguments = ['bdsInstanceId']
|
@@ -5583,18 +5914,148 @@ class BdsClient(object):
|
|
5583
5914
|
List all the available patches for this cluster.
|
5584
5915
|
|
5585
5916
|
|
5586
|
-
:param str bds_instance_id: (required)
|
5587
|
-
The OCID of the cluster.
|
5917
|
+
:param str bds_instance_id: (required)
|
5918
|
+
The OCID of the cluster.
|
5919
|
+
|
5920
|
+
:param str opc_request_id: (optional)
|
5921
|
+
The client request ID for tracing.
|
5922
|
+
|
5923
|
+
:param str page: (optional)
|
5924
|
+
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
5925
|
+
|
5926
|
+
:param int limit: (optional)
|
5927
|
+
The maximum number of items to return.
|
5928
|
+
|
5929
|
+
:param obj retry_strategy: (optional)
|
5930
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5931
|
+
|
5932
|
+
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.
|
5933
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5934
|
+
|
5935
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5936
|
+
|
5937
|
+
:param bool allow_control_chars: (optional)
|
5938
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5939
|
+
By default, the response will not allow control characters in strings
|
5940
|
+
|
5941
|
+
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.bds.models.PatchSummary`
|
5942
|
+
:rtype: :class:`~oci.response.Response`
|
5943
|
+
|
5944
|
+
:example:
|
5945
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_patches.py.html>`__ to see an example of how to use list_patches API.
|
5946
|
+
"""
|
5947
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5948
|
+
required_arguments = ['bdsInstanceId']
|
5949
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/patches"
|
5950
|
+
method = "GET"
|
5951
|
+
operation_name = "list_patches"
|
5952
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListPatches"
|
5953
|
+
|
5954
|
+
# Don't accept unknown kwargs
|
5955
|
+
expected_kwargs = [
|
5956
|
+
"allow_control_chars",
|
5957
|
+
"retry_strategy",
|
5958
|
+
"opc_request_id",
|
5959
|
+
"page",
|
5960
|
+
"limit"
|
5961
|
+
]
|
5962
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5963
|
+
if extra_kwargs:
|
5964
|
+
raise ValueError(
|
5965
|
+
f"list_patches got unknown kwargs: {extra_kwargs!r}")
|
5966
|
+
|
5967
|
+
path_params = {
|
5968
|
+
"bdsInstanceId": bds_instance_id
|
5969
|
+
}
|
5970
|
+
|
5971
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5972
|
+
|
5973
|
+
for (k, v) in six.iteritems(path_params):
|
5974
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5975
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5976
|
+
|
5977
|
+
query_params = {
|
5978
|
+
"page": kwargs.get("page", missing),
|
5979
|
+
"limit": kwargs.get("limit", missing)
|
5980
|
+
}
|
5981
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5982
|
+
|
5983
|
+
header_params = {
|
5984
|
+
"accept": "application/json",
|
5985
|
+
"content-type": "application/json",
|
5986
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5987
|
+
}
|
5988
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5989
|
+
|
5990
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5991
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5992
|
+
client_retry_strategy=self.retry_strategy
|
5993
|
+
)
|
5994
|
+
|
5995
|
+
if retry_strategy:
|
5996
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5997
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5998
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5999
|
+
return retry_strategy.make_retrying_call(
|
6000
|
+
self.base_client.call_api,
|
6001
|
+
resource_path=resource_path,
|
6002
|
+
method=method,
|
6003
|
+
path_params=path_params,
|
6004
|
+
query_params=query_params,
|
6005
|
+
header_params=header_params,
|
6006
|
+
response_type="list[PatchSummary]",
|
6007
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6008
|
+
operation_name=operation_name,
|
6009
|
+
api_reference_link=api_reference_link,
|
6010
|
+
required_arguments=required_arguments)
|
6011
|
+
else:
|
6012
|
+
return self.base_client.call_api(
|
6013
|
+
resource_path=resource_path,
|
6014
|
+
method=method,
|
6015
|
+
path_params=path_params,
|
6016
|
+
query_params=query_params,
|
6017
|
+
header_params=header_params,
|
6018
|
+
response_type="list[PatchSummary]",
|
6019
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6020
|
+
operation_name=operation_name,
|
6021
|
+
api_reference_link=api_reference_link,
|
6022
|
+
required_arguments=required_arguments)
|
6023
|
+
|
6024
|
+
def list_resource_principal_configurations(self, bds_instance_id, **kwargs):
|
6025
|
+
"""
|
6026
|
+
Returns information about the ResourcePrincipalConfiguration.
|
6027
|
+
|
6028
|
+
|
6029
|
+
:param str bds_instance_id: (required)
|
6030
|
+
The OCID of the cluster.
|
6031
|
+
|
6032
|
+
:param str page: (optional)
|
6033
|
+
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
6034
|
+
|
6035
|
+
:param int limit: (optional)
|
6036
|
+
The maximum number of items to return.
|
6037
|
+
|
6038
|
+
:param str sort_by: (optional)
|
6039
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
|
6040
|
+
|
6041
|
+
Allowed values are: "timeCreated", "displayName"
|
6042
|
+
|
6043
|
+
:param str sort_order: (optional)
|
6044
|
+
The sort order to use, either 'asc' or 'desc'.
|
6045
|
+
|
6046
|
+
Allowed values are: "ASC", "DESC"
|
6047
|
+
|
6048
|
+
:param str display_name: (optional)
|
6049
|
+
A filter to return only resources that match the entire display name given.
|
6050
|
+
|
6051
|
+
:param str lifecycle_state: (optional)
|
6052
|
+
The state of the ResourcePrincipalConfiguration.
|
6053
|
+
|
6054
|
+
Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
|
5588
6055
|
|
5589
6056
|
:param str opc_request_id: (optional)
|
5590
6057
|
The client request ID for tracing.
|
5591
6058
|
|
5592
|
-
:param str page: (optional)
|
5593
|
-
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
5594
|
-
|
5595
|
-
:param int limit: (optional)
|
5596
|
-
The maximum number of items to return.
|
5597
|
-
|
5598
6059
|
:param obj retry_strategy: (optional)
|
5599
6060
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5600
6061
|
|
@@ -5607,31 +6068,35 @@ class BdsClient(object):
|
|
5607
6068
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5608
6069
|
By default, the response will not allow control characters in strings
|
5609
6070
|
|
5610
|
-
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.bds.models.
|
6071
|
+
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.bds.models.ResourcePrincipalConfigurationSummary`
|
5611
6072
|
:rtype: :class:`~oci.response.Response`
|
5612
6073
|
|
5613
6074
|
:example:
|
5614
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6075
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_resource_principal_configurations.py.html>`__ to see an example of how to use list_resource_principal_configurations API.
|
5615
6076
|
"""
|
5616
6077
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5617
6078
|
required_arguments = ['bdsInstanceId']
|
5618
|
-
resource_path = "/bdsInstances/{bdsInstanceId}/
|
6079
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations"
|
5619
6080
|
method = "GET"
|
5620
|
-
operation_name = "
|
5621
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/
|
6081
|
+
operation_name = "list_resource_principal_configurations"
|
6082
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListResourcePrincipalConfigurations"
|
5622
6083
|
|
5623
6084
|
# Don't accept unknown kwargs
|
5624
6085
|
expected_kwargs = [
|
5625
6086
|
"allow_control_chars",
|
5626
6087
|
"retry_strategy",
|
5627
|
-
"opc_request_id",
|
5628
6088
|
"page",
|
5629
|
-
"limit"
|
6089
|
+
"limit",
|
6090
|
+
"sort_by",
|
6091
|
+
"sort_order",
|
6092
|
+
"display_name",
|
6093
|
+
"lifecycle_state",
|
6094
|
+
"opc_request_id"
|
5630
6095
|
]
|
5631
6096
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5632
6097
|
if extra_kwargs:
|
5633
6098
|
raise ValueError(
|
5634
|
-
f"
|
6099
|
+
f"list_resource_principal_configurations got unknown kwargs: {extra_kwargs!r}")
|
5635
6100
|
|
5636
6101
|
path_params = {
|
5637
6102
|
"bdsInstanceId": bds_instance_id
|
@@ -5643,9 +6108,34 @@ class BdsClient(object):
|
|
5643
6108
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5644
6109
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5645
6110
|
|
6111
|
+
if 'sort_by' in kwargs:
|
6112
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
6113
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
6114
|
+
raise ValueError(
|
6115
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
6116
|
+
)
|
6117
|
+
|
6118
|
+
if 'sort_order' in kwargs:
|
6119
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
6120
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
6121
|
+
raise ValueError(
|
6122
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
6123
|
+
)
|
6124
|
+
|
6125
|
+
if 'lifecycle_state' in kwargs:
|
6126
|
+
lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
|
6127
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
6128
|
+
raise ValueError(
|
6129
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
6130
|
+
)
|
6131
|
+
|
5646
6132
|
query_params = {
|
5647
6133
|
"page": kwargs.get("page", missing),
|
5648
|
-
"limit": kwargs.get("limit", missing)
|
6134
|
+
"limit": kwargs.get("limit", missing),
|
6135
|
+
"sortBy": kwargs.get("sort_by", missing),
|
6136
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
6137
|
+
"displayName": kwargs.get("display_name", missing),
|
6138
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing)
|
5649
6139
|
}
|
5650
6140
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5651
6141
|
|
@@ -5672,7 +6162,7 @@ class BdsClient(object):
|
|
5672
6162
|
path_params=path_params,
|
5673
6163
|
query_params=query_params,
|
5674
6164
|
header_params=header_params,
|
5675
|
-
response_type="list[
|
6165
|
+
response_type="list[ResourcePrincipalConfigurationSummary]",
|
5676
6166
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5677
6167
|
operation_name=operation_name,
|
5678
6168
|
api_reference_link=api_reference_link,
|
@@ -5684,7 +6174,7 @@ class BdsClient(object):
|
|
5684
6174
|
path_params=path_params,
|
5685
6175
|
query_params=query_params,
|
5686
6176
|
header_params=header_params,
|
5687
|
-
response_type="list[
|
6177
|
+
response_type="list[ResourcePrincipalConfigurationSummary]",
|
5688
6178
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5689
6179
|
operation_name=operation_name,
|
5690
6180
|
api_reference_link=api_reference_link,
|
@@ -5733,7 +6223,7 @@ class BdsClient(object):
|
|
5733
6223
|
:rtype: :class:`~oci.response.Response`
|
5734
6224
|
|
5735
6225
|
:example:
|
5736
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6226
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
5737
6227
|
"""
|
5738
6228
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5739
6229
|
required_arguments = ['workRequestId']
|
@@ -5873,7 +6363,7 @@ class BdsClient(object):
|
|
5873
6363
|
:rtype: :class:`~oci.response.Response`
|
5874
6364
|
|
5875
6365
|
:example:
|
5876
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6366
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
5877
6367
|
"""
|
5878
6368
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5879
6369
|
required_arguments = ['workRequestId']
|
@@ -6016,7 +6506,7 @@ class BdsClient(object):
|
|
6016
6506
|
:rtype: :class:`~oci.response.Response`
|
6017
6507
|
|
6018
6508
|
:example:
|
6019
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6509
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
6020
6510
|
"""
|
6021
6511
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6022
6512
|
required_arguments = ['compartmentId']
|
@@ -6151,7 +6641,7 @@ class BdsClient(object):
|
|
6151
6641
|
:rtype: :class:`~oci.response.Response`
|
6152
6642
|
|
6153
6643
|
:example:
|
6154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6644
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_auto_scaling_configuration.py.html>`__ to see an example of how to use remove_auto_scaling_configuration API.
|
6155
6645
|
"""
|
6156
6646
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6157
6647
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -6270,7 +6760,7 @@ class BdsClient(object):
|
|
6270
6760
|
:rtype: :class:`~oci.response.Response`
|
6271
6761
|
|
6272
6762
|
:example:
|
6273
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_cloud_sql.py.html>`__ to see an example of how to use remove_cloud_sql API.
|
6274
6764
|
"""
|
6275
6765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6276
6766
|
required_arguments = ['bdsInstanceId']
|
@@ -6388,7 +6878,7 @@ class BdsClient(object):
|
|
6388
6878
|
:rtype: :class:`~oci.response.Response`
|
6389
6879
|
|
6390
6880
|
:example:
|
6391
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6881
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_kafka.py.html>`__ to see an example of how to use remove_kafka API.
|
6392
6882
|
"""
|
6393
6883
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6394
6884
|
required_arguments = ['bdsInstanceId']
|
@@ -6499,7 +6989,7 @@ class BdsClient(object):
|
|
6499
6989
|
:rtype: :class:`~oci.response.Response`
|
6500
6990
|
|
6501
6991
|
:example:
|
6502
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_node.py.html>`__ to see an example of how to use remove_node API.
|
6503
6993
|
"""
|
6504
6994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6505
6995
|
required_arguments = ['bdsInstanceId']
|
@@ -6617,7 +7107,7 @@ class BdsClient(object):
|
|
6617
7107
|
:rtype: :class:`~oci.response.Response`
|
6618
7108
|
|
6619
7109
|
:example:
|
6620
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7110
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_node_replace_configuration.py.html>`__ to see an example of how to use remove_node_replace_configuration API.
|
6621
7111
|
"""
|
6622
7112
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6623
7113
|
required_arguments = ['bdsInstanceId', 'nodeReplaceConfigurationId']
|
@@ -6692,6 +7182,118 @@ class BdsClient(object):
|
|
6692
7182
|
api_reference_link=api_reference_link,
|
6693
7183
|
required_arguments=required_arguments)
|
6694
7184
|
|
7185
|
+
def remove_resource_principal_configuration(self, bds_instance_id, resource_principal_configuration_id, remove_resource_principal_configuration_details, **kwargs):
|
7186
|
+
"""
|
7187
|
+
Delete the resource principal configuration for the cluster.
|
7188
|
+
|
7189
|
+
|
7190
|
+
:param str bds_instance_id: (required)
|
7191
|
+
The OCID of the cluster.
|
7192
|
+
|
7193
|
+
:param str resource_principal_configuration_id: (required)
|
7194
|
+
Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
|
7195
|
+
|
7196
|
+
:param oci.bds.models.RemoveResourcePrincipalConfigurationDetails remove_resource_principal_configuration_details: (required)
|
7197
|
+
Details of removing a resource principal for the bds cluster.
|
7198
|
+
|
7199
|
+
:param str opc_request_id: (optional)
|
7200
|
+
The client request ID for tracing.
|
7201
|
+
|
7202
|
+
:param str if_match: (optional)
|
7203
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
7204
|
+
for a resource, set the `if-match` parameter to the value of the
|
7205
|
+
etag from a previous GET or POST response for that resource.
|
7206
|
+
The resource will be updated or deleted only if the etag you
|
7207
|
+
provide matches the resource's current etag value.
|
7208
|
+
|
7209
|
+
:param obj retry_strategy: (optional)
|
7210
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
7211
|
+
|
7212
|
+
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.
|
7213
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
7214
|
+
|
7215
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
7216
|
+
|
7217
|
+
:param bool allow_control_chars: (optional)
|
7218
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
7219
|
+
By default, the response will not allow control characters in strings
|
7220
|
+
|
7221
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
7222
|
+
:rtype: :class:`~oci.response.Response`
|
7223
|
+
|
7224
|
+
:example:
|
7225
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/remove_resource_principal_configuration.py.html>`__ to see an example of how to use remove_resource_principal_configuration API.
|
7226
|
+
"""
|
7227
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7228
|
+
required_arguments = ['bdsInstanceId', 'resourcePrincipalConfigurationId']
|
7229
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/remove"
|
7230
|
+
method = "POST"
|
7231
|
+
operation_name = "remove_resource_principal_configuration"
|
7232
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/ResourcePrincipalConfiguration/RemoveResourcePrincipalConfiguration"
|
7233
|
+
|
7234
|
+
# Don't accept unknown kwargs
|
7235
|
+
expected_kwargs = [
|
7236
|
+
"allow_control_chars",
|
7237
|
+
"retry_strategy",
|
7238
|
+
"opc_request_id",
|
7239
|
+
"if_match"
|
7240
|
+
]
|
7241
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
7242
|
+
if extra_kwargs:
|
7243
|
+
raise ValueError(
|
7244
|
+
f"remove_resource_principal_configuration got unknown kwargs: {extra_kwargs!r}")
|
7245
|
+
|
7246
|
+
path_params = {
|
7247
|
+
"bdsInstanceId": bds_instance_id,
|
7248
|
+
"resourcePrincipalConfigurationId": resource_principal_configuration_id
|
7249
|
+
}
|
7250
|
+
|
7251
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
7252
|
+
|
7253
|
+
for (k, v) in six.iteritems(path_params):
|
7254
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
7255
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
7256
|
+
|
7257
|
+
header_params = {
|
7258
|
+
"accept": "application/json",
|
7259
|
+
"content-type": "application/json",
|
7260
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
7261
|
+
"if-match": kwargs.get("if_match", missing)
|
7262
|
+
}
|
7263
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
7264
|
+
|
7265
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
7266
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
7267
|
+
client_retry_strategy=self.retry_strategy
|
7268
|
+
)
|
7269
|
+
|
7270
|
+
if retry_strategy:
|
7271
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
7272
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
7273
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
7274
|
+
return retry_strategy.make_retrying_call(
|
7275
|
+
self.base_client.call_api,
|
7276
|
+
resource_path=resource_path,
|
7277
|
+
method=method,
|
7278
|
+
path_params=path_params,
|
7279
|
+
header_params=header_params,
|
7280
|
+
body=remove_resource_principal_configuration_details,
|
7281
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
7282
|
+
operation_name=operation_name,
|
7283
|
+
api_reference_link=api_reference_link,
|
7284
|
+
required_arguments=required_arguments)
|
7285
|
+
else:
|
7286
|
+
return self.base_client.call_api(
|
7287
|
+
resource_path=resource_path,
|
7288
|
+
method=method,
|
7289
|
+
path_params=path_params,
|
7290
|
+
header_params=header_params,
|
7291
|
+
body=remove_resource_principal_configuration_details,
|
7292
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
7293
|
+
operation_name=operation_name,
|
7294
|
+
api_reference_link=api_reference_link,
|
7295
|
+
required_arguments=required_arguments)
|
7296
|
+
|
6695
7297
|
def renew_certificate(self, bds_instance_id, renew_certificate_details, **kwargs):
|
6696
7298
|
"""
|
6697
7299
|
Renewing TLS/SSL for various ODH services running on the BDS cluster.
|
@@ -6736,7 +7338,7 @@ class BdsClient(object):
|
|
6736
7338
|
:rtype: :class:`~oci.response.Response`
|
6737
7339
|
|
6738
7340
|
:example:
|
6739
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/renew_certificate.py.html>`__ to see an example of how to use renew_certificate API.
|
6740
7342
|
"""
|
6741
7343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6742
7344
|
required_arguments = ['bdsInstanceId']
|
@@ -6854,7 +7456,7 @@ class BdsClient(object):
|
|
6854
7456
|
:rtype: :class:`~oci.response.Response`
|
6855
7457
|
|
6856
7458
|
:example:
|
6857
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7459
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/replace_node.py.html>`__ to see an example of how to use replace_node API.
|
6858
7460
|
"""
|
6859
7461
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6860
7462
|
required_arguments = ['bdsInstanceId']
|
@@ -6972,7 +7574,7 @@ class BdsClient(object):
|
|
6972
7574
|
:rtype: :class:`~oci.response.Response`
|
6973
7575
|
|
6974
7576
|
:example:
|
6975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7577
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/restart_node.py.html>`__ to see an example of how to use restart_node API.
|
6976
7578
|
"""
|
6977
7579
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6978
7580
|
required_arguments = ['bdsInstanceId']
|
@@ -7083,7 +7685,7 @@ class BdsClient(object):
|
|
7083
7685
|
:rtype: :class:`~oci.response.Response`
|
7084
7686
|
|
7085
7687
|
:example:
|
7086
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7688
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/start_bds_instance.py.html>`__ to see an example of how to use start_bds_instance API.
|
7087
7689
|
"""
|
7088
7690
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7089
7691
|
required_arguments = ['bdsInstanceId']
|
@@ -7191,7 +7793,7 @@ class BdsClient(object):
|
|
7191
7793
|
:rtype: :class:`~oci.response.Response`
|
7192
7794
|
|
7193
7795
|
:example:
|
7194
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7796
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/stop_bds_instance.py.html>`__ to see an example of how to use stop_bds_instance API.
|
7195
7797
|
"""
|
7196
7798
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7197
7799
|
required_arguments = ['bdsInstanceId']
|
@@ -7302,7 +7904,7 @@ class BdsClient(object):
|
|
7302
7904
|
:rtype: :class:`~oci.response.Response`
|
7303
7905
|
|
7304
7906
|
:example:
|
7305
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7907
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/test_bds_metastore_configuration.py.html>`__ to see an example of how to use test_bds_metastore_configuration API.
|
7306
7908
|
"""
|
7307
7909
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7308
7910
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -7407,7 +8009,7 @@ class BdsClient(object):
|
|
7407
8009
|
:rtype: :class:`~oci.response.Response`
|
7408
8010
|
|
7409
8011
|
:example:
|
7410
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8012
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/test_bds_object_storage_connection.py.html>`__ to see an example of how to use test_bds_object_storage_connection API.
|
7411
8013
|
"""
|
7412
8014
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7413
8015
|
required_arguments = ['bdsInstanceId', 'apiKeyId']
|
@@ -7524,7 +8126,7 @@ class BdsClient(object):
|
|
7524
8126
|
:rtype: :class:`~oci.response.Response`
|
7525
8127
|
|
7526
8128
|
:example:
|
7527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8129
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
|
7528
8130
|
"""
|
7529
8131
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7530
8132
|
required_arguments = ['bdsInstanceId', 'autoScalingConfigurationId']
|
@@ -7636,7 +8238,7 @@ class BdsClient(object):
|
|
7636
8238
|
:rtype: :class:`~oci.response.Response`
|
7637
8239
|
|
7638
8240
|
:example:
|
7639
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8241
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_bds_instance.py.html>`__ to see an example of how to use update_bds_instance API.
|
7640
8242
|
"""
|
7641
8243
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7642
8244
|
required_arguments = ['bdsInstanceId']
|
@@ -7747,7 +8349,7 @@ class BdsClient(object):
|
|
7747
8349
|
:rtype: :class:`~oci.response.Response`
|
7748
8350
|
|
7749
8351
|
:example:
|
7750
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8352
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_bds_metastore_configuration.py.html>`__ to see an example of how to use update_bds_metastore_configuration API.
|
7751
8353
|
"""
|
7752
8354
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7753
8355
|
required_arguments = ['bdsInstanceId', 'metastoreConfigId']
|
@@ -7866,7 +8468,7 @@ class BdsClient(object):
|
|
7866
8468
|
:rtype: :class:`~oci.response.Response`
|
7867
8469
|
|
7868
8470
|
:example:
|
7869
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_node_backup_configuration.py.html>`__ to see an example of how to use update_node_backup_configuration API.
|
7870
8472
|
"""
|
7871
8473
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7872
8474
|
required_arguments = ['bdsInstanceId', 'nodeBackupConfigurationId']
|
@@ -7988,7 +8590,7 @@ class BdsClient(object):
|
|
7988
8590
|
:rtype: :class:`~oci.response.Response`
|
7989
8591
|
|
7990
8592
|
:example:
|
7991
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8593
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_node_replace_configuration.py.html>`__ to see an example of how to use update_node_replace_configuration API.
|
7992
8594
|
"""
|
7993
8595
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7994
8596
|
required_arguments = ['bdsInstanceId', 'nodeReplaceConfigurationId']
|
@@ -8062,3 +8664,125 @@ class BdsClient(object):
|
|
8062
8664
|
operation_name=operation_name,
|
8063
8665
|
api_reference_link=api_reference_link,
|
8064
8666
|
required_arguments=required_arguments)
|
8667
|
+
|
8668
|
+
def update_resource_principal_configuration(self, bds_instance_id, resource_principal_configuration_id, update_resource_principal_configuration_details, **kwargs):
|
8669
|
+
"""
|
8670
|
+
Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.
|
8671
|
+
|
8672
|
+
|
8673
|
+
:param str bds_instance_id: (required)
|
8674
|
+
The OCID of the cluster.
|
8675
|
+
|
8676
|
+
:param str resource_principal_configuration_id: (required)
|
8677
|
+
Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
|
8678
|
+
|
8679
|
+
:param oci.bds.models.UpdateResourcePrincipalConfigurationDetails update_resource_principal_configuration_details: (required)
|
8680
|
+
Details for updating the resourcePrincipalConfiguration.
|
8681
|
+
|
8682
|
+
:param str opc_request_id: (optional)
|
8683
|
+
The client request ID for tracing.
|
8684
|
+
|
8685
|
+
:param str if_match: (optional)
|
8686
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
8687
|
+
for a resource, set the `if-match` parameter to the value of the
|
8688
|
+
etag from a previous GET or POST response for that resource.
|
8689
|
+
The resource will be updated or deleted only if the etag you
|
8690
|
+
provide matches the resource's current etag value.
|
8691
|
+
|
8692
|
+
:param str opc_retry_token: (optional)
|
8693
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
8694
|
+
server error, without risk of executing that same action again. Retry tokens expire after 24
|
8695
|
+
hours but can be invalidated before then due to conflicting operations. For example, if a resource
|
8696
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
8697
|
+
might be rejected.
|
8698
|
+
|
8699
|
+
:param obj retry_strategy: (optional)
|
8700
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
8701
|
+
|
8702
|
+
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.
|
8703
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
8704
|
+
|
8705
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
8706
|
+
|
8707
|
+
:param bool allow_control_chars: (optional)
|
8708
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
8709
|
+
By default, the response will not allow control characters in strings
|
8710
|
+
|
8711
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
8712
|
+
:rtype: :class:`~oci.response.Response`
|
8713
|
+
|
8714
|
+
:example:
|
8715
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/bds/update_resource_principal_configuration.py.html>`__ to see an example of how to use update_resource_principal_configuration API.
|
8716
|
+
"""
|
8717
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8718
|
+
required_arguments = ['bdsInstanceId', 'resourcePrincipalConfigurationId']
|
8719
|
+
resource_path = "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}"
|
8720
|
+
method = "PUT"
|
8721
|
+
operation_name = "update_resource_principal_configuration"
|
8722
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateResourcePrincipalConfiguration"
|
8723
|
+
|
8724
|
+
# Don't accept unknown kwargs
|
8725
|
+
expected_kwargs = [
|
8726
|
+
"allow_control_chars",
|
8727
|
+
"retry_strategy",
|
8728
|
+
"opc_request_id",
|
8729
|
+
"if_match",
|
8730
|
+
"opc_retry_token"
|
8731
|
+
]
|
8732
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
8733
|
+
if extra_kwargs:
|
8734
|
+
raise ValueError(
|
8735
|
+
f"update_resource_principal_configuration got unknown kwargs: {extra_kwargs!r}")
|
8736
|
+
|
8737
|
+
path_params = {
|
8738
|
+
"bdsInstanceId": bds_instance_id,
|
8739
|
+
"resourcePrincipalConfigurationId": resource_principal_configuration_id
|
8740
|
+
}
|
8741
|
+
|
8742
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
8743
|
+
|
8744
|
+
for (k, v) in six.iteritems(path_params):
|
8745
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
8746
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8747
|
+
|
8748
|
+
header_params = {
|
8749
|
+
"accept": "application/json",
|
8750
|
+
"content-type": "application/json",
|
8751
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
8752
|
+
"if-match": kwargs.get("if_match", missing),
|
8753
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
8754
|
+
}
|
8755
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
8756
|
+
|
8757
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
8758
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
8759
|
+
client_retry_strategy=self.retry_strategy
|
8760
|
+
)
|
8761
|
+
|
8762
|
+
if retry_strategy:
|
8763
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
8764
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
8765
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
8766
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
8767
|
+
return retry_strategy.make_retrying_call(
|
8768
|
+
self.base_client.call_api,
|
8769
|
+
resource_path=resource_path,
|
8770
|
+
method=method,
|
8771
|
+
path_params=path_params,
|
8772
|
+
header_params=header_params,
|
8773
|
+
body=update_resource_principal_configuration_details,
|
8774
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8775
|
+
operation_name=operation_name,
|
8776
|
+
api_reference_link=api_reference_link,
|
8777
|
+
required_arguments=required_arguments)
|
8778
|
+
else:
|
8779
|
+
return self.base_client.call_api(
|
8780
|
+
resource_path=resource_path,
|
8781
|
+
method=method,
|
8782
|
+
path_params=path_params,
|
8783
|
+
header_params=header_params,
|
8784
|
+
body=update_resource_principal_configuration_details,
|
8785
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8786
|
+
operation_name=operation_name,
|
8787
|
+
api_reference_link=api_reference_link,
|
8788
|
+
required_arguments=required_arguments)
|