oci 2.130.0__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 +17 -17
- 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/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 +102 -102
- oci/core/compute_management_client.py +32 -32
- 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 +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +356 -356
- 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 +42 -42
- 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 +46 -46
- 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 +307 -307
- 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/network_firewall_client.py +86 -86
- 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/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/stack_monitoring_client.py +64 -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.130.0.dist-info → oci-2.131.0.dist-info}/METADATA +1 -1
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/RECORD +444 -327
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/WHEEL +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,7 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class JavaManagementServiceClient(object):
|
24
24
|
"""
|
25
|
-
|
25
|
+
The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features.
|
26
26
|
"""
|
27
27
|
|
28
28
|
def __init__(self, config, **kwargs):
|
@@ -162,14 +162,14 @@ class JavaManagementServiceClient(object):
|
|
162
162
|
:rtype: :class:`~oci.response.Response`
|
163
163
|
|
164
164
|
:example:
|
165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/add_fleet_installation_sites.py.html>`__ to see an example of how to use add_fleet_installation_sites API.
|
166
166
|
"""
|
167
167
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
168
168
|
required_arguments = ['fleetId']
|
169
169
|
resource_path = "/fleets/{fleetId}/actions/addInstallationSites"
|
170
170
|
method = "POST"
|
171
171
|
operation_name = "add_fleet_installation_sites"
|
172
|
-
api_reference_link = "
|
172
|
+
api_reference_link = ""
|
173
173
|
|
174
174
|
# Don't accept unknown kwargs
|
175
175
|
expected_kwargs = [
|
@@ -274,14 +274,14 @@ class JavaManagementServiceClient(object):
|
|
274
274
|
:rtype: :class:`~oci.response.Response`
|
275
275
|
|
276
276
|
:example:
|
277
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
277
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
278
278
|
"""
|
279
279
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
280
280
|
required_arguments = ['workRequestId']
|
281
281
|
resource_path = "/workRequests/{workRequestId}"
|
282
282
|
method = "DELETE"
|
283
283
|
operation_name = "cancel_work_request"
|
284
|
-
api_reference_link = "
|
284
|
+
api_reference_link = ""
|
285
285
|
|
286
286
|
# Don't accept unknown kwargs
|
287
287
|
expected_kwargs = [
|
@@ -391,14 +391,14 @@ class JavaManagementServiceClient(object):
|
|
391
391
|
:rtype: :class:`~oci.response.Response`
|
392
392
|
|
393
393
|
:example:
|
394
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
394
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/change_fleet_compartment.py.html>`__ to see an example of how to use change_fleet_compartment API.
|
395
395
|
"""
|
396
396
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
397
397
|
required_arguments = ['fleetId']
|
398
398
|
resource_path = "/fleets/{fleetId}/actions/changeCompartment"
|
399
399
|
method = "POST"
|
400
400
|
operation_name = "change_fleet_compartment"
|
401
|
-
api_reference_link = "
|
401
|
+
api_reference_link = ""
|
402
402
|
|
403
403
|
# Don't accept unknown kwargs
|
404
404
|
expected_kwargs = [
|
@@ -506,14 +506,14 @@ class JavaManagementServiceClient(object):
|
|
506
506
|
:rtype: :class:`~oci.response.Response`
|
507
507
|
|
508
508
|
:example:
|
509
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
509
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/create_blocklist.py.html>`__ to see an example of how to use create_blocklist API.
|
510
510
|
"""
|
511
511
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
512
512
|
required_arguments = ['fleetId']
|
513
513
|
resource_path = "/fleets/{fleetId}/blocklists"
|
514
514
|
method = "POST"
|
515
515
|
operation_name = "create_blocklist"
|
516
|
-
api_reference_link = "
|
516
|
+
api_reference_link = ""
|
517
517
|
|
518
518
|
# Don't accept unknown kwargs
|
519
519
|
expected_kwargs = [
|
@@ -584,7 +584,7 @@ class JavaManagementServiceClient(object):
|
|
584
584
|
|
585
585
|
def create_drs_file(self, fleet_id, create_drs_file_details, **kwargs):
|
586
586
|
"""
|
587
|
-
Request to perform
|
587
|
+
Request to perform validation of the DRS file and create the file to the Object Storage.
|
588
588
|
|
589
589
|
|
590
590
|
:param str fleet_id: (required)
|
@@ -628,14 +628,14 @@ class JavaManagementServiceClient(object):
|
|
628
628
|
:rtype: :class:`~oci.response.Response`
|
629
629
|
|
630
630
|
:example:
|
631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
631
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/create_drs_file.py.html>`__ to see an example of how to use create_drs_file API.
|
632
632
|
"""
|
633
633
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
634
634
|
required_arguments = ['fleetId']
|
635
635
|
resource_path = "/fleets/{fleetId}/drsFiles"
|
636
636
|
method = "POST"
|
637
637
|
operation_name = "create_drs_file"
|
638
|
-
api_reference_link = "
|
638
|
+
api_reference_link = ""
|
639
639
|
|
640
640
|
# Don't accept unknown kwargs
|
641
641
|
expected_kwargs = [
|
@@ -746,14 +746,14 @@ class JavaManagementServiceClient(object):
|
|
746
746
|
:rtype: :class:`~oci.response.Response`
|
747
747
|
|
748
748
|
:example:
|
749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/create_fleet.py.html>`__ to see an example of how to use create_fleet API.
|
750
750
|
"""
|
751
751
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
752
752
|
required_arguments = []
|
753
753
|
resource_path = "/fleets"
|
754
754
|
method = "POST"
|
755
755
|
operation_name = "create_fleet"
|
756
|
-
api_reference_link = "
|
756
|
+
api_reference_link = ""
|
757
757
|
|
758
758
|
# Don't accept unknown kwargs
|
759
759
|
expected_kwargs = [
|
@@ -808,6 +808,106 @@ class JavaManagementServiceClient(object):
|
|
808
808
|
api_reference_link=api_reference_link,
|
809
809
|
required_arguments=required_arguments)
|
810
810
|
|
811
|
+
def create_jms_plugin(self, create_jms_plugin_details, **kwargs):
|
812
|
+
"""
|
813
|
+
Registers an agent's JmsPlugin, optionally attaching to an existing fleet of the tenancy.
|
814
|
+
JmsPlugins registered fleet-less are created with lifecycle state INACTIVE.
|
815
|
+
For the operation to be authorized, the agent must exist, and the authorized user requires JMS_PLUGIN_CREATE permission for the agent's compartment.
|
816
|
+
|
817
|
+
|
818
|
+
:param oci.jms.models.CreateJmsPluginDetails create_jms_plugin_details: (required)
|
819
|
+
Details for the new JmsPlugin.
|
820
|
+
|
821
|
+
:param str opc_retry_token: (optional)
|
822
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
823
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
824
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
825
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
826
|
+
might be rejected.
|
827
|
+
|
828
|
+
:param str opc_request_id: (optional)
|
829
|
+
The client request ID for tracing.
|
830
|
+
|
831
|
+
:param obj retry_strategy: (optional)
|
832
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
833
|
+
|
834
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
835
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
836
|
+
|
837
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
838
|
+
|
839
|
+
:param bool allow_control_chars: (optional)
|
840
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
841
|
+
By default, the response will not allow control characters in strings
|
842
|
+
|
843
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.JmsPlugin`
|
844
|
+
:rtype: :class:`~oci.response.Response`
|
845
|
+
|
846
|
+
:example:
|
847
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/create_jms_plugin.py.html>`__ to see an example of how to use create_jms_plugin API.
|
848
|
+
"""
|
849
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
850
|
+
required_arguments = []
|
851
|
+
resource_path = "/jmsPlugins"
|
852
|
+
method = "POST"
|
853
|
+
operation_name = "create_jms_plugin"
|
854
|
+
api_reference_link = ""
|
855
|
+
|
856
|
+
# Don't accept unknown kwargs
|
857
|
+
expected_kwargs = [
|
858
|
+
"allow_control_chars",
|
859
|
+
"retry_strategy",
|
860
|
+
"opc_retry_token",
|
861
|
+
"opc_request_id"
|
862
|
+
]
|
863
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
864
|
+
if extra_kwargs:
|
865
|
+
raise ValueError(
|
866
|
+
f"create_jms_plugin got unknown kwargs: {extra_kwargs!r}")
|
867
|
+
|
868
|
+
header_params = {
|
869
|
+
"accept": "application/json",
|
870
|
+
"content-type": "application/json",
|
871
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
872
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
873
|
+
}
|
874
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
875
|
+
|
876
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
877
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
878
|
+
client_retry_strategy=self.retry_strategy
|
879
|
+
)
|
880
|
+
if retry_strategy is None:
|
881
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
882
|
+
|
883
|
+
if retry_strategy:
|
884
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
885
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
886
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
887
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
888
|
+
return retry_strategy.make_retrying_call(
|
889
|
+
self.base_client.call_api,
|
890
|
+
resource_path=resource_path,
|
891
|
+
method=method,
|
892
|
+
header_params=header_params,
|
893
|
+
body=create_jms_plugin_details,
|
894
|
+
response_type="JmsPlugin",
|
895
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
896
|
+
operation_name=operation_name,
|
897
|
+
api_reference_link=api_reference_link,
|
898
|
+
required_arguments=required_arguments)
|
899
|
+
else:
|
900
|
+
return self.base_client.call_api(
|
901
|
+
resource_path=resource_path,
|
902
|
+
method=method,
|
903
|
+
header_params=header_params,
|
904
|
+
body=create_jms_plugin_details,
|
905
|
+
response_type="JmsPlugin",
|
906
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
907
|
+
operation_name=operation_name,
|
908
|
+
api_reference_link=api_reference_link,
|
909
|
+
required_arguments=required_arguments)
|
910
|
+
|
811
911
|
def delete_blocklist(self, fleet_id, blocklist_key, **kwargs):
|
812
912
|
"""
|
813
913
|
Deletes the blocklist record specified by an identifier.
|
@@ -847,14 +947,14 @@ class JavaManagementServiceClient(object):
|
|
847
947
|
:rtype: :class:`~oci.response.Response`
|
848
948
|
|
849
949
|
:example:
|
850
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
950
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_blocklist.py.html>`__ to see an example of how to use delete_blocklist API.
|
851
951
|
"""
|
852
952
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
853
953
|
required_arguments = ['fleetId', 'blocklistKey']
|
854
954
|
resource_path = "/fleets/{fleetId}/blocklists/{blocklistKey}"
|
855
955
|
method = "DELETE"
|
856
956
|
operation_name = "delete_blocklist"
|
857
|
-
api_reference_link = "
|
957
|
+
api_reference_link = ""
|
858
958
|
|
859
959
|
# Don't accept unknown kwargs
|
860
960
|
expected_kwargs = [
|
@@ -958,14 +1058,14 @@ class JavaManagementServiceClient(object):
|
|
958
1058
|
:rtype: :class:`~oci.response.Response`
|
959
1059
|
|
960
1060
|
:example:
|
961
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1061
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_crypto_analysis_result.py.html>`__ to see an example of how to use delete_crypto_analysis_result API.
|
962
1062
|
"""
|
963
1063
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
964
1064
|
required_arguments = ['fleetId', 'cryptoAnalysisResultId']
|
965
1065
|
resource_path = "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}"
|
966
1066
|
method = "DELETE"
|
967
1067
|
operation_name = "delete_crypto_analysis_result"
|
968
|
-
api_reference_link = "
|
1068
|
+
api_reference_link = ""
|
969
1069
|
|
970
1070
|
# Don't accept unknown kwargs
|
971
1071
|
expected_kwargs = [
|
@@ -1069,14 +1169,14 @@ class JavaManagementServiceClient(object):
|
|
1069
1169
|
:rtype: :class:`~oci.response.Response`
|
1070
1170
|
|
1071
1171
|
:example:
|
1072
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_drs_file.py.html>`__ to see an example of how to use delete_drs_file API.
|
1073
1173
|
"""
|
1074
1174
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1075
1175
|
required_arguments = ['fleetId', 'drsFileKey']
|
1076
1176
|
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
1077
1177
|
method = "DELETE"
|
1078
1178
|
operation_name = "delete_drs_file"
|
1079
|
-
api_reference_link = "
|
1179
|
+
api_reference_link = ""
|
1080
1180
|
|
1081
1181
|
# Don't accept unknown kwargs
|
1082
1182
|
expected_kwargs = [
|
@@ -1177,14 +1277,14 @@ class JavaManagementServiceClient(object):
|
|
1177
1277
|
:rtype: :class:`~oci.response.Response`
|
1178
1278
|
|
1179
1279
|
:example:
|
1180
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_fleet.py.html>`__ to see an example of how to use delete_fleet API.
|
1181
1281
|
"""
|
1182
1282
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1183
1283
|
required_arguments = ['fleetId']
|
1184
1284
|
resource_path = "/fleets/{fleetId}"
|
1185
1285
|
method = "DELETE"
|
1186
1286
|
operation_name = "delete_fleet"
|
1187
|
-
api_reference_link = "
|
1287
|
+
api_reference_link = ""
|
1188
1288
|
|
1189
1289
|
# Don't accept unknown kwargs
|
1190
1290
|
expected_kwargs = [
|
@@ -1287,14 +1387,14 @@ class JavaManagementServiceClient(object):
|
|
1287
1387
|
:rtype: :class:`~oci.response.Response`
|
1288
1388
|
|
1289
1389
|
:example:
|
1290
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1390
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_java_migration_analysis_result.py.html>`__ to see an example of how to use delete_java_migration_analysis_result API.
|
1291
1391
|
"""
|
1292
1392
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1293
1393
|
required_arguments = ['fleetId', 'javaMigrationAnalysisResultId']
|
1294
1394
|
resource_path = "/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}"
|
1295
1395
|
method = "DELETE"
|
1296
1396
|
operation_name = "delete_java_migration_analysis_result"
|
1297
|
-
api_reference_link = "
|
1397
|
+
api_reference_link = ""
|
1298
1398
|
|
1299
1399
|
# Don't accept unknown kwargs
|
1300
1400
|
expected_kwargs = [
|
@@ -1359,6 +1459,114 @@ class JavaManagementServiceClient(object):
|
|
1359
1459
|
api_reference_link=api_reference_link,
|
1360
1460
|
required_arguments=required_arguments)
|
1361
1461
|
|
1462
|
+
def delete_jms_plugin(self, jms_plugin_id, **kwargs):
|
1463
|
+
"""
|
1464
|
+
Deletes a JmsPlugin. The JmsPlugin may be visible for some time with state DELETED.
|
1465
|
+
Deleted plugins will not be able to communicate with the JMS service.
|
1466
|
+
|
1467
|
+
|
1468
|
+
:param str jms_plugin_id: (required)
|
1469
|
+
The `OCID`__ of the JmsPlugin.
|
1470
|
+
|
1471
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1472
|
+
|
1473
|
+
:param str opc_request_id: (optional)
|
1474
|
+
The client request ID for tracing.
|
1475
|
+
|
1476
|
+
:param str if_match: (optional)
|
1477
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1478
|
+
for a resource, set the `if-match` parameter to the value of the
|
1479
|
+
ETag from a previous GET or POST response for that resource.
|
1480
|
+
The resource will be updated or deleted only if the ETag you
|
1481
|
+
provide matches the resource's current ETag value.
|
1482
|
+
|
1483
|
+
:param obj retry_strategy: (optional)
|
1484
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1485
|
+
|
1486
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1487
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1488
|
+
|
1489
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1490
|
+
|
1491
|
+
:param bool allow_control_chars: (optional)
|
1492
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1493
|
+
By default, the response will not allow control characters in strings
|
1494
|
+
|
1495
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1496
|
+
:rtype: :class:`~oci.response.Response`
|
1497
|
+
|
1498
|
+
:example:
|
1499
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_jms_plugin.py.html>`__ to see an example of how to use delete_jms_plugin API.
|
1500
|
+
"""
|
1501
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1502
|
+
required_arguments = ['jmsPluginId']
|
1503
|
+
resource_path = "/jmsPlugins/{jmsPluginId}"
|
1504
|
+
method = "DELETE"
|
1505
|
+
operation_name = "delete_jms_plugin"
|
1506
|
+
api_reference_link = ""
|
1507
|
+
|
1508
|
+
# Don't accept unknown kwargs
|
1509
|
+
expected_kwargs = [
|
1510
|
+
"allow_control_chars",
|
1511
|
+
"retry_strategy",
|
1512
|
+
"opc_request_id",
|
1513
|
+
"if_match"
|
1514
|
+
]
|
1515
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1516
|
+
if extra_kwargs:
|
1517
|
+
raise ValueError(
|
1518
|
+
f"delete_jms_plugin got unknown kwargs: {extra_kwargs!r}")
|
1519
|
+
|
1520
|
+
path_params = {
|
1521
|
+
"jmsPluginId": jms_plugin_id
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1525
|
+
|
1526
|
+
for (k, v) in six.iteritems(path_params):
|
1527
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1528
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1529
|
+
|
1530
|
+
header_params = {
|
1531
|
+
"accept": "application/json",
|
1532
|
+
"content-type": "application/json",
|
1533
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1534
|
+
"if-match": kwargs.get("if_match", missing)
|
1535
|
+
}
|
1536
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1537
|
+
|
1538
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1539
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1540
|
+
client_retry_strategy=self.retry_strategy
|
1541
|
+
)
|
1542
|
+
if retry_strategy is None:
|
1543
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1544
|
+
|
1545
|
+
if retry_strategy:
|
1546
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1547
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1548
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1549
|
+
return retry_strategy.make_retrying_call(
|
1550
|
+
self.base_client.call_api,
|
1551
|
+
resource_path=resource_path,
|
1552
|
+
method=method,
|
1553
|
+
path_params=path_params,
|
1554
|
+
header_params=header_params,
|
1555
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1556
|
+
operation_name=operation_name,
|
1557
|
+
api_reference_link=api_reference_link,
|
1558
|
+
required_arguments=required_arguments)
|
1559
|
+
else:
|
1560
|
+
return self.base_client.call_api(
|
1561
|
+
resource_path=resource_path,
|
1562
|
+
method=method,
|
1563
|
+
path_params=path_params,
|
1564
|
+
header_params=header_params,
|
1565
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1566
|
+
operation_name=operation_name,
|
1567
|
+
api_reference_link=api_reference_link,
|
1568
|
+
required_arguments=required_arguments)
|
1569
|
+
|
1362
1570
|
def delete_performance_tuning_analysis_result(self, fleet_id, performance_tuning_analysis_result_id, **kwargs):
|
1363
1571
|
"""
|
1364
1572
|
Deletes only the metadata of the Performance Tuning Analysis result, but the file remains in the object storage.
|
@@ -1398,14 +1606,14 @@ class JavaManagementServiceClient(object):
|
|
1398
1606
|
:rtype: :class:`~oci.response.Response`
|
1399
1607
|
|
1400
1608
|
:example:
|
1401
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1609
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/delete_performance_tuning_analysis_result.py.html>`__ to see an example of how to use delete_performance_tuning_analysis_result API.
|
1402
1610
|
"""
|
1403
1611
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1404
1612
|
required_arguments = ['fleetId', 'performanceTuningAnalysisResultId']
|
1405
1613
|
resource_path = "/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}"
|
1406
1614
|
method = "DELETE"
|
1407
1615
|
operation_name = "delete_performance_tuning_analysis_result"
|
1408
|
-
api_reference_link = "
|
1616
|
+
api_reference_link = ""
|
1409
1617
|
|
1410
1618
|
# Don't accept unknown kwargs
|
1411
1619
|
expected_kwargs = [
|
@@ -1516,14 +1724,14 @@ class JavaManagementServiceClient(object):
|
|
1516
1724
|
:rtype: :class:`~oci.response.Response`
|
1517
1725
|
|
1518
1726
|
:example:
|
1519
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1727
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/disable_drs.py.html>`__ to see an example of how to use disable_drs API.
|
1520
1728
|
"""
|
1521
1729
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1522
1730
|
required_arguments = ['fleetId']
|
1523
1731
|
resource_path = "/fleets/{fleetId}/actions/disableDrs"
|
1524
1732
|
method = "POST"
|
1525
1733
|
operation_name = "disable_drs"
|
1526
|
-
api_reference_link = "
|
1734
|
+
api_reference_link = ""
|
1527
1735
|
|
1528
1736
|
# Don't accept unknown kwargs
|
1529
1737
|
expected_kwargs = [
|
@@ -1638,14 +1846,14 @@ class JavaManagementServiceClient(object):
|
|
1638
1846
|
:rtype: :class:`~oci.response.Response`
|
1639
1847
|
|
1640
1848
|
:example:
|
1641
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1849
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/enable_drs.py.html>`__ to see an example of how to use enable_drs API.
|
1642
1850
|
"""
|
1643
1851
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1644
1852
|
required_arguments = ['fleetId']
|
1645
1853
|
resource_path = "/fleets/{fleetId}/actions/enableDrs"
|
1646
1854
|
method = "POST"
|
1647
1855
|
operation_name = "enable_drs"
|
1648
|
-
api_reference_link = "
|
1856
|
+
api_reference_link = ""
|
1649
1857
|
|
1650
1858
|
# Don't accept unknown kwargs
|
1651
1859
|
expected_kwargs = [
|
@@ -1671,11 +1879,205 @@ class JavaManagementServiceClient(object):
|
|
1671
1879
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1672
1880
|
|
1673
1881
|
header_params = {
|
1674
|
-
"accept": "application/json",
|
1882
|
+
"accept": "application/json",
|
1883
|
+
"content-type": "application/json",
|
1884
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1885
|
+
"if-match": kwargs.get("if_match", missing),
|
1886
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1887
|
+
}
|
1888
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1889
|
+
|
1890
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1891
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1892
|
+
client_retry_strategy=self.retry_strategy
|
1893
|
+
)
|
1894
|
+
if retry_strategy is None:
|
1895
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1896
|
+
|
1897
|
+
if retry_strategy:
|
1898
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1899
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1900
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1901
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1902
|
+
return retry_strategy.make_retrying_call(
|
1903
|
+
self.base_client.call_api,
|
1904
|
+
resource_path=resource_path,
|
1905
|
+
method=method,
|
1906
|
+
path_params=path_params,
|
1907
|
+
header_params=header_params,
|
1908
|
+
body=enable_drs_details,
|
1909
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1910
|
+
operation_name=operation_name,
|
1911
|
+
api_reference_link=api_reference_link,
|
1912
|
+
required_arguments=required_arguments)
|
1913
|
+
else:
|
1914
|
+
return self.base_client.call_api(
|
1915
|
+
resource_path=resource_path,
|
1916
|
+
method=method,
|
1917
|
+
path_params=path_params,
|
1918
|
+
header_params=header_params,
|
1919
|
+
body=enable_drs_details,
|
1920
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1921
|
+
operation_name=operation_name,
|
1922
|
+
api_reference_link=api_reference_link,
|
1923
|
+
required_arguments=required_arguments)
|
1924
|
+
|
1925
|
+
def generate_agent_deploy_script(self, fleet_id, generate_agent_deploy_script_details, **kwargs):
|
1926
|
+
"""
|
1927
|
+
Generates Agent Deploy Script for Fleet using the information provided.
|
1928
|
+
|
1929
|
+
|
1930
|
+
:param str fleet_id: (required)
|
1931
|
+
The `OCID`__ of the Fleet.
|
1932
|
+
|
1933
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1934
|
+
|
1935
|
+
:param oci.jms.models.GenerateAgentDeployScriptDetails generate_agent_deploy_script_details: (required)
|
1936
|
+
Attributes to generate the agent deploy script for a Fleet.
|
1937
|
+
|
1938
|
+
:param str opc_request_id: (optional)
|
1939
|
+
The client request ID for tracing.
|
1940
|
+
|
1941
|
+
:param obj retry_strategy: (optional)
|
1942
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1943
|
+
|
1944
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1945
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1946
|
+
|
1947
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1948
|
+
|
1949
|
+
:param bool allow_control_chars: (optional)
|
1950
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1951
|
+
By default, the response will not allow control characters in strings
|
1952
|
+
|
1953
|
+
:return: A :class:`~oci.response.Response` object with data of type stream
|
1954
|
+
:rtype: :class:`~oci.response.Response`
|
1955
|
+
|
1956
|
+
:example:
|
1957
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/generate_agent_deploy_script.py.html>`__ to see an example of how to use generate_agent_deploy_script API.
|
1958
|
+
"""
|
1959
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1960
|
+
required_arguments = ['fleetId']
|
1961
|
+
resource_path = "/fleets/{fleetId}/actions/generateAgentDeployScript"
|
1962
|
+
method = "POST"
|
1963
|
+
operation_name = "generate_agent_deploy_script"
|
1964
|
+
api_reference_link = ""
|
1965
|
+
|
1966
|
+
# Don't accept unknown kwargs
|
1967
|
+
expected_kwargs = [
|
1968
|
+
"allow_control_chars",
|
1969
|
+
"retry_strategy",
|
1970
|
+
"opc_request_id"
|
1971
|
+
]
|
1972
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1973
|
+
if extra_kwargs:
|
1974
|
+
raise ValueError(
|
1975
|
+
f"generate_agent_deploy_script got unknown kwargs: {extra_kwargs!r}")
|
1976
|
+
|
1977
|
+
path_params = {
|
1978
|
+
"fleetId": fleet_id
|
1979
|
+
}
|
1980
|
+
|
1981
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1982
|
+
|
1983
|
+
for (k, v) in six.iteritems(path_params):
|
1984
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1985
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1986
|
+
|
1987
|
+
header_params = {
|
1988
|
+
"accept": "text/plain",
|
1989
|
+
"content-type": "application/json",
|
1990
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1991
|
+
}
|
1992
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1993
|
+
|
1994
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1995
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1996
|
+
client_retry_strategy=self.retry_strategy
|
1997
|
+
)
|
1998
|
+
if retry_strategy is None:
|
1999
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2000
|
+
|
2001
|
+
if retry_strategy:
|
2002
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2003
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2004
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2005
|
+
return retry_strategy.make_retrying_call(
|
2006
|
+
self.base_client.call_api,
|
2007
|
+
resource_path=resource_path,
|
2008
|
+
method=method,
|
2009
|
+
path_params=path_params,
|
2010
|
+
header_params=header_params,
|
2011
|
+
body=generate_agent_deploy_script_details,
|
2012
|
+
response_type="stream",
|
2013
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2014
|
+
operation_name=operation_name,
|
2015
|
+
api_reference_link=api_reference_link,
|
2016
|
+
required_arguments=required_arguments)
|
2017
|
+
else:
|
2018
|
+
return self.base_client.call_api(
|
2019
|
+
resource_path=resource_path,
|
2020
|
+
method=method,
|
2021
|
+
path_params=path_params,
|
2022
|
+
header_params=header_params,
|
2023
|
+
body=generate_agent_deploy_script_details,
|
2024
|
+
response_type="stream",
|
2025
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2026
|
+
operation_name=operation_name,
|
2027
|
+
api_reference_link=api_reference_link,
|
2028
|
+
required_arguments=required_arguments)
|
2029
|
+
|
2030
|
+
def generate_agent_installer_configuration(self, generate_agent_installer_configuration_details, **kwargs):
|
2031
|
+
"""
|
2032
|
+
Generates the agent installer configuration using the information provided.
|
2033
|
+
|
2034
|
+
|
2035
|
+
:param oci.jms.models.GenerateAgentInstallerConfigurationDetails generate_agent_installer_configuration_details: (required)
|
2036
|
+
Details that are used to generate the installer configuration for a fleet.
|
2037
|
+
|
2038
|
+
:param str opc_request_id: (optional)
|
2039
|
+
The client request ID for tracing.
|
2040
|
+
|
2041
|
+
:param obj retry_strategy: (optional)
|
2042
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2043
|
+
|
2044
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2045
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2046
|
+
|
2047
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2048
|
+
|
2049
|
+
:param bool allow_control_chars: (optional)
|
2050
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2051
|
+
By default, the response will not allow control characters in strings
|
2052
|
+
|
2053
|
+
:return: A :class:`~oci.response.Response` object with data of type stream
|
2054
|
+
:rtype: :class:`~oci.response.Response`
|
2055
|
+
|
2056
|
+
:example:
|
2057
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/generate_agent_installer_configuration.py.html>`__ to see an example of how to use generate_agent_installer_configuration API.
|
2058
|
+
"""
|
2059
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2060
|
+
required_arguments = []
|
2061
|
+
resource_path = "/agentInstallers/actions/generateAgentInstallerConfiguration"
|
2062
|
+
method = "POST"
|
2063
|
+
operation_name = "generate_agent_installer_configuration"
|
2064
|
+
api_reference_link = ""
|
2065
|
+
|
2066
|
+
# Don't accept unknown kwargs
|
2067
|
+
expected_kwargs = [
|
2068
|
+
"allow_control_chars",
|
2069
|
+
"retry_strategy",
|
2070
|
+
"opc_request_id"
|
2071
|
+
]
|
2072
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2073
|
+
if extra_kwargs:
|
2074
|
+
raise ValueError(
|
2075
|
+
f"generate_agent_installer_configuration got unknown kwargs: {extra_kwargs!r}")
|
2076
|
+
|
2077
|
+
header_params = {
|
2078
|
+
"accept": "text/plain",
|
1675
2079
|
"content-type": "application/json",
|
1676
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1677
|
-
"if-match": kwargs.get("if_match", missing),
|
1678
|
-
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2080
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1679
2081
|
}
|
1680
2082
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1681
2083
|
|
@@ -1688,16 +2090,15 @@ class JavaManagementServiceClient(object):
|
|
1688
2090
|
|
1689
2091
|
if retry_strategy:
|
1690
2092
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1691
|
-
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1692
2093
|
self.base_client.add_opc_client_retries_header(header_params)
|
1693
2094
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1694
2095
|
return retry_strategy.make_retrying_call(
|
1695
2096
|
self.base_client.call_api,
|
1696
2097
|
resource_path=resource_path,
|
1697
2098
|
method=method,
|
1698
|
-
path_params=path_params,
|
1699
2099
|
header_params=header_params,
|
1700
|
-
body=
|
2100
|
+
body=generate_agent_installer_configuration_details,
|
2101
|
+
response_type="stream",
|
1701
2102
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1702
2103
|
operation_name=operation_name,
|
1703
2104
|
api_reference_link=api_reference_link,
|
@@ -1706,17 +2107,17 @@ class JavaManagementServiceClient(object):
|
|
1706
2107
|
return self.base_client.call_api(
|
1707
2108
|
resource_path=resource_path,
|
1708
2109
|
method=method,
|
1709
|
-
path_params=path_params,
|
1710
2110
|
header_params=header_params,
|
1711
|
-
body=
|
2111
|
+
body=generate_agent_installer_configuration_details,
|
2112
|
+
response_type="stream",
|
1712
2113
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1713
2114
|
operation_name=operation_name,
|
1714
2115
|
api_reference_link=api_reference_link,
|
1715
2116
|
required_arguments=required_arguments)
|
1716
2117
|
|
1717
|
-
def
|
2118
|
+
def generate_load_pipeline_script(self, fleet_id, generate_load_pipeline_script_details, **kwargs):
|
1718
2119
|
"""
|
1719
|
-
Generates
|
2120
|
+
Generates Load Pipeline Script
|
1720
2121
|
|
1721
2122
|
|
1722
2123
|
:param str fleet_id: (required)
|
@@ -1724,8 +2125,8 @@ class JavaManagementServiceClient(object):
|
|
1724
2125
|
|
1725
2126
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1726
2127
|
|
1727
|
-
:param oci.jms.models.
|
1728
|
-
Attributes to generate the
|
2128
|
+
:param oci.jms.models.GenerateLoadPipelineScriptDetails generate_load_pipeline_script_details: (required)
|
2129
|
+
Attributes to generate the load pipeline script.
|
1729
2130
|
|
1730
2131
|
:param str opc_request_id: (optional)
|
1731
2132
|
The client request ID for tracing.
|
@@ -1746,14 +2147,14 @@ class JavaManagementServiceClient(object):
|
|
1746
2147
|
:rtype: :class:`~oci.response.Response`
|
1747
2148
|
|
1748
2149
|
:example:
|
1749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2150
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/generate_load_pipeline_script.py.html>`__ to see an example of how to use generate_load_pipeline_script API.
|
1750
2151
|
"""
|
1751
2152
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1752
2153
|
required_arguments = ['fleetId']
|
1753
|
-
resource_path = "/fleets/{fleetId}/actions/
|
2154
|
+
resource_path = "/fleets/{fleetId}/actions/generateLoadPipelineScript"
|
1754
2155
|
method = "POST"
|
1755
|
-
operation_name = "
|
1756
|
-
api_reference_link = "
|
2156
|
+
operation_name = "generate_load_pipeline_script"
|
2157
|
+
api_reference_link = ""
|
1757
2158
|
|
1758
2159
|
# Don't accept unknown kwargs
|
1759
2160
|
expected_kwargs = [
|
@@ -1764,7 +2165,7 @@ class JavaManagementServiceClient(object):
|
|
1764
2165
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1765
2166
|
if extra_kwargs:
|
1766
2167
|
raise ValueError(
|
1767
|
-
f"
|
2168
|
+
f"generate_load_pipeline_script got unknown kwargs: {extra_kwargs!r}")
|
1768
2169
|
|
1769
2170
|
path_params = {
|
1770
2171
|
"fleetId": fleet_id
|
@@ -1800,7 +2201,7 @@ class JavaManagementServiceClient(object):
|
|
1800
2201
|
method=method,
|
1801
2202
|
path_params=path_params,
|
1802
2203
|
header_params=header_params,
|
1803
|
-
body=
|
2204
|
+
body=generate_load_pipeline_script_details,
|
1804
2205
|
response_type="stream",
|
1805
2206
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1806
2207
|
operation_name=operation_name,
|
@@ -1812,7 +2213,7 @@ class JavaManagementServiceClient(object):
|
|
1812
2213
|
method=method,
|
1813
2214
|
path_params=path_params,
|
1814
2215
|
header_params=header_params,
|
1815
|
-
body=
|
2216
|
+
body=generate_load_pipeline_script_details,
|
1816
2217
|
response_type="stream",
|
1817
2218
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1818
2219
|
operation_name=operation_name,
|
@@ -1851,14 +2252,14 @@ class JavaManagementServiceClient(object):
|
|
1851
2252
|
:rtype: :class:`~oci.response.Response`
|
1852
2253
|
|
1853
2254
|
:example:
|
1854
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_crypto_analysis_result.py.html>`__ to see an example of how to use get_crypto_analysis_result API.
|
1855
2256
|
"""
|
1856
2257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1857
2258
|
required_arguments = ['fleetId', 'cryptoAnalysisResultId']
|
1858
2259
|
resource_path = "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}"
|
1859
2260
|
method = "GET"
|
1860
2261
|
operation_name = "get_crypto_analysis_result"
|
1861
|
-
api_reference_link = "
|
2262
|
+
api_reference_link = ""
|
1862
2263
|
|
1863
2264
|
# Don't accept unknown kwargs
|
1864
2265
|
expected_kwargs = [
|
@@ -1958,14 +2359,14 @@ class JavaManagementServiceClient(object):
|
|
1958
2359
|
:rtype: :class:`~oci.response.Response`
|
1959
2360
|
|
1960
2361
|
:example:
|
1961
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2362
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_drs_file.py.html>`__ to see an example of how to use get_drs_file API.
|
1962
2363
|
"""
|
1963
2364
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1964
2365
|
required_arguments = ['fleetId', 'drsFileKey']
|
1965
2366
|
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
1966
2367
|
method = "GET"
|
1967
2368
|
operation_name = "get_drs_file"
|
1968
|
-
api_reference_link = "
|
2369
|
+
api_reference_link = ""
|
1969
2370
|
|
1970
2371
|
# Don't accept unknown kwargs
|
1971
2372
|
expected_kwargs = [
|
@@ -2040,7 +2441,7 @@ class JavaManagementServiceClient(object):
|
|
2040
2441
|
|
2041
2442
|
def get_export_setting(self, fleet_id, **kwargs):
|
2042
2443
|
"""
|
2043
|
-
Returns export setting for the specified
|
2444
|
+
Returns export setting for the specified fleet.
|
2044
2445
|
|
2045
2446
|
|
2046
2447
|
:param str fleet_id: (required)
|
@@ -2067,14 +2468,14 @@ class JavaManagementServiceClient(object):
|
|
2067
2468
|
:rtype: :class:`~oci.response.Response`
|
2068
2469
|
|
2069
2470
|
:example:
|
2070
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_export_setting.py.html>`__ to see an example of how to use get_export_setting API.
|
2071
2472
|
"""
|
2072
2473
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2073
2474
|
required_arguments = ['fleetId']
|
2074
2475
|
resource_path = "/fleets/{fleetId}/exportSetting"
|
2075
2476
|
method = "GET"
|
2076
2477
|
operation_name = "get_export_setting"
|
2077
|
-
api_reference_link = "
|
2478
|
+
api_reference_link = ""
|
2078
2479
|
|
2079
2480
|
# Don't accept unknown kwargs
|
2080
2481
|
expected_kwargs = [
|
@@ -2140,7 +2541,7 @@ class JavaManagementServiceClient(object):
|
|
2140
2541
|
|
2141
2542
|
def get_export_status(self, fleet_id, **kwargs):
|
2142
2543
|
"""
|
2143
|
-
Returns last export status for the specified
|
2544
|
+
Returns last export status for the specified fleet.
|
2144
2545
|
|
2145
2546
|
|
2146
2547
|
:param str fleet_id: (required)
|
@@ -2167,14 +2568,14 @@ class JavaManagementServiceClient(object):
|
|
2167
2568
|
:rtype: :class:`~oci.response.Response`
|
2168
2569
|
|
2169
2570
|
:example:
|
2170
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2571
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_export_status.py.html>`__ to see an example of how to use get_export_status API.
|
2171
2572
|
"""
|
2172
2573
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2173
2574
|
required_arguments = ['fleetId']
|
2174
2575
|
resource_path = "/fleets/{fleetId}/exportStatus"
|
2175
2576
|
method = "GET"
|
2176
2577
|
operation_name = "get_export_status"
|
2177
|
-
api_reference_link = "
|
2578
|
+
api_reference_link = ""
|
2178
2579
|
|
2179
2580
|
# Don't accept unknown kwargs
|
2180
2581
|
expected_kwargs = [
|
@@ -2267,14 +2668,14 @@ class JavaManagementServiceClient(object):
|
|
2267
2668
|
:rtype: :class:`~oci.response.Response`
|
2268
2669
|
|
2269
2670
|
:example:
|
2270
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2671
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_fleet.py.html>`__ to see an example of how to use get_fleet API.
|
2271
2672
|
"""
|
2272
2673
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2273
2674
|
required_arguments = ['fleetId']
|
2274
2675
|
resource_path = "/fleets/{fleetId}"
|
2275
2676
|
method = "GET"
|
2276
2677
|
operation_name = "get_fleet"
|
2277
|
-
api_reference_link = "
|
2678
|
+
api_reference_link = ""
|
2278
2679
|
|
2279
2680
|
# Don't accept unknown kwargs
|
2280
2681
|
expected_kwargs = [
|
@@ -2374,14 +2775,14 @@ class JavaManagementServiceClient(object):
|
|
2374
2775
|
:rtype: :class:`~oci.response.Response`
|
2375
2776
|
|
2376
2777
|
:example:
|
2377
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2778
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_fleet_advanced_feature_configuration.py.html>`__ to see an example of how to use get_fleet_advanced_feature_configuration API.
|
2378
2779
|
"""
|
2379
2780
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2380
2781
|
required_arguments = ['fleetId']
|
2381
2782
|
resource_path = "/fleets/{fleetId}/advancedFeatureConfiguration"
|
2382
2783
|
method = "GET"
|
2383
2784
|
operation_name = "get_fleet_advanced_feature_configuration"
|
2384
|
-
api_reference_link = "
|
2785
|
+
api_reference_link = ""
|
2385
2786
|
|
2386
2787
|
# Don't accept unknown kwargs
|
2387
2788
|
expected_kwargs = [
|
@@ -2476,14 +2877,14 @@ class JavaManagementServiceClient(object):
|
|
2476
2877
|
:rtype: :class:`~oci.response.Response`
|
2477
2878
|
|
2478
2879
|
:example:
|
2479
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2880
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_fleet_agent_configuration.py.html>`__ to see an example of how to use get_fleet_agent_configuration API.
|
2480
2881
|
"""
|
2481
2882
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2482
2883
|
required_arguments = ['fleetId']
|
2483
2884
|
resource_path = "/fleets/{fleetId}/agentConfiguration"
|
2484
2885
|
method = "GET"
|
2485
2886
|
operation_name = "get_fleet_agent_configuration"
|
2486
|
-
api_reference_link = "
|
2887
|
+
api_reference_link = ""
|
2487
2888
|
|
2488
2889
|
# Don't accept unknown kwargs
|
2489
2890
|
expected_kwargs = [
|
@@ -2574,14 +2975,14 @@ class JavaManagementServiceClient(object):
|
|
2574
2975
|
:rtype: :class:`~oci.response.Response`
|
2575
2976
|
|
2576
2977
|
:example:
|
2577
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2978
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_java_family.py.html>`__ to see an example of how to use get_java_family API.
|
2578
2979
|
"""
|
2579
2980
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2580
2981
|
required_arguments = ['familyVersion']
|
2581
2982
|
resource_path = "/javaFamilies/{familyVersion}"
|
2582
2983
|
method = "GET"
|
2583
2984
|
operation_name = "get_java_family"
|
2584
|
-
api_reference_link = "
|
2985
|
+
api_reference_link = ""
|
2585
2986
|
|
2586
2987
|
# Don't accept unknown kwargs
|
2587
2988
|
expected_kwargs = [
|
@@ -2677,14 +3078,14 @@ class JavaManagementServiceClient(object):
|
|
2677
3078
|
:rtype: :class:`~oci.response.Response`
|
2678
3079
|
|
2679
3080
|
:example:
|
2680
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3081
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_java_migration_analysis_result.py.html>`__ to see an example of how to use get_java_migration_analysis_result API.
|
2681
3082
|
"""
|
2682
3083
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2683
3084
|
required_arguments = ['fleetId', 'javaMigrationAnalysisResultId']
|
2684
3085
|
resource_path = "/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}"
|
2685
3086
|
method = "GET"
|
2686
3087
|
operation_name = "get_java_migration_analysis_result"
|
2687
|
-
api_reference_link = "
|
3088
|
+
api_reference_link = ""
|
2688
3089
|
|
2689
3090
|
# Don't accept unknown kwargs
|
2690
3091
|
expected_kwargs = [
|
@@ -2776,14 +3177,14 @@ class JavaManagementServiceClient(object):
|
|
2776
3177
|
:rtype: :class:`~oci.response.Response`
|
2777
3178
|
|
2778
3179
|
:example:
|
2779
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3180
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_java_release.py.html>`__ to see an example of how to use get_java_release API.
|
2780
3181
|
"""
|
2781
3182
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2782
3183
|
required_arguments = ['releaseVersion']
|
2783
3184
|
resource_path = "/javaReleases/{releaseVersion}"
|
2784
3185
|
method = "GET"
|
2785
3186
|
operation_name = "get_java_release"
|
2786
|
-
api_reference_link = "
|
3187
|
+
api_reference_link = ""
|
2787
3188
|
|
2788
3189
|
# Don't accept unknown kwargs
|
2789
3190
|
expected_kwargs = [
|
@@ -2847,6 +3248,106 @@ class JavaManagementServiceClient(object):
|
|
2847
3248
|
api_reference_link=api_reference_link,
|
2848
3249
|
required_arguments=required_arguments)
|
2849
3250
|
|
3251
|
+
def get_jms_plugin(self, jms_plugin_id, **kwargs):
|
3252
|
+
"""
|
3253
|
+
Returns the JmsPlugin.
|
3254
|
+
|
3255
|
+
|
3256
|
+
:param str jms_plugin_id: (required)
|
3257
|
+
The `OCID`__ of the JmsPlugin.
|
3258
|
+
|
3259
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
3260
|
+
|
3261
|
+
:param str opc_request_id: (optional)
|
3262
|
+
The client request ID for tracing.
|
3263
|
+
|
3264
|
+
:param obj retry_strategy: (optional)
|
3265
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3266
|
+
|
3267
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
3268
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3269
|
+
|
3270
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3271
|
+
|
3272
|
+
:param bool allow_control_chars: (optional)
|
3273
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3274
|
+
By default, the response will not allow control characters in strings
|
3275
|
+
|
3276
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.JmsPlugin`
|
3277
|
+
:rtype: :class:`~oci.response.Response`
|
3278
|
+
|
3279
|
+
:example:
|
3280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_jms_plugin.py.html>`__ to see an example of how to use get_jms_plugin API.
|
3281
|
+
"""
|
3282
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3283
|
+
required_arguments = ['jmsPluginId']
|
3284
|
+
resource_path = "/jmsPlugins/{jmsPluginId}"
|
3285
|
+
method = "GET"
|
3286
|
+
operation_name = "get_jms_plugin"
|
3287
|
+
api_reference_link = ""
|
3288
|
+
|
3289
|
+
# Don't accept unknown kwargs
|
3290
|
+
expected_kwargs = [
|
3291
|
+
"allow_control_chars",
|
3292
|
+
"retry_strategy",
|
3293
|
+
"opc_request_id"
|
3294
|
+
]
|
3295
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3296
|
+
if extra_kwargs:
|
3297
|
+
raise ValueError(
|
3298
|
+
f"get_jms_plugin got unknown kwargs: {extra_kwargs!r}")
|
3299
|
+
|
3300
|
+
path_params = {
|
3301
|
+
"jmsPluginId": jms_plugin_id
|
3302
|
+
}
|
3303
|
+
|
3304
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3305
|
+
|
3306
|
+
for (k, v) in six.iteritems(path_params):
|
3307
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3308
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3309
|
+
|
3310
|
+
header_params = {
|
3311
|
+
"accept": "application/json",
|
3312
|
+
"content-type": "application/json",
|
3313
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3314
|
+
}
|
3315
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3316
|
+
|
3317
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3318
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3319
|
+
client_retry_strategy=self.retry_strategy
|
3320
|
+
)
|
3321
|
+
if retry_strategy is None:
|
3322
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3323
|
+
|
3324
|
+
if retry_strategy:
|
3325
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3326
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3327
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3328
|
+
return retry_strategy.make_retrying_call(
|
3329
|
+
self.base_client.call_api,
|
3330
|
+
resource_path=resource_path,
|
3331
|
+
method=method,
|
3332
|
+
path_params=path_params,
|
3333
|
+
header_params=header_params,
|
3334
|
+
response_type="JmsPlugin",
|
3335
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3336
|
+
operation_name=operation_name,
|
3337
|
+
api_reference_link=api_reference_link,
|
3338
|
+
required_arguments=required_arguments)
|
3339
|
+
else:
|
3340
|
+
return self.base_client.call_api(
|
3341
|
+
resource_path=resource_path,
|
3342
|
+
method=method,
|
3343
|
+
path_params=path_params,
|
3344
|
+
header_params=header_params,
|
3345
|
+
response_type="JmsPlugin",
|
3346
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3347
|
+
operation_name=operation_name,
|
3348
|
+
api_reference_link=api_reference_link,
|
3349
|
+
required_arguments=required_arguments)
|
3350
|
+
|
2850
3351
|
def get_performance_tuning_analysis_result(self, fleet_id, performance_tuning_analysis_result_id, **kwargs):
|
2851
3352
|
"""
|
2852
3353
|
Retrieve metadata of the Performance Tuning Analysis result.
|
@@ -2879,14 +3380,14 @@ class JavaManagementServiceClient(object):
|
|
2879
3380
|
:rtype: :class:`~oci.response.Response`
|
2880
3381
|
|
2881
3382
|
:example:
|
2882
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3383
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_performance_tuning_analysis_result.py.html>`__ to see an example of how to use get_performance_tuning_analysis_result API.
|
2883
3384
|
"""
|
2884
3385
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2885
3386
|
required_arguments = ['fleetId', 'performanceTuningAnalysisResultId']
|
2886
3387
|
resource_path = "/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}"
|
2887
3388
|
method = "GET"
|
2888
3389
|
operation_name = "get_performance_tuning_analysis_result"
|
2889
|
-
api_reference_link = "
|
3390
|
+
api_reference_link = ""
|
2890
3391
|
|
2891
3392
|
# Don't accept unknown kwargs
|
2892
3393
|
expected_kwargs = [
|
@@ -2980,14 +3481,14 @@ class JavaManagementServiceClient(object):
|
|
2980
3481
|
:rtype: :class:`~oci.response.Response`
|
2981
3482
|
|
2982
3483
|
:example:
|
2983
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3484
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2984
3485
|
"""
|
2985
3486
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2986
3487
|
required_arguments = ['workRequestId']
|
2987
3488
|
resource_path = "/workRequests/{workRequestId}"
|
2988
3489
|
method = "GET"
|
2989
3490
|
operation_name = "get_work_request"
|
2990
|
-
api_reference_link = "
|
3491
|
+
api_reference_link = ""
|
2991
3492
|
|
2992
3493
|
# Don't accept unknown kwargs
|
2993
3494
|
expected_kwargs = [
|
@@ -3032,9 +3533,178 @@ class JavaManagementServiceClient(object):
|
|
3032
3533
|
self.base_client.call_api,
|
3033
3534
|
resource_path=resource_path,
|
3034
3535
|
method=method,
|
3035
|
-
path_params=path_params,
|
3536
|
+
path_params=path_params,
|
3537
|
+
header_params=header_params,
|
3538
|
+
response_type="WorkRequest",
|
3539
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3540
|
+
operation_name=operation_name,
|
3541
|
+
api_reference_link=api_reference_link,
|
3542
|
+
required_arguments=required_arguments)
|
3543
|
+
else:
|
3544
|
+
return self.base_client.call_api(
|
3545
|
+
resource_path=resource_path,
|
3546
|
+
method=method,
|
3547
|
+
path_params=path_params,
|
3548
|
+
header_params=header_params,
|
3549
|
+
response_type="WorkRequest",
|
3550
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3551
|
+
operation_name=operation_name,
|
3552
|
+
api_reference_link=api_reference_link,
|
3553
|
+
required_arguments=required_arguments)
|
3554
|
+
|
3555
|
+
def list_agent_installers(self, **kwargs):
|
3556
|
+
"""
|
3557
|
+
Returns a list of the agent installer information.
|
3558
|
+
|
3559
|
+
|
3560
|
+
:param str compartment_id: (optional)
|
3561
|
+
The `OCID`__ of the compartment in which to list resources.
|
3562
|
+
|
3563
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
3564
|
+
|
3565
|
+
:param str fleet_id: (optional)
|
3566
|
+
The ID of the Fleet.
|
3567
|
+
|
3568
|
+
:param str platform_architecture: (optional)
|
3569
|
+
The platform architecture for the agent installer.
|
3570
|
+
|
3571
|
+
Allowed values are: "X86_64", "X86", "AARCH64"
|
3572
|
+
|
3573
|
+
:param str os_family: (optional)
|
3574
|
+
The OS family for the agent installer.
|
3575
|
+
|
3576
|
+
Allowed values are: "LINUX", "WINDOWS", "MACOS", "UNKNOWN"
|
3577
|
+
|
3578
|
+
:param int limit: (optional)
|
3579
|
+
The maximum number of items to return.
|
3580
|
+
|
3581
|
+
:param str page: (optional)
|
3582
|
+
The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
|
3583
|
+
|
3584
|
+
:param str sort_order: (optional)
|
3585
|
+
The sort order, either 'asc' or 'desc'.
|
3586
|
+
|
3587
|
+
Allowed values are: "ASC", "DESC"
|
3588
|
+
|
3589
|
+
:param str sort_by: (optional)
|
3590
|
+
The field to sort the agent installer. Only one sort order can be provided.
|
3591
|
+
Default order for _agentInstallerId_, _osFamily_, _platformArchitecture_ is **ascending**.
|
3592
|
+
If no value is specified _agentInstallerId_ is default.
|
3593
|
+
|
3594
|
+
Allowed values are: "agentInstallerId", "osFamily", "platformArchitecture"
|
3595
|
+
|
3596
|
+
:param str opc_request_id: (optional)
|
3597
|
+
The client request ID for tracing.
|
3598
|
+
|
3599
|
+
:param obj retry_strategy: (optional)
|
3600
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3601
|
+
|
3602
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
3603
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3604
|
+
|
3605
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3606
|
+
|
3607
|
+
:param bool allow_control_chars: (optional)
|
3608
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3609
|
+
By default, the response will not allow control characters in strings
|
3610
|
+
|
3611
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.AgentInstallerCollection`
|
3612
|
+
:rtype: :class:`~oci.response.Response`
|
3613
|
+
|
3614
|
+
:example:
|
3615
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_agent_installers.py.html>`__ to see an example of how to use list_agent_installers API.
|
3616
|
+
"""
|
3617
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3618
|
+
required_arguments = []
|
3619
|
+
resource_path = "/agentInstallers"
|
3620
|
+
method = "GET"
|
3621
|
+
operation_name = "list_agent_installers"
|
3622
|
+
api_reference_link = ""
|
3623
|
+
|
3624
|
+
# Don't accept unknown kwargs
|
3625
|
+
expected_kwargs = [
|
3626
|
+
"allow_control_chars",
|
3627
|
+
"retry_strategy",
|
3628
|
+
"compartment_id",
|
3629
|
+
"fleet_id",
|
3630
|
+
"platform_architecture",
|
3631
|
+
"os_family",
|
3632
|
+
"limit",
|
3633
|
+
"page",
|
3634
|
+
"sort_order",
|
3635
|
+
"sort_by",
|
3636
|
+
"opc_request_id"
|
3637
|
+
]
|
3638
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3639
|
+
if extra_kwargs:
|
3640
|
+
raise ValueError(
|
3641
|
+
f"list_agent_installers got unknown kwargs: {extra_kwargs!r}")
|
3642
|
+
|
3643
|
+
if 'platform_architecture' in kwargs:
|
3644
|
+
platform_architecture_allowed_values = ["X86_64", "X86", "AARCH64"]
|
3645
|
+
if kwargs['platform_architecture'] not in platform_architecture_allowed_values:
|
3646
|
+
raise ValueError(
|
3647
|
+
f"Invalid value for `platform_architecture`, must be one of { platform_architecture_allowed_values }"
|
3648
|
+
)
|
3649
|
+
|
3650
|
+
if 'os_family' in kwargs:
|
3651
|
+
os_family_allowed_values = ["LINUX", "WINDOWS", "MACOS", "UNKNOWN"]
|
3652
|
+
if kwargs['os_family'] not in os_family_allowed_values:
|
3653
|
+
raise ValueError(
|
3654
|
+
f"Invalid value for `os_family`, must be one of { os_family_allowed_values }"
|
3655
|
+
)
|
3656
|
+
|
3657
|
+
if 'sort_order' in kwargs:
|
3658
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
3659
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
3660
|
+
raise ValueError(
|
3661
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
3662
|
+
)
|
3663
|
+
|
3664
|
+
if 'sort_by' in kwargs:
|
3665
|
+
sort_by_allowed_values = ["agentInstallerId", "osFamily", "platformArchitecture"]
|
3666
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
3667
|
+
raise ValueError(
|
3668
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
3669
|
+
)
|
3670
|
+
|
3671
|
+
query_params = {
|
3672
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
3673
|
+
"fleetId": kwargs.get("fleet_id", missing),
|
3674
|
+
"platformArchitecture": kwargs.get("platform_architecture", missing),
|
3675
|
+
"osFamily": kwargs.get("os_family", missing),
|
3676
|
+
"limit": kwargs.get("limit", missing),
|
3677
|
+
"page": kwargs.get("page", missing),
|
3678
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
3679
|
+
"sortBy": kwargs.get("sort_by", missing)
|
3680
|
+
}
|
3681
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
3682
|
+
|
3683
|
+
header_params = {
|
3684
|
+
"accept": "application/json",
|
3685
|
+
"content-type": "application/json",
|
3686
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3687
|
+
}
|
3688
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3689
|
+
|
3690
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3691
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3692
|
+
client_retry_strategy=self.retry_strategy
|
3693
|
+
)
|
3694
|
+
if retry_strategy is None:
|
3695
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3696
|
+
|
3697
|
+
if retry_strategy:
|
3698
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3699
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3700
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3701
|
+
return retry_strategy.make_retrying_call(
|
3702
|
+
self.base_client.call_api,
|
3703
|
+
resource_path=resource_path,
|
3704
|
+
method=method,
|
3705
|
+
query_params=query_params,
|
3036
3706
|
header_params=header_params,
|
3037
|
-
response_type="
|
3707
|
+
response_type="AgentInstallerCollection",
|
3038
3708
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3039
3709
|
operation_name=operation_name,
|
3040
3710
|
api_reference_link=api_reference_link,
|
@@ -3043,9 +3713,9 @@ class JavaManagementServiceClient(object):
|
|
3043
3713
|
return self.base_client.call_api(
|
3044
3714
|
resource_path=resource_path,
|
3045
3715
|
method=method,
|
3046
|
-
|
3716
|
+
query_params=query_params,
|
3047
3717
|
header_params=header_params,
|
3048
|
-
response_type="
|
3718
|
+
response_type="AgentInstallerCollection",
|
3049
3719
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3050
3720
|
operation_name=operation_name,
|
3051
3721
|
api_reference_link=api_reference_link,
|
@@ -3105,14 +3775,14 @@ class JavaManagementServiceClient(object):
|
|
3105
3775
|
:rtype: :class:`~oci.response.Response`
|
3106
3776
|
|
3107
3777
|
:example:
|
3108
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3778
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_announcements.py.html>`__ to see an example of how to use list_announcements API.
|
3109
3779
|
"""
|
3110
3780
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3111
3781
|
required_arguments = []
|
3112
3782
|
resource_path = "/announcements"
|
3113
3783
|
method = "GET"
|
3114
3784
|
operation_name = "list_announcements"
|
3115
|
-
api_reference_link = "
|
3785
|
+
api_reference_link = ""
|
3116
3786
|
|
3117
3787
|
# Don't accept unknown kwargs
|
3118
3788
|
expected_kwargs = [
|
@@ -3253,14 +3923,14 @@ class JavaManagementServiceClient(object):
|
|
3253
3923
|
:rtype: :class:`~oci.response.Response`
|
3254
3924
|
|
3255
3925
|
:example:
|
3256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_blocklists.py.html>`__ to see an example of how to use list_blocklists API.
|
3257
3927
|
"""
|
3258
3928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3259
3929
|
required_arguments = ['fleetId']
|
3260
3930
|
resource_path = "/fleets/{fleetId}/blocklists"
|
3261
3931
|
method = "GET"
|
3262
3932
|
operation_name = "list_blocklists"
|
3263
|
-
api_reference_link = "
|
3933
|
+
api_reference_link = ""
|
3264
3934
|
|
3265
3935
|
# Don't accept unknown kwargs
|
3266
3936
|
expected_kwargs = [
|
@@ -3381,6 +4051,33 @@ class JavaManagementServiceClient(object):
|
|
3381
4051
|
:param str managed_instance_id: (optional)
|
3382
4052
|
The Fleet-unique identifier of the related managed instance.
|
3383
4053
|
|
4054
|
+
:param str host_name: (optional)
|
4055
|
+
The host `OCID`__ of the managed instance.
|
4056
|
+
|
4057
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4058
|
+
|
4059
|
+
:param int non_compliant_finding_count: (optional)
|
4060
|
+
Non Compliant Finding Count of CryptoAnalysis Report.
|
4061
|
+
|
4062
|
+
:param int non_compliant_finding_count_greater_than: (optional)
|
4063
|
+
Non Compliant Finding Count of CryptoAnalysis Report.
|
4064
|
+
|
4065
|
+
:param int finding_count: (optional)
|
4066
|
+
FindingCount of CryptoAnalysis Report.
|
4067
|
+
|
4068
|
+
:param int finding_count_greater_than: (optional)
|
4069
|
+
FindingCount of CryptoAnalysis Report.
|
4070
|
+
|
4071
|
+
:param datetime time_start: (optional)
|
4072
|
+
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4073
|
+
|
4074
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4075
|
+
|
4076
|
+
:param datetime time_end: (optional)
|
4077
|
+
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4078
|
+
|
4079
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4080
|
+
|
3384
4081
|
:param int limit: (optional)
|
3385
4082
|
The maximum number of items to return.
|
3386
4083
|
|
@@ -3403,16 +4100,6 @@ class JavaManagementServiceClient(object):
|
|
3403
4100
|
:param str opc_request_id: (optional)
|
3404
4101
|
The client request ID for tracing.
|
3405
4102
|
|
3406
|
-
:param datetime time_start: (optional)
|
3407
|
-
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
3408
|
-
|
3409
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
3410
|
-
|
3411
|
-
:param datetime time_end: (optional)
|
3412
|
-
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
3413
|
-
|
3414
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
3415
|
-
|
3416
4103
|
:param obj retry_strategy: (optional)
|
3417
4104
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3418
4105
|
|
@@ -3429,14 +4116,14 @@ class JavaManagementServiceClient(object):
|
|
3429
4116
|
:rtype: :class:`~oci.response.Response`
|
3430
4117
|
|
3431
4118
|
:example:
|
3432
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4119
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_crypto_analysis_results.py.html>`__ to see an example of how to use list_crypto_analysis_results API.
|
3433
4120
|
"""
|
3434
4121
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3435
4122
|
required_arguments = ['fleetId']
|
3436
4123
|
resource_path = "/fleets/{fleetId}/cryptoAnalysisResults"
|
3437
4124
|
method = "GET"
|
3438
4125
|
operation_name = "list_crypto_analysis_results"
|
3439
|
-
api_reference_link = "
|
4126
|
+
api_reference_link = ""
|
3440
4127
|
|
3441
4128
|
# Don't accept unknown kwargs
|
3442
4129
|
expected_kwargs = [
|
@@ -3444,13 +4131,18 @@ class JavaManagementServiceClient(object):
|
|
3444
4131
|
"retry_strategy",
|
3445
4132
|
"aggregation_mode",
|
3446
4133
|
"managed_instance_id",
|
4134
|
+
"host_name",
|
4135
|
+
"non_compliant_finding_count",
|
4136
|
+
"non_compliant_finding_count_greater_than",
|
4137
|
+
"finding_count",
|
4138
|
+
"finding_count_greater_than",
|
4139
|
+
"time_start",
|
4140
|
+
"time_end",
|
3447
4141
|
"limit",
|
3448
4142
|
"page",
|
3449
4143
|
"sort_order",
|
3450
4144
|
"sort_by",
|
3451
|
-
"opc_request_id"
|
3452
|
-
"time_start",
|
3453
|
-
"time_end"
|
4145
|
+
"opc_request_id"
|
3454
4146
|
]
|
3455
4147
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3456
4148
|
if extra_kwargs:
|
@@ -3491,12 +4183,17 @@ class JavaManagementServiceClient(object):
|
|
3491
4183
|
query_params = {
|
3492
4184
|
"aggregationMode": kwargs.get("aggregation_mode", missing),
|
3493
4185
|
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
4186
|
+
"hostName": kwargs.get("host_name", missing),
|
4187
|
+
"nonCompliantFindingCount": kwargs.get("non_compliant_finding_count", missing),
|
4188
|
+
"nonCompliantFindingCountGreaterThan": kwargs.get("non_compliant_finding_count_greater_than", missing),
|
4189
|
+
"findingCount": kwargs.get("finding_count", missing),
|
4190
|
+
"findingCountGreaterThan": kwargs.get("finding_count_greater_than", missing),
|
4191
|
+
"timeStart": kwargs.get("time_start", missing),
|
4192
|
+
"timeEnd": kwargs.get("time_end", missing),
|
3494
4193
|
"limit": kwargs.get("limit", missing),
|
3495
4194
|
"page": kwargs.get("page", missing),
|
3496
4195
|
"sortOrder": kwargs.get("sort_order", missing),
|
3497
|
-
"sortBy": kwargs.get("sort_by", missing)
|
3498
|
-
"timeStart": kwargs.get("time_start", missing),
|
3499
|
-
"timeEnd": kwargs.get("time_end", missing)
|
4196
|
+
"sortBy": kwargs.get("sort_by", missing)
|
3500
4197
|
}
|
3501
4198
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
3502
4199
|
|
@@ -3590,14 +4287,14 @@ class JavaManagementServiceClient(object):
|
|
3590
4287
|
:rtype: :class:`~oci.response.Response`
|
3591
4288
|
|
3592
4289
|
:example:
|
3593
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4290
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_drs_files.py.html>`__ to see an example of how to use list_drs_files API.
|
3594
4291
|
"""
|
3595
4292
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3596
4293
|
required_arguments = ['fleetId']
|
3597
4294
|
resource_path = "/fleets/{fleetId}/drsFiles"
|
3598
4295
|
method = "GET"
|
3599
4296
|
operation_name = "list_drs_files"
|
3600
|
-
api_reference_link = "
|
4297
|
+
api_reference_link = ""
|
3601
4298
|
|
3602
4299
|
# Don't accept unknown kwargs
|
3603
4300
|
expected_kwargs = [
|
@@ -3724,14 +4421,14 @@ class JavaManagementServiceClient(object):
|
|
3724
4421
|
:rtype: :class:`~oci.response.Response`
|
3725
4422
|
|
3726
4423
|
:example:
|
3727
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4424
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_fleet_diagnoses.py.html>`__ to see an example of how to use list_fleet_diagnoses API.
|
3728
4425
|
"""
|
3729
4426
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3730
4427
|
required_arguments = ['fleetId']
|
3731
4428
|
resource_path = "/fleets/{fleetId}/diagnoses"
|
3732
4429
|
method = "GET"
|
3733
4430
|
operation_name = "list_fleet_diagnoses"
|
3734
|
-
api_reference_link = "
|
4431
|
+
api_reference_link = ""
|
3735
4432
|
|
3736
4433
|
# Don't accept unknown kwargs
|
3737
4434
|
expected_kwargs = [
|
@@ -3817,7 +4514,7 @@ class JavaManagementServiceClient(object):
|
|
3817
4514
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
3818
4515
|
|
3819
4516
|
:param str id: (optional)
|
3820
|
-
The ID
|
4517
|
+
The ID.
|
3821
4518
|
|
3822
4519
|
:param str lifecycle_state: (optional)
|
3823
4520
|
The state of the lifecycle.
|
@@ -3869,14 +4566,14 @@ class JavaManagementServiceClient(object):
|
|
3869
4566
|
:rtype: :class:`~oci.response.Response`
|
3870
4567
|
|
3871
4568
|
:example:
|
3872
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4569
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_fleets.py.html>`__ to see an example of how to use list_fleets API.
|
3873
4570
|
"""
|
3874
4571
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3875
4572
|
required_arguments = []
|
3876
4573
|
resource_path = "/fleets"
|
3877
4574
|
method = "GET"
|
3878
4575
|
operation_name = "list_fleets"
|
3879
|
-
api_reference_link = "
|
4576
|
+
api_reference_link = ""
|
3880
4577
|
|
3881
4578
|
# Don't accept unknown kwargs
|
3882
4579
|
expected_kwargs = [
|
@@ -4062,14 +4759,14 @@ class JavaManagementServiceClient(object):
|
|
4062
4759
|
:rtype: :class:`~oci.response.Response`
|
4063
4760
|
|
4064
4761
|
:example:
|
4065
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4762
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_installation_sites.py.html>`__ to see an example of how to use list_installation_sites API.
|
4066
4763
|
"""
|
4067
4764
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4068
4765
|
required_arguments = ['fleetId']
|
4069
4766
|
resource_path = "/fleets/{fleetId}/installationSites"
|
4070
4767
|
method = "GET"
|
4071
4768
|
operation_name = "list_installation_sites"
|
4072
|
-
api_reference_link = "
|
4769
|
+
api_reference_link = ""
|
4073
4770
|
|
4074
4771
|
# Don't accept unknown kwargs
|
4075
4772
|
expected_kwargs = [
|
@@ -4248,14 +4945,14 @@ class JavaManagementServiceClient(object):
|
|
4248
4945
|
:rtype: :class:`~oci.response.Response`
|
4249
4946
|
|
4250
4947
|
:example:
|
4251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4948
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_java_families.py.html>`__ to see an example of how to use list_java_families API.
|
4252
4949
|
"""
|
4253
4950
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4254
4951
|
required_arguments = []
|
4255
4952
|
resource_path = "/javaFamilies"
|
4256
4953
|
method = "GET"
|
4257
4954
|
operation_name = "list_java_families"
|
4258
|
-
api_reference_link = "
|
4955
|
+
api_reference_link = ""
|
4259
4956
|
|
4260
4957
|
# Don't accept unknown kwargs
|
4261
4958
|
expected_kwargs = [
|
@@ -4354,6 +5051,24 @@ class JavaManagementServiceClient(object):
|
|
4354
5051
|
:param str managed_instance_id: (optional)
|
4355
5052
|
The Fleet-unique identifier of the related managed instance.
|
4356
5053
|
|
5054
|
+
:param str host_name: (optional)
|
5055
|
+
The host `OCID`__ of the managed instance.
|
5056
|
+
|
5057
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5058
|
+
|
5059
|
+
:param str application_name: (optional)
|
5060
|
+
The name of the application.
|
5061
|
+
|
5062
|
+
:param datetime time_start: (optional)
|
5063
|
+
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
5064
|
+
|
5065
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5066
|
+
|
5067
|
+
:param datetime time_end: (optional)
|
5068
|
+
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
5069
|
+
|
5070
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5071
|
+
|
4357
5072
|
:param int limit: (optional)
|
4358
5073
|
The maximum number of items to return.
|
4359
5074
|
|
@@ -4375,16 +5090,6 @@ class JavaManagementServiceClient(object):
|
|
4375
5090
|
:param str opc_request_id: (optional)
|
4376
5091
|
The client request ID for tracing.
|
4377
5092
|
|
4378
|
-
:param datetime time_start: (optional)
|
4379
|
-
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4380
|
-
|
4381
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4382
|
-
|
4383
|
-
:param datetime time_end: (optional)
|
4384
|
-
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4385
|
-
|
4386
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4387
|
-
|
4388
5093
|
:param obj retry_strategy: (optional)
|
4389
5094
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4390
5095
|
|
@@ -4401,27 +5106,29 @@ class JavaManagementServiceClient(object):
|
|
4401
5106
|
:rtype: :class:`~oci.response.Response`
|
4402
5107
|
|
4403
5108
|
:example:
|
4404
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5109
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_java_migration_analysis_results.py.html>`__ to see an example of how to use list_java_migration_analysis_results API.
|
4405
5110
|
"""
|
4406
5111
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4407
5112
|
required_arguments = ['fleetId']
|
4408
5113
|
resource_path = "/fleets/{fleetId}/javaMigrationAnalysisResults"
|
4409
5114
|
method = "GET"
|
4410
5115
|
operation_name = "list_java_migration_analysis_results"
|
4411
|
-
api_reference_link = "
|
5116
|
+
api_reference_link = ""
|
4412
5117
|
|
4413
5118
|
# Don't accept unknown kwargs
|
4414
5119
|
expected_kwargs = [
|
4415
5120
|
"allow_control_chars",
|
4416
5121
|
"retry_strategy",
|
4417
5122
|
"managed_instance_id",
|
5123
|
+
"host_name",
|
5124
|
+
"application_name",
|
5125
|
+
"time_start",
|
5126
|
+
"time_end",
|
4418
5127
|
"limit",
|
4419
5128
|
"page",
|
4420
5129
|
"sort_order",
|
4421
5130
|
"sort_by",
|
4422
|
-
"opc_request_id"
|
4423
|
-
"time_start",
|
4424
|
-
"time_end"
|
5131
|
+
"opc_request_id"
|
4425
5132
|
]
|
4426
5133
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4427
5134
|
if extra_kwargs:
|
@@ -4454,12 +5161,14 @@ class JavaManagementServiceClient(object):
|
|
4454
5161
|
|
4455
5162
|
query_params = {
|
4456
5163
|
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
5164
|
+
"hostName": kwargs.get("host_name", missing),
|
5165
|
+
"applicationName": kwargs.get("application_name", missing),
|
5166
|
+
"timeStart": kwargs.get("time_start", missing),
|
5167
|
+
"timeEnd": kwargs.get("time_end", missing),
|
4457
5168
|
"limit": kwargs.get("limit", missing),
|
4458
5169
|
"page": kwargs.get("page", missing),
|
4459
5170
|
"sortOrder": kwargs.get("sort_order", missing),
|
4460
|
-
"sortBy": kwargs.get("sort_by", missing)
|
4461
|
-
"timeStart": kwargs.get("time_start", missing),
|
4462
|
-
"timeEnd": kwargs.get("time_end", missing)
|
5171
|
+
"sortBy": kwargs.get("sort_by", missing)
|
4463
5172
|
}
|
4464
5173
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
4465
5174
|
|
@@ -4567,14 +5276,14 @@ class JavaManagementServiceClient(object):
|
|
4567
5276
|
:rtype: :class:`~oci.response.Response`
|
4568
5277
|
|
4569
5278
|
:example:
|
4570
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5279
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_java_releases.py.html>`__ to see an example of how to use list_java_releases API.
|
4571
5280
|
"""
|
4572
5281
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4573
5282
|
required_arguments = []
|
4574
5283
|
resource_path = "/javaReleases"
|
4575
5284
|
method = "GET"
|
4576
5285
|
operation_name = "list_java_releases"
|
4577
|
-
api_reference_link = "
|
5286
|
+
api_reference_link = ""
|
4578
5287
|
|
4579
5288
|
# Don't accept unknown kwargs
|
4580
5289
|
expected_kwargs = [
|
@@ -4614,7 +5323,209 @@ class JavaManagementServiceClient(object):
|
|
4614
5323
|
license_type_allowed_values = ["OTN", "NFTC", "RESTRICTED"]
|
4615
5324
|
if kwargs['license_type'] not in license_type_allowed_values:
|
4616
5325
|
raise ValueError(
|
4617
|
-
f"Invalid value for `license_type`, must be one of { license_type_allowed_values }"
|
5326
|
+
f"Invalid value for `license_type`, must be one of { license_type_allowed_values }"
|
5327
|
+
)
|
5328
|
+
|
5329
|
+
if 'sort_order' in kwargs:
|
5330
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
5331
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
5332
|
+
raise ValueError(
|
5333
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
5334
|
+
)
|
5335
|
+
|
5336
|
+
if 'sort_by' in kwargs:
|
5337
|
+
sort_by_allowed_values = ["releaseDate", "releaseVersion", "familyVersion", "licenseType"]
|
5338
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
5339
|
+
raise ValueError(
|
5340
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
5341
|
+
)
|
5342
|
+
|
5343
|
+
query_params = {
|
5344
|
+
"releaseVersion": kwargs.get("release_version", missing),
|
5345
|
+
"familyVersion": kwargs.get("family_version", missing),
|
5346
|
+
"releaseType": kwargs.get("release_type", missing),
|
5347
|
+
"jreSecurityStatus": kwargs.get("jre_security_status", missing),
|
5348
|
+
"licenseType": kwargs.get("license_type", missing),
|
5349
|
+
"limit": kwargs.get("limit", missing),
|
5350
|
+
"page": kwargs.get("page", missing),
|
5351
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
5352
|
+
"sortBy": kwargs.get("sort_by", missing)
|
5353
|
+
}
|
5354
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5355
|
+
|
5356
|
+
header_params = {
|
5357
|
+
"accept": "application/json",
|
5358
|
+
"content-type": "application/json",
|
5359
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5360
|
+
}
|
5361
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5362
|
+
|
5363
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5364
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5365
|
+
client_retry_strategy=self.retry_strategy
|
5366
|
+
)
|
5367
|
+
if retry_strategy is None:
|
5368
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5369
|
+
|
5370
|
+
if retry_strategy:
|
5371
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5372
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5373
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5374
|
+
return retry_strategy.make_retrying_call(
|
5375
|
+
self.base_client.call_api,
|
5376
|
+
resource_path=resource_path,
|
5377
|
+
method=method,
|
5378
|
+
query_params=query_params,
|
5379
|
+
header_params=header_params,
|
5380
|
+
response_type="JavaReleaseCollection",
|
5381
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5382
|
+
operation_name=operation_name,
|
5383
|
+
api_reference_link=api_reference_link,
|
5384
|
+
required_arguments=required_arguments)
|
5385
|
+
else:
|
5386
|
+
return self.base_client.call_api(
|
5387
|
+
resource_path=resource_path,
|
5388
|
+
method=method,
|
5389
|
+
query_params=query_params,
|
5390
|
+
header_params=header_params,
|
5391
|
+
response_type="JavaReleaseCollection",
|
5392
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5393
|
+
operation_name=operation_name,
|
5394
|
+
api_reference_link=api_reference_link,
|
5395
|
+
required_arguments=required_arguments)
|
5396
|
+
|
5397
|
+
def list_jms_plugins(self, **kwargs):
|
5398
|
+
"""
|
5399
|
+
Lists the JmsPlugins.
|
5400
|
+
|
5401
|
+
|
5402
|
+
:param str compartment_id: (optional)
|
5403
|
+
The `OCID`__ of the compartment in which to list resources.
|
5404
|
+
|
5405
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5406
|
+
|
5407
|
+
:param bool compartment_id_in_subtree: (optional)
|
5408
|
+
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
|
5409
|
+
|
5410
|
+
:param str id: (optional)
|
5411
|
+
The `OCID`__ of the JmsPlugin.
|
5412
|
+
|
5413
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5414
|
+
|
5415
|
+
:param str fleet_id: (optional)
|
5416
|
+
The ID of the Fleet.
|
5417
|
+
|
5418
|
+
:param str agent_id: (optional)
|
5419
|
+
The ManagementAgent (OMA) or Instance (OCA) `OCID`__ that identifies the Agent.
|
5420
|
+
|
5421
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5422
|
+
|
5423
|
+
:param str lifecycle_state: (optional)
|
5424
|
+
Filter JmsPlugin with its lifecycle state.
|
5425
|
+
|
5426
|
+
Allowed values are: "ACTIVE", "INACTIVE", "NEEDS_ATTENTION", "DELETED"
|
5427
|
+
|
5428
|
+
:param str availability_status: (optional)
|
5429
|
+
Filter JmsPlugin with its availability status.
|
5430
|
+
|
5431
|
+
Allowed values are: "ACTIVE", "SILENT", "NOT_AVAILABLE"
|
5432
|
+
|
5433
|
+
:param datetime time_registered_less_than_or_equal_to: (optional)
|
5434
|
+
If present, only plugins with a registration time before this parameter are searched (formatted according to `RFC3339`__).
|
5435
|
+
|
5436
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5437
|
+
|
5438
|
+
:param datetime time_last_seen_less_than_or_equal_to: (optional)
|
5439
|
+
If present, only plugins with a last seen time before this parameter are searched (formatted according to `RFC3339`__).
|
5440
|
+
|
5441
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5442
|
+
|
5443
|
+
:param int limit: (optional)
|
5444
|
+
The maximum number of items to return.
|
5445
|
+
|
5446
|
+
:param str page: (optional)
|
5447
|
+
The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
|
5448
|
+
|
5449
|
+
:param str sort_order: (optional)
|
5450
|
+
The sort order, either 'asc' or 'desc'.
|
5451
|
+
|
5452
|
+
Allowed values are: "ASC", "DESC"
|
5453
|
+
|
5454
|
+
:param str sort_by: (optional)
|
5455
|
+
The field to sort JmsPlugin. Only one sort order may be provided.
|
5456
|
+
Default order is **descending**.
|
5457
|
+
If no value is specified _timeLastSeen_ is default.
|
5458
|
+
|
5459
|
+
Allowed values are: "id", "timeLastSeen", "timeRegistered", "hostname", "agentId", "agentType", "lifecycleState", "availabilityStatus", "fleetId", "compartmentId", "osFamily", "osArchitecture", "osDistribution", "pluginVersion"
|
5460
|
+
|
5461
|
+
:param str hostname_contains: (optional)
|
5462
|
+
Filter the list with hostname contains the given value.
|
5463
|
+
|
5464
|
+
:param str opc_request_id: (optional)
|
5465
|
+
The client request ID for tracing.
|
5466
|
+
|
5467
|
+
:param obj retry_strategy: (optional)
|
5468
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5469
|
+
|
5470
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5471
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5472
|
+
|
5473
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5474
|
+
|
5475
|
+
:param bool allow_control_chars: (optional)
|
5476
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5477
|
+
By default, the response will not allow control characters in strings
|
5478
|
+
|
5479
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.JmsPluginCollection`
|
5480
|
+
:rtype: :class:`~oci.response.Response`
|
5481
|
+
|
5482
|
+
:example:
|
5483
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_jms_plugins.py.html>`__ to see an example of how to use list_jms_plugins API.
|
5484
|
+
"""
|
5485
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5486
|
+
required_arguments = []
|
5487
|
+
resource_path = "/jmsPlugins"
|
5488
|
+
method = "GET"
|
5489
|
+
operation_name = "list_jms_plugins"
|
5490
|
+
api_reference_link = ""
|
5491
|
+
|
5492
|
+
# Don't accept unknown kwargs
|
5493
|
+
expected_kwargs = [
|
5494
|
+
"allow_control_chars",
|
5495
|
+
"retry_strategy",
|
5496
|
+
"compartment_id",
|
5497
|
+
"compartment_id_in_subtree",
|
5498
|
+
"id",
|
5499
|
+
"fleet_id",
|
5500
|
+
"agent_id",
|
5501
|
+
"lifecycle_state",
|
5502
|
+
"availability_status",
|
5503
|
+
"time_registered_less_than_or_equal_to",
|
5504
|
+
"time_last_seen_less_than_or_equal_to",
|
5505
|
+
"limit",
|
5506
|
+
"page",
|
5507
|
+
"sort_order",
|
5508
|
+
"sort_by",
|
5509
|
+
"hostname_contains",
|
5510
|
+
"opc_request_id"
|
5511
|
+
]
|
5512
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5513
|
+
if extra_kwargs:
|
5514
|
+
raise ValueError(
|
5515
|
+
f"list_jms_plugins got unknown kwargs: {extra_kwargs!r}")
|
5516
|
+
|
5517
|
+
if 'lifecycle_state' in kwargs:
|
5518
|
+
lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "NEEDS_ATTENTION", "DELETED"]
|
5519
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
5520
|
+
raise ValueError(
|
5521
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
5522
|
+
)
|
5523
|
+
|
5524
|
+
if 'availability_status' in kwargs:
|
5525
|
+
availability_status_allowed_values = ["ACTIVE", "SILENT", "NOT_AVAILABLE"]
|
5526
|
+
if kwargs['availability_status'] not in availability_status_allowed_values:
|
5527
|
+
raise ValueError(
|
5528
|
+
f"Invalid value for `availability_status`, must be one of { availability_status_allowed_values }"
|
4618
5529
|
)
|
4619
5530
|
|
4620
5531
|
if 'sort_order' in kwargs:
|
@@ -4625,22 +5536,27 @@ class JavaManagementServiceClient(object):
|
|
4625
5536
|
)
|
4626
5537
|
|
4627
5538
|
if 'sort_by' in kwargs:
|
4628
|
-
sort_by_allowed_values = ["
|
5539
|
+
sort_by_allowed_values = ["id", "timeLastSeen", "timeRegistered", "hostname", "agentId", "agentType", "lifecycleState", "availabilityStatus", "fleetId", "compartmentId", "osFamily", "osArchitecture", "osDistribution", "pluginVersion"]
|
4629
5540
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
4630
5541
|
raise ValueError(
|
4631
5542
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
4632
5543
|
)
|
4633
5544
|
|
4634
5545
|
query_params = {
|
4635
|
-
"
|
4636
|
-
"
|
4637
|
-
"
|
4638
|
-
"
|
4639
|
-
"
|
5546
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
5547
|
+
"compartmentIdInSubtree": kwargs.get("compartment_id_in_subtree", missing),
|
5548
|
+
"id": kwargs.get("id", missing),
|
5549
|
+
"fleetId": kwargs.get("fleet_id", missing),
|
5550
|
+
"agentId": kwargs.get("agent_id", missing),
|
5551
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
5552
|
+
"availabilityStatus": kwargs.get("availability_status", missing),
|
5553
|
+
"timeRegisteredLessThanOrEqualTo": kwargs.get("time_registered_less_than_or_equal_to", missing),
|
5554
|
+
"timeLastSeenLessThanOrEqualTo": kwargs.get("time_last_seen_less_than_or_equal_to", missing),
|
4640
5555
|
"limit": kwargs.get("limit", missing),
|
4641
5556
|
"page": kwargs.get("page", missing),
|
4642
5557
|
"sortOrder": kwargs.get("sort_order", missing),
|
4643
|
-
"sortBy": kwargs.get("sort_by", missing)
|
5558
|
+
"sortBy": kwargs.get("sort_by", missing),
|
5559
|
+
"hostnameContains": kwargs.get("hostname_contains", missing)
|
4644
5560
|
}
|
4645
5561
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
4646
5562
|
|
@@ -4668,7 +5584,7 @@ class JavaManagementServiceClient(object):
|
|
4668
5584
|
method=method,
|
4669
5585
|
query_params=query_params,
|
4670
5586
|
header_params=header_params,
|
4671
|
-
response_type="
|
5587
|
+
response_type="JmsPluginCollection",
|
4672
5588
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4673
5589
|
operation_name=operation_name,
|
4674
5590
|
api_reference_link=api_reference_link,
|
@@ -4679,7 +5595,7 @@ class JavaManagementServiceClient(object):
|
|
4679
5595
|
method=method,
|
4680
5596
|
query_params=query_params,
|
4681
5597
|
header_params=header_params,
|
4682
|
-
response_type="
|
5598
|
+
response_type="JmsPluginCollection",
|
4683
5599
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4684
5600
|
operation_name=operation_name,
|
4685
5601
|
api_reference_link=api_reference_link,
|
@@ -4756,14 +5672,14 @@ class JavaManagementServiceClient(object):
|
|
4756
5672
|
:rtype: :class:`~oci.response.Response`
|
4757
5673
|
|
4758
5674
|
:example:
|
4759
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5675
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_jre_usage.py.html>`__ to see an example of how to use list_jre_usage API.
|
4760
5676
|
"""
|
4761
5677
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4762
5678
|
required_arguments = []
|
4763
5679
|
resource_path = "/listJreUsage"
|
4764
5680
|
method = "GET"
|
4765
5681
|
operation_name = "list_jre_usage"
|
4766
|
-
api_reference_link = "
|
5682
|
+
api_reference_link = ""
|
4767
5683
|
|
4768
5684
|
# Don't accept unknown kwargs
|
4769
5685
|
expected_kwargs = [
|
@@ -4871,6 +5787,21 @@ class JavaManagementServiceClient(object):
|
|
4871
5787
|
:param str application_id: (optional)
|
4872
5788
|
The Fleet-unique identifier of the related application.
|
4873
5789
|
|
5790
|
+
:param str host_name: (optional)
|
5791
|
+
The host `OCID`__ of the managed instance.
|
5792
|
+
|
5793
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5794
|
+
|
5795
|
+
:param datetime time_start: (optional)
|
5796
|
+
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
5797
|
+
|
5798
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5799
|
+
|
5800
|
+
:param datetime time_end: (optional)
|
5801
|
+
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
5802
|
+
|
5803
|
+
__ https://datatracker.ietf.org/doc/html/rfc3339
|
5804
|
+
|
4874
5805
|
:param int limit: (optional)
|
4875
5806
|
The maximum number of items to return.
|
4876
5807
|
|
@@ -4888,21 +5819,11 @@ class JavaManagementServiceClient(object):
|
|
4888
5819
|
Default order for _managedInstanceId_, _jreDistribution_, _jreVendor_ and _osName_ is **ascending**.
|
4889
5820
|
If no value is specified _timeCreated_ is default.
|
4890
5821
|
|
4891
|
-
Allowed values are: "timeCreated", "managedInstanceId", "workRequestId"
|
5822
|
+
Allowed values are: "timeCreated", "managedInstanceId", "workRequestId", "warningCount"
|
4892
5823
|
|
4893
5824
|
:param str opc_request_id: (optional)
|
4894
5825
|
The client request ID for tracing.
|
4895
5826
|
|
4896
|
-
:param datetime time_start: (optional)
|
4897
|
-
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4898
|
-
|
4899
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4900
|
-
|
4901
|
-
:param datetime time_end: (optional)
|
4902
|
-
The end of the time period during which resources are searched (formatted according to `RFC3339`__).
|
4903
|
-
|
4904
|
-
__ https://datatracker.ietf.org/doc/html/rfc3339
|
4905
|
-
|
4906
5827
|
:param obj retry_strategy: (optional)
|
4907
5828
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4908
5829
|
|
@@ -4919,14 +5840,14 @@ class JavaManagementServiceClient(object):
|
|
4919
5840
|
:rtype: :class:`~oci.response.Response`
|
4920
5841
|
|
4921
5842
|
:example:
|
4922
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5843
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_performance_tuning_analysis_results.py.html>`__ to see an example of how to use list_performance_tuning_analysis_results API.
|
4923
5844
|
"""
|
4924
5845
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4925
5846
|
required_arguments = ['fleetId']
|
4926
5847
|
resource_path = "/fleets/{fleetId}/performanceTuningAnalysisResults"
|
4927
5848
|
method = "GET"
|
4928
5849
|
operation_name = "list_performance_tuning_analysis_results"
|
4929
|
-
api_reference_link = "
|
5850
|
+
api_reference_link = ""
|
4930
5851
|
|
4931
5852
|
# Don't accept unknown kwargs
|
4932
5853
|
expected_kwargs = [
|
@@ -4934,13 +5855,14 @@ class JavaManagementServiceClient(object):
|
|
4934
5855
|
"retry_strategy",
|
4935
5856
|
"managed_instance_id",
|
4936
5857
|
"application_id",
|
5858
|
+
"host_name",
|
5859
|
+
"time_start",
|
5860
|
+
"time_end",
|
4937
5861
|
"limit",
|
4938
5862
|
"page",
|
4939
5863
|
"sort_order",
|
4940
5864
|
"sort_by",
|
4941
|
-
"opc_request_id"
|
4942
|
-
"time_start",
|
4943
|
-
"time_end"
|
5865
|
+
"opc_request_id"
|
4944
5866
|
]
|
4945
5867
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4946
5868
|
if extra_kwargs:
|
@@ -4965,7 +5887,7 @@ class JavaManagementServiceClient(object):
|
|
4965
5887
|
)
|
4966
5888
|
|
4967
5889
|
if 'sort_by' in kwargs:
|
4968
|
-
sort_by_allowed_values = ["timeCreated", "managedInstanceId", "workRequestId"]
|
5890
|
+
sort_by_allowed_values = ["timeCreated", "managedInstanceId", "workRequestId", "warningCount"]
|
4969
5891
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
4970
5892
|
raise ValueError(
|
4971
5893
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
@@ -4974,12 +5896,13 @@ class JavaManagementServiceClient(object):
|
|
4974
5896
|
query_params = {
|
4975
5897
|
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
4976
5898
|
"applicationId": kwargs.get("application_id", missing),
|
5899
|
+
"hostName": kwargs.get("host_name", missing),
|
5900
|
+
"timeStart": kwargs.get("time_start", missing),
|
5901
|
+
"timeEnd": kwargs.get("time_end", missing),
|
4977
5902
|
"limit": kwargs.get("limit", missing),
|
4978
5903
|
"page": kwargs.get("page", missing),
|
4979
5904
|
"sortOrder": kwargs.get("sort_order", missing),
|
4980
|
-
"sortBy": kwargs.get("sort_by", missing)
|
4981
|
-
"timeStart": kwargs.get("time_start", missing),
|
4982
|
-
"timeEnd": kwargs.get("time_end", missing)
|
5905
|
+
"sortBy": kwargs.get("sort_by", missing)
|
4983
5906
|
}
|
4984
5907
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
4985
5908
|
|
@@ -5061,14 +5984,14 @@ class JavaManagementServiceClient(object):
|
|
5061
5984
|
:rtype: :class:`~oci.response.Response`
|
5062
5985
|
|
5063
5986
|
:example:
|
5064
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5987
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_work_items.py.html>`__ to see an example of how to use list_work_items API.
|
5065
5988
|
"""
|
5066
5989
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5067
5990
|
required_arguments = ['workRequestId']
|
5068
5991
|
resource_path = "/workRequests/{workRequestId}/workItems"
|
5069
5992
|
method = "GET"
|
5070
5993
|
operation_name = "list_work_items"
|
5071
|
-
api_reference_link = "
|
5994
|
+
api_reference_link = ""
|
5072
5995
|
|
5073
5996
|
# Don't accept unknown kwargs
|
5074
5997
|
expected_kwargs = [
|
@@ -5177,14 +6100,14 @@ class JavaManagementServiceClient(object):
|
|
5177
6100
|
:rtype: :class:`~oci.response.Response`
|
5178
6101
|
|
5179
6102
|
:example:
|
5180
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6103
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
5181
6104
|
"""
|
5182
6105
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5183
6106
|
required_arguments = ['workRequestId']
|
5184
6107
|
resource_path = "/workRequests/{workRequestId}/errors"
|
5185
6108
|
method = "GET"
|
5186
6109
|
operation_name = "list_work_request_errors"
|
5187
|
-
api_reference_link = "
|
6110
|
+
api_reference_link = ""
|
5188
6111
|
|
5189
6112
|
# Don't accept unknown kwargs
|
5190
6113
|
expected_kwargs = [
|
@@ -5293,14 +6216,14 @@ class JavaManagementServiceClient(object):
|
|
5293
6216
|
:rtype: :class:`~oci.response.Response`
|
5294
6217
|
|
5295
6218
|
:example:
|
5296
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6219
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
5297
6220
|
"""
|
5298
6221
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5299
6222
|
required_arguments = ['workRequestId']
|
5300
6223
|
resource_path = "/workRequests/{workRequestId}/logs"
|
5301
6224
|
method = "GET"
|
5302
6225
|
operation_name = "list_work_request_logs"
|
5303
|
-
api_reference_link = "
|
6226
|
+
api_reference_link = ""
|
5304
6227
|
|
5305
6228
|
# Don't accept unknown kwargs
|
5306
6229
|
expected_kwargs = [
|
@@ -5404,6 +6327,16 @@ class JavaManagementServiceClient(object):
|
|
5404
6327
|
:param str managed_instance_id: (optional)
|
5405
6328
|
The Fleet-unique identifier of the managed instance.
|
5406
6329
|
|
6330
|
+
:param str operation_type: (optional)
|
6331
|
+
The operation type of the work request.
|
6332
|
+
|
6333
|
+
Allowed values are: "CREATE_FLEET", "DELETE_FLEET", "MOVE_FLEET", "UPDATE_FLEET", "UPDATE_FLEET_AGENT_CONFIGURATION", "DELETE_JAVA_INSTALLATION", "CREATE_JAVA_INSTALLATION", "COLLECT_JFR", "REQUEST_CRYPTO_EVENT_ANALYSIS", "REQUEST_PERFORMANCE_TUNING_ANALYSIS", "REQUEST_JAVA_MIGRATION_ANALYSIS", "DELETE_JMS_REPORT", "SCAN_JAVA_SERVER_USAGE", "SCAN_LIBRARY_USAGE", "EXPORT_DATA_CSV", "CREATE_DRS_FILE", "UPDATE_DRS_FILE", "DELETE_DRS_FILE", "ENABLE_DRS", "DISABLE_DRS"
|
6334
|
+
|
6335
|
+
:param list[str] status: (optional)
|
6336
|
+
The status of the work request.
|
6337
|
+
|
6338
|
+
Allowed values are: "ACCEPTED", "CANCELED", "CANCELING", "FAILED", "IN_PROGRESS", "SUCCEEDED"
|
6339
|
+
|
5407
6340
|
:param obj retry_strategy: (optional)
|
5408
6341
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5409
6342
|
|
@@ -5420,14 +6353,14 @@ class JavaManagementServiceClient(object):
|
|
5420
6353
|
:rtype: :class:`~oci.response.Response`
|
5421
6354
|
|
5422
6355
|
:example:
|
5423
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6356
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
5424
6357
|
"""
|
5425
6358
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5426
6359
|
required_arguments = []
|
5427
6360
|
resource_path = "/workRequests"
|
5428
6361
|
method = "GET"
|
5429
6362
|
operation_name = "list_work_requests"
|
5430
|
-
api_reference_link = "
|
6363
|
+
api_reference_link = ""
|
5431
6364
|
|
5432
6365
|
# Don't accept unknown kwargs
|
5433
6366
|
expected_kwargs = [
|
@@ -5439,20 +6372,39 @@ class JavaManagementServiceClient(object):
|
|
5439
6372
|
"opc_request_id",
|
5440
6373
|
"page",
|
5441
6374
|
"limit",
|
5442
|
-
"managed_instance_id"
|
6375
|
+
"managed_instance_id",
|
6376
|
+
"operation_type",
|
6377
|
+
"status"
|
5443
6378
|
]
|
5444
6379
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5445
6380
|
if extra_kwargs:
|
5446
6381
|
raise ValueError(
|
5447
6382
|
f"list_work_requests got unknown kwargs: {extra_kwargs!r}")
|
5448
6383
|
|
6384
|
+
if 'operation_type' in kwargs:
|
6385
|
+
operation_type_allowed_values = ["CREATE_FLEET", "DELETE_FLEET", "MOVE_FLEET", "UPDATE_FLEET", "UPDATE_FLEET_AGENT_CONFIGURATION", "DELETE_JAVA_INSTALLATION", "CREATE_JAVA_INSTALLATION", "COLLECT_JFR", "REQUEST_CRYPTO_EVENT_ANALYSIS", "REQUEST_PERFORMANCE_TUNING_ANALYSIS", "REQUEST_JAVA_MIGRATION_ANALYSIS", "DELETE_JMS_REPORT", "SCAN_JAVA_SERVER_USAGE", "SCAN_LIBRARY_USAGE", "EXPORT_DATA_CSV", "CREATE_DRS_FILE", "UPDATE_DRS_FILE", "DELETE_DRS_FILE", "ENABLE_DRS", "DISABLE_DRS"]
|
6386
|
+
if kwargs['operation_type'] not in operation_type_allowed_values:
|
6387
|
+
raise ValueError(
|
6388
|
+
f"Invalid value for `operation_type`, must be one of { operation_type_allowed_values }"
|
6389
|
+
)
|
6390
|
+
|
6391
|
+
if 'status' in kwargs:
|
6392
|
+
status_allowed_values = ["ACCEPTED", "CANCELED", "CANCELING", "FAILED", "IN_PROGRESS", "SUCCEEDED"]
|
6393
|
+
for status_item in kwargs['status']:
|
6394
|
+
if status_item not in status_allowed_values:
|
6395
|
+
raise ValueError(
|
6396
|
+
f"Invalid value for `status`, must be one of { status_allowed_values }"
|
6397
|
+
)
|
6398
|
+
|
5449
6399
|
query_params = {
|
5450
6400
|
"compartmentId": kwargs.get("compartment_id", missing),
|
5451
6401
|
"id": kwargs.get("id", missing),
|
5452
6402
|
"fleetId": kwargs.get("fleet_id", missing),
|
5453
6403
|
"page": kwargs.get("page", missing),
|
5454
6404
|
"limit": kwargs.get("limit", missing),
|
5455
|
-
"managedInstanceId": kwargs.get("managed_instance_id", missing)
|
6405
|
+
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
6406
|
+
"operationType": kwargs.get("operation_type", missing),
|
6407
|
+
"status": self.base_client.generate_collection_format_param(kwargs.get("status", missing), 'multi')
|
5456
6408
|
}
|
5457
6409
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5458
6410
|
|
@@ -5543,14 +6495,14 @@ class JavaManagementServiceClient(object):
|
|
5543
6495
|
:rtype: :class:`~oci.response.Response`
|
5544
6496
|
|
5545
6497
|
:example:
|
5546
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6498
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/remove_fleet_installation_sites.py.html>`__ to see an example of how to use remove_fleet_installation_sites API.
|
5547
6499
|
"""
|
5548
6500
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5549
6501
|
required_arguments = ['fleetId']
|
5550
6502
|
resource_path = "/fleets/{fleetId}/actions/removeInstallationSites"
|
5551
6503
|
method = "POST"
|
5552
6504
|
operation_name = "remove_fleet_installation_sites"
|
5553
|
-
api_reference_link = "
|
6505
|
+
api_reference_link = ""
|
5554
6506
|
|
5555
6507
|
# Don't accept unknown kwargs
|
5556
6508
|
expected_kwargs = [
|
@@ -5651,14 +6603,14 @@ class JavaManagementServiceClient(object):
|
|
5651
6603
|
:rtype: :class:`~oci.response.Response`
|
5652
6604
|
|
5653
6605
|
:example:
|
5654
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6606
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/request_crypto_analyses.py.html>`__ to see an example of how to use request_crypto_analyses API.
|
5655
6607
|
"""
|
5656
6608
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5657
6609
|
required_arguments = ['fleetId']
|
5658
6610
|
resource_path = "/fleets/{fleetId}/actions/requestCryptoAnalyses"
|
5659
6611
|
method = "POST"
|
5660
6612
|
operation_name = "request_crypto_analyses"
|
5661
|
-
api_reference_link = "
|
6613
|
+
api_reference_link = ""
|
5662
6614
|
|
5663
6615
|
# Don't accept unknown kwargs
|
5664
6616
|
expected_kwargs = [
|
@@ -5722,6 +6674,110 @@ class JavaManagementServiceClient(object):
|
|
5722
6674
|
api_reference_link=api_reference_link,
|
5723
6675
|
required_arguments=required_arguments)
|
5724
6676
|
|
6677
|
+
def request_deployed_application_migration_analyses(self, fleet_id, request_deployed_application_migration_analyses_details, **kwargs):
|
6678
|
+
"""
|
6679
|
+
Request to perform a deployed Java migration analyses. The results of the deployed Java migration analyses will be uploaded to the
|
6680
|
+
Object Storage bucket that you designate when you enable the Java Migration Analyses feature.
|
6681
|
+
|
6682
|
+
|
6683
|
+
:param str fleet_id: (required)
|
6684
|
+
The `OCID`__ of the Fleet.
|
6685
|
+
|
6686
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
6687
|
+
|
6688
|
+
:param oci.jms.models.RequestDeployedApplicationMigrationAnalysesDetails request_deployed_application_migration_analyses_details: (required)
|
6689
|
+
Detail information that starts the deployed Java migration analyses
|
6690
|
+
|
6691
|
+
:param str opc_request_id: (optional)
|
6692
|
+
The client request ID for tracing.
|
6693
|
+
|
6694
|
+
:param obj retry_strategy: (optional)
|
6695
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6696
|
+
|
6697
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
6698
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6699
|
+
|
6700
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6701
|
+
|
6702
|
+
:param bool allow_control_chars: (optional)
|
6703
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6704
|
+
By default, the response will not allow control characters in strings
|
6705
|
+
|
6706
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
6707
|
+
:rtype: :class:`~oci.response.Response`
|
6708
|
+
|
6709
|
+
:example:
|
6710
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/request_deployed_application_migration_analyses.py.html>`__ to see an example of how to use request_deployed_application_migration_analyses API.
|
6711
|
+
"""
|
6712
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6713
|
+
required_arguments = ['fleetId']
|
6714
|
+
resource_path = "/fleets/{fleetId}/actions/requestDeployedApplicationMigrationAnalyses"
|
6715
|
+
method = "POST"
|
6716
|
+
operation_name = "request_deployed_application_migration_analyses"
|
6717
|
+
api_reference_link = ""
|
6718
|
+
|
6719
|
+
# Don't accept unknown kwargs
|
6720
|
+
expected_kwargs = [
|
6721
|
+
"allow_control_chars",
|
6722
|
+
"retry_strategy",
|
6723
|
+
"opc_request_id"
|
6724
|
+
]
|
6725
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6726
|
+
if extra_kwargs:
|
6727
|
+
raise ValueError(
|
6728
|
+
f"request_deployed_application_migration_analyses got unknown kwargs: {extra_kwargs!r}")
|
6729
|
+
|
6730
|
+
path_params = {
|
6731
|
+
"fleetId": fleet_id
|
6732
|
+
}
|
6733
|
+
|
6734
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6735
|
+
|
6736
|
+
for (k, v) in six.iteritems(path_params):
|
6737
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6738
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6739
|
+
|
6740
|
+
header_params = {
|
6741
|
+
"accept": "application/json",
|
6742
|
+
"content-type": "application/json",
|
6743
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6744
|
+
}
|
6745
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6746
|
+
|
6747
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6748
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6749
|
+
client_retry_strategy=self.retry_strategy
|
6750
|
+
)
|
6751
|
+
if retry_strategy is None:
|
6752
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
6753
|
+
|
6754
|
+
if retry_strategy:
|
6755
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6756
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6757
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6758
|
+
return retry_strategy.make_retrying_call(
|
6759
|
+
self.base_client.call_api,
|
6760
|
+
resource_path=resource_path,
|
6761
|
+
method=method,
|
6762
|
+
path_params=path_params,
|
6763
|
+
header_params=header_params,
|
6764
|
+
body=request_deployed_application_migration_analyses_details,
|
6765
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6766
|
+
operation_name=operation_name,
|
6767
|
+
api_reference_link=api_reference_link,
|
6768
|
+
required_arguments=required_arguments)
|
6769
|
+
else:
|
6770
|
+
return self.base_client.call_api(
|
6771
|
+
resource_path=resource_path,
|
6772
|
+
method=method,
|
6773
|
+
path_params=path_params,
|
6774
|
+
header_params=header_params,
|
6775
|
+
body=request_deployed_application_migration_analyses_details,
|
6776
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6777
|
+
operation_name=operation_name,
|
6778
|
+
api_reference_link=api_reference_link,
|
6779
|
+
required_arguments=required_arguments)
|
6780
|
+
|
5725
6781
|
def request_java_migration_analyses(self, fleet_id, request_java_migration_analyses_details, **kwargs):
|
5726
6782
|
"""
|
5727
6783
|
Request to perform a Java migration analysis. The results of the Java migration analysis will be uploaded to the
|
@@ -5755,14 +6811,14 @@ class JavaManagementServiceClient(object):
|
|
5755
6811
|
:rtype: :class:`~oci.response.Response`
|
5756
6812
|
|
5757
6813
|
:example:
|
5758
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6814
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/request_java_migration_analyses.py.html>`__ to see an example of how to use request_java_migration_analyses API.
|
5759
6815
|
"""
|
5760
6816
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5761
6817
|
required_arguments = ['fleetId']
|
5762
6818
|
resource_path = "/fleets/{fleetId}/actions/requestJavaMigrationAnalyses"
|
5763
6819
|
method = "POST"
|
5764
6820
|
operation_name = "request_java_migration_analyses"
|
5765
|
-
api_reference_link = "
|
6821
|
+
api_reference_link = ""
|
5766
6822
|
|
5767
6823
|
# Don't accept unknown kwargs
|
5768
6824
|
expected_kwargs = [
|
@@ -5858,14 +6914,14 @@ class JavaManagementServiceClient(object):
|
|
5858
6914
|
:rtype: :class:`~oci.response.Response`
|
5859
6915
|
|
5860
6916
|
:example:
|
5861
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6917
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/request_jfr_recordings.py.html>`__ to see an example of how to use request_jfr_recordings API.
|
5862
6918
|
"""
|
5863
6919
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5864
6920
|
required_arguments = ['fleetId']
|
5865
6921
|
resource_path = "/fleets/{fleetId}/actions/requestJfrRecordings"
|
5866
6922
|
method = "POST"
|
5867
6923
|
operation_name = "request_jfr_recordings"
|
5868
|
-
api_reference_link = "
|
6924
|
+
api_reference_link = ""
|
5869
6925
|
|
5870
6926
|
# Don't accept unknown kwargs
|
5871
6927
|
expected_kwargs = [
|
@@ -5962,14 +7018,14 @@ class JavaManagementServiceClient(object):
|
|
5962
7018
|
:rtype: :class:`~oci.response.Response`
|
5963
7019
|
|
5964
7020
|
:example:
|
5965
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7021
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/request_performance_tuning_analyses.py.html>`__ to see an example of how to use request_performance_tuning_analyses API.
|
5966
7022
|
"""
|
5967
7023
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5968
7024
|
required_arguments = ['fleetId']
|
5969
7025
|
resource_path = "/fleets/{fleetId}/actions/requestPerformanceTuningAnalyses"
|
5970
7026
|
method = "POST"
|
5971
7027
|
operation_name = "request_performance_tuning_analyses"
|
5972
|
-
api_reference_link = "
|
7028
|
+
api_reference_link = ""
|
5973
7029
|
|
5974
7030
|
# Don't accept unknown kwargs
|
5975
7031
|
expected_kwargs = [
|
@@ -6079,14 +7135,14 @@ class JavaManagementServiceClient(object):
|
|
6079
7135
|
:rtype: :class:`~oci.response.Response`
|
6080
7136
|
|
6081
7137
|
:example:
|
6082
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7138
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/scan_java_server_usage.py.html>`__ to see an example of how to use scan_java_server_usage API.
|
6083
7139
|
"""
|
6084
7140
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6085
7141
|
required_arguments = ['fleetId']
|
6086
7142
|
resource_path = "/fleets/{fleetId}/actions/scanJavaServerUsage"
|
6087
7143
|
method = "POST"
|
6088
7144
|
operation_name = "scan_java_server_usage"
|
6089
|
-
api_reference_link = "
|
7145
|
+
api_reference_link = ""
|
6090
7146
|
|
6091
7147
|
# Don't accept unknown kwargs
|
6092
7148
|
expected_kwargs = [
|
@@ -6201,14 +7257,14 @@ class JavaManagementServiceClient(object):
|
|
6201
7257
|
:rtype: :class:`~oci.response.Response`
|
6202
7258
|
|
6203
7259
|
:example:
|
6204
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7260
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/scan_library_usage.py.html>`__ to see an example of how to use scan_library_usage API.
|
6205
7261
|
"""
|
6206
7262
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6207
7263
|
required_arguments = ['fleetId']
|
6208
7264
|
resource_path = "/fleets/{fleetId}/actions/scanLibraryUsage"
|
6209
7265
|
method = "POST"
|
6210
7266
|
operation_name = "scan_library_usage"
|
6211
|
-
api_reference_link = "
|
7267
|
+
api_reference_link = ""
|
6212
7268
|
|
6213
7269
|
# Don't accept unknown kwargs
|
6214
7270
|
expected_kwargs = [
|
@@ -6356,7 +7412,7 @@ class JavaManagementServiceClient(object):
|
|
6356
7412
|
Default order for _displayName_, _installationPath_ and _osName_ is **ascending**.
|
6357
7413
|
If no value is specified _timeLastSeen_ is default.
|
6358
7414
|
|
6359
|
-
Allowed values are: "timeFirstSeen", "timeLastSeen", "displayName", "installationPath", "osName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount"
|
7415
|
+
Allowed values are: "timeFirstSeen", "timeLastSeen", "displayName", "installationPath", "osName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "approximateLibraryCount"
|
6360
7416
|
|
6361
7417
|
:param str opc_request_id: (optional)
|
6362
7418
|
The client request ID for tracing.
|
@@ -6377,14 +7433,14 @@ class JavaManagementServiceClient(object):
|
|
6377
7433
|
:rtype: :class:`~oci.response.Response`
|
6378
7434
|
|
6379
7435
|
:example:
|
6380
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_application_installation_usage.py.html>`__ to see an example of how to use summarize_application_installation_usage API.
|
6381
7437
|
"""
|
6382
7438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6383
7439
|
required_arguments = ['fleetId']
|
6384
7440
|
resource_path = "/fleets/{fleetId}/actions/summarizeApplicationInstallationUsage"
|
6385
7441
|
method = "GET"
|
6386
7442
|
operation_name = "summarize_application_installation_usage"
|
6387
|
-
api_reference_link = "
|
7443
|
+
api_reference_link = ""
|
6388
7444
|
|
6389
7445
|
# Don't accept unknown kwargs
|
6390
7446
|
expected_kwargs = [
|
@@ -6442,7 +7498,7 @@ class JavaManagementServiceClient(object):
|
|
6442
7498
|
)
|
6443
7499
|
|
6444
7500
|
if 'sort_by' in kwargs:
|
6445
|
-
sort_by_allowed_values = ["timeFirstSeen", "timeLastSeen", "displayName", "installationPath", "osName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount"]
|
7501
|
+
sort_by_allowed_values = ["timeFirstSeen", "timeLastSeen", "displayName", "installationPath", "osName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "approximateLibraryCount"]
|
6446
7502
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
6447
7503
|
raise ValueError(
|
6448
7504
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
@@ -6583,7 +7639,7 @@ class JavaManagementServiceClient(object):
|
|
6583
7639
|
Default order for _displayName_ and _osName_ is **ascending**.
|
6584
7640
|
If no value is specified _timeLastSeen_ is default.
|
6585
7641
|
|
6586
|
-
Allowed values are: "timeFirstSeen", "timeLastSeen", "displayName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "osName"
|
7642
|
+
Allowed values are: "timeFirstSeen", "timeLastSeen", "displayName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "approximateLibraryCount", "osName"
|
6587
7643
|
|
6588
7644
|
:param str opc_request_id: (optional)
|
6589
7645
|
The client request ID for tracing.
|
@@ -6615,14 +7671,14 @@ class JavaManagementServiceClient(object):
|
|
6615
7671
|
:rtype: :class:`~oci.response.Response`
|
6616
7672
|
|
6617
7673
|
:example:
|
6618
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7674
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_application_usage.py.html>`__ to see an example of how to use summarize_application_usage API.
|
6619
7675
|
"""
|
6620
7676
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6621
7677
|
required_arguments = ['fleetId']
|
6622
7678
|
resource_path = "/fleets/{fleetId}/actions/summarizeApplicationUsage"
|
6623
7679
|
method = "GET"
|
6624
7680
|
operation_name = "summarize_application_usage"
|
6625
|
-
api_reference_link = "
|
7681
|
+
api_reference_link = ""
|
6626
7682
|
|
6627
7683
|
# Don't accept unknown kwargs
|
6628
7684
|
expected_kwargs = [
|
@@ -6679,7 +7735,7 @@ class JavaManagementServiceClient(object):
|
|
6679
7735
|
)
|
6680
7736
|
|
6681
7737
|
if 'sort_by' in kwargs:
|
6682
|
-
sort_by_allowed_values = ["timeFirstSeen", "timeLastSeen", "displayName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "osName"]
|
7738
|
+
sort_by_allowed_values = ["timeFirstSeen", "timeLastSeen", "displayName", "approximateJreCount", "approximateInstallationCount", "approximateManagedInstanceCount", "approximateLibraryCount", "osName"]
|
6683
7739
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
6684
7740
|
raise ValueError(
|
6685
7741
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
@@ -6820,7 +7876,7 @@ class JavaManagementServiceClient(object):
|
|
6820
7876
|
The field to sort the deployed application installations. Only one sort order can be provided.
|
6821
7877
|
If no value is specified _timeLastSeen_ is default.
|
6822
7878
|
|
6823
|
-
Allowed values are: "applicationName", "applicationType", "applicationSourcePath", "isClustered", "javaServerInstanceCount", "timeFirstSeen", "timeLastSeen"
|
7879
|
+
Allowed values are: "applicationName", "applicationType", "applicationSourcePath", "isClustered", "javaServerInstanceCount", "approximateJavaServerInstanceCount", "approximateLibraryCount", "timeFirstSeen", "timeLastSeen"
|
6824
7880
|
|
6825
7881
|
:param str opc_request_id: (optional)
|
6826
7882
|
The client request ID for tracing.
|
@@ -6841,14 +7897,14 @@ class JavaManagementServiceClient(object):
|
|
6841
7897
|
:rtype: :class:`~oci.response.Response`
|
6842
7898
|
|
6843
7899
|
:example:
|
6844
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_deployed_application_installation_usage.py.html>`__ to see an example of how to use summarize_deployed_application_installation_usage API.
|
6845
7901
|
"""
|
6846
7902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6847
7903
|
required_arguments = ['fleetId']
|
6848
7904
|
resource_path = "/fleets/{fleetId}/actions/summarizeDeployedApplicationInstallationUsage"
|
6849
7905
|
method = "GET"
|
6850
7906
|
operation_name = "summarize_deployed_application_installation_usage"
|
6851
|
-
api_reference_link = "
|
7907
|
+
api_reference_link = ""
|
6852
7908
|
|
6853
7909
|
# Don't accept unknown kwargs
|
6854
7910
|
expected_kwargs = [
|
@@ -6894,7 +7950,7 @@ class JavaManagementServiceClient(object):
|
|
6894
7950
|
)
|
6895
7951
|
|
6896
7952
|
if 'sort_by' in kwargs:
|
6897
|
-
sort_by_allowed_values = ["applicationName", "applicationType", "applicationSourcePath", "isClustered", "javaServerInstanceCount", "timeFirstSeen", "timeLastSeen"]
|
7953
|
+
sort_by_allowed_values = ["applicationName", "applicationType", "applicationSourcePath", "isClustered", "javaServerInstanceCount", "approximateJavaServerInstanceCount", "approximateLibraryCount", "timeFirstSeen", "timeLastSeen"]
|
6898
7954
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
6899
7955
|
raise ValueError(
|
6900
7956
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
@@ -7018,7 +8074,7 @@ class JavaManagementServiceClient(object):
|
|
7018
8074
|
The field to sort the deployed applications. Only one sort order can be provided.
|
7019
8075
|
If no value is specified _timeLastSeen_ is default.
|
7020
8076
|
|
7021
|
-
Allowed values are: "applicationName", "applicationType", "isClustered", "javaServerInstanceCount", "timeFirstSeen", "timeLastSeen"
|
8077
|
+
Allowed values are: "applicationName", "applicationType", "isClustered", "javaServerInstanceCount", "approximateJavaServerInstanceCount", "approximateLibraryCount", "timeFirstSeen", "timeLastSeen"
|
7022
8078
|
|
7023
8079
|
:param str opc_request_id: (optional)
|
7024
8080
|
The client request ID for tracing.
|
@@ -7039,14 +8095,14 @@ class JavaManagementServiceClient(object):
|
|
7039
8095
|
:rtype: :class:`~oci.response.Response`
|
7040
8096
|
|
7041
8097
|
:example:
|
7042
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8098
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_deployed_application_usage.py.html>`__ to see an example of how to use summarize_deployed_application_usage API.
|
7043
8099
|
"""
|
7044
8100
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7045
8101
|
required_arguments = ['fleetId']
|
7046
8102
|
resource_path = "/fleets/{fleetId}/actions/summarizeDeployedApplicationUsage"
|
7047
8103
|
method = "GET"
|
7048
8104
|
operation_name = "summarize_deployed_application_usage"
|
7049
|
-
api_reference_link = "
|
8105
|
+
api_reference_link = ""
|
7050
8106
|
|
7051
8107
|
# Don't accept unknown kwargs
|
7052
8108
|
expected_kwargs = [
|
@@ -7090,7 +8146,7 @@ class JavaManagementServiceClient(object):
|
|
7090
8146
|
)
|
7091
8147
|
|
7092
8148
|
if 'sort_by' in kwargs:
|
7093
|
-
sort_by_allowed_values = ["applicationName", "applicationType", "isClustered", "javaServerInstanceCount", "timeFirstSeen", "timeLastSeen"]
|
8149
|
+
sort_by_allowed_values = ["applicationName", "applicationType", "isClustered", "javaServerInstanceCount", "approximateJavaServerInstanceCount", "approximateLibraryCount", "timeFirstSeen", "timeLastSeen"]
|
7094
8150
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
7095
8151
|
raise ValueError(
|
7096
8152
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
@@ -7247,14 +8303,14 @@ class JavaManagementServiceClient(object):
|
|
7247
8303
|
:rtype: :class:`~oci.response.Response`
|
7248
8304
|
|
7249
8305
|
:example:
|
7250
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8306
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_installation_usage.py.html>`__ to see an example of how to use summarize_installation_usage API.
|
7251
8307
|
"""
|
7252
8308
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7253
8309
|
required_arguments = ['fleetId']
|
7254
8310
|
resource_path = "/fleets/{fleetId}/actions/summarizeInstallationUsage"
|
7255
8311
|
method = "GET"
|
7256
8312
|
operation_name = "summarize_installation_usage"
|
7257
|
-
api_reference_link = "
|
8313
|
+
api_reference_link = ""
|
7258
8314
|
|
7259
8315
|
# Don't accept unknown kwargs
|
7260
8316
|
expected_kwargs = [
|
@@ -7461,14 +8517,14 @@ class JavaManagementServiceClient(object):
|
|
7461
8517
|
:rtype: :class:`~oci.response.Response`
|
7462
8518
|
|
7463
8519
|
:example:
|
7464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8520
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_java_server_instance_usage.py.html>`__ to see an example of how to use summarize_java_server_instance_usage API.
|
7465
8521
|
"""
|
7466
8522
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7467
8523
|
required_arguments = ['fleetId']
|
7468
8524
|
resource_path = "/fleets/{fleetId}/actions/summarizeJavaServerInstanceUsage"
|
7469
8525
|
method = "GET"
|
7470
8526
|
operation_name = "summarize_java_server_instance_usage"
|
7471
|
-
api_reference_link = "
|
8527
|
+
api_reference_link = ""
|
7472
8528
|
|
7473
8529
|
# Don't accept unknown kwargs
|
7474
8530
|
expected_kwargs = [
|
@@ -7646,14 +8702,14 @@ class JavaManagementServiceClient(object):
|
|
7646
8702
|
:rtype: :class:`~oci.response.Response`
|
7647
8703
|
|
7648
8704
|
:example:
|
7649
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8705
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_java_server_usage.py.html>`__ to see an example of how to use summarize_java_server_usage API.
|
7650
8706
|
"""
|
7651
8707
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7652
8708
|
required_arguments = ['fleetId']
|
7653
8709
|
resource_path = "/fleets/{fleetId}/actions/summarizeJavaServerUsage"
|
7654
8710
|
method = "GET"
|
7655
8711
|
operation_name = "summarize_java_server_usage"
|
7656
|
-
api_reference_link = "
|
8712
|
+
api_reference_link = ""
|
7657
8713
|
|
7658
8714
|
# Don't accept unknown kwargs
|
7659
8715
|
expected_kwargs = [
|
@@ -7852,14 +8908,14 @@ class JavaManagementServiceClient(object):
|
|
7852
8908
|
:rtype: :class:`~oci.response.Response`
|
7853
8909
|
|
7854
8910
|
:example:
|
7855
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8911
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_jre_usage.py.html>`__ to see an example of how to use summarize_jre_usage API.
|
7856
8912
|
"""
|
7857
8913
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7858
8914
|
required_arguments = ['fleetId']
|
7859
8915
|
resource_path = "/fleets/{fleetId}/actions/summarizeJreUsage"
|
7860
8916
|
method = "GET"
|
7861
8917
|
operation_name = "summarize_jre_usage"
|
7862
|
-
api_reference_link = "
|
8918
|
+
api_reference_link = ""
|
7863
8919
|
|
7864
8920
|
# Don't accept unknown kwargs
|
7865
8921
|
expected_kwargs = [
|
@@ -8024,6 +9080,12 @@ class JavaManagementServiceClient(object):
|
|
8024
9080
|
:param str library_name: (optional)
|
8025
9081
|
The library name.
|
8026
9082
|
|
9083
|
+
:param int cvss_score_greater_than: (optional)
|
9084
|
+
Total Common Vulnerability Scoring System (CVSS) Score reported by the analysis.
|
9085
|
+
|
9086
|
+
:param int cvss_score_less_than: (optional)
|
9087
|
+
Total Common Vulnerability Scoring System (CVSS) Score reported by the analysis.
|
9088
|
+
|
8027
9089
|
:param datetime time_start: (optional)
|
8028
9090
|
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
8029
9091
|
|
@@ -8070,14 +9132,14 @@ class JavaManagementServiceClient(object):
|
|
8070
9132
|
:rtype: :class:`~oci.response.Response`
|
8071
9133
|
|
8072
9134
|
:example:
|
8073
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9135
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_library_usage.py.html>`__ to see an example of how to use summarize_library_usage API.
|
8074
9136
|
"""
|
8075
9137
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8076
9138
|
required_arguments = ['fleetId']
|
8077
9139
|
resource_path = "/fleets/{fleetId}/actions/summarizeLibraryUsage"
|
8078
9140
|
method = "GET"
|
8079
9141
|
operation_name = "summarize_library_usage"
|
8080
|
-
api_reference_link = "
|
9142
|
+
api_reference_link = ""
|
8081
9143
|
|
8082
9144
|
# Don't accept unknown kwargs
|
8083
9145
|
expected_kwargs = [
|
@@ -8089,6 +9151,8 @@ class JavaManagementServiceClient(object):
|
|
8089
9151
|
"library_key",
|
8090
9152
|
"library_name_contains",
|
8091
9153
|
"library_name",
|
9154
|
+
"cvss_score_greater_than",
|
9155
|
+
"cvss_score_less_than",
|
8092
9156
|
"time_start",
|
8093
9157
|
"time_end",
|
8094
9158
|
"limit",
|
@@ -8133,6 +9197,8 @@ class JavaManagementServiceClient(object):
|
|
8133
9197
|
"libraryKey": kwargs.get("library_key", missing),
|
8134
9198
|
"libraryNameContains": kwargs.get("library_name_contains", missing),
|
8135
9199
|
"libraryName": kwargs.get("library_name", missing),
|
9200
|
+
"cvssScoreGreaterThan": kwargs.get("cvss_score_greater_than", missing),
|
9201
|
+
"cvssScoreLessThan": kwargs.get("cvss_score_less_than", missing),
|
8136
9202
|
"timeStart": kwargs.get("time_start", missing),
|
8137
9203
|
"timeEnd": kwargs.get("time_end", missing),
|
8138
9204
|
"limit": kwargs.get("limit", missing),
|
@@ -8201,7 +9267,7 @@ class JavaManagementServiceClient(object):
|
|
8201
9267
|
:param str managed_instance_type: (optional)
|
8202
9268
|
The type of the managed instance.
|
8203
9269
|
|
8204
|
-
Allowed values are: "ORACLE_MANAGEMENT_AGENT"
|
9270
|
+
Allowed values are: "ORACLE_MANAGEMENT_AGENT", "ORACLE_CLOUD_AGENT"
|
8205
9271
|
|
8206
9272
|
:param str jre_vendor: (optional)
|
8207
9273
|
The vendor of the related Java Runtime.
|
@@ -8285,14 +9351,14 @@ class JavaManagementServiceClient(object):
|
|
8285
9351
|
:rtype: :class:`~oci.response.Response`
|
8286
9352
|
|
8287
9353
|
:example:
|
8288
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9354
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_managed_instance_usage.py.html>`__ to see an example of how to use summarize_managed_instance_usage API.
|
8289
9355
|
"""
|
8290
9356
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8291
9357
|
required_arguments = ['fleetId']
|
8292
9358
|
resource_path = "/fleets/{fleetId}/actions/summarizeManagedInstanceUsage"
|
8293
9359
|
method = "GET"
|
8294
9360
|
operation_name = "summarize_managed_instance_usage"
|
8295
|
-
api_reference_link = "
|
9361
|
+
api_reference_link = ""
|
8296
9362
|
|
8297
9363
|
# Don't accept unknown kwargs
|
8298
9364
|
expected_kwargs = [
|
@@ -8333,7 +9399,7 @@ class JavaManagementServiceClient(object):
|
|
8333
9399
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8334
9400
|
|
8335
9401
|
if 'managed_instance_type' in kwargs:
|
8336
|
-
managed_instance_type_allowed_values = ["ORACLE_MANAGEMENT_AGENT"]
|
9402
|
+
managed_instance_type_allowed_values = ["ORACLE_MANAGEMENT_AGENT", "ORACLE_CLOUD_AGENT"]
|
8337
9403
|
if kwargs['managed_instance_type'] not in managed_instance_type_allowed_values:
|
8338
9404
|
raise ValueError(
|
8339
9405
|
f"Invalid value for `managed_instance_type`, must be one of { managed_instance_type_allowed_values }"
|
@@ -8472,14 +9538,14 @@ class JavaManagementServiceClient(object):
|
|
8472
9538
|
:rtype: :class:`~oci.response.Response`
|
8473
9539
|
|
8474
9540
|
:example:
|
8475
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/summarize_resource_inventory.py.html>`__ to see an example of how to use summarize_resource_inventory API.
|
8476
9542
|
"""
|
8477
9543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8478
9544
|
required_arguments = []
|
8479
9545
|
resource_path = "/summarizeResourceInventory"
|
8480
9546
|
method = "GET"
|
8481
9547
|
operation_name = "summarize_resource_inventory"
|
8482
|
-
api_reference_link = "
|
9548
|
+
api_reference_link = ""
|
8483
9549
|
|
8484
9550
|
# Don't accept unknown kwargs
|
8485
9551
|
expected_kwargs = [
|
@@ -8545,7 +9611,7 @@ class JavaManagementServiceClient(object):
|
|
8545
9611
|
|
8546
9612
|
def update_drs_file(self, fleet_id, update_drs_file_details, drs_file_key, **kwargs):
|
8547
9613
|
"""
|
8548
|
-
Request to perform
|
9614
|
+
Request to perform validation of the DRS file and update the existing file in the Object Storage.
|
8549
9615
|
|
8550
9616
|
|
8551
9617
|
:param str fleet_id: (required)
|
@@ -8592,14 +9658,14 @@ class JavaManagementServiceClient(object):
|
|
8592
9658
|
:rtype: :class:`~oci.response.Response`
|
8593
9659
|
|
8594
9660
|
:example:
|
8595
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9661
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_drs_file.py.html>`__ to see an example of how to use update_drs_file API.
|
8596
9662
|
"""
|
8597
9663
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8598
9664
|
required_arguments = ['fleetId', 'drsFileKey']
|
8599
9665
|
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
8600
9666
|
method = "PUT"
|
8601
9667
|
operation_name = "update_drs_file"
|
8602
|
-
api_reference_link = "
|
9668
|
+
api_reference_link = ""
|
8603
9669
|
|
8604
9670
|
# Don't accept unknown kwargs
|
8605
9671
|
expected_kwargs = [
|
@@ -8671,7 +9737,7 @@ class JavaManagementServiceClient(object):
|
|
8671
9737
|
|
8672
9738
|
def update_export_setting(self, fleet_id, update_export_setting_details, **kwargs):
|
8673
9739
|
"""
|
8674
|
-
Updates existing export setting for the specified
|
9740
|
+
Updates existing export setting for the specified fleet.
|
8675
9741
|
|
8676
9742
|
|
8677
9743
|
:param str fleet_id: (required)
|
@@ -8680,7 +9746,7 @@ class JavaManagementServiceClient(object):
|
|
8680
9746
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
8681
9747
|
|
8682
9748
|
:param oci.jms.models.UpdateExportSettingDetails update_export_setting_details: (required)
|
8683
|
-
The new details for the
|
9749
|
+
The new details for the export setting.
|
8684
9750
|
|
8685
9751
|
:param str if_match: (optional)
|
8686
9752
|
For optimistic concurrency control. In the PUT or DELETE call
|
@@ -8708,14 +9774,14 @@ class JavaManagementServiceClient(object):
|
|
8708
9774
|
:rtype: :class:`~oci.response.Response`
|
8709
9775
|
|
8710
9776
|
:example:
|
8711
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9777
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_export_setting.py.html>`__ to see an example of how to use update_export_setting API.
|
8712
9778
|
"""
|
8713
9779
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8714
9780
|
required_arguments = ['fleetId']
|
8715
9781
|
resource_path = "/fleets/{fleetId}/exportSetting"
|
8716
9782
|
method = "PUT"
|
8717
9783
|
operation_name = "update_export_setting"
|
8718
|
-
api_reference_link = "
|
9784
|
+
api_reference_link = ""
|
8719
9785
|
|
8720
9786
|
# Don't accept unknown kwargs
|
8721
9787
|
expected_kwargs = [
|
@@ -8822,14 +9888,14 @@ class JavaManagementServiceClient(object):
|
|
8822
9888
|
:rtype: :class:`~oci.response.Response`
|
8823
9889
|
|
8824
9890
|
:example:
|
8825
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9891
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_fleet.py.html>`__ to see an example of how to use update_fleet API.
|
8826
9892
|
"""
|
8827
9893
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8828
9894
|
required_arguments = ['fleetId']
|
8829
9895
|
resource_path = "/fleets/{fleetId}"
|
8830
9896
|
method = "PUT"
|
8831
9897
|
operation_name = "update_fleet"
|
8832
|
-
api_reference_link = "
|
9898
|
+
api_reference_link = ""
|
8833
9899
|
|
8834
9900
|
# Don't accept unknown kwargs
|
8835
9901
|
expected_kwargs = [
|
@@ -8942,14 +10008,14 @@ class JavaManagementServiceClient(object):
|
|
8942
10008
|
:rtype: :class:`~oci.response.Response`
|
8943
10009
|
|
8944
10010
|
:example:
|
8945
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10011
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_fleet_advanced_feature_configuration.py.html>`__ to see an example of how to use update_fleet_advanced_feature_configuration API.
|
8946
10012
|
"""
|
8947
10013
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8948
10014
|
required_arguments = ['fleetId']
|
8949
10015
|
resource_path = "/fleets/{fleetId}/advancedFeatureConfiguration"
|
8950
10016
|
method = "PUT"
|
8951
10017
|
operation_name = "update_fleet_advanced_feature_configuration"
|
8952
|
-
api_reference_link = "
|
10018
|
+
api_reference_link = ""
|
8953
10019
|
|
8954
10020
|
# Don't accept unknown kwargs
|
8955
10021
|
expected_kwargs = [
|
@@ -9059,14 +10125,14 @@ class JavaManagementServiceClient(object):
|
|
9059
10125
|
:rtype: :class:`~oci.response.Response`
|
9060
10126
|
|
9061
10127
|
:example:
|
9062
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10128
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_fleet_agent_configuration.py.html>`__ to see an example of how to use update_fleet_agent_configuration API.
|
9063
10129
|
"""
|
9064
10130
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9065
10131
|
required_arguments = ['fleetId']
|
9066
10132
|
resource_path = "/fleets/{fleetId}/agentConfiguration"
|
9067
10133
|
method = "PUT"
|
9068
10134
|
operation_name = "update_fleet_agent_configuration"
|
9069
|
-
api_reference_link = "
|
10135
|
+
api_reference_link = ""
|
9070
10136
|
|
9071
10137
|
# Don't accept unknown kwargs
|
9072
10138
|
expected_kwargs = [
|
@@ -9131,3 +10197,117 @@ class JavaManagementServiceClient(object):
|
|
9131
10197
|
operation_name=operation_name,
|
9132
10198
|
api_reference_link=api_reference_link,
|
9133
10199
|
required_arguments=required_arguments)
|
10200
|
+
|
10201
|
+
def update_jms_plugin(self, jms_plugin_id, update_jms_plugin_details, **kwargs):
|
10202
|
+
"""
|
10203
|
+
Updates the Fleet of a JmsPlugin.
|
10204
|
+
|
10205
|
+
|
10206
|
+
:param str jms_plugin_id: (required)
|
10207
|
+
The `OCID`__ of the JmsPlugin.
|
10208
|
+
|
10209
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
10210
|
+
|
10211
|
+
:param oci.jms.models.UpdateJmsPluginDetails update_jms_plugin_details: (required)
|
10212
|
+
The new details for the JmsPlugin.
|
10213
|
+
|
10214
|
+
:param str if_match: (optional)
|
10215
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
10216
|
+
for a resource, set the `if-match` parameter to the value of the
|
10217
|
+
ETag from a previous GET or POST response for that resource.
|
10218
|
+
The resource will be updated or deleted only if the ETag you
|
10219
|
+
provide matches the resource's current ETag value.
|
10220
|
+
|
10221
|
+
:param str opc_request_id: (optional)
|
10222
|
+
The client request ID for tracing.
|
10223
|
+
|
10224
|
+
:param obj retry_strategy: (optional)
|
10225
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10226
|
+
|
10227
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
10228
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10229
|
+
|
10230
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10231
|
+
|
10232
|
+
:param bool allow_control_chars: (optional)
|
10233
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10234
|
+
By default, the response will not allow control characters in strings
|
10235
|
+
|
10236
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.JmsPlugin`
|
10237
|
+
:rtype: :class:`~oci.response.Response`
|
10238
|
+
|
10239
|
+
:example:
|
10240
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.131.0/jms/update_jms_plugin.py.html>`__ to see an example of how to use update_jms_plugin API.
|
10241
|
+
"""
|
10242
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10243
|
+
required_arguments = ['jmsPluginId']
|
10244
|
+
resource_path = "/jmsPlugins/{jmsPluginId}"
|
10245
|
+
method = "PUT"
|
10246
|
+
operation_name = "update_jms_plugin"
|
10247
|
+
api_reference_link = ""
|
10248
|
+
|
10249
|
+
# Don't accept unknown kwargs
|
10250
|
+
expected_kwargs = [
|
10251
|
+
"allow_control_chars",
|
10252
|
+
"retry_strategy",
|
10253
|
+
"if_match",
|
10254
|
+
"opc_request_id"
|
10255
|
+
]
|
10256
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10257
|
+
if extra_kwargs:
|
10258
|
+
raise ValueError(
|
10259
|
+
f"update_jms_plugin got unknown kwargs: {extra_kwargs!r}")
|
10260
|
+
|
10261
|
+
path_params = {
|
10262
|
+
"jmsPluginId": jms_plugin_id
|
10263
|
+
}
|
10264
|
+
|
10265
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
10266
|
+
|
10267
|
+
for (k, v) in six.iteritems(path_params):
|
10268
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
10269
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
10270
|
+
|
10271
|
+
header_params = {
|
10272
|
+
"accept": "application/json",
|
10273
|
+
"content-type": "application/json",
|
10274
|
+
"if-match": kwargs.get("if_match", missing),
|
10275
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10276
|
+
}
|
10277
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10278
|
+
|
10279
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10280
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10281
|
+
client_retry_strategy=self.retry_strategy
|
10282
|
+
)
|
10283
|
+
if retry_strategy is None:
|
10284
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10285
|
+
|
10286
|
+
if retry_strategy:
|
10287
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10288
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10289
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10290
|
+
return retry_strategy.make_retrying_call(
|
10291
|
+
self.base_client.call_api,
|
10292
|
+
resource_path=resource_path,
|
10293
|
+
method=method,
|
10294
|
+
path_params=path_params,
|
10295
|
+
header_params=header_params,
|
10296
|
+
body=update_jms_plugin_details,
|
10297
|
+
response_type="JmsPlugin",
|
10298
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10299
|
+
operation_name=operation_name,
|
10300
|
+
api_reference_link=api_reference_link,
|
10301
|
+
required_arguments=required_arguments)
|
10302
|
+
else:
|
10303
|
+
return self.base_client.call_api(
|
10304
|
+
resource_path=resource_path,
|
10305
|
+
method=method,
|
10306
|
+
path_params=path_params,
|
10307
|
+
header_params=header_params,
|
10308
|
+
body=update_jms_plugin_details,
|
10309
|
+
response_type="JmsPlugin",
|
10310
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10311
|
+
operation_name=operation_name,
|
10312
|
+
api_reference_link=api_reference_link,
|
10313
|
+
required_arguments=required_arguments)
|