1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. TaskSchedule
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

oci.Jms.TaskSchedule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

    This resource provides the Task Schedule resource in Oracle Cloud Infrastructure Jms service.

    Create a task schedule using the information provided.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTaskSchedule = new oci.jms.TaskSchedule("test_task_schedule", {
        executionRecurrences: taskScheduleExecutionRecurrences,
        fleetId: testFleet.id,
        taskDetails: {
            taskType: taskScheduleTaskDetailsTaskType,
            addInstallationSiteTaskRequest: {
                installationSites: [{
                    artifactContentType: taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesArtifactContentType,
                    forceInstall: taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesForceInstall,
                    headlessMode: taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesHeadlessMode,
                    installationPath: taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesInstallationPath,
                    managedInstanceId: testManagedInstance.id,
                    releaseVersion: taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesReleaseVersion,
                }],
                postInstallationActions: taskScheduleTaskDetailsAddInstallationSiteTaskRequestPostInstallationActions,
            },
            cryptoTaskRequest: {
                recordingDurationInMinutes: taskScheduleTaskDetailsCryptoTaskRequestRecordingDurationInMinutes,
                targets: [{
                    applicationInstallationKey: taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationInstallationKey,
                    applicationKey: taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationKey,
                    containerKey: taskScheduleTaskDetailsCryptoTaskRequestTargetsContainerKey,
                    jreKey: taskScheduleTaskDetailsCryptoTaskRequestTargetsJreKey,
                    managedInstanceId: testManagedInstance.id,
                }],
                waitingPeriodInMinutes: taskScheduleTaskDetailsCryptoTaskRequestWaitingPeriodInMinutes,
            },
            deployedApplicationMigrationTaskRequest: {
                targets: [{
                    deployedApplicationInstallationKey: taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsDeployedApplicationInstallationKey,
                    excludePackagePrefixes: taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsExcludePackagePrefixes,
                    includePackagePrefixes: taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsIncludePackagePrefixes,
                    managedInstanceId: testManagedInstance.id,
                    sourceJdkVersion: taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsSourceJdkVersion,
                    targetJdkVersion: taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsTargetJdkVersion,
                }],
            },
            javaMigrationTaskRequest: {
                targets: [{
                    applicationInstallationKey: taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsApplicationInstallationKey,
                    excludePackagePrefixes: taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsExcludePackagePrefixes,
                    includePackagePrefixes: taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsIncludePackagePrefixes,
                    managedInstanceId: testManagedInstance.id,
                    sourceJdkVersion: taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsSourceJdkVersion,
                    targetJdkVersion: taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsTargetJdkVersion,
                }],
            },
            jfrTaskRequest: {
                jfcProfileName: testProfile.name,
                jfcV1: taskScheduleTaskDetailsJfrTaskRequestJfcV1,
                jfcV2: taskScheduleTaskDetailsJfrTaskRequestJfcV2,
                recordingDurationInMinutes: taskScheduleTaskDetailsJfrTaskRequestRecordingDurationInMinutes,
                recordingSizeInMb: taskScheduleTaskDetailsJfrTaskRequestRecordingSizeInMb,
                targets: [{
                    applicationInstallationKey: taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationInstallationKey,
                    applicationKey: taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationKey,
                    containerKey: taskScheduleTaskDetailsJfrTaskRequestTargetsContainerKey,
                    jreKey: taskScheduleTaskDetailsJfrTaskRequestTargetsJreKey,
                    managedInstanceId: testManagedInstance.id,
                }],
                waitingPeriodInMinutes: taskScheduleTaskDetailsJfrTaskRequestWaitingPeriodInMinutes,
            },
            performanceTuningTaskRequest: {
                recordingDurationInMinutes: taskScheduleTaskDetailsPerformanceTuningTaskRequestRecordingDurationInMinutes,
                targets: [{
                    applicationInstallationKey: taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationInstallationKey,
                    applicationKey: taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationKey,
                    containerKey: taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsContainerKey,
                    jreKey: taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsJreKey,
                    managedInstanceId: testManagedInstance.id,
                }],
                waitingPeriodInMinutes: taskScheduleTaskDetailsPerformanceTuningTaskRequestWaitingPeriodInMinutes,
            },
            removeInstallationSiteTaskRequest: {
                installationSites: [{
                    installationKey: taskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSitesInstallationKey,
                    managedInstanceId: testManagedInstance.id,
                }],
            },
            scanJavaServerTaskRequest: {
                managedInstanceIds: taskScheduleTaskDetailsScanJavaServerTaskRequestManagedInstanceIds,
            },
            scanLibraryTaskRequest: {
                dynamicScanDurationInMinutes: taskScheduleTaskDetailsScanLibraryTaskRequestDynamicScanDurationInMinutes,
                isDynamicScan: taskScheduleTaskDetailsScanLibraryTaskRequestIsDynamicScan,
                managedInstanceIds: taskScheduleTaskDetailsScanLibraryTaskRequestManagedInstanceIds,
            },
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_task_schedule = oci.jms.TaskSchedule("test_task_schedule",
        execution_recurrences=task_schedule_execution_recurrences,
        fleet_id=test_fleet["id"],
        task_details={
            "task_type": task_schedule_task_details_task_type,
            "add_installation_site_task_request": {
                "installation_sites": [{
                    "artifact_content_type": task_schedule_task_details_add_installation_site_task_request_installation_sites_artifact_content_type,
                    "force_install": task_schedule_task_details_add_installation_site_task_request_installation_sites_force_install,
                    "headless_mode": task_schedule_task_details_add_installation_site_task_request_installation_sites_headless_mode,
                    "installation_path": task_schedule_task_details_add_installation_site_task_request_installation_sites_installation_path,
                    "managed_instance_id": test_managed_instance["id"],
                    "release_version": task_schedule_task_details_add_installation_site_task_request_installation_sites_release_version,
                }],
                "post_installation_actions": task_schedule_task_details_add_installation_site_task_request_post_installation_actions,
            },
            "crypto_task_request": {
                "recording_duration_in_minutes": task_schedule_task_details_crypto_task_request_recording_duration_in_minutes,
                "targets": [{
                    "application_installation_key": task_schedule_task_details_crypto_task_request_targets_application_installation_key,
                    "application_key": task_schedule_task_details_crypto_task_request_targets_application_key,
                    "container_key": task_schedule_task_details_crypto_task_request_targets_container_key,
                    "jre_key": task_schedule_task_details_crypto_task_request_targets_jre_key,
                    "managed_instance_id": test_managed_instance["id"],
                }],
                "waiting_period_in_minutes": task_schedule_task_details_crypto_task_request_waiting_period_in_minutes,
            },
            "deployed_application_migration_task_request": {
                "targets": [{
                    "deployed_application_installation_key": task_schedule_task_details_deployed_application_migration_task_request_targets_deployed_application_installation_key,
                    "exclude_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_exclude_package_prefixes,
                    "include_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_include_package_prefixes,
                    "managed_instance_id": test_managed_instance["id"],
                    "source_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_source_jdk_version,
                    "target_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_target_jdk_version,
                }],
            },
            "java_migration_task_request": {
                "targets": [{
                    "application_installation_key": task_schedule_task_details_java_migration_task_request_targets_application_installation_key,
                    "exclude_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_exclude_package_prefixes,
                    "include_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_include_package_prefixes,
                    "managed_instance_id": test_managed_instance["id"],
                    "source_jdk_version": task_schedule_task_details_java_migration_task_request_targets_source_jdk_version,
                    "target_jdk_version": task_schedule_task_details_java_migration_task_request_targets_target_jdk_version,
                }],
            },
            "jfr_task_request": {
                "jfc_profile_name": test_profile["name"],
                "jfc_v1": task_schedule_task_details_jfr_task_request_jfc_v1,
                "jfc_v2": task_schedule_task_details_jfr_task_request_jfc_v2,
                "recording_duration_in_minutes": task_schedule_task_details_jfr_task_request_recording_duration_in_minutes,
                "recording_size_in_mb": task_schedule_task_details_jfr_task_request_recording_size_in_mb,
                "targets": [{
                    "application_installation_key": task_schedule_task_details_jfr_task_request_targets_application_installation_key,
                    "application_key": task_schedule_task_details_jfr_task_request_targets_application_key,
                    "container_key": task_schedule_task_details_jfr_task_request_targets_container_key,
                    "jre_key": task_schedule_task_details_jfr_task_request_targets_jre_key,
                    "managed_instance_id": test_managed_instance["id"],
                }],
                "waiting_period_in_minutes": task_schedule_task_details_jfr_task_request_waiting_period_in_minutes,
            },
            "performance_tuning_task_request": {
                "recording_duration_in_minutes": task_schedule_task_details_performance_tuning_task_request_recording_duration_in_minutes,
                "targets": [{
                    "application_installation_key": task_schedule_task_details_performance_tuning_task_request_targets_application_installation_key,
                    "application_key": task_schedule_task_details_performance_tuning_task_request_targets_application_key,
                    "container_key": task_schedule_task_details_performance_tuning_task_request_targets_container_key,
                    "jre_key": task_schedule_task_details_performance_tuning_task_request_targets_jre_key,
                    "managed_instance_id": test_managed_instance["id"],
                }],
                "waiting_period_in_minutes": task_schedule_task_details_performance_tuning_task_request_waiting_period_in_minutes,
            },
            "remove_installation_site_task_request": {
                "installation_sites": [{
                    "installation_key": task_schedule_task_details_remove_installation_site_task_request_installation_sites_installation_key,
                    "managed_instance_id": test_managed_instance["id"],
                }],
            },
            "scan_java_server_task_request": {
                "managed_instance_ids": task_schedule_task_details_scan_java_server_task_request_managed_instance_ids,
            },
            "scan_library_task_request": {
                "dynamic_scan_duration_in_minutes": task_schedule_task_details_scan_library_task_request_dynamic_scan_duration_in_minutes,
                "is_dynamic_scan": task_schedule_task_details_scan_library_task_request_is_dynamic_scan,
                "managed_instance_ids": task_schedule_task_details_scan_library_task_request_managed_instance_ids,
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/jms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := jms.NewTaskSchedule(ctx, "test_task_schedule", &jms.TaskScheduleArgs{
    			ExecutionRecurrences: pulumi.Any(taskScheduleExecutionRecurrences),
    			FleetId:              pulumi.Any(testFleet.Id),
    			TaskDetails: &jms.TaskScheduleTaskDetailsArgs{
    				TaskType: pulumi.Any(taskScheduleTaskDetailsTaskType),
    				AddInstallationSiteTaskRequest: &jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs{
    					InstallationSites: jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArray{
    						&jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs{
    							ArtifactContentType: pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesArtifactContentType),
    							ForceInstall:        pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesForceInstall),
    							HeadlessMode:        pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesHeadlessMode),
    							InstallationPath:    pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesInstallationPath),
    							ManagedInstanceId:   pulumi.Any(testManagedInstance.Id),
    							ReleaseVersion:      pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesReleaseVersion),
    						},
    					},
    					PostInstallationActions: pulumi.Any(taskScheduleTaskDetailsAddInstallationSiteTaskRequestPostInstallationActions),
    				},
    				CryptoTaskRequest: &jms.TaskScheduleTaskDetailsCryptoTaskRequestArgs{
    					RecordingDurationInMinutes: pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestRecordingDurationInMinutes),
    					Targets: jms.TaskScheduleTaskDetailsCryptoTaskRequestTargetArray{
    						&jms.TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs{
    							ApplicationInstallationKey: pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationInstallationKey),
    							ApplicationKey:             pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationKey),
    							ContainerKey:               pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestTargetsContainerKey),
    							JreKey:                     pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestTargetsJreKey),
    							ManagedInstanceId:          pulumi.Any(testManagedInstance.Id),
    						},
    					},
    					WaitingPeriodInMinutes: pulumi.Any(taskScheduleTaskDetailsCryptoTaskRequestWaitingPeriodInMinutes),
    				},
    				DeployedApplicationMigrationTaskRequest: &jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs{
    					Targets: jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArray{
    						&jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs{
    							DeployedApplicationInstallationKey: pulumi.Any(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsDeployedApplicationInstallationKey),
    							ExcludePackagePrefixes:             pulumi.Any(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsExcludePackagePrefixes),
    							IncludePackagePrefixes:             pulumi.Any(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsIncludePackagePrefixes),
    							ManagedInstanceId:                  pulumi.Any(testManagedInstance.Id),
    							SourceJdkVersion:                   pulumi.Any(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsSourceJdkVersion),
    							TargetJdkVersion:                   pulumi.Any(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsTargetJdkVersion),
    						},
    					},
    				},
    				JavaMigrationTaskRequest: &jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs{
    					Targets: jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArray{
    						&jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs{
    							ApplicationInstallationKey: pulumi.Any(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsApplicationInstallationKey),
    							ExcludePackagePrefixes:     pulumi.Any(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsExcludePackagePrefixes),
    							IncludePackagePrefixes:     pulumi.Any(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsIncludePackagePrefixes),
    							ManagedInstanceId:          pulumi.Any(testManagedInstance.Id),
    							SourceJdkVersion:           pulumi.Any(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsSourceJdkVersion),
    							TargetJdkVersion:           pulumi.Any(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsTargetJdkVersion),
    						},
    					},
    				},
    				JfrTaskRequest: &jms.TaskScheduleTaskDetailsJfrTaskRequestArgs{
    					JfcProfileName:             pulumi.Any(testProfile.Name),
    					JfcV1:                      pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestJfcV1),
    					JfcV2:                      pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestJfcV2),
    					RecordingDurationInMinutes: pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestRecordingDurationInMinutes),
    					RecordingSizeInMb:          pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestRecordingSizeInMb),
    					Targets: jms.TaskScheduleTaskDetailsJfrTaskRequestTargetArray{
    						&jms.TaskScheduleTaskDetailsJfrTaskRequestTargetArgs{
    							ApplicationInstallationKey: pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationInstallationKey),
    							ApplicationKey:             pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationKey),
    							ContainerKey:               pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestTargetsContainerKey),
    							JreKey:                     pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestTargetsJreKey),
    							ManagedInstanceId:          pulumi.Any(testManagedInstance.Id),
    						},
    					},
    					WaitingPeriodInMinutes: pulumi.Any(taskScheduleTaskDetailsJfrTaskRequestWaitingPeriodInMinutes),
    				},
    				PerformanceTuningTaskRequest: &jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs{
    					RecordingDurationInMinutes: pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestRecordingDurationInMinutes),
    					Targets: jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArray{
    						&jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs{
    							ApplicationInstallationKey: pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationInstallationKey),
    							ApplicationKey:             pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationKey),
    							ContainerKey:               pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsContainerKey),
    							JreKey:                     pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsJreKey),
    							ManagedInstanceId:          pulumi.Any(testManagedInstance.Id),
    						},
    					},
    					WaitingPeriodInMinutes: pulumi.Any(taskScheduleTaskDetailsPerformanceTuningTaskRequestWaitingPeriodInMinutes),
    				},
    				RemoveInstallationSiteTaskRequest: &jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs{
    					InstallationSites: jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArray{
    						&jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs{
    							InstallationKey:   pulumi.Any(taskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSitesInstallationKey),
    							ManagedInstanceId: pulumi.Any(testManagedInstance.Id),
    						},
    					},
    				},
    				ScanJavaServerTaskRequest: &jms.TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs{
    					ManagedInstanceIds: pulumi.Any(taskScheduleTaskDetailsScanJavaServerTaskRequestManagedInstanceIds),
    				},
    				ScanLibraryTaskRequest: &jms.TaskScheduleTaskDetailsScanLibraryTaskRequestArgs{
    					DynamicScanDurationInMinutes: pulumi.Any(taskScheduleTaskDetailsScanLibraryTaskRequestDynamicScanDurationInMinutes),
    					IsDynamicScan:                pulumi.Any(taskScheduleTaskDetailsScanLibraryTaskRequestIsDynamicScan),
    					ManagedInstanceIds:           pulumi.Any(taskScheduleTaskDetailsScanLibraryTaskRequestManagedInstanceIds),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testTaskSchedule = new Oci.Jms.TaskSchedule("test_task_schedule", new()
        {
            ExecutionRecurrences = taskScheduleExecutionRecurrences,
            FleetId = testFleet.Id,
            TaskDetails = new Oci.Jms.Inputs.TaskScheduleTaskDetailsArgs
            {
                TaskType = taskScheduleTaskDetailsTaskType,
                AddInstallationSiteTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs
                {
                    InstallationSites = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs
                        {
                            ArtifactContentType = taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesArtifactContentType,
                            ForceInstall = taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesForceInstall,
                            HeadlessMode = taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesHeadlessMode,
                            InstallationPath = taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesInstallationPath,
                            ManagedInstanceId = testManagedInstance.Id,
                            ReleaseVersion = taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesReleaseVersion,
                        },
                    },
                    PostInstallationActions = taskScheduleTaskDetailsAddInstallationSiteTaskRequestPostInstallationActions,
                },
                CryptoTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsCryptoTaskRequestArgs
                {
                    RecordingDurationInMinutes = taskScheduleTaskDetailsCryptoTaskRequestRecordingDurationInMinutes,
                    Targets = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs
                        {
                            ApplicationInstallationKey = taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationInstallationKey,
                            ApplicationKey = taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationKey,
                            ContainerKey = taskScheduleTaskDetailsCryptoTaskRequestTargetsContainerKey,
                            JreKey = taskScheduleTaskDetailsCryptoTaskRequestTargetsJreKey,
                            ManagedInstanceId = testManagedInstance.Id,
                        },
                    },
                    WaitingPeriodInMinutes = taskScheduleTaskDetailsCryptoTaskRequestWaitingPeriodInMinutes,
                },
                DeployedApplicationMigrationTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs
                {
                    Targets = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs
                        {
                            DeployedApplicationInstallationKey = taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsDeployedApplicationInstallationKey,
                            ExcludePackagePrefixes = taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsExcludePackagePrefixes,
                            IncludePackagePrefixes = taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsIncludePackagePrefixes,
                            ManagedInstanceId = testManagedInstance.Id,
                            SourceJdkVersion = taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsSourceJdkVersion,
                            TargetJdkVersion = taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsTargetJdkVersion,
                        },
                    },
                },
                JavaMigrationTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs
                {
                    Targets = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs
                        {
                            ApplicationInstallationKey = taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsApplicationInstallationKey,
                            ExcludePackagePrefixes = taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsExcludePackagePrefixes,
                            IncludePackagePrefixes = taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsIncludePackagePrefixes,
                            ManagedInstanceId = testManagedInstance.Id,
                            SourceJdkVersion = taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsSourceJdkVersion,
                            TargetJdkVersion = taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsTargetJdkVersion,
                        },
                    },
                },
                JfrTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsJfrTaskRequestArgs
                {
                    JfcProfileName = testProfile.Name,
                    JfcV1 = taskScheduleTaskDetailsJfrTaskRequestJfcV1,
                    JfcV2 = taskScheduleTaskDetailsJfrTaskRequestJfcV2,
                    RecordingDurationInMinutes = taskScheduleTaskDetailsJfrTaskRequestRecordingDurationInMinutes,
                    RecordingSizeInMb = taskScheduleTaskDetailsJfrTaskRequestRecordingSizeInMb,
                    Targets = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsJfrTaskRequestTargetArgs
                        {
                            ApplicationInstallationKey = taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationInstallationKey,
                            ApplicationKey = taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationKey,
                            ContainerKey = taskScheduleTaskDetailsJfrTaskRequestTargetsContainerKey,
                            JreKey = taskScheduleTaskDetailsJfrTaskRequestTargetsJreKey,
                            ManagedInstanceId = testManagedInstance.Id,
                        },
                    },
                    WaitingPeriodInMinutes = taskScheduleTaskDetailsJfrTaskRequestWaitingPeriodInMinutes,
                },
                PerformanceTuningTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs
                {
                    RecordingDurationInMinutes = taskScheduleTaskDetailsPerformanceTuningTaskRequestRecordingDurationInMinutes,
                    Targets = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs
                        {
                            ApplicationInstallationKey = taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationInstallationKey,
                            ApplicationKey = taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationKey,
                            ContainerKey = taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsContainerKey,
                            JreKey = taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsJreKey,
                            ManagedInstanceId = testManagedInstance.Id,
                        },
                    },
                    WaitingPeriodInMinutes = taskScheduleTaskDetailsPerformanceTuningTaskRequestWaitingPeriodInMinutes,
                },
                RemoveInstallationSiteTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs
                {
                    InstallationSites = new[]
                    {
                        new Oci.Jms.Inputs.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs
                        {
                            InstallationKey = taskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSitesInstallationKey,
                            ManagedInstanceId = testManagedInstance.Id,
                        },
                    },
                },
                ScanJavaServerTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs
                {
                    ManagedInstanceIds = taskScheduleTaskDetailsScanJavaServerTaskRequestManagedInstanceIds,
                },
                ScanLibraryTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsScanLibraryTaskRequestArgs
                {
                    DynamicScanDurationInMinutes = taskScheduleTaskDetailsScanLibraryTaskRequestDynamicScanDurationInMinutes,
                    IsDynamicScan = taskScheduleTaskDetailsScanLibraryTaskRequestIsDynamicScan,
                    ManagedInstanceIds = taskScheduleTaskDetailsScanLibraryTaskRequestManagedInstanceIds,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Jms.TaskSchedule;
    import com.pulumi.oci.Jms.TaskScheduleArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsCryptoTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsJfrTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs;
    import com.pulumi.oci.Jms.inputs.TaskScheduleTaskDetailsScanLibraryTaskRequestArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testTaskSchedule = new TaskSchedule("testTaskSchedule", TaskScheduleArgs.builder()
                .executionRecurrences(taskScheduleExecutionRecurrences)
                .fleetId(testFleet.id())
                .taskDetails(TaskScheduleTaskDetailsArgs.builder()
                    .taskType(taskScheduleTaskDetailsTaskType)
                    .addInstallationSiteTaskRequest(TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs.builder()
                        .installationSites(TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs.builder()
                            .artifactContentType(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesArtifactContentType)
                            .forceInstall(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesForceInstall)
                            .headlessMode(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesHeadlessMode)
                            .installationPath(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesInstallationPath)
                            .managedInstanceId(testManagedInstance.id())
                            .releaseVersion(taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesReleaseVersion)
                            .build())
                        .postInstallationActions(taskScheduleTaskDetailsAddInstallationSiteTaskRequestPostInstallationActions)
                        .build())
                    .cryptoTaskRequest(TaskScheduleTaskDetailsCryptoTaskRequestArgs.builder()
                        .recordingDurationInMinutes(taskScheduleTaskDetailsCryptoTaskRequestRecordingDurationInMinutes)
                        .targets(TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs.builder()
                            .applicationInstallationKey(taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationInstallationKey)
                            .applicationKey(taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationKey)
                            .containerKey(taskScheduleTaskDetailsCryptoTaskRequestTargetsContainerKey)
                            .jreKey(taskScheduleTaskDetailsCryptoTaskRequestTargetsJreKey)
                            .managedInstanceId(testManagedInstance.id())
                            .build())
                        .waitingPeriodInMinutes(taskScheduleTaskDetailsCryptoTaskRequestWaitingPeriodInMinutes)
                        .build())
                    .deployedApplicationMigrationTaskRequest(TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs.builder()
                        .targets(TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs.builder()
                            .deployedApplicationInstallationKey(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsDeployedApplicationInstallationKey)
                            .excludePackagePrefixes(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsExcludePackagePrefixes)
                            .includePackagePrefixes(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsIncludePackagePrefixes)
                            .managedInstanceId(testManagedInstance.id())
                            .sourceJdkVersion(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsSourceJdkVersion)
                            .targetJdkVersion(taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsTargetJdkVersion)
                            .build())
                        .build())
                    .javaMigrationTaskRequest(TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs.builder()
                        .targets(TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs.builder()
                            .applicationInstallationKey(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsApplicationInstallationKey)
                            .excludePackagePrefixes(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsExcludePackagePrefixes)
                            .includePackagePrefixes(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsIncludePackagePrefixes)
                            .managedInstanceId(testManagedInstance.id())
                            .sourceJdkVersion(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsSourceJdkVersion)
                            .targetJdkVersion(taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsTargetJdkVersion)
                            .build())
                        .build())
                    .jfrTaskRequest(TaskScheduleTaskDetailsJfrTaskRequestArgs.builder()
                        .jfcProfileName(testProfile.name())
                        .jfcV1(taskScheduleTaskDetailsJfrTaskRequestJfcV1)
                        .jfcV2(taskScheduleTaskDetailsJfrTaskRequestJfcV2)
                        .recordingDurationInMinutes(taskScheduleTaskDetailsJfrTaskRequestRecordingDurationInMinutes)
                        .recordingSizeInMb(taskScheduleTaskDetailsJfrTaskRequestRecordingSizeInMb)
                        .targets(TaskScheduleTaskDetailsJfrTaskRequestTargetArgs.builder()
                            .applicationInstallationKey(taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationInstallationKey)
                            .applicationKey(taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationKey)
                            .containerKey(taskScheduleTaskDetailsJfrTaskRequestTargetsContainerKey)
                            .jreKey(taskScheduleTaskDetailsJfrTaskRequestTargetsJreKey)
                            .managedInstanceId(testManagedInstance.id())
                            .build())
                        .waitingPeriodInMinutes(taskScheduleTaskDetailsJfrTaskRequestWaitingPeriodInMinutes)
                        .build())
                    .performanceTuningTaskRequest(TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs.builder()
                        .recordingDurationInMinutes(taskScheduleTaskDetailsPerformanceTuningTaskRequestRecordingDurationInMinutes)
                        .targets(TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs.builder()
                            .applicationInstallationKey(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationInstallationKey)
                            .applicationKey(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationKey)
                            .containerKey(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsContainerKey)
                            .jreKey(taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsJreKey)
                            .managedInstanceId(testManagedInstance.id())
                            .build())
                        .waitingPeriodInMinutes(taskScheduleTaskDetailsPerformanceTuningTaskRequestWaitingPeriodInMinutes)
                        .build())
                    .removeInstallationSiteTaskRequest(TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs.builder()
                        .installationSites(TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs.builder()
                            .installationKey(taskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSitesInstallationKey)
                            .managedInstanceId(testManagedInstance.id())
                            .build())
                        .build())
                    .scanJavaServerTaskRequest(TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs.builder()
                        .managedInstanceIds(taskScheduleTaskDetailsScanJavaServerTaskRequestManagedInstanceIds)
                        .build())
                    .scanLibraryTaskRequest(TaskScheduleTaskDetailsScanLibraryTaskRequestArgs.builder()
                        .dynamicScanDurationInMinutes(taskScheduleTaskDetailsScanLibraryTaskRequestDynamicScanDurationInMinutes)
                        .isDynamicScan(taskScheduleTaskDetailsScanLibraryTaskRequestIsDynamicScan)
                        .managedInstanceIds(taskScheduleTaskDetailsScanLibraryTaskRequestManagedInstanceIds)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testTaskSchedule:
        type: oci:Jms:TaskSchedule
        name: test_task_schedule
        properties:
          executionRecurrences: ${taskScheduleExecutionRecurrences}
          fleetId: ${testFleet.id}
          taskDetails:
            taskType: ${taskScheduleTaskDetailsTaskType}
            addInstallationSiteTaskRequest:
              installationSites:
                - artifactContentType: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesArtifactContentType}
                  forceInstall: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesForceInstall}
                  headlessMode: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesHeadlessMode}
                  installationPath: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesInstallationPath}
                  managedInstanceId: ${testManagedInstance.id}
                  releaseVersion: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSitesReleaseVersion}
              postInstallationActions: ${taskScheduleTaskDetailsAddInstallationSiteTaskRequestPostInstallationActions}
            cryptoTaskRequest:
              recordingDurationInMinutes: ${taskScheduleTaskDetailsCryptoTaskRequestRecordingDurationInMinutes}
              targets:
                - applicationInstallationKey: ${taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationInstallationKey}
                  applicationKey: ${taskScheduleTaskDetailsCryptoTaskRequestTargetsApplicationKey}
                  containerKey: ${taskScheduleTaskDetailsCryptoTaskRequestTargetsContainerKey}
                  jreKey: ${taskScheduleTaskDetailsCryptoTaskRequestTargetsJreKey}
                  managedInstanceId: ${testManagedInstance.id}
              waitingPeriodInMinutes: ${taskScheduleTaskDetailsCryptoTaskRequestWaitingPeriodInMinutes}
            deployedApplicationMigrationTaskRequest:
              targets:
                - deployedApplicationInstallationKey: ${taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsDeployedApplicationInstallationKey}
                  excludePackagePrefixes: ${taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsExcludePackagePrefixes}
                  includePackagePrefixes: ${taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsIncludePackagePrefixes}
                  managedInstanceId: ${testManagedInstance.id}
                  sourceJdkVersion: ${taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsSourceJdkVersion}
                  targetJdkVersion: ${taskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetsTargetJdkVersion}
            javaMigrationTaskRequest:
              targets:
                - applicationInstallationKey: ${taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsApplicationInstallationKey}
                  excludePackagePrefixes: ${taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsExcludePackagePrefixes}
                  includePackagePrefixes: ${taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsIncludePackagePrefixes}
                  managedInstanceId: ${testManagedInstance.id}
                  sourceJdkVersion: ${taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsSourceJdkVersion}
                  targetJdkVersion: ${taskScheduleTaskDetailsJavaMigrationTaskRequestTargetsTargetJdkVersion}
            jfrTaskRequest:
              jfcProfileName: ${testProfile.name}
              jfcV1: ${taskScheduleTaskDetailsJfrTaskRequestJfcV1}
              jfcV2: ${taskScheduleTaskDetailsJfrTaskRequestJfcV2}
              recordingDurationInMinutes: ${taskScheduleTaskDetailsJfrTaskRequestRecordingDurationInMinutes}
              recordingSizeInMb: ${taskScheduleTaskDetailsJfrTaskRequestRecordingSizeInMb}
              targets:
                - applicationInstallationKey: ${taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationInstallationKey}
                  applicationKey: ${taskScheduleTaskDetailsJfrTaskRequestTargetsApplicationKey}
                  containerKey: ${taskScheduleTaskDetailsJfrTaskRequestTargetsContainerKey}
                  jreKey: ${taskScheduleTaskDetailsJfrTaskRequestTargetsJreKey}
                  managedInstanceId: ${testManagedInstance.id}
              waitingPeriodInMinutes: ${taskScheduleTaskDetailsJfrTaskRequestWaitingPeriodInMinutes}
            performanceTuningTaskRequest:
              recordingDurationInMinutes: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestRecordingDurationInMinutes}
              targets:
                - applicationInstallationKey: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationInstallationKey}
                  applicationKey: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsApplicationKey}
                  containerKey: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsContainerKey}
                  jreKey: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestTargetsJreKey}
                  managedInstanceId: ${testManagedInstance.id}
              waitingPeriodInMinutes: ${taskScheduleTaskDetailsPerformanceTuningTaskRequestWaitingPeriodInMinutes}
            removeInstallationSiteTaskRequest:
              installationSites:
                - installationKey: ${taskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSitesInstallationKey}
                  managedInstanceId: ${testManagedInstance.id}
            scanJavaServerTaskRequest:
              managedInstanceIds: ${taskScheduleTaskDetailsScanJavaServerTaskRequestManagedInstanceIds}
            scanLibraryTaskRequest:
              dynamicScanDurationInMinutes: ${taskScheduleTaskDetailsScanLibraryTaskRequestDynamicScanDurationInMinutes}
              isDynamicScan: ${taskScheduleTaskDetailsScanLibraryTaskRequestIsDynamicScan}
              managedInstanceIds: ${taskScheduleTaskDetailsScanLibraryTaskRequestManagedInstanceIds}
    

    Create TaskSchedule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TaskSchedule(name: string, args: TaskScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def TaskSchedule(resource_name: str,
                     args: TaskScheduleArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def TaskSchedule(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     execution_recurrences: Optional[str] = None,
                     fleet_id: Optional[str] = None,
                     task_details: Optional[TaskScheduleTaskDetailsArgs] = None)
    func NewTaskSchedule(ctx *Context, name string, args TaskScheduleArgs, opts ...ResourceOption) (*TaskSchedule, error)
    public TaskSchedule(string name, TaskScheduleArgs args, CustomResourceOptions? opts = null)
    public TaskSchedule(String name, TaskScheduleArgs args)
    public TaskSchedule(String name, TaskScheduleArgs args, CustomResourceOptions options)
    
    type: oci:Jms:TaskSchedule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TaskScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TaskScheduleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TaskScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaskScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaskScheduleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var taskScheduleResource = new Oci.Jms.TaskSchedule("taskScheduleResource", new()
    {
        ExecutionRecurrences = "string",
        FleetId = "string",
        TaskDetails = new Oci.Jms.Inputs.TaskScheduleTaskDetailsArgs
        {
            TaskType = "string",
            AddInstallationSiteTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs
            {
                InstallationSites = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs
                    {
                        ArtifactContentType = "string",
                        ForceInstall = false,
                        HeadlessMode = false,
                        InstallationPath = "string",
                        ManagedInstanceId = "string",
                        ReleaseVersion = "string",
                    },
                },
                PostInstallationActions = new[]
                {
                    "string",
                },
            },
            CryptoTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsCryptoTaskRequestArgs
            {
                RecordingDurationInMinutes = 0,
                Targets = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs
                    {
                        ApplicationInstallationKey = "string",
                        ApplicationKey = "string",
                        ContainerKey = "string",
                        JreKey = "string",
                        ManagedInstanceId = "string",
                    },
                },
                WaitingPeriodInMinutes = 0,
            },
            DeployedApplicationMigrationTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs
            {
                Targets = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs
                    {
                        DeployedApplicationInstallationKey = "string",
                        ExcludePackagePrefixes = new[]
                        {
                            "string",
                        },
                        IncludePackagePrefixes = new[]
                        {
                            "string",
                        },
                        ManagedInstanceId = "string",
                        SourceJdkVersion = "string",
                        TargetJdkVersion = "string",
                    },
                },
            },
            JavaMigrationTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs
            {
                Targets = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs
                    {
                        ApplicationInstallationKey = "string",
                        ExcludePackagePrefixes = new[]
                        {
                            "string",
                        },
                        IncludePackagePrefixes = new[]
                        {
                            "string",
                        },
                        ManagedInstanceId = "string",
                        SourceJdkVersion = "string",
                        TargetJdkVersion = "string",
                    },
                },
            },
            JfrTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsJfrTaskRequestArgs
            {
                JfcProfileName = "string",
                JfcV1 = "string",
                JfcV2 = "string",
                RecordingDurationInMinutes = 0,
                RecordingSizeInMb = 0,
                Targets = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsJfrTaskRequestTargetArgs
                    {
                        ApplicationInstallationKey = "string",
                        ApplicationKey = "string",
                        ContainerKey = "string",
                        JreKey = "string",
                        ManagedInstanceId = "string",
                    },
                },
                WaitingPeriodInMinutes = 0,
            },
            PerformanceTuningTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs
            {
                RecordingDurationInMinutes = 0,
                Targets = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs
                    {
                        ApplicationInstallationKey = "string",
                        ApplicationKey = "string",
                        ContainerKey = "string",
                        JreKey = "string",
                        ManagedInstanceId = "string",
                    },
                },
                WaitingPeriodInMinutes = 0,
            },
            RemoveInstallationSiteTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs
            {
                InstallationSites = new[]
                {
                    new Oci.Jms.Inputs.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs
                    {
                        InstallationKey = "string",
                        ManagedInstanceId = "string",
                    },
                },
            },
            ScanJavaServerTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs
            {
                ManagedInstanceIds = new[]
                {
                    "string",
                },
            },
            ScanLibraryTaskRequest = new Oci.Jms.Inputs.TaskScheduleTaskDetailsScanLibraryTaskRequestArgs
            {
                DynamicScanDurationInMinutes = 0,
                IsDynamicScan = false,
                ManagedInstanceIds = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := jms.NewTaskSchedule(ctx, "taskScheduleResource", &jms.TaskScheduleArgs{
    	ExecutionRecurrences: pulumi.String("string"),
    	FleetId:              pulumi.String("string"),
    	TaskDetails: &jms.TaskScheduleTaskDetailsArgs{
    		TaskType: pulumi.String("string"),
    		AddInstallationSiteTaskRequest: &jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs{
    			InstallationSites: jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArray{
    				&jms.TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs{
    					ArtifactContentType: pulumi.String("string"),
    					ForceInstall:        pulumi.Bool(false),
    					HeadlessMode:        pulumi.Bool(false),
    					InstallationPath:    pulumi.String("string"),
    					ManagedInstanceId:   pulumi.String("string"),
    					ReleaseVersion:      pulumi.String("string"),
    				},
    			},
    			PostInstallationActions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		CryptoTaskRequest: &jms.TaskScheduleTaskDetailsCryptoTaskRequestArgs{
    			RecordingDurationInMinutes: pulumi.Int(0),
    			Targets: jms.TaskScheduleTaskDetailsCryptoTaskRequestTargetArray{
    				&jms.TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs{
    					ApplicationInstallationKey: pulumi.String("string"),
    					ApplicationKey:             pulumi.String("string"),
    					ContainerKey:               pulumi.String("string"),
    					JreKey:                     pulumi.String("string"),
    					ManagedInstanceId:          pulumi.String("string"),
    				},
    			},
    			WaitingPeriodInMinutes: pulumi.Int(0),
    		},
    		DeployedApplicationMigrationTaskRequest: &jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs{
    			Targets: jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArray{
    				&jms.TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs{
    					DeployedApplicationInstallationKey: pulumi.String("string"),
    					ExcludePackagePrefixes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					IncludePackagePrefixes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ManagedInstanceId: pulumi.String("string"),
    					SourceJdkVersion:  pulumi.String("string"),
    					TargetJdkVersion:  pulumi.String("string"),
    				},
    			},
    		},
    		JavaMigrationTaskRequest: &jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs{
    			Targets: jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArray{
    				&jms.TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs{
    					ApplicationInstallationKey: pulumi.String("string"),
    					ExcludePackagePrefixes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					IncludePackagePrefixes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ManagedInstanceId: pulumi.String("string"),
    					SourceJdkVersion:  pulumi.String("string"),
    					TargetJdkVersion:  pulumi.String("string"),
    				},
    			},
    		},
    		JfrTaskRequest: &jms.TaskScheduleTaskDetailsJfrTaskRequestArgs{
    			JfcProfileName:             pulumi.String("string"),
    			JfcV1:                      pulumi.String("string"),
    			JfcV2:                      pulumi.String("string"),
    			RecordingDurationInMinutes: pulumi.Int(0),
    			RecordingSizeInMb:          pulumi.Int(0),
    			Targets: jms.TaskScheduleTaskDetailsJfrTaskRequestTargetArray{
    				&jms.TaskScheduleTaskDetailsJfrTaskRequestTargetArgs{
    					ApplicationInstallationKey: pulumi.String("string"),
    					ApplicationKey:             pulumi.String("string"),
    					ContainerKey:               pulumi.String("string"),
    					JreKey:                     pulumi.String("string"),
    					ManagedInstanceId:          pulumi.String("string"),
    				},
    			},
    			WaitingPeriodInMinutes: pulumi.Int(0),
    		},
    		PerformanceTuningTaskRequest: &jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs{
    			RecordingDurationInMinutes: pulumi.Int(0),
    			Targets: jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArray{
    				&jms.TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs{
    					ApplicationInstallationKey: pulumi.String("string"),
    					ApplicationKey:             pulumi.String("string"),
    					ContainerKey:               pulumi.String("string"),
    					JreKey:                     pulumi.String("string"),
    					ManagedInstanceId:          pulumi.String("string"),
    				},
    			},
    			WaitingPeriodInMinutes: pulumi.Int(0),
    		},
    		RemoveInstallationSiteTaskRequest: &jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs{
    			InstallationSites: jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArray{
    				&jms.TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs{
    					InstallationKey:   pulumi.String("string"),
    					ManagedInstanceId: pulumi.String("string"),
    				},
    			},
    		},
    		ScanJavaServerTaskRequest: &jms.TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs{
    			ManagedInstanceIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		ScanLibraryTaskRequest: &jms.TaskScheduleTaskDetailsScanLibraryTaskRequestArgs{
    			DynamicScanDurationInMinutes: pulumi.Int(0),
    			IsDynamicScan:                pulumi.Bool(false),
    			ManagedInstanceIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var taskScheduleResource = new TaskSchedule("taskScheduleResource", TaskScheduleArgs.builder()
        .executionRecurrences("string")
        .fleetId("string")
        .taskDetails(TaskScheduleTaskDetailsArgs.builder()
            .taskType("string")
            .addInstallationSiteTaskRequest(TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs.builder()
                .installationSites(TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs.builder()
                    .artifactContentType("string")
                    .forceInstall(false)
                    .headlessMode(false)
                    .installationPath("string")
                    .managedInstanceId("string")
                    .releaseVersion("string")
                    .build())
                .postInstallationActions("string")
                .build())
            .cryptoTaskRequest(TaskScheduleTaskDetailsCryptoTaskRequestArgs.builder()
                .recordingDurationInMinutes(0)
                .targets(TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs.builder()
                    .applicationInstallationKey("string")
                    .applicationKey("string")
                    .containerKey("string")
                    .jreKey("string")
                    .managedInstanceId("string")
                    .build())
                .waitingPeriodInMinutes(0)
                .build())
            .deployedApplicationMigrationTaskRequest(TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs.builder()
                .targets(TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs.builder()
                    .deployedApplicationInstallationKey("string")
                    .excludePackagePrefixes("string")
                    .includePackagePrefixes("string")
                    .managedInstanceId("string")
                    .sourceJdkVersion("string")
                    .targetJdkVersion("string")
                    .build())
                .build())
            .javaMigrationTaskRequest(TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs.builder()
                .targets(TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs.builder()
                    .applicationInstallationKey("string")
                    .excludePackagePrefixes("string")
                    .includePackagePrefixes("string")
                    .managedInstanceId("string")
                    .sourceJdkVersion("string")
                    .targetJdkVersion("string")
                    .build())
                .build())
            .jfrTaskRequest(TaskScheduleTaskDetailsJfrTaskRequestArgs.builder()
                .jfcProfileName("string")
                .jfcV1("string")
                .jfcV2("string")
                .recordingDurationInMinutes(0)
                .recordingSizeInMb(0)
                .targets(TaskScheduleTaskDetailsJfrTaskRequestTargetArgs.builder()
                    .applicationInstallationKey("string")
                    .applicationKey("string")
                    .containerKey("string")
                    .jreKey("string")
                    .managedInstanceId("string")
                    .build())
                .waitingPeriodInMinutes(0)
                .build())
            .performanceTuningTaskRequest(TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs.builder()
                .recordingDurationInMinutes(0)
                .targets(TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs.builder()
                    .applicationInstallationKey("string")
                    .applicationKey("string")
                    .containerKey("string")
                    .jreKey("string")
                    .managedInstanceId("string")
                    .build())
                .waitingPeriodInMinutes(0)
                .build())
            .removeInstallationSiteTaskRequest(TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs.builder()
                .installationSites(TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs.builder()
                    .installationKey("string")
                    .managedInstanceId("string")
                    .build())
                .build())
            .scanJavaServerTaskRequest(TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs.builder()
                .managedInstanceIds("string")
                .build())
            .scanLibraryTaskRequest(TaskScheduleTaskDetailsScanLibraryTaskRequestArgs.builder()
                .dynamicScanDurationInMinutes(0)
                .isDynamicScan(false)
                .managedInstanceIds("string")
                .build())
            .build())
        .build());
    
    task_schedule_resource = oci.jms.TaskSchedule("taskScheduleResource",
        execution_recurrences="string",
        fleet_id="string",
        task_details={
            "task_type": "string",
            "add_installation_site_task_request": {
                "installation_sites": [{
                    "artifact_content_type": "string",
                    "force_install": False,
                    "headless_mode": False,
                    "installation_path": "string",
                    "managed_instance_id": "string",
                    "release_version": "string",
                }],
                "post_installation_actions": ["string"],
            },
            "crypto_task_request": {
                "recording_duration_in_minutes": 0,
                "targets": [{
                    "application_installation_key": "string",
                    "application_key": "string",
                    "container_key": "string",
                    "jre_key": "string",
                    "managed_instance_id": "string",
                }],
                "waiting_period_in_minutes": 0,
            },
            "deployed_application_migration_task_request": {
                "targets": [{
                    "deployed_application_installation_key": "string",
                    "exclude_package_prefixes": ["string"],
                    "include_package_prefixes": ["string"],
                    "managed_instance_id": "string",
                    "source_jdk_version": "string",
                    "target_jdk_version": "string",
                }],
            },
            "java_migration_task_request": {
                "targets": [{
                    "application_installation_key": "string",
                    "exclude_package_prefixes": ["string"],
                    "include_package_prefixes": ["string"],
                    "managed_instance_id": "string",
                    "source_jdk_version": "string",
                    "target_jdk_version": "string",
                }],
            },
            "jfr_task_request": {
                "jfc_profile_name": "string",
                "jfc_v1": "string",
                "jfc_v2": "string",
                "recording_duration_in_minutes": 0,
                "recording_size_in_mb": 0,
                "targets": [{
                    "application_installation_key": "string",
                    "application_key": "string",
                    "container_key": "string",
                    "jre_key": "string",
                    "managed_instance_id": "string",
                }],
                "waiting_period_in_minutes": 0,
            },
            "performance_tuning_task_request": {
                "recording_duration_in_minutes": 0,
                "targets": [{
                    "application_installation_key": "string",
                    "application_key": "string",
                    "container_key": "string",
                    "jre_key": "string",
                    "managed_instance_id": "string",
                }],
                "waiting_period_in_minutes": 0,
            },
            "remove_installation_site_task_request": {
                "installation_sites": [{
                    "installation_key": "string",
                    "managed_instance_id": "string",
                }],
            },
            "scan_java_server_task_request": {
                "managed_instance_ids": ["string"],
            },
            "scan_library_task_request": {
                "dynamic_scan_duration_in_minutes": 0,
                "is_dynamic_scan": False,
                "managed_instance_ids": ["string"],
            },
        })
    
    const taskScheduleResource = new oci.jms.TaskSchedule("taskScheduleResource", {
        executionRecurrences: "string",
        fleetId: "string",
        taskDetails: {
            taskType: "string",
            addInstallationSiteTaskRequest: {
                installationSites: [{
                    artifactContentType: "string",
                    forceInstall: false,
                    headlessMode: false,
                    installationPath: "string",
                    managedInstanceId: "string",
                    releaseVersion: "string",
                }],
                postInstallationActions: ["string"],
            },
            cryptoTaskRequest: {
                recordingDurationInMinutes: 0,
                targets: [{
                    applicationInstallationKey: "string",
                    applicationKey: "string",
                    containerKey: "string",
                    jreKey: "string",
                    managedInstanceId: "string",
                }],
                waitingPeriodInMinutes: 0,
            },
            deployedApplicationMigrationTaskRequest: {
                targets: [{
                    deployedApplicationInstallationKey: "string",
                    excludePackagePrefixes: ["string"],
                    includePackagePrefixes: ["string"],
                    managedInstanceId: "string",
                    sourceJdkVersion: "string",
                    targetJdkVersion: "string",
                }],
            },
            javaMigrationTaskRequest: {
                targets: [{
                    applicationInstallationKey: "string",
                    excludePackagePrefixes: ["string"],
                    includePackagePrefixes: ["string"],
                    managedInstanceId: "string",
                    sourceJdkVersion: "string",
                    targetJdkVersion: "string",
                }],
            },
            jfrTaskRequest: {
                jfcProfileName: "string",
                jfcV1: "string",
                jfcV2: "string",
                recordingDurationInMinutes: 0,
                recordingSizeInMb: 0,
                targets: [{
                    applicationInstallationKey: "string",
                    applicationKey: "string",
                    containerKey: "string",
                    jreKey: "string",
                    managedInstanceId: "string",
                }],
                waitingPeriodInMinutes: 0,
            },
            performanceTuningTaskRequest: {
                recordingDurationInMinutes: 0,
                targets: [{
                    applicationInstallationKey: "string",
                    applicationKey: "string",
                    containerKey: "string",
                    jreKey: "string",
                    managedInstanceId: "string",
                }],
                waitingPeriodInMinutes: 0,
            },
            removeInstallationSiteTaskRequest: {
                installationSites: [{
                    installationKey: "string",
                    managedInstanceId: "string",
                }],
            },
            scanJavaServerTaskRequest: {
                managedInstanceIds: ["string"],
            },
            scanLibraryTaskRequest: {
                dynamicScanDurationInMinutes: 0,
                isDynamicScan: false,
                managedInstanceIds: ["string"],
            },
        },
    });
    
    type: oci:Jms:TaskSchedule
    properties:
        executionRecurrences: string
        fleetId: string
        taskDetails:
            addInstallationSiteTaskRequest:
                installationSites:
                    - artifactContentType: string
                      forceInstall: false
                      headlessMode: false
                      installationPath: string
                      managedInstanceId: string
                      releaseVersion: string
                postInstallationActions:
                    - string
            cryptoTaskRequest:
                recordingDurationInMinutes: 0
                targets:
                    - applicationInstallationKey: string
                      applicationKey: string
                      containerKey: string
                      jreKey: string
                      managedInstanceId: string
                waitingPeriodInMinutes: 0
            deployedApplicationMigrationTaskRequest:
                targets:
                    - deployedApplicationInstallationKey: string
                      excludePackagePrefixes:
                        - string
                      includePackagePrefixes:
                        - string
                      managedInstanceId: string
                      sourceJdkVersion: string
                      targetJdkVersion: string
            javaMigrationTaskRequest:
                targets:
                    - applicationInstallationKey: string
                      excludePackagePrefixes:
                        - string
                      includePackagePrefixes:
                        - string
                      managedInstanceId: string
                      sourceJdkVersion: string
                      targetJdkVersion: string
            jfrTaskRequest:
                jfcProfileName: string
                jfcV1: string
                jfcV2: string
                recordingDurationInMinutes: 0
                recordingSizeInMb: 0
                targets:
                    - applicationInstallationKey: string
                      applicationKey: string
                      containerKey: string
                      jreKey: string
                      managedInstanceId: string
                waitingPeriodInMinutes: 0
            performanceTuningTaskRequest:
                recordingDurationInMinutes: 0
                targets:
                    - applicationInstallationKey: string
                      applicationKey: string
                      containerKey: string
                      jreKey: string
                      managedInstanceId: string
                waitingPeriodInMinutes: 0
            removeInstallationSiteTaskRequest:
                installationSites:
                    - installationKey: string
                      managedInstanceId: string
            scanJavaServerTaskRequest:
                managedInstanceIds:
                    - string
            scanLibraryTaskRequest:
                dynamicScanDurationInMinutes: 0
                isDynamicScan: false
                managedInstanceIds:
                    - string
            taskType: string
    

    TaskSchedule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TaskSchedule resource accepts the following input properties:

    ExecutionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    FleetId string
    (Updatable) The OCID of the Fleet.
    TaskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    FleetId string
    (Updatable) The OCID of the Fleet.
    TaskDetails TaskScheduleTaskDetailsArgs
    (Updatable) The minimum details of a task.
    executionRecurrences String
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId String
    (Updatable) The OCID of the Fleet.
    taskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    executionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId string
    (Updatable) The OCID of the Fleet.
    taskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    execution_recurrences str
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleet_id str
    (Updatable) The OCID of the Fleet.
    task_details TaskScheduleTaskDetailsArgs
    (Updatable) The minimum details of a task.
    executionRecurrences String
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId String
    (Updatable) The OCID of the Fleet.
    taskDetails Property Map
    (Updatable) The minimum details of a task.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TaskSchedule resource produces the following output properties:

    CreatedBy string
    Name of the task creator.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the task schedule.
    State string
    All possible status of task schedule.
    TimeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    TimeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    TimeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    TimeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    CreatedBy string
    Name of the task creator.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the task schedule.
    State string
    All possible status of task schedule.
    TimeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    TimeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    TimeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    TimeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy String
    Name of the task creator.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the task schedule.
    state String
    All possible status of task schedule.
    timeCreated String
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun String
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated String
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun String
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy string
    Name of the task creator.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the task schedule.
    state string
    All possible status of task schedule.
    timeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    created_by str
    Name of the task creator.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the task schedule.
    state str
    All possible status of task schedule.
    time_created str
    The date and time the task schedule was created (formatted according to RFC3339).
    time_last_run str
    The date and time the task schedule ran last (formatted according to RFC3339).
    time_last_updated str
    The date and time the task schedule was last updated (formatted according to RFC3339).
    time_next_run str
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy String
    Name of the task creator.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the task schedule.
    state String
    All possible status of task schedule.
    timeCreated String
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun String
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated String
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun String
    The date and time the task schedule will run next (formatted according to RFC3339).

    Look up Existing TaskSchedule Resource

    Get an existing TaskSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TaskScheduleState, opts?: CustomResourceOptions): TaskSchedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_by: Optional[str] = None,
            execution_recurrences: Optional[str] = None,
            fleet_id: Optional[str] = None,
            name: Optional[str] = None,
            state: Optional[str] = None,
            task_details: Optional[TaskScheduleTaskDetailsArgs] = None,
            time_created: Optional[str] = None,
            time_last_run: Optional[str] = None,
            time_last_updated: Optional[str] = None,
            time_next_run: Optional[str] = None) -> TaskSchedule
    func GetTaskSchedule(ctx *Context, name string, id IDInput, state *TaskScheduleState, opts ...ResourceOption) (*TaskSchedule, error)
    public static TaskSchedule Get(string name, Input<string> id, TaskScheduleState? state, CustomResourceOptions? opts = null)
    public static TaskSchedule get(String name, Output<String> id, TaskScheduleState state, CustomResourceOptions options)
    resources:  _:    type: oci:Jms:TaskSchedule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedBy string
    Name of the task creator.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    FleetId string
    (Updatable) The OCID of the Fleet.
    Name string
    The name of the task schedule.
    State string
    All possible status of task schedule.
    TaskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    TimeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    TimeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    TimeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    TimeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    CreatedBy string
    Name of the task creator.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    FleetId string
    (Updatable) The OCID of the Fleet.
    Name string
    The name of the task schedule.
    State string
    All possible status of task schedule.
    TaskDetails TaskScheduleTaskDetailsArgs
    (Updatable) The minimum details of a task.
    TimeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    TimeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    TimeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    TimeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy String
    Name of the task creator.
    executionRecurrences String
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId String
    (Updatable) The OCID of the Fleet.
    name String
    The name of the task schedule.
    state String
    All possible status of task schedule.
    taskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    timeCreated String
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun String
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated String
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun String
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy string
    Name of the task creator.
    executionRecurrences string
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId string
    (Updatable) The OCID of the Fleet.
    name string
    The name of the task schedule.
    state string
    All possible status of task schedule.
    taskDetails TaskScheduleTaskDetails
    (Updatable) The minimum details of a task.
    timeCreated string
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun string
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated string
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun string
    The date and time the task schedule will run next (formatted according to RFC3339).
    created_by str
    Name of the task creator.
    execution_recurrences str
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleet_id str
    (Updatable) The OCID of the Fleet.
    name str
    The name of the task schedule.
    state str
    All possible status of task schedule.
    task_details TaskScheduleTaskDetailsArgs
    (Updatable) The minimum details of a task.
    time_created str
    The date and time the task schedule was created (formatted according to RFC3339).
    time_last_run str
    The date and time the task schedule ran last (formatted according to RFC3339).
    time_last_updated str
    The date and time the task schedule was last updated (formatted according to RFC3339).
    time_next_run str
    The date and time the task schedule will run next (formatted according to RFC3339).
    createdBy String
    Name of the task creator.
    executionRecurrences String
    (Updatable) Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
    fleetId String
    (Updatable) The OCID of the Fleet.
    name String
    The name of the task schedule.
    state String
    All possible status of task schedule.
    taskDetails Property Map
    (Updatable) The minimum details of a task.
    timeCreated String
    The date and time the task schedule was created (formatted according to RFC3339).
    timeLastRun String
    The date and time the task schedule ran last (formatted according to RFC3339).
    timeLastUpdated String
    The date and time the task schedule was last updated (formatted according to RFC3339).
    timeNextRun String
    The date and time the task schedule will run next (formatted according to RFC3339).

    Supporting Types

    TaskScheduleTaskDetails, TaskScheduleTaskDetailsArgs

    TaskType string

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AddInstallationSiteTaskRequest TaskScheduleTaskDetailsAddInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to add.
    CryptoTaskRequest TaskScheduleTaskDetailsCryptoTaskRequest
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    DeployedApplicationMigrationTaskRequest TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    JavaMigrationTaskRequest TaskScheduleTaskDetailsJavaMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    JfrTaskRequest TaskScheduleTaskDetailsJfrTaskRequest
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    PerformanceTuningTaskRequest TaskScheduleTaskDetailsPerformanceTuningTaskRequest
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    RemoveInstallationSiteTaskRequest TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to remove.
    ScanJavaServerTaskRequest TaskScheduleTaskDetailsScanJavaServerTaskRequest
    (Updatable) The list of managed instances to scan.
    ScanLibraryTaskRequest TaskScheduleTaskDetailsScanLibraryTaskRequest
    (Updatable) The list of managed instances to scan.
    TaskType string

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AddInstallationSiteTaskRequest TaskScheduleTaskDetailsAddInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to add.
    CryptoTaskRequest TaskScheduleTaskDetailsCryptoTaskRequest
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    DeployedApplicationMigrationTaskRequest TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    JavaMigrationTaskRequest TaskScheduleTaskDetailsJavaMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    JfrTaskRequest TaskScheduleTaskDetailsJfrTaskRequest
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    PerformanceTuningTaskRequest TaskScheduleTaskDetailsPerformanceTuningTaskRequest
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    RemoveInstallationSiteTaskRequest TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to remove.
    ScanJavaServerTaskRequest TaskScheduleTaskDetailsScanJavaServerTaskRequest
    (Updatable) The list of managed instances to scan.
    ScanLibraryTaskRequest TaskScheduleTaskDetailsScanLibraryTaskRequest
    (Updatable) The list of managed instances to scan.
    taskType String

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addInstallationSiteTaskRequest TaskScheduleTaskDetailsAddInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to add.
    cryptoTaskRequest TaskScheduleTaskDetailsCryptoTaskRequest
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    deployedApplicationMigrationTaskRequest TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    javaMigrationTaskRequest TaskScheduleTaskDetailsJavaMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    jfrTaskRequest TaskScheduleTaskDetailsJfrTaskRequest
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    performanceTuningTaskRequest TaskScheduleTaskDetailsPerformanceTuningTaskRequest
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    removeInstallationSiteTaskRequest TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to remove.
    scanJavaServerTaskRequest TaskScheduleTaskDetailsScanJavaServerTaskRequest
    (Updatable) The list of managed instances to scan.
    scanLibraryTaskRequest TaskScheduleTaskDetailsScanLibraryTaskRequest
    (Updatable) The list of managed instances to scan.
    taskType string

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addInstallationSiteTaskRequest TaskScheduleTaskDetailsAddInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to add.
    cryptoTaskRequest TaskScheduleTaskDetailsCryptoTaskRequest
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    deployedApplicationMigrationTaskRequest TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    javaMigrationTaskRequest TaskScheduleTaskDetailsJavaMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    jfrTaskRequest TaskScheduleTaskDetailsJfrTaskRequest
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    performanceTuningTaskRequest TaskScheduleTaskDetailsPerformanceTuningTaskRequest
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    removeInstallationSiteTaskRequest TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to remove.
    scanJavaServerTaskRequest TaskScheduleTaskDetailsScanJavaServerTaskRequest
    (Updatable) The list of managed instances to scan.
    scanLibraryTaskRequest TaskScheduleTaskDetailsScanLibraryTaskRequest
    (Updatable) The list of managed instances to scan.
    task_type str

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    add_installation_site_task_request TaskScheduleTaskDetailsAddInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to add.
    crypto_task_request TaskScheduleTaskDetailsCryptoTaskRequest
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    deployed_application_migration_task_request TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    java_migration_task_request TaskScheduleTaskDetailsJavaMigrationTaskRequest
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    jfr_task_request TaskScheduleTaskDetailsJfrTaskRequest
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    performance_tuning_task_request TaskScheduleTaskDetailsPerformanceTuningTaskRequest
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    remove_installation_site_task_request TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest
    (Updatable) The list of Java installation sites to remove.
    scan_java_server_task_request TaskScheduleTaskDetailsScanJavaServerTaskRequest
    (Updatable) The list of managed instances to scan.
    scan_library_task_request TaskScheduleTaskDetailsScanLibraryTaskRequest
    (Updatable) The list of managed instances to scan.
    taskType String

    (Updatable) Type of task.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    addInstallationSiteTaskRequest Property Map
    (Updatable) The list of Java installation sites to add.
    cryptoTaskRequest Property Map
    (Updatable) Details of the request to start a JFR crypto event analysis. When the targets aren't specified, then all managed instances currently in the fleet are selected.
    deployedApplicationMigrationTaskRequest Property Map
    (Updatable) Details of the request to start a Java migration analyses. The analyses requires the managed instance OCID, deployed application key, source JDK version, and target JDK version of each selected application.
    javaMigrationTaskRequest Property Map
    (Updatable) Details of the request to start a Java migration analysis. The analysis requires the managed instance OCID, application installation key, source JDK version, and target JDK version of each selected application.
    jfrTaskRequest Property Map
    (Updatable) Details of the request to start JFR recordings. When the targets aren't specified, then all managed instances currently in the Fleet are selected.
    performanceTuningTaskRequest Property Map
    (Updatable) Details of the request to start a JFR performance tuning analysis.
    removeInstallationSiteTaskRequest Property Map
    (Updatable) The list of Java installation sites to remove.
    scanJavaServerTaskRequest Property Map
    (Updatable) The list of managed instances to scan.
    scanLibraryTaskRequest Property Map
    (Updatable) The list of managed instances to scan.

    TaskScheduleTaskDetailsAddInstallationSiteTaskRequest, TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs

    InstallationSites List<TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite>
    (Updatable) The list of installation sites to add.
    PostInstallationActions List<string>
    (Updatable) Optional list of post java installation actions
    InstallationSites []TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite
    (Updatable) The list of installation sites to add.
    PostInstallationActions []string
    (Updatable) Optional list of post java installation actions
    installationSites List<TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite>
    (Updatable) The list of installation sites to add.
    postInstallationActions List<String>
    (Updatable) Optional list of post java installation actions
    installationSites TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite[]
    (Updatable) The list of installation sites to add.
    postInstallationActions string[]
    (Updatable) Optional list of post java installation actions
    installation_sites Sequence[TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite]
    (Updatable) The list of installation sites to add.
    post_installation_actions Sequence[str]
    (Updatable) Optional list of post java installation actions
    installationSites List<Property Map>
    (Updatable) The list of installation sites to add.
    postInstallationActions List<String>
    (Updatable) Optional list of post java installation actions

    TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite, TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs

    ArtifactContentType string
    (Updatable) Artifact content type for the Java version.
    ForceInstall bool
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    HeadlessMode bool
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    InstallationPath string
    (Updatable) Custom path to install new Java installation site.
    ManagedInstanceId string
    (Updatable) The OCID of the related managed instance.
    ReleaseVersion string
    (Updatable) The release version of the Java Runtime.
    ArtifactContentType string
    (Updatable) Artifact content type for the Java version.
    ForceInstall bool
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    HeadlessMode bool
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    InstallationPath string
    (Updatable) Custom path to install new Java installation site.
    ManagedInstanceId string
    (Updatable) The OCID of the related managed instance.
    ReleaseVersion string
    (Updatable) The release version of the Java Runtime.
    artifactContentType String
    (Updatable) Artifact content type for the Java version.
    forceInstall Boolean
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    headlessMode Boolean
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    installationPath String
    (Updatable) Custom path to install new Java installation site.
    managedInstanceId String
    (Updatable) The OCID of the related managed instance.
    releaseVersion String
    (Updatable) The release version of the Java Runtime.
    artifactContentType string
    (Updatable) Artifact content type for the Java version.
    forceInstall boolean
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    headlessMode boolean
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    installationPath string
    (Updatable) Custom path to install new Java installation site.
    managedInstanceId string
    (Updatable) The OCID of the related managed instance.
    releaseVersion string
    (Updatable) The release version of the Java Runtime.
    artifact_content_type str
    (Updatable) Artifact content type for the Java version.
    force_install bool
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    headless_mode bool
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    installation_path str
    (Updatable) Custom path to install new Java installation site.
    managed_instance_id str
    (Updatable) The OCID of the related managed instance.
    release_version str
    (Updatable) The release version of the Java Runtime.
    artifactContentType String
    (Updatable) Artifact content type for the Java version.
    forceInstall Boolean
    (Updatable) Forces the installation request even if a more recent release is already present in the host.
    headlessMode Boolean
    (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
    installationPath String
    (Updatable) Custom path to install new Java installation site.
    managedInstanceId String
    (Updatable) The OCID of the related managed instance.
    releaseVersion String
    (Updatable) The release version of the Java Runtime.

    TaskScheduleTaskDetailsCryptoTaskRequest, TaskScheduleTaskDetailsCryptoTaskRequestArgs

    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    Targets List<TaskScheduleTaskDetailsCryptoTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    Targets []TaskScheduleTaskDetailsCryptoTaskRequestTarget
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes Integer
    (Updatable) Duration of the JFR recording in minutes.
    targets List<TaskScheduleTaskDetailsCryptoTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Integer
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes number
    (Updatable) Duration of the JFR recording in minutes.
    targets TaskScheduleTaskDetailsCryptoTaskRequestTarget[]
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recording_duration_in_minutes int
    (Updatable) Duration of the JFR recording in minutes.
    targets Sequence[TaskScheduleTaskDetailsCryptoTaskRequestTarget]
    (Updatable) The attachment targets to start JFR.
    waiting_period_in_minutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes Number
    (Updatable) Duration of the JFR recording in minutes.
    targets List<Property Map>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.

    TaskScheduleTaskDetailsCryptoTaskRequestTarget, TaskScheduleTaskDetailsCryptoTaskRequestTargetArgs

    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    application_installation_key str
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    application_key str
    (Updatable) Unique key that identifies the application for JFR data collection.
    container_key str
    (Updatable) Unique key that identifies the container for JFR data collection.
    jre_key str
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managed_instance_id str
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.

    TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest, TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs

    Targets []TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTarget
    (Updatable) An array of migration analyses requests.
    targets TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTarget[]
    (Updatable) An array of migration analyses requests.
    targets List<Property Map>
    (Updatable) An array of migration analyses requests.

    TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTarget, TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs

    DeployedApplicationInstallationKey string
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    ExcludePackagePrefixes List<string>
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    IncludePackagePrefixes List<string>
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    ManagedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    SourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    TargetJdkVersion string
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
    DeployedApplicationInstallationKey string
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    ExcludePackagePrefixes []string
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    IncludePackagePrefixes []string
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    ManagedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    SourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    TargetJdkVersion string
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
    deployedApplicationInstallationKey String
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    excludePackagePrefixes List<String>
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes List<String>
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId String
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    sourceJdkVersion String
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion String
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
    deployedApplicationInstallationKey string
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    excludePackagePrefixes string[]
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes string[]
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    sourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion string
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
    deployed_application_installation_key str
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    exclude_package_prefixes Sequence[str]
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    include_package_prefixes Sequence[str]
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    managed_instance_id str
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    source_jdk_version str
    (Updatable) The JDK version the application is currently running on.
    target_jdk_version str
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
    deployedApplicationInstallationKey String
    (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
    excludePackagePrefixes List<String>
    (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes List<String>
    (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId String
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
    sourceJdkVersion String
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion String
    (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.

    TaskScheduleTaskDetailsJavaMigrationTaskRequest, TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs

    Targets List<TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget>
    (Updatable) An array of migration analysis requests.
    Targets []TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget
    (Updatable) An array of migration analysis requests.
    targets List<TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget>
    (Updatable) An array of migration analysis requests.
    targets TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget[]
    (Updatable) An array of migration analysis requests.
    targets Sequence[TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget]
    (Updatable) An array of migration analysis requests.
    targets List<Property Map>
    (Updatable) An array of migration analysis requests.

    TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget, TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs

    ApplicationInstallationKey string
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    ExcludePackagePrefixes List<string>
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    IncludePackagePrefixes List<string>
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    ManagedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    SourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    TargetJdkVersion string
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
    ApplicationInstallationKey string
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    ExcludePackagePrefixes []string
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    IncludePackagePrefixes []string
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    ManagedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    SourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    TargetJdkVersion string
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
    applicationInstallationKey String
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    excludePackagePrefixes List<String>
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes List<String>
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId String
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    sourceJdkVersion String
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion String
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
    applicationInstallationKey string
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    excludePackagePrefixes string[]
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes string[]
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId string
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    sourceJdkVersion string
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion string
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
    application_installation_key str
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    exclude_package_prefixes Sequence[str]
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    include_package_prefixes Sequence[str]
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    managed_instance_id str
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    source_jdk_version str
    (Updatable) The JDK version the application is currently running on.
    target_jdk_version str
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
    applicationInstallationKey String
    (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
    excludePackagePrefixes List<String>
    (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
    includePackagePrefixes List<String>
    (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
    managedInstanceId String
    (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
    sourceJdkVersion String
    (Updatable) The JDK version the application is currently running on.
    targetJdkVersion String
    (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.

    TaskScheduleTaskDetailsJfrTaskRequest, TaskScheduleTaskDetailsJfrTaskRequestArgs

    JfcProfileName string
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    JfcV1 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    JfcV2 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    RecordingSizeInMb int
    (Updatable) The maximum size limit for the JFR file collected.
    Targets List<TaskScheduleTaskDetailsJfrTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    JfcProfileName string
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    JfcV1 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    JfcV2 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    RecordingSizeInMb int
    (Updatable) The maximum size limit for the JFR file collected.
    Targets []TaskScheduleTaskDetailsJfrTaskRequestTarget
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    jfcProfileName String
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    jfcV1 String
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    jfcV2 String
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    recordingDurationInMinutes Integer
    (Updatable) Duration of the JFR recording in minutes.
    recordingSizeInMb Integer
    (Updatable) The maximum size limit for the JFR file collected.
    targets List<TaskScheduleTaskDetailsJfrTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Integer
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    jfcProfileName string
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    jfcV1 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    jfcV2 string
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    recordingDurationInMinutes number
    (Updatable) Duration of the JFR recording in minutes.
    recordingSizeInMb number
    (Updatable) The maximum size limit for the JFR file collected.
    targets TaskScheduleTaskDetailsJfrTaskRequestTarget[]
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    jfc_profile_name str
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    jfc_v1 str
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    jfc_v2 str
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    recording_duration_in_minutes int
    (Updatable) Duration of the JFR recording in minutes.
    recording_size_in_mb int
    (Updatable) The maximum size limit for the JFR file collected.
    targets Sequence[TaskScheduleTaskDetailsJfrTaskRequestTarget]
    (Updatable) The attachment targets to start JFR.
    waiting_period_in_minutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    jfcProfileName String
    (Updatable) The profile used for JFR events selection. If the name isn't recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
    jfcV1 String
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
    jfcV2 String
    (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
    recordingDurationInMinutes Number
    (Updatable) Duration of the JFR recording in minutes.
    recordingSizeInMb Number
    (Updatable) The maximum size limit for the JFR file collected.
    targets List<Property Map>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.

    TaskScheduleTaskDetailsJfrTaskRequestTarget, TaskScheduleTaskDetailsJfrTaskRequestTargetArgs

    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    application_installation_key str
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    application_key str
    (Updatable) Unique key that identifies the application for JFR data collection.
    container_key str
    (Updatable) Unique key that identifies the container for JFR data collection.
    jre_key str
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managed_instance_id str
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.

    TaskScheduleTaskDetailsPerformanceTuningTaskRequest, TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs

    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    Targets List<TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    RecordingDurationInMinutes int
    (Updatable) Duration of the JFR recording in minutes.
    Targets []TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget
    (Updatable) The attachment targets to start JFR.
    WaitingPeriodInMinutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes Integer
    (Updatable) Duration of the JFR recording in minutes.
    targets List<TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Integer
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes number
    (Updatable) Duration of the JFR recording in minutes.
    targets TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget[]
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recording_duration_in_minutes int
    (Updatable) Duration of the JFR recording in minutes.
    targets Sequence[TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget]
    (Updatable) The attachment targets to start JFR.
    waiting_period_in_minutes int
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
    recordingDurationInMinutes Number
    (Updatable) Duration of the JFR recording in minutes.
    targets List<Property Map>
    (Updatable) The attachment targets to start JFR.
    waitingPeriodInMinutes Number
    (Updatable) Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.

    TaskScheduleTaskDetailsPerformanceTuningTaskRequestTarget, TaskScheduleTaskDetailsPerformanceTuningTaskRequestTargetArgs

    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    ApplicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    ApplicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    ContainerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    JreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    ManagedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey string
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey string
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey string
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey string
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId string
    (Updatable) OCID of the Managed Instance to collect JFR data.
    application_installation_key str
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    application_key str
    (Updatable) Unique key that identifies the application for JFR data collection.
    container_key str
    (Updatable) Unique key that identifies the container for JFR data collection.
    jre_key str
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managed_instance_id str
    (Updatable) OCID of the Managed Instance to collect JFR data.
    applicationInstallationKey String
    (Updatable) Unique key that identifies the application installation for JFR data collection.
    applicationKey String
    (Updatable) Unique key that identifies the application for JFR data collection.
    containerKey String
    (Updatable) Unique key that identifies the container for JFR data collection.
    jreKey String
    (Updatable) Unique key that identify the JVM for JFR data collection.
    managedInstanceId String
    (Updatable) OCID of the Managed Instance to collect JFR data.

    TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest, TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs

    installationSites List<Property Map>
    (Updatable) The list of installation sites to remove.

    TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSite, TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs

    InstallationKey string
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    ManagedInstanceId string
    (Updatable) The OCID of the related managed instance.
    InstallationKey string
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    ManagedInstanceId string
    (Updatable) The OCID of the related managed instance.
    installationKey String
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    managedInstanceId String
    (Updatable) The OCID of the related managed instance.
    installationKey string
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    managedInstanceId string
    (Updatable) The OCID of the related managed instance.
    installation_key str
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    managed_instance_id str
    (Updatable) The OCID of the related managed instance.
    installationKey String
    (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
    managedInstanceId String
    (Updatable) The OCID of the related managed instance.

    TaskScheduleTaskDetailsScanJavaServerTaskRequest, TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs

    ManagedInstanceIds List<string>
    (Updatable) The list of OCIDs of managed instances to scan.
    ManagedInstanceIds []string
    (Updatable) The list of OCIDs of managed instances to scan.
    managedInstanceIds List<String>
    (Updatable) The list of OCIDs of managed instances to scan.
    managedInstanceIds string[]
    (Updatable) The list of OCIDs of managed instances to scan.
    managed_instance_ids Sequence[str]
    (Updatable) The list of OCIDs of managed instances to scan.
    managedInstanceIds List<String>
    (Updatable) The list of OCIDs of managed instances to scan.

    TaskScheduleTaskDetailsScanLibraryTaskRequest, TaskScheduleTaskDetailsScanLibraryTaskRequestArgs

    DynamicScanDurationInMinutes int
    (Updatable) The duration of the dynamic scan in minutes.
    IsDynamicScan bool
    (Updatable) Indicates whether the scan is dynamic or static.
    ManagedInstanceIds List<string>
    (Updatable) The list of OCIDs of managed instances to scan.
    DynamicScanDurationInMinutes int
    (Updatable) The duration of the dynamic scan in minutes.
    IsDynamicScan bool
    (Updatable) Indicates whether the scan is dynamic or static.
    ManagedInstanceIds []string
    (Updatable) The list of OCIDs of managed instances to scan.
    dynamicScanDurationInMinutes Integer
    (Updatable) The duration of the dynamic scan in minutes.
    isDynamicScan Boolean
    (Updatable) Indicates whether the scan is dynamic or static.
    managedInstanceIds List<String>
    (Updatable) The list of OCIDs of managed instances to scan.
    dynamicScanDurationInMinutes number
    (Updatable) The duration of the dynamic scan in minutes.
    isDynamicScan boolean
    (Updatable) Indicates whether the scan is dynamic or static.
    managedInstanceIds string[]
    (Updatable) The list of OCIDs of managed instances to scan.
    dynamic_scan_duration_in_minutes int
    (Updatable) The duration of the dynamic scan in minutes.
    is_dynamic_scan bool
    (Updatable) Indicates whether the scan is dynamic or static.
    managed_instance_ids Sequence[str]
    (Updatable) The list of OCIDs of managed instances to scan.
    dynamicScanDurationInMinutes Number
    (Updatable) The duration of the dynamic scan in minutes.
    isDynamicScan Boolean
    (Updatable) Indicates whether the scan is dynamic or static.
    managedInstanceIds List<String>
    (Updatable) The list of OCIDs of managed instances to scan.

    Import

    TaskSchedules can be imported using the id, e.g.

    $ pulumi import oci:Jms/taskSchedule:TaskSchedule test_task_schedule "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi