oci 2.135.2__py3-none-any.whl → 2.137.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/_vendor/jwt/__init__.py +65 -26
- oci/_vendor/jwt/algorithms.py +404 -130
- oci/_vendor/jwt/api_jwk.py +108 -0
- oci/_vendor/jwt/api_jws.py +153 -106
- oci/_vendor/jwt/api_jwt.py +146 -137
- oci/_vendor/jwt/exceptions.py +13 -6
- oci/_vendor/jwt/help.py +16 -15
- oci/_vendor/jwt/jwks_client.py +64 -0
- oci/_vendor/jwt/utils.py +101 -54
- 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 +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/security_token_container.py +1 -1
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- 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 +8 -8
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +160 -14
- oci/cloud_bridge/inventory_client.py +20 -20
- oci/cloud_bridge/models/__init__.py +48 -2
- oci/cloud_bridge/models/asset.py +19 -3
- oci/cloud_bridge/models/asset_source.py +11 -3
- oci/cloud_bridge/models/asset_source_credentials.py +17 -7
- oci/cloud_bridge/models/asset_source_summary.py +11 -3
- oci/cloud_bridge/models/asset_summary.py +11 -3
- oci/cloud_bridge/models/aws_asset_source.py +359 -0
- oci/cloud_bridge/models/aws_asset_source_summary.py +205 -0
- oci/cloud_bridge/models/aws_ebs_asset.py +170 -0
- oci/cloud_bridge/models/aws_ebs_properties.py +382 -0
- oci/cloud_bridge/models/aws_ec2_asset.py +278 -0
- oci/cloud_bridge/models/aws_ec2_properties.py +1056 -0
- oci/cloud_bridge/models/create_asset_details.py +19 -3
- oci/cloud_bridge/models/create_asset_source_details.py +11 -3
- oci/cloud_bridge/models/create_aws_asset_source_details.py +323 -0
- oci/cloud_bridge/models/create_aws_ebs_asset_details.py +134 -0
- oci/cloud_bridge/models/create_aws_ec2_asset_details.py +242 -0
- oci/cloud_bridge/models/create_vm_ware_asset_source_details.py +2 -2
- oci/cloud_bridge/models/create_vmware_vm_asset_details.py +5 -5
- oci/cloud_bridge/models/group_identifier.py +103 -0
- oci/cloud_bridge/models/import_inventory_via_assets_details.py +13 -5
- oci/cloud_bridge/models/instance_network_interface.py +498 -0
- oci/cloud_bridge/models/instance_network_interface_association.py +196 -0
- oci/cloud_bridge/models/instance_network_interface_attachment.py +227 -0
- oci/cloud_bridge/models/instance_private_ip_address.py +161 -0
- oci/cloud_bridge/models/instance_state.py +103 -0
- oci/cloud_bridge/models/monthly_cost_summary.py +103 -0
- oci/cloud_bridge/models/placement.py +289 -0
- oci/{ocvp/models/supported_sku_summary_collection.py → cloud_bridge/models/supported_cloud_region_collection.py} +15 -15
- oci/cloud_bridge/models/supported_cloud_region_summary.py +244 -0
- oci/cloud_bridge/models/tag.py +103 -0
- oci/cloud_bridge/models/update_asset_details.py +19 -3
- oci/cloud_bridge/models/update_asset_source_details.py +47 -4
- oci/cloud_bridge/models/update_aws_asset_source_details.py +240 -0
- oci/cloud_bridge/models/update_aws_ebs_asset_details.py +106 -0
- oci/cloud_bridge/models/update_aws_ec2_asset_details.py +214 -0
- oci/cloud_bridge/models/update_vm_asset_details.py +1 -1
- oci/cloud_bridge/models/update_vm_ware_asset_source_details.py +11 -39
- oci/cloud_bridge/models/update_vmware_vm_asset_details.py +1 -1
- oci/cloud_bridge/models/vm_asset.py +3 -3
- oci/cloud_bridge/models/vm_ware_asset_source.py +2 -2
- oci/cloud_bridge/models/vm_ware_asset_source_summary.py +2 -2
- oci/cloud_bridge/models/vmware_vm_asset.py +5 -5
- oci/cloud_bridge/models/volume_attachment.py +196 -0
- oci/cloud_bridge/models/work_request.py +15 -3
- oci/cloud_bridge/models/work_request_summary.py +15 -3
- oci/cloud_bridge/ocb_agent_svc_client.py +22 -138
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +0 -48
- 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 +88 -88
- oci/container_engine/models/__init__.py +4 -0
- oci/container_engine/models/cluster.py +33 -2
- oci/container_engine/models/cluster_create_options.py +56 -2
- oci/container_engine/models/open_id_connect_discovery.py +72 -0
- oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
- oci/container_engine/models/update_cluster_options_details.py +56 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/block_volume_replica.py +43 -2
- oci/core/models/block_volume_replica_details.py +45 -2
- oci/core/models/block_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_replica.py +43 -2
- oci/core/models/boot_volume_replica_details.py +45 -2
- oci/core/models/boot_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_source_details.py +4 -0
- oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
- oci/core/models/create_boot_volume_details.py +45 -2
- oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
- oci/core/models/create_volume_details.py +45 -2
- oci/core/models/create_volume_group_details.py +45 -2
- oci/core/models/instance_configuration_create_volume_details.py +45 -2
- oci/core/models/virtual_circuit.py +29 -2
- oci/core/models/virtual_circuit_redundancy_metadata.py +202 -0
- oci/core/models/volume_backup_policy_assignment.py +45 -2
- oci/core/models/volume_group_replica_details.py +45 -2
- oci/core/models/volume_group_replica_info.py +43 -2
- oci/core/models/volume_source_details.py +4 -0
- oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +217 -93
- oci/data_science/data_science_client_composite_operations.py +41 -0
- oci/data_science/models/__init__.py +8 -0
- oci/data_science/models/backup_operation_details.py +154 -0
- oci/data_science/models/backup_setting.py +158 -0
- oci/data_science/models/create_model_details.py +56 -2
- oci/data_science/models/model.py +141 -2
- oci/data_science/models/model_summary.py +31 -0
- oci/data_science/models/retention_operation_details.py +267 -0
- oci/data_science/models/retention_setting.py +158 -0
- oci/data_science/models/update_model_details.py +56 -2
- oci/data_science/models/work_request.py +7 -3
- oci/data_science/models/work_request_summary.py +7 -3
- oci/database/database_client.py +396 -396
- oci/database/models/__init__.py +14 -0
- oci/database/models/autonomous_database.py +58 -0
- oci/database/models/autonomous_database_encryption_key_details.py +133 -0
- oci/database/models/autonomous_database_encryption_key_history_entry.py +99 -0
- oci/database/models/autonomous_database_summary.py +58 -0
- oci/database/models/aws_key_details.py +175 -0
- oci/database/models/azure_key_details.py +113 -0
- oci/database/models/create_autonomous_database_base.py +27 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/oci_key_details.py +119 -0
- oci/database/models/okv_key_details.py +206 -0
- oci/{log_analytics/models/agent_upload.py → database/models/oracle_managed_key_details.py} +14 -33
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +29 -2
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/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 +29 -29
- oci/dns/dns_client.py +389 -54
- oci/dns/dns_client_composite_operations.py +886 -193
- oci/dns/models/__init__.py +13 -1
- oci/dns/models/create_zone_details.py +101 -2
- oci/dns/models/dnssec_config.py +105 -0
- oci/dns/models/dnssec_key_version_ds_data.py +121 -0
- oci/dns/models/ksk_dnssec_key_version.py +550 -0
- oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/update_zone_details.py +99 -0
- oci/dns/models/zone.py +126 -0
- oci/dns/models/zone_summary.py +128 -2
- oci/dns/models/zsk_dnssec_key_version.py +517 -0
- 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 +3599 -1776
- oci/file_storage/file_storage_client_composite_operations.py +881 -223
- oci/file_storage/models/__init__.py +2 -0
- oci/file_storage/models/create_export_details.py +31 -0
- oci/file_storage/models/create_file_system_details.py +31 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +33 -2
- oci/file_storage/models/create_ldap_bind_account_details.py +7 -0
- oci/file_storage/models/create_mount_target_details.py +31 -0
- oci/file_storage/models/create_outbound_connector_details.py +33 -2
- oci/file_storage/models/create_replication_details.py +33 -2
- oci/file_storage/models/create_snapshot_details.py +33 -2
- oci/file_storage/models/export.py +33 -2
- oci/file_storage/models/export_summary.py +33 -2
- oci/file_storage/models/file_system.py +31 -0
- oci/file_storage/models/file_system_summary.py +31 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +31 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +31 -0
- oci/file_storage/models/ldap_bind_account.py +7 -0
- oci/file_storage/models/ldap_bind_account_summary.py +7 -0
- oci/file_storage/models/mount_target.py +31 -0
- oci/file_storage/models/mount_target_summary.py +31 -0
- oci/file_storage/models/outbound_connector.py +31 -0
- oci/file_storage/models/outbound_connector_summary.py +31 -0
- oci/file_storage/models/replication.py +31 -0
- oci/file_storage/models/replication_summary.py +31 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/snapshot.py +31 -0
- oci/file_storage/models/snapshot_summary.py +31 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +2261 -294
- oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +349 -1
- oci/fleet_apps_management/fleet_apps_management_client.py +141 -127
- oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +19 -15
- 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 +2058 -363
- oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +173 -0
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +1097 -260
- oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +298 -0
- oci/fleet_apps_management/models/__init__.py +168 -0
- oci/fleet_apps_management/models/action_group.py +2 -2
- oci/fleet_apps_management/models/action_group_based_user_action_details.py +90 -0
- oci/fleet_apps_management/models/action_group_details.py +20 -16
- oci/fleet_apps_management/models/activity_resource_target.py +44 -7
- oci/fleet_apps_management/models/announcement_collection.py +1 -1
- oci/fleet_apps_management/models/announcement_summary.py +13 -13
- oci/fleet_apps_management/models/api_based_execution_details.py +1 -1
- oci/fleet_apps_management/models/artifact_details.py +109 -0
- oci/fleet_apps_management/models/associated_fleet_credential_details.py +1 -1
- oci/fleet_apps_management/models/associated_fleet_property_details.py +5 -5
- oci/fleet_apps_management/models/associated_fleet_resource_details.py +6 -6
- oci/fleet_apps_management/models/associated_local_task_details.py +64 -1
- oci/fleet_apps_management/models/associated_scheduler_definition.py +3 -3
- oci/fleet_apps_management/models/associated_shared_task_details.py +2 -1
- oci/fleet_apps_management/models/associations.py +32 -5
- oci/fleet_apps_management/models/check_resource_tagging_details.py +5 -5
- oci/fleet_apps_management/models/compliance_detail_policy.py +223 -0
- oci/fleet_apps_management/models/compliance_detail_product.py +134 -0
- oci/fleet_apps_management/models/compliance_detail_resource.py +196 -0
- oci/fleet_apps_management/models/compliance_detail_target.py +134 -0
- oci/fleet_apps_management/models/compliance_patch_detail.py +278 -0
- oci/{database_migration/models/agent.py → fleet_apps_management/models/compliance_policy.py} +120 -167
- oci/fleet_apps_management/models/compliance_policy_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_policy_rule.py +618 -0
- oci/{media_services/models/media_workflow_job_fact_collection.py → fleet_apps_management/models/compliance_policy_rule_collection.py} +15 -15
- oci/fleet_apps_management/models/compliance_policy_rule_summary.py +585 -0
- oci/{database_migration/models/agent_summary.py → fleet_apps_management/models/compliance_policy_summary.py} +110 -159
- oci/fleet_apps_management/models/compliance_record.py +457 -0
- oci/fleet_apps_management/models/compliance_record_aggregation.py +99 -0
- oci/fleet_apps_management/models/compliance_record_aggregation_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_record_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_record_dimension.py +143 -0
- oci/fleet_apps_management/models/compliance_record_summary.py +437 -0
- oci/fleet_apps_management/models/compliance_report.py +5 -5
- oci/fleet_apps_management/models/compliance_report_patch_detail.py +9 -9
- oci/fleet_apps_management/models/compliance_report_product.py +3 -3
- oci/fleet_apps_management/models/compliance_report_resource.py +8 -6
- oci/fleet_apps_management/models/compliance_report_target.py +7 -7
- oci/fleet_apps_management/models/component_properties.py +69 -9
- oci/fleet_apps_management/models/condition.py +12 -6
- oci/{os_management/models/managed_instance_update_details.py → fleet_apps_management/models/config_association_details.py} +43 -35
- oci/fleet_apps_management/models/config_category_details.py +133 -0
- oci/fleet_apps_management/models/confirm_targets_details.py +1 -1
- oci/fleet_apps_management/models/content_details.py +3 -3
- oci/fleet_apps_management/models/create_compliance_policy_rule_details.py +382 -0
- oci/fleet_apps_management/models/create_fleet_details.py +63 -16
- oci/fleet_apps_management/models/create_fleet_property_details.py +5 -5
- oci/fleet_apps_management/models/create_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/create_maintenance_window_details.py +19 -11
- oci/fleet_apps_management/models/create_onboarding_details.py +8 -4
- oci/fleet_apps_management/models/create_patch_details.py +402 -0
- oci/fleet_apps_management/models/create_platform_configuration_details.py +169 -0
- oci/fleet_apps_management/models/create_property_details.py +6 -6
- oci/fleet_apps_management/models/create_runbook_details.py +441 -0
- oci/{database_migration/models/create_agent_details.py → fleet_apps_management/models/create_task_record_details.py} +81 -106
- oci/fleet_apps_management/models/credential_config_category_details.py +52 -0
- oci/fleet_apps_management/models/credential_details.py +3 -3
- oci/fleet_apps_management/models/credential_entity_specific_details.py +22 -6
- oci/{log_analytics/models/log_analytics_collection_warning.py → fleet_apps_management/models/dependent_patch_details.py} +12 -10
- oci/fleet_apps_management/models/details.py +67 -3
- oci/fleet_apps_management/models/discovered_target.py +6 -6
- oci/fleet_apps_management/models/enable_latest_policy_details.py +72 -0
- oci/fleet_apps_management/models/entity_execution_details.py +22 -16
- oci/fleet_apps_management/models/environment_config_category_details.py +53 -0
- oci/fleet_apps_management/models/execution.py +122 -21
- oci/fleet_apps_management/models/execution_collection.py +1 -1
- oci/fleet_apps_management/models/execution_details.py +1 -1
- oci/fleet_apps_management/models/execution_summary.py +123 -22
- oci/fleet_apps_management/models/execution_workflow_details.py +1 -1
- oci/fleet_apps_management/models/export_compliance_report_details.py +251 -0
- oci/fleet_apps_management/models/fleet.py +37 -19
- oci/fleet_apps_management/models/fleet_credential.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_entity_specific_details.py +82 -0
- oci/fleet_apps_management/models/fleet_product_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_property.py +11 -11
- oci/fleet_apps_management/models/fleet_property_collection.py +3 -3
- oci/fleet_apps_management/models/fleet_property_summary.py +6 -6
- oci/fleet_apps_management/models/fleet_resource.py +21 -15
- oci/fleet_apps_management/models/fleet_resource_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_resource_summary.py +20 -14
- oci/fleet_apps_management/models/fleet_summary.py +15 -5
- oci/fleet_apps_management/models/fleet_target.py +98 -5
- oci/fleet_apps_management/models/fleet_target_summary.py +98 -5
- oci/fleet_apps_management/models/generate_compliance_report_details.py +5 -3
- oci/fleet_apps_management/models/generic_artifact.py +68 -0
- oci/fleet_apps_management/models/generic_artifact_details.py +78 -0
- oci/fleet_apps_management/models/group.py +11 -5
- oci/fleet_apps_management/models/input_argument.py +2 -2
- oci/fleet_apps_management/models/inventory_resource_summary.py +6 -6
- oci/fleet_apps_management/models/job_activity.py +57 -18
- oci/fleet_apps_management/models/key_encryption_credential_details.py +5 -5
- oci/fleet_apps_management/models/maintenance_window.py +19 -11
- oci/fleet_apps_management/models/maintenance_window_collection.py +1 -1
- oci/fleet_apps_management/models/maintenance_window_summary.py +18 -10
- oci/fleet_apps_management/models/manage_job_execution_details.py +68 -0
- oci/{database_migration/models/change_agent_compartment_details.py → fleet_apps_management/models/manage_settings_details.py} +21 -21
- oci/fleet_apps_management/models/managed_entity_aggregation.py +99 -0
- oci/fleet_apps_management/models/managed_entity_aggregation_collection.py +72 -0
- oci/fleet_apps_management/models/managed_entity_dimension.py +88 -0
- oci/fleet_apps_management/models/model_property.py +9 -9
- oci/fleet_apps_management/models/notification_preferences.py +7 -5
- oci/fleet_apps_management/models/object_storage_bucket_content_details.py +3 -3
- oci/fleet_apps_management/models/onboarding.py +70 -7
- oci/fleet_apps_management/models/onboarding_collection.py +3 -3
- oci/fleet_apps_management/models/onboarding_policy_collection.py +3 -3
- oci/fleet_apps_management/models/onboarding_policy_summary.py +1 -1
- oci/fleet_apps_management/models/onboarding_summary.py +69 -7
- oci/fleet_apps_management/models/outcome.py +7 -7
- oci/fleet_apps_management/models/output_variable_details.py +2 -2
- oci/fleet_apps_management/models/output_variable_input_argument.py +1 -1
- oci/fleet_apps_management/models/output_variable_mapping.py +4 -3
- oci/fleet_apps_management/models/patch.py +704 -0
- oci/{logging/models/log_included_search_summary_collection.py → fleet_apps_management/models/patch_collection.py} +16 -14
- oci/fleet_apps_management/models/patch_level_selection_details.py +106 -0
- oci/fleet_apps_management/models/patch_name_selection_details.py +83 -0
- oci/{database_migration/models/agent_image_summary.py → fleet_apps_management/models/patch_product.py} +36 -36
- oci/fleet_apps_management/models/patch_release_date_selection_details.py +83 -0
- oci/fleet_apps_management/models/patch_selection_details.py +117 -0
- oci/fleet_apps_management/models/patch_summary.py +625 -0
- oci/fleet_apps_management/models/patch_type.py +72 -0
- oci/fleet_apps_management/models/patch_type_config_category_details.py +52 -0
- oci/fleet_apps_management/models/pause_details.py +109 -0
- oci/fleet_apps_management/models/plain_text_credential_details.py +2 -2
- oci/fleet_apps_management/models/platform_configuration.py +529 -0
- oci/fleet_apps_management/models/platform_configuration_collection.py +72 -0
- oci/fleet_apps_management/models/platform_configuration_summary.py +485 -0
- oci/fleet_apps_management/models/platform_specific_artifact.py +162 -0
- oci/fleet_apps_management/models/platform_specific_artifact_details.py +82 -0
- oci/fleet_apps_management/models/preferences.py +3 -3
- oci/fleet_apps_management/models/product_config_category_details.py +215 -0
- oci/fleet_apps_management/models/product_stack_as_product_sub_category_details.py +182 -0
- oci/fleet_apps_management/models/product_stack_config_category_details.py +112 -0
- oci/{database_migration/models/par_link.py → fleet_apps_management/models/product_stack_generic_sub_category_details.py} +14 -33
- oci/fleet_apps_management/models/product_stack_sub_category_details.py +109 -0
- oci/fleet_apps_management/models/product_version_details.py +105 -0
- oci/fleet_apps_management/models/property_collection.py +3 -3
- oci/fleet_apps_management/models/property_summary.py +8 -8
- oci/{cloud_bridge/models/update_plugin_details.py → fleet_apps_management/models/publish_runbook_details.py} +21 -21
- oci/fleet_apps_management/models/request_resource_validation_details.py +5 -5
- oci/fleet_apps_management/models/request_target_discovery_details.py +5 -5
- oci/{database_migration/models/agent_image_collection.py → fleet_apps_management/models/resource_collection.py} +15 -15
- oci/fleet_apps_management/models/resource_credential_entity_specific_details.py +82 -0
- oci/fleet_apps_management/models/resource_summary.py +347 -0
- oci/fleet_apps_management/models/resource_tag_check_details.py +3 -3
- oci/fleet_apps_management/models/resource_tag_enablement_info.py +3 -3
- oci/fleet_apps_management/models/rollback_workflow_details.py +119 -0
- oci/fleet_apps_management/models/rule.py +15 -7
- oci/fleet_apps_management/models/runbook.py +28 -9
- oci/fleet_apps_management/models/runbook_collection.py +1 -1
- oci/fleet_apps_management/models/runbook_summary.py +6 -4
- oci/fleet_apps_management/models/scheduler_definition.py +16 -16
- oci/fleet_apps_management/models/scheduler_job.py +24 -20
- oci/fleet_apps_management/models/scheduler_job_aggregation.py +99 -0
- oci/{usage_api/models/schedule_report_collection.py → fleet_apps_management/models/scheduler_job_aggregation_collection.py} +16 -14
- oci/fleet_apps_management/models/scheduler_job_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_dimension.py +72 -0
- oci/fleet_apps_management/models/scheduler_job_summary.py +20 -16
- oci/fleet_apps_management/models/script_based_execution_details.py +38 -5
- oci/fleet_apps_management/models/selection_criteria.py +6 -3
- oci/{log_analytics/models/query_work_request_resource.py → fleet_apps_management/models/set_default_runbook_details.py} +22 -20
- oci/fleet_apps_management/models/step_based_user_action_details.py +183 -0
- oci/{database_migration/models/agent_collection.py → fleet_apps_management/models/step_collection.py} +15 -15
- oci/fleet_apps_management/models/step_summary.py +378 -0
- oci/fleet_apps_management/models/target_credential_entity_specific_details.py +6 -6
- oci/fleet_apps_management/models/target_resource.py +1 -1
- oci/fleet_apps_management/models/task_notification_preferences.py +134 -0
- oci/fleet_apps_management/models/task_record.py +1 -1
- oci/fleet_apps_management/models/task_variable.py +2 -1
- oci/fleet_apps_management/models/time_based_pause_details.py +82 -0
- oci/fleet_apps_management/models/update_compliance_policy_rule_details.py +283 -0
- oci/fleet_apps_management/models/update_fleet_details.py +4 -2
- oci/fleet_apps_management/models/update_fleet_property_details.py +3 -3
- oci/fleet_apps_management/models/update_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/update_maintenance_window_details.py +18 -10
- oci/fleet_apps_management/models/update_onboarding_details.py +103 -0
- oci/fleet_apps_management/models/update_patch_details.py +369 -0
- oci/fleet_apps_management/models/update_platform_configuration_details.py +138 -0
- oci/fleet_apps_management/models/update_property_details.py +6 -6
- oci/fleet_apps_management/models/update_runbook_details.py +410 -0
- oci/fleet_apps_management/models/update_scheduler_job_details.py +3 -3
- oci/{database_migration/models/update_agent_details.py → fleet_apps_management/models/update_task_record_details.py} +63 -90
- oci/{log_analytics/models/string_list_details.py → fleet_apps_management/models/user_action_based_pause_details.py} +14 -33
- oci/fleet_apps_management/models/user_action_details.py +157 -0
- oci/{os_management/models/errata_id.py → fleet_apps_management/models/variable.py} +29 -27
- oci/fleet_apps_management/models/work_request.py +67 -3
- oci/fleet_apps_management/models/work_request_summary.py +67 -3
- oci/fleet_apps_management/models/workflow_group.py +2 -2
- oci/fleet_apps_management/models/workflow_group_component.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +211 -70
- oci/golden_gate/models/__init__.py +8 -0
- oci/golden_gate/models/create_database_registration_details.py +4 -4
- oci/golden_gate/models/create_deployment_details.py +47 -0
- oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/create_oracle_connection_details.py +4 -4
- oci/golden_gate/models/deployment.py +102 -0
- oci/golden_gate/models/deployment_environment_collection.py +72 -0
- oci/golden_gate/models/deployment_environment_summary.py +389 -0
- oci/golden_gate/models/deployment_summary.py +103 -1
- oci/golden_gate/models/deployment_type_summary.py +3 -0
- oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/ogg_deployment.py +29 -2
- oci/golden_gate/models/test_connection_assignment_result.py +34 -2
- oci/golden_gate/models/update_database_registration_details.py +4 -4
- oci/golden_gate/models/update_deployment_details.py +47 -0
- oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/update_oracle_connection_details.py +4 -4
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +307 -307
- oci/identity_domains/models/auth_token.py +51 -0
- oci/identity_domains/models/customer_secret_key.py +45 -0
- oci/identity_domains/models/o_auth2_client_credential.py +49 -0
- oci/identity_domains/models/smtp_credential.py +47 -0
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- 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 +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +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 +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +8 -0
- oci/opsi/models/host_configuration_metric_group.py +11 -3
- oci/opsi/models/host_containers.py +65 -3
- oci/opsi/models/host_cpu_hardware_configuration.py +1 -1
- oci/opsi/models/host_cpu_statistics.py +1 -1
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_entities.py +1 -1
- oci/opsi/models/host_filesystem_configuration.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +1 -1
- oci/opsi/models/host_gpu_configuration.py +1 -1
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_hardware_configuration.py +1 -1
- oci/opsi/models/host_io_statistics.py +160 -0
- oci/opsi/models/host_io_usage.py +1 -1
- oci/opsi/models/host_memory_configuration.py +1 -1
- oci/opsi/models/host_memory_statistics.py +1 -1
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_network_configuration.py +1 -1
- oci/opsi/models/host_network_statistics.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +3 -11
- oci/opsi/models/host_product.py +1 -1
- oci/opsi/models/host_resource_allocation.py +1 -1
- oci/opsi/models/host_resource_statistics.py +11 -3
- oci/opsi/models/host_storage_statistics.py +1 -1
- oci/opsi/models/host_top_processes.py +1 -1
- oci/opsi/models/io_usage_trend.py +227 -0
- oci/opsi/models/io_usage_trend_aggregation.py +103 -0
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_io_usage_trend_aggregation_collection.py +165 -0
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +7 -3
- oci/opsi/operations_insights_client.py +362 -179
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +36 -36
- 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 +71 -71
- 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/util.py +2 -1
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +30 -30
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/METADATA +1 -1
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/RECORD +668 -686
- oci/_vendor/jwt/__main__.py +0 -173
- oci/_vendor/jwt/compat.py +0 -73
- oci/_vendor/jwt/contrib/__init__.py +0 -0
- oci/_vendor/jwt/contrib/algorithms/__init__.py +0 -0
- oci/_vendor/jwt/contrib/algorithms/py_ecdsa.py +0 -60
- oci/_vendor/jwt/contrib/algorithms/pycrypto.py +0 -46
- oci/ai_language/models/entity_document.py +0 -136
- oci/ai_language/models/key_phrase_document.py +0 -136
- oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
- oci/ai_language/models/sentiments_document.py +0 -136
- oci/ai_language/models/text_classification_document.py +0 -136
- oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
- oci/cims/user_client.py +0 -207
- oci/cims/user_client_composite_operations.py +0 -26
- oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
- oci/data_integration/models/connection_from_lakehouse.py +0 -140
- oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
- oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
- oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
- oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
- oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
- oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
- oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
- oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
- oci/database_migration/models/advisor_settings.py +0 -103
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
- oci/database_migration/models/aws_s3_details.py +0 -108
- oci/database_migration/models/connect_descriptor.py +0 -165
- oci/database_migration/models/create_advisor_settings.py +0 -103
- oci/database_migration/models/create_aws_s3_details.py +0 -174
- oci/database_migration/models/create_connect_descriptor.py +0 -174
- oci/database_migration/models/create_data_pump_settings.py +0 -251
- oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
- oci/database_migration/models/create_database_link_details.py +0 -99
- oci/database_migration/models/create_dump_transfer_details.py +0 -126
- oci/database_migration/models/create_golden_gate_details.py +0 -95
- oci/database_migration/models/create_golden_gate_hub.py +0 -275
- oci/database_migration/models/create_golden_gate_service_details.py +0 -149
- oci/database_migration/models/create_golden_gate_settings.py +0 -126
- oci/database_migration/models/create_private_endpoint.py +0 -151
- oci/database_migration/models/create_ssh_details.py +0 -166
- oci/database_migration/models/create_vault_details.py +0 -134
- oci/database_migration/models/data_pump_settings.py +0 -251
- oci/database_migration/models/data_transfer_medium_details.py +0 -122
- oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
- oci/database_migration/models/database_credentials.py +0 -103
- oci/database_migration/models/database_link_details.py +0 -99
- oci/database_migration/models/database_object.py +0 -167
- oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
- oci/database_migration/models/dump_transfer_details.py +0 -126
- oci/database_migration/models/generate_token.py +0 -70
- oci/database_migration/models/golden_gate_details.py +0 -95
- oci/database_migration/models/golden_gate_hub.py +0 -275
- oci/database_migration/models/golden_gate_service_details.py +0 -95
- oci/database_migration/models/golden_gate_settings.py +0 -126
- oci/database_migration/models/migration_object_summary.py +0 -214
- oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/private_endpoint_details.py +0 -185
- oci/database_migration/models/ssh_details.py +0 -134
- oci/database_migration/models/update_advisor_settings.py +0 -103
- oci/database_migration/models/update_aws_s3_details.py +0 -174
- oci/database_migration/models/update_connect_descriptor.py +0 -173
- oci/database_migration/models/update_data_pump_settings.py +0 -253
- oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
- oci/database_migration/models/update_database_link_details.py +0 -99
- oci/database_migration/models/update_dump_transfer_details.py +0 -126
- oci/database_migration/models/update_golden_gate_details.py +0 -95
- oci/database_migration/models/update_golden_gate_hub.py +0 -275
- oci/database_migration/models/update_golden_gate_service_details.py +0 -149
- oci/database_migration/models/update_golden_gate_settings.py +0 -127
- oci/database_migration/models/update_private_endpoint.py +0 -151
- oci/database_migration/models/update_ssh_details.py +0 -165
- oci/database_migration/models/update_vault_details.py +0 -134
- oci/database_migration/models/vault_details.py +0 -134
- oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
- oci/database_tools/models/database_tools_virtual_source.py +0 -107
- oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
- oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
- oci/em_warehouse/em_data_lake_client.py +0 -1610
- oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
- oci/fusion_apps/data_masking_activity_client.py +0 -456
- oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/fusion_environment_client.py +0 -1772
- oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
- oci/fusion_apps/fusion_environment_family_client.py +0 -943
- oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
- oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
- oci/fusion_apps/models/create_new_instance_details.py +0 -142
- oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
- oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
- oci/fusion_apps/models/create_service_instance_details.py +0 -170
- oci/fusion_apps/models/faw_admin_info_details.py +0 -132
- oci/fusion_apps/refresh_activity_client.py +0 -607
- oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/scheduled_activity_client.py +0 -380
- oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
- oci/fusion_apps/service_attachment_client.py +0 -370
- oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
- oci/jms/models/request_summarized_application_usage_details.py +0 -504
- oci/jms/models/request_summarized_installation_usage_details.py +0 -448
- oci/jms/models/request_summarized_jre_usage_details.py +0 -421
- oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
- oci/log_analytics/models/attribute.py +0 -602
- oci/log_analytics/models/create_namespace_details.py +0 -70
- oci/log_analytics/models/field_map.py +0 -101
- oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
- oci/log_analytics/models/log_analytics.py +0 -370
- oci/log_analytics/models/log_analytics_summary.py +0 -304
- oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
- oci/log_analytics/models/query.py +0 -70
- oci/log_analytics/models/register_entity_types_details.py +0 -70
- oci/log_analytics/models/service_tenancy.py +0 -70
- oci/logging/models/log_included_search.py +0 -307
- oci/logging/models/log_included_search_summary.py +0 -165
- oci/media_services/models/media_workflow_job_fact.py +0 -198
- oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
- oci/mysql/models/add_analytics_cluster_details.py +0 -108
- oci/mysql/models/analytics_cluster.py +0 -338
- oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
- oci/mysql/models/analytics_cluster_node.py +0 -210
- oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
- oci/mysql/models/analytics_cluster_summary.py +0 -209
- oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
- oci/mysql/models/update_analytics_cluster_details.py +0 -120
- oci/network_firewall/models/tcp_application.py +0 -112
- oci/network_firewall/models/udp_application.py +0 -112
- oci/oce/models/delete_oce_instance_details.py +0 -70
- oci/ocvp/models/datastore_summary.py +0 -154
- oci/ocvp/models/supported_sku_summary.py +0 -96
- oci/os_management/models/updatable_package_summary.py +0 -287
- oci/osp_gateway/models/billing_address.py +0 -382
- oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
- oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
- oci/usage_api/models/create_schedule_report_details.py +0 -128
- oci/usage_api/models/saved_schedule_report.py +0 -145
- oci/usage_api/models/schedule_report.py +0 -159
- oci/usage_api/models/schedule_report_summary.py +0 -97
- oci/usage_api/models/update_schedule_report_details.py +0 -66
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/WHEEL +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/top_level.txt +0 -0
@@ -22,8 +22,7 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class FleetAppsManagementRunbooksClient(object):
|
24
24
|
"""
|
25
|
-
Fleet Application Management
|
26
|
-
To manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
|
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.
|
27
26
|
"""
|
28
27
|
|
29
28
|
def __init__(self, config, **kwargs):
|
@@ -117,13 +116,20 @@ class FleetAppsManagementRunbooksClient(object):
|
|
117
116
|
self.retry_strategy = kwargs.get('retry_strategy')
|
118
117
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
119
118
|
|
120
|
-
def
|
119
|
+
def create_runbook(self, create_runbook_details, **kwargs):
|
121
120
|
"""
|
122
|
-
|
121
|
+
Creates a new Runbook.
|
123
122
|
|
124
123
|
|
125
|
-
:param
|
126
|
-
|
124
|
+
:param oci.fleet_apps_management.models.CreateRunbookDetails create_runbook_details: (required)
|
125
|
+
Details for the new Runbook.
|
126
|
+
|
127
|
+
:param str opc_retry_token: (optional)
|
128
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
129
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
130
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
131
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
132
|
+
might be rejected.
|
127
133
|
|
128
134
|
:param str opc_request_id: (optional)
|
129
135
|
The client request ID for tracing.
|
@@ -144,39 +150,31 @@ class FleetAppsManagementRunbooksClient(object):
|
|
144
150
|
:rtype: :class:`~oci.response.Response`
|
145
151
|
|
146
152
|
:example:
|
147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_runbook.py.html>`__ to see an example of how to use create_runbook API.
|
148
154
|
"""
|
149
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
|
-
required_arguments = [
|
151
|
-
resource_path = "/runbooks
|
152
|
-
method = "
|
153
|
-
operation_name = "
|
154
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/
|
156
|
+
required_arguments = []
|
157
|
+
resource_path = "/runbooks"
|
158
|
+
method = "POST"
|
159
|
+
operation_name = "create_runbook"
|
160
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/CreateRunbook"
|
155
161
|
|
156
162
|
# Don't accept unknown kwargs
|
157
163
|
expected_kwargs = [
|
158
164
|
"allow_control_chars",
|
159
165
|
"retry_strategy",
|
166
|
+
"opc_retry_token",
|
160
167
|
"opc_request_id"
|
161
168
|
]
|
162
169
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
163
170
|
if extra_kwargs:
|
164
171
|
raise ValueError(
|
165
|
-
f"
|
166
|
-
|
167
|
-
path_params = {
|
168
|
-
"runbookId": runbook_id
|
169
|
-
}
|
170
|
-
|
171
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
172
|
-
|
173
|
-
for (k, v) in six.iteritems(path_params):
|
174
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
175
|
-
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
172
|
+
f"create_runbook got unknown kwargs: {extra_kwargs!r}")
|
176
173
|
|
177
174
|
header_params = {
|
178
175
|
"accept": "application/json",
|
179
176
|
"content-type": "application/json",
|
177
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
180
178
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
181
179
|
}
|
182
180
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -190,14 +188,15 @@ class FleetAppsManagementRunbooksClient(object):
|
|
190
188
|
|
191
189
|
if retry_strategy:
|
192
190
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
191
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
193
192
|
self.base_client.add_opc_client_retries_header(header_params)
|
194
193
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
195
194
|
return retry_strategy.make_retrying_call(
|
196
195
|
self.base_client.call_api,
|
197
196
|
resource_path=resource_path,
|
198
197
|
method=method,
|
199
|
-
path_params=path_params,
|
200
198
|
header_params=header_params,
|
199
|
+
body=create_runbook_details,
|
201
200
|
response_type="Runbook",
|
202
201
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
203
202
|
operation_name=operation_name,
|
@@ -207,21 +206,28 @@ class FleetAppsManagementRunbooksClient(object):
|
|
207
206
|
return self.base_client.call_api(
|
208
207
|
resource_path=resource_path,
|
209
208
|
method=method,
|
210
|
-
path_params=path_params,
|
211
209
|
header_params=header_params,
|
210
|
+
body=create_runbook_details,
|
212
211
|
response_type="Runbook",
|
213
212
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
214
213
|
operation_name=operation_name,
|
215
214
|
api_reference_link=api_reference_link,
|
216
215
|
required_arguments=required_arguments)
|
217
216
|
|
218
|
-
def
|
217
|
+
def create_task_record(self, create_task_record_details, **kwargs):
|
219
218
|
"""
|
220
|
-
|
219
|
+
Creates a new Task.
|
221
220
|
|
222
221
|
|
223
|
-
:param
|
224
|
-
|
222
|
+
:param oci.fleet_apps_management.models.CreateTaskRecordDetails create_task_record_details: (required)
|
223
|
+
Details for the new TaskRecord.
|
224
|
+
|
225
|
+
:param str opc_retry_token: (optional)
|
226
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
227
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
228
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
229
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
230
|
+
might be rejected.
|
225
231
|
|
226
232
|
:param str opc_request_id: (optional)
|
227
233
|
The client request ID for tracing.
|
@@ -242,39 +248,31 @@ class FleetAppsManagementRunbooksClient(object):
|
|
242
248
|
:rtype: :class:`~oci.response.Response`
|
243
249
|
|
244
250
|
:example:
|
245
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
251
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_task_record.py.html>`__ to see an example of how to use create_task_record API.
|
246
252
|
"""
|
247
253
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
248
|
-
required_arguments = [
|
249
|
-
resource_path = "/taskRecords
|
250
|
-
method = "
|
251
|
-
operation_name = "
|
252
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecord/
|
254
|
+
required_arguments = []
|
255
|
+
resource_path = "/taskRecords"
|
256
|
+
method = "POST"
|
257
|
+
operation_name = "create_task_record"
|
258
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecord/CreateTaskRecord"
|
253
259
|
|
254
260
|
# Don't accept unknown kwargs
|
255
261
|
expected_kwargs = [
|
256
262
|
"allow_control_chars",
|
257
263
|
"retry_strategy",
|
264
|
+
"opc_retry_token",
|
258
265
|
"opc_request_id"
|
259
266
|
]
|
260
267
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
261
268
|
if extra_kwargs:
|
262
269
|
raise ValueError(
|
263
|
-
f"
|
264
|
-
|
265
|
-
path_params = {
|
266
|
-
"taskRecordId": task_record_id
|
267
|
-
}
|
268
|
-
|
269
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
270
|
-
|
271
|
-
for (k, v) in six.iteritems(path_params):
|
272
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
273
|
-
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
270
|
+
f"create_task_record got unknown kwargs: {extra_kwargs!r}")
|
274
271
|
|
275
272
|
header_params = {
|
276
273
|
"accept": "application/json",
|
277
274
|
"content-type": "application/json",
|
275
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
278
276
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
279
277
|
}
|
280
278
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -288,14 +286,15 @@ class FleetAppsManagementRunbooksClient(object):
|
|
288
286
|
|
289
287
|
if retry_strategy:
|
290
288
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
289
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
291
290
|
self.base_client.add_opc_client_retries_header(header_params)
|
292
291
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
293
292
|
return retry_strategy.make_retrying_call(
|
294
293
|
self.base_client.call_api,
|
295
294
|
resource_path=resource_path,
|
296
295
|
method=method,
|
297
|
-
path_params=path_params,
|
298
296
|
header_params=header_params,
|
297
|
+
body=create_task_record_details,
|
299
298
|
response_type="TaskRecord",
|
300
299
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
301
300
|
operation_name=operation_name,
|
@@ -305,64 +304,28 @@ class FleetAppsManagementRunbooksClient(object):
|
|
305
304
|
return self.base_client.call_api(
|
306
305
|
resource_path=resource_path,
|
307
306
|
method=method,
|
308
|
-
path_params=path_params,
|
309
307
|
header_params=header_params,
|
308
|
+
body=create_task_record_details,
|
310
309
|
response_type="TaskRecord",
|
311
310
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
312
311
|
operation_name=operation_name,
|
313
312
|
api_reference_link=api_reference_link,
|
314
313
|
required_arguments=required_arguments)
|
315
314
|
|
316
|
-
def
|
315
|
+
def delete_runbook(self, runbook_id, **kwargs):
|
317
316
|
"""
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
:param str compartment_id: (optional)
|
322
|
-
The ID of the compartment in which to list resources.
|
323
|
-
|
324
|
-
:param str lifecycle_state: (optional)
|
325
|
-
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
326
|
-
|
327
|
-
Allowed values are: "ACTIVE", "DELETED", "FAILED"
|
328
|
-
|
329
|
-
:param str display_name: (optional)
|
330
|
-
A filter to return only resources that match the entire display name given.
|
331
|
-
|
332
|
-
:param str id: (optional)
|
333
|
-
unique Runbook identifier
|
334
|
-
|
335
|
-
:param str type: (optional)
|
336
|
-
The ID of the runbook type.
|
337
|
-
|
338
|
-
Allowed values are: "USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"
|
339
|
-
|
340
|
-
:param str runbook_relevance: (optional)
|
341
|
-
The runbook relevance of product or full-stack.
|
342
|
-
|
343
|
-
Allowed values are: "PRODUCT_GROUP", "PRODUCT"
|
344
|
-
|
345
|
-
:param str platform: (optional)
|
346
|
-
The ID of the runbook platform.
|
347
|
-
|
348
|
-
:param str operation: (optional)
|
349
|
-
The runbook lifecycle.
|
350
|
-
|
351
|
-
:param int limit: (optional)
|
352
|
-
The maximum number of items to return.
|
353
|
-
|
354
|
-
:param str page: (optional)
|
355
|
-
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.
|
356
|
-
|
357
|
-
:param str sort_order: (optional)
|
358
|
-
The sort order to use, either 'ASC' or 'DESC'.
|
317
|
+
Deletes a Runbook resource by identifier
|
359
318
|
|
360
|
-
Allowed values are: "ASC", "DESC"
|
361
319
|
|
362
|
-
:param str
|
363
|
-
|
320
|
+
:param str runbook_id: (required)
|
321
|
+
Unique Runbook identifier
|
364
322
|
|
365
|
-
|
323
|
+
:param str if_match: (optional)
|
324
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
325
|
+
for a resource, set the `if-match` parameter to the value of the
|
326
|
+
etag from a previous GET or POST response for that resource.
|
327
|
+
The resource will be updated or deleted only if the etag you
|
328
|
+
provide matches the resource's current etag value.
|
366
329
|
|
367
330
|
:param str opc_request_id: (optional)
|
368
331
|
The client request ID for tracing.
|
@@ -379,96 +342,45 @@ class FleetAppsManagementRunbooksClient(object):
|
|
379
342
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
380
343
|
By default, the response will not allow control characters in strings
|
381
344
|
|
382
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
345
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
383
346
|
:rtype: :class:`~oci.response.Response`
|
384
347
|
|
385
348
|
:example:
|
386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
349
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_runbook.py.html>`__ to see an example of how to use delete_runbook API.
|
387
350
|
"""
|
388
351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
389
|
-
required_arguments = []
|
390
|
-
resource_path = "/runbooks"
|
391
|
-
method = "
|
392
|
-
operation_name = "
|
393
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
352
|
+
required_arguments = ['runbookId']
|
353
|
+
resource_path = "/runbooks/{runbookId}"
|
354
|
+
method = "DELETE"
|
355
|
+
operation_name = "delete_runbook"
|
356
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/DeleteRunbook"
|
394
357
|
|
395
358
|
# Don't accept unknown kwargs
|
396
359
|
expected_kwargs = [
|
397
360
|
"allow_control_chars",
|
398
361
|
"retry_strategy",
|
399
|
-
"
|
400
|
-
"lifecycle_state",
|
401
|
-
"display_name",
|
402
|
-
"id",
|
403
|
-
"type",
|
404
|
-
"runbook_relevance",
|
405
|
-
"platform",
|
406
|
-
"operation",
|
407
|
-
"limit",
|
408
|
-
"page",
|
409
|
-
"sort_order",
|
410
|
-
"sort_by",
|
362
|
+
"if_match",
|
411
363
|
"opc_request_id"
|
412
364
|
]
|
413
365
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
414
366
|
if extra_kwargs:
|
415
367
|
raise ValueError(
|
416
|
-
f"
|
417
|
-
|
418
|
-
if 'lifecycle_state' in kwargs:
|
419
|
-
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED"]
|
420
|
-
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
421
|
-
raise ValueError(
|
422
|
-
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
423
|
-
)
|
424
|
-
|
425
|
-
if 'type' in kwargs:
|
426
|
-
type_allowed_values = ["USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"]
|
427
|
-
if kwargs['type'] not in type_allowed_values:
|
428
|
-
raise ValueError(
|
429
|
-
f"Invalid value for `type`, must be one of { type_allowed_values }"
|
430
|
-
)
|
431
|
-
|
432
|
-
if 'runbook_relevance' in kwargs:
|
433
|
-
runbook_relevance_allowed_values = ["PRODUCT_GROUP", "PRODUCT"]
|
434
|
-
if kwargs['runbook_relevance'] not in runbook_relevance_allowed_values:
|
435
|
-
raise ValueError(
|
436
|
-
f"Invalid value for `runbook_relevance`, must be one of { runbook_relevance_allowed_values }"
|
437
|
-
)
|
368
|
+
f"delete_runbook got unknown kwargs: {extra_kwargs!r}")
|
438
369
|
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
raise ValueError(
|
443
|
-
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
444
|
-
)
|
370
|
+
path_params = {
|
371
|
+
"runbookId": runbook_id
|
372
|
+
}
|
445
373
|
|
446
|
-
|
447
|
-
sort_by_allowed_values = ["timeCreated", "displayName"]
|
448
|
-
if kwargs['sort_by'] not in sort_by_allowed_values:
|
449
|
-
raise ValueError(
|
450
|
-
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
451
|
-
)
|
374
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
452
375
|
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
"displayName": kwargs.get("display_name", missing),
|
457
|
-
"id": kwargs.get("id", missing),
|
458
|
-
"type": kwargs.get("type", missing),
|
459
|
-
"runbookRelevance": kwargs.get("runbook_relevance", missing),
|
460
|
-
"platform": kwargs.get("platform", missing),
|
461
|
-
"operation": kwargs.get("operation", missing),
|
462
|
-
"limit": kwargs.get("limit", missing),
|
463
|
-
"page": kwargs.get("page", missing),
|
464
|
-
"sortOrder": kwargs.get("sort_order", missing),
|
465
|
-
"sortBy": kwargs.get("sort_by", missing)
|
466
|
-
}
|
467
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
376
|
+
for (k, v) in six.iteritems(path_params):
|
377
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
378
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
468
379
|
|
469
380
|
header_params = {
|
470
381
|
"accept": "application/json",
|
471
382
|
"content-type": "application/json",
|
383
|
+
"if-match": kwargs.get("if_match", missing),
|
472
384
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
473
385
|
}
|
474
386
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -488,9 +400,8 @@ class FleetAppsManagementRunbooksClient(object):
|
|
488
400
|
self.base_client.call_api,
|
489
401
|
resource_path=resource_path,
|
490
402
|
method=method,
|
491
|
-
|
403
|
+
path_params=path_params,
|
492
404
|
header_params=header_params,
|
493
|
-
response_type="RunbookCollection",
|
494
405
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
495
406
|
operation_name=operation_name,
|
496
407
|
api_reference_link=api_reference_link,
|
@@ -499,56 +410,27 @@ class FleetAppsManagementRunbooksClient(object):
|
|
499
410
|
return self.base_client.call_api(
|
500
411
|
resource_path=resource_path,
|
501
412
|
method=method,
|
502
|
-
|
413
|
+
path_params=path_params,
|
503
414
|
header_params=header_params,
|
504
|
-
response_type="RunbookCollection",
|
505
415
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
506
416
|
operation_name=operation_name,
|
507
417
|
api_reference_link=api_reference_link,
|
508
418
|
required_arguments=required_arguments)
|
509
419
|
|
510
|
-
def
|
420
|
+
def delete_task_record(self, task_record_id, **kwargs):
|
511
421
|
"""
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
:param str compartment_id: (optional)
|
516
|
-
The ID of the compartment in which to list resources.
|
517
|
-
|
518
|
-
:param str platform: (optional)
|
519
|
-
The platform for the Task.
|
520
|
-
|
521
|
-
:param str type: (optional)
|
522
|
-
The type of the Task.
|
523
|
-
|
524
|
-
Allowed values are: "USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"
|
422
|
+
Deletes a Task Record resource by identifier
|
525
423
|
|
526
|
-
:param str display_name: (optional)
|
527
|
-
A filter to return only resources that match the entire display name given.
|
528
424
|
|
529
|
-
:param str
|
425
|
+
:param str task_record_id: (required)
|
530
426
|
unique TaskDetail identifier
|
531
427
|
|
532
|
-
:param
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
:param str lifecycle_state: (optional)
|
539
|
-
The current state of the Task.
|
540
|
-
|
541
|
-
Allowed values are: "ACTIVE", "INACTIVE", "DELETED", "DELETING", "FAILED", "UPDATING"
|
542
|
-
|
543
|
-
:param str sort_by: (optional)
|
544
|
-
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
545
|
-
|
546
|
-
Allowed values are: "timeCreated", "displayName"
|
547
|
-
|
548
|
-
:param str sort_order: (optional)
|
549
|
-
The sort order to use, either 'ASC' or 'DESC'.
|
550
|
-
|
551
|
-
Allowed values are: "ASC", "DESC"
|
428
|
+
:param str if_match: (optional)
|
429
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
430
|
+
for a resource, set the `if-match` parameter to the value of the
|
431
|
+
etag from a previous GET or POST response for that resource.
|
432
|
+
The resource will be updated or deleted only if the etag you
|
433
|
+
provide matches the resource's current etag value.
|
552
434
|
|
553
435
|
:param str opc_request_id: (optional)
|
554
436
|
The client request ID for tracing.
|
@@ -565,85 +447,930 @@ class FleetAppsManagementRunbooksClient(object):
|
|
565
447
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
566
448
|
By default, the response will not allow control characters in strings
|
567
449
|
|
568
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
450
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
569
451
|
:rtype: :class:`~oci.response.Response`
|
570
452
|
|
571
453
|
:example:
|
572
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
454
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_task_record.py.html>`__ to see an example of how to use delete_task_record API.
|
573
455
|
"""
|
574
456
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
575
|
-
required_arguments = []
|
576
|
-
resource_path = "/taskRecords"
|
577
|
-
method = "
|
578
|
-
operation_name = "
|
579
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
457
|
+
required_arguments = ['taskRecordId']
|
458
|
+
resource_path = "/taskRecords/{taskRecordId}"
|
459
|
+
method = "DELETE"
|
460
|
+
operation_name = "delete_task_record"
|
461
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecord/DeleteTaskRecord"
|
580
462
|
|
581
463
|
# Don't accept unknown kwargs
|
582
464
|
expected_kwargs = [
|
583
465
|
"allow_control_chars",
|
584
466
|
"retry_strategy",
|
585
|
-
"
|
586
|
-
"platform",
|
587
|
-
"type",
|
588
|
-
"display_name",
|
589
|
-
"id",
|
590
|
-
"limit",
|
591
|
-
"page",
|
592
|
-
"lifecycle_state",
|
593
|
-
"sort_by",
|
594
|
-
"sort_order",
|
467
|
+
"if_match",
|
595
468
|
"opc_request_id"
|
596
469
|
]
|
597
470
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
598
471
|
if extra_kwargs:
|
599
472
|
raise ValueError(
|
600
|
-
f"
|
473
|
+
f"delete_task_record got unknown kwargs: {extra_kwargs!r}")
|
601
474
|
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
raise ValueError(
|
606
|
-
f"Invalid value for `type`, must be one of { type_allowed_values }"
|
607
|
-
)
|
475
|
+
path_params = {
|
476
|
+
"taskRecordId": task_record_id
|
477
|
+
}
|
608
478
|
|
609
|
-
|
610
|
-
lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "DELETED", "DELETING", "FAILED", "UPDATING"]
|
611
|
-
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
612
|
-
raise ValueError(
|
613
|
-
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
614
|
-
)
|
479
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
615
480
|
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
raise ValueError(
|
620
|
-
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
621
|
-
)
|
481
|
+
for (k, v) in six.iteritems(path_params):
|
482
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
483
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
622
484
|
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
485
|
+
header_params = {
|
486
|
+
"accept": "application/json",
|
487
|
+
"content-type": "application/json",
|
488
|
+
"if-match": kwargs.get("if_match", missing),
|
489
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
490
|
+
}
|
491
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
492
|
+
|
493
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
494
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
495
|
+
client_retry_strategy=self.retry_strategy
|
496
|
+
)
|
497
|
+
if retry_strategy is None:
|
498
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
499
|
+
|
500
|
+
if retry_strategy:
|
501
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
502
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
503
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
504
|
+
return retry_strategy.make_retrying_call(
|
505
|
+
self.base_client.call_api,
|
506
|
+
resource_path=resource_path,
|
507
|
+
method=method,
|
508
|
+
path_params=path_params,
|
509
|
+
header_params=header_params,
|
510
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
511
|
+
operation_name=operation_name,
|
512
|
+
api_reference_link=api_reference_link,
|
513
|
+
required_arguments=required_arguments)
|
514
|
+
else:
|
515
|
+
return self.base_client.call_api(
|
516
|
+
resource_path=resource_path,
|
517
|
+
method=method,
|
518
|
+
path_params=path_params,
|
519
|
+
header_params=header_params,
|
520
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
521
|
+
operation_name=operation_name,
|
522
|
+
api_reference_link=api_reference_link,
|
523
|
+
required_arguments=required_arguments)
|
524
|
+
|
525
|
+
def get_runbook(self, runbook_id, **kwargs):
|
526
|
+
"""
|
527
|
+
Get the details of a runbook in Fleet Application Management.
|
528
|
+
|
529
|
+
|
530
|
+
:param str runbook_id: (required)
|
531
|
+
Unique Runbook identifier
|
532
|
+
|
533
|
+
:param str opc_request_id: (optional)
|
534
|
+
The client request ID for tracing.
|
535
|
+
|
536
|
+
:param obj retry_strategy: (optional)
|
537
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
538
|
+
|
539
|
+
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.
|
540
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
541
|
+
|
542
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
543
|
+
|
544
|
+
:param bool allow_control_chars: (optional)
|
545
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
546
|
+
By default, the response will not allow control characters in strings
|
547
|
+
|
548
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.Runbook`
|
549
|
+
:rtype: :class:`~oci.response.Response`
|
550
|
+
|
551
|
+
:example:
|
552
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_runbook.py.html>`__ to see an example of how to use get_runbook API.
|
553
|
+
"""
|
554
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
555
|
+
required_arguments = ['runbookId']
|
556
|
+
resource_path = "/runbooks/{runbookId}"
|
557
|
+
method = "GET"
|
558
|
+
operation_name = "get_runbook"
|
559
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/GetRunbook"
|
560
|
+
|
561
|
+
# Don't accept unknown kwargs
|
562
|
+
expected_kwargs = [
|
563
|
+
"allow_control_chars",
|
564
|
+
"retry_strategy",
|
565
|
+
"opc_request_id"
|
566
|
+
]
|
567
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
568
|
+
if extra_kwargs:
|
569
|
+
raise ValueError(
|
570
|
+
f"get_runbook got unknown kwargs: {extra_kwargs!r}")
|
571
|
+
|
572
|
+
path_params = {
|
573
|
+
"runbookId": runbook_id
|
574
|
+
}
|
575
|
+
|
576
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
577
|
+
|
578
|
+
for (k, v) in six.iteritems(path_params):
|
579
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
580
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
581
|
+
|
582
|
+
header_params = {
|
583
|
+
"accept": "application/json",
|
584
|
+
"content-type": "application/json",
|
585
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
586
|
+
}
|
587
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
588
|
+
|
589
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
590
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
591
|
+
client_retry_strategy=self.retry_strategy
|
592
|
+
)
|
593
|
+
if retry_strategy is None:
|
594
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
595
|
+
|
596
|
+
if retry_strategy:
|
597
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
598
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
599
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
600
|
+
return retry_strategy.make_retrying_call(
|
601
|
+
self.base_client.call_api,
|
602
|
+
resource_path=resource_path,
|
603
|
+
method=method,
|
604
|
+
path_params=path_params,
|
605
|
+
header_params=header_params,
|
606
|
+
response_type="Runbook",
|
607
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
608
|
+
operation_name=operation_name,
|
609
|
+
api_reference_link=api_reference_link,
|
610
|
+
required_arguments=required_arguments)
|
611
|
+
else:
|
612
|
+
return self.base_client.call_api(
|
613
|
+
resource_path=resource_path,
|
614
|
+
method=method,
|
615
|
+
path_params=path_params,
|
616
|
+
header_params=header_params,
|
617
|
+
response_type="Runbook",
|
618
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
619
|
+
operation_name=operation_name,
|
620
|
+
api_reference_link=api_reference_link,
|
621
|
+
required_arguments=required_arguments)
|
622
|
+
|
623
|
+
def get_task_record(self, task_record_id, **kwargs):
|
624
|
+
"""
|
625
|
+
Gets a Task by identifier
|
626
|
+
|
627
|
+
|
628
|
+
:param str task_record_id: (required)
|
629
|
+
unique TaskDetail identifier
|
630
|
+
|
631
|
+
:param str opc_request_id: (optional)
|
632
|
+
The client request ID for tracing.
|
633
|
+
|
634
|
+
:param obj retry_strategy: (optional)
|
635
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
636
|
+
|
637
|
+
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.
|
638
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
639
|
+
|
640
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
641
|
+
|
642
|
+
:param bool allow_control_chars: (optional)
|
643
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
644
|
+
By default, the response will not allow control characters in strings
|
645
|
+
|
646
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.TaskRecord`
|
647
|
+
:rtype: :class:`~oci.response.Response`
|
648
|
+
|
649
|
+
:example:
|
650
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_task_record.py.html>`__ to see an example of how to use get_task_record API.
|
651
|
+
"""
|
652
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
653
|
+
required_arguments = ['taskRecordId']
|
654
|
+
resource_path = "/taskRecords/{taskRecordId}"
|
655
|
+
method = "GET"
|
656
|
+
operation_name = "get_task_record"
|
657
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecord/GetTaskRecord"
|
658
|
+
|
659
|
+
# Don't accept unknown kwargs
|
660
|
+
expected_kwargs = [
|
661
|
+
"allow_control_chars",
|
662
|
+
"retry_strategy",
|
663
|
+
"opc_request_id"
|
664
|
+
]
|
665
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
666
|
+
if extra_kwargs:
|
667
|
+
raise ValueError(
|
668
|
+
f"get_task_record got unknown kwargs: {extra_kwargs!r}")
|
669
|
+
|
670
|
+
path_params = {
|
671
|
+
"taskRecordId": task_record_id
|
672
|
+
}
|
673
|
+
|
674
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
675
|
+
|
676
|
+
for (k, v) in six.iteritems(path_params):
|
677
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
678
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
679
|
+
|
680
|
+
header_params = {
|
681
|
+
"accept": "application/json",
|
682
|
+
"content-type": "application/json",
|
683
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
684
|
+
}
|
685
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
686
|
+
|
687
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
688
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
689
|
+
client_retry_strategy=self.retry_strategy
|
690
|
+
)
|
691
|
+
if retry_strategy is None:
|
692
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
693
|
+
|
694
|
+
if retry_strategy:
|
695
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
696
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
697
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
698
|
+
return retry_strategy.make_retrying_call(
|
699
|
+
self.base_client.call_api,
|
700
|
+
resource_path=resource_path,
|
701
|
+
method=method,
|
702
|
+
path_params=path_params,
|
703
|
+
header_params=header_params,
|
704
|
+
response_type="TaskRecord",
|
705
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
706
|
+
operation_name=operation_name,
|
707
|
+
api_reference_link=api_reference_link,
|
708
|
+
required_arguments=required_arguments)
|
709
|
+
else:
|
710
|
+
return self.base_client.call_api(
|
711
|
+
resource_path=resource_path,
|
712
|
+
method=method,
|
713
|
+
path_params=path_params,
|
714
|
+
header_params=header_params,
|
715
|
+
response_type="TaskRecord",
|
716
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
717
|
+
operation_name=operation_name,
|
718
|
+
api_reference_link=api_reference_link,
|
719
|
+
required_arguments=required_arguments)
|
720
|
+
|
721
|
+
def list_runbooks(self, **kwargs):
|
722
|
+
"""
|
723
|
+
List runbooks in Fleet Application Management.
|
724
|
+
|
725
|
+
|
726
|
+
:param str compartment_id: (optional)
|
727
|
+
The ID of the compartment in which to list resources.
|
728
|
+
|
729
|
+
:param str lifecycle_state: (optional)
|
730
|
+
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
731
|
+
|
732
|
+
Allowed values are: "ACTIVE", "DELETED", "FAILED", "INACTIVE", "CREATING", "DELETING", "UPDATING"
|
733
|
+
|
734
|
+
:param str display_name: (optional)
|
735
|
+
A filter to return only resources that match the entire display name given.
|
736
|
+
|
737
|
+
:param str id: (optional)
|
738
|
+
A filter to return runbooks whose identifier matches the given identifier.
|
739
|
+
|
740
|
+
:param str type: (optional)
|
741
|
+
A filter to return runbooks whose type matches the given type.
|
742
|
+
|
743
|
+
Allowed values are: "USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"
|
744
|
+
|
745
|
+
:param str runbook_relevance: (optional)
|
746
|
+
A filter to return runbooks whose runbookRelevance matches the given runbookRelevance.
|
747
|
+
|
748
|
+
Allowed values are: "PRODUCT_GROUP", "PRODUCT"
|
749
|
+
|
750
|
+
:param str platform: (optional)
|
751
|
+
A filter to return runbooks whose platform matches the given platform.
|
752
|
+
|
753
|
+
:param str operation: (optional)
|
754
|
+
A filter to return runbooks whose operation matches the given lifecycle operation.
|
755
|
+
|
756
|
+
:param int limit: (optional)
|
757
|
+
The maximum number of items to return.
|
758
|
+
|
759
|
+
:param str page: (optional)
|
760
|
+
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.
|
761
|
+
|
762
|
+
:param str sort_order: (optional)
|
763
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
764
|
+
|
765
|
+
Allowed values are: "ASC", "DESC"
|
766
|
+
|
767
|
+
:param str sort_by: (optional)
|
768
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
769
|
+
|
770
|
+
Allowed values are: "timeCreated", "displayName"
|
771
|
+
|
772
|
+
:param str opc_request_id: (optional)
|
773
|
+
The client request ID for tracing.
|
774
|
+
|
775
|
+
:param obj retry_strategy: (optional)
|
776
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
777
|
+
|
778
|
+
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.
|
779
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
780
|
+
|
781
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
782
|
+
|
783
|
+
:param bool allow_control_chars: (optional)
|
784
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
785
|
+
By default, the response will not allow control characters in strings
|
786
|
+
|
787
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.RunbookCollection`
|
788
|
+
:rtype: :class:`~oci.response.Response`
|
789
|
+
|
790
|
+
:example:
|
791
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_runbooks.py.html>`__ to see an example of how to use list_runbooks API.
|
792
|
+
"""
|
793
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
794
|
+
required_arguments = []
|
795
|
+
resource_path = "/runbooks"
|
796
|
+
method = "GET"
|
797
|
+
operation_name = "list_runbooks"
|
798
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/RunbookCollection/ListRunbooks"
|
799
|
+
|
800
|
+
# Don't accept unknown kwargs
|
801
|
+
expected_kwargs = [
|
802
|
+
"allow_control_chars",
|
803
|
+
"retry_strategy",
|
804
|
+
"compartment_id",
|
805
|
+
"lifecycle_state",
|
806
|
+
"display_name",
|
807
|
+
"id",
|
808
|
+
"type",
|
809
|
+
"runbook_relevance",
|
810
|
+
"platform",
|
811
|
+
"operation",
|
812
|
+
"limit",
|
813
|
+
"page",
|
814
|
+
"sort_order",
|
815
|
+
"sort_by",
|
816
|
+
"opc_request_id"
|
817
|
+
]
|
818
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
819
|
+
if extra_kwargs:
|
820
|
+
raise ValueError(
|
821
|
+
f"list_runbooks got unknown kwargs: {extra_kwargs!r}")
|
822
|
+
|
823
|
+
if 'lifecycle_state' in kwargs:
|
824
|
+
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED", "INACTIVE", "CREATING", "DELETING", "UPDATING"]
|
825
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
826
|
+
raise ValueError(
|
827
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
828
|
+
)
|
829
|
+
|
830
|
+
if 'type' in kwargs:
|
831
|
+
type_allowed_values = ["USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"]
|
832
|
+
if kwargs['type'] not in type_allowed_values:
|
833
|
+
raise ValueError(
|
834
|
+
f"Invalid value for `type`, must be one of { type_allowed_values }"
|
835
|
+
)
|
836
|
+
|
837
|
+
if 'runbook_relevance' in kwargs:
|
838
|
+
runbook_relevance_allowed_values = ["PRODUCT_GROUP", "PRODUCT"]
|
839
|
+
if kwargs['runbook_relevance'] not in runbook_relevance_allowed_values:
|
840
|
+
raise ValueError(
|
841
|
+
f"Invalid value for `runbook_relevance`, must be one of { runbook_relevance_allowed_values }"
|
842
|
+
)
|
843
|
+
|
844
|
+
if 'sort_order' in kwargs:
|
845
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
846
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
847
|
+
raise ValueError(
|
848
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
849
|
+
)
|
850
|
+
|
851
|
+
if 'sort_by' in kwargs:
|
852
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
853
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
854
|
+
raise ValueError(
|
855
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
856
|
+
)
|
857
|
+
|
858
|
+
query_params = {
|
859
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
860
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
861
|
+
"displayName": kwargs.get("display_name", missing),
|
862
|
+
"id": kwargs.get("id", missing),
|
863
|
+
"type": kwargs.get("type", missing),
|
864
|
+
"runbookRelevance": kwargs.get("runbook_relevance", missing),
|
865
|
+
"platform": kwargs.get("platform", missing),
|
866
|
+
"operation": kwargs.get("operation", missing),
|
867
|
+
"limit": kwargs.get("limit", missing),
|
868
|
+
"page": kwargs.get("page", missing),
|
869
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
870
|
+
"sortBy": kwargs.get("sort_by", missing)
|
871
|
+
}
|
872
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
873
|
+
|
874
|
+
header_params = {
|
875
|
+
"accept": "application/json",
|
876
|
+
"content-type": "application/json",
|
877
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
878
|
+
}
|
879
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
880
|
+
|
881
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
882
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
883
|
+
client_retry_strategy=self.retry_strategy
|
884
|
+
)
|
885
|
+
if retry_strategy is None:
|
886
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
887
|
+
|
888
|
+
if retry_strategy:
|
889
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
890
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
891
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
892
|
+
return retry_strategy.make_retrying_call(
|
893
|
+
self.base_client.call_api,
|
894
|
+
resource_path=resource_path,
|
895
|
+
method=method,
|
896
|
+
query_params=query_params,
|
897
|
+
header_params=header_params,
|
898
|
+
response_type="RunbookCollection",
|
899
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
900
|
+
operation_name=operation_name,
|
901
|
+
api_reference_link=api_reference_link,
|
902
|
+
required_arguments=required_arguments)
|
903
|
+
else:
|
904
|
+
return self.base_client.call_api(
|
905
|
+
resource_path=resource_path,
|
906
|
+
method=method,
|
907
|
+
query_params=query_params,
|
908
|
+
header_params=header_params,
|
909
|
+
response_type="RunbookCollection",
|
910
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
911
|
+
operation_name=operation_name,
|
912
|
+
api_reference_link=api_reference_link,
|
913
|
+
required_arguments=required_arguments)
|
914
|
+
|
915
|
+
def list_task_records(self, **kwargs):
|
916
|
+
"""
|
917
|
+
Returns a list of TaskRecords.
|
918
|
+
|
919
|
+
|
920
|
+
:param str compartment_id: (optional)
|
921
|
+
The ID of the compartment in which to list resources.
|
922
|
+
|
923
|
+
:param str platform: (optional)
|
924
|
+
The platform for the Task.
|
925
|
+
|
926
|
+
:param str type: (optional)
|
927
|
+
The type of the Task.
|
928
|
+
|
929
|
+
Allowed values are: "USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"
|
930
|
+
|
931
|
+
:param str display_name: (optional)
|
932
|
+
A filter to return only resources that match the entire display name given.
|
933
|
+
|
934
|
+
:param str id: (optional)
|
935
|
+
unique TaskDetail identifier
|
936
|
+
|
937
|
+
:param int limit: (optional)
|
938
|
+
The maximum number of items to return.
|
939
|
+
|
940
|
+
:param str page: (optional)
|
941
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
942
|
+
|
943
|
+
:param str lifecycle_state: (optional)
|
944
|
+
The current state of the Task.
|
945
|
+
|
946
|
+
Allowed values are: "ACTIVE", "INACTIVE", "DELETED", "DELETING", "FAILED", "UPDATING"
|
947
|
+
|
948
|
+
:param str sort_by: (optional)
|
949
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
950
|
+
|
951
|
+
Allowed values are: "timeCreated", "displayName"
|
952
|
+
|
953
|
+
:param str sort_order: (optional)
|
954
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
955
|
+
|
956
|
+
Allowed values are: "ASC", "DESC"
|
957
|
+
|
958
|
+
:param str opc_request_id: (optional)
|
959
|
+
The client request ID for tracing.
|
960
|
+
|
961
|
+
:param obj retry_strategy: (optional)
|
962
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
963
|
+
|
964
|
+
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.
|
965
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
966
|
+
|
967
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
968
|
+
|
969
|
+
:param bool allow_control_chars: (optional)
|
970
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
971
|
+
By default, the response will not allow control characters in strings
|
972
|
+
|
973
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.TaskRecordCollection`
|
974
|
+
:rtype: :class:`~oci.response.Response`
|
975
|
+
|
976
|
+
:example:
|
977
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_task_records.py.html>`__ to see an example of how to use list_task_records API.
|
978
|
+
"""
|
979
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
980
|
+
required_arguments = []
|
981
|
+
resource_path = "/taskRecords"
|
982
|
+
method = "GET"
|
983
|
+
operation_name = "list_task_records"
|
984
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecordCollection/ListTaskRecords"
|
985
|
+
|
986
|
+
# Don't accept unknown kwargs
|
987
|
+
expected_kwargs = [
|
988
|
+
"allow_control_chars",
|
989
|
+
"retry_strategy",
|
990
|
+
"compartment_id",
|
991
|
+
"platform",
|
992
|
+
"type",
|
993
|
+
"display_name",
|
994
|
+
"id",
|
995
|
+
"limit",
|
996
|
+
"page",
|
997
|
+
"lifecycle_state",
|
998
|
+
"sort_by",
|
999
|
+
"sort_order",
|
1000
|
+
"opc_request_id"
|
1001
|
+
]
|
1002
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1003
|
+
if extra_kwargs:
|
1004
|
+
raise ValueError(
|
1005
|
+
f"list_task_records got unknown kwargs: {extra_kwargs!r}")
|
1006
|
+
|
1007
|
+
if 'type' in kwargs:
|
1008
|
+
type_allowed_values = ["USER_DEFINED", "ORACLE_DEFINED", "SYSTEM_DEFINED"]
|
1009
|
+
if kwargs['type'] not in type_allowed_values:
|
1010
|
+
raise ValueError(
|
1011
|
+
f"Invalid value for `type`, must be one of { type_allowed_values }"
|
1012
|
+
)
|
1013
|
+
|
1014
|
+
if 'lifecycle_state' in kwargs:
|
1015
|
+
lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "DELETED", "DELETING", "FAILED", "UPDATING"]
|
1016
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
1017
|
+
raise ValueError(
|
1018
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
1019
|
+
)
|
1020
|
+
|
1021
|
+
if 'sort_by' in kwargs:
|
1022
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
1023
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1024
|
+
raise ValueError(
|
1025
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1026
|
+
)
|
1027
|
+
|
1028
|
+
if 'sort_order' in kwargs:
|
1029
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1030
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1031
|
+
raise ValueError(
|
1032
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
628
1033
|
)
|
629
1034
|
|
630
|
-
query_params = {
|
631
|
-
"compartmentId": kwargs.get("compartment_id", missing),
|
632
|
-
"platform": kwargs.get("platform", missing),
|
633
|
-
"type": kwargs.get("type", missing),
|
634
|
-
"displayName": kwargs.get("display_name", missing),
|
635
|
-
"id": kwargs.get("id", missing),
|
636
|
-
"limit": kwargs.get("limit", missing),
|
637
|
-
"page": kwargs.get("page", missing),
|
638
|
-
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
639
|
-
"sortBy": kwargs.get("sort_by", missing),
|
640
|
-
"sortOrder": kwargs.get("sort_order", missing)
|
1035
|
+
query_params = {
|
1036
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
1037
|
+
"platform": kwargs.get("platform", missing),
|
1038
|
+
"type": kwargs.get("type", missing),
|
1039
|
+
"displayName": kwargs.get("display_name", missing),
|
1040
|
+
"id": kwargs.get("id", missing),
|
1041
|
+
"limit": kwargs.get("limit", missing),
|
1042
|
+
"page": kwargs.get("page", missing),
|
1043
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
1044
|
+
"sortBy": kwargs.get("sort_by", missing),
|
1045
|
+
"sortOrder": kwargs.get("sort_order", missing)
|
1046
|
+
}
|
1047
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1048
|
+
|
1049
|
+
header_params = {
|
1050
|
+
"accept": "application/json",
|
1051
|
+
"content-type": "application/json",
|
1052
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1053
|
+
}
|
1054
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1055
|
+
|
1056
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1057
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1058
|
+
client_retry_strategy=self.retry_strategy
|
1059
|
+
)
|
1060
|
+
if retry_strategy is None:
|
1061
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1062
|
+
|
1063
|
+
if retry_strategy:
|
1064
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1065
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1066
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1067
|
+
return retry_strategy.make_retrying_call(
|
1068
|
+
self.base_client.call_api,
|
1069
|
+
resource_path=resource_path,
|
1070
|
+
method=method,
|
1071
|
+
query_params=query_params,
|
1072
|
+
header_params=header_params,
|
1073
|
+
response_type="TaskRecordCollection",
|
1074
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1075
|
+
operation_name=operation_name,
|
1076
|
+
api_reference_link=api_reference_link,
|
1077
|
+
required_arguments=required_arguments)
|
1078
|
+
else:
|
1079
|
+
return self.base_client.call_api(
|
1080
|
+
resource_path=resource_path,
|
1081
|
+
method=method,
|
1082
|
+
query_params=query_params,
|
1083
|
+
header_params=header_params,
|
1084
|
+
response_type="TaskRecordCollection",
|
1085
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1086
|
+
operation_name=operation_name,
|
1087
|
+
api_reference_link=api_reference_link,
|
1088
|
+
required_arguments=required_arguments)
|
1089
|
+
|
1090
|
+
def publish_runbook(self, publish_runbook_details, **kwargs):
|
1091
|
+
"""
|
1092
|
+
Publish a Runbook.
|
1093
|
+
|
1094
|
+
|
1095
|
+
:param oci.fleet_apps_management.models.PublishRunbookDetails publish_runbook_details: (required)
|
1096
|
+
Details for publishing the Runbook.
|
1097
|
+
|
1098
|
+
:param str opc_retry_token: (optional)
|
1099
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1100
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1101
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1102
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1103
|
+
might be rejected.
|
1104
|
+
|
1105
|
+
:param str if_match: (optional)
|
1106
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1107
|
+
for a resource, set the `if-match` parameter to the value of the
|
1108
|
+
etag from a previous GET or POST response for that resource.
|
1109
|
+
The resource will be updated or deleted only if the etag you
|
1110
|
+
provide matches the resource's current etag value.
|
1111
|
+
|
1112
|
+
:param str opc_request_id: (optional)
|
1113
|
+
The client request ID for tracing.
|
1114
|
+
|
1115
|
+
:param obj retry_strategy: (optional)
|
1116
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1117
|
+
|
1118
|
+
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.
|
1119
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1120
|
+
|
1121
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1122
|
+
|
1123
|
+
:param bool allow_control_chars: (optional)
|
1124
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1125
|
+
By default, the response will not allow control characters in strings
|
1126
|
+
|
1127
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1128
|
+
:rtype: :class:`~oci.response.Response`
|
1129
|
+
|
1130
|
+
:example:
|
1131
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/publish_runbook.py.html>`__ to see an example of how to use publish_runbook API.
|
1132
|
+
"""
|
1133
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1134
|
+
required_arguments = []
|
1135
|
+
resource_path = "/runbooks/actions/publishRunbook"
|
1136
|
+
method = "POST"
|
1137
|
+
operation_name = "publish_runbook"
|
1138
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/PublishRunbook"
|
1139
|
+
|
1140
|
+
# Don't accept unknown kwargs
|
1141
|
+
expected_kwargs = [
|
1142
|
+
"allow_control_chars",
|
1143
|
+
"retry_strategy",
|
1144
|
+
"opc_retry_token",
|
1145
|
+
"if_match",
|
1146
|
+
"opc_request_id"
|
1147
|
+
]
|
1148
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1149
|
+
if extra_kwargs:
|
1150
|
+
raise ValueError(
|
1151
|
+
f"publish_runbook got unknown kwargs: {extra_kwargs!r}")
|
1152
|
+
|
1153
|
+
header_params = {
|
1154
|
+
"accept": "application/json",
|
1155
|
+
"content-type": "application/json",
|
1156
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1157
|
+
"if-match": kwargs.get("if_match", missing),
|
1158
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1159
|
+
}
|
1160
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1161
|
+
|
1162
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1163
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1164
|
+
client_retry_strategy=self.retry_strategy
|
1165
|
+
)
|
1166
|
+
if retry_strategy is None:
|
1167
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1168
|
+
|
1169
|
+
if retry_strategy:
|
1170
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1171
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1172
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1173
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1174
|
+
return retry_strategy.make_retrying_call(
|
1175
|
+
self.base_client.call_api,
|
1176
|
+
resource_path=resource_path,
|
1177
|
+
method=method,
|
1178
|
+
header_params=header_params,
|
1179
|
+
body=publish_runbook_details,
|
1180
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1181
|
+
operation_name=operation_name,
|
1182
|
+
api_reference_link=api_reference_link,
|
1183
|
+
required_arguments=required_arguments)
|
1184
|
+
else:
|
1185
|
+
return self.base_client.call_api(
|
1186
|
+
resource_path=resource_path,
|
1187
|
+
method=method,
|
1188
|
+
header_params=header_params,
|
1189
|
+
body=publish_runbook_details,
|
1190
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1191
|
+
operation_name=operation_name,
|
1192
|
+
api_reference_link=api_reference_link,
|
1193
|
+
required_arguments=required_arguments)
|
1194
|
+
|
1195
|
+
def set_default_runbook(self, set_default_runbook_details, **kwargs):
|
1196
|
+
"""
|
1197
|
+
Publish a Runbook.
|
1198
|
+
|
1199
|
+
|
1200
|
+
:param oci.fleet_apps_management.models.SetDefaultRunbookDetails set_default_runbook_details: (required)
|
1201
|
+
Details for setting the Runbook as default.
|
1202
|
+
|
1203
|
+
:param str opc_retry_token: (optional)
|
1204
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1205
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1206
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1207
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1208
|
+
might be rejected.
|
1209
|
+
|
1210
|
+
:param str if_match: (optional)
|
1211
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1212
|
+
for a resource, set the `if-match` parameter to the value of the
|
1213
|
+
etag from a previous GET or POST response for that resource.
|
1214
|
+
The resource will be updated or deleted only if the etag you
|
1215
|
+
provide matches the resource's current etag value.
|
1216
|
+
|
1217
|
+
:param str opc_request_id: (optional)
|
1218
|
+
The client request ID for tracing.
|
1219
|
+
|
1220
|
+
:param obj retry_strategy: (optional)
|
1221
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1222
|
+
|
1223
|
+
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.
|
1224
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1225
|
+
|
1226
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1227
|
+
|
1228
|
+
:param bool allow_control_chars: (optional)
|
1229
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1230
|
+
By default, the response will not allow control characters in strings
|
1231
|
+
|
1232
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.Runbook`
|
1233
|
+
:rtype: :class:`~oci.response.Response`
|
1234
|
+
|
1235
|
+
:example:
|
1236
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/set_default_runbook.py.html>`__ to see an example of how to use set_default_runbook API.
|
1237
|
+
"""
|
1238
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1239
|
+
required_arguments = []
|
1240
|
+
resource_path = "/runbooks/actions/setDefaultRunbook"
|
1241
|
+
method = "POST"
|
1242
|
+
operation_name = "set_default_runbook"
|
1243
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/SetDefaultRunbook"
|
1244
|
+
|
1245
|
+
# Don't accept unknown kwargs
|
1246
|
+
expected_kwargs = [
|
1247
|
+
"allow_control_chars",
|
1248
|
+
"retry_strategy",
|
1249
|
+
"opc_retry_token",
|
1250
|
+
"if_match",
|
1251
|
+
"opc_request_id"
|
1252
|
+
]
|
1253
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1254
|
+
if extra_kwargs:
|
1255
|
+
raise ValueError(
|
1256
|
+
f"set_default_runbook got unknown kwargs: {extra_kwargs!r}")
|
1257
|
+
|
1258
|
+
header_params = {
|
1259
|
+
"accept": "application/json",
|
1260
|
+
"content-type": "application/json",
|
1261
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1262
|
+
"if-match": kwargs.get("if_match", missing),
|
1263
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
641
1264
|
}
|
642
|
-
|
1265
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1266
|
+
|
1267
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1268
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1269
|
+
client_retry_strategy=self.retry_strategy
|
1270
|
+
)
|
1271
|
+
if retry_strategy is None:
|
1272
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1273
|
+
|
1274
|
+
if retry_strategy:
|
1275
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1276
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1277
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1278
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1279
|
+
return retry_strategy.make_retrying_call(
|
1280
|
+
self.base_client.call_api,
|
1281
|
+
resource_path=resource_path,
|
1282
|
+
method=method,
|
1283
|
+
header_params=header_params,
|
1284
|
+
body=set_default_runbook_details,
|
1285
|
+
response_type="Runbook",
|
1286
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1287
|
+
operation_name=operation_name,
|
1288
|
+
api_reference_link=api_reference_link,
|
1289
|
+
required_arguments=required_arguments)
|
1290
|
+
else:
|
1291
|
+
return self.base_client.call_api(
|
1292
|
+
resource_path=resource_path,
|
1293
|
+
method=method,
|
1294
|
+
header_params=header_params,
|
1295
|
+
body=set_default_runbook_details,
|
1296
|
+
response_type="Runbook",
|
1297
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1298
|
+
operation_name=operation_name,
|
1299
|
+
api_reference_link=api_reference_link,
|
1300
|
+
required_arguments=required_arguments)
|
1301
|
+
|
1302
|
+
def update_runbook(self, runbook_id, update_runbook_details, **kwargs):
|
1303
|
+
"""
|
1304
|
+
Updates the Ronbook
|
1305
|
+
|
1306
|
+
|
1307
|
+
:param str runbook_id: (required)
|
1308
|
+
Unique Runbook identifier
|
1309
|
+
|
1310
|
+
:param oci.fleet_apps_management.models.UpdateRunbookDetails update_runbook_details: (required)
|
1311
|
+
The information to be updated.
|
1312
|
+
|
1313
|
+
:param str if_match: (optional)
|
1314
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1315
|
+
for a resource, set the `if-match` parameter to the value of the
|
1316
|
+
etag from a previous GET or POST response for that resource.
|
1317
|
+
The resource will be updated or deleted only if the etag you
|
1318
|
+
provide matches the resource's current etag value.
|
1319
|
+
|
1320
|
+
:param str opc_request_id: (optional)
|
1321
|
+
The client request ID for tracing.
|
1322
|
+
|
1323
|
+
:param obj retry_strategy: (optional)
|
1324
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1325
|
+
|
1326
|
+
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.
|
1327
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1328
|
+
|
1329
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1330
|
+
|
1331
|
+
:param bool allow_control_chars: (optional)
|
1332
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1333
|
+
By default, the response will not allow control characters in strings
|
1334
|
+
|
1335
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1336
|
+
:rtype: :class:`~oci.response.Response`
|
1337
|
+
|
1338
|
+
:example:
|
1339
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_runbook.py.html>`__ to see an example of how to use update_runbook API.
|
1340
|
+
"""
|
1341
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1342
|
+
required_arguments = ['runbookId']
|
1343
|
+
resource_path = "/runbooks/{runbookId}"
|
1344
|
+
method = "PUT"
|
1345
|
+
operation_name = "update_runbook"
|
1346
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Runbook/UpdateRunbook"
|
1347
|
+
|
1348
|
+
# Don't accept unknown kwargs
|
1349
|
+
expected_kwargs = [
|
1350
|
+
"allow_control_chars",
|
1351
|
+
"retry_strategy",
|
1352
|
+
"if_match",
|
1353
|
+
"opc_request_id"
|
1354
|
+
]
|
1355
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1356
|
+
if extra_kwargs:
|
1357
|
+
raise ValueError(
|
1358
|
+
f"update_runbook got unknown kwargs: {extra_kwargs!r}")
|
1359
|
+
|
1360
|
+
path_params = {
|
1361
|
+
"runbookId": runbook_id
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1365
|
+
|
1366
|
+
for (k, v) in six.iteritems(path_params):
|
1367
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1368
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
643
1369
|
|
644
1370
|
header_params = {
|
645
1371
|
"accept": "application/json",
|
646
1372
|
"content-type": "application/json",
|
1373
|
+
"if-match": kwargs.get("if_match", missing),
|
647
1374
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
648
1375
|
}
|
649
1376
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -663,9 +1390,9 @@ class FleetAppsManagementRunbooksClient(object):
|
|
663
1390
|
self.base_client.call_api,
|
664
1391
|
resource_path=resource_path,
|
665
1392
|
method=method,
|
666
|
-
|
1393
|
+
path_params=path_params,
|
667
1394
|
header_params=header_params,
|
668
|
-
|
1395
|
+
body=update_runbook_details,
|
669
1396
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
670
1397
|
operation_name=operation_name,
|
671
1398
|
api_reference_link=api_reference_link,
|
@@ -674,9 +1401,119 @@ class FleetAppsManagementRunbooksClient(object):
|
|
674
1401
|
return self.base_client.call_api(
|
675
1402
|
resource_path=resource_path,
|
676
1403
|
method=method,
|
677
|
-
|
1404
|
+
path_params=path_params,
|
678
1405
|
header_params=header_params,
|
679
|
-
|
1406
|
+
body=update_runbook_details,
|
1407
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1408
|
+
operation_name=operation_name,
|
1409
|
+
api_reference_link=api_reference_link,
|
1410
|
+
required_arguments=required_arguments)
|
1411
|
+
|
1412
|
+
def update_task_record(self, task_record_id, update_task_record_details, **kwargs):
|
1413
|
+
"""
|
1414
|
+
Updates the Task
|
1415
|
+
|
1416
|
+
|
1417
|
+
:param str task_record_id: (required)
|
1418
|
+
unique TaskDetail identifier
|
1419
|
+
|
1420
|
+
:param oci.fleet_apps_management.models.UpdateTaskRecordDetails update_task_record_details: (required)
|
1421
|
+
The information to be updated.
|
1422
|
+
|
1423
|
+
:param str if_match: (optional)
|
1424
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1425
|
+
for a resource, set the `if-match` parameter to the value of the
|
1426
|
+
etag from a previous GET or POST response for that resource.
|
1427
|
+
The resource will be updated or deleted only if the etag you
|
1428
|
+
provide matches the resource's current etag value.
|
1429
|
+
|
1430
|
+
:param str opc_request_id: (optional)
|
1431
|
+
The client request ID for tracing.
|
1432
|
+
|
1433
|
+
:param obj retry_strategy: (optional)
|
1434
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1435
|
+
|
1436
|
+
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.
|
1437
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1438
|
+
|
1439
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1440
|
+
|
1441
|
+
:param bool allow_control_chars: (optional)
|
1442
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1443
|
+
By default, the response will not allow control characters in strings
|
1444
|
+
|
1445
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1446
|
+
:rtype: :class:`~oci.response.Response`
|
1447
|
+
|
1448
|
+
:example:
|
1449
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_task_record.py.html>`__ to see an example of how to use update_task_record API.
|
1450
|
+
"""
|
1451
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1452
|
+
required_arguments = ['taskRecordId']
|
1453
|
+
resource_path = "/taskRecords/{taskRecordId}"
|
1454
|
+
method = "PUT"
|
1455
|
+
operation_name = "update_task_record"
|
1456
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/TaskRecord/UpdateTaskRecord"
|
1457
|
+
|
1458
|
+
# Don't accept unknown kwargs
|
1459
|
+
expected_kwargs = [
|
1460
|
+
"allow_control_chars",
|
1461
|
+
"retry_strategy",
|
1462
|
+
"if_match",
|
1463
|
+
"opc_request_id"
|
1464
|
+
]
|
1465
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1466
|
+
if extra_kwargs:
|
1467
|
+
raise ValueError(
|
1468
|
+
f"update_task_record got unknown kwargs: {extra_kwargs!r}")
|
1469
|
+
|
1470
|
+
path_params = {
|
1471
|
+
"taskRecordId": task_record_id
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1475
|
+
|
1476
|
+
for (k, v) in six.iteritems(path_params):
|
1477
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1478
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1479
|
+
|
1480
|
+
header_params = {
|
1481
|
+
"accept": "application/json",
|
1482
|
+
"content-type": "application/json",
|
1483
|
+
"if-match": kwargs.get("if_match", missing),
|
1484
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1485
|
+
}
|
1486
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1487
|
+
|
1488
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1489
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1490
|
+
client_retry_strategy=self.retry_strategy
|
1491
|
+
)
|
1492
|
+
if retry_strategy is None:
|
1493
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1494
|
+
|
1495
|
+
if retry_strategy:
|
1496
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1497
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1498
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1499
|
+
return retry_strategy.make_retrying_call(
|
1500
|
+
self.base_client.call_api,
|
1501
|
+
resource_path=resource_path,
|
1502
|
+
method=method,
|
1503
|
+
path_params=path_params,
|
1504
|
+
header_params=header_params,
|
1505
|
+
body=update_task_record_details,
|
1506
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1507
|
+
operation_name=operation_name,
|
1508
|
+
api_reference_link=api_reference_link,
|
1509
|
+
required_arguments=required_arguments)
|
1510
|
+
else:
|
1511
|
+
return self.base_client.call_api(
|
1512
|
+
resource_path=resource_path,
|
1513
|
+
method=method,
|
1514
|
+
path_params=path_params,
|
1515
|
+
header_params=header_params,
|
1516
|
+
body=update_task_record_details,
|
680
1517
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
681
1518
|
operation_name=operation_name,
|
682
1519
|
api_reference_link=api_reference_link,
|