oci 2.145.0__py3-none-any.whl → 2.146.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_engine/models/open_id_connect_token_authentication_config.py +37 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/container_instances/models/__init__.py +0 -4
- oci/container_instances/models/container_health_check.py +3 -11
- oci/container_instances/models/container_http_health_check.py +1 -1
- oci/container_instances/models/container_tcp_health_check.py +1 -1
- oci/container_instances/models/create_container_details.py +2 -2
- oci/container_instances/models/create_container_health_check_details.py +3 -11
- oci/container_instances/models/create_container_http_health_check_details.py +1 -1
- oci/container_instances/models/create_container_tcp_health_check_details.py +1 -1
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/create_byoip_range_details.py +66 -0
- oci/core/models/create_ipv6_details.py +97 -3
- oci/core/models/create_private_ip_details.py +96 -2
- oci/core/models/create_vnic_details.py +18 -18
- oci/core/models/ipv6.py +107 -3
- oci/core/models/launch_attach_volume_details.py +2 -2
- oci/core/models/network_security_group.py +7 -7
- oci/core/models/private_ip.py +107 -3
- oci/core/models/update_byoip_range_details.py +68 -2
- oci/core/models/update_ipv6_details.py +61 -4
- oci/core/models/update_private_ip_details.py +59 -2
- oci/core/models/update_vnic_details.py +8 -4
- oci/core/models/vnic.py +6 -2
- oci/core/virtual_network_client.py +519 -257
- oci/core/virtual_network_client_composite_operations.py +44 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- 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 +306 -306
- oci/data_science/data_science_client.py +101 -101
- oci/data_science/models/__init__.py +8 -0
- oci/data_science/models/create_pipeline_details.py +31 -0
- oci/data_science/models/pipeline.py +31 -0
- oci/data_science/models/pipeline_container_step_details.py +32 -1
- oci/data_science/models/pipeline_container_step_run.py +1 -1
- oci/data_science/models/pipeline_container_step_update_details.py +34 -3
- oci/data_science/models/pipeline_custom_script_step_details.py +32 -1
- oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
- oci/data_science/models/pipeline_custom_script_step_update_details.py +34 -3
- oci/data_science/models/pipeline_dataflow_configuration_details.py +281 -0
- oci/data_science/models/pipeline_dataflow_step_details.py +141 -0
- oci/data_science/models/pipeline_dataflow_step_run.py +122 -0
- oci/data_science/models/pipeline_dataflow_step_update_details.py +99 -0
- oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
- oci/data_science/models/pipeline_step_details.py +11 -3
- oci/data_science/models/pipeline_step_override_details.py +29 -2
- oci/data_science/models/pipeline_step_run.py +11 -3
- oci/data_science/models/pipeline_step_update_details.py +11 -3
- oci/data_science/models/update_pipeline_details.py +31 -0
- oci/database/database_client.py +404 -404
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/__init__.py +14 -0
- oci/dblm/db_life_cycle_management_client.py +1762 -0
- oci/dblm/db_life_cycle_management_client_composite_operations.py +65 -0
- oci/dblm/models/__init__.py +70 -0
- oci/dblm/models/aggregated_vulnerability_collection.py +72 -0
- oci/dblm/models/aggregated_vulnerability_summary.py +134 -0
- oci/dblm/models/child_pdb.py +227 -0
- oci/dblm/models/create_vulnerability_scan_details.py +103 -0
- oci/dblm/models/dblm_vulnerability.py +393 -0
- oci/dblm/models/host_info.py +103 -0
- oci/dblm/models/metric_error.py +227 -0
- oci/dblm/models/notification_collection.py +72 -0
- oci/dblm/models/notification_summary.py +185 -0
- oci/dblm/models/patch_recommendation_summary.py +134 -0
- oci/dblm/models/patch_recommendations_details_summary.py +227 -0
- oci/dblm/models/resource_info.py +382 -0
- oci/dblm/models/resource_summary.py +227 -0
- oci/dblm/models/vulnerabilities_summary.py +227 -0
- oci/dblm/models/vulnerability_collection.py +72 -0
- oci/dblm/models/vulnerability_resource_collection.py +72 -0
- oci/dblm/models/vulnerability_resource_summary.py +475 -0
- oci/dblm/models/vulnerability_scan.py +525 -0
- oci/dblm/models/vulnerability_scan_collection.py +72 -0
- oci/dblm/models/vulnerability_scan_summary.py +443 -0
- oci/dblm/models/vulnerability_summary.py +196 -0
- oci/dblm/models/work_request.py +426 -0
- oci/dblm/models/work_request_error.py +136 -0
- oci/dblm/models/work_request_error_collection.py +72 -0
- oci/dblm/models/work_request_log_entry.py +103 -0
- oci/dblm/models/work_request_log_entry_collection.py +72 -0
- oci/dblm/models/work_request_resource.py +234 -0
- oci/dblm/models/work_request_summary.py +426 -0
- oci/dblm/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- 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_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email/models/create_dkim_details.py +31 -0
- oci/email/models/dkim.py +62 -0
- oci/email/models/dkim_summary.py +62 -0
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/create_load_balancer_details.py +15 -15
- oci/load_balancer/models/load_balancer.py +15 -15
- oci/load_balancer/models/update_load_balancer_details.py +15 -15
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/backup.py +33 -0
- oci/mysql/models/backup_summary.py +33 -0
- oci/mysql/models/channel.py +35 -2
- oci/mysql/models/channel_summary.py +35 -2
- oci/mysql/models/configuration.py +35 -2
- oci/mysql/models/configuration_summary.py +35 -2
- oci/mysql/models/configuration_variables.py +4949 -1858
- oci/mysql/models/db_system.py +33 -0
- oci/mysql/models/db_system_summary.py +33 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +10 -10
- oci/os_management_hub/lifecycle_environment_client.py +138 -16
- oci/os_management_hub/lifecycle_environment_client_composite_operations.py +44 -0
- oci/os_management_hub/managed_instance_client.py +309 -35
- oci/os_management_hub/managed_instance_client_composite_operations.py +91 -0
- oci/os_management_hub/managed_instance_group_client.py +149 -27
- oci/os_management_hub/managed_instance_group_client_composite_operations.py +44 -0
- oci/os_management_hub/management_station_client.py +59 -16
- oci/os_management_hub/models/__init__.py +54 -0
- oci/os_management_hub/models/add_packages_to_software_source_details.py +35 -4
- oci/os_management_hub/models/agent_event.py +1 -1
- oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py +103 -0
- oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py +1 -1
- oci/os_management_hub/models/attach_management_station_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_software_sources_to_profile_details.py +76 -0
- oci/os_management_hub/models/available_package_summary.py +1 -1
- oci/os_management_hub/models/create_custom_software_source_details.py +54 -3
- oci/os_management_hub/models/create_lifecycle_environment_details.py +7 -3
- oci/os_management_hub/models/create_managed_instance_group_details.py +7 -3
- oci/os_management_hub/models/create_management_station_details.py +31 -0
- oci/os_management_hub/models/create_mirror_configuration_details.py +33 -2
- oci/os_management_hub/models/create_private_software_source_details.py +406 -0
- oci/os_management_hub/models/create_profile_details.py +12 -4
- oci/os_management_hub/models/create_scheduled_job_details.py +37 -2
- oci/os_management_hub/models/create_software_source_details.py +19 -3
- oci/os_management_hub/models/create_software_source_profile_details.py +7 -3
- oci/os_management_hub/models/create_station_profile_details.py +7 -3
- oci/os_management_hub/models/create_third_party_software_source_details.py +406 -0
- oci/os_management_hub/models/create_vendor_software_source_details.py +1 -1
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +54 -3
- oci/os_management_hub/models/create_windows_stand_alone_profile_details.py +288 -0
- oci/os_management_hub/models/custom_software_source.py +102 -9
- oci/os_management_hub/models/custom_software_source_summary.py +64 -8
- oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py +1 -1
- oci/os_management_hub/models/detach_software_sources_from_profile_details.py +76 -0
- oci/os_management_hub/models/event.py +23 -3
- oci/os_management_hub/models/event_summary.py +11 -3
- oci/os_management_hub/models/exploit_attempt_event.py +1 -1
- oci/os_management_hub/models/group_profile.py +16 -2
- oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +33 -2
- oci/os_management_hub/models/installed_package_summary.py +1 -1
- oci/os_management_hub/models/kernel_crash_event.py +1 -1
- oci/os_management_hub/models/kernel_oops_event.py +1 -1
- oci/os_management_hub/models/ksplice_update_event.py +1 -1
- oci/os_management_hub/models/lifecycle_environment.py +7 -3
- oci/os_management_hub/models/lifecycle_environment_summary.py +7 -3
- oci/os_management_hub/models/lifecycle_profile.py +16 -2
- oci/os_management_hub/models/lifecycle_stage.py +7 -3
- oci/os_management_hub/models/lifecycle_stage_summary.py +7 -3
- oci/os_management_hub/models/managed_instance.py +80 -10
- oci/os_management_hub/models/managed_instance_analytic_summary.py +11 -3
- oci/os_management_hub/models/managed_instance_group.py +7 -3
- oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_group_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_summary.py +47 -8
- oci/os_management_hub/models/management_station.py +276 -0
- oci/os_management_hub/models/management_station_event.py +1 -1
- oci/os_management_hub/models/management_station_event_data.py +58 -3
- oci/os_management_hub/models/management_station_summary.py +67 -4
- oci/os_management_hub/models/mirror_configuration.py +33 -2
- oci/os_management_hub/models/mirror_summary.py +107 -25
- oci/os_management_hub/models/mirrors_collection.py +2 -1
- oci/os_management_hub/models/module_stream.py +7 -3
- oci/os_management_hub/models/package_name_summary.py +7 -3
- oci/os_management_hub/models/package_summary.py +7 -3
- oci/os_management_hub/models/peer_management_station.py +108 -0
- oci/os_management_hub/models/private_software_source.py +330 -0
- oci/os_management_hub/models/private_software_source_summary.py +212 -0
- oci/os_management_hub/models/profile.py +84 -8
- oci/os_management_hub/models/profile_collection.py +1 -1
- oci/os_management_hub/models/profile_summary.py +17 -7
- oci/os_management_hub/models/profile_version.py +811 -0
- oci/os_management_hub/models/reboot_event.py +184 -0
- oci/os_management_hub/models/reboot_event_data.py +123 -0
- oci/os_management_hub/models/reboot_lifecycle_stage_details.py +101 -0
- oci/os_management_hub/models/reboot_managed_instance_details.py +101 -0
- oci/os_management_hub/models/reboot_managed_instance_group_details.py +101 -0
- oci/os_management_hub/models/remove_packages_from_software_source_details.py +72 -0
- oci/os_management_hub/models/replace_packages_in_software_source_details.py +72 -0
- oci/os_management_hub/models/rerun_work_request_details.py +103 -0
- oci/os_management_hub/models/scheduled_job.py +37 -2
- oci/os_management_hub/models/scheduled_job_operation.py +46 -5
- oci/os_management_hub/models/scheduled_job_summary.py +37 -2
- oci/os_management_hub/models/software_source.py +39 -15
- oci/os_management_hub/models/software_source_details.py +11 -3
- oci/os_management_hub/models/software_source_event.py +1 -1
- oci/os_management_hub/models/software_source_profile.py +16 -2
- oci/os_management_hub/models/software_source_summary.py +30 -10
- oci/os_management_hub/models/software_source_vendor_summary.py +7 -3
- oci/os_management_hub/models/software_update_event.py +1 -1
- oci/os_management_hub/models/station_health.py +7 -3
- oci/os_management_hub/models/station_profile.py +16 -2
- oci/os_management_hub/models/synchronize_mirrors_details.py +7 -3
- oci/os_management_hub/models/sysadmin_event.py +184 -0
- oci/os_management_hub/models/sysadmin_event_data.py +239 -0
- oci/os_management_hub/models/system_details.py +7 -3
- oci/os_management_hub/models/third_party_software_source.py +330 -0
- oci/os_management_hub/models/third_party_software_source_summary.py +212 -0
- oci/os_management_hub/models/updatable_package_summary.py +1 -1
- oci/os_management_hub/models/update_custom_software_source_details.py +1 -1
- oci/os_management_hub/models/update_management_station_details.py +31 -0
- oci/os_management_hub/models/update_mirror_configuration_details.py +33 -2
- oci/os_management_hub/models/update_private_software_source_details.py +272 -0
- oci/os_management_hub/models/update_profile_details.py +1 -1
- oci/os_management_hub/models/update_scheduled_job_details.py +2 -2
- oci/os_management_hub/models/update_software_source_details.py +19 -3
- oci/os_management_hub/models/update_third_party_software_source_details.py +272 -0
- oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
- oci/os_management_hub/models/update_versioned_custom_software_source_details.py +1 -1
- oci/os_management_hub/models/update_work_request_details.py +9 -5
- oci/os_management_hub/models/vendor_software_source.py +5 -5
- oci/os_management_hub/models/vendor_software_source_summary.py +2 -2
- oci/os_management_hub/models/versioned_custom_software_source.py +102 -9
- oci/os_management_hub/models/versioned_custom_software_source_summary.py +63 -7
- oci/os_management_hub/models/windows_standalone_profile.py +17 -3
- oci/os_management_hub/models/work_request.py +102 -14
- oci/os_management_hub/models/work_request_error.py +4 -4
- oci/os_management_hub/models/work_request_error_collection.py +1 -1
- oci/os_management_hub/models/work_request_log_entry_collection.py +1 -1
- oci/os_management_hub/models/work_request_summary.py +47 -8
- oci/os_management_hub/models/work_request_summary_collection.py +1 -1
- oci/os_management_hub/onboarding_client.py +991 -75
- oci/os_management_hub/reporting_managed_instance_client.py +9 -9
- oci/os_management_hub/scheduled_job_client.py +9 -9
- oci/os_management_hub/software_source_client.py +848 -47
- oci/os_management_hub/software_source_client_composite_operations.py +132 -0
- oci/os_management_hub/work_request_client.py +144 -11
- oci/os_management_hub/work_request_client_composite_operations.py +46 -0
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/models/redis_cluster.py +7 -3
- oci/redis/models/update_redis_cluster_details.py +31 -0
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- 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 +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- 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/zpr/zpr_client.py +15 -15
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/METADATA +1 -1
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/RECORD +473 -411
- oci/container_instances/models/container_command_health_check.py +0 -147
- oci/container_instances/models/create_container_command_health_check_details.py +0 -132
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/WHEEL +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/top_level.txt +0 -0
@@ -169,6 +169,94 @@ class SoftwareSourceClientCompositeOperations(object):
|
|
169
169
|
except Exception as e:
|
170
170
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
171
171
|
|
172
|
+
def remove_packages_from_software_source_and_wait_for_state(self, software_source_id, remove_packages_from_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
173
|
+
"""
|
174
|
+
Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.remove_packages_from_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
175
|
+
to enter the given state(s).
|
176
|
+
|
177
|
+
:param str software_source_id: (required)
|
178
|
+
The `OCID`__ of the software source.
|
179
|
+
|
180
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
181
|
+
|
182
|
+
:param oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails remove_packages_from_software_source_details: (required)
|
183
|
+
A list of packages to be removed from the software source.
|
184
|
+
|
185
|
+
:param list[str] wait_for_states:
|
186
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
187
|
+
|
188
|
+
:param dict operation_kwargs:
|
189
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.remove_packages_from_software_source`
|
190
|
+
|
191
|
+
:param dict waiter_kwargs:
|
192
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
193
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
194
|
+
"""
|
195
|
+
operation_result = self.client.remove_packages_from_software_source(software_source_id, remove_packages_from_software_source_details, **operation_kwargs)
|
196
|
+
if not wait_for_states:
|
197
|
+
return operation_result
|
198
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
199
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
200
|
+
return operation_result
|
201
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
202
|
+
|
203
|
+
try:
|
204
|
+
waiter_result = oci.wait_until(
|
205
|
+
self.client,
|
206
|
+
self.client.get_work_request(wait_for_resource_id),
|
207
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
208
|
+
**waiter_kwargs
|
209
|
+
)
|
210
|
+
result_to_return = waiter_result
|
211
|
+
|
212
|
+
return result_to_return
|
213
|
+
except Exception as e:
|
214
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
215
|
+
|
216
|
+
def replace_packages_in_software_source_and_wait_for_state(self, software_source_id, replace_packages_in_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
217
|
+
"""
|
218
|
+
Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.replace_packages_in_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
219
|
+
to enter the given state(s).
|
220
|
+
|
221
|
+
:param str software_source_id: (required)
|
222
|
+
The `OCID`__ of the software source.
|
223
|
+
|
224
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
225
|
+
|
226
|
+
:param oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails replace_packages_in_software_source_details: (required)
|
227
|
+
A list of packages that will replace the existing packages in the software source.
|
228
|
+
|
229
|
+
:param list[str] wait_for_states:
|
230
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
231
|
+
|
232
|
+
:param dict operation_kwargs:
|
233
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.replace_packages_in_software_source`
|
234
|
+
|
235
|
+
:param dict waiter_kwargs:
|
236
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
237
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
238
|
+
"""
|
239
|
+
operation_result = self.client.replace_packages_in_software_source(software_source_id, replace_packages_in_software_source_details, **operation_kwargs)
|
240
|
+
if not wait_for_states:
|
241
|
+
return operation_result
|
242
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
243
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
244
|
+
return operation_result
|
245
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
246
|
+
|
247
|
+
try:
|
248
|
+
waiter_result = oci.wait_until(
|
249
|
+
self.client,
|
250
|
+
self.client.get_work_request(wait_for_resource_id),
|
251
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
252
|
+
**waiter_kwargs
|
253
|
+
)
|
254
|
+
result_to_return = waiter_result
|
255
|
+
|
256
|
+
return result_to_return
|
257
|
+
except Exception as e:
|
258
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
259
|
+
|
172
260
|
def update_software_source_and_wait_for_state(self, software_source_id, update_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
173
261
|
"""
|
174
262
|
Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
@@ -212,3 +300,47 @@ class SoftwareSourceClientCompositeOperations(object):
|
|
212
300
|
return result_to_return
|
213
301
|
except Exception as e:
|
214
302
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
303
|
+
|
304
|
+
def update_software_source_manifest_and_wait_for_state(self, update_software_source_manifest_details, software_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
305
|
+
"""
|
306
|
+
Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source_manifest` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
307
|
+
to enter the given state(s).
|
308
|
+
|
309
|
+
:param stream update_software_source_manifest_details: (required)
|
310
|
+
Provides the document used to update the package list of the software source.
|
311
|
+
|
312
|
+
:param str software_source_id: (required)
|
313
|
+
The `OCID`__ of the software source.
|
314
|
+
|
315
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
316
|
+
|
317
|
+
:param list[str] wait_for_states:
|
318
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
319
|
+
|
320
|
+
:param dict operation_kwargs:
|
321
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source_manifest`
|
322
|
+
|
323
|
+
:param dict waiter_kwargs:
|
324
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
325
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
326
|
+
"""
|
327
|
+
operation_result = self.client.update_software_source_manifest(update_software_source_manifest_details, software_source_id, **operation_kwargs)
|
328
|
+
if not wait_for_states:
|
329
|
+
return operation_result
|
330
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
331
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
332
|
+
return operation_result
|
333
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
334
|
+
|
335
|
+
try:
|
336
|
+
waiter_result = oci.wait_until(
|
337
|
+
self.client,
|
338
|
+
self.client.get_work_request(wait_for_resource_id),
|
339
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
340
|
+
**waiter_kwargs
|
341
|
+
)
|
342
|
+
result_to_return = waiter_result
|
343
|
+
|
344
|
+
return result_to_return
|
345
|
+
except Exception as e:
|
346
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -119,7 +119,7 @@ class WorkRequestClient(object):
|
|
119
119
|
|
120
120
|
def get_work_request(self, work_request_id, **kwargs):
|
121
121
|
"""
|
122
|
-
|
122
|
+
Returns information about the specified work request.
|
123
123
|
|
124
124
|
|
125
125
|
:param str work_request_id: (required)
|
@@ -146,7 +146,7 @@ class WorkRequestClient(object):
|
|
146
146
|
:rtype: :class:`~oci.response.Response`
|
147
147
|
|
148
148
|
:example:
|
149
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
150
150
|
"""
|
151
151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
152
152
|
required_arguments = ['workRequestId']
|
@@ -219,7 +219,7 @@ class WorkRequestClient(object):
|
|
219
219
|
|
220
220
|
def list_work_request_errors(self, work_request_id, **kwargs):
|
221
221
|
"""
|
222
|
-
|
222
|
+
Returns the errors for the specified work request.
|
223
223
|
|
224
224
|
|
225
225
|
:param str work_request_id: (required)
|
@@ -273,7 +273,7 @@ class WorkRequestClient(object):
|
|
273
273
|
:rtype: :class:`~oci.response.Response`
|
274
274
|
|
275
275
|
:example:
|
276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
277
277
|
"""
|
278
278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
279
279
|
required_arguments = ['workRequestId']
|
@@ -374,7 +374,7 @@ class WorkRequestClient(object):
|
|
374
374
|
|
375
375
|
def list_work_request_logs(self, work_request_id, **kwargs):
|
376
376
|
"""
|
377
|
-
|
377
|
+
Returns the logs for the specified work request.
|
378
378
|
|
379
379
|
|
380
380
|
:param str work_request_id: (required)
|
@@ -428,7 +428,7 @@ class WorkRequestClient(object):
|
|
428
428
|
:rtype: :class:`~oci.response.Response`
|
429
429
|
|
430
430
|
:example:
|
431
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
431
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
432
432
|
"""
|
433
433
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
434
434
|
required_arguments = ['workRequestId']
|
@@ -544,7 +544,7 @@ class WorkRequestClient(object):
|
|
544
544
|
:param list[str] status: (optional)
|
545
545
|
A filter to return work requests that match the given status.
|
546
546
|
|
547
|
-
Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
|
547
|
+
Allowed values are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
|
548
548
|
|
549
549
|
:param str resource_id: (optional)
|
550
550
|
The `OCID`__ of the resource. This filter returns resources associated with the specified resource.
|
@@ -599,7 +599,7 @@ class WorkRequestClient(object):
|
|
599
599
|
:param list[str] operation_type: (optional)
|
600
600
|
The asynchronous operation tracked by this work request. The filter returns only resources that match the given OperationType.
|
601
601
|
|
602
|
-
Allowed values are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"
|
602
|
+
Allowed values are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"
|
603
603
|
|
604
604
|
:param str display_name_contains: (optional)
|
605
605
|
A filter to return resources that may partially match the given display name.
|
@@ -609,6 +609,11 @@ class WorkRequestClient(object):
|
|
609
609
|
|
610
610
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
611
611
|
|
612
|
+
:param str rerun_of_id: (optional)
|
613
|
+
A filter to return the work requests that are a rerun of the given work request `OCIDs`__.
|
614
|
+
|
615
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
616
|
+
|
612
617
|
:param datetime time_created_less_than: (optional)
|
613
618
|
A filter to return work requests that were created before the date provided (in `RFC 3339`__ format). Example: '2023-08-25T21:10:29.600Z'
|
614
619
|
|
@@ -638,7 +643,7 @@ class WorkRequestClient(object):
|
|
638
643
|
:rtype: :class:`~oci.response.Response`
|
639
644
|
|
640
645
|
:example:
|
641
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
642
647
|
"""
|
643
648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
644
649
|
required_arguments = []
|
@@ -666,6 +671,7 @@ class WorkRequestClient(object):
|
|
666
671
|
"operation_type",
|
667
672
|
"display_name_contains",
|
668
673
|
"retry_of_id",
|
674
|
+
"rerun_of_id",
|
669
675
|
"time_created_less_than",
|
670
676
|
"time_created_greater_than_or_equal_to",
|
671
677
|
"is_managed_by_autonomous_linux"
|
@@ -676,7 +682,7 @@ class WorkRequestClient(object):
|
|
676
682
|
f"list_work_requests got unknown kwargs: {extra_kwargs!r}")
|
677
683
|
|
678
684
|
if 'status' in kwargs:
|
679
|
-
status_allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
|
685
|
+
status_allowed_values = ["WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
|
680
686
|
for status_item in kwargs['status']:
|
681
687
|
if status_item not in status_allowed_values:
|
682
688
|
raise ValueError(
|
@@ -698,7 +704,7 @@ class WorkRequestClient(object):
|
|
698
704
|
)
|
699
705
|
|
700
706
|
if 'operation_type' in kwargs:
|
701
|
-
operation_type_allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"]
|
707
|
+
operation_type_allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"]
|
702
708
|
for operation_type_item in kwargs['operation_type']:
|
703
709
|
if operation_type_item not in operation_type_allowed_values:
|
704
710
|
raise ValueError(
|
@@ -720,6 +726,7 @@ class WorkRequestClient(object):
|
|
720
726
|
"operationType": self.base_client.generate_collection_format_param(kwargs.get("operation_type", missing), 'multi'),
|
721
727
|
"displayNameContains": kwargs.get("display_name_contains", missing),
|
722
728
|
"retryOfId": kwargs.get("retry_of_id", missing),
|
729
|
+
"rerunOfId": kwargs.get("rerun_of_id", missing),
|
723
730
|
"timeCreatedLessThan": kwargs.get("time_created_less_than", missing),
|
724
731
|
"timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
|
725
732
|
"isManagedByAutonomousLinux": kwargs.get("is_managed_by_autonomous_linux", missing)
|
@@ -766,3 +773,129 @@ class WorkRequestClient(object):
|
|
766
773
|
operation_name=operation_name,
|
767
774
|
api_reference_link=api_reference_link,
|
768
775
|
required_arguments=required_arguments)
|
776
|
+
|
777
|
+
def rerun_work_request(self, work_request_id, rerun_work_request_details, **kwargs):
|
778
|
+
"""
|
779
|
+
Reruns a failed work for the specified work request `OCID`__. Rerunning restarts the work on failed targets.
|
780
|
+
|
781
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
782
|
+
|
783
|
+
|
784
|
+
:param str work_request_id: (required)
|
785
|
+
The `OCID`__ of the work request.
|
786
|
+
|
787
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
788
|
+
|
789
|
+
:param oci.os_management_hub.models.RerunWorkRequestDetails rerun_work_request_details: (required)
|
790
|
+
The resource `OCIDs`__ to rerun the work requests for. If no OCIDs are provided, rerun will apply to all failed work requests associated with the specified work request id.
|
791
|
+
|
792
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
793
|
+
|
794
|
+
:param str opc_request_id: (optional)
|
795
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
796
|
+
|
797
|
+
:param str opc_retry_token: (optional)
|
798
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
799
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
800
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
801
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
802
|
+
might be rejected.
|
803
|
+
|
804
|
+
:param str if_match: (optional)
|
805
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
806
|
+
for a resource, set the `if-match` parameter to the value of the
|
807
|
+
etag from a previous GET or POST response for that resource.
|
808
|
+
The resource will be updated or deleted only if the etag you
|
809
|
+
provide matches the resource's current etag value.
|
810
|
+
|
811
|
+
:param obj retry_strategy: (optional)
|
812
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
813
|
+
|
814
|
+
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.
|
815
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
816
|
+
|
817
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
818
|
+
|
819
|
+
:param bool allow_control_chars: (optional)
|
820
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
821
|
+
By default, the response will not allow control characters in strings
|
822
|
+
|
823
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
824
|
+
:rtype: :class:`~oci.response.Response`
|
825
|
+
|
826
|
+
:example:
|
827
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/rerun_work_request.py.html>`__ to see an example of how to use rerun_work_request API.
|
828
|
+
"""
|
829
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
830
|
+
required_arguments = ['workRequestId']
|
831
|
+
resource_path = "/workRequests/{workRequestId}/actions/rerun"
|
832
|
+
method = "POST"
|
833
|
+
operation_name = "rerun_work_request"
|
834
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/WorkRequest/RerunWorkRequest"
|
835
|
+
|
836
|
+
# Don't accept unknown kwargs
|
837
|
+
expected_kwargs = [
|
838
|
+
"allow_control_chars",
|
839
|
+
"retry_strategy",
|
840
|
+
"opc_request_id",
|
841
|
+
"opc_retry_token",
|
842
|
+
"if_match"
|
843
|
+
]
|
844
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
845
|
+
if extra_kwargs:
|
846
|
+
raise ValueError(
|
847
|
+
f"rerun_work_request got unknown kwargs: {extra_kwargs!r}")
|
848
|
+
|
849
|
+
path_params = {
|
850
|
+
"workRequestId": work_request_id
|
851
|
+
}
|
852
|
+
|
853
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
854
|
+
|
855
|
+
for (k, v) in six.iteritems(path_params):
|
856
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
857
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
858
|
+
|
859
|
+
header_params = {
|
860
|
+
"accept": "application/json",
|
861
|
+
"content-type": "application/json",
|
862
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
863
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
864
|
+
"if-match": kwargs.get("if_match", missing)
|
865
|
+
}
|
866
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
867
|
+
|
868
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
869
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
870
|
+
client_retry_strategy=self.retry_strategy
|
871
|
+
)
|
872
|
+
if retry_strategy is None:
|
873
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
874
|
+
|
875
|
+
if retry_strategy:
|
876
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
877
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
878
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
879
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
880
|
+
return retry_strategy.make_retrying_call(
|
881
|
+
self.base_client.call_api,
|
882
|
+
resource_path=resource_path,
|
883
|
+
method=method,
|
884
|
+
path_params=path_params,
|
885
|
+
header_params=header_params,
|
886
|
+
body=rerun_work_request_details,
|
887
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
888
|
+
operation_name=operation_name,
|
889
|
+
api_reference_link=api_reference_link,
|
890
|
+
required_arguments=required_arguments)
|
891
|
+
else:
|
892
|
+
return self.base_client.call_api(
|
893
|
+
resource_path=resource_path,
|
894
|
+
method=method,
|
895
|
+
path_params=path_params,
|
896
|
+
header_params=header_params,
|
897
|
+
body=rerun_work_request_details,
|
898
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
899
|
+
operation_name=operation_name,
|
900
|
+
api_reference_link=api_reference_link,
|
901
|
+
required_arguments=required_arguments)
|
@@ -24,3 +24,49 @@ class WorkRequestClientCompositeOperations(object):
|
|
24
24
|
The service client which will be wrapped by this object
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
|
+
|
28
|
+
def rerun_work_request_and_wait_for_state(self, work_request_id, rerun_work_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.os_management_hub.WorkRequestClient.rerun_work_request` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str work_request_id: (required)
|
34
|
+
The `OCID`__ of the work request.
|
35
|
+
|
36
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
37
|
+
|
38
|
+
:param oci.os_management_hub.models.RerunWorkRequestDetails rerun_work_request_details: (required)
|
39
|
+
The resource `OCIDs`__ to rerun the work requests for. If no OCIDs are provided, rerun will apply to all failed work requests associated with the specified work request id.
|
40
|
+
|
41
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
42
|
+
|
43
|
+
:param list[str] wait_for_states:
|
44
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
45
|
+
|
46
|
+
:param dict operation_kwargs:
|
47
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.WorkRequestClient.rerun_work_request`
|
48
|
+
|
49
|
+
:param dict waiter_kwargs:
|
50
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
51
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
52
|
+
"""
|
53
|
+
operation_result = self.client.rerun_work_request(work_request_id, rerun_work_request_details, **operation_kwargs)
|
54
|
+
if not wait_for_states:
|
55
|
+
return operation_result
|
56
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
57
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
58
|
+
return operation_result
|
59
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
60
|
+
|
61
|
+
try:
|
62
|
+
waiter_result = oci.wait_until(
|
63
|
+
self.client,
|
64
|
+
self.client.get_work_request(wait_for_resource_id),
|
65
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
66
|
+
**waiter_kwargs
|
67
|
+
)
|
68
|
+
result_to_return = waiter_result
|
69
|
+
|
70
|
+
return result_to_return
|
71
|
+
except Exception as e:
|
72
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -152,7 +152,7 @@ class AddressRuleServiceClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/get_address_rule.py.html>`__ to see an example of how to use get_address_rule API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['countryCode', 'ospHomeRegion', 'compartmentId']
|
@@ -152,7 +152,7 @@ class AddressServiceClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/get_address.py.html>`__ to see an example of how to use get_address API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['addressId', 'ospHomeRegion', 'compartmentId']
|
@@ -278,7 +278,7 @@ class AddressServiceClient(object):
|
|
278
278
|
:rtype: :class:`~oci.response.Response`
|
279
279
|
|
280
280
|
:example:
|
281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
281
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/verify_address.py.html>`__ to see an example of how to use verify_address API.
|
282
282
|
"""
|
283
283
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
284
284
|
required_arguments = ['ospHomeRegion', 'compartmentId']
|
@@ -152,7 +152,7 @@ class InvoiceServiceClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/download_pdf_content.py.html>`__ to see an example of how to use download_pdf_content API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['internalInvoiceId', 'ospHomeRegion', 'compartmentId']
|
@@ -267,7 +267,7 @@ class InvoiceServiceClient(object):
|
|
267
267
|
:rtype: :class:`~oci.response.Response`
|
268
268
|
|
269
269
|
:example:
|
270
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
270
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/get_invoice.py.html>`__ to see an example of how to use get_invoice API.
|
271
271
|
"""
|
272
272
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
273
273
|
required_arguments = ['internalInvoiceId', 'ospHomeRegion', 'compartmentId']
|
@@ -388,7 +388,7 @@ class InvoiceServiceClient(object):
|
|
388
388
|
:rtype: :class:`~oci.response.Response`
|
389
389
|
|
390
390
|
:example:
|
391
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
391
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/list_invoice_lines.py.html>`__ to see an example of how to use list_invoice_lines API.
|
392
392
|
"""
|
393
393
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
394
394
|
required_arguments = ['internalInvoiceId', 'ospHomeRegion', 'compartmentId']
|
@@ -551,7 +551,7 @@ class InvoiceServiceClient(object):
|
|
551
551
|
:rtype: :class:`~oci.response.Response`
|
552
552
|
|
553
553
|
:example:
|
554
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
554
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/list_invoices.py.html>`__ to see an example of how to use list_invoices API.
|
555
555
|
"""
|
556
556
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
557
557
|
required_arguments = ['ospHomeRegion', 'compartmentId']
|
@@ -722,7 +722,7 @@ class InvoiceServiceClient(object):
|
|
722
722
|
:rtype: :class:`~oci.response.Response`
|
723
723
|
|
724
724
|
:example:
|
725
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
725
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/pay_invoice.py.html>`__ to see an example of how to use pay_invoice API.
|
726
726
|
"""
|
727
727
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
728
728
|
required_arguments = ['internalInvoiceId', 'ospHomeRegion', 'compartmentId']
|
@@ -166,7 +166,7 @@ class SubscriptionServiceClient(object):
|
|
166
166
|
:rtype: :class:`~oci.response.Response`
|
167
167
|
|
168
168
|
:example:
|
169
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
169
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/authorize_subscription_payment.py.html>`__ to see an example of how to use authorize_subscription_payment API.
|
170
170
|
"""
|
171
171
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
172
172
|
required_arguments = ['subscriptionId', 'ospHomeRegion', 'compartmentId']
|
@@ -288,7 +288,7 @@ class SubscriptionServiceClient(object):
|
|
288
288
|
:rtype: :class:`~oci.response.Response`
|
289
289
|
|
290
290
|
:example:
|
291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
291
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/get_subscription.py.html>`__ to see an example of how to use get_subscription API.
|
292
292
|
"""
|
293
293
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
294
294
|
required_arguments = ['subscriptionId', 'ospHomeRegion', 'compartmentId']
|
@@ -416,7 +416,7 @@ class SubscriptionServiceClient(object):
|
|
416
416
|
:rtype: :class:`~oci.response.Response`
|
417
417
|
|
418
418
|
:example:
|
419
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
419
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/list_subscriptions.py.html>`__ to see an example of how to use list_subscriptions API.
|
420
420
|
"""
|
421
421
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
422
422
|
required_arguments = ['ospHomeRegion', 'compartmentId']
|
@@ -555,7 +555,7 @@ class SubscriptionServiceClient(object):
|
|
555
555
|
:rtype: :class:`~oci.response.Response`
|
556
556
|
|
557
557
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/pay_subscription.py.html>`__ to see an example of how to use pay_subscription API.
|
559
559
|
"""
|
560
560
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
561
|
required_arguments = ['subscriptionId', 'ospHomeRegion', 'compartmentId']
|
@@ -687,7 +687,7 @@ class SubscriptionServiceClient(object):
|
|
687
687
|
:rtype: :class:`~oci.response.Response`
|
688
688
|
|
689
689
|
:example:
|
690
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
690
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/ospgateway/update_subscription.py.html>`__ to see an example of how to use update_subscription API.
|
691
691
|
"""
|
692
692
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
693
693
|
required_arguments = ['subscriptionId', 'ospHomeRegion', 'compartmentId']
|
@@ -171,7 +171,7 @@ class BillingScheduleClient(object):
|
|
171
171
|
:rtype: :class:`~oci.response.Response`
|
172
172
|
|
173
173
|
:example:
|
174
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
174
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osubbillingschedule/list_billing_schedules.py.html>`__ to see an example of how to use list_billing_schedules API.
|
175
175
|
"""
|
176
176
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
177
177
|
required_arguments = ['compartmentId', 'subscriptionId']
|
@@ -167,7 +167,7 @@ class OrganizationSubscriptionClient(object):
|
|
167
167
|
:rtype: :class:`~oci.response.Response`
|
168
168
|
|
169
169
|
:example:
|
170
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osuborganizationsubscription/list_organization_subscriptions.py.html>`__ to see an example of how to use list_organization_subscriptions API.
|
171
171
|
"""
|
172
172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
173
173
|
required_arguments = ['compartmentId', 'subscriptionIds']
|
@@ -150,7 +150,7 @@ class CommitmentClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osubsubscription/get_commitment.py.html>`__ to see an example of how to use get_commitment API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = ['commitmentId']
|
@@ -278,7 +278,7 @@ class CommitmentClient(object):
|
|
278
278
|
:rtype: :class:`~oci.response.Response`
|
279
279
|
|
280
280
|
:example:
|
281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
281
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osubsubscription/list_commitments.py.html>`__ to see an example of how to use list_commitments API.
|
282
282
|
"""
|
283
283
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
284
284
|
required_arguments = ['subscribedServiceId', 'compartmentId']
|
@@ -177,7 +177,7 @@ class RatecardClient(object):
|
|
177
177
|
:rtype: :class:`~oci.response.Response`
|
178
178
|
|
179
179
|
:example:
|
180
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
180
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osubsubscription/list_rate_cards.py.html>`__ to see an example of how to use list_rate_cards API.
|
181
181
|
"""
|
182
182
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
183
183
|
required_arguments = ['subscriptionId', 'compartmentId']
|
@@ -183,7 +183,7 @@ class SubscriptionClient(object):
|
|
183
183
|
:rtype: :class:`~oci.response.Response`
|
184
184
|
|
185
185
|
:example:
|
186
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
186
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osubsubscription/list_subscriptions.py.html>`__ to see an example of how to use list_subscriptions API.
|
187
187
|
"""
|
188
188
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
189
189
|
required_arguments = ['compartmentId']
|