oci 2.150.2__py3-none-any.whl → 2.150.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +4 -1
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +42 -0
- oci/disaster_recovery/models/block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +35 -0
- oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +35 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +1 -0
- oci/disaster_recovery/models/create_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/create_block_volume_mount_details.py +3 -2
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +115 -2
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +14 -14
- oci/disaster_recovery/models/create_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/create_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/dr_plan_step.py +58 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +58 -3
- oci/disaster_recovery/models/dr_plan_user_defined_step.py +57 -13
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +29 -2
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +31 -2
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +64 -2
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +113 -2
- oci/disaster_recovery/models/invoke_function_precheck_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_step.py +1 -1
- oci/disaster_recovery/models/invoke_function_user_defined_custom_precheck_step.py +154 -0
- oci/disaster_recovery/models/local_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/object_store_script_precheck_step.py +1 -1
- oci/disaster_recovery/models/run_local_script_user_defined_custom_precheck_step.py +199 -0
- oci/disaster_recovery/models/run_local_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/run_object_store_script_user_defined_custom_precheck_step.py +156 -0
- oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +1 -1
- oci/disaster_recovery/models/source_volume_to_destination_encryption_key_mapping.py +101 -0
- oci/disaster_recovery/models/update_block_volume_attachment_details.py +5 -4
- oci/disaster_recovery/models/update_block_volume_mount_details.py +1 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
- oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +1 -0
- oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +57 -13
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +29 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +64 -2
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +113 -2
- oci/disaster_recovery/models/update_invoke_function_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_invoke_function_user_defined_custom_precheck_step_details.py +119 -0
- oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_local_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_object_store_script_precheck_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_local_script_user_defined_custom_precheck_step_details.py +164 -0
- oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_custom_precheck_step_details.py +121 -0
- oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +1 -1
- oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
- oci/disaster_recovery/models/update_vault_and_encryption_key_details.py +111 -0
- oci/disaster_recovery/models/vault_and_encryption_key.py +115 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +24 -24
- oci/generative_ai/models/content_moderation_config.py +79 -1
- oci/generative_ai/models/model.py +69 -3
- oci/generative_ai/models/model_summary.py +69 -3
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generative_ai_inference/models/__init__.py +8 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +41 -2
- oci/generative_ai_inference/models/cohere_chat_response.py +29 -2
- oci/generative_ai_inference/models/completion_tokens_details.py +132 -0
- oci/generative_ai_inference/models/embed_text_result.py +29 -2
- oci/generative_ai_inference/models/prompt_tokens_details.py +70 -0
- oci/generative_ai_inference/models/stream_options.py +70 -0
- oci/generative_ai_inference/models/usage.py +186 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +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/lustre_file_storage/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +0 -9
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/models/__init__.py +12 -0
- oci/resource_scheduler/models/body_parameter.py +80 -0
- oci/resource_scheduler/models/change_schedule_compartment_details.py +74 -0
- oci/resource_scheduler/models/header_parameter.py +80 -0
- oci/resource_scheduler/models/parameter.py +123 -0
- oci/resource_scheduler/models/path_parameter.py +80 -0
- oci/resource_scheduler/models/query_parameter.py +80 -0
- oci/resource_scheduler/models/resource.py +113 -2
- oci/resource_scheduler/models/schedule.py +71 -0
- oci/resource_scheduler/schedule_client.py +156 -18
- oci/resource_scheduler/schedule_client_composite_operations.py +44 -0
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/METADATA +1 -1
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/RECORD +350 -319
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/WHEEL +0 -0
- {oci-2.150.2.dist-info → oci-2.150.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240430
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ChangeScheduleCompartmentDetails(object):
|
14
|
+
"""
|
15
|
+
This is the configuration details for the move operation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ChangeScheduleCompartmentDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param compartment_id:
|
24
|
+
The value to assign to the compartment_id property of this ChangeScheduleCompartmentDetails.
|
25
|
+
:type compartment_id: str
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'compartment_id': 'str'
|
30
|
+
}
|
31
|
+
self.attribute_map = {
|
32
|
+
'compartment_id': 'compartmentId'
|
33
|
+
}
|
34
|
+
self._compartment_id = None
|
35
|
+
|
36
|
+
@property
|
37
|
+
def compartment_id(self):
|
38
|
+
"""
|
39
|
+
**[Required]** Gets the compartment_id of this ChangeScheduleCompartmentDetails.
|
40
|
+
The `OCID`__ of the compartment to move the schedule to.
|
41
|
+
|
42
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
43
|
+
|
44
|
+
|
45
|
+
:return: The compartment_id of this ChangeScheduleCompartmentDetails.
|
46
|
+
:rtype: str
|
47
|
+
"""
|
48
|
+
return self._compartment_id
|
49
|
+
|
50
|
+
@compartment_id.setter
|
51
|
+
def compartment_id(self, compartment_id):
|
52
|
+
"""
|
53
|
+
Sets the compartment_id of this ChangeScheduleCompartmentDetails.
|
54
|
+
The `OCID`__ of the compartment to move the schedule to.
|
55
|
+
|
56
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
57
|
+
|
58
|
+
|
59
|
+
:param compartment_id: The compartment_id of this ChangeScheduleCompartmentDetails.
|
60
|
+
:type: str
|
61
|
+
"""
|
62
|
+
self._compartment_id = compartment_id
|
63
|
+
|
64
|
+
def __repr__(self):
|
65
|
+
return formatted_flat_dict(self)
|
66
|
+
|
67
|
+
def __eq__(self, other):
|
68
|
+
if other is None:
|
69
|
+
return False
|
70
|
+
|
71
|
+
return self.__dict__ == other.__dict__
|
72
|
+
|
73
|
+
def __ne__(self, other):
|
74
|
+
return not self == other
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240430
|
6
|
+
|
7
|
+
from .parameter import Parameter
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class HeaderParameter(Parameter):
|
14
|
+
"""
|
15
|
+
This is an input parameter that will be passed as HTTP request header.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HeaderParameter object with values from keyword arguments. The default value of the :py:attr:`~oci.resource_scheduler.models.HeaderParameter.parameter_type` attribute
|
21
|
+
of this class is ``HEADER`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param parameter_type:
|
25
|
+
The value to assign to the parameter_type property of this HeaderParameter.
|
26
|
+
Allowed values for this property are: "HEADER", "BODY", "PATH", "QUERY"
|
27
|
+
:type parameter_type: str
|
28
|
+
|
29
|
+
:param value:
|
30
|
+
The value to assign to the value property of this HeaderParameter.
|
31
|
+
:type value: dict(str, str)
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'parameter_type': 'str',
|
36
|
+
'value': 'dict(str, str)'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'parameter_type': 'parameterType',
|
40
|
+
'value': 'value'
|
41
|
+
}
|
42
|
+
self._parameter_type = None
|
43
|
+
self._value = None
|
44
|
+
self._parameter_type = 'HEADER'
|
45
|
+
|
46
|
+
@property
|
47
|
+
def value(self):
|
48
|
+
"""
|
49
|
+
Gets the value of this HeaderParameter.
|
50
|
+
This is the HTTP request header value.
|
51
|
+
|
52
|
+
|
53
|
+
:return: The value of this HeaderParameter.
|
54
|
+
:rtype: dict(str, str)
|
55
|
+
"""
|
56
|
+
return self._value
|
57
|
+
|
58
|
+
@value.setter
|
59
|
+
def value(self, value):
|
60
|
+
"""
|
61
|
+
Sets the value of this HeaderParameter.
|
62
|
+
This is the HTTP request header value.
|
63
|
+
|
64
|
+
|
65
|
+
:param value: The value of this HeaderParameter.
|
66
|
+
:type: dict(str, str)
|
67
|
+
"""
|
68
|
+
self._value = value
|
69
|
+
|
70
|
+
def __repr__(self):
|
71
|
+
return formatted_flat_dict(self)
|
72
|
+
|
73
|
+
def __eq__(self, other):
|
74
|
+
if other is None:
|
75
|
+
return False
|
76
|
+
|
77
|
+
return self.__dict__ == other.__dict__
|
78
|
+
|
79
|
+
def __ne__(self, other):
|
80
|
+
return not self == other
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240430
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class Parameter(object):
|
14
|
+
"""
|
15
|
+
This is a generic input parameter to use when acting on the resource.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the parameter_type property of a Parameter.
|
19
|
+
#: This constant has a value of "HEADER"
|
20
|
+
PARAMETER_TYPE_HEADER = "HEADER"
|
21
|
+
|
22
|
+
#: A constant which can be used with the parameter_type property of a Parameter.
|
23
|
+
#: This constant has a value of "BODY"
|
24
|
+
PARAMETER_TYPE_BODY = "BODY"
|
25
|
+
|
26
|
+
#: A constant which can be used with the parameter_type property of a Parameter.
|
27
|
+
#: This constant has a value of "PATH"
|
28
|
+
PARAMETER_TYPE_PATH = "PATH"
|
29
|
+
|
30
|
+
#: A constant which can be used with the parameter_type property of a Parameter.
|
31
|
+
#: This constant has a value of "QUERY"
|
32
|
+
PARAMETER_TYPE_QUERY = "QUERY"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new Parameter object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
37
|
+
to a service operations then you should favor using a subclass over the base class:
|
38
|
+
|
39
|
+
* :class:`~oci.resource_scheduler.models.QueryParameter`
|
40
|
+
* :class:`~oci.resource_scheduler.models.HeaderParameter`
|
41
|
+
* :class:`~oci.resource_scheduler.models.BodyParameter`
|
42
|
+
* :class:`~oci.resource_scheduler.models.PathParameter`
|
43
|
+
|
44
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
45
|
+
|
46
|
+
:param parameter_type:
|
47
|
+
The value to assign to the parameter_type property of this Parameter.
|
48
|
+
Allowed values for this property are: "HEADER", "BODY", "PATH", "QUERY", 'UNKNOWN_ENUM_VALUE'.
|
49
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
50
|
+
:type parameter_type: str
|
51
|
+
|
52
|
+
"""
|
53
|
+
self.swagger_types = {
|
54
|
+
'parameter_type': 'str'
|
55
|
+
}
|
56
|
+
self.attribute_map = {
|
57
|
+
'parameter_type': 'parameterType'
|
58
|
+
}
|
59
|
+
self._parameter_type = None
|
60
|
+
|
61
|
+
@staticmethod
|
62
|
+
def get_subtype(object_dictionary):
|
63
|
+
"""
|
64
|
+
Given the hash representation of a subtype of this class,
|
65
|
+
use the info in the hash to return the class of the subtype.
|
66
|
+
"""
|
67
|
+
type = object_dictionary['parameterType']
|
68
|
+
|
69
|
+
if type == 'QUERY':
|
70
|
+
return 'QueryParameter'
|
71
|
+
|
72
|
+
if type == 'HEADER':
|
73
|
+
return 'HeaderParameter'
|
74
|
+
|
75
|
+
if type == 'BODY':
|
76
|
+
return 'BodyParameter'
|
77
|
+
|
78
|
+
if type == 'PATH':
|
79
|
+
return 'PathParameter'
|
80
|
+
else:
|
81
|
+
return 'Parameter'
|
82
|
+
|
83
|
+
@property
|
84
|
+
def parameter_type(self):
|
85
|
+
"""
|
86
|
+
**[Required]** Gets the parameter_type of this Parameter.
|
87
|
+
This is the parameter type on which the input parameter is defined
|
88
|
+
|
89
|
+
Allowed values for this property are: "HEADER", "BODY", "PATH", "QUERY", 'UNKNOWN_ENUM_VALUE'.
|
90
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
91
|
+
|
92
|
+
|
93
|
+
:return: The parameter_type of this Parameter.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._parameter_type
|
97
|
+
|
98
|
+
@parameter_type.setter
|
99
|
+
def parameter_type(self, parameter_type):
|
100
|
+
"""
|
101
|
+
Sets the parameter_type of this Parameter.
|
102
|
+
This is the parameter type on which the input parameter is defined
|
103
|
+
|
104
|
+
|
105
|
+
:param parameter_type: The parameter_type of this Parameter.
|
106
|
+
:type: str
|
107
|
+
"""
|
108
|
+
allowed_values = ["HEADER", "BODY", "PATH", "QUERY"]
|
109
|
+
if not value_allowed_none_or_none_sentinel(parameter_type, allowed_values):
|
110
|
+
parameter_type = 'UNKNOWN_ENUM_VALUE'
|
111
|
+
self._parameter_type = parameter_type
|
112
|
+
|
113
|
+
def __repr__(self):
|
114
|
+
return formatted_flat_dict(self)
|
115
|
+
|
116
|
+
def __eq__(self, other):
|
117
|
+
if other is None:
|
118
|
+
return False
|
119
|
+
|
120
|
+
return self.__dict__ == other.__dict__
|
121
|
+
|
122
|
+
def __ne__(self, other):
|
123
|
+
return not self == other
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240430
|
6
|
+
|
7
|
+
from .parameter import Parameter
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class PathParameter(Parameter):
|
14
|
+
"""
|
15
|
+
This is an input parameter that will be passed as URL path parameter.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new PathParameter object with values from keyword arguments. The default value of the :py:attr:`~oci.resource_scheduler.models.PathParameter.parameter_type` attribute
|
21
|
+
of this class is ``PATH`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param parameter_type:
|
25
|
+
The value to assign to the parameter_type property of this PathParameter.
|
26
|
+
Allowed values for this property are: "HEADER", "BODY", "PATH", "QUERY"
|
27
|
+
:type parameter_type: str
|
28
|
+
|
29
|
+
:param value:
|
30
|
+
The value to assign to the value property of this PathParameter.
|
31
|
+
:type value: dict(str, str)
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'parameter_type': 'str',
|
36
|
+
'value': 'dict(str, str)'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'parameter_type': 'parameterType',
|
40
|
+
'value': 'value'
|
41
|
+
}
|
42
|
+
self._parameter_type = None
|
43
|
+
self._value = None
|
44
|
+
self._parameter_type = 'PATH'
|
45
|
+
|
46
|
+
@property
|
47
|
+
def value(self):
|
48
|
+
"""
|
49
|
+
Gets the value of this PathParameter.
|
50
|
+
This is the path parameter value.
|
51
|
+
|
52
|
+
|
53
|
+
:return: The value of this PathParameter.
|
54
|
+
:rtype: dict(str, str)
|
55
|
+
"""
|
56
|
+
return self._value
|
57
|
+
|
58
|
+
@value.setter
|
59
|
+
def value(self, value):
|
60
|
+
"""
|
61
|
+
Sets the value of this PathParameter.
|
62
|
+
This is the path parameter value.
|
63
|
+
|
64
|
+
|
65
|
+
:param value: The value of this PathParameter.
|
66
|
+
:type: dict(str, str)
|
67
|
+
"""
|
68
|
+
self._value = value
|
69
|
+
|
70
|
+
def __repr__(self):
|
71
|
+
return formatted_flat_dict(self)
|
72
|
+
|
73
|
+
def __eq__(self, other):
|
74
|
+
if other is None:
|
75
|
+
return False
|
76
|
+
|
77
|
+
return self.__dict__ == other.__dict__
|
78
|
+
|
79
|
+
def __ne__(self, other):
|
80
|
+
return not self == other
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240430
|
6
|
+
|
7
|
+
from .parameter import Parameter
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class QueryParameter(Parameter):
|
14
|
+
"""
|
15
|
+
This is an input parameter that will be passed as URL query parameter.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new QueryParameter object with values from keyword arguments. The default value of the :py:attr:`~oci.resource_scheduler.models.QueryParameter.parameter_type` attribute
|
21
|
+
of this class is ``QUERY`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param parameter_type:
|
25
|
+
The value to assign to the parameter_type property of this QueryParameter.
|
26
|
+
Allowed values for this property are: "HEADER", "BODY", "PATH", "QUERY"
|
27
|
+
:type parameter_type: str
|
28
|
+
|
29
|
+
:param value:
|
30
|
+
The value to assign to the value property of this QueryParameter.
|
31
|
+
:type value: dict(str, str)
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'parameter_type': 'str',
|
36
|
+
'value': 'dict(str, str)'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'parameter_type': 'parameterType',
|
40
|
+
'value': 'value'
|
41
|
+
}
|
42
|
+
self._parameter_type = None
|
43
|
+
self._value = None
|
44
|
+
self._parameter_type = 'QUERY'
|
45
|
+
|
46
|
+
@property
|
47
|
+
def value(self):
|
48
|
+
"""
|
49
|
+
Gets the value of this QueryParameter.
|
50
|
+
This is the query parameter value.
|
51
|
+
|
52
|
+
|
53
|
+
:return: The value of this QueryParameter.
|
54
|
+
:rtype: dict(str, str)
|
55
|
+
"""
|
56
|
+
return self._value
|
57
|
+
|
58
|
+
@value.setter
|
59
|
+
def value(self, value):
|
60
|
+
"""
|
61
|
+
Sets the value of this QueryParameter.
|
62
|
+
This is the query parameter value.
|
63
|
+
|
64
|
+
|
65
|
+
:param value: The value of this QueryParameter.
|
66
|
+
:type: dict(str, str)
|
67
|
+
"""
|
68
|
+
self._value = value
|
69
|
+
|
70
|
+
def __repr__(self):
|
71
|
+
return formatted_flat_dict(self)
|
72
|
+
|
73
|
+
def __eq__(self, other):
|
74
|
+
if other is None:
|
75
|
+
return False
|
76
|
+
|
77
|
+
return self.__dict__ == other.__dict__
|
78
|
+
|
79
|
+
def __ne__(self, other):
|
80
|
+
return not self == other
|
@@ -28,17 +28,24 @@ class Resource(object):
|
|
28
28
|
The value to assign to the metadata property of this Resource.
|
29
29
|
:type metadata: dict(str, str)
|
30
30
|
|
31
|
+
:param parameters:
|
32
|
+
The value to assign to the parameters property of this Resource.
|
33
|
+
:type parameters: list[oci.resource_scheduler.models.Parameter]
|
34
|
+
|
31
35
|
"""
|
32
36
|
self.swagger_types = {
|
33
37
|
'id': 'str',
|
34
|
-
'metadata': 'dict(str, str)'
|
38
|
+
'metadata': 'dict(str, str)',
|
39
|
+
'parameters': 'list[Parameter]'
|
35
40
|
}
|
36
41
|
self.attribute_map = {
|
37
42
|
'id': 'id',
|
38
|
-
'metadata': 'metadata'
|
43
|
+
'metadata': 'metadata',
|
44
|
+
'parameters': 'parameters'
|
39
45
|
}
|
40
46
|
self._id = None
|
41
47
|
self._metadata = None
|
48
|
+
self._parameters = None
|
42
49
|
|
43
50
|
@property
|
44
51
|
def id(self):
|
@@ -106,6 +113,110 @@ class Resource(object):
|
|
106
113
|
"""
|
107
114
|
self._metadata = metadata
|
108
115
|
|
116
|
+
@property
|
117
|
+
def parameters(self):
|
118
|
+
"""
|
119
|
+
Gets the parameters of this Resource.
|
120
|
+
This is the user input parameters to use when acting on the resource.
|
121
|
+
|
122
|
+
{
|
123
|
+
\"parameters\": [
|
124
|
+
{
|
125
|
+
\"parameterType\": \"BODY\",
|
126
|
+
\"value\": {
|
127
|
+
\"ip\": \"192.168.44.44\",
|
128
|
+
\"memory\": \"1024\",
|
129
|
+
\"synced_folders\": [
|
130
|
+
{
|
131
|
+
\"host_path\": \"data/\",
|
132
|
+
\"guest_path\": \"/var/www\",
|
133
|
+
\"type\": \"default\"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
\"forwarded_ports\": []
|
137
|
+
}
|
138
|
+
},
|
139
|
+
{
|
140
|
+
\"parameterType\": \"PATH\",
|
141
|
+
\"value\": {
|
142
|
+
\"compartmentId\": \"ocid1.compartment.oc1..xxxxx\",
|
143
|
+
\"instanceId\": \"ocid1.vcn.oc1..yyyy\"
|
144
|
+
}
|
145
|
+
},
|
146
|
+
{
|
147
|
+
\"parameterType\": \"QUERY\",
|
148
|
+
\"value\": {
|
149
|
+
\"limit\": \"10\",
|
150
|
+
\"tenantId\": \"ocid1.tenant.oc1..zzzz\"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
{
|
154
|
+
\"parameterType\": \"HEADER\",
|
155
|
+
\"value\": {
|
156
|
+
\"token\": \"xxxx\"
|
157
|
+
}
|
158
|
+
}
|
159
|
+
]
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
:return: The parameters of this Resource.
|
164
|
+
:rtype: list[oci.resource_scheduler.models.Parameter]
|
165
|
+
"""
|
166
|
+
return self._parameters
|
167
|
+
|
168
|
+
@parameters.setter
|
169
|
+
def parameters(self, parameters):
|
170
|
+
"""
|
171
|
+
Sets the parameters of this Resource.
|
172
|
+
This is the user input parameters to use when acting on the resource.
|
173
|
+
|
174
|
+
{
|
175
|
+
\"parameters\": [
|
176
|
+
{
|
177
|
+
\"parameterType\": \"BODY\",
|
178
|
+
\"value\": {
|
179
|
+
\"ip\": \"192.168.44.44\",
|
180
|
+
\"memory\": \"1024\",
|
181
|
+
\"synced_folders\": [
|
182
|
+
{
|
183
|
+
\"host_path\": \"data/\",
|
184
|
+
\"guest_path\": \"/var/www\",
|
185
|
+
\"type\": \"default\"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
\"forwarded_ports\": []
|
189
|
+
}
|
190
|
+
},
|
191
|
+
{
|
192
|
+
\"parameterType\": \"PATH\",
|
193
|
+
\"value\": {
|
194
|
+
\"compartmentId\": \"ocid1.compartment.oc1..xxxxx\",
|
195
|
+
\"instanceId\": \"ocid1.vcn.oc1..yyyy\"
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
\"parameterType\": \"QUERY\",
|
200
|
+
\"value\": {
|
201
|
+
\"limit\": \"10\",
|
202
|
+
\"tenantId\": \"ocid1.tenant.oc1..zzzz\"
|
203
|
+
}
|
204
|
+
},
|
205
|
+
{
|
206
|
+
\"parameterType\": \"HEADER\",
|
207
|
+
\"value\": {
|
208
|
+
\"token\": \"xxxx\"
|
209
|
+
}
|
210
|
+
}
|
211
|
+
]
|
212
|
+
}
|
213
|
+
|
214
|
+
|
215
|
+
:param parameters: The parameters of this Resource.
|
216
|
+
:type: list[oci.resource_scheduler.models.Parameter]
|
217
|
+
"""
|
218
|
+
self._parameters = parameters
|
219
|
+
|
109
220
|
def __repr__(self):
|
110
221
|
return formatted_flat_dict(self)
|
111
222
|
|
@@ -38,6 +38,38 @@ class Schedule(object):
|
|
38
38
|
#: This constant has a value of "ICAL"
|
39
39
|
RECURRENCE_TYPE_ICAL = "ICAL"
|
40
40
|
|
41
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
42
|
+
#: This constant has a value of "ACCEPTED"
|
43
|
+
LAST_RUN_STATUS_ACCEPTED = "ACCEPTED"
|
44
|
+
|
45
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
46
|
+
#: This constant has a value of "IN_PROGRESS"
|
47
|
+
LAST_RUN_STATUS_IN_PROGRESS = "IN_PROGRESS"
|
48
|
+
|
49
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
50
|
+
#: This constant has a value of "WAITING"
|
51
|
+
LAST_RUN_STATUS_WAITING = "WAITING"
|
52
|
+
|
53
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
54
|
+
#: This constant has a value of "NEEDS_ATTENTION"
|
55
|
+
LAST_RUN_STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
|
56
|
+
|
57
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
58
|
+
#: This constant has a value of "FAILED"
|
59
|
+
LAST_RUN_STATUS_FAILED = "FAILED"
|
60
|
+
|
61
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
62
|
+
#: This constant has a value of "SUCCEEDED"
|
63
|
+
LAST_RUN_STATUS_SUCCEEDED = "SUCCEEDED"
|
64
|
+
|
65
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
66
|
+
#: This constant has a value of "CANCELING"
|
67
|
+
LAST_RUN_STATUS_CANCELING = "CANCELING"
|
68
|
+
|
69
|
+
#: A constant which can be used with the last_run_status property of a Schedule.
|
70
|
+
#: This constant has a value of "CANCELED"
|
71
|
+
LAST_RUN_STATUS_CANCELED = "CANCELED"
|
72
|
+
|
41
73
|
#: A constant which can be used with the lifecycle_state property of a Schedule.
|
42
74
|
#: This constant has a value of "ACTIVE"
|
43
75
|
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
@@ -135,6 +167,12 @@ class Schedule(object):
|
|
135
167
|
The value to assign to the time_next_run property of this Schedule.
|
136
168
|
:type time_next_run: datetime
|
137
169
|
|
170
|
+
:param last_run_status:
|
171
|
+
The value to assign to the last_run_status property of this Schedule.
|
172
|
+
Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
|
173
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
174
|
+
:type last_run_status: str
|
175
|
+
|
138
176
|
:param lifecycle_state:
|
139
177
|
The value to assign to the lifecycle_state property of this Schedule.
|
140
178
|
Allowed values for this property are: "ACTIVE", "INACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
@@ -170,6 +208,7 @@ class Schedule(object):
|
|
170
208
|
'time_updated': 'datetime',
|
171
209
|
'time_last_run': 'datetime',
|
172
210
|
'time_next_run': 'datetime',
|
211
|
+
'last_run_status': 'str',
|
173
212
|
'lifecycle_state': 'str',
|
174
213
|
'freeform_tags': 'dict(str, str)',
|
175
214
|
'defined_tags': 'dict(str, dict(str, object))',
|
@@ -191,6 +230,7 @@ class Schedule(object):
|
|
191
230
|
'time_updated': 'timeUpdated',
|
192
231
|
'time_last_run': 'timeLastRun',
|
193
232
|
'time_next_run': 'timeNextRun',
|
233
|
+
'last_run_status': 'lastRunStatus',
|
194
234
|
'lifecycle_state': 'lifecycleState',
|
195
235
|
'freeform_tags': 'freeformTags',
|
196
236
|
'defined_tags': 'definedTags',
|
@@ -211,6 +251,7 @@ class Schedule(object):
|
|
211
251
|
self._time_updated = None
|
212
252
|
self._time_last_run = None
|
213
253
|
self._time_next_run = None
|
254
|
+
self._last_run_status = None
|
214
255
|
self._lifecycle_state = None
|
215
256
|
self._freeform_tags = None
|
216
257
|
self._defined_tags = None
|
@@ -646,6 +687,36 @@ class Schedule(object):
|
|
646
687
|
"""
|
647
688
|
self._time_next_run = time_next_run
|
648
689
|
|
690
|
+
@property
|
691
|
+
def last_run_status(self):
|
692
|
+
"""
|
693
|
+
Gets the last_run_status of this Schedule.
|
694
|
+
This is the status of the last work request.
|
695
|
+
|
696
|
+
Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
|
697
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
698
|
+
|
699
|
+
|
700
|
+
:return: The last_run_status of this Schedule.
|
701
|
+
:rtype: str
|
702
|
+
"""
|
703
|
+
return self._last_run_status
|
704
|
+
|
705
|
+
@last_run_status.setter
|
706
|
+
def last_run_status(self, last_run_status):
|
707
|
+
"""
|
708
|
+
Sets the last_run_status of this Schedule.
|
709
|
+
This is the status of the last work request.
|
710
|
+
|
711
|
+
|
712
|
+
:param last_run_status: The last_run_status of this Schedule.
|
713
|
+
:type: str
|
714
|
+
"""
|
715
|
+
allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
|
716
|
+
if not value_allowed_none_or_none_sentinel(last_run_status, allowed_values):
|
717
|
+
last_run_status = 'UNKNOWN_ENUM_VALUE'
|
718
|
+
self._last_run_status = last_run_status
|
719
|
+
|
649
720
|
@property
|
650
721
|
def lifecycle_state(self):
|
651
722
|
"""
|