pulumi-oci 1.36.0a1715707046__py3-none-any.whl → 1.37.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.
- pulumi_oci/__init__.py +248 -0
- pulumi_oci/adm/_inputs.py +6 -6
- pulumi_oci/adm/outputs.py +6 -6
- pulumi_oci/aianomalydetection/_inputs.py +10 -8
- pulumi_oci/aianomalydetection/outputs.py +22 -8
- pulumi_oci/aidocument/_inputs.py +22 -18
- pulumi_oci/aidocument/outputs.py +36 -18
- pulumi_oci/ailanguage/_inputs.py +4 -20
- pulumi_oci/ailanguage/model.py +4 -4
- pulumi_oci/ailanguage/outputs.py +4 -20
- pulumi_oci/aivision/_inputs.py +0 -16
- pulumi_oci/aivision/outputs.py +0 -16
- pulumi_oci/analytics/_inputs.py +2 -2
- pulumi_oci/analytics/outputs.py +2 -2
- pulumi_oci/apigateway/_inputs.py +206 -414
- pulumi_oci/apigateway/outputs.py +206 -414
- pulumi_oci/apmconfig/_inputs.py +4 -4
- pulumi_oci/apmconfig/config.py +7 -7
- pulumi_oci/apmconfig/outputs.py +4 -4
- pulumi_oci/apmsynthetics/_inputs.py +18 -26
- pulumi_oci/apmsynthetics/config.py +7 -7
- pulumi_oci/apmsynthetics/outputs.py +18 -26
- pulumi_oci/autoscaling/_inputs.py +14 -16
- pulumi_oci/autoscaling/auto_scaling_configuration.py +20 -7
- pulumi_oci/autoscaling/outputs.py +14 -16
- pulumi_oci/bigdataservice/_inputs.py +32 -44
- pulumi_oci/bigdataservice/bds_instance.py +4 -4
- pulumi_oci/bigdataservice/outputs.py +32 -44
- pulumi_oci/certificatesmanagement/_inputs.py +16 -16
- pulumi_oci/certificatesmanagement/certificate.py +16 -16
- pulumi_oci/certificatesmanagement/certificate_authority.py +8 -8
- pulumi_oci/certificatesmanagement/outputs.py +16 -16
- pulumi_oci/cloudbridge/_inputs.py +18 -18
- pulumi_oci/cloudbridge/outputs.py +18 -18
- pulumi_oci/cloudguard/__init__.py +9 -0
- pulumi_oci/cloudguard/_inputs.py +1066 -488
- pulumi_oci/cloudguard/adhoc_query.py +596 -0
- pulumi_oci/cloudguard/cloud_guard_configuration.py +25 -57
- pulumi_oci/cloudguard/cloud_guard_data_source.py +54 -38
- pulumi_oci/cloudguard/data_mask_rule.py +62 -62
- pulumi_oci/cloudguard/detector_recipe.py +95 -53
- pulumi_oci/cloudguard/get_adhoc_queries.py +253 -0
- pulumi_oci/cloudguard/get_adhoc_query.py +249 -0
- pulumi_oci/cloudguard/get_cloud_guard_configuration.py +9 -7
- pulumi_oci/cloudguard/get_data_mask_rule.py +14 -14
- pulumi_oci/cloudguard/get_data_mask_rules.py +17 -17
- pulumi_oci/cloudguard/get_data_source.py +10 -10
- pulumi_oci/cloudguard/get_data_source_events.py +11 -7
- pulumi_oci/cloudguard/get_data_sources.py +24 -20
- pulumi_oci/cloudguard/get_detector_recipe.py +28 -15
- pulumi_oci/cloudguard/get_detector_recipes.py +13 -13
- pulumi_oci/cloudguard/get_guard_target.py +14 -14
- pulumi_oci/cloudguard/get_guard_targets.py +19 -17
- pulumi_oci/cloudguard/get_managed_list.py +14 -14
- pulumi_oci/cloudguard/get_managed_lists.py +16 -16
- pulumi_oci/cloudguard/get_problem_entities.py +5 -3
- pulumi_oci/cloudguard/get_responder_recipe.py +13 -13
- pulumi_oci/cloudguard/get_responder_recipes.py +15 -13
- pulumi_oci/cloudguard/get_saved_queries.py +190 -0
- pulumi_oci/cloudguard/get_saved_query.py +235 -0
- pulumi_oci/cloudguard/get_security_policies.py +14 -12
- pulumi_oci/cloudguard/get_security_policy.py +12 -8
- pulumi_oci/cloudguard/get_security_recipe.py +9 -9
- pulumi_oci/cloudguard/get_security_recipes.py +14 -12
- pulumi_oci/cloudguard/get_security_zone.py +8 -8
- pulumi_oci/cloudguard/get_security_zones.py +17 -15
- pulumi_oci/cloudguard/get_wlp_agent.py +258 -0
- pulumi_oci/cloudguard/get_wlp_agents.py +136 -0
- pulumi_oci/cloudguard/managed_list.py +57 -57
- pulumi_oci/cloudguard/outputs.py +3493 -1808
- pulumi_oci/cloudguard/responder_recipe.py +41 -39
- pulumi_oci/cloudguard/saved_query.py +595 -0
- pulumi_oci/cloudguard/security_recipe.py +43 -27
- pulumi_oci/cloudguard/security_zone.py +22 -20
- pulumi_oci/cloudguard/target.py +54 -54
- pulumi_oci/cloudguard/wlp_agent.py +654 -0
- pulumi_oci/cloudmigrations/_inputs.py +222 -496
- pulumi_oci/cloudmigrations/outputs.py +222 -496
- pulumi_oci/cloudmigrations/target_asset.py +15 -15
- pulumi_oci/clusterplacementgroups/_inputs.py +2 -2
- pulumi_oci/clusterplacementgroups/outputs.py +2 -2
- pulumi_oci/computecloud/at_customer_ccc_upgrade_schedule.py +7 -7
- pulumi_oci/containerengine/_inputs.py +22 -22
- pulumi_oci/containerengine/container_instance.py +21 -21
- pulumi_oci/containerengine/outputs.py +22 -22
- pulumi_oci/containerengine/virtual_node_pool.py +7 -35
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +442 -668
- pulumi_oci/core/boot_volume.py +7 -7
- pulumi_oci/core/cluster_network.py +22 -22
- pulumi_oci/core/cross_connect_group.py +4 -20
- pulumi_oci/core/drg_route_table_route_rule.py +7 -0
- pulumi_oci/core/get_image.py +4 -0
- pulumi_oci/core/get_instance.py +4 -0
- pulumi_oci/core/get_ip_inventory_subnet.py +171 -0
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +171 -0
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +206 -0
- pulumi_oci/core/get_public_ip.py +4 -0
- pulumi_oci/core/get_public_ips.py +8 -0
- pulumi_oci/core/get_vtap.py +2 -0
- pulumi_oci/core/get_vtaps.py +2 -0
- pulumi_oci/core/image.py +56 -0
- pulumi_oci/core/instance.py +48 -48
- pulumi_oci/core/instance_configuration.py +70 -28
- pulumi_oci/core/instance_pool.py +7 -7
- pulumi_oci/core/ipsec_connection_tunnel_management.py +8 -8
- pulumi_oci/core/network_security_group_security_rule.py +28 -105
- pulumi_oci/core/outputs.py +1009 -668
- pulumi_oci/core/public_ip.py +8 -0
- pulumi_oci/core/vnic_attachment.py +8 -24
- pulumi_oci/core/volume.py +7 -7
- pulumi_oci/core/volume_group.py +7 -7
- pulumi_oci/core/vtap.py +14 -0
- pulumi_oci/database/_inputs.py +380 -220
- pulumi_oci/database/autonomous_database.py +21 -7
- pulumi_oci/database/autonomous_database_wallet.py +28 -0
- pulumi_oci/database/backup_destination.py +11 -11
- pulumi_oci/database/cloud_database_management.py +14 -0
- pulumi_oci/database/database.py +28 -44
- pulumi_oci/database/database_upgrade.py +4 -4
- pulumi_oci/database/db_home.py +0 -13
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_autonomous_database_wallet.py +8 -0
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +775 -389
- pulumi_oci/database/vm_cluster.py +55 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_network.py +4 -4
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/databasemanagement/_inputs.py +8 -8
- pulumi_oci/databasemanagement/outputs.py +8 -8
- pulumi_oci/databasemigration/_inputs.py +34 -34
- pulumi_oci/databasemigration/connection.py +7 -7
- pulumi_oci/databasemigration/migration.py +7 -7
- pulumi_oci/databasemigration/outputs.py +34 -34
- pulumi_oci/databasetools/_inputs.py +12 -36
- pulumi_oci/databasetools/database_tools_connection.py +4 -4
- pulumi_oci/databasetools/database_tools_private_endpoint.py +4 -4
- pulumi_oci/databasetools/outputs.py +12 -36
- pulumi_oci/dataintegration/_inputs.py +318 -330
- pulumi_oci/dataintegration/outputs.py +318 -330
- pulumi_oci/dataintegration/workspace_application.py +7 -7
- pulumi_oci/dataintegration/workspace_application_patch.py +7 -7
- pulumi_oci/dataintegration/workspace_application_schedule.py +11 -11
- pulumi_oci/dataintegration/workspace_application_task_schedule.py +29 -29
- pulumi_oci/dataintegration/workspace_folder.py +7 -7
- pulumi_oci/dataintegration/workspace_project.py +7 -7
- pulumi_oci/dataintegration/workspace_task.py +47 -47
- pulumi_oci/datalabellingservice/_inputs.py +10 -10
- pulumi_oci/datalabellingservice/outputs.py +10 -10
- pulumi_oci/datasafe/__init__.py +3 -0
- pulumi_oci/datasafe/_inputs.py +72 -80
- pulumi_oci/datasafe/library_masing_format.py +7 -7
- pulumi_oci/datasafe/masking_policies_masking_column.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +7 -7
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/datasafe/outputs.py +72 -80
- pulumi_oci/datasafe/report_definition.py +8 -24
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/target_database.py +21 -21
- pulumi_oci/datascience/_inputs.py +337 -65
- pulumi_oci/datascience/get_job_run.py +11 -1
- pulumi_oci/datascience/get_model_deployment.py +11 -1
- pulumi_oci/datascience/get_pipeline.py +3 -0
- pulumi_oci/datascience/get_pipeline_run.py +14 -1
- pulumi_oci/datascience/job_run.py +52 -3
- pulumi_oci/datascience/model_deployment.py +51 -2
- pulumi_oci/datascience/outputs.py +767 -104
- pulumi_oci/datascience/pipeline.py +34 -14
- pulumi_oci/datascience/pipeline_run.py +65 -0
- pulumi_oci/devops/_inputs.py +80 -462
- pulumi_oci/devops/deploy_stage.py +4 -4
- pulumi_oci/devops/deployment.py +7 -7
- pulumi_oci/devops/outputs.py +208 -1141
- pulumi_oci/disasterrecovery/_inputs.py +6 -6
- pulumi_oci/disasterrecovery/dr_plan_execution.py +4 -4
- pulumi_oci/disasterrecovery/dr_protection_group.py +4 -4
- pulumi_oci/disasterrecovery/outputs.py +6 -6
- pulumi_oci/dns/_inputs.py +20 -8
- pulumi_oci/dns/outputs.py +42 -8
- pulumi_oci/dns/rrset.py +7 -7
- pulumi_oci/dns/steering_policy.py +42 -0
- pulumi_oci/email/__init__.py +3 -0
- pulumi_oci/email/_inputs.py +46 -0
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +77 -0
- pulumi_oci/email/email_return_path.py +642 -0
- pulumi_oci/email/get_email_domain.py +27 -1
- pulumi_oci/email/get_email_return_path.py +274 -0
- pulumi_oci/email/get_email_return_paths.py +203 -0
- pulumi_oci/email/outputs.py +231 -0
- pulumi_oci/events/_inputs.py +4 -12
- pulumi_oci/events/outputs.py +4 -12
- pulumi_oci/events/rule.py +7 -7
- pulumi_oci/functions/_inputs.py +2 -2
- pulumi_oci/functions/outputs.py +2 -2
- pulumi_oci/goldengate/_inputs.py +2 -4
- pulumi_oci/goldengate/outputs.py +2 -4
- pulumi_oci/identity/_inputs.py +4860 -5954
- pulumi_oci/identity/domains_api_key.py +70 -70
- pulumi_oci/identity/domains_app.py +119 -140
- pulumi_oci/identity/domains_auth_token.py +21 -21
- pulumi_oci/identity/domains_cloud_gate.py +49 -49
- pulumi_oci/identity/domains_customer_secret_key.py +21 -21
- pulumi_oci/identity/domains_my_api_key.py +70 -70
- pulumi_oci/identity/domains_my_auth_token.py +21 -21
- pulumi_oci/identity/domains_my_customer_secret_key.py +21 -21
- pulumi_oci/identity/domains_my_oauth2client_credential.py +49 -70
- pulumi_oci/identity/domains_my_smtp_credential.py +21 -21
- pulumi_oci/identity/domains_my_support_account.py +21 -21
- pulumi_oci/identity/domains_my_user_db_credential.py +37 -41
- pulumi_oci/identity/domains_oauth2client_credential.py +49 -70
- pulumi_oci/identity/domains_policy.py +35 -49
- pulumi_oci/identity/domains_rule.py +28 -21
- pulumi_oci/identity/domains_setting.py +35 -21
- pulumi_oci/identity/domains_smtp_credential.py +21 -21
- pulumi_oci/identity/domains_user.py +189 -175
- pulumi_oci/identity/domains_user_db_credential.py +37 -41
- pulumi_oci/identity/outputs.py +4913 -6007
- pulumi_oci/integration/_inputs.py +4 -0
- pulumi_oci/integration/outputs.py +16 -4
- pulumi_oci/jms/_inputs.py +0 -8
- pulumi_oci/jms/outputs.py +0 -8
- pulumi_oci/kms/_inputs.py +6 -6
- pulumi_oci/kms/outputs.py +6 -6
- pulumi_oci/loadbalancer/_inputs.py +30 -30
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/load_balancer_routing_policy.py +7 -35
- pulumi_oci/loadbalancer/outputs.py +28 -30
- pulumi_oci/loganalytics/_inputs.py +26 -34
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/loganalytics/outputs.py +26 -34
- pulumi_oci/logging/_inputs.py +60 -60
- pulumi_oci/logging/outputs.py +60 -60
- pulumi_oci/managementagent/_inputs.py +2 -46
- pulumi_oci/managementagent/outputs.py +2 -46
- pulumi_oci/marketplace/_inputs.py +6 -6
- pulumi_oci/marketplace/outputs.py +6 -6
- pulumi_oci/marketplace/publication.py +11 -11
- pulumi_oci/mediaservices/_inputs.py +8 -32
- pulumi_oci/mediaservices/media_asset.py +18 -18
- pulumi_oci/mediaservices/media_workflow.py +22 -38
- pulumi_oci/mediaservices/media_workflow_configuration.py +11 -11
- pulumi_oci/mediaservices/media_workflow_job.py +11 -11
- pulumi_oci/mediaservices/outputs.py +8 -32
- pulumi_oci/mediaservices/stream_cdn_config.py +4 -4
- pulumi_oci/mediaservices/stream_distribution_channel.py +11 -11
- pulumi_oci/mediaservices/stream_packaging_config.py +4 -4
- pulumi_oci/meteringcomputation/_inputs.py +2 -2
- pulumi_oci/meteringcomputation/outputs.py +2 -2
- pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +4 -4
- pulumi_oci/monitoring/_inputs.py +4 -4
- pulumi_oci/monitoring/alarm.py +21 -0
- pulumi_oci/monitoring/get_alarm.py +3 -0
- pulumi_oci/monitoring/outputs.py +10 -4
- pulumi_oci/mysql/_inputs.py +30 -22
- pulumi_oci/mysql/outputs.py +30 -22
- pulumi_oci/mysql/replica.py +12 -28
- pulumi_oci/networkfirewall/get_network_firewall_policy_mapped_secret.py +2 -0
- pulumi_oci/networkfirewall/network_firewall_policy_mapped_secret.py +14 -0
- pulumi_oci/networkfirewall/outputs.py +4 -0
- pulumi_oci/networkloadbalancer/_inputs.py +10 -26
- pulumi_oci/networkloadbalancer/get_listener.py +14 -1
- pulumi_oci/networkloadbalancer/listener.py +51 -2
- pulumi_oci/networkloadbalancer/outputs.py +21 -26
- pulumi_oci/nosql/_inputs.py +4 -12
- pulumi_oci/nosql/outputs.py +4 -12
- pulumi_oci/objectstorage/_inputs.py +4 -4
- pulumi_oci/objectstorage/outputs.py +4 -4
- pulumi_oci/ocvp/_inputs.py +86 -42
- pulumi_oci/ocvp/get_retrieve_password.py +1 -0
- pulumi_oci/ocvp/outputs.py +86 -42
- pulumi_oci/ocvp/sddc.py +49 -77
- pulumi_oci/ons/subscription.py +63 -0
- pulumi_oci/opa/_inputs.py +6 -2
- pulumi_oci/opa/outputs.py +18 -6
- pulumi_oci/opsi/_inputs.py +6 -6
- pulumi_oci/opsi/exadata_insight.py +28 -28
- pulumi_oci/opsi/outputs.py +6 -6
- pulumi_oci/optimizer/_inputs.py +4 -4
- pulumi_oci/optimizer/outputs.py +4 -4
- pulumi_oci/osmanagement/_inputs.py +2 -10
- pulumi_oci/osmanagement/outputs.py +2 -10
- pulumi_oci/osmanagementhub/__init__.py +48 -0
- pulumi_oci/osmanagementhub/_inputs.py +3651 -493
- pulumi_oci/osmanagementhub/event.py +733 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +178 -0
- pulumi_oci/osmanagementhub/get_errata.py +283 -0
- pulumi_oci/osmanagementhub/get_erratum.py +308 -0
- pulumi_oci/osmanagementhub/get_event.py +322 -0
- pulumi_oci/osmanagementhub/get_events.py +322 -0
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +26 -13
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +48 -11
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +28 -15
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +86 -19
- pulumi_oci/osmanagementhub/get_managed_instance.py +587 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +190 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +238 -0
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +62 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +7 -9
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +8 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +220 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +244 -0
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +71 -16
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instances.py +537 -0
- pulumi_oci/osmanagementhub/get_management_station.py +42 -19
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +51 -12
- pulumi_oci/osmanagementhub/get_profiles.py +76 -16
- pulumi_oci/osmanagementhub/get_scheduled_job.py +426 -0
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +433 -0
- pulumi_oci/osmanagementhub/get_software_package.py +301 -0
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +329 -0
- pulumi_oci/osmanagementhub/get_software_packages.py +232 -0
- pulumi_oci/osmanagementhub/get_software_source.py +109 -18
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +23 -10
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +78 -21
- pulumi_oci/osmanagementhub/get_windows_update.py +222 -0
- pulumi_oci/osmanagementhub/get_windows_updates.py +187 -0
- pulumi_oci/osmanagementhub/lifecycle_environment.py +159 -86
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +296 -0
- pulumi_oci/osmanagementhub/managed_instance.py +1327 -0
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +266 -0
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +214 -0
- pulumi_oci/osmanagementhub/managed_instance_group.py +264 -86
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +264 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +526 -0
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +292 -0
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +341 -0
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +341 -0
- pulumi_oci/osmanagementhub/management_station.py +184 -81
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +264 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +212 -0
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +264 -0
- pulumi_oci/osmanagementhub/outputs.py +10899 -2365
- pulumi_oci/osmanagementhub/profile.py +200 -78
- pulumi_oci/osmanagementhub/scheduled_job.py +1331 -0
- pulumi_oci/osmanagementhub/software_source.py +365 -181
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +266 -0
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +194 -0
- pulumi_oci/ospgateway/_inputs.py +96 -96
- pulumi_oci/ospgateway/outputs.py +96 -96
- pulumi_oci/ospgateway/subscription.py +80 -80
- pulumi_oci/psql/_inputs.py +10 -18
- pulumi_oci/psql/db_system.py +14 -14
- pulumi_oci/psql/outputs.py +10 -18
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/queue/get_queue.py +9 -9
- pulumi_oci/queue/outputs.py +5 -5
- pulumi_oci/queue/queue.py +77 -26
- pulumi_oci/sch/_inputs.py +26 -26
- pulumi_oci/sch/connector.py +7 -7
- pulumi_oci/sch/outputs.py +26 -26
- pulumi_oci/servicecatalog/private_application.py +4 -4
- pulumi_oci/servicemesh/_inputs.py +8 -24
- pulumi_oci/servicemesh/ingress_gateway_route_table.py +7 -7
- pulumi_oci/servicemesh/outputs.py +8 -24
- pulumi_oci/stackmonitoring/_inputs.py +40 -56
- pulumi_oci/stackmonitoring/metric_extension.py +18 -18
- pulumi_oci/stackmonitoring/monitored_resource.py +7 -7
- pulumi_oci/stackmonitoring/outputs.py +40 -56
- pulumi_oci/visualbuilder/_inputs.py +6 -2
- pulumi_oci/visualbuilder/outputs.py +18 -6
- pulumi_oci/vnmonitoring/_inputs.py +10 -42
- pulumi_oci/vnmonitoring/outputs.py +10 -42
- pulumi_oci/vulnerabilityscanning/_inputs.py +4 -4
- pulumi_oci/vulnerabilityscanning/container_scan_target.py +7 -7
- pulumi_oci/vulnerabilityscanning/outputs.py +4 -4
- pulumi_oci/waas/_inputs.py +133 -205
- pulumi_oci/waas/outputs.py +133 -205
- pulumi_oci/waas/policy.py +7 -7
- pulumi_oci/waas/protection_rule.py +7 -7
- pulumi_oci/waf/_inputs.py +36 -30
- pulumi_oci/waf/network_address_list.py +7 -7
- pulumi_oci/waf/outputs.py +36 -30
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.37.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.37.0.dist-info}/RECORD +405 -339
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.37.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.37.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1331 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['ScheduledJobArgs', 'ScheduledJob']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class ScheduledJobArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
compartment_id: pulumi.Input[str],
|
20
|
+
operations: pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]],
|
21
|
+
schedule_type: pulumi.Input[str],
|
22
|
+
time_next_execution: pulumi.Input[str],
|
23
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
|
+
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
26
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
27
|
+
is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
|
28
|
+
is_subcompartment_included: Optional[pulumi.Input[bool]] = None,
|
29
|
+
lifecycle_stage_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
31
|
+
managed_compartment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
32
|
+
managed_instance_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
+
managed_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
34
|
+
recurring_rule: Optional[pulumi.Input[str]] = None,
|
35
|
+
retry_intervals: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None):
|
36
|
+
"""
|
37
|
+
The set of arguments for constructing a ScheduledJob resource.
|
38
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]] operations: (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
40
|
+
* UPDATE_PACKAGES
|
41
|
+
* UPDATE_ALL
|
42
|
+
* UPDATE_SECURITY
|
43
|
+
* UPDATE_BUGFIX
|
44
|
+
* UPDATE_ENHANCEMENT
|
45
|
+
* UPDATE_OTHER
|
46
|
+
* UPDATE_KSPLICE_USERSPACE
|
47
|
+
* UPDATE_KSPLICE_KERNEL
|
48
|
+
:param pulumi.Input[str] schedule_type: (Updatable) The type of scheduling frequency for the scheduled job.
|
49
|
+
:param pulumi.Input[str] time_next_execution: (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
50
|
+
|
51
|
+
|
52
|
+
** IMPORTANT **
|
53
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
54
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
55
|
+
:param pulumi.Input[str] description: (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
56
|
+
:param pulumi.Input[str] display_name: (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
57
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
58
|
+
:param pulumi.Input[bool] is_managed_by_autonomous_linux: Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
59
|
+
:param pulumi.Input[bool] is_subcompartment_included: Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
60
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_stage_ids: The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
61
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
62
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_compartment_ids: The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
63
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_group_ids: The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_ids: The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
65
|
+
:param pulumi.Input[str] recurring_rule: (Updatable) The frequency schedule for a recurring scheduled job.
|
66
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] retry_intervals: (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
67
|
+
"""
|
68
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
69
|
+
pulumi.set(__self__, "operations", operations)
|
70
|
+
pulumi.set(__self__, "schedule_type", schedule_type)
|
71
|
+
pulumi.set(__self__, "time_next_execution", time_next_execution)
|
72
|
+
if defined_tags is not None:
|
73
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
74
|
+
if description is not None:
|
75
|
+
pulumi.set(__self__, "description", description)
|
76
|
+
if display_name is not None:
|
77
|
+
pulumi.set(__self__, "display_name", display_name)
|
78
|
+
if freeform_tags is not None:
|
79
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
80
|
+
if is_managed_by_autonomous_linux is not None:
|
81
|
+
pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
|
82
|
+
if is_subcompartment_included is not None:
|
83
|
+
pulumi.set(__self__, "is_subcompartment_included", is_subcompartment_included)
|
84
|
+
if lifecycle_stage_ids is not None:
|
85
|
+
pulumi.set(__self__, "lifecycle_stage_ids", lifecycle_stage_ids)
|
86
|
+
if locations is not None:
|
87
|
+
pulumi.set(__self__, "locations", locations)
|
88
|
+
if managed_compartment_ids is not None:
|
89
|
+
pulumi.set(__self__, "managed_compartment_ids", managed_compartment_ids)
|
90
|
+
if managed_instance_group_ids is not None:
|
91
|
+
pulumi.set(__self__, "managed_instance_group_ids", managed_instance_group_ids)
|
92
|
+
if managed_instance_ids is not None:
|
93
|
+
pulumi.set(__self__, "managed_instance_ids", managed_instance_ids)
|
94
|
+
if recurring_rule is not None:
|
95
|
+
pulumi.set(__self__, "recurring_rule", recurring_rule)
|
96
|
+
if retry_intervals is not None:
|
97
|
+
pulumi.set(__self__, "retry_intervals", retry_intervals)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="compartmentId")
|
101
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
102
|
+
"""
|
103
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "compartment_id")
|
106
|
+
|
107
|
+
@compartment_id.setter
|
108
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
109
|
+
pulumi.set(self, "compartment_id", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def operations(self) -> pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]]:
|
114
|
+
"""
|
115
|
+
(Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
116
|
+
* UPDATE_PACKAGES
|
117
|
+
* UPDATE_ALL
|
118
|
+
* UPDATE_SECURITY
|
119
|
+
* UPDATE_BUGFIX
|
120
|
+
* UPDATE_ENHANCEMENT
|
121
|
+
* UPDATE_OTHER
|
122
|
+
* UPDATE_KSPLICE_USERSPACE
|
123
|
+
* UPDATE_KSPLICE_KERNEL
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "operations")
|
126
|
+
|
127
|
+
@operations.setter
|
128
|
+
def operations(self, value: pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]]):
|
129
|
+
pulumi.set(self, "operations", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="scheduleType")
|
133
|
+
def schedule_type(self) -> pulumi.Input[str]:
|
134
|
+
"""
|
135
|
+
(Updatable) The type of scheduling frequency for the scheduled job.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "schedule_type")
|
138
|
+
|
139
|
+
@schedule_type.setter
|
140
|
+
def schedule_type(self, value: pulumi.Input[str]):
|
141
|
+
pulumi.set(self, "schedule_type", value)
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="timeNextExecution")
|
145
|
+
def time_next_execution(self) -> pulumi.Input[str]:
|
146
|
+
"""
|
147
|
+
(Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
148
|
+
|
149
|
+
|
150
|
+
** IMPORTANT **
|
151
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "time_next_execution")
|
154
|
+
|
155
|
+
@time_next_execution.setter
|
156
|
+
def time_next_execution(self, value: pulumi.Input[str]):
|
157
|
+
pulumi.set(self, "time_next_execution", value)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="definedTags")
|
161
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
162
|
+
"""
|
163
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "defined_tags")
|
166
|
+
|
167
|
+
@defined_tags.setter
|
168
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
169
|
+
pulumi.set(self, "defined_tags", value)
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
174
|
+
"""
|
175
|
+
(Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "description")
|
178
|
+
|
179
|
+
@description.setter
|
180
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
181
|
+
pulumi.set(self, "description", value)
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter(name="displayName")
|
185
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
186
|
+
"""
|
187
|
+
(Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "display_name")
|
190
|
+
|
191
|
+
@display_name.setter
|
192
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
193
|
+
pulumi.set(self, "display_name", value)
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="freeformTags")
|
197
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
198
|
+
"""
|
199
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "freeform_tags")
|
202
|
+
|
203
|
+
@freeform_tags.setter
|
204
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
205
|
+
pulumi.set(self, "freeform_tags", value)
|
206
|
+
|
207
|
+
@property
|
208
|
+
@pulumi.getter(name="isManagedByAutonomousLinux")
|
209
|
+
def is_managed_by_autonomous_linux(self) -> Optional[pulumi.Input[bool]]:
|
210
|
+
"""
|
211
|
+
Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
214
|
+
|
215
|
+
@is_managed_by_autonomous_linux.setter
|
216
|
+
def is_managed_by_autonomous_linux(self, value: Optional[pulumi.Input[bool]]):
|
217
|
+
pulumi.set(self, "is_managed_by_autonomous_linux", value)
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="isSubcompartmentIncluded")
|
221
|
+
def is_subcompartment_included(self) -> Optional[pulumi.Input[bool]]:
|
222
|
+
"""
|
223
|
+
Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "is_subcompartment_included")
|
226
|
+
|
227
|
+
@is_subcompartment_included.setter
|
228
|
+
def is_subcompartment_included(self, value: Optional[pulumi.Input[bool]]):
|
229
|
+
pulumi.set(self, "is_subcompartment_included", value)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter(name="lifecycleStageIds")
|
233
|
+
def lifecycle_stage_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
234
|
+
"""
|
235
|
+
The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
236
|
+
"""
|
237
|
+
return pulumi.get(self, "lifecycle_stage_ids")
|
238
|
+
|
239
|
+
@lifecycle_stage_ids.setter
|
240
|
+
def lifecycle_stage_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
241
|
+
pulumi.set(self, "lifecycle_stage_ids", value)
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter
|
245
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
246
|
+
"""
|
247
|
+
The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "locations")
|
250
|
+
|
251
|
+
@locations.setter
|
252
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
253
|
+
pulumi.set(self, "locations", value)
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter(name="managedCompartmentIds")
|
257
|
+
def managed_compartment_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
258
|
+
"""
|
259
|
+
The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "managed_compartment_ids")
|
262
|
+
|
263
|
+
@managed_compartment_ids.setter
|
264
|
+
def managed_compartment_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
265
|
+
pulumi.set(self, "managed_compartment_ids", value)
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="managedInstanceGroupIds")
|
269
|
+
def managed_instance_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
270
|
+
"""
|
271
|
+
The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "managed_instance_group_ids")
|
274
|
+
|
275
|
+
@managed_instance_group_ids.setter
|
276
|
+
def managed_instance_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
277
|
+
pulumi.set(self, "managed_instance_group_ids", value)
|
278
|
+
|
279
|
+
@property
|
280
|
+
@pulumi.getter(name="managedInstanceIds")
|
281
|
+
def managed_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
282
|
+
"""
|
283
|
+
The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
284
|
+
"""
|
285
|
+
return pulumi.get(self, "managed_instance_ids")
|
286
|
+
|
287
|
+
@managed_instance_ids.setter
|
288
|
+
def managed_instance_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
289
|
+
pulumi.set(self, "managed_instance_ids", value)
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="recurringRule")
|
293
|
+
def recurring_rule(self) -> Optional[pulumi.Input[str]]:
|
294
|
+
"""
|
295
|
+
(Updatable) The frequency schedule for a recurring scheduled job.
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "recurring_rule")
|
298
|
+
|
299
|
+
@recurring_rule.setter
|
300
|
+
def recurring_rule(self, value: Optional[pulumi.Input[str]]):
|
301
|
+
pulumi.set(self, "recurring_rule", value)
|
302
|
+
|
303
|
+
@property
|
304
|
+
@pulumi.getter(name="retryIntervals")
|
305
|
+
def retry_intervals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
306
|
+
"""
|
307
|
+
(Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
308
|
+
"""
|
309
|
+
return pulumi.get(self, "retry_intervals")
|
310
|
+
|
311
|
+
@retry_intervals.setter
|
312
|
+
def retry_intervals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
313
|
+
pulumi.set(self, "retry_intervals", value)
|
314
|
+
|
315
|
+
|
316
|
+
@pulumi.input_type
|
317
|
+
class _ScheduledJobState:
|
318
|
+
def __init__(__self__, *,
|
319
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
320
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
321
|
+
description: Optional[pulumi.Input[str]] = None,
|
322
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
323
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
324
|
+
is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
|
325
|
+
is_restricted: Optional[pulumi.Input[bool]] = None,
|
326
|
+
is_subcompartment_included: Optional[pulumi.Input[bool]] = None,
|
327
|
+
lifecycle_stage_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
328
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
329
|
+
managed_compartment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
330
|
+
managed_instance_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
331
|
+
managed_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
332
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]]] = None,
|
333
|
+
recurring_rule: Optional[pulumi.Input[str]] = None,
|
334
|
+
retry_intervals: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
335
|
+
schedule_type: Optional[pulumi.Input[str]] = None,
|
336
|
+
state: Optional[pulumi.Input[str]] = None,
|
337
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
338
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
339
|
+
time_last_execution: Optional[pulumi.Input[str]] = None,
|
340
|
+
time_next_execution: Optional[pulumi.Input[str]] = None,
|
341
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
342
|
+
work_request_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
343
|
+
"""
|
344
|
+
Input properties used for looking up and filtering ScheduledJob resources.
|
345
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
346
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
347
|
+
:param pulumi.Input[str] description: (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
348
|
+
:param pulumi.Input[str] display_name: (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
349
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
350
|
+
:param pulumi.Input[bool] is_managed_by_autonomous_linux: Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
351
|
+
:param pulumi.Input[bool] is_restricted: Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
|
352
|
+
:param pulumi.Input[bool] is_subcompartment_included: Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
353
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_stage_ids: The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
354
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
355
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_compartment_ids: The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
356
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_group_ids: The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
357
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_ids: The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
358
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]] operations: (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
359
|
+
* UPDATE_PACKAGES
|
360
|
+
* UPDATE_ALL
|
361
|
+
* UPDATE_SECURITY
|
362
|
+
* UPDATE_BUGFIX
|
363
|
+
* UPDATE_ENHANCEMENT
|
364
|
+
* UPDATE_OTHER
|
365
|
+
* UPDATE_KSPLICE_USERSPACE
|
366
|
+
* UPDATE_KSPLICE_KERNEL
|
367
|
+
:param pulumi.Input[str] recurring_rule: (Updatable) The frequency schedule for a recurring scheduled job.
|
368
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] retry_intervals: (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
369
|
+
:param pulumi.Input[str] schedule_type: (Updatable) The type of scheduling frequency for the scheduled job.
|
370
|
+
:param pulumi.Input[str] state: The current state of the scheduled job.
|
371
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
372
|
+
:param pulumi.Input[str] time_created: The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
373
|
+
:param pulumi.Input[str] time_last_execution: The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
374
|
+
:param pulumi.Input[str] time_next_execution: (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
375
|
+
|
376
|
+
|
377
|
+
** IMPORTANT **
|
378
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
379
|
+
:param pulumi.Input[str] time_updated: The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
380
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] work_request_ids: The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
|
381
|
+
"""
|
382
|
+
if compartment_id is not None:
|
383
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
384
|
+
if defined_tags is not None:
|
385
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
386
|
+
if description is not None:
|
387
|
+
pulumi.set(__self__, "description", description)
|
388
|
+
if display_name is not None:
|
389
|
+
pulumi.set(__self__, "display_name", display_name)
|
390
|
+
if freeform_tags is not None:
|
391
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
392
|
+
if is_managed_by_autonomous_linux is not None:
|
393
|
+
pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
|
394
|
+
if is_restricted is not None:
|
395
|
+
pulumi.set(__self__, "is_restricted", is_restricted)
|
396
|
+
if is_subcompartment_included is not None:
|
397
|
+
pulumi.set(__self__, "is_subcompartment_included", is_subcompartment_included)
|
398
|
+
if lifecycle_stage_ids is not None:
|
399
|
+
pulumi.set(__self__, "lifecycle_stage_ids", lifecycle_stage_ids)
|
400
|
+
if locations is not None:
|
401
|
+
pulumi.set(__self__, "locations", locations)
|
402
|
+
if managed_compartment_ids is not None:
|
403
|
+
pulumi.set(__self__, "managed_compartment_ids", managed_compartment_ids)
|
404
|
+
if managed_instance_group_ids is not None:
|
405
|
+
pulumi.set(__self__, "managed_instance_group_ids", managed_instance_group_ids)
|
406
|
+
if managed_instance_ids is not None:
|
407
|
+
pulumi.set(__self__, "managed_instance_ids", managed_instance_ids)
|
408
|
+
if operations is not None:
|
409
|
+
pulumi.set(__self__, "operations", operations)
|
410
|
+
if recurring_rule is not None:
|
411
|
+
pulumi.set(__self__, "recurring_rule", recurring_rule)
|
412
|
+
if retry_intervals is not None:
|
413
|
+
pulumi.set(__self__, "retry_intervals", retry_intervals)
|
414
|
+
if schedule_type is not None:
|
415
|
+
pulumi.set(__self__, "schedule_type", schedule_type)
|
416
|
+
if state is not None:
|
417
|
+
pulumi.set(__self__, "state", state)
|
418
|
+
if system_tags is not None:
|
419
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
420
|
+
if time_created is not None:
|
421
|
+
pulumi.set(__self__, "time_created", time_created)
|
422
|
+
if time_last_execution is not None:
|
423
|
+
pulumi.set(__self__, "time_last_execution", time_last_execution)
|
424
|
+
if time_next_execution is not None:
|
425
|
+
pulumi.set(__self__, "time_next_execution", time_next_execution)
|
426
|
+
if time_updated is not None:
|
427
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
428
|
+
if work_request_ids is not None:
|
429
|
+
pulumi.set(__self__, "work_request_ids", work_request_ids)
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="compartmentId")
|
433
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
434
|
+
"""
|
435
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "compartment_id")
|
438
|
+
|
439
|
+
@compartment_id.setter
|
440
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
441
|
+
pulumi.set(self, "compartment_id", value)
|
442
|
+
|
443
|
+
@property
|
444
|
+
@pulumi.getter(name="definedTags")
|
445
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
446
|
+
"""
|
447
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
448
|
+
"""
|
449
|
+
return pulumi.get(self, "defined_tags")
|
450
|
+
|
451
|
+
@defined_tags.setter
|
452
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
453
|
+
pulumi.set(self, "defined_tags", value)
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter
|
457
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
458
|
+
"""
|
459
|
+
(Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "description")
|
462
|
+
|
463
|
+
@description.setter
|
464
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
465
|
+
pulumi.set(self, "description", value)
|
466
|
+
|
467
|
+
@property
|
468
|
+
@pulumi.getter(name="displayName")
|
469
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
470
|
+
"""
|
471
|
+
(Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
472
|
+
"""
|
473
|
+
return pulumi.get(self, "display_name")
|
474
|
+
|
475
|
+
@display_name.setter
|
476
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
477
|
+
pulumi.set(self, "display_name", value)
|
478
|
+
|
479
|
+
@property
|
480
|
+
@pulumi.getter(name="freeformTags")
|
481
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
482
|
+
"""
|
483
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "freeform_tags")
|
486
|
+
|
487
|
+
@freeform_tags.setter
|
488
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
489
|
+
pulumi.set(self, "freeform_tags", value)
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter(name="isManagedByAutonomousLinux")
|
493
|
+
def is_managed_by_autonomous_linux(self) -> Optional[pulumi.Input[bool]]:
|
494
|
+
"""
|
495
|
+
Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
498
|
+
|
499
|
+
@is_managed_by_autonomous_linux.setter
|
500
|
+
def is_managed_by_autonomous_linux(self, value: Optional[pulumi.Input[bool]]):
|
501
|
+
pulumi.set(self, "is_managed_by_autonomous_linux", value)
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter(name="isRestricted")
|
505
|
+
def is_restricted(self) -> Optional[pulumi.Input[bool]]:
|
506
|
+
"""
|
507
|
+
Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
|
508
|
+
"""
|
509
|
+
return pulumi.get(self, "is_restricted")
|
510
|
+
|
511
|
+
@is_restricted.setter
|
512
|
+
def is_restricted(self, value: Optional[pulumi.Input[bool]]):
|
513
|
+
pulumi.set(self, "is_restricted", value)
|
514
|
+
|
515
|
+
@property
|
516
|
+
@pulumi.getter(name="isSubcompartmentIncluded")
|
517
|
+
def is_subcompartment_included(self) -> Optional[pulumi.Input[bool]]:
|
518
|
+
"""
|
519
|
+
Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
520
|
+
"""
|
521
|
+
return pulumi.get(self, "is_subcompartment_included")
|
522
|
+
|
523
|
+
@is_subcompartment_included.setter
|
524
|
+
def is_subcompartment_included(self, value: Optional[pulumi.Input[bool]]):
|
525
|
+
pulumi.set(self, "is_subcompartment_included", value)
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter(name="lifecycleStageIds")
|
529
|
+
def lifecycle_stage_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
530
|
+
"""
|
531
|
+
The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
532
|
+
"""
|
533
|
+
return pulumi.get(self, "lifecycle_stage_ids")
|
534
|
+
|
535
|
+
@lifecycle_stage_ids.setter
|
536
|
+
def lifecycle_stage_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
537
|
+
pulumi.set(self, "lifecycle_stage_ids", value)
|
538
|
+
|
539
|
+
@property
|
540
|
+
@pulumi.getter
|
541
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
542
|
+
"""
|
543
|
+
The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
544
|
+
"""
|
545
|
+
return pulumi.get(self, "locations")
|
546
|
+
|
547
|
+
@locations.setter
|
548
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
549
|
+
pulumi.set(self, "locations", value)
|
550
|
+
|
551
|
+
@property
|
552
|
+
@pulumi.getter(name="managedCompartmentIds")
|
553
|
+
def managed_compartment_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
554
|
+
"""
|
555
|
+
The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
556
|
+
"""
|
557
|
+
return pulumi.get(self, "managed_compartment_ids")
|
558
|
+
|
559
|
+
@managed_compartment_ids.setter
|
560
|
+
def managed_compartment_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
561
|
+
pulumi.set(self, "managed_compartment_ids", value)
|
562
|
+
|
563
|
+
@property
|
564
|
+
@pulumi.getter(name="managedInstanceGroupIds")
|
565
|
+
def managed_instance_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
566
|
+
"""
|
567
|
+
The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
568
|
+
"""
|
569
|
+
return pulumi.get(self, "managed_instance_group_ids")
|
570
|
+
|
571
|
+
@managed_instance_group_ids.setter
|
572
|
+
def managed_instance_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
573
|
+
pulumi.set(self, "managed_instance_group_ids", value)
|
574
|
+
|
575
|
+
@property
|
576
|
+
@pulumi.getter(name="managedInstanceIds")
|
577
|
+
def managed_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
578
|
+
"""
|
579
|
+
The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
580
|
+
"""
|
581
|
+
return pulumi.get(self, "managed_instance_ids")
|
582
|
+
|
583
|
+
@managed_instance_ids.setter
|
584
|
+
def managed_instance_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
585
|
+
pulumi.set(self, "managed_instance_ids", value)
|
586
|
+
|
587
|
+
@property
|
588
|
+
@pulumi.getter
|
589
|
+
def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]]]:
|
590
|
+
"""
|
591
|
+
(Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
592
|
+
* UPDATE_PACKAGES
|
593
|
+
* UPDATE_ALL
|
594
|
+
* UPDATE_SECURITY
|
595
|
+
* UPDATE_BUGFIX
|
596
|
+
* UPDATE_ENHANCEMENT
|
597
|
+
* UPDATE_OTHER
|
598
|
+
* UPDATE_KSPLICE_USERSPACE
|
599
|
+
* UPDATE_KSPLICE_KERNEL
|
600
|
+
"""
|
601
|
+
return pulumi.get(self, "operations")
|
602
|
+
|
603
|
+
@operations.setter
|
604
|
+
def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledJobOperationArgs']]]]):
|
605
|
+
pulumi.set(self, "operations", value)
|
606
|
+
|
607
|
+
@property
|
608
|
+
@pulumi.getter(name="recurringRule")
|
609
|
+
def recurring_rule(self) -> Optional[pulumi.Input[str]]:
|
610
|
+
"""
|
611
|
+
(Updatable) The frequency schedule for a recurring scheduled job.
|
612
|
+
"""
|
613
|
+
return pulumi.get(self, "recurring_rule")
|
614
|
+
|
615
|
+
@recurring_rule.setter
|
616
|
+
def recurring_rule(self, value: Optional[pulumi.Input[str]]):
|
617
|
+
pulumi.set(self, "recurring_rule", value)
|
618
|
+
|
619
|
+
@property
|
620
|
+
@pulumi.getter(name="retryIntervals")
|
621
|
+
def retry_intervals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
622
|
+
"""
|
623
|
+
(Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
624
|
+
"""
|
625
|
+
return pulumi.get(self, "retry_intervals")
|
626
|
+
|
627
|
+
@retry_intervals.setter
|
628
|
+
def retry_intervals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
629
|
+
pulumi.set(self, "retry_intervals", value)
|
630
|
+
|
631
|
+
@property
|
632
|
+
@pulumi.getter(name="scheduleType")
|
633
|
+
def schedule_type(self) -> Optional[pulumi.Input[str]]:
|
634
|
+
"""
|
635
|
+
(Updatable) The type of scheduling frequency for the scheduled job.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "schedule_type")
|
638
|
+
|
639
|
+
@schedule_type.setter
|
640
|
+
def schedule_type(self, value: Optional[pulumi.Input[str]]):
|
641
|
+
pulumi.set(self, "schedule_type", value)
|
642
|
+
|
643
|
+
@property
|
644
|
+
@pulumi.getter
|
645
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
646
|
+
"""
|
647
|
+
The current state of the scheduled job.
|
648
|
+
"""
|
649
|
+
return pulumi.get(self, "state")
|
650
|
+
|
651
|
+
@state.setter
|
652
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
653
|
+
pulumi.set(self, "state", value)
|
654
|
+
|
655
|
+
@property
|
656
|
+
@pulumi.getter(name="systemTags")
|
657
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
658
|
+
"""
|
659
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
660
|
+
"""
|
661
|
+
return pulumi.get(self, "system_tags")
|
662
|
+
|
663
|
+
@system_tags.setter
|
664
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
665
|
+
pulumi.set(self, "system_tags", value)
|
666
|
+
|
667
|
+
@property
|
668
|
+
@pulumi.getter(name="timeCreated")
|
669
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
670
|
+
"""
|
671
|
+
The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
672
|
+
"""
|
673
|
+
return pulumi.get(self, "time_created")
|
674
|
+
|
675
|
+
@time_created.setter
|
676
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
677
|
+
pulumi.set(self, "time_created", value)
|
678
|
+
|
679
|
+
@property
|
680
|
+
@pulumi.getter(name="timeLastExecution")
|
681
|
+
def time_last_execution(self) -> Optional[pulumi.Input[str]]:
|
682
|
+
"""
|
683
|
+
The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
684
|
+
"""
|
685
|
+
return pulumi.get(self, "time_last_execution")
|
686
|
+
|
687
|
+
@time_last_execution.setter
|
688
|
+
def time_last_execution(self, value: Optional[pulumi.Input[str]]):
|
689
|
+
pulumi.set(self, "time_last_execution", value)
|
690
|
+
|
691
|
+
@property
|
692
|
+
@pulumi.getter(name="timeNextExecution")
|
693
|
+
def time_next_execution(self) -> Optional[pulumi.Input[str]]:
|
694
|
+
"""
|
695
|
+
(Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
696
|
+
|
697
|
+
|
698
|
+
** IMPORTANT **
|
699
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
700
|
+
"""
|
701
|
+
return pulumi.get(self, "time_next_execution")
|
702
|
+
|
703
|
+
@time_next_execution.setter
|
704
|
+
def time_next_execution(self, value: Optional[pulumi.Input[str]]):
|
705
|
+
pulumi.set(self, "time_next_execution", value)
|
706
|
+
|
707
|
+
@property
|
708
|
+
@pulumi.getter(name="timeUpdated")
|
709
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
710
|
+
"""
|
711
|
+
The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
712
|
+
"""
|
713
|
+
return pulumi.get(self, "time_updated")
|
714
|
+
|
715
|
+
@time_updated.setter
|
716
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
717
|
+
pulumi.set(self, "time_updated", value)
|
718
|
+
|
719
|
+
@property
|
720
|
+
@pulumi.getter(name="workRequestIds")
|
721
|
+
def work_request_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
722
|
+
"""
|
723
|
+
The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
|
724
|
+
"""
|
725
|
+
return pulumi.get(self, "work_request_ids")
|
726
|
+
|
727
|
+
@work_request_ids.setter
|
728
|
+
def work_request_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
729
|
+
pulumi.set(self, "work_request_ids", value)
|
730
|
+
|
731
|
+
|
732
|
+
class ScheduledJob(pulumi.CustomResource):
|
733
|
+
@overload
|
734
|
+
def __init__(__self__,
|
735
|
+
resource_name: str,
|
736
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
737
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
738
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
739
|
+
description: Optional[pulumi.Input[str]] = None,
|
740
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
741
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
742
|
+
is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
|
743
|
+
is_subcompartment_included: Optional[pulumi.Input[bool]] = None,
|
744
|
+
lifecycle_stage_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
745
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
746
|
+
managed_compartment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
747
|
+
managed_instance_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
748
|
+
managed_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
749
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScheduledJobOperationArgs']]]]] = None,
|
750
|
+
recurring_rule: Optional[pulumi.Input[str]] = None,
|
751
|
+
retry_intervals: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
752
|
+
schedule_type: Optional[pulumi.Input[str]] = None,
|
753
|
+
time_next_execution: Optional[pulumi.Input[str]] = None,
|
754
|
+
__props__=None):
|
755
|
+
"""
|
756
|
+
This resource provides the Scheduled Job resource in Oracle Cloud Infrastructure Os Management Hub service.
|
757
|
+
|
758
|
+
Creates a new scheduled job.
|
759
|
+
|
760
|
+
## Example Usage
|
761
|
+
|
762
|
+
```python
|
763
|
+
import pulumi
|
764
|
+
import pulumi_oci as oci
|
765
|
+
|
766
|
+
test_scheduled_job = oci.os_management_hub.ScheduledJob("test_scheduled_job",
|
767
|
+
compartment_id=compartment_id,
|
768
|
+
operations=[oci.os_management_hub.ScheduledJobOperationArgs(
|
769
|
+
operation_type=scheduled_job_operations_operation_type,
|
770
|
+
manage_module_streams_details=oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsArgs(
|
771
|
+
disables=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs(
|
772
|
+
module_name=scheduled_job_operations_manage_module_streams_details_disable_module_name,
|
773
|
+
stream_name=test_stream["name"],
|
774
|
+
software_source_id=test_software_source["id"],
|
775
|
+
)],
|
776
|
+
enables=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs(
|
777
|
+
module_name=scheduled_job_operations_manage_module_streams_details_enable_module_name,
|
778
|
+
stream_name=test_stream["name"],
|
779
|
+
software_source_id=test_software_source["id"],
|
780
|
+
)],
|
781
|
+
installs=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs(
|
782
|
+
module_name=scheduled_job_operations_manage_module_streams_details_install_module_name,
|
783
|
+
profile_name=test_profile["name"],
|
784
|
+
stream_name=test_stream["name"],
|
785
|
+
software_source_id=test_software_source["id"],
|
786
|
+
)],
|
787
|
+
removes=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs(
|
788
|
+
module_name=scheduled_job_operations_manage_module_streams_details_remove_module_name,
|
789
|
+
profile_name=test_profile["name"],
|
790
|
+
stream_name=test_stream["name"],
|
791
|
+
software_source_id=test_software_source["id"],
|
792
|
+
)],
|
793
|
+
),
|
794
|
+
package_names=scheduled_job_operations_package_names,
|
795
|
+
software_source_ids=scheduled_job_operations_software_source_ids,
|
796
|
+
switch_module_streams_details=oci.os_management_hub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs(
|
797
|
+
module_name=scheduled_job_operations_switch_module_streams_details_module_name,
|
798
|
+
stream_name=test_stream["name"],
|
799
|
+
software_source_id=test_software_source["id"],
|
800
|
+
),
|
801
|
+
windows_update_names=scheduled_job_operations_windows_update_names,
|
802
|
+
)],
|
803
|
+
schedule_type=scheduled_job_schedule_type,
|
804
|
+
time_next_execution=scheduled_job_time_next_execution,
|
805
|
+
defined_tags={
|
806
|
+
"Operations.CostCenter": "42",
|
807
|
+
},
|
808
|
+
description=scheduled_job_description,
|
809
|
+
display_name=scheduled_job_display_name,
|
810
|
+
freeform_tags={
|
811
|
+
"Department": "Finance",
|
812
|
+
},
|
813
|
+
is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
|
814
|
+
is_subcompartment_included=scheduled_job_is_subcompartment_included,
|
815
|
+
lifecycle_stage_ids=scheduled_job_lifecycle_stage_ids,
|
816
|
+
locations=scheduled_job_locations,
|
817
|
+
managed_compartment_ids=scheduled_job_managed_compartment_ids,
|
818
|
+
managed_instance_group_ids=scheduled_job_managed_instance_group_ids,
|
819
|
+
managed_instance_ids=scheduled_job_managed_instance_ids,
|
820
|
+
recurring_rule=scheduled_job_recurring_rule,
|
821
|
+
retry_intervals=scheduled_job_retry_intervals)
|
822
|
+
```
|
823
|
+
|
824
|
+
## Import
|
825
|
+
|
826
|
+
ScheduledJobs can be imported using the `id`, e.g.
|
827
|
+
|
828
|
+
```sh
|
829
|
+
$ pulumi import oci:OsManagementHub/scheduledJob:ScheduledJob test_scheduled_job "id"
|
830
|
+
```
|
831
|
+
|
832
|
+
:param str resource_name: The name of the resource.
|
833
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
834
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
835
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
836
|
+
:param pulumi.Input[str] description: (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
837
|
+
:param pulumi.Input[str] display_name: (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
838
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
839
|
+
:param pulumi.Input[bool] is_managed_by_autonomous_linux: Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
840
|
+
:param pulumi.Input[bool] is_subcompartment_included: Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
841
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_stage_ids: The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
842
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
843
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_compartment_ids: The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
844
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_group_ids: The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
845
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_ids: The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
846
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScheduledJobOperationArgs']]]] operations: (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
847
|
+
* UPDATE_PACKAGES
|
848
|
+
* UPDATE_ALL
|
849
|
+
* UPDATE_SECURITY
|
850
|
+
* UPDATE_BUGFIX
|
851
|
+
* UPDATE_ENHANCEMENT
|
852
|
+
* UPDATE_OTHER
|
853
|
+
* UPDATE_KSPLICE_USERSPACE
|
854
|
+
* UPDATE_KSPLICE_KERNEL
|
855
|
+
:param pulumi.Input[str] recurring_rule: (Updatable) The frequency schedule for a recurring scheduled job.
|
856
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] retry_intervals: (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
857
|
+
:param pulumi.Input[str] schedule_type: (Updatable) The type of scheduling frequency for the scheduled job.
|
858
|
+
:param pulumi.Input[str] time_next_execution: (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
859
|
+
|
860
|
+
|
861
|
+
** IMPORTANT **
|
862
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
863
|
+
"""
|
864
|
+
...
|
865
|
+
@overload
|
866
|
+
def __init__(__self__,
|
867
|
+
resource_name: str,
|
868
|
+
args: ScheduledJobArgs,
|
869
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
870
|
+
"""
|
871
|
+
This resource provides the Scheduled Job resource in Oracle Cloud Infrastructure Os Management Hub service.
|
872
|
+
|
873
|
+
Creates a new scheduled job.
|
874
|
+
|
875
|
+
## Example Usage
|
876
|
+
|
877
|
+
```python
|
878
|
+
import pulumi
|
879
|
+
import pulumi_oci as oci
|
880
|
+
|
881
|
+
test_scheduled_job = oci.os_management_hub.ScheduledJob("test_scheduled_job",
|
882
|
+
compartment_id=compartment_id,
|
883
|
+
operations=[oci.os_management_hub.ScheduledJobOperationArgs(
|
884
|
+
operation_type=scheduled_job_operations_operation_type,
|
885
|
+
manage_module_streams_details=oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsArgs(
|
886
|
+
disables=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs(
|
887
|
+
module_name=scheduled_job_operations_manage_module_streams_details_disable_module_name,
|
888
|
+
stream_name=test_stream["name"],
|
889
|
+
software_source_id=test_software_source["id"],
|
890
|
+
)],
|
891
|
+
enables=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs(
|
892
|
+
module_name=scheduled_job_operations_manage_module_streams_details_enable_module_name,
|
893
|
+
stream_name=test_stream["name"],
|
894
|
+
software_source_id=test_software_source["id"],
|
895
|
+
)],
|
896
|
+
installs=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs(
|
897
|
+
module_name=scheduled_job_operations_manage_module_streams_details_install_module_name,
|
898
|
+
profile_name=test_profile["name"],
|
899
|
+
stream_name=test_stream["name"],
|
900
|
+
software_source_id=test_software_source["id"],
|
901
|
+
)],
|
902
|
+
removes=[oci.os_management_hub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs(
|
903
|
+
module_name=scheduled_job_operations_manage_module_streams_details_remove_module_name,
|
904
|
+
profile_name=test_profile["name"],
|
905
|
+
stream_name=test_stream["name"],
|
906
|
+
software_source_id=test_software_source["id"],
|
907
|
+
)],
|
908
|
+
),
|
909
|
+
package_names=scheduled_job_operations_package_names,
|
910
|
+
software_source_ids=scheduled_job_operations_software_source_ids,
|
911
|
+
switch_module_streams_details=oci.os_management_hub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs(
|
912
|
+
module_name=scheduled_job_operations_switch_module_streams_details_module_name,
|
913
|
+
stream_name=test_stream["name"],
|
914
|
+
software_source_id=test_software_source["id"],
|
915
|
+
),
|
916
|
+
windows_update_names=scheduled_job_operations_windows_update_names,
|
917
|
+
)],
|
918
|
+
schedule_type=scheduled_job_schedule_type,
|
919
|
+
time_next_execution=scheduled_job_time_next_execution,
|
920
|
+
defined_tags={
|
921
|
+
"Operations.CostCenter": "42",
|
922
|
+
},
|
923
|
+
description=scheduled_job_description,
|
924
|
+
display_name=scheduled_job_display_name,
|
925
|
+
freeform_tags={
|
926
|
+
"Department": "Finance",
|
927
|
+
},
|
928
|
+
is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
|
929
|
+
is_subcompartment_included=scheduled_job_is_subcompartment_included,
|
930
|
+
lifecycle_stage_ids=scheduled_job_lifecycle_stage_ids,
|
931
|
+
locations=scheduled_job_locations,
|
932
|
+
managed_compartment_ids=scheduled_job_managed_compartment_ids,
|
933
|
+
managed_instance_group_ids=scheduled_job_managed_instance_group_ids,
|
934
|
+
managed_instance_ids=scheduled_job_managed_instance_ids,
|
935
|
+
recurring_rule=scheduled_job_recurring_rule,
|
936
|
+
retry_intervals=scheduled_job_retry_intervals)
|
937
|
+
```
|
938
|
+
|
939
|
+
## Import
|
940
|
+
|
941
|
+
ScheduledJobs can be imported using the `id`, e.g.
|
942
|
+
|
943
|
+
```sh
|
944
|
+
$ pulumi import oci:OsManagementHub/scheduledJob:ScheduledJob test_scheduled_job "id"
|
945
|
+
```
|
946
|
+
|
947
|
+
:param str resource_name: The name of the resource.
|
948
|
+
:param ScheduledJobArgs args: The arguments to use to populate this resource's properties.
|
949
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
950
|
+
"""
|
951
|
+
...
|
952
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
953
|
+
resource_args, opts = _utilities.get_resource_args_opts(ScheduledJobArgs, pulumi.ResourceOptions, *args, **kwargs)
|
954
|
+
if resource_args is not None:
|
955
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
956
|
+
else:
|
957
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
958
|
+
|
959
|
+
def _internal_init(__self__,
|
960
|
+
resource_name: str,
|
961
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
962
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
963
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
964
|
+
description: Optional[pulumi.Input[str]] = None,
|
965
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
966
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
967
|
+
is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
|
968
|
+
is_subcompartment_included: Optional[pulumi.Input[bool]] = None,
|
969
|
+
lifecycle_stage_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
970
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
971
|
+
managed_compartment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
972
|
+
managed_instance_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
973
|
+
managed_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
974
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScheduledJobOperationArgs']]]]] = None,
|
975
|
+
recurring_rule: Optional[pulumi.Input[str]] = None,
|
976
|
+
retry_intervals: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
977
|
+
schedule_type: Optional[pulumi.Input[str]] = None,
|
978
|
+
time_next_execution: Optional[pulumi.Input[str]] = None,
|
979
|
+
__props__=None):
|
980
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
981
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
982
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
983
|
+
if opts.id is None:
|
984
|
+
if __props__ is not None:
|
985
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
986
|
+
__props__ = ScheduledJobArgs.__new__(ScheduledJobArgs)
|
987
|
+
|
988
|
+
if compartment_id is None and not opts.urn:
|
989
|
+
raise TypeError("Missing required property 'compartment_id'")
|
990
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
991
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
992
|
+
__props__.__dict__["description"] = description
|
993
|
+
__props__.__dict__["display_name"] = display_name
|
994
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
995
|
+
__props__.__dict__["is_managed_by_autonomous_linux"] = is_managed_by_autonomous_linux
|
996
|
+
__props__.__dict__["is_subcompartment_included"] = is_subcompartment_included
|
997
|
+
__props__.__dict__["lifecycle_stage_ids"] = lifecycle_stage_ids
|
998
|
+
__props__.__dict__["locations"] = locations
|
999
|
+
__props__.__dict__["managed_compartment_ids"] = managed_compartment_ids
|
1000
|
+
__props__.__dict__["managed_instance_group_ids"] = managed_instance_group_ids
|
1001
|
+
__props__.__dict__["managed_instance_ids"] = managed_instance_ids
|
1002
|
+
if operations is None and not opts.urn:
|
1003
|
+
raise TypeError("Missing required property 'operations'")
|
1004
|
+
__props__.__dict__["operations"] = operations
|
1005
|
+
__props__.__dict__["recurring_rule"] = recurring_rule
|
1006
|
+
__props__.__dict__["retry_intervals"] = retry_intervals
|
1007
|
+
if schedule_type is None and not opts.urn:
|
1008
|
+
raise TypeError("Missing required property 'schedule_type'")
|
1009
|
+
__props__.__dict__["schedule_type"] = schedule_type
|
1010
|
+
if time_next_execution is None and not opts.urn:
|
1011
|
+
raise TypeError("Missing required property 'time_next_execution'")
|
1012
|
+
__props__.__dict__["time_next_execution"] = time_next_execution
|
1013
|
+
__props__.__dict__["is_restricted"] = None
|
1014
|
+
__props__.__dict__["state"] = None
|
1015
|
+
__props__.__dict__["system_tags"] = None
|
1016
|
+
__props__.__dict__["time_created"] = None
|
1017
|
+
__props__.__dict__["time_last_execution"] = None
|
1018
|
+
__props__.__dict__["time_updated"] = None
|
1019
|
+
__props__.__dict__["work_request_ids"] = None
|
1020
|
+
super(ScheduledJob, __self__).__init__(
|
1021
|
+
'oci:OsManagementHub/scheduledJob:ScheduledJob',
|
1022
|
+
resource_name,
|
1023
|
+
__props__,
|
1024
|
+
opts)
|
1025
|
+
|
1026
|
+
@staticmethod
|
1027
|
+
def get(resource_name: str,
|
1028
|
+
id: pulumi.Input[str],
|
1029
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
1030
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
1031
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1032
|
+
description: Optional[pulumi.Input[str]] = None,
|
1033
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
1034
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1035
|
+
is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
|
1036
|
+
is_restricted: Optional[pulumi.Input[bool]] = None,
|
1037
|
+
is_subcompartment_included: Optional[pulumi.Input[bool]] = None,
|
1038
|
+
lifecycle_stage_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1039
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1040
|
+
managed_compartment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1041
|
+
managed_instance_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1042
|
+
managed_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1043
|
+
operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScheduledJobOperationArgs']]]]] = None,
|
1044
|
+
recurring_rule: Optional[pulumi.Input[str]] = None,
|
1045
|
+
retry_intervals: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
1046
|
+
schedule_type: Optional[pulumi.Input[str]] = None,
|
1047
|
+
state: Optional[pulumi.Input[str]] = None,
|
1048
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1049
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
1050
|
+
time_last_execution: Optional[pulumi.Input[str]] = None,
|
1051
|
+
time_next_execution: Optional[pulumi.Input[str]] = None,
|
1052
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
1053
|
+
work_request_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ScheduledJob':
|
1054
|
+
"""
|
1055
|
+
Get an existing ScheduledJob resource's state with the given name, id, and optional extra
|
1056
|
+
properties used to qualify the lookup.
|
1057
|
+
|
1058
|
+
:param str resource_name: The unique name of the resulting resource.
|
1059
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1060
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1061
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
1062
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
1063
|
+
:param pulumi.Input[str] description: (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
1064
|
+
:param pulumi.Input[str] display_name: (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
1065
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
1066
|
+
:param pulumi.Input[bool] is_managed_by_autonomous_linux: Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
1067
|
+
:param pulumi.Input[bool] is_restricted: Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
|
1068
|
+
:param pulumi.Input[bool] is_subcompartment_included: Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
1069
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_stage_ids: The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
1070
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
1071
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_compartment_ids: The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
1072
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_group_ids: The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
1073
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instance_ids: The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
1074
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScheduledJobOperationArgs']]]] operations: (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
1075
|
+
* UPDATE_PACKAGES
|
1076
|
+
* UPDATE_ALL
|
1077
|
+
* UPDATE_SECURITY
|
1078
|
+
* UPDATE_BUGFIX
|
1079
|
+
* UPDATE_ENHANCEMENT
|
1080
|
+
* UPDATE_OTHER
|
1081
|
+
* UPDATE_KSPLICE_USERSPACE
|
1082
|
+
* UPDATE_KSPLICE_KERNEL
|
1083
|
+
:param pulumi.Input[str] recurring_rule: (Updatable) The frequency schedule for a recurring scheduled job.
|
1084
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] retry_intervals: (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
1085
|
+
:param pulumi.Input[str] schedule_type: (Updatable) The type of scheduling frequency for the scheduled job.
|
1086
|
+
:param pulumi.Input[str] state: The current state of the scheduled job.
|
1087
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1088
|
+
:param pulumi.Input[str] time_created: The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1089
|
+
:param pulumi.Input[str] time_last_execution: The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1090
|
+
:param pulumi.Input[str] time_next_execution: (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1091
|
+
|
1092
|
+
|
1093
|
+
** IMPORTANT **
|
1094
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1095
|
+
:param pulumi.Input[str] time_updated: The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1096
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] work_request_ids: The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
|
1097
|
+
"""
|
1098
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1099
|
+
|
1100
|
+
__props__ = _ScheduledJobState.__new__(_ScheduledJobState)
|
1101
|
+
|
1102
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
1103
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
1104
|
+
__props__.__dict__["description"] = description
|
1105
|
+
__props__.__dict__["display_name"] = display_name
|
1106
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
1107
|
+
__props__.__dict__["is_managed_by_autonomous_linux"] = is_managed_by_autonomous_linux
|
1108
|
+
__props__.__dict__["is_restricted"] = is_restricted
|
1109
|
+
__props__.__dict__["is_subcompartment_included"] = is_subcompartment_included
|
1110
|
+
__props__.__dict__["lifecycle_stage_ids"] = lifecycle_stage_ids
|
1111
|
+
__props__.__dict__["locations"] = locations
|
1112
|
+
__props__.__dict__["managed_compartment_ids"] = managed_compartment_ids
|
1113
|
+
__props__.__dict__["managed_instance_group_ids"] = managed_instance_group_ids
|
1114
|
+
__props__.__dict__["managed_instance_ids"] = managed_instance_ids
|
1115
|
+
__props__.__dict__["operations"] = operations
|
1116
|
+
__props__.__dict__["recurring_rule"] = recurring_rule
|
1117
|
+
__props__.__dict__["retry_intervals"] = retry_intervals
|
1118
|
+
__props__.__dict__["schedule_type"] = schedule_type
|
1119
|
+
__props__.__dict__["state"] = state
|
1120
|
+
__props__.__dict__["system_tags"] = system_tags
|
1121
|
+
__props__.__dict__["time_created"] = time_created
|
1122
|
+
__props__.__dict__["time_last_execution"] = time_last_execution
|
1123
|
+
__props__.__dict__["time_next_execution"] = time_next_execution
|
1124
|
+
__props__.__dict__["time_updated"] = time_updated
|
1125
|
+
__props__.__dict__["work_request_ids"] = work_request_ids
|
1126
|
+
return ScheduledJob(resource_name, opts=opts, __props__=__props__)
|
1127
|
+
|
1128
|
+
@property
|
1129
|
+
@pulumi.getter(name="compartmentId")
|
1130
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
1131
|
+
"""
|
1132
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
|
1133
|
+
"""
|
1134
|
+
return pulumi.get(self, "compartment_id")
|
1135
|
+
|
1136
|
+
@property
|
1137
|
+
@pulumi.getter(name="definedTags")
|
1138
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1139
|
+
"""
|
1140
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
1141
|
+
"""
|
1142
|
+
return pulumi.get(self, "defined_tags")
|
1143
|
+
|
1144
|
+
@property
|
1145
|
+
@pulumi.getter
|
1146
|
+
def description(self) -> pulumi.Output[str]:
|
1147
|
+
"""
|
1148
|
+
(Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
|
1149
|
+
"""
|
1150
|
+
return pulumi.get(self, "description")
|
1151
|
+
|
1152
|
+
@property
|
1153
|
+
@pulumi.getter(name="displayName")
|
1154
|
+
def display_name(self) -> pulumi.Output[str]:
|
1155
|
+
"""
|
1156
|
+
(Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
|
1157
|
+
"""
|
1158
|
+
return pulumi.get(self, "display_name")
|
1159
|
+
|
1160
|
+
@property
|
1161
|
+
@pulumi.getter(name="freeformTags")
|
1162
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1163
|
+
"""
|
1164
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
1165
|
+
"""
|
1166
|
+
return pulumi.get(self, "freeform_tags")
|
1167
|
+
|
1168
|
+
@property
|
1169
|
+
@pulumi.getter(name="isManagedByAutonomousLinux")
|
1170
|
+
def is_managed_by_autonomous_linux(self) -> pulumi.Output[bool]:
|
1171
|
+
"""
|
1172
|
+
Indicates whether this scheduled job is managed by the Autonomous Linux service.
|
1173
|
+
"""
|
1174
|
+
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
1175
|
+
|
1176
|
+
@property
|
1177
|
+
@pulumi.getter(name="isRestricted")
|
1178
|
+
def is_restricted(self) -> pulumi.Output[bool]:
|
1179
|
+
"""
|
1180
|
+
Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
|
1181
|
+
"""
|
1182
|
+
return pulumi.get(self, "is_restricted")
|
1183
|
+
|
1184
|
+
@property
|
1185
|
+
@pulumi.getter(name="isSubcompartmentIncluded")
|
1186
|
+
def is_subcompartment_included(self) -> pulumi.Output[bool]:
|
1187
|
+
"""
|
1188
|
+
Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
|
1189
|
+
"""
|
1190
|
+
return pulumi.get(self, "is_subcompartment_included")
|
1191
|
+
|
1192
|
+
@property
|
1193
|
+
@pulumi.getter(name="lifecycleStageIds")
|
1194
|
+
def lifecycle_stage_ids(self) -> pulumi.Output[Sequence[str]]:
|
1195
|
+
"""
|
1196
|
+
The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
|
1197
|
+
"""
|
1198
|
+
return pulumi.get(self, "lifecycle_stage_ids")
|
1199
|
+
|
1200
|
+
@property
|
1201
|
+
@pulumi.getter
|
1202
|
+
def locations(self) -> pulumi.Output[Sequence[str]]:
|
1203
|
+
"""
|
1204
|
+
The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
|
1205
|
+
"""
|
1206
|
+
return pulumi.get(self, "locations")
|
1207
|
+
|
1208
|
+
@property
|
1209
|
+
@pulumi.getter(name="managedCompartmentIds")
|
1210
|
+
def managed_compartment_ids(self) -> pulumi.Output[Sequence[str]]:
|
1211
|
+
"""
|
1212
|
+
The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
|
1213
|
+
"""
|
1214
|
+
return pulumi.get(self, "managed_compartment_ids")
|
1215
|
+
|
1216
|
+
@property
|
1217
|
+
@pulumi.getter(name="managedInstanceGroupIds")
|
1218
|
+
def managed_instance_group_ids(self) -> pulumi.Output[Sequence[str]]:
|
1219
|
+
"""
|
1220
|
+
The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
|
1221
|
+
"""
|
1222
|
+
return pulumi.get(self, "managed_instance_group_ids")
|
1223
|
+
|
1224
|
+
@property
|
1225
|
+
@pulumi.getter(name="managedInstanceIds")
|
1226
|
+
def managed_instance_ids(self) -> pulumi.Output[Sequence[str]]:
|
1227
|
+
"""
|
1228
|
+
The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
|
1229
|
+
"""
|
1230
|
+
return pulumi.get(self, "managed_instance_ids")
|
1231
|
+
|
1232
|
+
@property
|
1233
|
+
@pulumi.getter
|
1234
|
+
def operations(self) -> pulumi.Output[Sequence['outputs.ScheduledJobOperation']]:
|
1235
|
+
"""
|
1236
|
+
(Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
|
1237
|
+
* UPDATE_PACKAGES
|
1238
|
+
* UPDATE_ALL
|
1239
|
+
* UPDATE_SECURITY
|
1240
|
+
* UPDATE_BUGFIX
|
1241
|
+
* UPDATE_ENHANCEMENT
|
1242
|
+
* UPDATE_OTHER
|
1243
|
+
* UPDATE_KSPLICE_USERSPACE
|
1244
|
+
* UPDATE_KSPLICE_KERNEL
|
1245
|
+
"""
|
1246
|
+
return pulumi.get(self, "operations")
|
1247
|
+
|
1248
|
+
@property
|
1249
|
+
@pulumi.getter(name="recurringRule")
|
1250
|
+
def recurring_rule(self) -> pulumi.Output[str]:
|
1251
|
+
"""
|
1252
|
+
(Updatable) The frequency schedule for a recurring scheduled job.
|
1253
|
+
"""
|
1254
|
+
return pulumi.get(self, "recurring_rule")
|
1255
|
+
|
1256
|
+
@property
|
1257
|
+
@pulumi.getter(name="retryIntervals")
|
1258
|
+
def retry_intervals(self) -> pulumi.Output[Sequence[int]]:
|
1259
|
+
"""
|
1260
|
+
(Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
|
1261
|
+
"""
|
1262
|
+
return pulumi.get(self, "retry_intervals")
|
1263
|
+
|
1264
|
+
@property
|
1265
|
+
@pulumi.getter(name="scheduleType")
|
1266
|
+
def schedule_type(self) -> pulumi.Output[str]:
|
1267
|
+
"""
|
1268
|
+
(Updatable) The type of scheduling frequency for the scheduled job.
|
1269
|
+
"""
|
1270
|
+
return pulumi.get(self, "schedule_type")
|
1271
|
+
|
1272
|
+
@property
|
1273
|
+
@pulumi.getter
|
1274
|
+
def state(self) -> pulumi.Output[str]:
|
1275
|
+
"""
|
1276
|
+
The current state of the scheduled job.
|
1277
|
+
"""
|
1278
|
+
return pulumi.get(self, "state")
|
1279
|
+
|
1280
|
+
@property
|
1281
|
+
@pulumi.getter(name="systemTags")
|
1282
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1283
|
+
"""
|
1284
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1285
|
+
"""
|
1286
|
+
return pulumi.get(self, "system_tags")
|
1287
|
+
|
1288
|
+
@property
|
1289
|
+
@pulumi.getter(name="timeCreated")
|
1290
|
+
def time_created(self) -> pulumi.Output[str]:
|
1291
|
+
"""
|
1292
|
+
The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1293
|
+
"""
|
1294
|
+
return pulumi.get(self, "time_created")
|
1295
|
+
|
1296
|
+
@property
|
1297
|
+
@pulumi.getter(name="timeLastExecution")
|
1298
|
+
def time_last_execution(self) -> pulumi.Output[str]:
|
1299
|
+
"""
|
1300
|
+
The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1301
|
+
"""
|
1302
|
+
return pulumi.get(self, "time_last_execution")
|
1303
|
+
|
1304
|
+
@property
|
1305
|
+
@pulumi.getter(name="timeNextExecution")
|
1306
|
+
def time_next_execution(self) -> pulumi.Output[str]:
|
1307
|
+
"""
|
1308
|
+
(Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1309
|
+
|
1310
|
+
|
1311
|
+
** IMPORTANT **
|
1312
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1313
|
+
"""
|
1314
|
+
return pulumi.get(self, "time_next_execution")
|
1315
|
+
|
1316
|
+
@property
|
1317
|
+
@pulumi.getter(name="timeUpdated")
|
1318
|
+
def time_updated(self) -> pulumi.Output[str]:
|
1319
|
+
"""
|
1320
|
+
The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
1321
|
+
"""
|
1322
|
+
return pulumi.get(self, "time_updated")
|
1323
|
+
|
1324
|
+
@property
|
1325
|
+
@pulumi.getter(name="workRequestIds")
|
1326
|
+
def work_request_ids(self) -> pulumi.Output[Sequence[str]]:
|
1327
|
+
"""
|
1328
|
+
The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
|
1329
|
+
"""
|
1330
|
+
return pulumi.get(self, "work_request_ids")
|
1331
|
+
|