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
@@ -0,0 +1,969 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20250228
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from oci._vendor import requests # noqa: F401
|
10
|
+
from oci._vendor import six
|
11
|
+
|
12
|
+
from oci import retry, circuit_breaker # noqa: F401
|
13
|
+
from oci.base_client import BaseClient
|
14
|
+
from oci.config import get_config_value_or_default, validate_config
|
15
|
+
from oci.signer import Signer
|
16
|
+
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
|
17
|
+
from oci.exceptions import InvalidAlloyConfig
|
18
|
+
from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
|
19
|
+
from .models import fleet_apps_management_type_mapping
|
20
|
+
missing = Sentinel("Missing")
|
21
|
+
|
22
|
+
|
23
|
+
class FleetAppsManagementCatalogClient(object):
|
24
|
+
"""
|
25
|
+
Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise.
|
26
|
+
"""
|
27
|
+
|
28
|
+
def __init__(self, config, **kwargs):
|
29
|
+
"""
|
30
|
+
Creates a new service client
|
31
|
+
|
32
|
+
:param dict config:
|
33
|
+
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
34
|
+
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
35
|
+
the dict using :py:meth:`~oci.config.validate_config`
|
36
|
+
|
37
|
+
:param str service_endpoint: (optional)
|
38
|
+
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
39
|
+
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
40
|
+
need to specify a service endpoint.
|
41
|
+
|
42
|
+
:param timeout: (optional)
|
43
|
+
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
44
|
+
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
45
|
+
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
46
|
+
:type timeout: float or tuple(float, float)
|
47
|
+
|
48
|
+
:param signer: (optional)
|
49
|
+
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
50
|
+
provided in the config parameter.
|
51
|
+
|
52
|
+
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
53
|
+
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
54
|
+
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
55
|
+
|
56
|
+
:param obj retry_strategy: (optional)
|
57
|
+
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
58
|
+
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
59
|
+
Any value provided at the operation level will override whatever is specified at the client level.
|
60
|
+
|
61
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
62
|
+
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
63
|
+
|
64
|
+
:param obj circuit_breaker_strategy: (optional)
|
65
|
+
A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
|
66
|
+
This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
|
67
|
+
The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
|
68
|
+
|
69
|
+
:param function circuit_breaker_callback: (optional)
|
70
|
+
Callback function to receive any exceptions triggerred by the circuit breaker.
|
71
|
+
|
72
|
+
:param bool client_level_realm_specific_endpoint_template_enabled: (optional)
|
73
|
+
A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
|
74
|
+
|
75
|
+
:param allow_control_chars: (optional)
|
76
|
+
allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
|
77
|
+
allow control characters to be in the response object.
|
78
|
+
"""
|
79
|
+
if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("fleet_apps_management"):
|
80
|
+
raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
|
81
|
+
|
82
|
+
validate_config(config, signer=kwargs.get('signer'))
|
83
|
+
if 'signer' in kwargs:
|
84
|
+
signer = kwargs['signer']
|
85
|
+
|
86
|
+
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
87
|
+
signer = get_signer_from_authentication_type(config)
|
88
|
+
|
89
|
+
else:
|
90
|
+
signer = Signer(
|
91
|
+
tenancy=config["tenancy"],
|
92
|
+
user=config["user"],
|
93
|
+
fingerprint=config["fingerprint"],
|
94
|
+
private_key_file_location=config.get("key_file"),
|
95
|
+
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
96
|
+
private_key_content=config.get("key_content")
|
97
|
+
)
|
98
|
+
|
99
|
+
base_client_init_kwargs = {
|
100
|
+
'regional_client': True,
|
101
|
+
'service_endpoint': kwargs.get('service_endpoint'),
|
102
|
+
'base_path': '/20250228',
|
103
|
+
'service_endpoint_template': 'https://fams.{region}.oci.{secondLevelDomain}',
|
104
|
+
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
105
|
+
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
106
|
+
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
107
|
+
'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
|
108
|
+
}
|
109
|
+
if 'timeout' in kwargs:
|
110
|
+
base_client_init_kwargs['timeout'] = kwargs.get('timeout')
|
111
|
+
if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
|
112
|
+
base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
|
113
|
+
if 'allow_control_chars' in kwargs:
|
114
|
+
base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
|
115
|
+
self.base_client = BaseClient("fleet_apps_management_catalog", config, signer, fleet_apps_management_type_mapping, **base_client_init_kwargs)
|
116
|
+
self.retry_strategy = kwargs.get('retry_strategy')
|
117
|
+
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
118
|
+
|
119
|
+
def change_catalog_item_compartment(self, catalog_item_id, change_catalog_item_compartment_details, **kwargs):
|
120
|
+
"""
|
121
|
+
Moves a CatalogItem 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 catalog_item_id: (required)
|
128
|
+
The `OCID`__ of the CatalogItem.
|
129
|
+
|
130
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
131
|
+
|
132
|
+
:param oci.fleet_apps_management.models.ChangeCatalogItemCompartmentDetails change_catalog_item_compartment_details: (required)
|
133
|
+
Details of the target compartment.
|
134
|
+
|
135
|
+
:param str if_match: (optional)
|
136
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
137
|
+
for a resource, set the `if-match` parameter to the value of the
|
138
|
+
etag from a previous GET or POST response for that resource.
|
139
|
+
The resource will be updated or deleted only if the etag you
|
140
|
+
provide matches the resource's current etag value.
|
141
|
+
|
142
|
+
:param str opc_request_id: (optional)
|
143
|
+
The client request ID for tracing.
|
144
|
+
|
145
|
+
:param str opc_retry_token: (optional)
|
146
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
147
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
148
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
149
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
150
|
+
might be rejected.
|
151
|
+
|
152
|
+
:param obj retry_strategy: (optional)
|
153
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
154
|
+
|
155
|
+
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.
|
156
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
157
|
+
|
158
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
159
|
+
|
160
|
+
:param bool allow_control_chars: (optional)
|
161
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
162
|
+
By default, the response will not allow control characters in strings
|
163
|
+
|
164
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
165
|
+
:rtype: :class:`~oci.response.Response`
|
166
|
+
|
167
|
+
:example:
|
168
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/change_catalog_item_compartment.py.html>`__ to see an example of how to use change_catalog_item_compartment API.
|
169
|
+
"""
|
170
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
171
|
+
required_arguments = ['catalogItemId']
|
172
|
+
resource_path = "/catalogItems/{catalogItemId}/actions/changeCompartment"
|
173
|
+
method = "POST"
|
174
|
+
operation_name = "change_catalog_item_compartment"
|
175
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/ChangeCatalogItemCompartment"
|
176
|
+
|
177
|
+
# Don't accept unknown kwargs
|
178
|
+
expected_kwargs = [
|
179
|
+
"allow_control_chars",
|
180
|
+
"retry_strategy",
|
181
|
+
"if_match",
|
182
|
+
"opc_request_id",
|
183
|
+
"opc_retry_token"
|
184
|
+
]
|
185
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
186
|
+
if extra_kwargs:
|
187
|
+
raise ValueError(
|
188
|
+
f"change_catalog_item_compartment got unknown kwargs: {extra_kwargs!r}")
|
189
|
+
|
190
|
+
path_params = {
|
191
|
+
"catalogItemId": catalog_item_id
|
192
|
+
}
|
193
|
+
|
194
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
195
|
+
|
196
|
+
for (k, v) in six.iteritems(path_params):
|
197
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
198
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
199
|
+
|
200
|
+
header_params = {
|
201
|
+
"accept": "application/json",
|
202
|
+
"content-type": "application/json",
|
203
|
+
"if-match": kwargs.get("if_match", missing),
|
204
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
205
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
206
|
+
}
|
207
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
208
|
+
|
209
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
210
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
211
|
+
client_retry_strategy=self.retry_strategy
|
212
|
+
)
|
213
|
+
if retry_strategy is None:
|
214
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
215
|
+
|
216
|
+
if retry_strategy:
|
217
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
218
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
219
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
220
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
221
|
+
return retry_strategy.make_retrying_call(
|
222
|
+
self.base_client.call_api,
|
223
|
+
resource_path=resource_path,
|
224
|
+
method=method,
|
225
|
+
path_params=path_params,
|
226
|
+
header_params=header_params,
|
227
|
+
body=change_catalog_item_compartment_details,
|
228
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
229
|
+
operation_name=operation_name,
|
230
|
+
api_reference_link=api_reference_link,
|
231
|
+
required_arguments=required_arguments)
|
232
|
+
else:
|
233
|
+
return self.base_client.call_api(
|
234
|
+
resource_path=resource_path,
|
235
|
+
method=method,
|
236
|
+
path_params=path_params,
|
237
|
+
header_params=header_params,
|
238
|
+
body=change_catalog_item_compartment_details,
|
239
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
240
|
+
operation_name=operation_name,
|
241
|
+
api_reference_link=api_reference_link,
|
242
|
+
required_arguments=required_arguments)
|
243
|
+
|
244
|
+
def clone_catalog_item(self, catalog_item_id, clone_catalog_item_details, **kwargs):
|
245
|
+
"""
|
246
|
+
Clones a CatalogItem into a different compartment within the same tenancy. For information about moving resources between
|
247
|
+
compartments, see `Moving Resources to a Different Compartment`__.
|
248
|
+
|
249
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
250
|
+
|
251
|
+
|
252
|
+
:param str catalog_item_id: (required)
|
253
|
+
The `OCID`__ of the CatalogItem.
|
254
|
+
|
255
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
256
|
+
|
257
|
+
:param oci.fleet_apps_management.models.CloneCatalogItemDetails clone_catalog_item_details: (required)
|
258
|
+
The information to be updated.
|
259
|
+
|
260
|
+
:param str if_match: (optional)
|
261
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
262
|
+
for a resource, set the `if-match` parameter to the value of the
|
263
|
+
etag from a previous GET or POST response for that resource.
|
264
|
+
The resource will be updated or deleted only if the etag you
|
265
|
+
provide matches the resource's current etag value.
|
266
|
+
|
267
|
+
:param str opc_request_id: (optional)
|
268
|
+
The client request ID for tracing.
|
269
|
+
|
270
|
+
:param str opc_retry_token: (optional)
|
271
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
272
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
273
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
274
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
275
|
+
might be rejected.
|
276
|
+
|
277
|
+
:param obj retry_strategy: (optional)
|
278
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
279
|
+
|
280
|
+
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.
|
281
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
282
|
+
|
283
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
284
|
+
|
285
|
+
:param bool allow_control_chars: (optional)
|
286
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
287
|
+
By default, the response will not allow control characters in strings
|
288
|
+
|
289
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CatalogItem`
|
290
|
+
:rtype: :class:`~oci.response.Response`
|
291
|
+
|
292
|
+
:example:
|
293
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/clone_catalog_item.py.html>`__ to see an example of how to use clone_catalog_item API.
|
294
|
+
"""
|
295
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
296
|
+
required_arguments = ['catalogItemId']
|
297
|
+
resource_path = "/catalogItems/{catalogItemId}/actions/cloneCatalogItem"
|
298
|
+
method = "POST"
|
299
|
+
operation_name = "clone_catalog_item"
|
300
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/CloneCatalogItem"
|
301
|
+
|
302
|
+
# Don't accept unknown kwargs
|
303
|
+
expected_kwargs = [
|
304
|
+
"allow_control_chars",
|
305
|
+
"retry_strategy",
|
306
|
+
"if_match",
|
307
|
+
"opc_request_id",
|
308
|
+
"opc_retry_token"
|
309
|
+
]
|
310
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
311
|
+
if extra_kwargs:
|
312
|
+
raise ValueError(
|
313
|
+
f"clone_catalog_item got unknown kwargs: {extra_kwargs!r}")
|
314
|
+
|
315
|
+
path_params = {
|
316
|
+
"catalogItemId": catalog_item_id
|
317
|
+
}
|
318
|
+
|
319
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
320
|
+
|
321
|
+
for (k, v) in six.iteritems(path_params):
|
322
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
323
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
324
|
+
|
325
|
+
header_params = {
|
326
|
+
"accept": "application/json",
|
327
|
+
"content-type": "application/json",
|
328
|
+
"if-match": kwargs.get("if_match", missing),
|
329
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
330
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
331
|
+
}
|
332
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
333
|
+
|
334
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
335
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
336
|
+
client_retry_strategy=self.retry_strategy
|
337
|
+
)
|
338
|
+
if retry_strategy is None:
|
339
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
340
|
+
|
341
|
+
if retry_strategy:
|
342
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
343
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
344
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
345
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
346
|
+
return retry_strategy.make_retrying_call(
|
347
|
+
self.base_client.call_api,
|
348
|
+
resource_path=resource_path,
|
349
|
+
method=method,
|
350
|
+
path_params=path_params,
|
351
|
+
header_params=header_params,
|
352
|
+
body=clone_catalog_item_details,
|
353
|
+
response_type="CatalogItem",
|
354
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
355
|
+
operation_name=operation_name,
|
356
|
+
api_reference_link=api_reference_link,
|
357
|
+
required_arguments=required_arguments)
|
358
|
+
else:
|
359
|
+
return self.base_client.call_api(
|
360
|
+
resource_path=resource_path,
|
361
|
+
method=method,
|
362
|
+
path_params=path_params,
|
363
|
+
header_params=header_params,
|
364
|
+
body=clone_catalog_item_details,
|
365
|
+
response_type="CatalogItem",
|
366
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
367
|
+
operation_name=operation_name,
|
368
|
+
api_reference_link=api_reference_link,
|
369
|
+
required_arguments=required_arguments)
|
370
|
+
|
371
|
+
def create_catalog_item(self, create_catalog_item_details, **kwargs):
|
372
|
+
"""
|
373
|
+
Creates a CatalogItem.
|
374
|
+
|
375
|
+
|
376
|
+
:param oci.fleet_apps_management.models.CreateCatalogItemDetails create_catalog_item_details: (required)
|
377
|
+
Details for the new CatalogItem.
|
378
|
+
|
379
|
+
:param str opc_retry_token: (optional)
|
380
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
381
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
382
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
383
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
384
|
+
might be rejected.
|
385
|
+
|
386
|
+
:param str opc_request_id: (optional)
|
387
|
+
The client request ID for tracing.
|
388
|
+
|
389
|
+
:param obj retry_strategy: (optional)
|
390
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
391
|
+
|
392
|
+
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.
|
393
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
394
|
+
|
395
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
396
|
+
|
397
|
+
:param bool allow_control_chars: (optional)
|
398
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
399
|
+
By default, the response will not allow control characters in strings
|
400
|
+
|
401
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CatalogItem`
|
402
|
+
:rtype: :class:`~oci.response.Response`
|
403
|
+
|
404
|
+
:example:
|
405
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/create_catalog_item.py.html>`__ to see an example of how to use create_catalog_item API.
|
406
|
+
"""
|
407
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
408
|
+
required_arguments = []
|
409
|
+
resource_path = "/catalogItems"
|
410
|
+
method = "POST"
|
411
|
+
operation_name = "create_catalog_item"
|
412
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/CreateCatalogItem"
|
413
|
+
|
414
|
+
# Don't accept unknown kwargs
|
415
|
+
expected_kwargs = [
|
416
|
+
"allow_control_chars",
|
417
|
+
"retry_strategy",
|
418
|
+
"opc_retry_token",
|
419
|
+
"opc_request_id"
|
420
|
+
]
|
421
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
422
|
+
if extra_kwargs:
|
423
|
+
raise ValueError(
|
424
|
+
f"create_catalog_item got unknown kwargs: {extra_kwargs!r}")
|
425
|
+
|
426
|
+
header_params = {
|
427
|
+
"accept": "application/json",
|
428
|
+
"content-type": "application/json",
|
429
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
430
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
431
|
+
}
|
432
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
433
|
+
|
434
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
435
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
436
|
+
client_retry_strategy=self.retry_strategy
|
437
|
+
)
|
438
|
+
if retry_strategy is None:
|
439
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
440
|
+
|
441
|
+
if retry_strategy:
|
442
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
443
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
444
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
445
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
446
|
+
return retry_strategy.make_retrying_call(
|
447
|
+
self.base_client.call_api,
|
448
|
+
resource_path=resource_path,
|
449
|
+
method=method,
|
450
|
+
header_params=header_params,
|
451
|
+
body=create_catalog_item_details,
|
452
|
+
response_type="CatalogItem",
|
453
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
454
|
+
operation_name=operation_name,
|
455
|
+
api_reference_link=api_reference_link,
|
456
|
+
required_arguments=required_arguments)
|
457
|
+
else:
|
458
|
+
return self.base_client.call_api(
|
459
|
+
resource_path=resource_path,
|
460
|
+
method=method,
|
461
|
+
header_params=header_params,
|
462
|
+
body=create_catalog_item_details,
|
463
|
+
response_type="CatalogItem",
|
464
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
465
|
+
operation_name=operation_name,
|
466
|
+
api_reference_link=api_reference_link,
|
467
|
+
required_arguments=required_arguments)
|
468
|
+
|
469
|
+
def delete_catalog_item(self, catalog_item_id, **kwargs):
|
470
|
+
"""
|
471
|
+
Deletes a CatalogItem.
|
472
|
+
|
473
|
+
|
474
|
+
:param str catalog_item_id: (required)
|
475
|
+
The `OCID`__ of the CatalogItem.
|
476
|
+
|
477
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
478
|
+
|
479
|
+
:param str if_match: (optional)
|
480
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
481
|
+
for a resource, set the `if-match` parameter to the value of the
|
482
|
+
etag from a previous GET or POST response for that resource.
|
483
|
+
The resource will be updated or deleted only if the etag you
|
484
|
+
provide matches the resource's current etag value.
|
485
|
+
|
486
|
+
:param str opc_request_id: (optional)
|
487
|
+
The client request ID for tracing.
|
488
|
+
|
489
|
+
:param obj retry_strategy: (optional)
|
490
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
491
|
+
|
492
|
+
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.
|
493
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
494
|
+
|
495
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
496
|
+
|
497
|
+
:param bool allow_control_chars: (optional)
|
498
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
499
|
+
By default, the response will not allow control characters in strings
|
500
|
+
|
501
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
502
|
+
:rtype: :class:`~oci.response.Response`
|
503
|
+
|
504
|
+
:example:
|
505
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/delete_catalog_item.py.html>`__ to see an example of how to use delete_catalog_item API.
|
506
|
+
"""
|
507
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
508
|
+
required_arguments = ['catalogItemId']
|
509
|
+
resource_path = "/catalogItems/{catalogItemId}"
|
510
|
+
method = "DELETE"
|
511
|
+
operation_name = "delete_catalog_item"
|
512
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/DeleteCatalogItem"
|
513
|
+
|
514
|
+
# Don't accept unknown kwargs
|
515
|
+
expected_kwargs = [
|
516
|
+
"allow_control_chars",
|
517
|
+
"retry_strategy",
|
518
|
+
"if_match",
|
519
|
+
"opc_request_id"
|
520
|
+
]
|
521
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
522
|
+
if extra_kwargs:
|
523
|
+
raise ValueError(
|
524
|
+
f"delete_catalog_item got unknown kwargs: {extra_kwargs!r}")
|
525
|
+
|
526
|
+
path_params = {
|
527
|
+
"catalogItemId": catalog_item_id
|
528
|
+
}
|
529
|
+
|
530
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
531
|
+
|
532
|
+
for (k, v) in six.iteritems(path_params):
|
533
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
534
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
535
|
+
|
536
|
+
header_params = {
|
537
|
+
"accept": "application/json",
|
538
|
+
"content-type": "application/json",
|
539
|
+
"if-match": kwargs.get("if_match", missing),
|
540
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
541
|
+
}
|
542
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
543
|
+
|
544
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
545
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
546
|
+
client_retry_strategy=self.retry_strategy
|
547
|
+
)
|
548
|
+
if retry_strategy is None:
|
549
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
550
|
+
|
551
|
+
if retry_strategy:
|
552
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
553
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
554
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
555
|
+
return retry_strategy.make_retrying_call(
|
556
|
+
self.base_client.call_api,
|
557
|
+
resource_path=resource_path,
|
558
|
+
method=method,
|
559
|
+
path_params=path_params,
|
560
|
+
header_params=header_params,
|
561
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
562
|
+
operation_name=operation_name,
|
563
|
+
api_reference_link=api_reference_link,
|
564
|
+
required_arguments=required_arguments)
|
565
|
+
else:
|
566
|
+
return self.base_client.call_api(
|
567
|
+
resource_path=resource_path,
|
568
|
+
method=method,
|
569
|
+
path_params=path_params,
|
570
|
+
header_params=header_params,
|
571
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
572
|
+
operation_name=operation_name,
|
573
|
+
api_reference_link=api_reference_link,
|
574
|
+
required_arguments=required_arguments)
|
575
|
+
|
576
|
+
def get_catalog_item(self, catalog_item_id, **kwargs):
|
577
|
+
"""
|
578
|
+
Gets information about a CatalogItem.
|
579
|
+
|
580
|
+
|
581
|
+
:param str catalog_item_id: (required)
|
582
|
+
The `OCID`__ of the CatalogItem.
|
583
|
+
|
584
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
585
|
+
|
586
|
+
:param str opc_request_id: (optional)
|
587
|
+
The client request ID for tracing.
|
588
|
+
|
589
|
+
:param obj retry_strategy: (optional)
|
590
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
591
|
+
|
592
|
+
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.
|
593
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
594
|
+
|
595
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
596
|
+
|
597
|
+
:param bool allow_control_chars: (optional)
|
598
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
599
|
+
By default, the response will not allow control characters in strings
|
600
|
+
|
601
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CatalogItem`
|
602
|
+
:rtype: :class:`~oci.response.Response`
|
603
|
+
|
604
|
+
:example:
|
605
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/get_catalog_item.py.html>`__ to see an example of how to use get_catalog_item API.
|
606
|
+
"""
|
607
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
608
|
+
required_arguments = ['catalogItemId']
|
609
|
+
resource_path = "/catalogItems/{catalogItemId}"
|
610
|
+
method = "GET"
|
611
|
+
operation_name = "get_catalog_item"
|
612
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/GetCatalogItem"
|
613
|
+
|
614
|
+
# Don't accept unknown kwargs
|
615
|
+
expected_kwargs = [
|
616
|
+
"allow_control_chars",
|
617
|
+
"retry_strategy",
|
618
|
+
"opc_request_id"
|
619
|
+
]
|
620
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
621
|
+
if extra_kwargs:
|
622
|
+
raise ValueError(
|
623
|
+
f"get_catalog_item got unknown kwargs: {extra_kwargs!r}")
|
624
|
+
|
625
|
+
path_params = {
|
626
|
+
"catalogItemId": catalog_item_id
|
627
|
+
}
|
628
|
+
|
629
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
630
|
+
|
631
|
+
for (k, v) in six.iteritems(path_params):
|
632
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
633
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
634
|
+
|
635
|
+
header_params = {
|
636
|
+
"accept": "application/json",
|
637
|
+
"content-type": "application/json",
|
638
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
639
|
+
}
|
640
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
641
|
+
|
642
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
643
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
644
|
+
client_retry_strategy=self.retry_strategy
|
645
|
+
)
|
646
|
+
if retry_strategy is None:
|
647
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
648
|
+
|
649
|
+
if retry_strategy:
|
650
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
651
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
652
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
653
|
+
return retry_strategy.make_retrying_call(
|
654
|
+
self.base_client.call_api,
|
655
|
+
resource_path=resource_path,
|
656
|
+
method=method,
|
657
|
+
path_params=path_params,
|
658
|
+
header_params=header_params,
|
659
|
+
response_type="CatalogItem",
|
660
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
661
|
+
operation_name=operation_name,
|
662
|
+
api_reference_link=api_reference_link,
|
663
|
+
required_arguments=required_arguments)
|
664
|
+
else:
|
665
|
+
return self.base_client.call_api(
|
666
|
+
resource_path=resource_path,
|
667
|
+
method=method,
|
668
|
+
path_params=path_params,
|
669
|
+
header_params=header_params,
|
670
|
+
response_type="CatalogItem",
|
671
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
672
|
+
operation_name=operation_name,
|
673
|
+
api_reference_link=api_reference_link,
|
674
|
+
required_arguments=required_arguments)
|
675
|
+
|
676
|
+
def list_catalog_items(self, compartment_id, **kwargs):
|
677
|
+
"""
|
678
|
+
Gets a list of Catalog Items in a compartment.
|
679
|
+
|
680
|
+
|
681
|
+
:param str compartment_id: (required)
|
682
|
+
The ID of the compartment in which to list resources.
|
683
|
+
|
684
|
+
:param str config_source_type: (optional)
|
685
|
+
The `ConfigSourceType`__ Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, URL_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.
|
686
|
+
|
687
|
+
__ https://docs.cloud.oracle.com/definitions/CatalogItem/configSourceType
|
688
|
+
|
689
|
+
:param str lifecycle_state: (optional)
|
690
|
+
A filter to return only resources that match the given lifecycle state. The
|
691
|
+
state value is case-insensitive.
|
692
|
+
|
693
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
694
|
+
|
695
|
+
:param str sort_order: (optional)
|
696
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
697
|
+
|
698
|
+
Allowed values are: "ASC", "DESC"
|
699
|
+
|
700
|
+
:param str sort_by: (optional)
|
701
|
+
The field to sort by. You can provide only one sort by. Default value for `timeCreated`
|
702
|
+
is descending. Default order for `displayName` is ascending
|
703
|
+
|
704
|
+
Allowed values are: "timeCreated", "displayName", "timeBackfillLastChecked"
|
705
|
+
|
706
|
+
:param str display_name: (optional)
|
707
|
+
A filter to return only resources that match the entire display name given.
|
708
|
+
|
709
|
+
:param int limit: (optional)
|
710
|
+
The maximum number of items to return.
|
711
|
+
|
712
|
+
:param str page: (optional)
|
713
|
+
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.
|
714
|
+
|
715
|
+
:param str opc_request_id: (optional)
|
716
|
+
The client request ID for tracing.
|
717
|
+
|
718
|
+
:param str catalog_listing_id: (optional)
|
719
|
+
catalogListingId of the package. This is an integer whose min and max length are specified.
|
720
|
+
|
721
|
+
:param str catalog_listing_version_criteria: (optional)
|
722
|
+
Parameter to list all catalog items only with latest version or list all catalog items with all versions.
|
723
|
+
|
724
|
+
Allowed values are: "LIST_ALL_VERSIONS", "LIST_EARLIEST_VERSION_ONLY", "LIST_LATEST_VERSION_ONLY"
|
725
|
+
|
726
|
+
:param bool should_list_public_items: (optional)
|
727
|
+
The indicator to append Public Items from the root compartment to any query, when set to TRUE.
|
728
|
+
|
729
|
+
:param obj retry_strategy: (optional)
|
730
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
731
|
+
|
732
|
+
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.
|
733
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
734
|
+
|
735
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
736
|
+
|
737
|
+
:param bool allow_control_chars: (optional)
|
738
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
739
|
+
By default, the response will not allow control characters in strings
|
740
|
+
|
741
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CatalogItemCollection`
|
742
|
+
:rtype: :class:`~oci.response.Response`
|
743
|
+
|
744
|
+
:example:
|
745
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/list_catalog_items.py.html>`__ to see an example of how to use list_catalog_items API.
|
746
|
+
"""
|
747
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
748
|
+
required_arguments = ['compartmentId']
|
749
|
+
resource_path = "/catalogItems"
|
750
|
+
method = "GET"
|
751
|
+
operation_name = "list_catalog_items"
|
752
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItemCollection/ListCatalogItems"
|
753
|
+
|
754
|
+
# Don't accept unknown kwargs
|
755
|
+
expected_kwargs = [
|
756
|
+
"allow_control_chars",
|
757
|
+
"retry_strategy",
|
758
|
+
"config_source_type",
|
759
|
+
"lifecycle_state",
|
760
|
+
"sort_order",
|
761
|
+
"sort_by",
|
762
|
+
"display_name",
|
763
|
+
"limit",
|
764
|
+
"page",
|
765
|
+
"opc_request_id",
|
766
|
+
"catalog_listing_id",
|
767
|
+
"catalog_listing_version_criteria",
|
768
|
+
"should_list_public_items"
|
769
|
+
]
|
770
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
771
|
+
if extra_kwargs:
|
772
|
+
raise ValueError(
|
773
|
+
f"list_catalog_items got unknown kwargs: {extra_kwargs!r}")
|
774
|
+
|
775
|
+
if 'lifecycle_state' in kwargs:
|
776
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
777
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
778
|
+
raise ValueError(
|
779
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
780
|
+
)
|
781
|
+
|
782
|
+
if 'sort_order' in kwargs:
|
783
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
784
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
785
|
+
raise ValueError(
|
786
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
787
|
+
)
|
788
|
+
|
789
|
+
if 'sort_by' in kwargs:
|
790
|
+
sort_by_allowed_values = ["timeCreated", "displayName", "timeBackfillLastChecked"]
|
791
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
792
|
+
raise ValueError(
|
793
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
794
|
+
)
|
795
|
+
|
796
|
+
if 'catalog_listing_version_criteria' in kwargs:
|
797
|
+
catalog_listing_version_criteria_allowed_values = ["LIST_ALL_VERSIONS", "LIST_EARLIEST_VERSION_ONLY", "LIST_LATEST_VERSION_ONLY"]
|
798
|
+
if kwargs['catalog_listing_version_criteria'] not in catalog_listing_version_criteria_allowed_values:
|
799
|
+
raise ValueError(
|
800
|
+
f"Invalid value for `catalog_listing_version_criteria`, must be one of { catalog_listing_version_criteria_allowed_values }"
|
801
|
+
)
|
802
|
+
|
803
|
+
query_params = {
|
804
|
+
"compartmentId": compartment_id,
|
805
|
+
"configSourceType": kwargs.get("config_source_type", missing),
|
806
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
807
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
808
|
+
"sortBy": kwargs.get("sort_by", missing),
|
809
|
+
"displayName": kwargs.get("display_name", missing),
|
810
|
+
"limit": kwargs.get("limit", missing),
|
811
|
+
"page": kwargs.get("page", missing),
|
812
|
+
"catalogListingId": kwargs.get("catalog_listing_id", missing),
|
813
|
+
"catalogListingVersionCriteria": kwargs.get("catalog_listing_version_criteria", missing),
|
814
|
+
"shouldListPublicItems": kwargs.get("should_list_public_items", missing)
|
815
|
+
}
|
816
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
817
|
+
|
818
|
+
header_params = {
|
819
|
+
"accept": "application/json",
|
820
|
+
"content-type": "application/json",
|
821
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
822
|
+
}
|
823
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
824
|
+
|
825
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
826
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
827
|
+
client_retry_strategy=self.retry_strategy
|
828
|
+
)
|
829
|
+
if retry_strategy is None:
|
830
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
831
|
+
|
832
|
+
if retry_strategy:
|
833
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
834
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
835
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
836
|
+
return retry_strategy.make_retrying_call(
|
837
|
+
self.base_client.call_api,
|
838
|
+
resource_path=resource_path,
|
839
|
+
method=method,
|
840
|
+
query_params=query_params,
|
841
|
+
header_params=header_params,
|
842
|
+
response_type="CatalogItemCollection",
|
843
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
844
|
+
operation_name=operation_name,
|
845
|
+
api_reference_link=api_reference_link,
|
846
|
+
required_arguments=required_arguments)
|
847
|
+
else:
|
848
|
+
return self.base_client.call_api(
|
849
|
+
resource_path=resource_path,
|
850
|
+
method=method,
|
851
|
+
query_params=query_params,
|
852
|
+
header_params=header_params,
|
853
|
+
response_type="CatalogItemCollection",
|
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
|
+
|
859
|
+
def update_catalog_item(self, catalog_item_id, update_catalog_item_details, **kwargs):
|
860
|
+
"""
|
861
|
+
Updates a CatalogItem.
|
862
|
+
|
863
|
+
|
864
|
+
:param str catalog_item_id: (required)
|
865
|
+
The `OCID`__ of the CatalogItem.
|
866
|
+
|
867
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
868
|
+
|
869
|
+
:param oci.fleet_apps_management.models.UpdateCatalogItemDetails update_catalog_item_details: (required)
|
870
|
+
The information to be updated.
|
871
|
+
|
872
|
+
:param str if_match: (optional)
|
873
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
874
|
+
for a resource, set the `if-match` parameter to the value of the
|
875
|
+
etag from a previous GET or POST response for that resource.
|
876
|
+
The resource will be updated or deleted only if the etag you
|
877
|
+
provide matches the resource's current etag value.
|
878
|
+
|
879
|
+
:param str opc_request_id: (optional)
|
880
|
+
The client request ID for tracing.
|
881
|
+
|
882
|
+
:param obj retry_strategy: (optional)
|
883
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
884
|
+
|
885
|
+
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.
|
886
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
887
|
+
|
888
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
889
|
+
|
890
|
+
:param bool allow_control_chars: (optional)
|
891
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
892
|
+
By default, the response will not allow control characters in strings
|
893
|
+
|
894
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
895
|
+
:rtype: :class:`~oci.response.Response`
|
896
|
+
|
897
|
+
:example:
|
898
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/fleetappsmanagement/update_catalog_item.py.html>`__ to see an example of how to use update_catalog_item API.
|
899
|
+
"""
|
900
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
901
|
+
required_arguments = ['catalogItemId']
|
902
|
+
resource_path = "/catalogItems/{catalogItemId}"
|
903
|
+
method = "PUT"
|
904
|
+
operation_name = "update_catalog_item"
|
905
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20250228/CatalogItem/UpdateCatalogItem"
|
906
|
+
|
907
|
+
# Don't accept unknown kwargs
|
908
|
+
expected_kwargs = [
|
909
|
+
"allow_control_chars",
|
910
|
+
"retry_strategy",
|
911
|
+
"if_match",
|
912
|
+
"opc_request_id"
|
913
|
+
]
|
914
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
915
|
+
if extra_kwargs:
|
916
|
+
raise ValueError(
|
917
|
+
f"update_catalog_item got unknown kwargs: {extra_kwargs!r}")
|
918
|
+
|
919
|
+
path_params = {
|
920
|
+
"catalogItemId": catalog_item_id
|
921
|
+
}
|
922
|
+
|
923
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
924
|
+
|
925
|
+
for (k, v) in six.iteritems(path_params):
|
926
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
927
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
928
|
+
|
929
|
+
header_params = {
|
930
|
+
"accept": "application/json",
|
931
|
+
"content-type": "application/json",
|
932
|
+
"if-match": kwargs.get("if_match", missing),
|
933
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
934
|
+
}
|
935
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
936
|
+
|
937
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
938
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
939
|
+
client_retry_strategy=self.retry_strategy
|
940
|
+
)
|
941
|
+
if retry_strategy is None:
|
942
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
943
|
+
|
944
|
+
if retry_strategy:
|
945
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
946
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
947
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
948
|
+
return retry_strategy.make_retrying_call(
|
949
|
+
self.base_client.call_api,
|
950
|
+
resource_path=resource_path,
|
951
|
+
method=method,
|
952
|
+
path_params=path_params,
|
953
|
+
header_params=header_params,
|
954
|
+
body=update_catalog_item_details,
|
955
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
956
|
+
operation_name=operation_name,
|
957
|
+
api_reference_link=api_reference_link,
|
958
|
+
required_arguments=required_arguments)
|
959
|
+
else:
|
960
|
+
return self.base_client.call_api(
|
961
|
+
resource_path=resource_path,
|
962
|
+
method=method,
|
963
|
+
path_params=path_params,
|
964
|
+
header_params=header_params,
|
965
|
+
body=update_catalog_item_details,
|
966
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
967
|
+
operation_name=operation_name,
|
968
|
+
api_reference_link=api_reference_link,
|
969
|
+
required_arguments=required_arguments)
|