oci 2.115.0__py3-none-any.whl → 2.116.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_speech/models/__init__.py +4 -0
- oci/ai_speech/models/create_transcription_job_details.py +4 -4
- oci/ai_speech/models/diarization.py +103 -0
- oci/ai_speech/models/transcription_job.py +6 -6
- oci/ai_speech/models/transcription_job_summary.py +6 -6
- oci/ai_speech/models/transcription_model_details.py +29 -2
- oci/ai_speech/models/transcription_settings.py +68 -0
- oci/ai_speech/models/update_transcription_job_details.py +4 -4
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +3 -17
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +521 -47
- oci/bds/bds_client_composite_operations.py +123 -0
- oci/bds/models/__init__.py +14 -0
- oci/bds/models/certificate_service_info_details.py +72 -0
- oci/bds/models/certificate_service_info_summary.py +206 -0
- oci/bds/models/disable_certificate_details.py +103 -0
- oci/bds/models/enable_certificate_details.py +196 -0
- oci/bds/models/host_cert_details.py +134 -0
- oci/bds/models/host_specific_certificate_details.py +150 -0
- oci/bds/models/renew_certificate_details.py +196 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1480 -210
- oci/core/compute_client_composite_operations.py +195 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +42 -0
- oci/core/models/capacity_source.py +101 -0
- oci/core/models/change_compute_capacity_topology_compartment_details.py +78 -0
- oci/core/models/compute_bare_metal_host.py +458 -0
- oci/core/models/compute_bare_metal_host_collection.py +72 -0
- oci/core/models/compute_bare_metal_host_summary.py +422 -0
- oci/core/models/compute_capacity_topology.py +425 -0
- oci/core/models/compute_capacity_topology_collection.py +72 -0
- oci/core/models/compute_capacity_topology_summary.py +370 -0
- oci/core/models/compute_hpc_island.py +267 -0
- oci/core/models/compute_hpc_island_collection.py +72 -0
- oci/core/models/compute_hpc_island_summary.py +251 -0
- oci/core/models/compute_network_block.py +302 -0
- oci/core/models/compute_network_block_collection.py +72 -0
- oci/core/models/compute_network_block_summary.py +286 -0
- oci/core/models/create_capacity_source_details.py +89 -0
- oci/core/models/create_compute_capacity_topology_details.py +253 -0
- oci/core/models/create_dedicated_capacity_source_details.py +85 -0
- oci/core/models/dedicated_capacity_source.py +86 -0
- oci/core/models/update_capacity_source_details.py +89 -0
- oci/core/models/update_compute_capacity_topology_details.py +183 -0
- oci/core/models/update_dedicated_capacity_source_details.py +50 -0
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +141 -141
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +252 -252
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +645 -319
- oci/database/database_client_composite_operations.py +176 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_container_database.py +7 -3
- oci/database/models/autonomous_container_database_summary.py +7 -3
- oci/database/models/configure_saas_admin_user_details.py +284 -0
- oci/database/models/create_autonomous_container_database_dataguard_association_details.py +321 -0
- oci/database/models/database_connection_string_profile.py +33 -2
- oci/database/models/generate_autonomous_database_wallet_details.py +33 -2
- oci/database/models/saas_admin_user_configuration.py +284 -0
- oci/database/models/saas_admin_user_status.py +154 -0
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +57 -57
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +20355 -6173
- oci/identity_domains/models/__init__.py +216 -0
- oci/identity_domains/models/app_extension_radius_app_app.py +55 -0
- oci/identity_domains/models/approval_workflow.py +832 -0
- oci/identity_domains/models/approval_workflow_approval_workflow_steps.py +294 -0
- oci/identity_domains/models/approval_workflow_assignment.py +771 -0
- oci/identity_domains/models/approval_workflow_assignment_approval_workflow.py +318 -0
- oci/identity_domains/models/approval_workflow_assignment_assigned_to.py +318 -0
- oci/identity_domains/models/approval_workflow_assignments.py +196 -0
- oci/identity_domains/models/approval_workflow_max_duration.py +185 -0
- oci/identity_domains/models/approval_workflow_step.py +929 -0
- oci/identity_domains/models/approval_workflow_step_approvers.py +294 -0
- oci/identity_domains/models/approval_workflow_steps.py +196 -0
- oci/identity_domains/models/approval_workflows.py +196 -0
- oci/identity_domains/models/authentication_factors_remover.py +51 -2
- oci/identity_domains/models/branding_setting.py +1556 -0
- oci/identity_domains/models/branding_settings.py +196 -0
- oci/identity_domains/models/branding_settings_company_names.py +131 -0
- oci/identity_domains/models/branding_settings_default_company_names.py +143 -0
- oci/identity_domains/models/branding_settings_default_images.py +188 -0
- oci/identity_domains/models/branding_settings_default_login_texts.py +143 -0
- oci/identity_domains/models/branding_settings_images.py +176 -0
- oci/identity_domains/models/branding_settings_login_texts.py +131 -0
- oci/identity_domains/models/cloud_gate.py +1239 -0
- oci/identity_domains/models/cloud_gate_ext_mappings.py +610 -0
- oci/identity_domains/models/cloud_gate_ext_servers.py +296 -0
- oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.py +316 -0
- oci/identity_domains/models/cloud_gate_ext_upstream_servers.py +426 -0
- oci/identity_domains/models/cloud_gate_mapping.py +1068 -0
- oci/identity_domains/models/cloud_gate_mapping_cloud_gate.py +153 -0
- oci/identity_domains/models/cloud_gate_mapping_gateway_app.py +204 -0
- oci/identity_domains/models/cloud_gate_mapping_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_mapping_server.py +153 -0
- oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.py +217 -0
- oci/identity_domains/models/cloud_gate_mappings.py +196 -0
- oci/identity_domains/models/cloud_gate_oauth_client.py +208 -0
- oci/identity_domains/models/cloud_gate_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_server.py +1042 -0
- oci/identity_domains/models/cloud_gate_server_cloud_gate.py +153 -0
- oci/identity_domains/models/cloud_gate_server_search_request.py +364 -0
- oci/identity_domains/models/cloud_gate_servers.py +196 -0
- oci/identity_domains/models/cloud_gates.py +196 -0
- oci/identity_domains/models/condition.py +1063 -0
- oci/identity_domains/models/condition_search_request.py +364 -0
- oci/identity_domains/models/conditions.py +196 -0
- oci/identity_domains/models/defined_tags.py +2 -0
- oci/identity_domains/models/extension_social_identity_provider.py +55 -0
- oci/identity_domains/models/freeform_tags.py +2 -0
- oci/identity_domains/models/identity_provider_relay_idp_param_mappings.py +159 -0
- oci/identity_domains/models/me_password_changer.py +2 -2
- oci/identity_domains/models/my_authentication_factors_remover.py +51 -2
- oci/identity_domains/models/my_completed_approval.py +1146 -0
- oci/identity_domains/models/my_completed_approvals.py +196 -0
- oci/identity_domains/models/my_pending_approval.py +1146 -0
- oci/identity_domains/models/my_pending_approvals.py +196 -0
- oci/identity_domains/models/my_request.py +217 -2
- oci/identity_domains/models/my_request_approval_details.py +398 -0
- oci/identity_domains/models/my_request_requesting.py +53 -0
- oci/identity_domains/models/network_perimeter.py +852 -0
- oci/identity_domains/models/network_perimeter_ip_addresses.py +228 -0
- oci/identity_domains/models/network_perimeter_search_request.py +364 -0
- oci/identity_domains/models/network_perimeters.py +196 -0
- oci/identity_domains/models/notification_setting.py +1038 -0
- oci/identity_domains/models/notification_settings.py +196 -0
- oci/identity_domains/models/notification_settings_event_settings.py +143 -0
- oci/identity_domains/models/notification_settings_from_email_address.py +278 -0
- oci/identity_domains/models/notification_settings_search_request.py +171 -0
- oci/identity_domains/models/o_auth_client_certificate.py +1187 -0
- oci/identity_domains/models/o_auth_client_certificate_search_request.py +364 -0
- oci/identity_domains/models/o_auth_client_certificates.py +196 -0
- oci/identity_domains/models/o_auth_partner_certificate.py +1187 -0
- oci/identity_domains/models/o_auth_partner_certificate_search_request.py +364 -0
- oci/identity_domains/models/o_auth_partner_certificates.py +196 -0
- oci/identity_domains/models/policies.py +196 -0
- oci/identity_domains/models/policy.py +979 -0
- oci/identity_domains/models/policy_policy_type.py +150 -0
- oci/identity_domains/models/policy_rules.py +247 -0
- oci/identity_domains/models/policy_search_request.py +364 -0
- oci/identity_domains/models/rule.py +1110 -0
- oci/identity_domains/models/rule_condition_group.py +270 -0
- oci/identity_domains/models/rule_policy_type.py +150 -0
- oci/identity_domains/models/rule_return.py +188 -0
- oci/identity_domains/models/rule_search_request.py +364 -0
- oci/identity_domains/models/rules.py +196 -0
- oci/identity_domains/models/schema.py +537 -0
- oci/identity_domains/models/schema_attributes.py +4165 -0
- oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.py +188 -0
- oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.py +433 -0
- oci/identity_domains/models/schema_localized_canonical_values.py +188 -0
- oci/identity_domains/models/schema_localized_display_name.py +147 -0
- oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.py +139 -0
- oci/identity_domains/models/schema_resolve_value_using_resource_type.py +139 -0
- oci/identity_domains/models/schema_search_request.py +329 -0
- oci/identity_domains/models/schema_sub_attributes.py +3209 -0
- oci/identity_domains/models/schemas.py +196 -0
- oci/identity_domains/models/self_registration_profile.py +1636 -0
- oci/identity_domains/models/self_registration_profile_after_submit_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_consent_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_default_groups.py +190 -0
- oci/identity_domains/models/self_registration_profile_display_name.py +194 -0
- oci/identity_domains/models/self_registration_profile_email_template.py +202 -0
- oci/identity_domains/models/self_registration_profile_footer_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_header_text.py +194 -0
- oci/identity_domains/models/self_registration_profile_search_request.py +364 -0
- oci/identity_domains/models/self_registration_profile_user_attributes.py +286 -0
- oci/identity_domains/models/self_registration_profiles.py +196 -0
- oci/identity_domains/models/setting.py +3110 -0
- oci/identity_domains/models/settings.py +196 -0
- oci/identity_domains/models/settings_certificate_validation.py +566 -0
- oci/identity_domains/models/settings_cloud_gate_cors_settings.py +318 -0
- oci/identity_domains/models/settings_company_names.py +135 -0
- oci/identity_domains/models/settings_default_company_names.py +143 -0
- oci/identity_domains/models/settings_default_images.py +188 -0
- oci/identity_domains/models/settings_default_login_texts.py +145 -0
- oci/identity_domains/models/settings_images.py +176 -0
- oci/identity_domains/models/settings_login_texts.py +137 -0
- oci/identity_domains/models/settings_purge_configs.py +139 -0
- oci/identity_domains/models/settings_search_request.py +171 -0
- oci/identity_domains/models/settings_tenant_custom_claims.py +438 -0
- oci/identity_domains/models/user_ext_risk_scores.py +4 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +1352 -164
- oci/jms/java_management_service_client_composite_operations.py +226 -0
- oci/jms/models/__init__.py +32 -0
- oci/jms/models/agent.py +240 -0
- oci/jms/models/announcement_summary.py +1 -1
- oci/jms/models/application_work_item_details.py +2 -2
- oci/jms/models/basic_work_item_details.py +2 -2
- oci/jms/models/blocklist.py +31 -3
- oci/jms/models/blocklist_entry.py +31 -3
- oci/jms/models/create_blocklist_details.py +31 -3
- oci/jms/models/create_drs_file_details.py +134 -0
- oci/jms/models/disable_drs_details.py +69 -0
- oci/jms/models/drs_file.py +272 -0
- oci/jms/models/drs_file_collection.py +72 -0
- oci/jms/models/drs_file_summary.py +272 -0
- oci/jms/models/drs_target.py +72 -0
- oci/jms/models/enable_drs_details.py +69 -0
- oci/jms/models/export_setting.py +485 -0
- oci/jms/models/export_status.py +201 -0
- oci/jms/models/fleet.py +31 -0
- oci/jms/models/fleet_agent_configuration.py +27 -0
- oci/jms/models/fleet_summary.py +31 -0
- oci/jms/models/java_artifact.py +262 -2
- oci/jms/models/java_family.py +103 -2
- oci/jms/models/java_family_summary.py +70 -2
- oci/jms/models/java_migration_analysis_result.py +31 -0
- oci/jms/models/java_migration_analysis_result_summary.py +31 -0
- oci/jms/models/java_release.py +66 -2
- oci/jms/models/java_release_summary.py +66 -2
- oci/jms/models/lcm_work_item_details.py +86 -0
- oci/jms/models/manage_drs_details.py +73 -0
- oci/jms/models/managed_instance_usage.py +82 -0
- oci/jms/models/patch_detail.py +103 -0
- oci/jms/models/performance_tuning_analysis.py +2 -2
- oci/jms/models/plugin.py +103 -0
- oci/jms/models/request_crypto_analyses_details.py +2 -2
- oci/jms/models/update_drs_file_details.py +134 -0
- oci/jms/models/update_export_setting_details.py +349 -0
- oci/jms/models/update_fleet_agent_configuration_details.py +29 -2
- oci/jms/models/work_item_details.py +34 -6
- oci/jms/models/work_request.py +31 -3
- oci/jms_java_downloads/__init__.py +14 -0
- oci/jms_java_downloads/java_download_client.py +3088 -0
- oci/jms_java_downloads/java_download_client_composite_operations.py +384 -0
- oci/jms_java_downloads/models/__init__.py +80 -0
- oci/jms_java_downloads/models/create_java_download_report_details.py +289 -0
- oci/jms_java_downloads/models/create_java_download_token_details.py +336 -0
- oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +174 -0
- oci/jms_java_downloads/models/download_url.py +119 -0
- oci/jms_java_downloads/models/generate_artifact_download_url_details.py +72 -0
- oci/jms_java_downloads/models/java_download_count_aggregation.py +289 -0
- oci/jms_java_downloads/models/java_download_count_aggregation_collection.py +123 -0
- oci/jms_java_downloads/models/java_download_record.py +351 -0
- oci/jms_java_downloads/models/java_download_record_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_record_summary.py +351 -0
- oci/jms_java_downloads/models/java_download_report.py +533 -0
- oci/jms_java_downloads/models/java_download_report_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_report_summary.py +532 -0
- oci/jms_java_downloads/models/java_download_token.py +710 -0
- oci/jms_java_downloads/models/java_download_token_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_token_summary.py +710 -0
- oci/jms_java_downloads/models/java_license.py +154 -0
- oci/jms_java_downloads/models/java_license_acceptance_record.py +513 -0
- oci/jms_java_downloads/models/java_license_acceptance_record_collection.py +72 -0
- oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +513 -0
- oci/jms_java_downloads/models/java_license_collection.py +72 -0
- oci/jms_java_downloads/models/java_license_summary.py +154 -0
- oci/jms_java_downloads/models/principal.py +138 -0
- oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +415 -0
- oci/jms_java_downloads/models/update_java_download_token_details.py +270 -0
- oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +88 -0
- oci/jms_java_downloads/models/work_request.py +412 -0
- oci/jms_java_downloads/models/work_request_error.py +136 -0
- oci/jms_java_downloads/models/work_request_error_collection.py +72 -0
- oci/jms_java_downloads/models/work_request_log_entry.py +103 -0
- oci/jms_java_downloads/models/work_request_log_entry_collection.py +72 -0
- oci/jms_java_downloads/models/work_request_resource.py +203 -0
- oci/jms_java_downloads/models/work_request_summary.py +412 -0
- oci/jms_java_downloads/models/work_request_summary_collection.py +72 -0
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +192 -192
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/esxi_host_client.py +6 -6
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +159 -159
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/__init__.py +14 -0
- oci/psql/models/__init__.py +166 -0
- oci/psql/models/backup.py +645 -0
- oci/psql/models/backup_collection.py +72 -0
- oci/psql/models/backup_policy.py +156 -0
- oci/psql/models/backup_source_details.py +113 -0
- oci/psql/models/backup_summary.py +481 -0
- oci/psql/models/change_backup_compartment_details.py +74 -0
- oci/psql/models/change_configuration_compartment_details.py +74 -0
- oci/psql/models/change_db_system_compartment_details.py +78 -0
- oci/psql/models/config_overrides.py +103 -0
- oci/psql/models/config_params.py +289 -0
- oci/psql/models/configuration.py +532 -0
- oci/psql/models/configuration_collection.py +72 -0
- oci/psql/models/configuration_details.py +72 -0
- oci/psql/models/configuration_summary.py +450 -0
- oci/psql/models/connection_details.py +134 -0
- oci/psql/models/create_backup_details.py +262 -0
- oci/psql/models/create_configuration_details.py +384 -0
- oci/psql/models/create_db_instance_details.py +136 -0
- oci/psql/models/create_db_system_details.py +585 -0
- oci/psql/models/credentials.py +100 -0
- oci/psql/models/daily_backup_policy.py +89 -0
- oci/psql/models/db_configuration_override_collection.py +72 -0
- oci/psql/models/db_instance.py +325 -0
- oci/psql/models/db_instance_endpoint.py +99 -0
- oci/psql/models/db_system.py +827 -0
- oci/psql/models/db_system_collection.py +72 -0
- oci/psql/models/db_system_details.py +103 -0
- oci/psql/models/db_system_summary.py +574 -0
- oci/psql/models/default_config_params.py +258 -0
- oci/psql/models/default_configuration.py +406 -0
- oci/psql/models/default_configuration_collection.py +72 -0
- oci/psql/models/default_configuration_details.py +72 -0
- oci/psql/models/default_configuration_summary.py +320 -0
- oci/psql/models/endpoint.py +134 -0
- oci/psql/models/failover_db_system_details.py +107 -0
- oci/psql/models/management_policy.py +99 -0
- oci/psql/models/management_policy_details.py +99 -0
- oci/psql/models/monthly_backup_policy.py +122 -0
- oci/psql/models/network_details.py +136 -0
- oci/psql/models/none_backup_policy.py +58 -0
- oci/psql/models/none_source_details.py +51 -0
- oci/psql/models/oci_optimized_storage_details.py +95 -0
- oci/psql/models/password_details.py +110 -0
- oci/psql/models/patch_db_system_details.py +74 -0
- oci/psql/models/patch_insert_instruction.py +171 -0
- oci/psql/models/patch_instruction.py +184 -0
- oci/psql/models/patch_merge_instruction.py +97 -0
- oci/psql/models/patch_move_instruction.py +147 -0
- oci/psql/models/patch_prohibit_instruction.py +100 -0
- oci/psql/models/patch_remove_instruction.py +59 -0
- oci/psql/models/patch_replace_instruction.py +92 -0
- oci/psql/models/patch_require_instruction.py +99 -0
- oci/psql/models/plain_text_password_details.py +82 -0
- oci/psql/models/primary_db_instance_details.py +72 -0
- oci/psql/models/reset_master_user_password_details.py +69 -0
- oci/psql/models/restart_db_instance_in_db_system_details.py +119 -0
- oci/psql/models/restore_db_system_details.py +105 -0
- oci/psql/models/shape_collection.py +72 -0
- oci/psql/models/shape_summary.py +165 -0
- oci/psql/models/source_details.py +109 -0
- oci/psql/models/storage_details.py +161 -0
- oci/psql/models/update_backup_details.py +200 -0
- oci/psql/models/update_configuration_details.py +103 -0
- oci/psql/models/update_db_config_params.py +121 -0
- oci/psql/models/update_db_system_db_instance_details.py +103 -0
- oci/psql/models/update_db_system_details.py +250 -0
- oci/psql/models/update_storage_details_params.py +74 -0
- oci/psql/models/vault_secret_password_details.py +113 -0
- oci/psql/models/weekly_backup_policy.py +157 -0
- oci/psql/models/work_request.py +412 -0
- oci/psql/models/work_request_error.py +136 -0
- oci/psql/models/work_request_error_collection.py +72 -0
- oci/psql/models/work_request_log_entry.py +103 -0
- oci/psql/models/work_request_log_entry_collection.py +72 -0
- oci/psql/models/work_request_resource.py +228 -0
- oci/psql/models/work_request_summary.py +412 -0
- oci/psql/models/work_request_summary_collection.py +72 -0
- oci/psql/postgresql_client.py +3980 -0
- oci/psql/postgresql_client_composite_operations.py +807 -0
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +19 -19
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/METADATA +1 -1
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/RECORD +566 -289
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/WHEEL +0 -0
- {oci-2.115.0.dist-info → oci-2.116.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,384 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230601
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class JavaDownloadClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.jms_java_downloads.JavaDownloadClient` and offers convenience methods
|
14
|
+
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
+
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
+
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, client, **kwargs):
|
20
|
+
"""
|
21
|
+
Creates a new JavaDownloadClientCompositeOperations object
|
22
|
+
|
23
|
+
:param JavaDownloadClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
27
|
+
|
28
|
+
def create_java_download_report_and_wait_for_state(self, create_java_download_report_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_download_report` and waits for the :py:class:`~oci.jms_java_downloads.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param oci.jms_java_downloads.models.CreateJavaDownloadReportDetails create_java_download_report_details: (required)
|
34
|
+
Details for the new report.
|
35
|
+
|
36
|
+
:param list[str] wait_for_states:
|
37
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.WorkRequest.status`
|
38
|
+
|
39
|
+
:param dict operation_kwargs:
|
40
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_download_report`
|
41
|
+
|
42
|
+
:param dict waiter_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
44
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
45
|
+
"""
|
46
|
+
operation_result = self.client.create_java_download_report(create_java_download_report_details, **operation_kwargs)
|
47
|
+
if not wait_for_states:
|
48
|
+
return operation_result
|
49
|
+
|
50
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
51
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
52
|
+
|
53
|
+
try:
|
54
|
+
waiter_result = oci.wait_until(
|
55
|
+
self.client,
|
56
|
+
self.client.get_work_request(wait_for_resource_id),
|
57
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
58
|
+
**waiter_kwargs
|
59
|
+
)
|
60
|
+
result_to_return = waiter_result
|
61
|
+
|
62
|
+
return result_to_return
|
63
|
+
except Exception as e:
|
64
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
65
|
+
|
66
|
+
def create_java_download_token_and_wait_for_state(self, create_java_download_token_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
67
|
+
"""
|
68
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_download_token` and waits for the :py:class:`~oci.jms_java_downloads.models.WorkRequest`
|
69
|
+
to enter the given state(s).
|
70
|
+
|
71
|
+
:param oci.jms_java_downloads.models.CreateJavaDownloadTokenDetails create_java_download_token_details: (required)
|
72
|
+
Details for the new JavaDownloadToken.
|
73
|
+
|
74
|
+
:param list[str] wait_for_states:
|
75
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.WorkRequest.status`
|
76
|
+
|
77
|
+
:param dict operation_kwargs:
|
78
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_download_token`
|
79
|
+
|
80
|
+
:param dict waiter_kwargs:
|
81
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
82
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
83
|
+
"""
|
84
|
+
operation_result = self.client.create_java_download_token(create_java_download_token_details, **operation_kwargs)
|
85
|
+
if not wait_for_states:
|
86
|
+
return operation_result
|
87
|
+
|
88
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
89
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
90
|
+
|
91
|
+
try:
|
92
|
+
waiter_result = oci.wait_until(
|
93
|
+
self.client,
|
94
|
+
self.client.get_work_request(wait_for_resource_id),
|
95
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
96
|
+
**waiter_kwargs
|
97
|
+
)
|
98
|
+
result_to_return = waiter_result
|
99
|
+
|
100
|
+
return result_to_return
|
101
|
+
except Exception as e:
|
102
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
103
|
+
|
104
|
+
def create_java_license_acceptance_record_and_wait_for_state(self, create_java_license_acceptance_record_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
105
|
+
"""
|
106
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_license_acceptance_record` and waits for the :py:class:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord` acted upon
|
107
|
+
to enter the given state(s).
|
108
|
+
|
109
|
+
:param oci.jms_java_downloads.models.CreateJavaLicenseAcceptanceRecordDetails create_java_license_acceptance_record_details: (required)
|
110
|
+
Details for the new JavaLicenseAcceptanceRecord.
|
111
|
+
|
112
|
+
:param list[str] wait_for_states:
|
113
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord.lifecycle_state`
|
114
|
+
|
115
|
+
:param dict operation_kwargs:
|
116
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.create_java_license_acceptance_record`
|
117
|
+
|
118
|
+
:param dict waiter_kwargs:
|
119
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
120
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
121
|
+
"""
|
122
|
+
operation_result = self.client.create_java_license_acceptance_record(create_java_license_acceptance_record_details, **operation_kwargs)
|
123
|
+
if not wait_for_states:
|
124
|
+
return operation_result
|
125
|
+
|
126
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
127
|
+
java_license_acceptance_record_id = operation_result.data.id
|
128
|
+
|
129
|
+
try:
|
130
|
+
waiter_result = oci.wait_until(
|
131
|
+
self.client,
|
132
|
+
self.client.get_java_license_acceptance_record(java_license_acceptance_record_id), # noqa: F821
|
133
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
134
|
+
**waiter_kwargs
|
135
|
+
)
|
136
|
+
result_to_return = waiter_result
|
137
|
+
|
138
|
+
return result_to_return
|
139
|
+
except (NameError, TypeError) as e:
|
140
|
+
if not e.args:
|
141
|
+
e.args = ('',)
|
142
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
143
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
144
|
+
except Exception as e:
|
145
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
146
|
+
|
147
|
+
def delete_java_download_report_and_wait_for_state(self, java_download_report_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
148
|
+
"""
|
149
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_download_report` and waits for the :py:class:`~oci.jms_java_downloads.models.WorkRequest`
|
150
|
+
to enter the given state(s).
|
151
|
+
|
152
|
+
:param str java_download_report_id: (required)
|
153
|
+
Unique Java download report identifier.
|
154
|
+
|
155
|
+
:param list[str] wait_for_states:
|
156
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.WorkRequest.status`
|
157
|
+
|
158
|
+
:param dict operation_kwargs:
|
159
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_download_report`
|
160
|
+
|
161
|
+
:param dict waiter_kwargs:
|
162
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
163
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
164
|
+
"""
|
165
|
+
operation_result = None
|
166
|
+
try:
|
167
|
+
operation_result = self.client.delete_java_download_report(java_download_report_id, **operation_kwargs)
|
168
|
+
except oci.exceptions.ServiceError as e:
|
169
|
+
if e.status == 404:
|
170
|
+
return WAIT_RESOURCE_NOT_FOUND
|
171
|
+
else:
|
172
|
+
raise e
|
173
|
+
|
174
|
+
if not wait_for_states:
|
175
|
+
return operation_result
|
176
|
+
|
177
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
178
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
179
|
+
|
180
|
+
try:
|
181
|
+
waiter_result = oci.wait_until(
|
182
|
+
self.client,
|
183
|
+
self.client.get_work_request(wait_for_resource_id),
|
184
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
185
|
+
**waiter_kwargs
|
186
|
+
)
|
187
|
+
result_to_return = waiter_result
|
188
|
+
|
189
|
+
return result_to_return
|
190
|
+
except Exception as e:
|
191
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
192
|
+
|
193
|
+
def delete_java_download_token_and_wait_for_state(self, java_download_token_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
194
|
+
"""
|
195
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_download_token` and waits for the :py:class:`~oci.jms_java_downloads.models.WorkRequest`
|
196
|
+
to enter the given state(s).
|
197
|
+
|
198
|
+
:param str java_download_token_id: (required)
|
199
|
+
Unique JavaDownloadToken identifier.
|
200
|
+
|
201
|
+
:param list[str] wait_for_states:
|
202
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.WorkRequest.status`
|
203
|
+
|
204
|
+
:param dict operation_kwargs:
|
205
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_download_token`
|
206
|
+
|
207
|
+
:param dict waiter_kwargs:
|
208
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
209
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
210
|
+
"""
|
211
|
+
operation_result = None
|
212
|
+
try:
|
213
|
+
operation_result = self.client.delete_java_download_token(java_download_token_id, **operation_kwargs)
|
214
|
+
except oci.exceptions.ServiceError as e:
|
215
|
+
if e.status == 404:
|
216
|
+
return WAIT_RESOURCE_NOT_FOUND
|
217
|
+
else:
|
218
|
+
raise e
|
219
|
+
|
220
|
+
if not wait_for_states:
|
221
|
+
return operation_result
|
222
|
+
|
223
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
224
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
225
|
+
|
226
|
+
try:
|
227
|
+
waiter_result = oci.wait_until(
|
228
|
+
self.client,
|
229
|
+
self.client.get_work_request(wait_for_resource_id),
|
230
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
231
|
+
**waiter_kwargs
|
232
|
+
)
|
233
|
+
result_to_return = waiter_result
|
234
|
+
|
235
|
+
return result_to_return
|
236
|
+
except Exception as e:
|
237
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
238
|
+
|
239
|
+
def delete_java_license_acceptance_record_and_wait_for_state(self, java_license_acceptance_record_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
240
|
+
"""
|
241
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_license_acceptance_record` and waits for the :py:class:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord` acted upon
|
242
|
+
to enter the given state(s).
|
243
|
+
|
244
|
+
:param str java_license_acceptance_record_id: (required)
|
245
|
+
Unique Java license acceptance record identifier.
|
246
|
+
|
247
|
+
:param list[str] wait_for_states:
|
248
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord.lifecycle_state`
|
249
|
+
|
250
|
+
:param dict operation_kwargs:
|
251
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.delete_java_license_acceptance_record`
|
252
|
+
|
253
|
+
:param dict waiter_kwargs:
|
254
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
255
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
256
|
+
"""
|
257
|
+
initial_get_result = self.client.get_java_license_acceptance_record(java_license_acceptance_record_id)
|
258
|
+
operation_result = None
|
259
|
+
try:
|
260
|
+
operation_result = self.client.delete_java_license_acceptance_record(java_license_acceptance_record_id, **operation_kwargs)
|
261
|
+
except oci.exceptions.ServiceError as e:
|
262
|
+
if e.status == 404:
|
263
|
+
return WAIT_RESOURCE_NOT_FOUND
|
264
|
+
else:
|
265
|
+
raise e
|
266
|
+
|
267
|
+
if not wait_for_states:
|
268
|
+
return operation_result
|
269
|
+
|
270
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
271
|
+
|
272
|
+
try:
|
273
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
274
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_java_license_acceptance_record, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
275
|
+
else:
|
276
|
+
"""
|
277
|
+
If the user does not send in this value, we set it to True by default.
|
278
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
279
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
280
|
+
"""
|
281
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
282
|
+
waiter_result = oci.wait_until(
|
283
|
+
self.client,
|
284
|
+
initial_get_result, # noqa: F821
|
285
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
286
|
+
**waiter_kwargs
|
287
|
+
)
|
288
|
+
result_to_return = waiter_result
|
289
|
+
|
290
|
+
return result_to_return
|
291
|
+
except (NameError, TypeError) as e:
|
292
|
+
if not e.args:
|
293
|
+
e.args = ('',)
|
294
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
295
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
296
|
+
except Exception as e:
|
297
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
298
|
+
|
299
|
+
def update_java_download_token_and_wait_for_state(self, java_download_token_id, update_java_download_token_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
300
|
+
"""
|
301
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.update_java_download_token` and waits for the :py:class:`~oci.jms_java_downloads.models.WorkRequest`
|
302
|
+
to enter the given state(s).
|
303
|
+
|
304
|
+
:param str java_download_token_id: (required)
|
305
|
+
Unique JavaDownloadToken identifier.
|
306
|
+
|
307
|
+
:param oci.jms_java_downloads.models.UpdateJavaDownloadTokenDetails update_java_download_token_details: (required)
|
308
|
+
The attributes to be updated.
|
309
|
+
|
310
|
+
:param list[str] wait_for_states:
|
311
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.WorkRequest.status`
|
312
|
+
|
313
|
+
:param dict operation_kwargs:
|
314
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.update_java_download_token`
|
315
|
+
|
316
|
+
:param dict waiter_kwargs:
|
317
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
318
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
319
|
+
"""
|
320
|
+
operation_result = self.client.update_java_download_token(java_download_token_id, update_java_download_token_details, **operation_kwargs)
|
321
|
+
if not wait_for_states:
|
322
|
+
return operation_result
|
323
|
+
|
324
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
325
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
326
|
+
|
327
|
+
try:
|
328
|
+
waiter_result = oci.wait_until(
|
329
|
+
self.client,
|
330
|
+
self.client.get_work_request(wait_for_resource_id),
|
331
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
332
|
+
**waiter_kwargs
|
333
|
+
)
|
334
|
+
result_to_return = waiter_result
|
335
|
+
|
336
|
+
return result_to_return
|
337
|
+
except Exception as e:
|
338
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
339
|
+
|
340
|
+
def update_java_license_acceptance_record_and_wait_for_state(self, java_license_acceptance_record_id, update_java_license_acceptance_record_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
341
|
+
"""
|
342
|
+
Calls :py:func:`~oci.jms_java_downloads.JavaDownloadClient.update_java_license_acceptance_record` and waits for the :py:class:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord` acted upon
|
343
|
+
to enter the given state(s).
|
344
|
+
|
345
|
+
:param str java_license_acceptance_record_id: (required)
|
346
|
+
Unique Java license acceptance record identifier.
|
347
|
+
|
348
|
+
:param oci.jms_java_downloads.models.UpdateJavaLicenseAcceptanceRecordDetails update_java_license_acceptance_record_details: (required)
|
349
|
+
Attributes for updating the JavaLicenseAcceptanceRecord.
|
350
|
+
|
351
|
+
:param list[str] wait_for_states:
|
352
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord.lifecycle_state`
|
353
|
+
|
354
|
+
:param dict operation_kwargs:
|
355
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.jms_java_downloads.JavaDownloadClient.update_java_license_acceptance_record`
|
356
|
+
|
357
|
+
:param dict waiter_kwargs:
|
358
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
359
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
360
|
+
"""
|
361
|
+
operation_result = self.client.update_java_license_acceptance_record(java_license_acceptance_record_id, update_java_license_acceptance_record_details, **operation_kwargs)
|
362
|
+
if not wait_for_states:
|
363
|
+
return operation_result
|
364
|
+
|
365
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
366
|
+
java_license_acceptance_record_id = operation_result.data.id
|
367
|
+
|
368
|
+
try:
|
369
|
+
waiter_result = oci.wait_until(
|
370
|
+
self.client,
|
371
|
+
self.client.get_java_license_acceptance_record(java_license_acceptance_record_id), # noqa: F821
|
372
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
373
|
+
**waiter_kwargs
|
374
|
+
)
|
375
|
+
result_to_return = waiter_result
|
376
|
+
|
377
|
+
return result_to_return
|
378
|
+
except (NameError, TypeError) as e:
|
379
|
+
if not e.args:
|
380
|
+
e.args = ('',)
|
381
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
382
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
383
|
+
except Exception as e:
|
384
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230601
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from .create_java_download_report_details import CreateJavaDownloadReportDetails
|
10
|
+
from .create_java_download_token_details import CreateJavaDownloadTokenDetails
|
11
|
+
from .create_java_license_acceptance_record_details import CreateJavaLicenseAcceptanceRecordDetails
|
12
|
+
from .download_url import DownloadUrl
|
13
|
+
from .generate_artifact_download_url_details import GenerateArtifactDownloadUrlDetails
|
14
|
+
from .java_download_count_aggregation import JavaDownloadCountAggregation
|
15
|
+
from .java_download_count_aggregation_collection import JavaDownloadCountAggregationCollection
|
16
|
+
from .java_download_record import JavaDownloadRecord
|
17
|
+
from .java_download_record_collection import JavaDownloadRecordCollection
|
18
|
+
from .java_download_record_summary import JavaDownloadRecordSummary
|
19
|
+
from .java_download_report import JavaDownloadReport
|
20
|
+
from .java_download_report_collection import JavaDownloadReportCollection
|
21
|
+
from .java_download_report_summary import JavaDownloadReportSummary
|
22
|
+
from .java_download_token import JavaDownloadToken
|
23
|
+
from .java_download_token_collection import JavaDownloadTokenCollection
|
24
|
+
from .java_download_token_summary import JavaDownloadTokenSummary
|
25
|
+
from .java_license import JavaLicense
|
26
|
+
from .java_license_acceptance_record import JavaLicenseAcceptanceRecord
|
27
|
+
from .java_license_acceptance_record_collection import JavaLicenseAcceptanceRecordCollection
|
28
|
+
from .java_license_acceptance_record_summary import JavaLicenseAcceptanceRecordSummary
|
29
|
+
from .java_license_collection import JavaLicenseCollection
|
30
|
+
from .java_license_summary import JavaLicenseSummary
|
31
|
+
from .principal import Principal
|
32
|
+
from .request_summarized_java_download_counts_details import RequestSummarizedJavaDownloadCountsDetails
|
33
|
+
from .update_java_download_token_details import UpdateJavaDownloadTokenDetails
|
34
|
+
from .update_java_license_acceptance_record_details import UpdateJavaLicenseAcceptanceRecordDetails
|
35
|
+
from .work_request import WorkRequest
|
36
|
+
from .work_request_error import WorkRequestError
|
37
|
+
from .work_request_error_collection import WorkRequestErrorCollection
|
38
|
+
from .work_request_log_entry import WorkRequestLogEntry
|
39
|
+
from .work_request_log_entry_collection import WorkRequestLogEntryCollection
|
40
|
+
from .work_request_resource import WorkRequestResource
|
41
|
+
from .work_request_summary import WorkRequestSummary
|
42
|
+
from .work_request_summary_collection import WorkRequestSummaryCollection
|
43
|
+
|
44
|
+
# Maps type names to classes for jms_java_downloads services.
|
45
|
+
jms_java_downloads_type_mapping = {
|
46
|
+
"CreateJavaDownloadReportDetails": CreateJavaDownloadReportDetails,
|
47
|
+
"CreateJavaDownloadTokenDetails": CreateJavaDownloadTokenDetails,
|
48
|
+
"CreateJavaLicenseAcceptanceRecordDetails": CreateJavaLicenseAcceptanceRecordDetails,
|
49
|
+
"DownloadUrl": DownloadUrl,
|
50
|
+
"GenerateArtifactDownloadUrlDetails": GenerateArtifactDownloadUrlDetails,
|
51
|
+
"JavaDownloadCountAggregation": JavaDownloadCountAggregation,
|
52
|
+
"JavaDownloadCountAggregationCollection": JavaDownloadCountAggregationCollection,
|
53
|
+
"JavaDownloadRecord": JavaDownloadRecord,
|
54
|
+
"JavaDownloadRecordCollection": JavaDownloadRecordCollection,
|
55
|
+
"JavaDownloadRecordSummary": JavaDownloadRecordSummary,
|
56
|
+
"JavaDownloadReport": JavaDownloadReport,
|
57
|
+
"JavaDownloadReportCollection": JavaDownloadReportCollection,
|
58
|
+
"JavaDownloadReportSummary": JavaDownloadReportSummary,
|
59
|
+
"JavaDownloadToken": JavaDownloadToken,
|
60
|
+
"JavaDownloadTokenCollection": JavaDownloadTokenCollection,
|
61
|
+
"JavaDownloadTokenSummary": JavaDownloadTokenSummary,
|
62
|
+
"JavaLicense": JavaLicense,
|
63
|
+
"JavaLicenseAcceptanceRecord": JavaLicenseAcceptanceRecord,
|
64
|
+
"JavaLicenseAcceptanceRecordCollection": JavaLicenseAcceptanceRecordCollection,
|
65
|
+
"JavaLicenseAcceptanceRecordSummary": JavaLicenseAcceptanceRecordSummary,
|
66
|
+
"JavaLicenseCollection": JavaLicenseCollection,
|
67
|
+
"JavaLicenseSummary": JavaLicenseSummary,
|
68
|
+
"Principal": Principal,
|
69
|
+
"RequestSummarizedJavaDownloadCountsDetails": RequestSummarizedJavaDownloadCountsDetails,
|
70
|
+
"UpdateJavaDownloadTokenDetails": UpdateJavaDownloadTokenDetails,
|
71
|
+
"UpdateJavaLicenseAcceptanceRecordDetails": UpdateJavaLicenseAcceptanceRecordDetails,
|
72
|
+
"WorkRequest": WorkRequest,
|
73
|
+
"WorkRequestError": WorkRequestError,
|
74
|
+
"WorkRequestErrorCollection": WorkRequestErrorCollection,
|
75
|
+
"WorkRequestLogEntry": WorkRequestLogEntry,
|
76
|
+
"WorkRequestLogEntryCollection": WorkRequestLogEntryCollection,
|
77
|
+
"WorkRequestResource": WorkRequestResource,
|
78
|
+
"WorkRequestSummary": WorkRequestSummary,
|
79
|
+
"WorkRequestSummaryCollection": WorkRequestSummaryCollection
|
80
|
+
}
|