oci 2.150.2__py3-none-any.whl → 2.151.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 +1 -1
- 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 +12 -12
- 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 +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- 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 +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +606 -427
- oci/database/models/__init__.py +4 -0
- oci/database/models/system_version_minor_version_collection.py +70 -0
- oci/database/models/system_version_minor_version_summary.py +70 -0
- 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_migration/models/migration.py +7 -3
- oci/database_migration/models/migration_job_progress_resource.py +7 -3
- oci/database_migration/models/migration_job_progress_summary.py +7 -3
- oci/database_migration/models/migration_phase_summary.py +7 -3
- oci/database_migration/models/my_sql_migration.py +1 -1
- oci/database_migration/models/oracle_migration.py +1 -1
- oci/database_migration/models/parameter_file_version.py +1 -1
- oci/database_migration/models/parameter_file_version_collection.py +3 -3
- oci/database_migration/models/parameter_file_version_summary.py +1 -1
- oci/database_migration/models/phase_status.py +7 -3
- oci/database_migration/models/resume_job_details.py +7 -3
- oci/database_migration/models/start_migration_details.py +7 -3
- oci/database_migration/models/update_oracle_migration_details.py +2 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- 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/disaster_recovery/models/__init__.py +42 -0
- oci/disaster_recovery/models/block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +35 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +35 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +1 -0
- oci/disaster_recovery/models/create_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/create_block_volume_mount_details.py +3 -2
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +115 -2
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +14 -14
- oci/disaster_recovery/models/create_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/create_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/dr_plan_step.py +58 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +58 -3
- oci/disaster_recovery/models/dr_plan_user_defined_step.py +57 -13
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +29 -2
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +31 -2
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +64 -2
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +113 -2
- oci/disaster_recovery/models/invoke_function_precheck_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_user_defined_custom_precheck_step.py +154 -0
- oci/disaster_recovery/models/local_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/object_store_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/run_local_script_user_defined_custom_precheck_step.py +199 -0
- oci/disaster_recovery/models/run_local_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/run_object_store_script_user_defined_custom_precheck_step.py +156 -0
- oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/source_volume_to_destination_encryption_key_mapping.py +101 -0
- oci/disaster_recovery/models/update_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/update_block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +57 -13
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +113 -2
- oci/disaster_recovery/models/update_invoke_function_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_invoke_function_user_defined_custom_precheck_step_details.py +119 -0
- oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_local_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_object_store_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_local_script_user_defined_custom_precheck_step_details.py +164 -0
- oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_custom_precheck_step_details.py +121 -0
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/update_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/vault_and_encryption_key.py +115 -0
- 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_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/__init__.py +8 -2
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +396 -84
- oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +92 -11
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +969 -0
- oci/fleet_apps_management/fleet_apps_management_catalog_client_composite_operations.py +246 -0
- oci/fleet_apps_management/fleet_apps_management_client.py +248 -670
- oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +49 -7
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +17 -14
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +1 -1
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +597 -98
- oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +46 -4
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +814 -0
- oci/fleet_apps_management/fleet_apps_management_provision_client_composite_operations.py +202 -0
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +952 -135
- oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +218 -6
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +656 -0
- oci/fleet_apps_management/fleet_apps_management_work_request_client_composite_operations.py +26 -0
- oci/fleet_apps_management/models/__init__.py +155 -5
- oci/fleet_apps_management/models/action_group.py +62 -233
- oci/fleet_apps_management/models/action_group_based_user_action_details.py +2 -2
- oci/fleet_apps_management/models/action_group_details.py +57 -141
- oci/fleet_apps_management/models/activity_resource_target.py +1 -1
- oci/fleet_apps_management/models/announcement_collection.py +3 -3
- oci/fleet_apps_management/models/announcement_summary.py +5 -5
- oci/fleet_apps_management/models/api_based_execution_details.py +2 -2
- oci/fleet_apps_management/models/artifact_details.py +1 -1
- oci/fleet_apps_management/models/associated_fleet_credential_details.py +3 -3
- oci/fleet_apps_management/models/associated_fleet_property_details.py +3 -3
- oci/fleet_apps_management/models/associated_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/associated_local_task_details.py +2 -2
- oci/fleet_apps_management/models/associated_scheduler_definition.py +1 -32
- oci/fleet_apps_management/models/associated_shared_task_details.py +1 -1
- oci/fleet_apps_management/models/associated_task_details.py +1 -1
- oci/fleet_apps_management/models/catalog_content_details.py +80 -0
- oci/fleet_apps_management/models/catalog_git_result_config.py +153 -0
- oci/fleet_apps_management/models/catalog_git_source_config.py +152 -0
- oci/fleet_apps_management/models/catalog_item.py +874 -0
- oci/fleet_apps_management/models/catalog_item_collection.py +70 -0
- oci/fleet_apps_management/models/catalog_item_summary.py +689 -0
- oci/fleet_apps_management/models/catalog_marketplace_source_config.py +117 -0
- oci/fleet_apps_management/models/catalog_par_result_config.py +126 -0
- oci/fleet_apps_management/models/catalog_par_source_config.py +218 -0
- oci/fleet_apps_management/models/catalog_result_payload.py +146 -0
- oci/fleet_apps_management/models/catalog_source_payload.py +130 -0
- oci/fleet_apps_management/models/catalog_source_template_config.py +179 -0
- oci/fleet_apps_management/models/catalog_template_result_config.py +87 -0
- oci/fleet_apps_management/models/change_catalog_item_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_fleet_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_patch_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_platform_configuration_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_property_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_provision_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_runbook_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_task_record_compartment_details.py +74 -0
- oci/fleet_apps_management/models/check_resource_tagging_details.py +3 -3
- oci/fleet_apps_management/models/clone_catalog_item_details.py +105 -0
- oci/fleet_apps_management/models/compliance_detail_policy.py +1 -1
- oci/fleet_apps_management/models/compliance_detail_product.py +2 -2
- oci/fleet_apps_management/models/compliance_detail_resource.py +3 -3
- oci/fleet_apps_management/models/compliance_detail_target.py +2 -2
- oci/fleet_apps_management/models/compliance_patch_detail.py +2 -2
- oci/fleet_apps_management/models/compliance_policy.py +49 -2
- oci/fleet_apps_management/models/compliance_policy_collection.py +3 -3
- oci/fleet_apps_management/models/compliance_policy_rule.py +16 -16
- oci/fleet_apps_management/models/compliance_policy_rule_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_policy_rule_summary.py +16 -16
- oci/fleet_apps_management/models/compliance_policy_summary.py +32 -1
- oci/fleet_apps_management/models/compliance_record.py +102 -3
- oci/fleet_apps_management/models/compliance_record_aggregation.py +3 -3
- oci/fleet_apps_management/models/compliance_record_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_record_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_record_dimension.py +1 -1
- oci/fleet_apps_management/models/compliance_record_summary.py +102 -3
- oci/fleet_apps_management/models/compliance_report.py +32 -1
- oci/fleet_apps_management/models/compliance_report_patch_detail.py +1 -1
- oci/fleet_apps_management/models/compliance_report_product.py +1 -1
- oci/fleet_apps_management/models/compliance_report_resource.py +1 -1
- oci/fleet_apps_management/models/compliance_report_target.py +1 -1
- oci/fleet_apps_management/models/component_properties.py +20 -30
- oci/fleet_apps_management/models/condition.py +1 -1
- oci/fleet_apps_management/models/config_association_details.py +1 -1
- oci/fleet_apps_management/models/config_category_details.py +20 -4
- oci/fleet_apps_management/models/config_file_details.py +99 -0
- oci/fleet_apps_management/models/confirm_targets_details.py +1 -1
- oci/fleet_apps_management/models/content_details.py +12 -4
- oci/fleet_apps_management/models/create_catalog_item_details.py +452 -0
- oci/fleet_apps_management/models/create_compliance_policy_rule_details.py +17 -48
- oci/fleet_apps_management/models/create_fleet_credential_details.py +1 -32
- oci/fleet_apps_management/models/create_fleet_details.py +112 -151
- oci/fleet_apps_management/models/create_fleet_property_details.py +1 -32
- oci/fleet_apps_management/models/create_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/create_maintenance_window_details.py +4 -78
- oci/fleet_apps_management/models/create_onboarding_details.py +1 -1
- oci/fleet_apps_management/models/create_patch_details.py +1 -1
- oci/fleet_apps_management/models/create_platform_configuration_details.py +4 -4
- oci/fleet_apps_management/models/create_property_details.py +4 -4
- oci/fleet_apps_management/models/create_provision_details.py +431 -0
- oci/fleet_apps_management/models/create_runbook_details.py +53 -53
- oci/fleet_apps_management/models/create_runbook_version_details.py +252 -0
- oci/fleet_apps_management/models/create_scheduler_definition_details.py +3 -34
- oci/fleet_apps_management/models/create_task_record_details.py +3 -3
- oci/fleet_apps_management/models/credential_config_category_details.py +2 -2
- oci/fleet_apps_management/models/credential_details.py +1 -1
- oci/fleet_apps_management/models/credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/custom_schedule.py +118 -0
- oci/fleet_apps_management/models/dependent_patch_details.py +1 -1
- oci/fleet_apps_management/models/deployed_resource_details.py +200 -0
- oci/fleet_apps_management/models/details.py +35 -4
- oci/fleet_apps_management/models/discovered_target.py +1 -1
- oci/fleet_apps_management/models/dynamic_resource_selection.py +76 -0
- oci/fleet_apps_management/models/enable_latest_policy_details.py +1 -1
- oci/fleet_apps_management/models/entity_execution_details.py +1 -1
- oci/fleet_apps_management/models/environment_config_category_details.py +2 -2
- oci/fleet_apps_management/models/environment_fleet_details.py +49 -0
- oci/fleet_apps_management/models/execution.py +32 -1
- oci/fleet_apps_management/models/execution_collection.py +1 -1
- oci/fleet_apps_management/models/execution_details.py +12 -4
- oci/fleet_apps_management/models/execution_summary.py +32 -1
- oci/fleet_apps_management/models/execution_workflow_details.py +1 -1
- oci/fleet_apps_management/models/export_compliance_report_details.py +2 -2
- oci/fleet_apps_management/models/file_input_argument.py +63 -0
- oci/fleet_apps_management/models/file_task_argument.py +83 -0
- oci/fleet_apps_management/models/fleet.py +80 -208
- oci/fleet_apps_management/models/fleet_based_action_group.py +186 -0
- oci/fleet_apps_management/models/fleet_based_action_group_details.py +223 -0
- oci/fleet_apps_management/models/fleet_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_credential.py +3 -3
- oci/fleet_apps_management/models/fleet_credential_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_details.py +131 -0
- oci/fleet_apps_management/models/fleet_product_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_product_summary.py +1 -1
- oci/fleet_apps_management/models/fleet_property.py +4 -4
- oci/fleet_apps_management/models/fleet_property_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_property_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_resource.py +32 -34
- oci/fleet_apps_management/models/fleet_resource_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_resource_summary.py +32 -34
- oci/fleet_apps_management/models/fleet_summary.py +20 -32
- oci/fleet_apps_management/models/fleet_target.py +3 -3
- oci/fleet_apps_management/models/fleet_target_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_target_summary.py +3 -3
- oci/fleet_apps_management/models/generate_compliance_report_details.py +1 -1
- oci/fleet_apps_management/models/generic_artifact.py +5 -5
- oci/fleet_apps_management/models/generic_artifact_details.py +1 -1
- oci/fleet_apps_management/models/generic_fleet_details.py +49 -0
- oci/fleet_apps_management/models/group.py +1 -1
- oci/fleet_apps_management/models/group_fleet_details.py +49 -0
- oci/fleet_apps_management/models/input_argument.py +12 -4
- oci/fleet_apps_management/models/input_file_content_details.py +99 -0
- oci/fleet_apps_management/models/input_file_object_storage_bucket_content_details.py +174 -0
- oci/fleet_apps_management/models/input_parameter.py +1 -1
- oci/fleet_apps_management/models/instance_summary.py +140 -0
- oci/fleet_apps_management/models/inventory_record.py +547 -0
- oci/fleet_apps_management/models/inventory_record_collection.py +70 -0
- oci/fleet_apps_management/models/inventory_record_component.py +163 -0
- oci/fleet_apps_management/models/inventory_record_patch_details.py +194 -0
- oci/fleet_apps_management/models/inventory_record_property.py +101 -0
- oci/fleet_apps_management/models/inventory_record_summary.py +535 -0
- oci/fleet_apps_management/models/inventory_resource_collection.py +1 -1
- oci/fleet_apps_management/models/inventory_resource_summary.py +1 -1
- oci/fleet_apps_management/models/job_activity.py +32 -1
- oci/fleet_apps_management/models/job_execution_details.py +194 -0
- oci/fleet_apps_management/models/key_encryption_credential_details.py +1 -1
- oci/fleet_apps_management/models/lifecycle_operation_config_category_details.py +49 -0
- oci/fleet_apps_management/models/maintenance_window.py +3 -77
- oci/fleet_apps_management/models/maintenance_window_collection.py +1 -1
- oci/fleet_apps_management/models/maintenance_window_schedule.py +87 -0
- oci/fleet_apps_management/models/maintenance_window_summary.py +3 -77
- oci/fleet_apps_management/models/manage_job_execution_details.py +1 -1
- oci/fleet_apps_management/models/manage_settings_details.py +1 -1
- oci/fleet_apps_management/models/managed_entity_aggregation.py +3 -3
- oci/fleet_apps_management/models/managed_entity_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/managed_entity_dimension.py +1 -1
- oci/fleet_apps_management/models/manual_resource_selection.py +49 -0
- oci/fleet_apps_management/models/model_property.py +10 -6
- oci/fleet_apps_management/models/{notification_preferences.py → notification_preference.py} +18 -18
- oci/fleet_apps_management/models/object_storage_bucket_config_file_details.py +174 -0
- oci/fleet_apps_management/models/object_storage_bucket_content_details.py +2 -2
- oci/fleet_apps_management/models/onboarding.py +69 -3
- oci/fleet_apps_management/models/onboarding_collection.py +1 -1
- oci/fleet_apps_management/models/onboarding_policy_collection.py +1 -1
- oci/fleet_apps_management/models/onboarding_policy_summary.py +1 -1
- oci/fleet_apps_management/models/onboarding_summary.py +69 -3
- oci/fleet_apps_management/models/operation_runbook.py +47 -16
- oci/fleet_apps_management/models/outcome.py +1 -1
- oci/fleet_apps_management/models/output_variable_details.py +1 -1
- oci/fleet_apps_management/models/output_variable_input_argument.py +2 -2
- oci/fleet_apps_management/models/output_variable_mapping.py +1 -1
- oci/fleet_apps_management/models/patch.py +1 -1
- oci/fleet_apps_management/models/patch_collection.py +1 -1
- oci/fleet_apps_management/models/patch_file_content_details.py +99 -0
- oci/fleet_apps_management/models/patch_file_object_storage_bucket_content_details.py +174 -0
- oci/fleet_apps_management/models/patch_level_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_name_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_product.py +2 -2
- oci/fleet_apps_management/models/patch_release_date_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_summary.py +1 -1
- oci/fleet_apps_management/models/patch_type.py +1 -1
- oci/fleet_apps_management/models/patch_type_config_category_details.py +2 -2
- oci/fleet_apps_management/models/pause_details.py +1 -1
- oci/fleet_apps_management/models/plain_text_credential_details.py +1 -1
- oci/fleet_apps_management/models/platform_configuration.py +10 -6
- oci/fleet_apps_management/models/platform_configuration_collection.py +1 -1
- oci/fleet_apps_management/models/platform_configuration_summary.py +3 -3
- oci/fleet_apps_management/models/platform_specific_artifact.py +5 -5
- oci/fleet_apps_management/models/platform_specific_artifact_details.py +2 -2
- oci/fleet_apps_management/models/preferences.py +175 -24
- oci/fleet_apps_management/models/previous_task_instance_details.py +128 -0
- oci/fleet_apps_management/models/previous_task_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/product_config_category_details.py +2 -2
- oci/fleet_apps_management/models/product_fleet_details.py +49 -0
- oci/fleet_apps_management/models/product_stack_as_product_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_stack_config_category_details.py +2 -2
- oci/fleet_apps_management/models/product_stack_generic_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_stack_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_version_details.py +1 -1
- oci/fleet_apps_management/models/properties.py +1 -1
- oci/fleet_apps_management/models/property_collection.py +1 -1
- oci/fleet_apps_management/models/property_summary.py +3 -3
- oci/fleet_apps_management/models/provision.py +997 -0
- oci/fleet_apps_management/models/provision_collection.py +70 -0
- oci/fleet_apps_management/models/provision_summary.py +738 -0
- oci/fleet_apps_management/models/publish_runbook_details.py +34 -3
- oci/fleet_apps_management/models/request_resource_validation_details.py +1 -1
- oci/fleet_apps_management/models/request_target_discovery_details.py +1 -1
- oci/fleet_apps_management/models/resource_collection.py +1 -1
- oci/fleet_apps_management/models/resource_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/resource_selection.py +109 -0
- oci/fleet_apps_management/models/resource_summary.py +1 -1
- oci/fleet_apps_management/models/resource_tag_check_details.py +1 -1
- oci/fleet_apps_management/models/resource_tag_enablement_info.py +1 -1
- oci/fleet_apps_management/models/rollback_workflow_details.py +1 -1
- oci/fleet_apps_management/models/rule.py +3 -3
- oci/fleet_apps_management/models/run_on_details.py +115 -0
- oci/fleet_apps_management/models/runbook.py +116 -69
- oci/fleet_apps_management/models/runbook_collection.py +1 -1
- oci/fleet_apps_management/models/runbook_summary.py +65 -34
- oci/fleet_apps_management/models/runbook_version.py +542 -0
- oci/fleet_apps_management/models/runbook_version_collection.py +70 -0
- oci/fleet_apps_management/models/runbook_version_summary.py +533 -0
- oci/fleet_apps_management/models/schedule.py +25 -97
- oci/fleet_apps_management/models/schedule_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/scheduled_fleet_collection.py +1 -1
- oci/fleet_apps_management/models/scheduled_fleet_summary.py +35 -82
- oci/fleet_apps_management/models/scheduler_definition.py +3 -112
- oci/fleet_apps_management/models/scheduler_definition_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_definition_summary.py +5 -83
- oci/fleet_apps_management/models/scheduler_execution_collection.py +70 -0
- oci/fleet_apps_management/models/scheduler_execution_summary.py +753 -0
- oci/fleet_apps_management/models/scheduler_job.py +40 -102
- oci/fleet_apps_management/models/scheduler_job_aggregation.py +3 -3
- oci/fleet_apps_management/models/scheduler_job_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_dimension.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_summary.py +18 -96
- oci/fleet_apps_management/models/script_based_execution_details.py +66 -4
- oci/fleet_apps_management/models/selection_criteria.py +1 -1
- oci/fleet_apps_management/models/self_hosted_instance_config_category_details.py +117 -0
- oci/fleet_apps_management/models/self_hosted_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/set_default_runbook_details.py +1 -1
- oci/fleet_apps_management/models/step_based_user_action_details.py +2 -2
- oci/fleet_apps_management/models/step_collection.py +1 -1
- oci/fleet_apps_management/models/step_summary.py +11 -11
- oci/fleet_apps_management/models/string_input_argument.py +2 -2
- oci/fleet_apps_management/models/string_task_argument.py +87 -0
- oci/fleet_apps_management/models/target_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/target_resource.py +1 -1
- oci/fleet_apps_management/models/task.py +1 -44
- oci/fleet_apps_management/models/task_argument.py +71 -34
- oci/fleet_apps_management/models/task_notification_preferences.py +1 -1
- oci/fleet_apps_management/models/task_record.py +6 -6
- oci/fleet_apps_management/models/task_record_collection.py +4 -4
- oci/fleet_apps_management/models/task_record_summary.py +6 -6
- oci/fleet_apps_management/models/task_variable.py +1 -1
- oci/fleet_apps_management/models/terraform_based_execution_details.py +173 -0
- oci/fleet_apps_management/models/time_based_pause_details.py +1 -1
- oci/fleet_apps_management/models/upcoming_schedule.py +101 -0
- oci/fleet_apps_management/models/update_catalog_item_details.py +229 -0
- oci/fleet_apps_management/models/update_compliance_policy_rule_details.py +16 -16
- oci/fleet_apps_management/models/update_fleet_credential_details.py +1 -1
- oci/fleet_apps_management/models/update_fleet_details.py +69 -32
- oci/fleet_apps_management/models/update_fleet_property_details.py +1 -1
- oci/fleet_apps_management/models/update_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/update_maintenance_window_details.py +1 -75
- oci/fleet_apps_management/models/update_onboarding_details.py +1 -1
- oci/fleet_apps_management/models/update_patch_details.py +1 -32
- oci/fleet_apps_management/models/update_platform_configuration_details.py +1 -1
- oci/fleet_apps_management/models/update_property_details.py +1 -1
- oci/fleet_apps_management/models/update_provision_details.py +167 -0
- oci/fleet_apps_management/models/update_runbook_details.py +24 -51
- oci/fleet_apps_management/models/update_runbook_version_details.py +155 -0
- oci/fleet_apps_management/models/update_scheduler_definition_details.py +1 -32
- oci/fleet_apps_management/models/update_scheduler_job_details.py +1 -1
- oci/fleet_apps_management/models/update_task_record_details.py +2 -2
- oci/fleet_apps_management/models/user_action_based_pause_details.py +1 -1
- oci/fleet_apps_management/models/user_action_details.py +12 -4
- oci/fleet_apps_management/models/variable.py +1 -1
- oci/fleet_apps_management/models/vault_secret_credential_details.py +1 -1
- oci/fleet_apps_management/models/{associations.py → version.py} +62 -31
- oci/fleet_apps_management/models/work_request.py +84 -4
- oci/fleet_apps_management/models/work_request_error.py +1 -1
- oci/fleet_apps_management/models/work_request_error_collection.py +1 -1
- oci/fleet_apps_management/models/work_request_log_entry.py +1 -1
- oci/fleet_apps_management/models/work_request_log_entry_collection.py +1 -1
- oci/fleet_apps_management/models/work_request_resource.py +1 -1
- oci/fleet_apps_management/models/work_request_summary.py +84 -4
- oci/fleet_apps_management/models/work_request_summary_collection.py +1 -1
- oci/fleet_apps_management/models/workflow_component.py +1 -1
- oci/fleet_apps_management/models/workflow_group.py +1 -1
- oci/fleet_apps_management/models/workflow_group_component.py +1 -1
- oci/fleet_apps_management/models/workflow_task_component.py +1 -1
- 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 +24 -24
- oci/generative_ai/models/content_moderation_config.py +79 -1
- oci/generative_ai/models/model.py +69 -3
- oci/generative_ai/models/model_summary.py +69 -3
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generative_ai_inference/models/__init__.py +8 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +41 -2
- oci/generative_ai_inference/models/cohere_chat_response.py +29 -2
- oci/generative_ai_inference/models/completion_tokens_details.py +132 -0
- oci/generative_ai_inference/models/embed_text_result.py +29 -2
- oci/generative_ai_inference/models/prompt_tokens_details.py +70 -0
- oci/generative_ai_inference/models/stream_options.py +70 -0
- oci/generative_ai_inference/models/usage.py +186 -0
- 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 +89 -89
- 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/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +1358 -250
- oci/log_analytics/models/__init__.py +38 -0
- oci/log_analytics/models/abstract_command_descriptor.py +11 -3
- oci/log_analytics/models/add_fields_command_descriptor.py +1 -1
- oci/log_analytics/models/add_insights_command_descriptor.py +1 -1
- oci/log_analytics/models/anomaly_command_descriptor.py +1 -1
- oci/log_analytics/models/auto_schedule.py +64 -0
- oci/log_analytics/models/bottom_command_descriptor.py +1 -1
- oci/log_analytics/models/bucket_command_descriptor.py +1 -1
- oci/log_analytics/models/change_lookup_compartment_details.py +70 -0
- oci/log_analytics/models/classify_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_compare_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_details_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_split_command_descriptor.py +1 -1
- oci/log_analytics/models/command_descriptor.py +1 -1
- oci/log_analytics/models/compare_command_descriptor.py +1 -1
- oci/log_analytics/models/create_log_analytics_object_collection_rule_details.py +134 -1
- oci/log_analytics/models/create_standard_task_details.py +1 -1
- oci/log_analytics/models/create_table_command_descriptor.py +1 -1
- oci/log_analytics/models/create_view_command_descriptor.py +1 -1
- oci/log_analytics/models/cron_schedule.py +3 -3
- oci/log_analytics/models/dedup_command_descriptor.py +1 -1
- oci/log_analytics/models/delete_command_descriptor.py +1 -1
- oci/log_analytics/models/delta_command_descriptor.py +1 -1
- oci/log_analytics/models/demo_mode_command_descriptor.py +1 -1
- oci/log_analytics/models/dependency.py +64 -2
- oci/log_analytics/models/dependent_parser.py +1 -1
- oci/log_analytics/models/dependent_source.py +1 -1
- oci/log_analytics/models/distinct_command_descriptor.py +1 -1
- oci/log_analytics/models/estimate_recall_data_size_result.py +64 -2
- oci/log_analytics/models/eval_command_descriptor.py +1 -1
- oci/log_analytics/models/event_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/export_details.py +7 -3
- oci/log_analytics/models/extract_command_descriptor.py +1 -1
- oci/log_analytics/models/field_summary_command_descriptor.py +1 -1
- oci/log_analytics/models/fields_command_descriptor.py +1 -1
- oci/log_analytics/models/fixed_frequency_schedule.py +2 -2
- oci/log_analytics/models/frequent_command_descriptor.py +1 -1
- oci/log_analytics/models/generic_condition_block.py +251 -0
- oci/log_analytics/models/geo_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/head_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_groups_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_rows_command_descriptor.py +1 -1
- oci/log_analytics/models/json_extract_command_descriptor.py +1 -1
- oci/log_analytics/models/link_command_descriptor.py +1 -1
- oci/log_analytics/models/link_details_command_descriptor.py +1 -1
- oci/log_analytics/models/log_analytics_entity.py +33 -2
- oci/log_analytics/models/log_analytics_entity_summary.py +33 -2
- oci/log_analytics/models/log_analytics_entity_topology_link.py +64 -2
- oci/log_analytics/models/log_analytics_field.py +64 -2
- oci/log_analytics/models/log_analytics_field_summary.py +64 -2
- oci/log_analytics/models/log_analytics_field_usages.py +101 -0
- oci/log_analytics/models/log_analytics_lookup.py +136 -2
- oci/log_analytics/models/log_analytics_object_collection_rule.py +164 -0
- oci/log_analytics/models/log_analytics_object_collection_rule_summary.py +31 -0
- oci/log_analytics/models/log_analytics_parser_field.py +33 -2
- oci/log_analytics/models/log_analytics_resource_category.py +64 -2
- oci/log_analytics/models/log_analytics_source_extended_field_definition.py +62 -4
- oci/log_analytics/models/log_analytics_template.py +594 -0
- oci/log_analytics/models/log_analytics_template_collection.py +70 -0
- oci/log_analytics/models/log_analytics_template_summary.py +439 -0
- oci/log_analytics/models/lookup_command_descriptor.py +1 -1
- oci/log_analytics/models/macro_command_descriptor.py +1 -1
- oci/log_analytics/models/map_command_descriptor.py +1 -1
- oci/log_analytics/models/metric_extraction.py +3 -3
- oci/log_analytics/models/module_command_descriptor.py +127 -3
- oci/log_analytics/models/multi_search_command_descriptor.py +1 -1
- oci/log_analytics/models/namespace.py +33 -2
- oci/log_analytics/models/namespace_summary.py +33 -2
- oci/log_analytics/models/nlp_command_descriptor.py +1 -1
- oci/log_analytics/models/outlier_command_descriptor.py +1 -1
- oci/log_analytics/models/overlapping_recall_summary.py +7 -3
- oci/log_analytics/models/parse_query_output.py +64 -2
- oci/log_analytics/models/parser_action.py +101 -0
- oci/log_analytics/models/parser_action_summary.py +132 -0
- oci/log_analytics/models/parser_action_summary_collection.py +70 -0
- oci/log_analytics/models/property_definition.py +195 -0
- oci/log_analytics/models/query_aggregation.py +89 -0
- oci/log_analytics/models/rare_command_descriptor.py +1 -1
- oci/log_analytics/models/recall_archived_data_details.py +35 -2
- oci/log_analytics/models/recall_definition.py +101 -0
- oci/log_analytics/models/recalled_data.py +40 -5
- oci/log_analytics/models/recalled_info.py +280 -0
- oci/log_analytics/models/recalled_info_collection.py +70 -0
- oci/log_analytics/models/regex_command_descriptor.py +1 -1
- oci/log_analytics/models/rename_command_descriptor.py +1 -1
- oci/log_analytics/models/schedule.py +11 -3
- oci/log_analytics/models/scheduled_task_summary.py +49 -2
- oci/log_analytics/models/search_command_descriptor.py +1 -1
- oci/log_analytics/models/search_lookup_command_descriptor.py +1 -1
- oci/log_analytics/models/sequence_command_descriptor.py +1 -1
- oci/log_analytics/models/sort_command_descriptor.py +1 -1
- oci/log_analytics/models/stats_command_descriptor.py +1 -1
- oci/log_analytics/models/stream_action.py +27 -0
- oci/log_analytics/models/tail_command_descriptor.py +1 -1
- oci/log_analytics/models/template_details.py +101 -0
- oci/log_analytics/models/template_facet.py +101 -0
- oci/log_analytics/models/template_params.py +101 -0
- oci/log_analytics/models/time_cluster_command_descriptor.py +1 -1
- oci/log_analytics/models/time_compare_command_descriptor.py +1 -1
- oci/log_analytics/models/time_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/top_command_descriptor.py +1 -1
- oci/log_analytics/models/update_log_analytics_object_collection_rule_details.py +133 -0
- oci/log_analytics/models/update_lookup_metadata_details.py +68 -2
- oci/log_analytics/models/update_table_command_descriptor.py +122 -0
- oci/log_analytics/models/upsert_log_analytics_field_details.py +33 -2
- oci/log_analytics/models/usage_status_item.py +33 -2
- oci/log_analytics/models/variable_definition.py +214 -0
- oci/log_analytics/models/where_command_descriptor.py +1 -1
- oci/log_analytics/models/xml_extract_command_descriptor.py +1 -1
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- 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/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +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/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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 +15 -15
- oci/os_management/os_management_client.py +138 -138
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- 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/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +0 -9
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/models/__init__.py +12 -0
- oci/resource_scheduler/models/body_parameter.py +80 -0
- oci/resource_scheduler/models/change_schedule_compartment_details.py +74 -0
- oci/resource_scheduler/models/header_parameter.py +80 -0
- oci/resource_scheduler/models/parameter.py +123 -0
- oci/resource_scheduler/models/path_parameter.py +80 -0
- oci/resource_scheduler/models/query_parameter.py +80 -0
- oci/resource_scheduler/models/resource.py +113 -2
- oci/resource_scheduler/models/schedule.py +71 -0
- oci/resource_scheduler/schedule_client.py +156 -18
- oci/resource_scheduler/schedule_client_composite_operations.py +44 -0
- 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.150.2.dist-info → oci-2.151.0.dist-info}/METADATA +1 -1
- {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/RECORD +786 -653
- {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/WHEEL +0 -0
- {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
3
|
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
4
|
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20250228
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
@@ -99,7 +99,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
99
99
|
base_client_init_kwargs = {
|
100
100
|
'regional_client': True,
|
101
101
|
'service_endpoint': kwargs.get('service_endpoint'),
|
102
|
-
'base_path': '/
|
102
|
+
'base_path': '/20250228',
|
103
103
|
'service_endpoint_template': 'https://fams.{region}.oci.{secondLevelDomain}',
|
104
104
|
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
105
105
|
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
@@ -116,9 +116,255 @@ class FleetAppsManagementRunbooksClient(object):
|
|
116
116
|
self.retry_strategy = kwargs.get('retry_strategy')
|
117
117
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
118
118
|
|
119
|
+
def change_runbook_compartment(self, runbook_id, change_runbook_compartment_details, **kwargs):
|
120
|
+
"""
|
121
|
+
Moves a Runbook into a different compartment within the same tenancy. For information about moving resources between
|
122
|
+
compartments, see `Moving Resources to a Different Compartment`__.
|
123
|
+
|
124
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
125
|
+
|
126
|
+
|
127
|
+
:param str runbook_id: (required)
|
128
|
+
Unique Runbook identifier
|
129
|
+
|
130
|
+
:param oci.fleet_apps_management.models.ChangeRunbookCompartmentDetails change_runbook_compartment_details: (required)
|
131
|
+
Details of the target compartment.
|
132
|
+
|
133
|
+
:param str if_match: (optional)
|
134
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
135
|
+
for a resource, set the `if-match` parameter to the value of the
|
136
|
+
etag from a previous GET or POST response for that resource.
|
137
|
+
The resource will be updated or deleted only if the etag you
|
138
|
+
provide matches the resource's current etag value.
|
139
|
+
|
140
|
+
:param str opc_request_id: (optional)
|
141
|
+
The client request ID for tracing.
|
142
|
+
|
143
|
+
:param str opc_retry_token: (optional)
|
144
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
145
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
146
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
147
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
148
|
+
might be rejected.
|
149
|
+
|
150
|
+
:param obj retry_strategy: (optional)
|
151
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
152
|
+
|
153
|
+
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.
|
154
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
155
|
+
|
156
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
157
|
+
|
158
|
+
:param bool allow_control_chars: (optional)
|
159
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
160
|
+
By default, the response will not allow control characters in strings
|
161
|
+
|
162
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
163
|
+
:rtype: :class:`~oci.response.Response`
|
164
|
+
|
165
|
+
:example:
|
166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/change_runbook_compartment.py.html>`__ to see an example of how to use change_runbook_compartment API.
|
167
|
+
"""
|
168
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
169
|
+
required_arguments = ['runbookId']
|
170
|
+
resource_path = "/runbooks/{runbookId}/actions/changeCompartment"
|
171
|
+
method = "POST"
|
172
|
+
operation_name = "change_runbook_compartment"
|
173
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/ChangeRunbookCompartment"
|
174
|
+
|
175
|
+
# Don't accept unknown kwargs
|
176
|
+
expected_kwargs = [
|
177
|
+
"allow_control_chars",
|
178
|
+
"retry_strategy",
|
179
|
+
"if_match",
|
180
|
+
"opc_request_id",
|
181
|
+
"opc_retry_token"
|
182
|
+
]
|
183
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
184
|
+
if extra_kwargs:
|
185
|
+
raise ValueError(
|
186
|
+
f"change_runbook_compartment got unknown kwargs: {extra_kwargs!r}")
|
187
|
+
|
188
|
+
path_params = {
|
189
|
+
"runbookId": runbook_id
|
190
|
+
}
|
191
|
+
|
192
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
193
|
+
|
194
|
+
for (k, v) in six.iteritems(path_params):
|
195
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
196
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
197
|
+
|
198
|
+
header_params = {
|
199
|
+
"accept": "application/json",
|
200
|
+
"content-type": "application/json",
|
201
|
+
"if-match": kwargs.get("if_match", missing),
|
202
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
203
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
204
|
+
}
|
205
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
206
|
+
|
207
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
208
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
209
|
+
client_retry_strategy=self.retry_strategy
|
210
|
+
)
|
211
|
+
if retry_strategy is None:
|
212
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
213
|
+
|
214
|
+
if retry_strategy:
|
215
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
216
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
217
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
218
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
219
|
+
return retry_strategy.make_retrying_call(
|
220
|
+
self.base_client.call_api,
|
221
|
+
resource_path=resource_path,
|
222
|
+
method=method,
|
223
|
+
path_params=path_params,
|
224
|
+
header_params=header_params,
|
225
|
+
body=change_runbook_compartment_details,
|
226
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
227
|
+
operation_name=operation_name,
|
228
|
+
api_reference_link=api_reference_link,
|
229
|
+
required_arguments=required_arguments)
|
230
|
+
else:
|
231
|
+
return self.base_client.call_api(
|
232
|
+
resource_path=resource_path,
|
233
|
+
method=method,
|
234
|
+
path_params=path_params,
|
235
|
+
header_params=header_params,
|
236
|
+
body=change_runbook_compartment_details,
|
237
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
238
|
+
operation_name=operation_name,
|
239
|
+
api_reference_link=api_reference_link,
|
240
|
+
required_arguments=required_arguments)
|
241
|
+
|
242
|
+
def change_task_record_compartment(self, task_record_id, change_task_record_compartment_details, **kwargs):
|
243
|
+
"""
|
244
|
+
Moves a task record into a different compartment within the same tenancy. For information about moving resources between
|
245
|
+
compartments, see `Moving Resources to a Different Compartment`__.
|
246
|
+
|
247
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
248
|
+
|
249
|
+
|
250
|
+
:param str task_record_id: (required)
|
251
|
+
The OCID of the task record.
|
252
|
+
|
253
|
+
:param oci.fleet_apps_management.models.ChangeTaskRecordCompartmentDetails change_task_record_compartment_details: (required)
|
254
|
+
Details of the target compartment.
|
255
|
+
|
256
|
+
:param str if_match: (optional)
|
257
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
258
|
+
for a resource, set the `if-match` parameter to the value of the
|
259
|
+
etag from a previous GET or POST response for that resource.
|
260
|
+
The resource will be updated or deleted only if the etag you
|
261
|
+
provide matches the resource's current etag value.
|
262
|
+
|
263
|
+
:param str opc_request_id: (optional)
|
264
|
+
The client request ID for tracing.
|
265
|
+
|
266
|
+
:param str opc_retry_token: (optional)
|
267
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
268
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
269
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
270
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
271
|
+
might be rejected.
|
272
|
+
|
273
|
+
:param obj retry_strategy: (optional)
|
274
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
275
|
+
|
276
|
+
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.
|
277
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
278
|
+
|
279
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
280
|
+
|
281
|
+
:param bool allow_control_chars: (optional)
|
282
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
283
|
+
By default, the response will not allow control characters in strings
|
284
|
+
|
285
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
286
|
+
:rtype: :class:`~oci.response.Response`
|
287
|
+
|
288
|
+
:example:
|
289
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/change_task_record_compartment.py.html>`__ to see an example of how to use change_task_record_compartment API.
|
290
|
+
"""
|
291
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
292
|
+
required_arguments = ['taskRecordId']
|
293
|
+
resource_path = "/taskRecords/{taskRecordId}/actions/changeCompartment"
|
294
|
+
method = "POST"
|
295
|
+
operation_name = "change_task_record_compartment"
|
296
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecord/ChangeTaskRecordCompartment"
|
297
|
+
|
298
|
+
# Don't accept unknown kwargs
|
299
|
+
expected_kwargs = [
|
300
|
+
"allow_control_chars",
|
301
|
+
"retry_strategy",
|
302
|
+
"if_match",
|
303
|
+
"opc_request_id",
|
304
|
+
"opc_retry_token"
|
305
|
+
]
|
306
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
307
|
+
if extra_kwargs:
|
308
|
+
raise ValueError(
|
309
|
+
f"change_task_record_compartment got unknown kwargs: {extra_kwargs!r}")
|
310
|
+
|
311
|
+
path_params = {
|
312
|
+
"taskRecordId": task_record_id
|
313
|
+
}
|
314
|
+
|
315
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
316
|
+
|
317
|
+
for (k, v) in six.iteritems(path_params):
|
318
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
319
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
320
|
+
|
321
|
+
header_params = {
|
322
|
+
"accept": "application/json",
|
323
|
+
"content-type": "application/json",
|
324
|
+
"if-match": kwargs.get("if_match", missing),
|
325
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
326
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
327
|
+
}
|
328
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
329
|
+
|
330
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
331
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
332
|
+
client_retry_strategy=self.retry_strategy
|
333
|
+
)
|
334
|
+
if retry_strategy is None:
|
335
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
336
|
+
|
337
|
+
if retry_strategy:
|
338
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
339
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
340
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
341
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
342
|
+
return retry_strategy.make_retrying_call(
|
343
|
+
self.base_client.call_api,
|
344
|
+
resource_path=resource_path,
|
345
|
+
method=method,
|
346
|
+
path_params=path_params,
|
347
|
+
header_params=header_params,
|
348
|
+
body=change_task_record_compartment_details,
|
349
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
350
|
+
operation_name=operation_name,
|
351
|
+
api_reference_link=api_reference_link,
|
352
|
+
required_arguments=required_arguments)
|
353
|
+
else:
|
354
|
+
return self.base_client.call_api(
|
355
|
+
resource_path=resource_path,
|
356
|
+
method=method,
|
357
|
+
path_params=path_params,
|
358
|
+
header_params=header_params,
|
359
|
+
body=change_task_record_compartment_details,
|
360
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
361
|
+
operation_name=operation_name,
|
362
|
+
api_reference_link=api_reference_link,
|
363
|
+
required_arguments=required_arguments)
|
364
|
+
|
119
365
|
def create_runbook(self, create_runbook_details, **kwargs):
|
120
366
|
"""
|
121
|
-
Creates a
|
367
|
+
Creates a runbook.
|
122
368
|
|
123
369
|
|
124
370
|
:param oci.fleet_apps_management.models.CreateRunbookDetails create_runbook_details: (required)
|
@@ -150,14 +396,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
150
396
|
:rtype: :class:`~oci.response.Response`
|
151
397
|
|
152
398
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
399
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/create_runbook.py.html>`__ to see an example of how to use create_runbook API.
|
154
400
|
"""
|
155
401
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
402
|
required_arguments = []
|
157
403
|
resource_path = "/runbooks"
|
158
404
|
method = "POST"
|
159
405
|
operation_name = "create_runbook"
|
160
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
406
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/CreateRunbook"
|
161
407
|
|
162
408
|
# Don't accept unknown kwargs
|
163
409
|
expected_kwargs = [
|
@@ -214,13 +460,13 @@ class FleetAppsManagementRunbooksClient(object):
|
|
214
460
|
api_reference_link=api_reference_link,
|
215
461
|
required_arguments=required_arguments)
|
216
462
|
|
217
|
-
def
|
463
|
+
def create_runbook_version(self, create_runbook_version_details, **kwargs):
|
218
464
|
"""
|
219
|
-
|
465
|
+
Add RunbookVersion in\u00A0Fleet Application Management.
|
220
466
|
|
221
467
|
|
222
|
-
:param oci.fleet_apps_management.models.
|
223
|
-
Details for the new
|
468
|
+
:param oci.fleet_apps_management.models.CreateRunbookVersionDetails create_runbook_version_details: (required)
|
469
|
+
Details for the new Runbook Version.
|
224
470
|
|
225
471
|
:param str opc_retry_token: (optional)
|
226
472
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -244,18 +490,18 @@ class FleetAppsManagementRunbooksClient(object):
|
|
244
490
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
245
491
|
By default, the response will not allow control characters in strings
|
246
492
|
|
247
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.
|
493
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.RunbookVersion`
|
248
494
|
:rtype: :class:`~oci.response.Response`
|
249
495
|
|
250
496
|
:example:
|
251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
497
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/create_runbook_version.py.html>`__ to see an example of how to use create_runbook_version API.
|
252
498
|
"""
|
253
499
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
254
500
|
required_arguments = []
|
255
|
-
resource_path = "/
|
501
|
+
resource_path = "/runbookVersions"
|
256
502
|
method = "POST"
|
257
|
-
operation_name = "
|
258
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
503
|
+
operation_name = "create_runbook_version"
|
504
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookVersion/CreateRunbookVersion"
|
259
505
|
|
260
506
|
# Don't accept unknown kwargs
|
261
507
|
expected_kwargs = [
|
@@ -267,7 +513,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
267
513
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
268
514
|
if extra_kwargs:
|
269
515
|
raise ValueError(
|
270
|
-
f"
|
516
|
+
f"create_runbook_version got unknown kwargs: {extra_kwargs!r}")
|
271
517
|
|
272
518
|
header_params = {
|
273
519
|
"accept": "application/json",
|
@@ -294,8 +540,422 @@ class FleetAppsManagementRunbooksClient(object):
|
|
294
540
|
resource_path=resource_path,
|
295
541
|
method=method,
|
296
542
|
header_params=header_params,
|
297
|
-
body=
|
298
|
-
response_type="
|
543
|
+
body=create_runbook_version_details,
|
544
|
+
response_type="RunbookVersion",
|
545
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
546
|
+
operation_name=operation_name,
|
547
|
+
api_reference_link=api_reference_link,
|
548
|
+
required_arguments=required_arguments)
|
549
|
+
else:
|
550
|
+
return self.base_client.call_api(
|
551
|
+
resource_path=resource_path,
|
552
|
+
method=method,
|
553
|
+
header_params=header_params,
|
554
|
+
body=create_runbook_version_details,
|
555
|
+
response_type="RunbookVersion",
|
556
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
557
|
+
operation_name=operation_name,
|
558
|
+
api_reference_link=api_reference_link,
|
559
|
+
required_arguments=required_arguments)
|
560
|
+
|
561
|
+
def create_task_record(self, create_task_record_details, **kwargs):
|
562
|
+
"""
|
563
|
+
Creates a new task record.
|
564
|
+
|
565
|
+
|
566
|
+
:param oci.fleet_apps_management.models.CreateTaskRecordDetails create_task_record_details: (required)
|
567
|
+
Attributes to create a task record.
|
568
|
+
|
569
|
+
:param str opc_retry_token: (optional)
|
570
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
571
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
572
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
573
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
574
|
+
might be rejected.
|
575
|
+
|
576
|
+
:param str opc_request_id: (optional)
|
577
|
+
The client request ID for tracing.
|
578
|
+
|
579
|
+
:param obj retry_strategy: (optional)
|
580
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
581
|
+
|
582
|
+
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.
|
583
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
584
|
+
|
585
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
586
|
+
|
587
|
+
:param bool allow_control_chars: (optional)
|
588
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
589
|
+
By default, the response will not allow control characters in strings
|
590
|
+
|
591
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.TaskRecord`
|
592
|
+
:rtype: :class:`~oci.response.Response`
|
593
|
+
|
594
|
+
:example:
|
595
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/create_task_record.py.html>`__ to see an example of how to use create_task_record API.
|
596
|
+
"""
|
597
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
598
|
+
required_arguments = []
|
599
|
+
resource_path = "/taskRecords"
|
600
|
+
method = "POST"
|
601
|
+
operation_name = "create_task_record"
|
602
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecord/CreateTaskRecord"
|
603
|
+
|
604
|
+
# Don't accept unknown kwargs
|
605
|
+
expected_kwargs = [
|
606
|
+
"allow_control_chars",
|
607
|
+
"retry_strategy",
|
608
|
+
"opc_retry_token",
|
609
|
+
"opc_request_id"
|
610
|
+
]
|
611
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
612
|
+
if extra_kwargs:
|
613
|
+
raise ValueError(
|
614
|
+
f"create_task_record got unknown kwargs: {extra_kwargs!r}")
|
615
|
+
|
616
|
+
header_params = {
|
617
|
+
"accept": "application/json",
|
618
|
+
"content-type": "application/json",
|
619
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
620
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
621
|
+
}
|
622
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
623
|
+
|
624
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
625
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
626
|
+
client_retry_strategy=self.retry_strategy
|
627
|
+
)
|
628
|
+
if retry_strategy is None:
|
629
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
630
|
+
|
631
|
+
if retry_strategy:
|
632
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
633
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
634
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
635
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
636
|
+
return retry_strategy.make_retrying_call(
|
637
|
+
self.base_client.call_api,
|
638
|
+
resource_path=resource_path,
|
639
|
+
method=method,
|
640
|
+
header_params=header_params,
|
641
|
+
body=create_task_record_details,
|
642
|
+
response_type="TaskRecord",
|
643
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
644
|
+
operation_name=operation_name,
|
645
|
+
api_reference_link=api_reference_link,
|
646
|
+
required_arguments=required_arguments)
|
647
|
+
else:
|
648
|
+
return self.base_client.call_api(
|
649
|
+
resource_path=resource_path,
|
650
|
+
method=method,
|
651
|
+
header_params=header_params,
|
652
|
+
body=create_task_record_details,
|
653
|
+
response_type="TaskRecord",
|
654
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
655
|
+
operation_name=operation_name,
|
656
|
+
api_reference_link=api_reference_link,
|
657
|
+
required_arguments=required_arguments)
|
658
|
+
|
659
|
+
def delete_runbook(self, runbook_id, **kwargs):
|
660
|
+
"""
|
661
|
+
Deletes a runbook specified by the identifier.
|
662
|
+
|
663
|
+
|
664
|
+
:param str runbook_id: (required)
|
665
|
+
Unique Runbook identifier
|
666
|
+
|
667
|
+
:param str if_match: (optional)
|
668
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
669
|
+
for a resource, set the `if-match` parameter to the value of the
|
670
|
+
etag from a previous GET or POST response for that resource.
|
671
|
+
The resource will be updated or deleted only if the etag you
|
672
|
+
provide matches the resource's current etag value.
|
673
|
+
|
674
|
+
:param str opc_request_id: (optional)
|
675
|
+
The client request ID for tracing.
|
676
|
+
|
677
|
+
:param obj retry_strategy: (optional)
|
678
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
679
|
+
|
680
|
+
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.
|
681
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
682
|
+
|
683
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
684
|
+
|
685
|
+
:param bool allow_control_chars: (optional)
|
686
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
687
|
+
By default, the response will not allow control characters in strings
|
688
|
+
|
689
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
690
|
+
:rtype: :class:`~oci.response.Response`
|
691
|
+
|
692
|
+
:example:
|
693
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/delete_runbook.py.html>`__ to see an example of how to use delete_runbook API.
|
694
|
+
"""
|
695
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
696
|
+
required_arguments = ['runbookId']
|
697
|
+
resource_path = "/runbooks/{runbookId}"
|
698
|
+
method = "DELETE"
|
699
|
+
operation_name = "delete_runbook"
|
700
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/DeleteRunbook"
|
701
|
+
|
702
|
+
# Don't accept unknown kwargs
|
703
|
+
expected_kwargs = [
|
704
|
+
"allow_control_chars",
|
705
|
+
"retry_strategy",
|
706
|
+
"if_match",
|
707
|
+
"opc_request_id"
|
708
|
+
]
|
709
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
710
|
+
if extra_kwargs:
|
711
|
+
raise ValueError(
|
712
|
+
f"delete_runbook got unknown kwargs: {extra_kwargs!r}")
|
713
|
+
|
714
|
+
path_params = {
|
715
|
+
"runbookId": runbook_id
|
716
|
+
}
|
717
|
+
|
718
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
719
|
+
|
720
|
+
for (k, v) in six.iteritems(path_params):
|
721
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
722
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
723
|
+
|
724
|
+
header_params = {
|
725
|
+
"accept": "application/json",
|
726
|
+
"content-type": "application/json",
|
727
|
+
"if-match": kwargs.get("if_match", missing),
|
728
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
729
|
+
}
|
730
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
731
|
+
|
732
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
733
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
734
|
+
client_retry_strategy=self.retry_strategy
|
735
|
+
)
|
736
|
+
if retry_strategy is None:
|
737
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
738
|
+
|
739
|
+
if retry_strategy:
|
740
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
741
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
742
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
743
|
+
return retry_strategy.make_retrying_call(
|
744
|
+
self.base_client.call_api,
|
745
|
+
resource_path=resource_path,
|
746
|
+
method=method,
|
747
|
+
path_params=path_params,
|
748
|
+
header_params=header_params,
|
749
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
750
|
+
operation_name=operation_name,
|
751
|
+
api_reference_link=api_reference_link,
|
752
|
+
required_arguments=required_arguments)
|
753
|
+
else:
|
754
|
+
return self.base_client.call_api(
|
755
|
+
resource_path=resource_path,
|
756
|
+
method=method,
|
757
|
+
path_params=path_params,
|
758
|
+
header_params=header_params,
|
759
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
760
|
+
operation_name=operation_name,
|
761
|
+
api_reference_link=api_reference_link,
|
762
|
+
required_arguments=required_arguments)
|
763
|
+
|
764
|
+
def delete_runbook_version(self, runbook_version_id, **kwargs):
|
765
|
+
"""
|
766
|
+
Removes a Runbook Version from the runbook in Fleet Application Management.
|
767
|
+
|
768
|
+
|
769
|
+
:param str runbook_version_id: (required)
|
770
|
+
Unique Runbook Version identifier
|
771
|
+
|
772
|
+
:param str if_match: (optional)
|
773
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
774
|
+
for a resource, set the `if-match` parameter to the value of the
|
775
|
+
etag from a previous GET or POST response for that resource.
|
776
|
+
The resource will be updated or deleted only if the etag you
|
777
|
+
provide matches the resource's current etag value.
|
778
|
+
|
779
|
+
:param str opc_request_id: (optional)
|
780
|
+
The client request ID for tracing.
|
781
|
+
|
782
|
+
:param obj retry_strategy: (optional)
|
783
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
784
|
+
|
785
|
+
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.
|
786
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
787
|
+
|
788
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
789
|
+
|
790
|
+
:param bool allow_control_chars: (optional)
|
791
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
792
|
+
By default, the response will not allow control characters in strings
|
793
|
+
|
794
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
795
|
+
:rtype: :class:`~oci.response.Response`
|
796
|
+
|
797
|
+
:example:
|
798
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/delete_runbook_version.py.html>`__ to see an example of how to use delete_runbook_version API.
|
799
|
+
"""
|
800
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
801
|
+
required_arguments = ['runbookVersionId']
|
802
|
+
resource_path = "/runbookVersions/{runbookVersionId}"
|
803
|
+
method = "DELETE"
|
804
|
+
operation_name = "delete_runbook_version"
|
805
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookVersion/DeleteRunbookVersion"
|
806
|
+
|
807
|
+
# Don't accept unknown kwargs
|
808
|
+
expected_kwargs = [
|
809
|
+
"allow_control_chars",
|
810
|
+
"retry_strategy",
|
811
|
+
"if_match",
|
812
|
+
"opc_request_id"
|
813
|
+
]
|
814
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
815
|
+
if extra_kwargs:
|
816
|
+
raise ValueError(
|
817
|
+
f"delete_runbook_version got unknown kwargs: {extra_kwargs!r}")
|
818
|
+
|
819
|
+
path_params = {
|
820
|
+
"runbookVersionId": runbook_version_id
|
821
|
+
}
|
822
|
+
|
823
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
824
|
+
|
825
|
+
for (k, v) in six.iteritems(path_params):
|
826
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
827
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
828
|
+
|
829
|
+
header_params = {
|
830
|
+
"accept": "application/json",
|
831
|
+
"content-type": "application/json",
|
832
|
+
"if-match": kwargs.get("if_match", missing),
|
833
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
834
|
+
}
|
835
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
836
|
+
|
837
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
838
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
839
|
+
client_retry_strategy=self.retry_strategy
|
840
|
+
)
|
841
|
+
if retry_strategy is None:
|
842
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
843
|
+
|
844
|
+
if retry_strategy:
|
845
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
846
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
847
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
848
|
+
return retry_strategy.make_retrying_call(
|
849
|
+
self.base_client.call_api,
|
850
|
+
resource_path=resource_path,
|
851
|
+
method=method,
|
852
|
+
path_params=path_params,
|
853
|
+
header_params=header_params,
|
854
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
855
|
+
operation_name=operation_name,
|
856
|
+
api_reference_link=api_reference_link,
|
857
|
+
required_arguments=required_arguments)
|
858
|
+
else:
|
859
|
+
return self.base_client.call_api(
|
860
|
+
resource_path=resource_path,
|
861
|
+
method=method,
|
862
|
+
path_params=path_params,
|
863
|
+
header_params=header_params,
|
864
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
865
|
+
operation_name=operation_name,
|
866
|
+
api_reference_link=api_reference_link,
|
867
|
+
required_arguments=required_arguments)
|
868
|
+
|
869
|
+
def delete_task_record(self, task_record_id, **kwargs):
|
870
|
+
"""
|
871
|
+
Deletes the task record specified by an identifier.
|
872
|
+
|
873
|
+
|
874
|
+
:param str task_record_id: (required)
|
875
|
+
The OCID of the task record.
|
876
|
+
|
877
|
+
:param str if_match: (optional)
|
878
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
879
|
+
for a resource, set the `if-match` parameter to the value of the
|
880
|
+
etag from a previous GET or POST response for that resource.
|
881
|
+
The resource will be updated or deleted only if the etag you
|
882
|
+
provide matches the resource's current etag value.
|
883
|
+
|
884
|
+
:param str opc_request_id: (optional)
|
885
|
+
The client request ID for tracing.
|
886
|
+
|
887
|
+
:param obj retry_strategy: (optional)
|
888
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
889
|
+
|
890
|
+
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.
|
891
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
892
|
+
|
893
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
894
|
+
|
895
|
+
:param bool allow_control_chars: (optional)
|
896
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
897
|
+
By default, the response will not allow control characters in strings
|
898
|
+
|
899
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
900
|
+
:rtype: :class:`~oci.response.Response`
|
901
|
+
|
902
|
+
:example:
|
903
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/delete_task_record.py.html>`__ to see an example of how to use delete_task_record API.
|
904
|
+
"""
|
905
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
906
|
+
required_arguments = ['taskRecordId']
|
907
|
+
resource_path = "/taskRecords/{taskRecordId}"
|
908
|
+
method = "DELETE"
|
909
|
+
operation_name = "delete_task_record"
|
910
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecord/DeleteTaskRecord"
|
911
|
+
|
912
|
+
# Don't accept unknown kwargs
|
913
|
+
expected_kwargs = [
|
914
|
+
"allow_control_chars",
|
915
|
+
"retry_strategy",
|
916
|
+
"if_match",
|
917
|
+
"opc_request_id"
|
918
|
+
]
|
919
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
920
|
+
if extra_kwargs:
|
921
|
+
raise ValueError(
|
922
|
+
f"delete_task_record got unknown kwargs: {extra_kwargs!r}")
|
923
|
+
|
924
|
+
path_params = {
|
925
|
+
"taskRecordId": task_record_id
|
926
|
+
}
|
927
|
+
|
928
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
929
|
+
|
930
|
+
for (k, v) in six.iteritems(path_params):
|
931
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
932
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
933
|
+
|
934
|
+
header_params = {
|
935
|
+
"accept": "application/json",
|
936
|
+
"content-type": "application/json",
|
937
|
+
"if-match": kwargs.get("if_match", missing),
|
938
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
939
|
+
}
|
940
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
941
|
+
|
942
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
943
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
944
|
+
client_retry_strategy=self.retry_strategy
|
945
|
+
)
|
946
|
+
if retry_strategy is None:
|
947
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
948
|
+
|
949
|
+
if retry_strategy:
|
950
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
951
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
952
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
953
|
+
return retry_strategy.make_retrying_call(
|
954
|
+
self.base_client.call_api,
|
955
|
+
resource_path=resource_path,
|
956
|
+
method=method,
|
957
|
+
path_params=path_params,
|
958
|
+
header_params=header_params,
|
299
959
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
300
960
|
operation_name=operation_name,
|
301
961
|
api_reference_link=api_reference_link,
|
@@ -304,29 +964,21 @@ class FleetAppsManagementRunbooksClient(object):
|
|
304
964
|
return self.base_client.call_api(
|
305
965
|
resource_path=resource_path,
|
306
966
|
method=method,
|
967
|
+
path_params=path_params,
|
307
968
|
header_params=header_params,
|
308
|
-
body=create_task_record_details,
|
309
|
-
response_type="TaskRecord",
|
310
969
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
311
970
|
operation_name=operation_name,
|
312
971
|
api_reference_link=api_reference_link,
|
313
972
|
required_arguments=required_arguments)
|
314
973
|
|
315
|
-
def
|
974
|
+
def get_runbook(self, runbook_id, **kwargs):
|
316
975
|
"""
|
317
|
-
|
976
|
+
Get the details of a runbook in Fleet Application Management.
|
318
977
|
|
319
978
|
|
320
979
|
:param str runbook_id: (required)
|
321
980
|
Unique Runbook identifier
|
322
981
|
|
323
|
-
:param str if_match: (optional)
|
324
|
-
For optimistic concurrency control. In the PUT or DELETE call
|
325
|
-
for a resource, set the `if-match` parameter to the value of the
|
326
|
-
etag from a previous GET or POST response for that resource.
|
327
|
-
The resource will be updated or deleted only if the etag you
|
328
|
-
provide matches the resource's current etag value.
|
329
|
-
|
330
982
|
:param str opc_request_id: (optional)
|
331
983
|
The client request ID for tracing.
|
332
984
|
|
@@ -342,30 +994,29 @@ class FleetAppsManagementRunbooksClient(object):
|
|
342
994
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
343
995
|
By default, the response will not allow control characters in strings
|
344
996
|
|
345
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
997
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.Runbook`
|
346
998
|
:rtype: :class:`~oci.response.Response`
|
347
999
|
|
348
1000
|
:example:
|
349
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1001
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/get_runbook.py.html>`__ to see an example of how to use get_runbook API.
|
350
1002
|
"""
|
351
1003
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
352
1004
|
required_arguments = ['runbookId']
|
353
1005
|
resource_path = "/runbooks/{runbookId}"
|
354
|
-
method = "
|
355
|
-
operation_name = "
|
356
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1006
|
+
method = "GET"
|
1007
|
+
operation_name = "get_runbook"
|
1008
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/GetRunbook"
|
357
1009
|
|
358
1010
|
# Don't accept unknown kwargs
|
359
1011
|
expected_kwargs = [
|
360
1012
|
"allow_control_chars",
|
361
1013
|
"retry_strategy",
|
362
|
-
"if_match",
|
363
1014
|
"opc_request_id"
|
364
1015
|
]
|
365
1016
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
366
1017
|
if extra_kwargs:
|
367
1018
|
raise ValueError(
|
368
|
-
f"
|
1019
|
+
f"get_runbook got unknown kwargs: {extra_kwargs!r}")
|
369
1020
|
|
370
1021
|
path_params = {
|
371
1022
|
"runbookId": runbook_id
|
@@ -380,7 +1031,6 @@ class FleetAppsManagementRunbooksClient(object):
|
|
380
1031
|
header_params = {
|
381
1032
|
"accept": "application/json",
|
382
1033
|
"content-type": "application/json",
|
383
|
-
"if-match": kwargs.get("if_match", missing),
|
384
1034
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
385
1035
|
}
|
386
1036
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -402,6 +1052,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
402
1052
|
method=method,
|
403
1053
|
path_params=path_params,
|
404
1054
|
header_params=header_params,
|
1055
|
+
response_type="Runbook",
|
405
1056
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
406
1057
|
operation_name=operation_name,
|
407
1058
|
api_reference_link=api_reference_link,
|
@@ -412,25 +1063,19 @@ class FleetAppsManagementRunbooksClient(object):
|
|
412
1063
|
method=method,
|
413
1064
|
path_params=path_params,
|
414
1065
|
header_params=header_params,
|
1066
|
+
response_type="Runbook",
|
415
1067
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
416
1068
|
operation_name=operation_name,
|
417
1069
|
api_reference_link=api_reference_link,
|
418
1070
|
required_arguments=required_arguments)
|
419
1071
|
|
420
|
-
def
|
1072
|
+
def get_runbook_version(self, runbook_version_id, **kwargs):
|
421
1073
|
"""
|
422
|
-
|
423
|
-
|
1074
|
+
Gets a Runbook Version by identifier.
|
424
1075
|
|
425
|
-
:param str task_record_id: (required)
|
426
|
-
unique TaskDetail identifier
|
427
1076
|
|
428
|
-
:param str
|
429
|
-
|
430
|
-
for a resource, set the `if-match` parameter to the value of the
|
431
|
-
etag from a previous GET or POST response for that resource.
|
432
|
-
The resource will be updated or deleted only if the etag you
|
433
|
-
provide matches the resource's current etag value.
|
1077
|
+
:param str runbook_version_id: (required)
|
1078
|
+
Unique Runbook Version identifier
|
434
1079
|
|
435
1080
|
:param str opc_request_id: (optional)
|
436
1081
|
The client request ID for tracing.
|
@@ -447,33 +1092,32 @@ class FleetAppsManagementRunbooksClient(object):
|
|
447
1092
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
448
1093
|
By default, the response will not allow control characters in strings
|
449
1094
|
|
450
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
1095
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.RunbookVersion`
|
451
1096
|
:rtype: :class:`~oci.response.Response`
|
452
1097
|
|
453
1098
|
:example:
|
454
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1099
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/get_runbook_version.py.html>`__ to see an example of how to use get_runbook_version API.
|
455
1100
|
"""
|
456
1101
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
457
|
-
required_arguments = ['
|
458
|
-
resource_path = "/
|
459
|
-
method = "
|
460
|
-
operation_name = "
|
461
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1102
|
+
required_arguments = ['runbookVersionId']
|
1103
|
+
resource_path = "/runbookVersions/{runbookVersionId}"
|
1104
|
+
method = "GET"
|
1105
|
+
operation_name = "get_runbook_version"
|
1106
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookVersion/GetRunbookVersion"
|
462
1107
|
|
463
1108
|
# Don't accept unknown kwargs
|
464
1109
|
expected_kwargs = [
|
465
1110
|
"allow_control_chars",
|
466
1111
|
"retry_strategy",
|
467
|
-
"if_match",
|
468
1112
|
"opc_request_id"
|
469
1113
|
]
|
470
1114
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
471
1115
|
if extra_kwargs:
|
472
1116
|
raise ValueError(
|
473
|
-
f"
|
1117
|
+
f"get_runbook_version got unknown kwargs: {extra_kwargs!r}")
|
474
1118
|
|
475
1119
|
path_params = {
|
476
|
-
"
|
1120
|
+
"runbookVersionId": runbook_version_id
|
477
1121
|
}
|
478
1122
|
|
479
1123
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -485,7 +1129,6 @@ class FleetAppsManagementRunbooksClient(object):
|
|
485
1129
|
header_params = {
|
486
1130
|
"accept": "application/json",
|
487
1131
|
"content-type": "application/json",
|
488
|
-
"if-match": kwargs.get("if_match", missing),
|
489
1132
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
490
1133
|
}
|
491
1134
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -507,6 +1150,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
507
1150
|
method=method,
|
508
1151
|
path_params=path_params,
|
509
1152
|
header_params=header_params,
|
1153
|
+
response_type="RunbookVersion",
|
510
1154
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
511
1155
|
operation_name=operation_name,
|
512
1156
|
api_reference_link=api_reference_link,
|
@@ -517,18 +1161,19 @@ class FleetAppsManagementRunbooksClient(object):
|
|
517
1161
|
method=method,
|
518
1162
|
path_params=path_params,
|
519
1163
|
header_params=header_params,
|
1164
|
+
response_type="RunbookVersion",
|
520
1165
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
521
1166
|
operation_name=operation_name,
|
522
1167
|
api_reference_link=api_reference_link,
|
523
1168
|
required_arguments=required_arguments)
|
524
1169
|
|
525
|
-
def
|
1170
|
+
def get_task_record(self, task_record_id, **kwargs):
|
526
1171
|
"""
|
527
|
-
|
1172
|
+
Gets information for the specified task record.
|
528
1173
|
|
529
1174
|
|
530
|
-
:param str
|
531
|
-
|
1175
|
+
:param str task_record_id: (required)
|
1176
|
+
The OCID of the task record.
|
532
1177
|
|
533
1178
|
:param str opc_request_id: (optional)
|
534
1179
|
The client request ID for tracing.
|
@@ -545,18 +1190,18 @@ class FleetAppsManagementRunbooksClient(object):
|
|
545
1190
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
546
1191
|
By default, the response will not allow control characters in strings
|
547
1192
|
|
548
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.
|
1193
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.TaskRecord`
|
549
1194
|
:rtype: :class:`~oci.response.Response`
|
550
1195
|
|
551
1196
|
:example:
|
552
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1197
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/get_task_record.py.html>`__ to see an example of how to use get_task_record API.
|
553
1198
|
"""
|
554
1199
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
555
|
-
required_arguments = ['
|
556
|
-
resource_path = "/
|
1200
|
+
required_arguments = ['taskRecordId']
|
1201
|
+
resource_path = "/taskRecords/{taskRecordId}"
|
557
1202
|
method = "GET"
|
558
|
-
operation_name = "
|
559
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1203
|
+
operation_name = "get_task_record"
|
1204
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecord/GetTaskRecord"
|
560
1205
|
|
561
1206
|
# Don't accept unknown kwargs
|
562
1207
|
expected_kwargs = [
|
@@ -567,10 +1212,10 @@ class FleetAppsManagementRunbooksClient(object):
|
|
567
1212
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
568
1213
|
if extra_kwargs:
|
569
1214
|
raise ValueError(
|
570
|
-
f"
|
1215
|
+
f"get_task_record got unknown kwargs: {extra_kwargs!r}")
|
571
1216
|
|
572
1217
|
path_params = {
|
573
|
-
"
|
1218
|
+
"taskRecordId": task_record_id
|
574
1219
|
}
|
575
1220
|
|
576
1221
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -603,7 +1248,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
603
1248
|
method=method,
|
604
1249
|
path_params=path_params,
|
605
1250
|
header_params=header_params,
|
606
|
-
response_type="
|
1251
|
+
response_type="TaskRecord",
|
607
1252
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
608
1253
|
operation_name=operation_name,
|
609
1254
|
api_reference_link=api_reference_link,
|
@@ -614,23 +1259,54 @@ class FleetAppsManagementRunbooksClient(object):
|
|
614
1259
|
method=method,
|
615
1260
|
path_params=path_params,
|
616
1261
|
header_params=header_params,
|
617
|
-
response_type="
|
1262
|
+
response_type="TaskRecord",
|
618
1263
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
619
1264
|
operation_name=operation_name,
|
620
1265
|
api_reference_link=api_reference_link,
|
621
1266
|
required_arguments=required_arguments)
|
622
1267
|
|
623
|
-
def
|
1268
|
+
def list_runbook_versions(self, **kwargs):
|
624
1269
|
"""
|
625
|
-
|
1270
|
+
List versions for a runbook in Fleet Application Management.
|
626
1271
|
|
627
1272
|
|
628
|
-
:param str
|
629
|
-
|
1273
|
+
:param str compartment_id: (optional)
|
1274
|
+
The ID of the compartment in which to list resources.
|
1275
|
+
Empty only if the resource OCID query param is not specified.
|
1276
|
+
|
1277
|
+
:param str lifecycle_state: (optional)
|
1278
|
+
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
1279
|
+
|
1280
|
+
Allowed values are: "ACTIVE", "DELETED", "FAILED", "NEEDS_ATTENTION", "INACTIVE", "CREATING", "DELETING", "UPDATING"
|
1281
|
+
|
1282
|
+
:param str runbook_id: (optional)
|
1283
|
+
A filter to return only schedule definitions whose associated runbookId matches the given runbookId.
|
1284
|
+
|
1285
|
+
:param str id: (optional)
|
1286
|
+
A filter to return runbook versions whose identifier matches the given identifier.
|
1287
|
+
|
1288
|
+
:param int limit: (optional)
|
1289
|
+
The maximum number of items to return.
|
1290
|
+
|
1291
|
+
:param str page: (optional)
|
1292
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
1293
|
+
|
1294
|
+
:param str sort_order: (optional)
|
1295
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
1296
|
+
|
1297
|
+
Allowed values are: "ASC", "DESC"
|
1298
|
+
|
1299
|
+
:param str sort_by: (optional)
|
1300
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
1301
|
+
|
1302
|
+
Allowed values are: "timeCreated", "displayName"
|
630
1303
|
|
631
1304
|
:param str opc_request_id: (optional)
|
632
1305
|
The client request ID for tracing.
|
633
1306
|
|
1307
|
+
:param str name: (optional)
|
1308
|
+
A filter to return only resources that match the entire name given.
|
1309
|
+
|
634
1310
|
:param obj retry_strategy: (optional)
|
635
1311
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
636
1312
|
|
@@ -643,39 +1319,72 @@ class FleetAppsManagementRunbooksClient(object):
|
|
643
1319
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
644
1320
|
By default, the response will not allow control characters in strings
|
645
1321
|
|
646
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.
|
1322
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.RunbookVersionCollection`
|
647
1323
|
:rtype: :class:`~oci.response.Response`
|
648
1324
|
|
649
1325
|
:example:
|
650
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1326
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/list_runbook_versions.py.html>`__ to see an example of how to use list_runbook_versions API.
|
651
1327
|
"""
|
652
1328
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
653
|
-
required_arguments = [
|
654
|
-
resource_path = "/
|
1329
|
+
required_arguments = []
|
1330
|
+
resource_path = "/runbookVersions"
|
655
1331
|
method = "GET"
|
656
|
-
operation_name = "
|
657
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1332
|
+
operation_name = "list_runbook_versions"
|
1333
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookVersionCollection/ListRunbookVersions"
|
658
1334
|
|
659
1335
|
# Don't accept unknown kwargs
|
660
1336
|
expected_kwargs = [
|
661
1337
|
"allow_control_chars",
|
662
1338
|
"retry_strategy",
|
663
|
-
"
|
1339
|
+
"compartment_id",
|
1340
|
+
"lifecycle_state",
|
1341
|
+
"runbook_id",
|
1342
|
+
"id",
|
1343
|
+
"limit",
|
1344
|
+
"page",
|
1345
|
+
"sort_order",
|
1346
|
+
"sort_by",
|
1347
|
+
"opc_request_id",
|
1348
|
+
"name"
|
664
1349
|
]
|
665
1350
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
666
1351
|
if extra_kwargs:
|
667
1352
|
raise ValueError(
|
668
|
-
f"
|
1353
|
+
f"list_runbook_versions got unknown kwargs: {extra_kwargs!r}")
|
669
1354
|
|
670
|
-
|
671
|
-
"
|
672
|
-
|
1355
|
+
if 'lifecycle_state' in kwargs:
|
1356
|
+
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED", "NEEDS_ATTENTION", "INACTIVE", "CREATING", "DELETING", "UPDATING"]
|
1357
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
1358
|
+
raise ValueError(
|
1359
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
1360
|
+
)
|
673
1361
|
|
674
|
-
|
1362
|
+
if 'sort_order' in kwargs:
|
1363
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1364
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1365
|
+
raise ValueError(
|
1366
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1367
|
+
)
|
675
1368
|
|
676
|
-
|
677
|
-
|
678
|
-
|
1369
|
+
if 'sort_by' in kwargs:
|
1370
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
1371
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1372
|
+
raise ValueError(
|
1373
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1374
|
+
)
|
1375
|
+
|
1376
|
+
query_params = {
|
1377
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
1378
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
1379
|
+
"runbookId": kwargs.get("runbook_id", missing),
|
1380
|
+
"id": kwargs.get("id", missing),
|
1381
|
+
"limit": kwargs.get("limit", missing),
|
1382
|
+
"page": kwargs.get("page", missing),
|
1383
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1384
|
+
"sortBy": kwargs.get("sort_by", missing),
|
1385
|
+
"name": kwargs.get("name", missing)
|
1386
|
+
}
|
1387
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
679
1388
|
|
680
1389
|
header_params = {
|
681
1390
|
"accept": "application/json",
|
@@ -699,9 +1408,9 @@ class FleetAppsManagementRunbooksClient(object):
|
|
699
1408
|
self.base_client.call_api,
|
700
1409
|
resource_path=resource_path,
|
701
1410
|
method=method,
|
702
|
-
|
1411
|
+
query_params=query_params,
|
703
1412
|
header_params=header_params,
|
704
|
-
response_type="
|
1413
|
+
response_type="RunbookVersionCollection",
|
705
1414
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
706
1415
|
operation_name=operation_name,
|
707
1416
|
api_reference_link=api_reference_link,
|
@@ -710,9 +1419,9 @@ class FleetAppsManagementRunbooksClient(object):
|
|
710
1419
|
return self.base_client.call_api(
|
711
1420
|
resource_path=resource_path,
|
712
1421
|
method=method,
|
713
|
-
|
1422
|
+
query_params=query_params,
|
714
1423
|
header_params=header_params,
|
715
|
-
response_type="
|
1424
|
+
response_type="RunbookVersionCollection",
|
716
1425
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
717
1426
|
operation_name=operation_name,
|
718
1427
|
api_reference_link=api_reference_link,
|
@@ -720,11 +1429,13 @@ class FleetAppsManagementRunbooksClient(object):
|
|
720
1429
|
|
721
1430
|
def list_runbooks(self, **kwargs):
|
722
1431
|
"""
|
723
|
-
|
1432
|
+
Returns a list of all the runbooks in the specified compartment.
|
1433
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
724
1434
|
|
725
1435
|
|
726
1436
|
:param str compartment_id: (optional)
|
727
1437
|
The ID of the compartment in which to list resources.
|
1438
|
+
Empty only if the resource OCID query param is not specified.
|
728
1439
|
|
729
1440
|
:param str lifecycle_state: (optional)
|
730
1441
|
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
@@ -735,18 +1446,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
735
1446
|
A filter to return only resources that match the entire display name given.
|
736
1447
|
|
737
1448
|
:param str id: (optional)
|
738
|
-
|
1449
|
+
Unique identifier or OCID for listing a single Runbook by id.
|
1450
|
+
Either compartmentId or id must be provided.
|
739
1451
|
|
740
1452
|
:param str type: (optional)
|
741
1453
|
A filter to return runbooks whose type matches the given type.
|
742
1454
|
|
743
1455
|
Allowed values are: "USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"
|
744
1456
|
|
745
|
-
:param str runbook_relevance: (optional)
|
746
|
-
A filter to return runbooks whose runbookRelevance matches the given runbookRelevance.
|
747
|
-
|
748
|
-
Allowed values are: "PRODUCT_GROUP", "PRODUCT"
|
749
|
-
|
750
1457
|
:param str platform: (optional)
|
751
1458
|
A filter to return runbooks whose platform matches the given platform.
|
752
1459
|
|
@@ -788,14 +1495,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
788
1495
|
:rtype: :class:`~oci.response.Response`
|
789
1496
|
|
790
1497
|
:example:
|
791
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1498
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/list_runbooks.py.html>`__ to see an example of how to use list_runbooks API.
|
792
1499
|
"""
|
793
1500
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
794
1501
|
required_arguments = []
|
795
1502
|
resource_path = "/runbooks"
|
796
1503
|
method = "GET"
|
797
1504
|
operation_name = "list_runbooks"
|
798
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1505
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookCollection/ListRunbooks"
|
799
1506
|
|
800
1507
|
# Don't accept unknown kwargs
|
801
1508
|
expected_kwargs = [
|
@@ -806,7 +1513,6 @@ class FleetAppsManagementRunbooksClient(object):
|
|
806
1513
|
"display_name",
|
807
1514
|
"id",
|
808
1515
|
"type",
|
809
|
-
"runbook_relevance",
|
810
1516
|
"platform",
|
811
1517
|
"operation",
|
812
1518
|
"limit",
|
@@ -834,13 +1540,6 @@ class FleetAppsManagementRunbooksClient(object):
|
|
834
1540
|
f"Invalid value for `type`, must be one of { type_allowed_values }"
|
835
1541
|
)
|
836
1542
|
|
837
|
-
if 'runbook_relevance' in kwargs:
|
838
|
-
runbook_relevance_allowed_values = ["PRODUCT_GROUP", "PRODUCT"]
|
839
|
-
if kwargs['runbook_relevance'] not in runbook_relevance_allowed_values:
|
840
|
-
raise ValueError(
|
841
|
-
f"Invalid value for `runbook_relevance`, must be one of { runbook_relevance_allowed_values }"
|
842
|
-
)
|
843
|
-
|
844
1543
|
if 'sort_order' in kwargs:
|
845
1544
|
sort_order_allowed_values = ["ASC", "DESC"]
|
846
1545
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -861,7 +1560,6 @@ class FleetAppsManagementRunbooksClient(object):
|
|
861
1560
|
"displayName": kwargs.get("display_name", missing),
|
862
1561
|
"id": kwargs.get("id", missing),
|
863
1562
|
"type": kwargs.get("type", missing),
|
864
|
-
"runbookRelevance": kwargs.get("runbook_relevance", missing),
|
865
1563
|
"platform": kwargs.get("platform", missing),
|
866
1564
|
"operation": kwargs.get("operation", missing),
|
867
1565
|
"limit": kwargs.get("limit", missing),
|
@@ -914,14 +1612,16 @@ class FleetAppsManagementRunbooksClient(object):
|
|
914
1612
|
|
915
1613
|
def list_task_records(self, **kwargs):
|
916
1614
|
"""
|
917
|
-
Returns a list of
|
1615
|
+
Returns a list of all the task records in the specified compartment.
|
1616
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
918
1617
|
|
919
1618
|
|
920
1619
|
:param str compartment_id: (optional)
|
921
1620
|
The ID of the compartment in which to list resources.
|
1621
|
+
Empty only if the resource OCID query param is not specified.
|
922
1622
|
|
923
1623
|
:param str platform: (optional)
|
924
|
-
The platform for the
|
1624
|
+
The platform for the task record.
|
925
1625
|
|
926
1626
|
:param str type: (optional)
|
927
1627
|
The type of the Task.
|
@@ -931,8 +1631,12 @@ class FleetAppsManagementRunbooksClient(object):
|
|
931
1631
|
:param str display_name: (optional)
|
932
1632
|
A filter to return only resources that match the entire display name given.
|
933
1633
|
|
1634
|
+
:param str operation: (optional)
|
1635
|
+
A filter to return task records whose operation matches the given lifecycle operation.
|
1636
|
+
|
934
1637
|
:param str id: (optional)
|
935
|
-
|
1638
|
+
Unique identifier or OCID for listing a single task record by id.
|
1639
|
+
Either compartmentId or id must be provided.
|
936
1640
|
|
937
1641
|
:param int limit: (optional)
|
938
1642
|
The maximum number of items to return.
|
@@ -941,7 +1645,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
941
1645
|
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
942
1646
|
|
943
1647
|
:param str lifecycle_state: (optional)
|
944
|
-
The current state of the
|
1648
|
+
The current state of the task record.
|
945
1649
|
|
946
1650
|
Allowed values are: "ACTIVE", "INACTIVE", "DELETED", "DELETING", "FAILED", "UPDATING"
|
947
1651
|
|
@@ -974,14 +1678,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
974
1678
|
:rtype: :class:`~oci.response.Response`
|
975
1679
|
|
976
1680
|
:example:
|
977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1681
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/list_task_records.py.html>`__ to see an example of how to use list_task_records API.
|
978
1682
|
"""
|
979
1683
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
980
1684
|
required_arguments = []
|
981
1685
|
resource_path = "/taskRecords"
|
982
1686
|
method = "GET"
|
983
1687
|
operation_name = "list_task_records"
|
984
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1688
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecordCollection/ListTaskRecords"
|
985
1689
|
|
986
1690
|
# Don't accept unknown kwargs
|
987
1691
|
expected_kwargs = [
|
@@ -991,6 +1695,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
991
1695
|
"platform",
|
992
1696
|
"type",
|
993
1697
|
"display_name",
|
1698
|
+
"operation",
|
994
1699
|
"id",
|
995
1700
|
"limit",
|
996
1701
|
"page",
|
@@ -1037,6 +1742,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1037
1742
|
"platform": kwargs.get("platform", missing),
|
1038
1743
|
"type": kwargs.get("type", missing),
|
1039
1744
|
"displayName": kwargs.get("display_name", missing),
|
1745
|
+
"operation": kwargs.get("operation", missing),
|
1040
1746
|
"id": kwargs.get("id", missing),
|
1041
1747
|
"limit": kwargs.get("limit", missing),
|
1042
1748
|
"page": kwargs.get("page", missing),
|
@@ -1089,11 +1795,12 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1089
1795
|
|
1090
1796
|
def publish_runbook(self, publish_runbook_details, **kwargs):
|
1091
1797
|
"""
|
1092
|
-
Publish
|
1798
|
+
Publish the specified version of the runbook.
|
1799
|
+
The specified version of the runbook becomes acitve when it is published.Only active versions of runbook can be used in execution.
|
1093
1800
|
|
1094
1801
|
|
1095
1802
|
:param oci.fleet_apps_management.models.PublishRunbookDetails publish_runbook_details: (required)
|
1096
|
-
Details for publishing the
|
1803
|
+
Details for publishing the specified version of runbook.
|
1097
1804
|
|
1098
1805
|
:param str opc_retry_token: (optional)
|
1099
1806
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -1128,14 +1835,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1128
1835
|
:rtype: :class:`~oci.response.Response`
|
1129
1836
|
|
1130
1837
|
:example:
|
1131
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/publish_runbook.py.html>`__ to see an example of how to use publish_runbook API.
|
1132
1839
|
"""
|
1133
1840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1134
1841
|
required_arguments = []
|
1135
1842
|
resource_path = "/runbooks/actions/publishRunbook"
|
1136
1843
|
method = "POST"
|
1137
1844
|
operation_name = "publish_runbook"
|
1138
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1845
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/PublishRunbook"
|
1139
1846
|
|
1140
1847
|
# Don't accept unknown kwargs
|
1141
1848
|
expected_kwargs = [
|
@@ -1194,11 +1901,11 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1194
1901
|
|
1195
1902
|
def set_default_runbook(self, set_default_runbook_details, **kwargs):
|
1196
1903
|
"""
|
1197
|
-
|
1904
|
+
Set a runbook as default.
|
1198
1905
|
|
1199
1906
|
|
1200
1907
|
:param oci.fleet_apps_management.models.SetDefaultRunbookDetails set_default_runbook_details: (required)
|
1201
|
-
Details for setting the
|
1908
|
+
Details for setting the runbook as default for a platform and operation.
|
1202
1909
|
|
1203
1910
|
:param str opc_retry_token: (optional)
|
1204
1911
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -1233,14 +1940,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1233
1940
|
:rtype: :class:`~oci.response.Response`
|
1234
1941
|
|
1235
1942
|
:example:
|
1236
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1943
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/set_default_runbook.py.html>`__ to see an example of how to use set_default_runbook API.
|
1237
1944
|
"""
|
1238
1945
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1239
1946
|
required_arguments = []
|
1240
1947
|
resource_path = "/runbooks/actions/setDefaultRunbook"
|
1241
1948
|
method = "POST"
|
1242
1949
|
operation_name = "set_default_runbook"
|
1243
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
1950
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/SetDefaultRunbook"
|
1244
1951
|
|
1245
1952
|
# Don't accept unknown kwargs
|
1246
1953
|
expected_kwargs = [
|
@@ -1301,7 +2008,7 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1301
2008
|
|
1302
2009
|
def update_runbook(self, runbook_id, update_runbook_details, **kwargs):
|
1303
2010
|
"""
|
1304
|
-
Updates the
|
2011
|
+
Updates the runbook specified by the identifier.
|
1305
2012
|
|
1306
2013
|
|
1307
2014
|
:param str runbook_id: (required)
|
@@ -1336,14 +2043,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1336
2043
|
:rtype: :class:`~oci.response.Response`
|
1337
2044
|
|
1338
2045
|
:example:
|
1339
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2046
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/update_runbook.py.html>`__ to see an example of how to use update_runbook API.
|
1340
2047
|
"""
|
1341
2048
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1342
2049
|
required_arguments = ['runbookId']
|
1343
2050
|
resource_path = "/runbooks/{runbookId}"
|
1344
2051
|
method = "PUT"
|
1345
2052
|
operation_name = "update_runbook"
|
1346
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
2053
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/Runbook/UpdateRunbook"
|
1347
2054
|
|
1348
2055
|
# Don't accept unknown kwargs
|
1349
2056
|
expected_kwargs = [
|
@@ -1409,16 +2116,126 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1409
2116
|
api_reference_link=api_reference_link,
|
1410
2117
|
required_arguments=required_arguments)
|
1411
2118
|
|
2119
|
+
def update_runbook_version(self, runbook_version_id, update_runbook_version_details, **kwargs):
|
2120
|
+
"""
|
2121
|
+
Updates the RunbookVersion.
|
2122
|
+
|
2123
|
+
|
2124
|
+
:param str runbook_version_id: (required)
|
2125
|
+
Unique Runbook Version identifier
|
2126
|
+
|
2127
|
+
:param oci.fleet_apps_management.models.UpdateRunbookVersionDetails update_runbook_version_details: (required)
|
2128
|
+
The information to be updated.
|
2129
|
+
|
2130
|
+
:param str if_match: (optional)
|
2131
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2132
|
+
for a resource, set the `if-match` parameter to the value of the
|
2133
|
+
etag from a previous GET or POST response for that resource.
|
2134
|
+
The resource will be updated or deleted only if the etag you
|
2135
|
+
provide matches the resource's current etag value.
|
2136
|
+
|
2137
|
+
:param str opc_request_id: (optional)
|
2138
|
+
The client request ID for tracing.
|
2139
|
+
|
2140
|
+
:param obj retry_strategy: (optional)
|
2141
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2142
|
+
|
2143
|
+
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.
|
2144
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2145
|
+
|
2146
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2147
|
+
|
2148
|
+
:param bool allow_control_chars: (optional)
|
2149
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2150
|
+
By default, the response will not allow control characters in strings
|
2151
|
+
|
2152
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2153
|
+
:rtype: :class:`~oci.response.Response`
|
2154
|
+
|
2155
|
+
:example:
|
2156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/update_runbook_version.py.html>`__ to see an example of how to use update_runbook_version API.
|
2157
|
+
"""
|
2158
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2159
|
+
required_arguments = ['runbookVersionId']
|
2160
|
+
resource_path = "/runbookVersions/{runbookVersionId}"
|
2161
|
+
method = "PUT"
|
2162
|
+
operation_name = "update_runbook_version"
|
2163
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/RunbookVersion/UpdateRunbookVersion"
|
2164
|
+
|
2165
|
+
# Don't accept unknown kwargs
|
2166
|
+
expected_kwargs = [
|
2167
|
+
"allow_control_chars",
|
2168
|
+
"retry_strategy",
|
2169
|
+
"if_match",
|
2170
|
+
"opc_request_id"
|
2171
|
+
]
|
2172
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2173
|
+
if extra_kwargs:
|
2174
|
+
raise ValueError(
|
2175
|
+
f"update_runbook_version got unknown kwargs: {extra_kwargs!r}")
|
2176
|
+
|
2177
|
+
path_params = {
|
2178
|
+
"runbookVersionId": runbook_version_id
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2182
|
+
|
2183
|
+
for (k, v) in six.iteritems(path_params):
|
2184
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2185
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2186
|
+
|
2187
|
+
header_params = {
|
2188
|
+
"accept": "application/json",
|
2189
|
+
"content-type": "application/json",
|
2190
|
+
"if-match": kwargs.get("if_match", missing),
|
2191
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2192
|
+
}
|
2193
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2194
|
+
|
2195
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2196
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2197
|
+
client_retry_strategy=self.retry_strategy
|
2198
|
+
)
|
2199
|
+
if retry_strategy is None:
|
2200
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2201
|
+
|
2202
|
+
if retry_strategy:
|
2203
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2204
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2205
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2206
|
+
return retry_strategy.make_retrying_call(
|
2207
|
+
self.base_client.call_api,
|
2208
|
+
resource_path=resource_path,
|
2209
|
+
method=method,
|
2210
|
+
path_params=path_params,
|
2211
|
+
header_params=header_params,
|
2212
|
+
body=update_runbook_version_details,
|
2213
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2214
|
+
operation_name=operation_name,
|
2215
|
+
api_reference_link=api_reference_link,
|
2216
|
+
required_arguments=required_arguments)
|
2217
|
+
else:
|
2218
|
+
return self.base_client.call_api(
|
2219
|
+
resource_path=resource_path,
|
2220
|
+
method=method,
|
2221
|
+
path_params=path_params,
|
2222
|
+
header_params=header_params,
|
2223
|
+
body=update_runbook_version_details,
|
2224
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2225
|
+
operation_name=operation_name,
|
2226
|
+
api_reference_link=api_reference_link,
|
2227
|
+
required_arguments=required_arguments)
|
2228
|
+
|
1412
2229
|
def update_task_record(self, task_record_id, update_task_record_details, **kwargs):
|
1413
2230
|
"""
|
1414
|
-
Updates the
|
2231
|
+
Updates certain attributes for the specified task record.
|
1415
2232
|
|
1416
2233
|
|
1417
2234
|
:param str task_record_id: (required)
|
1418
|
-
|
2235
|
+
The OCID of the task record.
|
1419
2236
|
|
1420
2237
|
:param oci.fleet_apps_management.models.UpdateTaskRecordDetails update_task_record_details: (required)
|
1421
|
-
|
2238
|
+
Attributes to update a task record.
|
1422
2239
|
|
1423
2240
|
:param str if_match: (optional)
|
1424
2241
|
For optimistic concurrency control. In the PUT or DELETE call
|
@@ -1446,14 +2263,14 @@ class FleetAppsManagementRunbooksClient(object):
|
|
1446
2263
|
:rtype: :class:`~oci.response.Response`
|
1447
2264
|
|
1448
2265
|
:example:
|
1449
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2266
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/update_task_record.py.html>`__ to see an example of how to use update_task_record API.
|
1450
2267
|
"""
|
1451
2268
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1452
2269
|
required_arguments = ['taskRecordId']
|
1453
2270
|
resource_path = "/taskRecords/{taskRecordId}"
|
1454
2271
|
method = "PUT"
|
1455
2272
|
operation_name = "update_task_record"
|
1456
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/
|
2273
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/TaskRecord/UpdateTaskRecord"
|
1457
2274
|
|
1458
2275
|
# Don't accept unknown kwargs
|
1459
2276
|
expected_kwargs = [
|