oci.Jms.TaskSchedule
Explore with Pulumi AI
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:
- Execution
Recurrences 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'.
- Fleet
Id string - (Updatable) The OCID of the Fleet.
- Task
Details TaskSchedule Task Details - (Updatable) The minimum details of a task.
- Execution
Recurrences 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'.
- Fleet
Id string - (Updatable) The OCID of the Fleet.
- Task
Details TaskSchedule Task Details Args - (Updatable) The minimum details of a task.
- execution
Recurrences 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'.
- fleet
Id String - (Updatable) The OCID of the Fleet.
- task
Details TaskSchedule Task Details - (Updatable) The minimum details of a task.
- execution
Recurrences 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'.
- fleet
Id string - (Updatable) The OCID of the Fleet.
- task
Details TaskSchedule Task Details - (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 TaskSchedule Task Details Args - (Updatable) The minimum details of a task.
- execution
Recurrences 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'.
- fleet
Id String - (Updatable) The OCID of the Fleet.
- task
Details 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:
- Created
By 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.
- Time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- Time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- Time
Next stringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- Created
By 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.
- Time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- Time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- Time
Next stringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By 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.
- time
Created String - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last StringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last StringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next StringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By 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.
- time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next stringRun - 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_ strrun - The date and time the task schedule ran last (formatted according to RFC3339).
- time_
last_ strupdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time_
next_ strrun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By 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.
- time
Created String - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last StringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last StringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next StringRun - 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.
- Created
By string - Name of the task creator.
- Execution
Recurrences 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'.
- Fleet
Id string - (Updatable) The OCID of the Fleet.
- Name string
- The name of the task schedule.
- State string
- All possible status of task schedule.
- Task
Details TaskSchedule Task Details - (Updatable) The minimum details of a task.
- Time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- Time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- Time
Next stringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- Created
By string - Name of the task creator.
- Execution
Recurrences 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'.
- Fleet
Id string - (Updatable) The OCID of the Fleet.
- Name string
- The name of the task schedule.
- State string
- All possible status of task schedule.
- Task
Details TaskSchedule Task Details Args - (Updatable) The minimum details of a task.
- Time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- Time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- Time
Next stringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By String - Name of the task creator.
- execution
Recurrences 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'.
- fleet
Id String - (Updatable) The OCID of the Fleet.
- name String
- The name of the task schedule.
- state String
- All possible status of task schedule.
- task
Details TaskSchedule Task Details - (Updatable) The minimum details of a task.
- time
Created String - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last StringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last StringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next StringRun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By string - Name of the task creator.
- execution
Recurrences 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'.
- fleet
Id string - (Updatable) The OCID of the Fleet.
- name string
- The name of the task schedule.
- state string
- All possible status of task schedule.
- task
Details TaskSchedule Task Details - (Updatable) The minimum details of a task.
- time
Created string - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last stringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last stringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next stringRun - 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 TaskSchedule Task Details Args - (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_ strrun - The date and time the task schedule ran last (formatted according to RFC3339).
- time_
last_ strupdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time_
next_ strrun - The date and time the task schedule will run next (formatted according to RFC3339).
- created
By String - Name of the task creator.
- execution
Recurrences 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'.
- fleet
Id String - (Updatable) The OCID of the Fleet.
- name String
- The name of the task schedule.
- state String
- All possible status of task schedule.
- task
Details Property Map - (Updatable) The minimum details of a task.
- time
Created String - The date and time the task schedule was created (formatted according to RFC3339).
- time
Last StringRun - The date and time the task schedule ran last (formatted according to RFC3339).
- time
Last StringUpdated - The date and time the task schedule was last updated (formatted according to RFC3339).
- time
Next StringRun - The date and time the task schedule will run next (formatted according to RFC3339).
Supporting Types
TaskScheduleTaskDetails, TaskScheduleTaskDetailsArgs
- Task
Type 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
- Add
Installation TaskSite Task Request Schedule Task Details Add Installation Site Task Request - (Updatable) The list of Java installation sites to add.
- Crypto
Task TaskRequest Schedule Task Details Crypto Task Request - (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 TaskMigration Task Request Schedule Task Details Deployed Application Migration Task Request - (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 TaskTask Request Schedule Task Details Java Migration Task Request - (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 TaskRequest Schedule Task Details Jfr Task Request - (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 TaskTask Request Schedule Task Details Performance Tuning Task Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- Remove
Installation TaskSite Task Request Schedule Task Details Remove Installation Site Task Request - (Updatable) The list of Java installation sites to remove.
- Scan
Java TaskServer Task Request Schedule Task Details Scan Java Server Task Request - (Updatable) The list of managed instances to scan.
- Scan
Library TaskTask Request Schedule Task Details Scan Library Task Request - (Updatable) The list of managed instances to scan.
- Task
Type 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
- Add
Installation TaskSite Task Request Schedule Task Details Add Installation Site Task Request - (Updatable) The list of Java installation sites to add.
- Crypto
Task TaskRequest Schedule Task Details Crypto Task Request - (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 TaskMigration Task Request Schedule Task Details Deployed Application Migration Task Request - (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 TaskTask Request Schedule Task Details Java Migration Task Request - (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 TaskRequest Schedule Task Details Jfr Task Request - (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 TaskTask Request Schedule Task Details Performance Tuning Task Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- Remove
Installation TaskSite Task Request Schedule Task Details Remove Installation Site Task Request - (Updatable) The list of Java installation sites to remove.
- Scan
Java TaskServer Task Request Schedule Task Details Scan Java Server Task Request - (Updatable) The list of managed instances to scan.
- Scan
Library TaskTask Request Schedule Task Details Scan Library Task Request - (Updatable) The list of managed instances to scan.
- task
Type 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
- add
Installation TaskSite Task Request Schedule Task Details Add Installation Site Task Request - (Updatable) The list of Java installation sites to add.
- crypto
Task TaskRequest Schedule Task Details Crypto Task Request - (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 TaskMigration Task Request Schedule Task Details Deployed Application Migration Task Request - (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 TaskTask Request Schedule Task Details Java Migration Task Request - (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 TaskRequest Schedule Task Details Jfr Task Request - (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 TaskTask Request Schedule Task Details Performance Tuning Task Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- remove
Installation TaskSite Task Request Schedule Task Details Remove Installation Site Task Request - (Updatable) The list of Java installation sites to remove.
- scan
Java TaskServer Task Request Schedule Task Details Scan Java Server Task Request - (Updatable) The list of managed instances to scan.
- scan
Library TaskTask Request Schedule Task Details Scan Library Task Request - (Updatable) The list of managed instances to scan.
- task
Type 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
- add
Installation TaskSite Task Request Schedule Task Details Add Installation Site Task Request - (Updatable) The list of Java installation sites to add.
- crypto
Task TaskRequest Schedule Task Details Crypto Task Request - (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 TaskMigration Task Request Schedule Task Details Deployed Application Migration Task Request - (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 TaskTask Request Schedule Task Details Java Migration Task Request - (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 TaskRequest Schedule Task Details Jfr Task Request - (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 TaskTask Request Schedule Task Details Performance Tuning Task Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- remove
Installation TaskSite Task Request Schedule Task Details Remove Installation Site Task Request - (Updatable) The list of Java installation sites to remove.
- scan
Java TaskServer Task Request Schedule Task Details Scan Java Server Task Request - (Updatable) The list of managed instances to scan.
- scan
Library TaskTask Request Schedule Task Details Scan Library Task Request - (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_ Tasksite_ task_ request Schedule Task Details Add Installation Site Task Request - (Updatable) The list of Java installation sites to add.
- crypto_
task_ Taskrequest Schedule Task Details Crypto Task Request - (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_ Taskmigration_ task_ request Schedule Task Details Deployed Application Migration Task Request - (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_ Tasktask_ request Schedule Task Details Java Migration Task Request - (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_ Taskrequest Schedule Task Details Jfr Task Request - (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_ Tasktask_ request Schedule Task Details Performance Tuning Task Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- remove_
installation_ Tasksite_ task_ request Schedule Task Details Remove Installation Site Task Request - (Updatable) The list of Java installation sites to remove.
- scan_
java_ Taskserver_ task_ request Schedule Task Details Scan Java Server Task Request - (Updatable) The list of managed instances to scan.
- scan_
library_ Tasktask_ request Schedule Task Details Scan Library Task Request - (Updatable) The list of managed instances to scan.
- task
Type 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
- add
Installation Property MapSite Task Request - (Updatable) The list of Java installation sites to add.
- crypto
Task Property MapRequest - (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 Property MapMigration Task Request - (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 Property MapTask Request - (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 Property MapRequest - (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 Property MapTask Request - (Updatable) Details of the request to start a JFR performance tuning analysis.
- remove
Installation Property MapSite Task Request - (Updatable) The list of Java installation sites to remove.
- scan
Java Property MapServer Task Request - (Updatable) The list of managed instances to scan.
- scan
Library Property MapTask Request - (Updatable) The list of managed instances to scan.
TaskScheduleTaskDetailsAddInstallationSiteTaskRequest, TaskScheduleTaskDetailsAddInstallationSiteTaskRequestArgs
- Installation
Sites List<TaskSchedule Task Details Add Installation Site Task Request Installation Site> - (Updatable) The list of installation sites to add.
- Post
Installation List<string>Actions - (Updatable) Optional list of post java installation actions
- Installation
Sites []TaskSchedule Task Details Add Installation Site Task Request Installation Site - (Updatable) The list of installation sites to add.
- Post
Installation []stringActions - (Updatable) Optional list of post java installation actions
- installation
Sites List<TaskSchedule Task Details Add Installation Site Task Request Installation Site> - (Updatable) The list of installation sites to add.
- post
Installation List<String>Actions - (Updatable) Optional list of post java installation actions
- installation
Sites TaskSchedule Task Details Add Installation Site Task Request Installation Site[] - (Updatable) The list of installation sites to add.
- post
Installation string[]Actions - (Updatable) Optional list of post java installation actions
- installation_
sites Sequence[TaskSchedule Task Details Add Installation Site Task Request Installation Site] - (Updatable) The list of installation sites to add.
- post_
installation_ Sequence[str]actions - (Updatable) Optional list of post java installation actions
- installation
Sites List<Property Map> - (Updatable) The list of installation sites to add.
- post
Installation List<String>Actions - (Updatable) Optional list of post java installation actions
TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSite, TaskScheduleTaskDetailsAddInstallationSiteTaskRequestInstallationSiteArgs
- Artifact
Content stringType - (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 string - (Updatable) Custom path to install new Java installation site.
- Managed
Instance stringId - (Updatable) The OCID of the related managed instance.
- Release
Version string - (Updatable) The release version of the Java Runtime.
- Artifact
Content stringType - (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 string - (Updatable) Custom path to install new Java installation site.
- Managed
Instance stringId - (Updatable) The OCID of the related managed instance.
- Release
Version string - (Updatable) The release version of the Java Runtime.
- artifact
Content StringType - (Updatable) Artifact content type for the Java version.
- force
Install Boolean - (Updatable) Forces the installation request even if a more recent release is already present in the host.
- headless
Mode Boolean - (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
- installation
Path String - (Updatable) Custom path to install new Java installation site.
- managed
Instance StringId - (Updatable) The OCID of the related managed instance.
- release
Version String - (Updatable) The release version of the Java Runtime.
- artifact
Content stringType - (Updatable) Artifact content type for the Java version.
- force
Install boolean - (Updatable) Forces the installation request even if a more recent release is already present in the host.
- headless
Mode boolean - (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
- installation
Path string - (Updatable) Custom path to install new Java installation site.
- managed
Instance stringId - (Updatable) The OCID of the related managed instance.
- release
Version string - (Updatable) The release version of the Java Runtime.
- artifact_
content_ strtype - (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_ strid - (Updatable) The OCID of the related managed instance.
- release_
version str - (Updatable) The release version of the Java Runtime.
- artifact
Content StringType - (Updatable) Artifact content type for the Java version.
- force
Install Boolean - (Updatable) Forces the installation request even if a more recent release is already present in the host.
- headless
Mode Boolean - (Updatable) Flag to install headless or headful Java installation. Only valid for Oracle Linux in OCI.
- installation
Path String - (Updatable) Custom path to install new Java installation site.
- managed
Instance StringId - (Updatable) The OCID of the related managed instance.
- release
Version String - (Updatable) The release version of the Java Runtime.
TaskScheduleTaskDetailsCryptoTaskRequest, TaskScheduleTaskDetailsCryptoTaskRequestArgs
- Recording
Duration intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Targets
List<Task
Schedule Task Details Crypto Task Request Target> - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Targets
[]Task
Schedule Task Details Crypto Task Request Target - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 IntegerIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
List<Task
Schedule Task Details Crypto Task Request Target> - (Updatable) The attachment targets to start JFR.
- waiting
Period IntegerIn Minutes - (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 numberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
Task
Schedule Task Details Crypto Task Request Target[] - (Updatable) The attachment targets to start JFR.
- waiting
Period numberIn Minutes - (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_ intin_ minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
Sequence[Task
Schedule Task Details Crypto Task Request Target] - (Updatable) The attachment targets to start JFR.
- waiting_
period_ intin_ minutes - (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 NumberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets List<Property Map>
- (Updatable) The attachment targets to start JFR.
- waiting
Period NumberIn Minutes - (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
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application_
installation_ strkey - (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_ strid - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequest, TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestArgs
- Targets
List<Task
Schedule Task Details Deployed Application Migration Task Request Target> - (Updatable) An array of migration analyses requests.
- Targets
[]Task
Schedule Task Details Deployed Application Migration Task Request Target - (Updatable) An array of migration analyses requests.
- targets
List<Task
Schedule Task Details Deployed Application Migration Task Request Target> - (Updatable) An array of migration analyses requests.
- targets
Task
Schedule Task Details Deployed Application Migration Task Request Target[] - (Updatable) An array of migration analyses requests.
- targets
Sequence[Task
Schedule Task Details Deployed Application Migration Task Request Target] - (Updatable) An array of migration analyses requests.
- targets List<Property Map>
- (Updatable) An array of migration analyses requests.
TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTarget, TaskScheduleTaskDetailsDeployedApplicationMigrationTaskRequestTargetArgs
- Deployed
Application stringInstallation Key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- Exclude
Package List<string>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- Include
Package List<string>Prefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- Managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- Source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- Target
Jdk stringVersion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
- Deployed
Application stringInstallation Key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- Exclude
Package []stringPrefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- Include
Package []stringPrefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- Managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- Source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- Target
Jdk stringVersion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
- deployed
Application StringInstallation Key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- exclude
Package List<String>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- include
Package List<String>Prefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- managed
Instance StringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- source
Jdk StringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk StringVersion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
- deployed
Application stringInstallation Key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- exclude
Package string[]Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- include
Package string[]Prefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk stringVersion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
- deployed_
application_ strinstallation_ key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- exclude_
package_ Sequence[str]prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- include_
package_ Sequence[str]prefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- managed_
instance_ strid - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- source_
jdk_ strversion - (Updatable) The JDK version the application is currently running on.
- target_
jdk_ strversion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
- deployed
Application StringInstallation Key - (Updatable) The unique key that identifies the deployed application's installation path that is to be used for the Java migration analyses.
- exclude
Package List<String>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified.
- include
Package List<String>Prefixes - (Updatable) Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified.
- managed
Instance StringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analyses was performed.
- source
Jdk StringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk StringVersion - (Updatable) The JDK version against which the migration analyses was performed to identify effort required to move from source JDK.
TaskScheduleTaskDetailsJavaMigrationTaskRequest, TaskScheduleTaskDetailsJavaMigrationTaskRequestArgs
- Targets
List<Task
Schedule Task Details Java Migration Task Request Target> - (Updatable) An array of migration analysis requests.
- Targets
[]Task
Schedule Task Details Java Migration Task Request Target - (Updatable) An array of migration analysis requests.
- targets
List<Task
Schedule Task Details Java Migration Task Request Target> - (Updatable) An array of migration analysis requests.
- targets
Task
Schedule Task Details Java Migration Task Request Target[] - (Updatable) An array of migration analysis requests.
- targets
Sequence[Task
Schedule Task Details Java Migration Task Request Target] - (Updatable) An array of migration analysis requests.
- targets List<Property Map>
- (Updatable) An array of migration analysis requests.
TaskScheduleTaskDetailsJavaMigrationTaskRequestTarget, TaskScheduleTaskDetailsJavaMigrationTaskRequestTargetArgs
- Application
Installation stringKey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- Exclude
Package List<string>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- Include
Package List<string>Prefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- Managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- Source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- Target
Jdk stringVersion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- Application
Installation stringKey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- Exclude
Package []stringPrefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- Include
Package []stringPrefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- Managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- Source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- Target
Jdk stringVersion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- application
Installation StringKey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- exclude
Package List<String>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- include
Package List<String>Prefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- managed
Instance StringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- source
Jdk StringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk StringVersion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- application
Installation stringKey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- exclude
Package string[]Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- include
Package string[]Prefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- managed
Instance stringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- source
Jdk stringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk stringVersion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- application_
installation_ strkey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- exclude_
package_ Sequence[str]prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- include_
package_ Sequence[str]prefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- managed_
instance_ strid - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- source_
jdk_ strversion - (Updatable) The JDK version the application is currently running on.
- target_
jdk_ strversion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
- application
Installation StringKey - (Updatable) The unique key that identifies the application's installation path that is to be used for the Java migration analysis.
- exclude
Package List<String>Prefixes - (Updatable) Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified.
- include
Package List<String>Prefixes - (Updatable) includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified.
- managed
Instance StringId - (Updatable) The OCID of the managed instance that hosts the application for which the Java migration analysis was performed.
- source
Jdk StringVersion - (Updatable) The JDK version the application is currently running on.
- target
Jdk StringVersion - (Updatable) The JDK version against which the migration analysis was performed to identify effort required to move from source JDK.
TaskScheduleTaskDetailsJfrTaskRequest, TaskScheduleTaskDetailsJfrTaskRequestArgs
- Jfc
Profile stringName - (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 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
- Jfc
V2 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
- Recording
Duration intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Recording
Size intIn Mb - (Updatable) The maximum size limit for the JFR file collected.
- Targets
List<Task
Schedule Task Details Jfr Task Request Target> - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 stringName - (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 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
- Jfc
V2 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
- Recording
Duration intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Recording
Size intIn Mb - (Updatable) The maximum size limit for the JFR file collected.
- Targets
[]Task
Schedule Task Details Jfr Task Request Target - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 StringName - (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 String - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
- jfc
V2 String - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
- recording
Duration IntegerIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- recording
Size IntegerIn Mb - (Updatable) The maximum size limit for the JFR file collected.
- targets
List<Task
Schedule Task Details Jfr Task Request Target> - (Updatable) The attachment targets to start JFR.
- waiting
Period IntegerIn Minutes - (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 stringName - (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 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
- jfc
V2 string - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
- recording
Duration numberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- recording
Size numberIn Mb - (Updatable) The maximum size limit for the JFR file collected.
- targets
Task
Schedule Task Details Jfr Task Request Target[] - (Updatable) The attachment targets to start JFR.
- waiting
Period numberIn Minutes - (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_ strname - (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_ intin_ minutes - (Updatable) Duration of the JFR recording in minutes.
- recording_
size_ intin_ mb - (Updatable) The maximum size limit for the JFR file collected.
- targets
Sequence[Task
Schedule Task Details Jfr Task Request Target] - (Updatable) The attachment targets to start JFR.
- waiting_
period_ intin_ minutes - (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 StringName - (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 String - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
- jfc
V2 String - (Updatable) The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
- recording
Duration NumberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- recording
Size NumberIn Mb - (Updatable) The maximum size limit for the JFR file collected.
- targets List<Property Map>
- (Updatable) The attachment targets to start JFR.
- waiting
Period NumberIn Minutes - (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
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application_
installation_ strkey - (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_ strid - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
TaskScheduleTaskDetailsPerformanceTuningTaskRequest, TaskScheduleTaskDetailsPerformanceTuningTaskRequestArgs
- Recording
Duration intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Targets
List<Task
Schedule Task Details Performance Tuning Task Request Target> - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 intIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- Targets
[]Task
Schedule Task Details Performance Tuning Task Request Target - (Updatable) The attachment targets to start JFR.
- Waiting
Period intIn Minutes - (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 IntegerIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
List<Task
Schedule Task Details Performance Tuning Task Request Target> - (Updatable) The attachment targets to start JFR.
- waiting
Period IntegerIn Minutes - (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 numberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
Task
Schedule Task Details Performance Tuning Task Request Target[] - (Updatable) The attachment targets to start JFR.
- waiting
Period numberIn Minutes - (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_ intin_ minutes - (Updatable) Duration of the JFR recording in minutes.
- targets
Sequence[Task
Schedule Task Details Performance Tuning Task Request Target] - (Updatable) The attachment targets to start JFR.
- waiting_
period_ intin_ minutes - (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 NumberIn Minutes - (Updatable) Duration of the JFR recording in minutes.
- targets List<Property Map>
- (Updatable) The attachment targets to start JFR.
- waiting
Period NumberIn Minutes - (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
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- Application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- Application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- Container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- Jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- Managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation stringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key string - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key string - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key string - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance stringId - (Updatable) OCID of the Managed Instance to collect JFR data.
- application_
installation_ strkey - (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_ strid - (Updatable) OCID of the Managed Instance to collect JFR data.
- application
Installation StringKey - (Updatable) Unique key that identifies the application installation for JFR data collection.
- application
Key String - (Updatable) Unique key that identifies the application for JFR data collection.
- container
Key String - (Updatable) Unique key that identifies the container for JFR data collection.
- jre
Key String - (Updatable) Unique key that identify the JVM for JFR data collection.
- managed
Instance StringId - (Updatable) OCID of the Managed Instance to collect JFR data.
TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequest, TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestArgs
- Installation
Sites List<TaskSchedule Task Details Remove Installation Site Task Request Installation Site> - (Updatable) The list of installation sites to remove.
- Installation
Sites []TaskSchedule Task Details Remove Installation Site Task Request Installation Site - (Updatable) The list of installation sites to remove.
- installation
Sites List<TaskSchedule Task Details Remove Installation Site Task Request Installation Site> - (Updatable) The list of installation sites to remove.
- installation
Sites TaskSchedule Task Details Remove Installation Site Task Request Installation Site[] - (Updatable) The list of installation sites to remove.
- installation_
sites Sequence[TaskSchedule Task Details Remove Installation Site Task Request Installation Site] - (Updatable) The list of installation sites to remove.
- installation
Sites List<Property Map> - (Updatable) The list of installation sites to remove.
TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSite, TaskScheduleTaskDetailsRemoveInstallationSiteTaskRequestInstallationSiteArgs
- Installation
Key string - (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
- Managed
Instance stringId - (Updatable) The OCID of the related managed instance.
- Installation
Key string - (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
- Managed
Instance stringId - (Updatable) The OCID of the related managed instance.
- installation
Key String - (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
- managed
Instance StringId - (Updatable) The OCID of the related managed instance.
- installation
Key string - (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
- managed
Instance stringId - (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_ strid - (Updatable) The OCID of the related managed instance.
- installation
Key String - (Updatable) The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
- managed
Instance StringId - (Updatable) The OCID of the related managed instance.
TaskScheduleTaskDetailsScanJavaServerTaskRequest, TaskScheduleTaskDetailsScanJavaServerTaskRequestArgs
- Managed
Instance List<string>Ids - (Updatable) The list of OCIDs of managed instances to scan.
- Managed
Instance []stringIds - (Updatable) The list of OCIDs of managed instances to scan.
- managed
Instance List<String>Ids - (Updatable) The list of OCIDs of managed instances to scan.
- managed
Instance string[]Ids - (Updatable) The list of OCIDs of managed instances to scan.
- managed_
instance_ Sequence[str]ids - (Updatable) The list of OCIDs of managed instances to scan.
- managed
Instance List<String>Ids - (Updatable) The list of OCIDs of managed instances to scan.
TaskScheduleTaskDetailsScanLibraryTaskRequest, TaskScheduleTaskDetailsScanLibraryTaskRequestArgs
- Dynamic
Scan intDuration In Minutes - (Updatable) The duration of the dynamic scan in minutes.
- Is
Dynamic boolScan - (Updatable) Indicates whether the scan is dynamic or static.
- Managed
Instance List<string>Ids - (Updatable) The list of OCIDs of managed instances to scan.
- Dynamic
Scan intDuration In Minutes - (Updatable) The duration of the dynamic scan in minutes.
- Is
Dynamic boolScan - (Updatable) Indicates whether the scan is dynamic or static.
- Managed
Instance []stringIds - (Updatable) The list of OCIDs of managed instances to scan.
- dynamic
Scan IntegerDuration In Minutes - (Updatable) The duration of the dynamic scan in minutes.
- is
Dynamic BooleanScan - (Updatable) Indicates whether the scan is dynamic or static.
- managed
Instance List<String>Ids - (Updatable) The list of OCIDs of managed instances to scan.
- dynamic
Scan numberDuration In Minutes - (Updatable) The duration of the dynamic scan in minutes.
- is
Dynamic booleanScan - (Updatable) Indicates whether the scan is dynamic or static.
- managed
Instance string[]Ids - (Updatable) The list of OCIDs of managed instances to scan.
- dynamic_
scan_ intduration_ in_ minutes - (Updatable) The duration of the dynamic scan in minutes.
- is_
dynamic_ boolscan - (Updatable) Indicates whether the scan is dynamic or static.
- managed_
instance_ Sequence[str]ids - (Updatable) The list of OCIDs of managed instances to scan.
- dynamic
Scan NumberDuration In Minutes - (Updatable) The duration of the dynamic scan in minutes.
- is
Dynamic BooleanScan - (Updatable) Indicates whether the scan is dynamic or static.
- managed
Instance List<String>Ids - (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.