oci 2.115.0__py3-none-any.whl → 2.115.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +3 -17
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +47 -47
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +90 -90
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +141 -141
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +252 -252
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +645 -319
- oci/database/database_client_composite_operations.py +176 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_container_database.py +7 -3
- oci/database/models/autonomous_container_database_summary.py +7 -3
- oci/database/models/configure_saas_admin_user_details.py +284 -0
- oci/database/models/create_autonomous_container_database_dataguard_association_details.py +321 -0
- oci/database/models/database_connection_string_profile.py +33 -2
- oci/database/models/generate_autonomous_database_wallet_details.py +33 -2
- oci/database/models/saas_admin_user_configuration.py +284 -0
- oci/database/models/saas_admin_user_status.py +154 -0
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +57 -57
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +190 -190
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +1352 -164
- oci/jms/java_management_service_client_composite_operations.py +226 -0
- oci/jms/models/__init__.py +32 -0
- oci/jms/models/agent.py +240 -0
- oci/jms/models/announcement_summary.py +1 -1
- oci/jms/models/application_work_item_details.py +2 -2
- oci/jms/models/basic_work_item_details.py +2 -2
- oci/jms/models/blocklist.py +31 -3
- oci/jms/models/blocklist_entry.py +31 -3
- oci/jms/models/create_blocklist_details.py +31 -3
- oci/jms/models/create_drs_file_details.py +134 -0
- oci/jms/models/disable_drs_details.py +69 -0
- oci/jms/models/drs_file.py +272 -0
- oci/jms/models/drs_file_collection.py +72 -0
- oci/jms/models/drs_file_summary.py +272 -0
- oci/jms/models/drs_target.py +72 -0
- oci/jms/models/enable_drs_details.py +69 -0
- oci/jms/models/export_setting.py +485 -0
- oci/jms/models/export_status.py +201 -0
- oci/jms/models/fleet.py +31 -0
- oci/jms/models/fleet_agent_configuration.py +27 -0
- oci/jms/models/fleet_summary.py +31 -0
- oci/jms/models/java_artifact.py +262 -2
- oci/jms/models/java_family.py +103 -2
- oci/jms/models/java_family_summary.py +70 -2
- oci/jms/models/java_migration_analysis_result.py +31 -0
- oci/jms/models/java_migration_analysis_result_summary.py +31 -0
- oci/jms/models/java_release.py +66 -2
- oci/jms/models/java_release_summary.py +66 -2
- oci/jms/models/lcm_work_item_details.py +86 -0
- oci/jms/models/manage_drs_details.py +73 -0
- oci/jms/models/managed_instance_usage.py +82 -0
- oci/jms/models/patch_detail.py +103 -0
- oci/jms/models/performance_tuning_analysis.py +2 -2
- oci/jms/models/plugin.py +103 -0
- oci/jms/models/request_crypto_analyses_details.py +2 -2
- oci/jms/models/update_drs_file_details.py +134 -0
- oci/jms/models/update_export_setting_details.py +349 -0
- oci/jms/models/update_fleet_agent_configuration_details.py +29 -2
- oci/jms/models/work_item_details.py +34 -6
- oci/jms/models/work_request.py +31 -3
- oci/jms_java_downloads/__init__.py +14 -0
- oci/jms_java_downloads/java_download_client.py +3088 -0
- oci/jms_java_downloads/java_download_client_composite_operations.py +384 -0
- oci/jms_java_downloads/models/__init__.py +80 -0
- oci/jms_java_downloads/models/create_java_download_report_details.py +289 -0
- oci/jms_java_downloads/models/create_java_download_token_details.py +336 -0
- oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +174 -0
- oci/jms_java_downloads/models/download_url.py +119 -0
- oci/jms_java_downloads/models/generate_artifact_download_url_details.py +72 -0
- oci/jms_java_downloads/models/java_download_count_aggregation.py +289 -0
- oci/jms_java_downloads/models/java_download_count_aggregation_collection.py +123 -0
- oci/jms_java_downloads/models/java_download_record.py +351 -0
- oci/jms_java_downloads/models/java_download_record_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_record_summary.py +351 -0
- oci/jms_java_downloads/models/java_download_report.py +533 -0
- oci/jms_java_downloads/models/java_download_report_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_report_summary.py +532 -0
- oci/jms_java_downloads/models/java_download_token.py +710 -0
- oci/jms_java_downloads/models/java_download_token_collection.py +72 -0
- oci/jms_java_downloads/models/java_download_token_summary.py +710 -0
- oci/jms_java_downloads/models/java_license.py +154 -0
- oci/jms_java_downloads/models/java_license_acceptance_record.py +513 -0
- oci/jms_java_downloads/models/java_license_acceptance_record_collection.py +72 -0
- oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +513 -0
- oci/jms_java_downloads/models/java_license_collection.py +72 -0
- oci/jms_java_downloads/models/java_license_summary.py +154 -0
- oci/jms_java_downloads/models/principal.py +138 -0
- oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +415 -0
- oci/jms_java_downloads/models/update_java_download_token_details.py +270 -0
- oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +88 -0
- oci/jms_java_downloads/models/work_request.py +412 -0
- oci/jms_java_downloads/models/work_request_error.py +136 -0
- oci/jms_java_downloads/models/work_request_error_collection.py +72 -0
- oci/jms_java_downloads/models/work_request_log_entry.py +103 -0
- oci/jms_java_downloads/models/work_request_log_entry_collection.py +72 -0
- oci/jms_java_downloads/models/work_request_resource.py +203 -0
- oci/jms_java_downloads/models/work_request_summary.py +412 -0
- oci/jms_java_downloads/models/work_request_summary_collection.py +72 -0
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +192 -192
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/esxi_host_client.py +6 -6
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +159 -159
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +19 -19
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/METADATA +1 -1
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/RECORD +325 -267
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/WHEEL +0 -0
- {oci-2.115.0.dist-info → oci-2.115.1.dist-info}/top_level.txt +0 -0
@@ -162,7 +162,7 @@ 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.115.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/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']
|
@@ -274,7 +274,7 @@ 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.115.
|
277
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/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']
|
@@ -391,7 +391,7 @@ 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.115.
|
394
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/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']
|
@@ -506,7 +506,7 @@ 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.115.
|
509
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/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']
|
@@ -582,6 +582,128 @@ class JavaManagementServiceClient(object):
|
|
582
582
|
api_reference_link=api_reference_link,
|
583
583
|
required_arguments=required_arguments)
|
584
584
|
|
585
|
+
def create_drs_file(self, fleet_id, create_drs_file_details, **kwargs):
|
586
|
+
"""
|
587
|
+
Request to perform validaition of the DRS file and create the file to the Object Storage.
|
588
|
+
|
589
|
+
|
590
|
+
:param str fleet_id: (required)
|
591
|
+
The `OCID`__ of the Fleet.
|
592
|
+
|
593
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
594
|
+
|
595
|
+
:param oci.jms.models.CreateDrsFileDetails create_drs_file_details: (required)
|
596
|
+
Detail information to create DRS
|
597
|
+
|
598
|
+
:param str opc_request_id: (optional)
|
599
|
+
The client request ID for tracing.
|
600
|
+
|
601
|
+
:param str if_match: (optional)
|
602
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
603
|
+
for a resource, set the `if-match` parameter to the value of the
|
604
|
+
ETag from a previous GET or POST response for that resource.
|
605
|
+
The resource will be updated or deleted only if the ETag you
|
606
|
+
provide matches the resource's current ETag value.
|
607
|
+
|
608
|
+
:param str opc_retry_token: (optional)
|
609
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
610
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
611
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
612
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
613
|
+
might be rejected.
|
614
|
+
|
615
|
+
:param obj retry_strategy: (optional)
|
616
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
617
|
+
|
618
|
+
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.
|
619
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
620
|
+
|
621
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
622
|
+
|
623
|
+
:param bool allow_control_chars: (optional)
|
624
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
625
|
+
By default, the response will not allow control characters in strings
|
626
|
+
|
627
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
628
|
+
:rtype: :class:`~oci.response.Response`
|
629
|
+
|
630
|
+
:example:
|
631
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/create_drs_file.py.html>`__ to see an example of how to use create_drs_file API.
|
632
|
+
"""
|
633
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
634
|
+
required_arguments = ['fleetId']
|
635
|
+
resource_path = "/fleets/{fleetId}/drsFiles"
|
636
|
+
method = "POST"
|
637
|
+
operation_name = "create_drs_file"
|
638
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/CreateDrsFile"
|
639
|
+
|
640
|
+
# Don't accept unknown kwargs
|
641
|
+
expected_kwargs = [
|
642
|
+
"allow_control_chars",
|
643
|
+
"retry_strategy",
|
644
|
+
"opc_request_id",
|
645
|
+
"if_match",
|
646
|
+
"opc_retry_token"
|
647
|
+
]
|
648
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
649
|
+
if extra_kwargs:
|
650
|
+
raise ValueError(
|
651
|
+
f"create_drs_file got unknown kwargs: {extra_kwargs!r}")
|
652
|
+
|
653
|
+
path_params = {
|
654
|
+
"fleetId": fleet_id
|
655
|
+
}
|
656
|
+
|
657
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
658
|
+
|
659
|
+
for (k, v) in six.iteritems(path_params):
|
660
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
661
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
662
|
+
|
663
|
+
header_params = {
|
664
|
+
"accept": "application/json",
|
665
|
+
"content-type": "application/json",
|
666
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
667
|
+
"if-match": kwargs.get("if_match", missing),
|
668
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
669
|
+
}
|
670
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
671
|
+
|
672
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
673
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
674
|
+
client_retry_strategy=self.retry_strategy
|
675
|
+
)
|
676
|
+
if retry_strategy is None:
|
677
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
678
|
+
|
679
|
+
if retry_strategy:
|
680
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
681
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
682
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
683
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
684
|
+
return retry_strategy.make_retrying_call(
|
685
|
+
self.base_client.call_api,
|
686
|
+
resource_path=resource_path,
|
687
|
+
method=method,
|
688
|
+
path_params=path_params,
|
689
|
+
header_params=header_params,
|
690
|
+
body=create_drs_file_details,
|
691
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
692
|
+
operation_name=operation_name,
|
693
|
+
api_reference_link=api_reference_link,
|
694
|
+
required_arguments=required_arguments)
|
695
|
+
else:
|
696
|
+
return self.base_client.call_api(
|
697
|
+
resource_path=resource_path,
|
698
|
+
method=method,
|
699
|
+
path_params=path_params,
|
700
|
+
header_params=header_params,
|
701
|
+
body=create_drs_file_details,
|
702
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
703
|
+
operation_name=operation_name,
|
704
|
+
api_reference_link=api_reference_link,
|
705
|
+
required_arguments=required_arguments)
|
706
|
+
|
585
707
|
def create_fleet(self, create_fleet_details, **kwargs):
|
586
708
|
"""
|
587
709
|
Create a new Fleet using the information provided.
|
@@ -624,7 +746,7 @@ class JavaManagementServiceClient(object):
|
|
624
746
|
:rtype: :class:`~oci.response.Response`
|
625
747
|
|
626
748
|
:example:
|
627
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/create_fleet.py.html>`__ to see an example of how to use create_fleet API.
|
628
750
|
"""
|
629
751
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
630
752
|
required_arguments = []
|
@@ -725,7 +847,7 @@ class JavaManagementServiceClient(object):
|
|
725
847
|
:rtype: :class:`~oci.response.Response`
|
726
848
|
|
727
849
|
:example:
|
728
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
850
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_blocklist.py.html>`__ to see an example of how to use delete_blocklist API.
|
729
851
|
"""
|
730
852
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
731
853
|
required_arguments = ['fleetId', 'blocklistKey']
|
@@ -836,7 +958,7 @@ class JavaManagementServiceClient(object):
|
|
836
958
|
:rtype: :class:`~oci.response.Response`
|
837
959
|
|
838
960
|
:example:
|
839
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
961
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_crypto_analysis_result.py.html>`__ to see an example of how to use delete_crypto_analysis_result API.
|
840
962
|
"""
|
841
963
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
842
964
|
required_arguments = ['fleetId', 'cryptoAnalysisResultId']
|
@@ -908,6 +1030,117 @@ class JavaManagementServiceClient(object):
|
|
908
1030
|
api_reference_link=api_reference_link,
|
909
1031
|
required_arguments=required_arguments)
|
910
1032
|
|
1033
|
+
def delete_drs_file(self, fleet_id, drs_file_key, **kwargs):
|
1034
|
+
"""
|
1035
|
+
Request to delete the DRS file from the Object Storage.
|
1036
|
+
|
1037
|
+
|
1038
|
+
:param str fleet_id: (required)
|
1039
|
+
The `OCID`__ of the Fleet.
|
1040
|
+
|
1041
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1042
|
+
|
1043
|
+
:param str drs_file_key: (required)
|
1044
|
+
The unique identifier of the DRS File in Object Storage.
|
1045
|
+
|
1046
|
+
:param str opc_request_id: (optional)
|
1047
|
+
The client request ID for tracing.
|
1048
|
+
|
1049
|
+
:param str if_match: (optional)
|
1050
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1051
|
+
for a resource, set the `if-match` parameter to the value of the
|
1052
|
+
ETag from a previous GET or POST response for that resource.
|
1053
|
+
The resource will be updated or deleted only if the ETag you
|
1054
|
+
provide matches the resource's current ETag value.
|
1055
|
+
|
1056
|
+
:param obj retry_strategy: (optional)
|
1057
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1058
|
+
|
1059
|
+
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.
|
1060
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1061
|
+
|
1062
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1063
|
+
|
1064
|
+
:param bool allow_control_chars: (optional)
|
1065
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1066
|
+
By default, the response will not allow control characters in strings
|
1067
|
+
|
1068
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1069
|
+
:rtype: :class:`~oci.response.Response`
|
1070
|
+
|
1071
|
+
:example:
|
1072
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_drs_file.py.html>`__ to see an example of how to use delete_drs_file API.
|
1073
|
+
"""
|
1074
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1075
|
+
required_arguments = ['fleetId', 'drsFileKey']
|
1076
|
+
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
1077
|
+
method = "DELETE"
|
1078
|
+
operation_name = "delete_drs_file"
|
1079
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/DrsFile/DeleteDrsFile"
|
1080
|
+
|
1081
|
+
# Don't accept unknown kwargs
|
1082
|
+
expected_kwargs = [
|
1083
|
+
"allow_control_chars",
|
1084
|
+
"retry_strategy",
|
1085
|
+
"opc_request_id",
|
1086
|
+
"if_match"
|
1087
|
+
]
|
1088
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1089
|
+
if extra_kwargs:
|
1090
|
+
raise ValueError(
|
1091
|
+
f"delete_drs_file got unknown kwargs: {extra_kwargs!r}")
|
1092
|
+
|
1093
|
+
path_params = {
|
1094
|
+
"fleetId": fleet_id,
|
1095
|
+
"drsFileKey": drs_file_key
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1099
|
+
|
1100
|
+
for (k, v) in six.iteritems(path_params):
|
1101
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1102
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1103
|
+
|
1104
|
+
header_params = {
|
1105
|
+
"accept": "application/json",
|
1106
|
+
"content-type": "application/json",
|
1107
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1108
|
+
"if-match": kwargs.get("if_match", missing)
|
1109
|
+
}
|
1110
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1111
|
+
|
1112
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1113
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1114
|
+
client_retry_strategy=self.retry_strategy
|
1115
|
+
)
|
1116
|
+
if retry_strategy is None:
|
1117
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1118
|
+
|
1119
|
+
if retry_strategy:
|
1120
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1121
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1122
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1123
|
+
return retry_strategy.make_retrying_call(
|
1124
|
+
self.base_client.call_api,
|
1125
|
+
resource_path=resource_path,
|
1126
|
+
method=method,
|
1127
|
+
path_params=path_params,
|
1128
|
+
header_params=header_params,
|
1129
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1130
|
+
operation_name=operation_name,
|
1131
|
+
api_reference_link=api_reference_link,
|
1132
|
+
required_arguments=required_arguments)
|
1133
|
+
else:
|
1134
|
+
return self.base_client.call_api(
|
1135
|
+
resource_path=resource_path,
|
1136
|
+
method=method,
|
1137
|
+
path_params=path_params,
|
1138
|
+
header_params=header_params,
|
1139
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1140
|
+
operation_name=operation_name,
|
1141
|
+
api_reference_link=api_reference_link,
|
1142
|
+
required_arguments=required_arguments)
|
1143
|
+
|
911
1144
|
def delete_fleet(self, fleet_id, **kwargs):
|
912
1145
|
"""
|
913
1146
|
Deletes the Fleet specified by an identifier.
|
@@ -944,7 +1177,7 @@ class JavaManagementServiceClient(object):
|
|
944
1177
|
:rtype: :class:`~oci.response.Response`
|
945
1178
|
|
946
1179
|
:example:
|
947
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
1180
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_fleet.py.html>`__ to see an example of how to use delete_fleet API.
|
948
1181
|
"""
|
949
1182
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
950
1183
|
required_arguments = ['fleetId']
|
@@ -1017,7 +1250,578 @@ class JavaManagementServiceClient(object):
|
|
1017
1250
|
|
1018
1251
|
def delete_java_migration_analysis_result(self, fleet_id, java_migration_analysis_result_id, **kwargs):
|
1019
1252
|
"""
|
1020
|
-
Delete the Java migration analysis result. The actual report will remain in the Object Storage bucket.
|
1253
|
+
Delete the Java migration analysis result. The actual report will remain in the Object Storage bucket.
|
1254
|
+
|
1255
|
+
|
1256
|
+
:param str fleet_id: (required)
|
1257
|
+
The `OCID`__ of the Fleet.
|
1258
|
+
|
1259
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1260
|
+
|
1261
|
+
:param str java_migration_analysis_result_id: (required)
|
1262
|
+
The OCID of the analysis result.
|
1263
|
+
|
1264
|
+
:param str if_match: (optional)
|
1265
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1266
|
+
for a resource, set the `if-match` parameter to the value of the
|
1267
|
+
ETag from a previous GET or POST response for that resource.
|
1268
|
+
The resource will be updated or deleted only if the ETag you
|
1269
|
+
provide matches the resource's current ETag value.
|
1270
|
+
|
1271
|
+
:param str opc_request_id: (optional)
|
1272
|
+
The client request ID for tracing.
|
1273
|
+
|
1274
|
+
:param obj retry_strategy: (optional)
|
1275
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1276
|
+
|
1277
|
+
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.
|
1278
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1279
|
+
|
1280
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1281
|
+
|
1282
|
+
:param bool allow_control_chars: (optional)
|
1283
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1284
|
+
By default, the response will not allow control characters in strings
|
1285
|
+
|
1286
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1287
|
+
:rtype: :class:`~oci.response.Response`
|
1288
|
+
|
1289
|
+
:example:
|
1290
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_java_migration_analysis_result.py.html>`__ to see an example of how to use delete_java_migration_analysis_result API.
|
1291
|
+
"""
|
1292
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1293
|
+
required_arguments = ['fleetId', 'javaMigrationAnalysisResultId']
|
1294
|
+
resource_path = "/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}"
|
1295
|
+
method = "DELETE"
|
1296
|
+
operation_name = "delete_java_migration_analysis_result"
|
1297
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/JavaMigrationAnalysisResult/DeleteJavaMigrationAnalysisResult"
|
1298
|
+
|
1299
|
+
# Don't accept unknown kwargs
|
1300
|
+
expected_kwargs = [
|
1301
|
+
"allow_control_chars",
|
1302
|
+
"retry_strategy",
|
1303
|
+
"if_match",
|
1304
|
+
"opc_request_id"
|
1305
|
+
]
|
1306
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1307
|
+
if extra_kwargs:
|
1308
|
+
raise ValueError(
|
1309
|
+
f"delete_java_migration_analysis_result got unknown kwargs: {extra_kwargs!r}")
|
1310
|
+
|
1311
|
+
path_params = {
|
1312
|
+
"fleetId": fleet_id,
|
1313
|
+
"javaMigrationAnalysisResultId": java_migration_analysis_result_id
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1317
|
+
|
1318
|
+
for (k, v) in six.iteritems(path_params):
|
1319
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1320
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1321
|
+
|
1322
|
+
header_params = {
|
1323
|
+
"accept": "application/json",
|
1324
|
+
"content-type": "application/json",
|
1325
|
+
"if-match": kwargs.get("if_match", missing),
|
1326
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1327
|
+
}
|
1328
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1329
|
+
|
1330
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1331
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1332
|
+
client_retry_strategy=self.retry_strategy
|
1333
|
+
)
|
1334
|
+
if retry_strategy is None:
|
1335
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1336
|
+
|
1337
|
+
if retry_strategy:
|
1338
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1339
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1340
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1341
|
+
return retry_strategy.make_retrying_call(
|
1342
|
+
self.base_client.call_api,
|
1343
|
+
resource_path=resource_path,
|
1344
|
+
method=method,
|
1345
|
+
path_params=path_params,
|
1346
|
+
header_params=header_params,
|
1347
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1348
|
+
operation_name=operation_name,
|
1349
|
+
api_reference_link=api_reference_link,
|
1350
|
+
required_arguments=required_arguments)
|
1351
|
+
else:
|
1352
|
+
return self.base_client.call_api(
|
1353
|
+
resource_path=resource_path,
|
1354
|
+
method=method,
|
1355
|
+
path_params=path_params,
|
1356
|
+
header_params=header_params,
|
1357
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1358
|
+
operation_name=operation_name,
|
1359
|
+
api_reference_link=api_reference_link,
|
1360
|
+
required_arguments=required_arguments)
|
1361
|
+
|
1362
|
+
def delete_performance_tuning_analysis_result(self, fleet_id, performance_tuning_analysis_result_id, **kwargs):
|
1363
|
+
"""
|
1364
|
+
Deletes only the metadata of the Performance Tuning Analysis result, but the file remains in the object storage.
|
1365
|
+
|
1366
|
+
|
1367
|
+
:param str fleet_id: (required)
|
1368
|
+
The `OCID`__ of the Fleet.
|
1369
|
+
|
1370
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1371
|
+
|
1372
|
+
:param str performance_tuning_analysis_result_id: (required)
|
1373
|
+
The OCID of the performance tuning analysis result.
|
1374
|
+
|
1375
|
+
:param str if_match: (optional)
|
1376
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1377
|
+
for a resource, set the `if-match` parameter to the value of the
|
1378
|
+
ETag from a previous GET or POST response for that resource.
|
1379
|
+
The resource will be updated or deleted only if the ETag you
|
1380
|
+
provide matches the resource's current ETag value.
|
1381
|
+
|
1382
|
+
:param str opc_request_id: (optional)
|
1383
|
+
The client request ID for tracing.
|
1384
|
+
|
1385
|
+
:param obj retry_strategy: (optional)
|
1386
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1387
|
+
|
1388
|
+
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.
|
1389
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1390
|
+
|
1391
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1392
|
+
|
1393
|
+
:param bool allow_control_chars: (optional)
|
1394
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1395
|
+
By default, the response will not allow control characters in strings
|
1396
|
+
|
1397
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1398
|
+
:rtype: :class:`~oci.response.Response`
|
1399
|
+
|
1400
|
+
:example:
|
1401
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/delete_performance_tuning_analysis_result.py.html>`__ to see an example of how to use delete_performance_tuning_analysis_result API.
|
1402
|
+
"""
|
1403
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1404
|
+
required_arguments = ['fleetId', 'performanceTuningAnalysisResultId']
|
1405
|
+
resource_path = "/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}"
|
1406
|
+
method = "DELETE"
|
1407
|
+
operation_name = "delete_performance_tuning_analysis_result"
|
1408
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/PerformanceTuningAnalysisResult/DeletePerformanceTuningAnalysisResult"
|
1409
|
+
|
1410
|
+
# Don't accept unknown kwargs
|
1411
|
+
expected_kwargs = [
|
1412
|
+
"allow_control_chars",
|
1413
|
+
"retry_strategy",
|
1414
|
+
"if_match",
|
1415
|
+
"opc_request_id"
|
1416
|
+
]
|
1417
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1418
|
+
if extra_kwargs:
|
1419
|
+
raise ValueError(
|
1420
|
+
f"delete_performance_tuning_analysis_result got unknown kwargs: {extra_kwargs!r}")
|
1421
|
+
|
1422
|
+
path_params = {
|
1423
|
+
"fleetId": fleet_id,
|
1424
|
+
"performanceTuningAnalysisResultId": performance_tuning_analysis_result_id
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1428
|
+
|
1429
|
+
for (k, v) in six.iteritems(path_params):
|
1430
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1431
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1432
|
+
|
1433
|
+
header_params = {
|
1434
|
+
"accept": "application/json",
|
1435
|
+
"content-type": "application/json",
|
1436
|
+
"if-match": kwargs.get("if_match", missing),
|
1437
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1438
|
+
}
|
1439
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1440
|
+
|
1441
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1442
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1443
|
+
client_retry_strategy=self.retry_strategy
|
1444
|
+
)
|
1445
|
+
if retry_strategy is None:
|
1446
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1447
|
+
|
1448
|
+
if retry_strategy:
|
1449
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1450
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1451
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1452
|
+
return retry_strategy.make_retrying_call(
|
1453
|
+
self.base_client.call_api,
|
1454
|
+
resource_path=resource_path,
|
1455
|
+
method=method,
|
1456
|
+
path_params=path_params,
|
1457
|
+
header_params=header_params,
|
1458
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1459
|
+
operation_name=operation_name,
|
1460
|
+
api_reference_link=api_reference_link,
|
1461
|
+
required_arguments=required_arguments)
|
1462
|
+
else:
|
1463
|
+
return self.base_client.call_api(
|
1464
|
+
resource_path=resource_path,
|
1465
|
+
method=method,
|
1466
|
+
path_params=path_params,
|
1467
|
+
header_params=header_params,
|
1468
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1469
|
+
operation_name=operation_name,
|
1470
|
+
api_reference_link=api_reference_link,
|
1471
|
+
required_arguments=required_arguments)
|
1472
|
+
|
1473
|
+
def disable_drs(self, fleet_id, disable_drs_details, **kwargs):
|
1474
|
+
"""
|
1475
|
+
Request to disable the DRS in the selected target in the Fleet.
|
1476
|
+
|
1477
|
+
|
1478
|
+
:param str fleet_id: (required)
|
1479
|
+
The `OCID`__ of the Fleet.
|
1480
|
+
|
1481
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1482
|
+
|
1483
|
+
:param oci.jms.models.DisableDrsDetails disable_drs_details: (required)
|
1484
|
+
Detail information to disable DRS
|
1485
|
+
|
1486
|
+
:param str opc_request_id: (optional)
|
1487
|
+
The client request ID for tracing.
|
1488
|
+
|
1489
|
+
:param str if_match: (optional)
|
1490
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1491
|
+
for a resource, set the `if-match` parameter to the value of the
|
1492
|
+
ETag from a previous GET or POST response for that resource.
|
1493
|
+
The resource will be updated or deleted only if the ETag you
|
1494
|
+
provide matches the resource's current ETag value.
|
1495
|
+
|
1496
|
+
:param str opc_retry_token: (optional)
|
1497
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1498
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1499
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1500
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1501
|
+
might be rejected.
|
1502
|
+
|
1503
|
+
:param obj retry_strategy: (optional)
|
1504
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1505
|
+
|
1506
|
+
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.
|
1507
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1508
|
+
|
1509
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1510
|
+
|
1511
|
+
:param bool allow_control_chars: (optional)
|
1512
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1513
|
+
By default, the response will not allow control characters in strings
|
1514
|
+
|
1515
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1516
|
+
:rtype: :class:`~oci.response.Response`
|
1517
|
+
|
1518
|
+
:example:
|
1519
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/disable_drs.py.html>`__ to see an example of how to use disable_drs API.
|
1520
|
+
"""
|
1521
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1522
|
+
required_arguments = ['fleetId']
|
1523
|
+
resource_path = "/fleets/{fleetId}/actions/disableDrs"
|
1524
|
+
method = "POST"
|
1525
|
+
operation_name = "disable_drs"
|
1526
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/DisableDrs"
|
1527
|
+
|
1528
|
+
# Don't accept unknown kwargs
|
1529
|
+
expected_kwargs = [
|
1530
|
+
"allow_control_chars",
|
1531
|
+
"retry_strategy",
|
1532
|
+
"opc_request_id",
|
1533
|
+
"if_match",
|
1534
|
+
"opc_retry_token"
|
1535
|
+
]
|
1536
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1537
|
+
if extra_kwargs:
|
1538
|
+
raise ValueError(
|
1539
|
+
f"disable_drs got unknown kwargs: {extra_kwargs!r}")
|
1540
|
+
|
1541
|
+
path_params = {
|
1542
|
+
"fleetId": fleet_id
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1546
|
+
|
1547
|
+
for (k, v) in six.iteritems(path_params):
|
1548
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1549
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1550
|
+
|
1551
|
+
header_params = {
|
1552
|
+
"accept": "application/json",
|
1553
|
+
"content-type": "application/json",
|
1554
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1555
|
+
"if-match": kwargs.get("if_match", missing),
|
1556
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1557
|
+
}
|
1558
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1559
|
+
|
1560
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1561
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1562
|
+
client_retry_strategy=self.retry_strategy
|
1563
|
+
)
|
1564
|
+
if retry_strategy is None:
|
1565
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1566
|
+
|
1567
|
+
if retry_strategy:
|
1568
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1569
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1570
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1571
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1572
|
+
return retry_strategy.make_retrying_call(
|
1573
|
+
self.base_client.call_api,
|
1574
|
+
resource_path=resource_path,
|
1575
|
+
method=method,
|
1576
|
+
path_params=path_params,
|
1577
|
+
header_params=header_params,
|
1578
|
+
body=disable_drs_details,
|
1579
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1580
|
+
operation_name=operation_name,
|
1581
|
+
api_reference_link=api_reference_link,
|
1582
|
+
required_arguments=required_arguments)
|
1583
|
+
else:
|
1584
|
+
return self.base_client.call_api(
|
1585
|
+
resource_path=resource_path,
|
1586
|
+
method=method,
|
1587
|
+
path_params=path_params,
|
1588
|
+
header_params=header_params,
|
1589
|
+
body=disable_drs_details,
|
1590
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1591
|
+
operation_name=operation_name,
|
1592
|
+
api_reference_link=api_reference_link,
|
1593
|
+
required_arguments=required_arguments)
|
1594
|
+
|
1595
|
+
def enable_drs(self, fleet_id, enable_drs_details, **kwargs):
|
1596
|
+
"""
|
1597
|
+
Request to enable the DRS in the selected target in the Fleet.
|
1598
|
+
|
1599
|
+
|
1600
|
+
:param str fleet_id: (required)
|
1601
|
+
The `OCID`__ of the Fleet.
|
1602
|
+
|
1603
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1604
|
+
|
1605
|
+
:param oci.jms.models.EnableDrsDetails enable_drs_details: (required)
|
1606
|
+
Detail information to enable DRS
|
1607
|
+
|
1608
|
+
:param str opc_request_id: (optional)
|
1609
|
+
The client request ID for tracing.
|
1610
|
+
|
1611
|
+
:param str if_match: (optional)
|
1612
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1613
|
+
for a resource, set the `if-match` parameter to the value of the
|
1614
|
+
ETag from a previous GET or POST response for that resource.
|
1615
|
+
The resource will be updated or deleted only if the ETag you
|
1616
|
+
provide matches the resource's current ETag value.
|
1617
|
+
|
1618
|
+
:param str opc_retry_token: (optional)
|
1619
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1620
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1621
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1622
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1623
|
+
might be rejected.
|
1624
|
+
|
1625
|
+
:param obj retry_strategy: (optional)
|
1626
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1627
|
+
|
1628
|
+
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.
|
1629
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1630
|
+
|
1631
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1632
|
+
|
1633
|
+
:param bool allow_control_chars: (optional)
|
1634
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1635
|
+
By default, the response will not allow control characters in strings
|
1636
|
+
|
1637
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1638
|
+
:rtype: :class:`~oci.response.Response`
|
1639
|
+
|
1640
|
+
:example:
|
1641
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/enable_drs.py.html>`__ to see an example of how to use enable_drs API.
|
1642
|
+
"""
|
1643
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1644
|
+
required_arguments = ['fleetId']
|
1645
|
+
resource_path = "/fleets/{fleetId}/actions/enableDrs"
|
1646
|
+
method = "POST"
|
1647
|
+
operation_name = "enable_drs"
|
1648
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/EnableDrs"
|
1649
|
+
|
1650
|
+
# Don't accept unknown kwargs
|
1651
|
+
expected_kwargs = [
|
1652
|
+
"allow_control_chars",
|
1653
|
+
"retry_strategy",
|
1654
|
+
"opc_request_id",
|
1655
|
+
"if_match",
|
1656
|
+
"opc_retry_token"
|
1657
|
+
]
|
1658
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1659
|
+
if extra_kwargs:
|
1660
|
+
raise ValueError(
|
1661
|
+
f"enable_drs got unknown kwargs: {extra_kwargs!r}")
|
1662
|
+
|
1663
|
+
path_params = {
|
1664
|
+
"fleetId": fleet_id
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1668
|
+
|
1669
|
+
for (k, v) in six.iteritems(path_params):
|
1670
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1671
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1672
|
+
|
1673
|
+
header_params = {
|
1674
|
+
"accept": "application/json",
|
1675
|
+
"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)
|
1679
|
+
}
|
1680
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1681
|
+
|
1682
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1683
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1684
|
+
client_retry_strategy=self.retry_strategy
|
1685
|
+
)
|
1686
|
+
if retry_strategy is None:
|
1687
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1688
|
+
|
1689
|
+
if retry_strategy:
|
1690
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1691
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1692
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1693
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1694
|
+
return retry_strategy.make_retrying_call(
|
1695
|
+
self.base_client.call_api,
|
1696
|
+
resource_path=resource_path,
|
1697
|
+
method=method,
|
1698
|
+
path_params=path_params,
|
1699
|
+
header_params=header_params,
|
1700
|
+
body=enable_drs_details,
|
1701
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1702
|
+
operation_name=operation_name,
|
1703
|
+
api_reference_link=api_reference_link,
|
1704
|
+
required_arguments=required_arguments)
|
1705
|
+
else:
|
1706
|
+
return self.base_client.call_api(
|
1707
|
+
resource_path=resource_path,
|
1708
|
+
method=method,
|
1709
|
+
path_params=path_params,
|
1710
|
+
header_params=header_params,
|
1711
|
+
body=enable_drs_details,
|
1712
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1713
|
+
operation_name=operation_name,
|
1714
|
+
api_reference_link=api_reference_link,
|
1715
|
+
required_arguments=required_arguments)
|
1716
|
+
|
1717
|
+
def generate_agent_deploy_script(self, fleet_id, generate_agent_deploy_script_details, **kwargs):
|
1718
|
+
"""
|
1719
|
+
Generates Agent Deploy Script for Fleet using the information provided.
|
1720
|
+
|
1721
|
+
|
1722
|
+
:param str fleet_id: (required)
|
1723
|
+
The `OCID`__ of the Fleet.
|
1724
|
+
|
1725
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1726
|
+
|
1727
|
+
:param oci.jms.models.GenerateAgentDeployScriptDetails generate_agent_deploy_script_details: (required)
|
1728
|
+
Attributes to generate the agent deploy script for a Fleet.
|
1729
|
+
|
1730
|
+
:param str opc_request_id: (optional)
|
1731
|
+
The client request ID for tracing.
|
1732
|
+
|
1733
|
+
:param obj retry_strategy: (optional)
|
1734
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1735
|
+
|
1736
|
+
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.
|
1737
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1738
|
+
|
1739
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1740
|
+
|
1741
|
+
:param bool allow_control_chars: (optional)
|
1742
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1743
|
+
By default, the response will not allow control characters in strings
|
1744
|
+
|
1745
|
+
:return: A :class:`~oci.response.Response` object with data of type stream
|
1746
|
+
:rtype: :class:`~oci.response.Response`
|
1747
|
+
|
1748
|
+
:example:
|
1749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/generate_agent_deploy_script.py.html>`__ to see an example of how to use generate_agent_deploy_script API.
|
1750
|
+
"""
|
1751
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1752
|
+
required_arguments = ['fleetId']
|
1753
|
+
resource_path = "/fleets/{fleetId}/actions/generateAgentDeployScript"
|
1754
|
+
method = "POST"
|
1755
|
+
operation_name = "generate_agent_deploy_script"
|
1756
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/GenerateAgentDeployScript"
|
1757
|
+
|
1758
|
+
# Don't accept unknown kwargs
|
1759
|
+
expected_kwargs = [
|
1760
|
+
"allow_control_chars",
|
1761
|
+
"retry_strategy",
|
1762
|
+
"opc_request_id"
|
1763
|
+
]
|
1764
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1765
|
+
if extra_kwargs:
|
1766
|
+
raise ValueError(
|
1767
|
+
f"generate_agent_deploy_script got unknown kwargs: {extra_kwargs!r}")
|
1768
|
+
|
1769
|
+
path_params = {
|
1770
|
+
"fleetId": fleet_id
|
1771
|
+
}
|
1772
|
+
|
1773
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1774
|
+
|
1775
|
+
for (k, v) in six.iteritems(path_params):
|
1776
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1777
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1778
|
+
|
1779
|
+
header_params = {
|
1780
|
+
"accept": "text/plain",
|
1781
|
+
"content-type": "application/json",
|
1782
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1783
|
+
}
|
1784
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1785
|
+
|
1786
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1787
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1788
|
+
client_retry_strategy=self.retry_strategy
|
1789
|
+
)
|
1790
|
+
if retry_strategy is None:
|
1791
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1792
|
+
|
1793
|
+
if retry_strategy:
|
1794
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1795
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1796
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1797
|
+
return retry_strategy.make_retrying_call(
|
1798
|
+
self.base_client.call_api,
|
1799
|
+
resource_path=resource_path,
|
1800
|
+
method=method,
|
1801
|
+
path_params=path_params,
|
1802
|
+
header_params=header_params,
|
1803
|
+
body=generate_agent_deploy_script_details,
|
1804
|
+
response_type="stream",
|
1805
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1806
|
+
operation_name=operation_name,
|
1807
|
+
api_reference_link=api_reference_link,
|
1808
|
+
required_arguments=required_arguments)
|
1809
|
+
else:
|
1810
|
+
return self.base_client.call_api(
|
1811
|
+
resource_path=resource_path,
|
1812
|
+
method=method,
|
1813
|
+
path_params=path_params,
|
1814
|
+
header_params=header_params,
|
1815
|
+
body=generate_agent_deploy_script_details,
|
1816
|
+
response_type="stream",
|
1817
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1818
|
+
operation_name=operation_name,
|
1819
|
+
api_reference_link=api_reference_link,
|
1820
|
+
required_arguments=required_arguments)
|
1821
|
+
|
1822
|
+
def get_crypto_analysis_result(self, fleet_id, crypto_analysis_result_id, **kwargs):
|
1823
|
+
"""
|
1824
|
+
Retrieve the metadata for the result of a Crypto event analysis.
|
1021
1825
|
|
1022
1826
|
|
1023
1827
|
:param str fleet_id: (required)
|
@@ -1025,16 +1829,9 @@ class JavaManagementServiceClient(object):
|
|
1025
1829
|
|
1026
1830
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1027
1831
|
|
1028
|
-
:param str
|
1832
|
+
:param str crypto_analysis_result_id: (required)
|
1029
1833
|
The OCID of the analysis result.
|
1030
1834
|
|
1031
|
-
:param str if_match: (optional)
|
1032
|
-
For optimistic concurrency control. In the PUT or DELETE call
|
1033
|
-
for a resource, set the `if-match` parameter to the value of the
|
1034
|
-
ETag from a previous GET or POST response for that resource.
|
1035
|
-
The resource will be updated or deleted only if the ETag you
|
1036
|
-
provide matches the resource's current ETag value.
|
1037
|
-
|
1038
1835
|
:param str opc_request_id: (optional)
|
1039
1836
|
The client request ID for tracing.
|
1040
1837
|
|
@@ -1050,34 +1847,33 @@ class JavaManagementServiceClient(object):
|
|
1050
1847
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1051
1848
|
By default, the response will not allow control characters in strings
|
1052
1849
|
|
1053
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
1850
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.CryptoAnalysisResult`
|
1054
1851
|
:rtype: :class:`~oci.response.Response`
|
1055
1852
|
|
1056
1853
|
:example:
|
1057
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
1854
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_crypto_analysis_result.py.html>`__ to see an example of how to use get_crypto_analysis_result API.
|
1058
1855
|
"""
|
1059
1856
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1060
|
-
required_arguments = ['fleetId', '
|
1061
|
-
resource_path = "/fleets/{fleetId}/
|
1062
|
-
method = "
|
1063
|
-
operation_name = "
|
1064
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
1857
|
+
required_arguments = ['fleetId', 'cryptoAnalysisResultId']
|
1858
|
+
resource_path = "/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}"
|
1859
|
+
method = "GET"
|
1860
|
+
operation_name = "get_crypto_analysis_result"
|
1861
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/CryptoAnalysisResult/GetCryptoAnalysisResult"
|
1065
1862
|
|
1066
1863
|
# Don't accept unknown kwargs
|
1067
1864
|
expected_kwargs = [
|
1068
1865
|
"allow_control_chars",
|
1069
1866
|
"retry_strategy",
|
1070
|
-
"if_match",
|
1071
1867
|
"opc_request_id"
|
1072
1868
|
]
|
1073
1869
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1074
1870
|
if extra_kwargs:
|
1075
1871
|
raise ValueError(
|
1076
|
-
f"
|
1872
|
+
f"get_crypto_analysis_result got unknown kwargs: {extra_kwargs!r}")
|
1077
1873
|
|
1078
1874
|
path_params = {
|
1079
1875
|
"fleetId": fleet_id,
|
1080
|
-
"
|
1876
|
+
"cryptoAnalysisResultId": crypto_analysis_result_id
|
1081
1877
|
}
|
1082
1878
|
|
1083
1879
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -1089,7 +1885,6 @@ class JavaManagementServiceClient(object):
|
|
1089
1885
|
header_params = {
|
1090
1886
|
"accept": "application/json",
|
1091
1887
|
"content-type": "application/json",
|
1092
|
-
"if-match": kwargs.get("if_match", missing),
|
1093
1888
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1094
1889
|
}
|
1095
1890
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -1111,6 +1906,7 @@ class JavaManagementServiceClient(object):
|
|
1111
1906
|
method=method,
|
1112
1907
|
path_params=path_params,
|
1113
1908
|
header_params=header_params,
|
1909
|
+
response_type="CryptoAnalysisResult",
|
1114
1910
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1115
1911
|
operation_name=operation_name,
|
1116
1912
|
api_reference_link=api_reference_link,
|
@@ -1121,14 +1917,15 @@ class JavaManagementServiceClient(object):
|
|
1121
1917
|
method=method,
|
1122
1918
|
path_params=path_params,
|
1123
1919
|
header_params=header_params,
|
1920
|
+
response_type="CryptoAnalysisResult",
|
1124
1921
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1125
1922
|
operation_name=operation_name,
|
1126
1923
|
api_reference_link=api_reference_link,
|
1127
1924
|
required_arguments=required_arguments)
|
1128
1925
|
|
1129
|
-
def
|
1926
|
+
def get_drs_file(self, fleet_id, drs_file_key, **kwargs):
|
1130
1927
|
"""
|
1131
|
-
|
1928
|
+
Get the detail about the created DRS file in the Fleet.
|
1132
1929
|
|
1133
1930
|
|
1134
1931
|
:param str fleet_id: (required)
|
@@ -1136,19 +1933,15 @@ class JavaManagementServiceClient(object):
|
|
1136
1933
|
|
1137
1934
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1138
1935
|
|
1139
|
-
:param str
|
1140
|
-
The
|
1141
|
-
|
1142
|
-
:param str if_match: (optional)
|
1143
|
-
For optimistic concurrency control. In the PUT or DELETE call
|
1144
|
-
for a resource, set the `if-match` parameter to the value of the
|
1145
|
-
ETag from a previous GET or POST response for that resource.
|
1146
|
-
The resource will be updated or deleted only if the ETag you
|
1147
|
-
provide matches the resource's current ETag value.
|
1936
|
+
:param str drs_file_key: (required)
|
1937
|
+
The unique identifier of the DRS File in Object Storage.
|
1148
1938
|
|
1149
1939
|
:param str opc_request_id: (optional)
|
1150
1940
|
The client request ID for tracing.
|
1151
1941
|
|
1942
|
+
:param str page: (optional)
|
1943
|
+
The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
|
1944
|
+
|
1152
1945
|
:param obj retry_strategy: (optional)
|
1153
1946
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1154
1947
|
|
@@ -1161,34 +1954,34 @@ class JavaManagementServiceClient(object):
|
|
1161
1954
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1162
1955
|
By default, the response will not allow control characters in strings
|
1163
1956
|
|
1164
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
1957
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.DrsFile`
|
1165
1958
|
:rtype: :class:`~oci.response.Response`
|
1166
1959
|
|
1167
1960
|
:example:
|
1168
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
1961
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_drs_file.py.html>`__ to see an example of how to use get_drs_file API.
|
1169
1962
|
"""
|
1170
1963
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1171
|
-
required_arguments = ['fleetId', '
|
1172
|
-
resource_path = "/fleets/{fleetId}/
|
1173
|
-
method = "
|
1174
|
-
operation_name = "
|
1175
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
1964
|
+
required_arguments = ['fleetId', 'drsFileKey']
|
1965
|
+
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
1966
|
+
method = "GET"
|
1967
|
+
operation_name = "get_drs_file"
|
1968
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/DrsFile/GetDrsFile"
|
1176
1969
|
|
1177
1970
|
# Don't accept unknown kwargs
|
1178
1971
|
expected_kwargs = [
|
1179
1972
|
"allow_control_chars",
|
1180
1973
|
"retry_strategy",
|
1181
|
-
"
|
1182
|
-
"
|
1974
|
+
"opc_request_id",
|
1975
|
+
"page"
|
1183
1976
|
]
|
1184
1977
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1185
1978
|
if extra_kwargs:
|
1186
1979
|
raise ValueError(
|
1187
|
-
f"
|
1980
|
+
f"get_drs_file got unknown kwargs: {extra_kwargs!r}")
|
1188
1981
|
|
1189
1982
|
path_params = {
|
1190
1983
|
"fleetId": fleet_id,
|
1191
|
-
"
|
1984
|
+
"drsFileKey": drs_file_key
|
1192
1985
|
}
|
1193
1986
|
|
1194
1987
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -1197,10 +1990,14 @@ class JavaManagementServiceClient(object):
|
|
1197
1990
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1198
1991
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1199
1992
|
|
1993
|
+
query_params = {
|
1994
|
+
"page": kwargs.get("page", missing)
|
1995
|
+
}
|
1996
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1997
|
+
|
1200
1998
|
header_params = {
|
1201
1999
|
"accept": "application/json",
|
1202
2000
|
"content-type": "application/json",
|
1203
|
-
"if-match": kwargs.get("if_match", missing),
|
1204
2001
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1205
2002
|
}
|
1206
2003
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -1221,7 +2018,9 @@ class JavaManagementServiceClient(object):
|
|
1221
2018
|
resource_path=resource_path,
|
1222
2019
|
method=method,
|
1223
2020
|
path_params=path_params,
|
2021
|
+
query_params=query_params,
|
1224
2022
|
header_params=header_params,
|
2023
|
+
response_type="DrsFile",
|
1225
2024
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1226
2025
|
operation_name=operation_name,
|
1227
2026
|
api_reference_link=api_reference_link,
|
@@ -1231,15 +2030,17 @@ class JavaManagementServiceClient(object):
|
|
1231
2030
|
resource_path=resource_path,
|
1232
2031
|
method=method,
|
1233
2032
|
path_params=path_params,
|
2033
|
+
query_params=query_params,
|
1234
2034
|
header_params=header_params,
|
2035
|
+
response_type="DrsFile",
|
1235
2036
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1236
2037
|
operation_name=operation_name,
|
1237
2038
|
api_reference_link=api_reference_link,
|
1238
2039
|
required_arguments=required_arguments)
|
1239
2040
|
|
1240
|
-
def
|
2041
|
+
def get_export_setting(self, fleet_id, **kwargs):
|
1241
2042
|
"""
|
1242
|
-
|
2043
|
+
Returns export setting for the specified Fleet.
|
1243
2044
|
|
1244
2045
|
|
1245
2046
|
:param str fleet_id: (required)
|
@@ -1247,9 +2048,6 @@ class JavaManagementServiceClient(object):
|
|
1247
2048
|
|
1248
2049
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1249
2050
|
|
1250
|
-
:param oci.jms.models.GenerateAgentDeployScriptDetails generate_agent_deploy_script_details: (required)
|
1251
|
-
Attributes to generate the agent deploy script for a Fleet.
|
1252
|
-
|
1253
2051
|
:param str opc_request_id: (optional)
|
1254
2052
|
The client request ID for tracing.
|
1255
2053
|
|
@@ -1265,18 +2063,18 @@ class JavaManagementServiceClient(object):
|
|
1265
2063
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1266
2064
|
By default, the response will not allow control characters in strings
|
1267
2065
|
|
1268
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
2066
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.ExportSetting`
|
1269
2067
|
:rtype: :class:`~oci.response.Response`
|
1270
2068
|
|
1271
2069
|
:example:
|
1272
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2070
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_export_setting.py.html>`__ to see an example of how to use get_export_setting API.
|
1273
2071
|
"""
|
1274
2072
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1275
2073
|
required_arguments = ['fleetId']
|
1276
|
-
resource_path = "/fleets/{fleetId}/
|
1277
|
-
method = "
|
1278
|
-
operation_name = "
|
1279
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
2074
|
+
resource_path = "/fleets/{fleetId}/exportSetting"
|
2075
|
+
method = "GET"
|
2076
|
+
operation_name = "get_export_setting"
|
2077
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/ExportSetting/GetExportSetting"
|
1280
2078
|
|
1281
2079
|
# Don't accept unknown kwargs
|
1282
2080
|
expected_kwargs = [
|
@@ -1287,7 +2085,7 @@ class JavaManagementServiceClient(object):
|
|
1287
2085
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1288
2086
|
if extra_kwargs:
|
1289
2087
|
raise ValueError(
|
1290
|
-
f"
|
2088
|
+
f"get_export_setting got unknown kwargs: {extra_kwargs!r}")
|
1291
2089
|
|
1292
2090
|
path_params = {
|
1293
2091
|
"fleetId": fleet_id
|
@@ -1300,7 +2098,7 @@ class JavaManagementServiceClient(object):
|
|
1300
2098
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1301
2099
|
|
1302
2100
|
header_params = {
|
1303
|
-
"accept": "
|
2101
|
+
"accept": "application/json",
|
1304
2102
|
"content-type": "application/json",
|
1305
2103
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1306
2104
|
}
|
@@ -1323,8 +2121,7 @@ class JavaManagementServiceClient(object):
|
|
1323
2121
|
method=method,
|
1324
2122
|
path_params=path_params,
|
1325
2123
|
header_params=header_params,
|
1326
|
-
|
1327
|
-
response_type="stream",
|
2124
|
+
response_type="ExportSetting",
|
1328
2125
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1329
2126
|
operation_name=operation_name,
|
1330
2127
|
api_reference_link=api_reference_link,
|
@@ -1335,16 +2132,15 @@ class JavaManagementServiceClient(object):
|
|
1335
2132
|
method=method,
|
1336
2133
|
path_params=path_params,
|
1337
2134
|
header_params=header_params,
|
1338
|
-
|
1339
|
-
response_type="stream",
|
2135
|
+
response_type="ExportSetting",
|
1340
2136
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1341
2137
|
operation_name=operation_name,
|
1342
2138
|
api_reference_link=api_reference_link,
|
1343
2139
|
required_arguments=required_arguments)
|
1344
2140
|
|
1345
|
-
def
|
2141
|
+
def get_export_status(self, fleet_id, **kwargs):
|
1346
2142
|
"""
|
1347
|
-
|
2143
|
+
Returns last export status for the specified Fleet.
|
1348
2144
|
|
1349
2145
|
|
1350
2146
|
:param str fleet_id: (required)
|
@@ -1352,9 +2148,6 @@ class JavaManagementServiceClient(object):
|
|
1352
2148
|
|
1353
2149
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1354
2150
|
|
1355
|
-
:param str crypto_analysis_result_id: (required)
|
1356
|
-
The OCID of the analysis result.
|
1357
|
-
|
1358
2151
|
:param str opc_request_id: (optional)
|
1359
2152
|
The client request ID for tracing.
|
1360
2153
|
|
@@ -1370,18 +2163,18 @@ class JavaManagementServiceClient(object):
|
|
1370
2163
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1371
2164
|
By default, the response will not allow control characters in strings
|
1372
2165
|
|
1373
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.
|
2166
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.ExportStatus`
|
1374
2167
|
:rtype: :class:`~oci.response.Response`
|
1375
2168
|
|
1376
2169
|
:example:
|
1377
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_export_status.py.html>`__ to see an example of how to use get_export_status API.
|
1378
2171
|
"""
|
1379
2172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1380
|
-
required_arguments = ['fleetId'
|
1381
|
-
resource_path = "/fleets/{fleetId}/
|
2173
|
+
required_arguments = ['fleetId']
|
2174
|
+
resource_path = "/fleets/{fleetId}/exportStatus"
|
1382
2175
|
method = "GET"
|
1383
|
-
operation_name = "
|
1384
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
2176
|
+
operation_name = "get_export_status"
|
2177
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/ExportStatus/GetExportStatus"
|
1385
2178
|
|
1386
2179
|
# Don't accept unknown kwargs
|
1387
2180
|
expected_kwargs = [
|
@@ -1392,11 +2185,10 @@ class JavaManagementServiceClient(object):
|
|
1392
2185
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1393
2186
|
if extra_kwargs:
|
1394
2187
|
raise ValueError(
|
1395
|
-
f"
|
2188
|
+
f"get_export_status got unknown kwargs: {extra_kwargs!r}")
|
1396
2189
|
|
1397
2190
|
path_params = {
|
1398
|
-
"fleetId": fleet_id
|
1399
|
-
"cryptoAnalysisResultId": crypto_analysis_result_id
|
2191
|
+
"fleetId": fleet_id
|
1400
2192
|
}
|
1401
2193
|
|
1402
2194
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -1429,7 +2221,7 @@ class JavaManagementServiceClient(object):
|
|
1429
2221
|
method=method,
|
1430
2222
|
path_params=path_params,
|
1431
2223
|
header_params=header_params,
|
1432
|
-
response_type="
|
2224
|
+
response_type="ExportStatus",
|
1433
2225
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1434
2226
|
operation_name=operation_name,
|
1435
2227
|
api_reference_link=api_reference_link,
|
@@ -1440,7 +2232,7 @@ class JavaManagementServiceClient(object):
|
|
1440
2232
|
method=method,
|
1441
2233
|
path_params=path_params,
|
1442
2234
|
header_params=header_params,
|
1443
|
-
response_type="
|
2235
|
+
response_type="ExportStatus",
|
1444
2236
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1445
2237
|
operation_name=operation_name,
|
1446
2238
|
api_reference_link=api_reference_link,
|
@@ -1475,7 +2267,7 @@ class JavaManagementServiceClient(object):
|
|
1475
2267
|
:rtype: :class:`~oci.response.Response`
|
1476
2268
|
|
1477
2269
|
:example:
|
1478
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2270
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_fleet.py.html>`__ to see an example of how to use get_fleet API.
|
1479
2271
|
"""
|
1480
2272
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1481
2273
|
required_arguments = ['fleetId']
|
@@ -1582,7 +2374,7 @@ class JavaManagementServiceClient(object):
|
|
1582
2374
|
:rtype: :class:`~oci.response.Response`
|
1583
2375
|
|
1584
2376
|
:example:
|
1585
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2377
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_fleet_advanced_feature_configuration.py.html>`__ to see an example of how to use get_fleet_advanced_feature_configuration API.
|
1586
2378
|
"""
|
1587
2379
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1588
2380
|
required_arguments = ['fleetId']
|
@@ -1684,7 +2476,7 @@ class JavaManagementServiceClient(object):
|
|
1684
2476
|
:rtype: :class:`~oci.response.Response`
|
1685
2477
|
|
1686
2478
|
:example:
|
1687
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2479
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_fleet_agent_configuration.py.html>`__ to see an example of how to use get_fleet_agent_configuration API.
|
1688
2480
|
"""
|
1689
2481
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1690
2482
|
required_arguments = ['fleetId']
|
@@ -1782,7 +2574,7 @@ class JavaManagementServiceClient(object):
|
|
1782
2574
|
:rtype: :class:`~oci.response.Response`
|
1783
2575
|
|
1784
2576
|
:example:
|
1785
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2577
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_java_family.py.html>`__ to see an example of how to use get_java_family API.
|
1786
2578
|
"""
|
1787
2579
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1788
2580
|
required_arguments = ['familyVersion']
|
@@ -1885,7 +2677,7 @@ class JavaManagementServiceClient(object):
|
|
1885
2677
|
:rtype: :class:`~oci.response.Response`
|
1886
2678
|
|
1887
2679
|
:example:
|
1888
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2680
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_java_migration_analysis_result.py.html>`__ to see an example of how to use get_java_migration_analysis_result API.
|
1889
2681
|
"""
|
1890
2682
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1891
2683
|
required_arguments = ['fleetId', 'javaMigrationAnalysisResultId']
|
@@ -1984,7 +2776,7 @@ class JavaManagementServiceClient(object):
|
|
1984
2776
|
:rtype: :class:`~oci.response.Response`
|
1985
2777
|
|
1986
2778
|
:example:
|
1987
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2779
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_java_release.py.html>`__ to see an example of how to use get_java_release API.
|
1988
2780
|
"""
|
1989
2781
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1990
2782
|
required_arguments = ['releaseVersion']
|
@@ -2087,7 +2879,7 @@ class JavaManagementServiceClient(object):
|
|
2087
2879
|
:rtype: :class:`~oci.response.Response`
|
2088
2880
|
|
2089
2881
|
:example:
|
2090
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2882
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_performance_tuning_analysis_result.py.html>`__ to see an example of how to use get_performance_tuning_analysis_result API.
|
2091
2883
|
"""
|
2092
2884
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2093
2885
|
required_arguments = ['fleetId', 'performanceTuningAnalysisResultId']
|
@@ -2188,7 +2980,7 @@ class JavaManagementServiceClient(object):
|
|
2188
2980
|
:rtype: :class:`~oci.response.Response`
|
2189
2981
|
|
2190
2982
|
:example:
|
2191
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
2983
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2192
2984
|
"""
|
2193
2985
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2194
2986
|
required_arguments = ['workRequestId']
|
@@ -2313,7 +3105,7 @@ class JavaManagementServiceClient(object):
|
|
2313
3105
|
:rtype: :class:`~oci.response.Response`
|
2314
3106
|
|
2315
3107
|
:example:
|
2316
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
3108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_announcements.py.html>`__ to see an example of how to use list_announcements API.
|
2317
3109
|
"""
|
2318
3110
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2319
3111
|
required_arguments = []
|
@@ -2419,7 +3211,7 @@ class JavaManagementServiceClient(object):
|
|
2419
3211
|
:param str operation: (optional)
|
2420
3212
|
The operation type.
|
2421
3213
|
|
2422
|
-
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", "SCAN_JAVA_SERVER_USAGE", "SCAN_LIBRARY_USAGE"
|
3214
|
+
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"
|
2423
3215
|
|
2424
3216
|
:param str managed_instance_id: (optional)
|
2425
3217
|
The Fleet-unique identifier of the related managed instance.
|
@@ -2461,7 +3253,7 @@ class JavaManagementServiceClient(object):
|
|
2461
3253
|
:rtype: :class:`~oci.response.Response`
|
2462
3254
|
|
2463
3255
|
:example:
|
2464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
3256
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_blocklists.py.html>`__ to see an example of how to use list_blocklists API.
|
2465
3257
|
"""
|
2466
3258
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2467
3259
|
required_arguments = ['fleetId']
|
@@ -2498,7 +3290,7 @@ class JavaManagementServiceClient(object):
|
|
2498
3290
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2499
3291
|
|
2500
3292
|
if 'operation' in kwargs:
|
2501
|
-
operation_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", "SCAN_JAVA_SERVER_USAGE", "SCAN_LIBRARY_USAGE"]
|
3293
|
+
operation_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"]
|
2502
3294
|
if kwargs['operation'] not in operation_allowed_values:
|
2503
3295
|
raise ValueError(
|
2504
3296
|
f"Invalid value for `operation`, must be one of { operation_allowed_values }"
|
@@ -2611,15 +3403,176 @@ class JavaManagementServiceClient(object):
|
|
2611
3403
|
:param str opc_request_id: (optional)
|
2612
3404
|
The client request ID for tracing.
|
2613
3405
|
|
2614
|
-
:param datetime time_start: (optional)
|
2615
|
-
The start of the time period during which resources are searched (formatted according to `RFC3339`__).
|
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
|
+
:param obj retry_strategy: (optional)
|
3417
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3418
|
+
|
3419
|
+
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.
|
3420
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3421
|
+
|
3422
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3423
|
+
|
3424
|
+
:param bool allow_control_chars: (optional)
|
3425
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3426
|
+
By default, the response will not allow control characters in strings
|
3427
|
+
|
3428
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.CryptoAnalysisResultCollection`
|
3429
|
+
:rtype: :class:`~oci.response.Response`
|
3430
|
+
|
3431
|
+
:example:
|
3432
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_crypto_analysis_results.py.html>`__ to see an example of how to use list_crypto_analysis_results API.
|
3433
|
+
"""
|
3434
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3435
|
+
required_arguments = ['fleetId']
|
3436
|
+
resource_path = "/fleets/{fleetId}/cryptoAnalysisResults"
|
3437
|
+
method = "GET"
|
3438
|
+
operation_name = "list_crypto_analysis_results"
|
3439
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/CryptoAnalysisResult/ListCryptoAnalysisResults"
|
3440
|
+
|
3441
|
+
# Don't accept unknown kwargs
|
3442
|
+
expected_kwargs = [
|
3443
|
+
"allow_control_chars",
|
3444
|
+
"retry_strategy",
|
3445
|
+
"aggregation_mode",
|
3446
|
+
"managed_instance_id",
|
3447
|
+
"limit",
|
3448
|
+
"page",
|
3449
|
+
"sort_order",
|
3450
|
+
"sort_by",
|
3451
|
+
"opc_request_id",
|
3452
|
+
"time_start",
|
3453
|
+
"time_end"
|
3454
|
+
]
|
3455
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3456
|
+
if extra_kwargs:
|
3457
|
+
raise ValueError(
|
3458
|
+
f"list_crypto_analysis_results got unknown kwargs: {extra_kwargs!r}")
|
3459
|
+
|
3460
|
+
path_params = {
|
3461
|
+
"fleetId": fleet_id
|
3462
|
+
}
|
3463
|
+
|
3464
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3465
|
+
|
3466
|
+
for (k, v) in six.iteritems(path_params):
|
3467
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3468
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3469
|
+
|
3470
|
+
if 'aggregation_mode' in kwargs:
|
3471
|
+
aggregation_mode_allowed_values = ["JFR", "MANAGED_INSTANCE"]
|
3472
|
+
if kwargs['aggregation_mode'] not in aggregation_mode_allowed_values:
|
3473
|
+
raise ValueError(
|
3474
|
+
f"Invalid value for `aggregation_mode`, must be one of { aggregation_mode_allowed_values }"
|
3475
|
+
)
|
3476
|
+
|
3477
|
+
if 'sort_order' in kwargs:
|
3478
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
3479
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
3480
|
+
raise ValueError(
|
3481
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
3482
|
+
)
|
3483
|
+
|
3484
|
+
if 'sort_by' in kwargs:
|
3485
|
+
sort_by_allowed_values = ["timeCreated", "managedInstanceId", "workRequestId"]
|
3486
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
3487
|
+
raise ValueError(
|
3488
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
3489
|
+
)
|
3490
|
+
|
3491
|
+
query_params = {
|
3492
|
+
"aggregationMode": kwargs.get("aggregation_mode", missing),
|
3493
|
+
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
3494
|
+
"limit": kwargs.get("limit", missing),
|
3495
|
+
"page": kwargs.get("page", missing),
|
3496
|
+
"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)
|
3500
|
+
}
|
3501
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
3502
|
+
|
3503
|
+
header_params = {
|
3504
|
+
"accept": "application/json",
|
3505
|
+
"content-type": "application/json",
|
3506
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3507
|
+
}
|
3508
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3509
|
+
|
3510
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3511
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3512
|
+
client_retry_strategy=self.retry_strategy
|
3513
|
+
)
|
3514
|
+
if retry_strategy is None:
|
3515
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3516
|
+
|
3517
|
+
if retry_strategy:
|
3518
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3519
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3520
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3521
|
+
return retry_strategy.make_retrying_call(
|
3522
|
+
self.base_client.call_api,
|
3523
|
+
resource_path=resource_path,
|
3524
|
+
method=method,
|
3525
|
+
path_params=path_params,
|
3526
|
+
query_params=query_params,
|
3527
|
+
header_params=header_params,
|
3528
|
+
response_type="CryptoAnalysisResultCollection",
|
3529
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3530
|
+
operation_name=operation_name,
|
3531
|
+
api_reference_link=api_reference_link,
|
3532
|
+
required_arguments=required_arguments)
|
3533
|
+
else:
|
3534
|
+
return self.base_client.call_api(
|
3535
|
+
resource_path=resource_path,
|
3536
|
+
method=method,
|
3537
|
+
path_params=path_params,
|
3538
|
+
query_params=query_params,
|
3539
|
+
header_params=header_params,
|
3540
|
+
response_type="CryptoAnalysisResultCollection",
|
3541
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3542
|
+
operation_name=operation_name,
|
3543
|
+
api_reference_link=api_reference_link,
|
3544
|
+
required_arguments=required_arguments)
|
3545
|
+
|
3546
|
+
def list_drs_files(self, fleet_id, **kwargs):
|
3547
|
+
"""
|
3548
|
+
List the details about the created DRS files in the Fleet.
|
3549
|
+
|
3550
|
+
|
3551
|
+
:param str fleet_id: (required)
|
3552
|
+
The `OCID`__ of the Fleet.
|
3553
|
+
|
3554
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
3555
|
+
|
3556
|
+
:param str opc_request_id: (optional)
|
3557
|
+
The client request ID for tracing.
|
3558
|
+
|
3559
|
+
:param int limit: (optional)
|
3560
|
+
The maximum number of items to return.
|
3561
|
+
|
3562
|
+
:param str page: (optional)
|
3563
|
+
The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.
|
3564
|
+
|
3565
|
+
:param str sort_order: (optional)
|
3566
|
+
The sort order, either 'asc' or 'desc'.
|
2616
3567
|
|
2617
|
-
|
3568
|
+
Allowed values are: "ASC", "DESC"
|
2618
3569
|
|
2619
|
-
:param
|
2620
|
-
The
|
3570
|
+
:param str sort_by: (optional)
|
3571
|
+
The field that sorts the DRS details results. Only one sort order can be provided.
|
3572
|
+
The default order for _drsFileKey_ is **descending**.
|
3573
|
+
If no value is specified, then _drsFileKey_ is default.
|
2621
3574
|
|
2622
|
-
|
3575
|
+
Allowed values are: "bucketName", "namespace", "drsFileKey", "drsFileName", "checksumType", "isDefault"
|
2623
3576
|
|
2624
3577
|
:param obj retry_strategy: (optional)
|
2625
3578
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -2633,37 +3586,33 @@ class JavaManagementServiceClient(object):
|
|
2633
3586
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2634
3587
|
By default, the response will not allow control characters in strings
|
2635
3588
|
|
2636
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.
|
3589
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.DrsFileCollection`
|
2637
3590
|
:rtype: :class:`~oci.response.Response`
|
2638
3591
|
|
2639
3592
|
:example:
|
2640
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
3593
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_drs_files.py.html>`__ to see an example of how to use list_drs_files API.
|
2641
3594
|
"""
|
2642
3595
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2643
3596
|
required_arguments = ['fleetId']
|
2644
|
-
resource_path = "/fleets/{fleetId}/
|
3597
|
+
resource_path = "/fleets/{fleetId}/drsFiles"
|
2645
3598
|
method = "GET"
|
2646
|
-
operation_name = "
|
2647
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/
|
3599
|
+
operation_name = "list_drs_files"
|
3600
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/DrsFileCollection/ListDrsFiles"
|
2648
3601
|
|
2649
3602
|
# Don't accept unknown kwargs
|
2650
3603
|
expected_kwargs = [
|
2651
3604
|
"allow_control_chars",
|
2652
3605
|
"retry_strategy",
|
2653
|
-
"
|
2654
|
-
"managed_instance_id",
|
3606
|
+
"opc_request_id",
|
2655
3607
|
"limit",
|
2656
3608
|
"page",
|
2657
3609
|
"sort_order",
|
2658
|
-
"sort_by"
|
2659
|
-
"opc_request_id",
|
2660
|
-
"time_start",
|
2661
|
-
"time_end"
|
3610
|
+
"sort_by"
|
2662
3611
|
]
|
2663
3612
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2664
3613
|
if extra_kwargs:
|
2665
3614
|
raise ValueError(
|
2666
|
-
f"
|
3615
|
+
f"list_drs_files got unknown kwargs: {extra_kwargs!r}")
|
2667
3616
|
|
2668
3617
|
path_params = {
|
2669
3618
|
"fleetId": fleet_id
|
@@ -2675,13 +3624,6 @@ class JavaManagementServiceClient(object):
|
|
2675
3624
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2676
3625
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2677
3626
|
|
2678
|
-
if 'aggregation_mode' in kwargs:
|
2679
|
-
aggregation_mode_allowed_values = ["JFR", "MANAGED_INSTANCE"]
|
2680
|
-
if kwargs['aggregation_mode'] not in aggregation_mode_allowed_values:
|
2681
|
-
raise ValueError(
|
2682
|
-
f"Invalid value for `aggregation_mode`, must be one of { aggregation_mode_allowed_values }"
|
2683
|
-
)
|
2684
|
-
|
2685
3627
|
if 'sort_order' in kwargs:
|
2686
3628
|
sort_order_allowed_values = ["ASC", "DESC"]
|
2687
3629
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -2690,21 +3632,17 @@ class JavaManagementServiceClient(object):
|
|
2690
3632
|
)
|
2691
3633
|
|
2692
3634
|
if 'sort_by' in kwargs:
|
2693
|
-
sort_by_allowed_values = ["
|
3635
|
+
sort_by_allowed_values = ["bucketName", "namespace", "drsFileKey", "drsFileName", "checksumType", "isDefault"]
|
2694
3636
|
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2695
3637
|
raise ValueError(
|
2696
3638
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2697
3639
|
)
|
2698
3640
|
|
2699
3641
|
query_params = {
|
2700
|
-
"aggregationMode": kwargs.get("aggregation_mode", missing),
|
2701
|
-
"managedInstanceId": kwargs.get("managed_instance_id", missing),
|
2702
3642
|
"limit": kwargs.get("limit", missing),
|
2703
3643
|
"page": kwargs.get("page", missing),
|
2704
3644
|
"sortOrder": kwargs.get("sort_order", missing),
|
2705
|
-
"sortBy": kwargs.get("sort_by", missing)
|
2706
|
-
"timeStart": kwargs.get("time_start", missing),
|
2707
|
-
"timeEnd": kwargs.get("time_end", missing)
|
3645
|
+
"sortBy": kwargs.get("sort_by", missing)
|
2708
3646
|
}
|
2709
3647
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2710
3648
|
|
@@ -2733,7 +3671,7 @@ class JavaManagementServiceClient(object):
|
|
2733
3671
|
path_params=path_params,
|
2734
3672
|
query_params=query_params,
|
2735
3673
|
header_params=header_params,
|
2736
|
-
response_type="
|
3674
|
+
response_type="DrsFileCollection",
|
2737
3675
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
2738
3676
|
operation_name=operation_name,
|
2739
3677
|
api_reference_link=api_reference_link,
|
@@ -2745,7 +3683,7 @@ class JavaManagementServiceClient(object):
|
|
2745
3683
|
path_params=path_params,
|
2746
3684
|
query_params=query_params,
|
2747
3685
|
header_params=header_params,
|
2748
|
-
response_type="
|
3686
|
+
response_type="DrsFileCollection",
|
2749
3687
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
2750
3688
|
operation_name=operation_name,
|
2751
3689
|
api_reference_link=api_reference_link,
|
@@ -2786,7 +3724,7 @@ class JavaManagementServiceClient(object):
|
|
2786
3724
|
:rtype: :class:`~oci.response.Response`
|
2787
3725
|
|
2788
3726
|
:example:
|
2789
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
3727
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_fleet_diagnoses.py.html>`__ to see an example of how to use list_fleet_diagnoses API.
|
2790
3728
|
"""
|
2791
3729
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2792
3730
|
required_arguments = ['fleetId']
|
@@ -2931,7 +3869,7 @@ class JavaManagementServiceClient(object):
|
|
2931
3869
|
:rtype: :class:`~oci.response.Response`
|
2932
3870
|
|
2933
3871
|
:example:
|
2934
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
3872
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_fleets.py.html>`__ to see an example of how to use list_fleets API.
|
2935
3873
|
"""
|
2936
3874
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2937
3875
|
required_arguments = []
|
@@ -3124,7 +4062,7 @@ class JavaManagementServiceClient(object):
|
|
3124
4062
|
:rtype: :class:`~oci.response.Response`
|
3125
4063
|
|
3126
4064
|
:example:
|
3127
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4065
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_installation_sites.py.html>`__ to see an example of how to use list_installation_sites API.
|
3128
4066
|
"""
|
3129
4067
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3130
4068
|
required_arguments = ['fleetId']
|
@@ -3272,6 +4210,9 @@ class JavaManagementServiceClient(object):
|
|
3272
4210
|
:param str display_name: (optional)
|
3273
4211
|
The display name for the Java family.
|
3274
4212
|
|
4213
|
+
:param bool is_supported_version: (optional)
|
4214
|
+
Filter the Java Release Family versions by support status.
|
4215
|
+
|
3275
4216
|
:param int limit: (optional)
|
3276
4217
|
The maximum number of items to return.
|
3277
4218
|
|
@@ -3307,7 +4248,7 @@ class JavaManagementServiceClient(object):
|
|
3307
4248
|
:rtype: :class:`~oci.response.Response`
|
3308
4249
|
|
3309
4250
|
:example:
|
3310
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4251
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_java_families.py.html>`__ to see an example of how to use list_java_families API.
|
3311
4252
|
"""
|
3312
4253
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3313
4254
|
required_arguments = []
|
@@ -3322,6 +4263,7 @@ class JavaManagementServiceClient(object):
|
|
3322
4263
|
"retry_strategy",
|
3323
4264
|
"family_version",
|
3324
4265
|
"display_name",
|
4266
|
+
"is_supported_version",
|
3325
4267
|
"limit",
|
3326
4268
|
"page",
|
3327
4269
|
"sort_order",
|
@@ -3350,6 +4292,7 @@ class JavaManagementServiceClient(object):
|
|
3350
4292
|
query_params = {
|
3351
4293
|
"familyVersion": kwargs.get("family_version", missing),
|
3352
4294
|
"displayName": kwargs.get("display_name", missing),
|
4295
|
+
"isSupportedVersion": kwargs.get("is_supported_version", missing),
|
3353
4296
|
"limit": kwargs.get("limit", missing),
|
3354
4297
|
"page": kwargs.get("page", missing),
|
3355
4298
|
"sortOrder": kwargs.get("sort_order", missing),
|
@@ -3458,7 +4401,7 @@ class JavaManagementServiceClient(object):
|
|
3458
4401
|
:rtype: :class:`~oci.response.Response`
|
3459
4402
|
|
3460
4403
|
:example:
|
3461
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4404
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_java_migration_analysis_results.py.html>`__ to see an example of how to use list_java_migration_analysis_results API.
|
3462
4405
|
"""
|
3463
4406
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3464
4407
|
required_arguments = ['fleetId']
|
@@ -3624,7 +4567,7 @@ class JavaManagementServiceClient(object):
|
|
3624
4567
|
:rtype: :class:`~oci.response.Response`
|
3625
4568
|
|
3626
4569
|
:example:
|
3627
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4570
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_java_releases.py.html>`__ to see an example of how to use list_java_releases API.
|
3628
4571
|
"""
|
3629
4572
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3630
4573
|
required_arguments = []
|
@@ -3813,7 +4756,7 @@ class JavaManagementServiceClient(object):
|
|
3813
4756
|
:rtype: :class:`~oci.response.Response`
|
3814
4757
|
|
3815
4758
|
:example:
|
3816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4759
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_jre_usage.py.html>`__ to see an example of how to use list_jre_usage API.
|
3817
4760
|
"""
|
3818
4761
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3819
4762
|
required_arguments = []
|
@@ -3976,7 +4919,7 @@ class JavaManagementServiceClient(object):
|
|
3976
4919
|
:rtype: :class:`~oci.response.Response`
|
3977
4920
|
|
3978
4921
|
:example:
|
3979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
4922
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_performance_tuning_analysis_results.py.html>`__ to see an example of how to use list_performance_tuning_analysis_results API.
|
3980
4923
|
"""
|
3981
4924
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3982
4925
|
required_arguments = ['fleetId']
|
@@ -4118,7 +5061,7 @@ class JavaManagementServiceClient(object):
|
|
4118
5061
|
:rtype: :class:`~oci.response.Response`
|
4119
5062
|
|
4120
5063
|
:example:
|
4121
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5064
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_work_items.py.html>`__ to see an example of how to use list_work_items API.
|
4122
5065
|
"""
|
4123
5066
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4124
5067
|
required_arguments = ['workRequestId']
|
@@ -4234,7 +5177,7 @@ class JavaManagementServiceClient(object):
|
|
4234
5177
|
:rtype: :class:`~oci.response.Response`
|
4235
5178
|
|
4236
5179
|
:example:
|
4237
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5180
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
4238
5181
|
"""
|
4239
5182
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4240
5183
|
required_arguments = ['workRequestId']
|
@@ -4350,7 +5293,7 @@ class JavaManagementServiceClient(object):
|
|
4350
5293
|
:rtype: :class:`~oci.response.Response`
|
4351
5294
|
|
4352
5295
|
:example:
|
4353
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5296
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
4354
5297
|
"""
|
4355
5298
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4356
5299
|
required_arguments = ['workRequestId']
|
@@ -4458,6 +5401,9 @@ class JavaManagementServiceClient(object):
|
|
4458
5401
|
:param int limit: (optional)
|
4459
5402
|
The maximum number of items to return.
|
4460
5403
|
|
5404
|
+
:param str managed_instance_id: (optional)
|
5405
|
+
The Fleet-unique identifier of the managed instance.
|
5406
|
+
|
4461
5407
|
:param obj retry_strategy: (optional)
|
4462
5408
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4463
5409
|
|
@@ -4474,7 +5420,7 @@ class JavaManagementServiceClient(object):
|
|
4474
5420
|
:rtype: :class:`~oci.response.Response`
|
4475
5421
|
|
4476
5422
|
:example:
|
4477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5423
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4478
5424
|
"""
|
4479
5425
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4480
5426
|
required_arguments = []
|
@@ -4492,7 +5438,8 @@ class JavaManagementServiceClient(object):
|
|
4492
5438
|
"fleet_id",
|
4493
5439
|
"opc_request_id",
|
4494
5440
|
"page",
|
4495
|
-
"limit"
|
5441
|
+
"limit",
|
5442
|
+
"managed_instance_id"
|
4496
5443
|
]
|
4497
5444
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4498
5445
|
if extra_kwargs:
|
@@ -4504,7 +5451,8 @@ class JavaManagementServiceClient(object):
|
|
4504
5451
|
"id": kwargs.get("id", missing),
|
4505
5452
|
"fleetId": kwargs.get("fleet_id", missing),
|
4506
5453
|
"page": kwargs.get("page", missing),
|
4507
|
-
"limit": kwargs.get("limit", missing)
|
5454
|
+
"limit": kwargs.get("limit", missing),
|
5455
|
+
"managedInstanceId": kwargs.get("managed_instance_id", missing)
|
4508
5456
|
}
|
4509
5457
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
4510
5458
|
|
@@ -4595,7 +5543,7 @@ class JavaManagementServiceClient(object):
|
|
4595
5543
|
:rtype: :class:`~oci.response.Response`
|
4596
5544
|
|
4597
5545
|
:example:
|
4598
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5546
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/remove_fleet_installation_sites.py.html>`__ to see an example of how to use remove_fleet_installation_sites API.
|
4599
5547
|
"""
|
4600
5548
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4601
5549
|
required_arguments = ['fleetId']
|
@@ -4703,7 +5651,7 @@ class JavaManagementServiceClient(object):
|
|
4703
5651
|
:rtype: :class:`~oci.response.Response`
|
4704
5652
|
|
4705
5653
|
:example:
|
4706
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5654
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/request_crypto_analyses.py.html>`__ to see an example of how to use request_crypto_analyses API.
|
4707
5655
|
"""
|
4708
5656
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4709
5657
|
required_arguments = ['fleetId']
|
@@ -4807,7 +5755,7 @@ class JavaManagementServiceClient(object):
|
|
4807
5755
|
:rtype: :class:`~oci.response.Response`
|
4808
5756
|
|
4809
5757
|
:example:
|
4810
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5758
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/request_java_migration_analyses.py.html>`__ to see an example of how to use request_java_migration_analyses API.
|
4811
5759
|
"""
|
4812
5760
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4813
5761
|
required_arguments = ['fleetId']
|
@@ -4910,7 +5858,7 @@ class JavaManagementServiceClient(object):
|
|
4910
5858
|
:rtype: :class:`~oci.response.Response`
|
4911
5859
|
|
4912
5860
|
:example:
|
4913
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5861
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/request_jfr_recordings.py.html>`__ to see an example of how to use request_jfr_recordings API.
|
4914
5862
|
"""
|
4915
5863
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4916
5864
|
required_arguments = ['fleetId']
|
@@ -5014,7 +5962,7 @@ class JavaManagementServiceClient(object):
|
|
5014
5962
|
:rtype: :class:`~oci.response.Response`
|
5015
5963
|
|
5016
5964
|
:example:
|
5017
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
5965
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/request_performance_tuning_analyses.py.html>`__ to see an example of how to use request_performance_tuning_analyses API.
|
5018
5966
|
"""
|
5019
5967
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5020
5968
|
required_arguments = ['fleetId']
|
@@ -5131,7 +6079,7 @@ class JavaManagementServiceClient(object):
|
|
5131
6079
|
:rtype: :class:`~oci.response.Response`
|
5132
6080
|
|
5133
6081
|
:example:
|
5134
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
6082
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/scan_java_server_usage.py.html>`__ to see an example of how to use scan_java_server_usage API.
|
5135
6083
|
"""
|
5136
6084
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5137
6085
|
required_arguments = ['fleetId']
|
@@ -5253,7 +6201,7 @@ class JavaManagementServiceClient(object):
|
|
5253
6201
|
:rtype: :class:`~oci.response.Response`
|
5254
6202
|
|
5255
6203
|
:example:
|
5256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
6204
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/scan_library_usage.py.html>`__ to see an example of how to use scan_library_usage API.
|
5257
6205
|
"""
|
5258
6206
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5259
6207
|
required_arguments = ['fleetId']
|
@@ -5429,7 +6377,7 @@ class JavaManagementServiceClient(object):
|
|
5429
6377
|
:rtype: :class:`~oci.response.Response`
|
5430
6378
|
|
5431
6379
|
:example:
|
5432
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
6380
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_application_installation_usage.py.html>`__ to see an example of how to use summarize_application_installation_usage API.
|
5433
6381
|
"""
|
5434
6382
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5435
6383
|
required_arguments = ['fleetId']
|
@@ -5667,7 +6615,7 @@ class JavaManagementServiceClient(object):
|
|
5667
6615
|
:rtype: :class:`~oci.response.Response`
|
5668
6616
|
|
5669
6617
|
:example:
|
5670
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
6618
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_application_usage.py.html>`__ to see an example of how to use summarize_application_usage API.
|
5671
6619
|
"""
|
5672
6620
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5673
6621
|
required_arguments = ['fleetId']
|
@@ -5893,7 +6841,7 @@ class JavaManagementServiceClient(object):
|
|
5893
6841
|
:rtype: :class:`~oci.response.Response`
|
5894
6842
|
|
5895
6843
|
:example:
|
5896
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
6844
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_deployed_application_installation_usage.py.html>`__ to see an example of how to use summarize_deployed_application_installation_usage API.
|
5897
6845
|
"""
|
5898
6846
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5899
6847
|
required_arguments = ['fleetId']
|
@@ -6091,7 +7039,7 @@ class JavaManagementServiceClient(object):
|
|
6091
7039
|
:rtype: :class:`~oci.response.Response`
|
6092
7040
|
|
6093
7041
|
:example:
|
6094
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
7042
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_deployed_application_usage.py.html>`__ to see an example of how to use summarize_deployed_application_usage API.
|
6095
7043
|
"""
|
6096
7044
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6097
7045
|
required_arguments = ['fleetId']
|
@@ -6299,7 +7247,7 @@ class JavaManagementServiceClient(object):
|
|
6299
7247
|
:rtype: :class:`~oci.response.Response`
|
6300
7248
|
|
6301
7249
|
:example:
|
6302
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
7250
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_installation_usage.py.html>`__ to see an example of how to use summarize_installation_usage API.
|
6303
7251
|
"""
|
6304
7252
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6305
7253
|
required_arguments = ['fleetId']
|
@@ -6513,7 +7461,7 @@ class JavaManagementServiceClient(object):
|
|
6513
7461
|
:rtype: :class:`~oci.response.Response`
|
6514
7462
|
|
6515
7463
|
:example:
|
6516
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
7464
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_java_server_instance_usage.py.html>`__ to see an example of how to use summarize_java_server_instance_usage API.
|
6517
7465
|
"""
|
6518
7466
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6519
7467
|
required_arguments = ['fleetId']
|
@@ -6698,7 +7646,7 @@ class JavaManagementServiceClient(object):
|
|
6698
7646
|
:rtype: :class:`~oci.response.Response`
|
6699
7647
|
|
6700
7648
|
:example:
|
6701
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
7649
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_java_server_usage.py.html>`__ to see an example of how to use summarize_java_server_usage API.
|
6702
7650
|
"""
|
6703
7651
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6704
7652
|
required_arguments = ['fleetId']
|
@@ -6904,7 +7852,7 @@ class JavaManagementServiceClient(object):
|
|
6904
7852
|
:rtype: :class:`~oci.response.Response`
|
6905
7853
|
|
6906
7854
|
:example:
|
6907
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
7855
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_jre_usage.py.html>`__ to see an example of how to use summarize_jre_usage API.
|
6908
7856
|
"""
|
6909
7857
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6910
7858
|
required_arguments = ['fleetId']
|
@@ -7122,7 +8070,7 @@ class JavaManagementServiceClient(object):
|
|
7122
8070
|
:rtype: :class:`~oci.response.Response`
|
7123
8071
|
|
7124
8072
|
:example:
|
7125
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
8073
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_library_usage.py.html>`__ to see an example of how to use summarize_library_usage API.
|
7126
8074
|
"""
|
7127
8075
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7128
8076
|
required_arguments = ['fleetId']
|
@@ -7337,7 +8285,7 @@ class JavaManagementServiceClient(object):
|
|
7337
8285
|
:rtype: :class:`~oci.response.Response`
|
7338
8286
|
|
7339
8287
|
:example:
|
7340
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
8288
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_managed_instance_usage.py.html>`__ to see an example of how to use summarize_managed_instance_usage API.
|
7341
8289
|
"""
|
7342
8290
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7343
8291
|
required_arguments = ['fleetId']
|
@@ -7524,7 +8472,7 @@ class JavaManagementServiceClient(object):
|
|
7524
8472
|
:rtype: :class:`~oci.response.Response`
|
7525
8473
|
|
7526
8474
|
:example:
|
7527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
8475
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/summarize_resource_inventory.py.html>`__ to see an example of how to use summarize_resource_inventory API.
|
7528
8476
|
"""
|
7529
8477
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7530
8478
|
required_arguments = []
|
@@ -7595,6 +8543,246 @@ class JavaManagementServiceClient(object):
|
|
7595
8543
|
api_reference_link=api_reference_link,
|
7596
8544
|
required_arguments=required_arguments)
|
7597
8545
|
|
8546
|
+
def update_drs_file(self, fleet_id, update_drs_file_details, drs_file_key, **kwargs):
|
8547
|
+
"""
|
8548
|
+
Request to perform validaition of the DRS file and update the existing file in the Object Storage.
|
8549
|
+
|
8550
|
+
|
8551
|
+
:param str fleet_id: (required)
|
8552
|
+
The `OCID`__ of the Fleet.
|
8553
|
+
|
8554
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
8555
|
+
|
8556
|
+
:param oci.jms.models.UpdateDrsFileDetails update_drs_file_details: (required)
|
8557
|
+
Detail information to update DRS
|
8558
|
+
|
8559
|
+
:param str drs_file_key: (required)
|
8560
|
+
The unique identifier of the DRS File in Object Storage.
|
8561
|
+
|
8562
|
+
:param str opc_request_id: (optional)
|
8563
|
+
The client request ID for tracing.
|
8564
|
+
|
8565
|
+
:param str if_match: (optional)
|
8566
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
8567
|
+
for a resource, set the `if-match` parameter to the value of the
|
8568
|
+
ETag from a previous GET or POST response for that resource.
|
8569
|
+
The resource will be updated or deleted only if the ETag you
|
8570
|
+
provide matches the resource's current ETag value.
|
8571
|
+
|
8572
|
+
:param str opc_retry_token: (optional)
|
8573
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
8574
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
8575
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
8576
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
8577
|
+
might be rejected.
|
8578
|
+
|
8579
|
+
:param obj retry_strategy: (optional)
|
8580
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
8581
|
+
|
8582
|
+
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.
|
8583
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
8584
|
+
|
8585
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
8586
|
+
|
8587
|
+
:param bool allow_control_chars: (optional)
|
8588
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
8589
|
+
By default, the response will not allow control characters in strings
|
8590
|
+
|
8591
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
8592
|
+
:rtype: :class:`~oci.response.Response`
|
8593
|
+
|
8594
|
+
:example:
|
8595
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/update_drs_file.py.html>`__ to see an example of how to use update_drs_file API.
|
8596
|
+
"""
|
8597
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8598
|
+
required_arguments = ['fleetId', 'drsFileKey']
|
8599
|
+
resource_path = "/fleets/{fleetId}/drsFiles/{drsFileKey}"
|
8600
|
+
method = "PUT"
|
8601
|
+
operation_name = "update_drs_file"
|
8602
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/Fleet/UpdateDrsFile"
|
8603
|
+
|
8604
|
+
# Don't accept unknown kwargs
|
8605
|
+
expected_kwargs = [
|
8606
|
+
"allow_control_chars",
|
8607
|
+
"retry_strategy",
|
8608
|
+
"opc_request_id",
|
8609
|
+
"if_match",
|
8610
|
+
"opc_retry_token"
|
8611
|
+
]
|
8612
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
8613
|
+
if extra_kwargs:
|
8614
|
+
raise ValueError(
|
8615
|
+
f"update_drs_file got unknown kwargs: {extra_kwargs!r}")
|
8616
|
+
|
8617
|
+
path_params = {
|
8618
|
+
"fleetId": fleet_id,
|
8619
|
+
"drsFileKey": drs_file_key
|
8620
|
+
}
|
8621
|
+
|
8622
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
8623
|
+
|
8624
|
+
for (k, v) in six.iteritems(path_params):
|
8625
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
8626
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8627
|
+
|
8628
|
+
header_params = {
|
8629
|
+
"accept": "application/json",
|
8630
|
+
"content-type": "application/json",
|
8631
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
8632
|
+
"if-match": kwargs.get("if_match", missing),
|
8633
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
8634
|
+
}
|
8635
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
8636
|
+
|
8637
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
8638
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
8639
|
+
client_retry_strategy=self.retry_strategy
|
8640
|
+
)
|
8641
|
+
if retry_strategy is None:
|
8642
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
8643
|
+
|
8644
|
+
if retry_strategy:
|
8645
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
8646
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
8647
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
8648
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
8649
|
+
return retry_strategy.make_retrying_call(
|
8650
|
+
self.base_client.call_api,
|
8651
|
+
resource_path=resource_path,
|
8652
|
+
method=method,
|
8653
|
+
path_params=path_params,
|
8654
|
+
header_params=header_params,
|
8655
|
+
body=update_drs_file_details,
|
8656
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8657
|
+
operation_name=operation_name,
|
8658
|
+
api_reference_link=api_reference_link,
|
8659
|
+
required_arguments=required_arguments)
|
8660
|
+
else:
|
8661
|
+
return self.base_client.call_api(
|
8662
|
+
resource_path=resource_path,
|
8663
|
+
method=method,
|
8664
|
+
path_params=path_params,
|
8665
|
+
header_params=header_params,
|
8666
|
+
body=update_drs_file_details,
|
8667
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8668
|
+
operation_name=operation_name,
|
8669
|
+
api_reference_link=api_reference_link,
|
8670
|
+
required_arguments=required_arguments)
|
8671
|
+
|
8672
|
+
def update_export_setting(self, fleet_id, update_export_setting_details, **kwargs):
|
8673
|
+
"""
|
8674
|
+
Updates existing export setting for the specified Fleet.
|
8675
|
+
|
8676
|
+
|
8677
|
+
:param str fleet_id: (required)
|
8678
|
+
The `OCID`__ of the Fleet.
|
8679
|
+
|
8680
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
8681
|
+
|
8682
|
+
:param oci.jms.models.UpdateExportSettingDetails update_export_setting_details: (required)
|
8683
|
+
The new details for the Export setting.
|
8684
|
+
|
8685
|
+
:param str if_match: (optional)
|
8686
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
8687
|
+
for a resource, set the `if-match` parameter to the value of the
|
8688
|
+
ETag from a previous GET or POST response for that resource.
|
8689
|
+
The resource will be updated or deleted only if the ETag you
|
8690
|
+
provide matches the resource's current ETag value.
|
8691
|
+
|
8692
|
+
:param str opc_request_id: (optional)
|
8693
|
+
The client request ID for tracing.
|
8694
|
+
|
8695
|
+
:param obj retry_strategy: (optional)
|
8696
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
8697
|
+
|
8698
|
+
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.
|
8699
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
8700
|
+
|
8701
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
8702
|
+
|
8703
|
+
:param bool allow_control_chars: (optional)
|
8704
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
8705
|
+
By default, the response will not allow control characters in strings
|
8706
|
+
|
8707
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.jms.models.ExportSetting`
|
8708
|
+
:rtype: :class:`~oci.response.Response`
|
8709
|
+
|
8710
|
+
:example:
|
8711
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/update_export_setting.py.html>`__ to see an example of how to use update_export_setting API.
|
8712
|
+
"""
|
8713
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8714
|
+
required_arguments = ['fleetId']
|
8715
|
+
resource_path = "/fleets/{fleetId}/exportSetting"
|
8716
|
+
method = "PUT"
|
8717
|
+
operation_name = "update_export_setting"
|
8718
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/ExportSetting/UpdateExportSetting"
|
8719
|
+
|
8720
|
+
# Don't accept unknown kwargs
|
8721
|
+
expected_kwargs = [
|
8722
|
+
"allow_control_chars",
|
8723
|
+
"retry_strategy",
|
8724
|
+
"if_match",
|
8725
|
+
"opc_request_id"
|
8726
|
+
]
|
8727
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
8728
|
+
if extra_kwargs:
|
8729
|
+
raise ValueError(
|
8730
|
+
f"update_export_setting got unknown kwargs: {extra_kwargs!r}")
|
8731
|
+
|
8732
|
+
path_params = {
|
8733
|
+
"fleetId": fleet_id
|
8734
|
+
}
|
8735
|
+
|
8736
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
8737
|
+
|
8738
|
+
for (k, v) in six.iteritems(path_params):
|
8739
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
8740
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8741
|
+
|
8742
|
+
header_params = {
|
8743
|
+
"accept": "application/json",
|
8744
|
+
"content-type": "application/json",
|
8745
|
+
"if-match": kwargs.get("if_match", missing),
|
8746
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
8747
|
+
}
|
8748
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
8749
|
+
|
8750
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
8751
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
8752
|
+
client_retry_strategy=self.retry_strategy
|
8753
|
+
)
|
8754
|
+
if retry_strategy is None:
|
8755
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
8756
|
+
|
8757
|
+
if retry_strategy:
|
8758
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
8759
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
8760
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
8761
|
+
return retry_strategy.make_retrying_call(
|
8762
|
+
self.base_client.call_api,
|
8763
|
+
resource_path=resource_path,
|
8764
|
+
method=method,
|
8765
|
+
path_params=path_params,
|
8766
|
+
header_params=header_params,
|
8767
|
+
body=update_export_setting_details,
|
8768
|
+
response_type="ExportSetting",
|
8769
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8770
|
+
operation_name=operation_name,
|
8771
|
+
api_reference_link=api_reference_link,
|
8772
|
+
required_arguments=required_arguments)
|
8773
|
+
else:
|
8774
|
+
return self.base_client.call_api(
|
8775
|
+
resource_path=resource_path,
|
8776
|
+
method=method,
|
8777
|
+
path_params=path_params,
|
8778
|
+
header_params=header_params,
|
8779
|
+
body=update_export_setting_details,
|
8780
|
+
response_type="ExportSetting",
|
8781
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8782
|
+
operation_name=operation_name,
|
8783
|
+
api_reference_link=api_reference_link,
|
8784
|
+
required_arguments=required_arguments)
|
8785
|
+
|
7598
8786
|
def update_fleet(self, fleet_id, update_fleet_details, **kwargs):
|
7599
8787
|
"""
|
7600
8788
|
Update the Fleet specified by an identifier.
|
@@ -7634,7 +8822,7 @@ class JavaManagementServiceClient(object):
|
|
7634
8822
|
:rtype: :class:`~oci.response.Response`
|
7635
8823
|
|
7636
8824
|
:example:
|
7637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
8825
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/update_fleet.py.html>`__ to see an example of how to use update_fleet API.
|
7638
8826
|
"""
|
7639
8827
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7640
8828
|
required_arguments = ['fleetId']
|
@@ -7754,7 +8942,7 @@ class JavaManagementServiceClient(object):
|
|
7754
8942
|
:rtype: :class:`~oci.response.Response`
|
7755
8943
|
|
7756
8944
|
:example:
|
7757
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
8945
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/update_fleet_advanced_feature_configuration.py.html>`__ to see an example of how to use update_fleet_advanced_feature_configuration API.
|
7758
8946
|
"""
|
7759
8947
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7760
8948
|
required_arguments = ['fleetId']
|
@@ -7871,7 +9059,7 @@ class JavaManagementServiceClient(object):
|
|
7871
9059
|
:rtype: :class:`~oci.response.Response`
|
7872
9060
|
|
7873
9061
|
:example:
|
7874
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.
|
9062
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/jms/update_fleet_agent_configuration.py.html>`__ to see an example of how to use update_fleet_agent_configuration API.
|
7875
9063
|
"""
|
7876
9064
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7877
9065
|
required_arguments = ['fleetId']
|