1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetJavaMigrationAnalysisResults
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Jms.getFleetJavaMigrationAnalysisResults

Explore with Pulumi AI

This data source provides the list of Fleet Java Migration Analysis Results in Oracle Cloud Infrastructure Jms service.

Lists the results of a Java migration analysis.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleetJavaMigrationAnalysisResults = oci.Jms.getFleetJavaMigrationAnalysisResults({
    fleetId: testFleet.id,
    applicationName: fleetJavaMigrationAnalysisResultApplicationName,
    hostName: fleetJavaMigrationAnalysisResultHostName,
    managedInstanceId: fleetJavaMigrationAnalysisResultManagedInstanceId,
    timeEnd: fleetJavaMigrationAnalysisResultTimeEnd,
    timeStart: fleetJavaMigrationAnalysisResultTimeStart,
});
Copy
import pulumi
import pulumi_oci as oci

test_fleet_java_migration_analysis_results = oci.Jms.get_fleet_java_migration_analysis_results(fleet_id=test_fleet["id"],
    application_name=fleet_java_migration_analysis_result_application_name,
    host_name=fleet_java_migration_analysis_result_host_name,
    managed_instance_id=fleet_java_migration_analysis_result_managed_instance_id,
    time_end=fleet_java_migration_analysis_result_time_end,
    time_start=fleet_java_migration_analysis_result_time_start)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := jms.GetFleetJavaMigrationAnalysisResults(ctx, &jms.GetFleetJavaMigrationAnalysisResultsArgs{
			FleetId:           testFleet.Id,
			ApplicationName:   pulumi.StringRef(fleetJavaMigrationAnalysisResultApplicationName),
			HostName:          pulumi.StringRef(fleetJavaMigrationAnalysisResultHostName),
			ManagedInstanceId: pulumi.StringRef(fleetJavaMigrationAnalysisResultManagedInstanceId),
			TimeEnd:           pulumi.StringRef(fleetJavaMigrationAnalysisResultTimeEnd),
			TimeStart:         pulumi.StringRef(fleetJavaMigrationAnalysisResultTimeStart),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFleetJavaMigrationAnalysisResults = Oci.Jms.GetFleetJavaMigrationAnalysisResults.Invoke(new()
    {
        FleetId = testFleet.Id,
        ApplicationName = fleetJavaMigrationAnalysisResultApplicationName,
        HostName = fleetJavaMigrationAnalysisResultHostName,
        ManagedInstanceId = fleetJavaMigrationAnalysisResultManagedInstanceId,
        TimeEnd = fleetJavaMigrationAnalysisResultTimeEnd,
        TimeStart = fleetJavaMigrationAnalysisResultTimeStart,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetFleetJavaMigrationAnalysisResultsArgs;
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) {
        final var testFleetJavaMigrationAnalysisResults = JmsFunctions.getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs.builder()
            .fleetId(testFleet.id())
            .applicationName(fleetJavaMigrationAnalysisResultApplicationName)
            .hostName(fleetJavaMigrationAnalysisResultHostName)
            .managedInstanceId(fleetJavaMigrationAnalysisResultManagedInstanceId)
            .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd)
            .timeStart(fleetJavaMigrationAnalysisResultTimeStart)
            .build());

    }
}
Copy
variables:
  testFleetJavaMigrationAnalysisResults:
    fn::invoke:
      function: oci:Jms:getFleetJavaMigrationAnalysisResults
      arguments:
        fleetId: ${testFleet.id}
        applicationName: ${fleetJavaMigrationAnalysisResultApplicationName}
        hostName: ${fleetJavaMigrationAnalysisResultHostName}
        managedInstanceId: ${fleetJavaMigrationAnalysisResultManagedInstanceId}
        timeEnd: ${fleetJavaMigrationAnalysisResultTimeEnd}
        timeStart: ${fleetJavaMigrationAnalysisResultTimeStart}
Copy

Using getFleetJavaMigrationAnalysisResults

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFleetJavaMigrationAnalysisResults(args: GetFleetJavaMigrationAnalysisResultsArgs, opts?: InvokeOptions): Promise<GetFleetJavaMigrationAnalysisResultsResult>
function getFleetJavaMigrationAnalysisResultsOutput(args: GetFleetJavaMigrationAnalysisResultsOutputArgs, opts?: InvokeOptions): Output<GetFleetJavaMigrationAnalysisResultsResult>
Copy
def get_fleet_java_migration_analysis_results(application_name: Optional[str] = None,
                                              filters: Optional[Sequence[_jms.GetFleetJavaMigrationAnalysisResultsFilter]] = None,
                                              fleet_id: Optional[str] = None,
                                              host_name: Optional[str] = None,
                                              managed_instance_id: Optional[str] = None,
                                              time_end: Optional[str] = None,
                                              time_start: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetFleetJavaMigrationAnalysisResultsResult
def get_fleet_java_migration_analysis_results_output(application_name: Optional[pulumi.Input[str]] = None,
                                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetFleetJavaMigrationAnalysisResultsFilterArgs]]]] = None,
                                              fleet_id: Optional[pulumi.Input[str]] = None,
                                              host_name: Optional[pulumi.Input[str]] = None,
                                              managed_instance_id: Optional[pulumi.Input[str]] = None,
                                              time_end: Optional[pulumi.Input[str]] = None,
                                              time_start: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetFleetJavaMigrationAnalysisResultsResult]
Copy
func GetFleetJavaMigrationAnalysisResults(ctx *Context, args *GetFleetJavaMigrationAnalysisResultsArgs, opts ...InvokeOption) (*GetFleetJavaMigrationAnalysisResultsResult, error)
func GetFleetJavaMigrationAnalysisResultsOutput(ctx *Context, args *GetFleetJavaMigrationAnalysisResultsOutputArgs, opts ...InvokeOption) GetFleetJavaMigrationAnalysisResultsResultOutput
Copy

> Note: This function is named GetFleetJavaMigrationAnalysisResults in the Go SDK.

public static class GetFleetJavaMigrationAnalysisResults 
{
    public static Task<GetFleetJavaMigrationAnalysisResultsResult> InvokeAsync(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetJavaMigrationAnalysisResultsResult> Invoke(GetFleetJavaMigrationAnalysisResultsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFleetJavaMigrationAnalysisResultsResult> getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions options)
public static Output<GetFleetJavaMigrationAnalysisResultsResult> getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FleetId This property is required. string
The OCID of the Fleet.
ApplicationName string
The name of the application.
Filters Changes to this property will trigger replacement. List<GetFleetJavaMigrationAnalysisResultsFilter>
HostName string
The host OCID of the managed instance.
ManagedInstanceId string
The Fleet-unique identifier of the related managed instance.
TimeEnd string
The end of the time period during which resources are searched (formatted according to RFC3339).
TimeStart string
The start of the time period during which resources are searched (formatted according to RFC3339).
FleetId This property is required. string
The OCID of the Fleet.
ApplicationName string
The name of the application.
Filters Changes to this property will trigger replacement. []GetFleetJavaMigrationAnalysisResultsFilter
HostName string
The host OCID of the managed instance.
ManagedInstanceId string
The Fleet-unique identifier of the related managed instance.
TimeEnd string
The end of the time period during which resources are searched (formatted according to RFC3339).
TimeStart string
The start of the time period during which resources are searched (formatted according to RFC3339).
fleetId This property is required. String
The OCID of the Fleet.
applicationName String
The name of the application.
filters Changes to this property will trigger replacement. List<GetFleetJavaMigrationAnalysisResultsFilter>
hostName String
The host OCID of the managed instance.
managedInstanceId String
The Fleet-unique identifier of the related managed instance.
timeEnd String
The end of the time period during which resources are searched (formatted according to RFC3339).
timeStart String
The start of the time period during which resources are searched (formatted according to RFC3339).
fleetId This property is required. string
The OCID of the Fleet.
applicationName string
The name of the application.
filters Changes to this property will trigger replacement. GetFleetJavaMigrationAnalysisResultsFilter[]
hostName string
The host OCID of the managed instance.
managedInstanceId string
The Fleet-unique identifier of the related managed instance.
timeEnd string
The end of the time period during which resources are searched (formatted according to RFC3339).
timeStart string
The start of the time period during which resources are searched (formatted according to RFC3339).
fleet_id This property is required. str
The OCID of the Fleet.
application_name str
The name of the application.
filters Changes to this property will trigger replacement. Sequence[jms.GetFleetJavaMigrationAnalysisResultsFilter]
host_name str
The host OCID of the managed instance.
managed_instance_id str
The Fleet-unique identifier of the related managed instance.
time_end str
The end of the time period during which resources are searched (formatted according to RFC3339).
time_start str
The start of the time period during which resources are searched (formatted according to RFC3339).
fleetId This property is required. String
The OCID of the Fleet.
applicationName String
The name of the application.
filters Changes to this property will trigger replacement. List<Property Map>
hostName String
The host OCID of the managed instance.
managedInstanceId String
The Fleet-unique identifier of the related managed instance.
timeEnd String
The end of the time period during which resources are searched (formatted according to RFC3339).
timeStart String
The start of the time period during which resources are searched (formatted according to RFC3339).

getFleetJavaMigrationAnalysisResults Result

The following output properties are available:

FleetId string
The fleet OCID.
Id string
The provider-assigned unique ID for this managed resource.
JavaMigrationAnalysisResultCollections List<GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection>
The list of java_migration_analysis_result_collection.
ApplicationName string
The name of the application for which the Java migration analysis was performed.
Filters List<GetFleetJavaMigrationAnalysisResultsFilter>
HostName string
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
ManagedInstanceId string
The managed instance OCID.
TimeEnd string
TimeStart string
FleetId string
The fleet OCID.
Id string
The provider-assigned unique ID for this managed resource.
JavaMigrationAnalysisResultCollections []GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection
The list of java_migration_analysis_result_collection.
ApplicationName string
The name of the application for which the Java migration analysis was performed.
Filters []GetFleetJavaMigrationAnalysisResultsFilter
HostName string
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
ManagedInstanceId string
The managed instance OCID.
TimeEnd string
TimeStart string
fleetId String
The fleet OCID.
id String
The provider-assigned unique ID for this managed resource.
javaMigrationAnalysisResultCollections List<GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection>
The list of java_migration_analysis_result_collection.
applicationName String
The name of the application for which the Java migration analysis was performed.
filters List<GetFleetJavaMigrationAnalysisResultsFilter>
hostName String
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
managedInstanceId String
The managed instance OCID.
timeEnd String
timeStart String
fleetId string
The fleet OCID.
id string
The provider-assigned unique ID for this managed resource.
javaMigrationAnalysisResultCollections GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection[]
The list of java_migration_analysis_result_collection.
applicationName string
The name of the application for which the Java migration analysis was performed.
filters GetFleetJavaMigrationAnalysisResultsFilter[]
hostName string
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
managedInstanceId string
The managed instance OCID.
timeEnd string
timeStart string
fleet_id str
The fleet OCID.
id str
The provider-assigned unique ID for this managed resource.
java_migration_analysis_result_collections Sequence[jms.GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection]
The list of java_migration_analysis_result_collection.
application_name str
The name of the application for which the Java migration analysis was performed.
filters Sequence[jms.GetFleetJavaMigrationAnalysisResultsFilter]
host_name str
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
managed_instance_id str
The managed instance OCID.
time_end str
time_start str
fleetId String
The fleet OCID.
id String
The provider-assigned unique ID for this managed resource.
javaMigrationAnalysisResultCollections List<Property Map>
The list of java_migration_analysis_result_collection.
applicationName String
The name of the application for which the Java migration analysis was performed.
filters List<Property Map>
hostName String
The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
managedInstanceId String
The managed instance OCID.
timeEnd String
timeStart String

Supporting Types

GetFleetJavaMigrationAnalysisResultsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection

items This property is required. List<Property Map>

GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem

ApplicationExecutionType This property is required. string
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
ApplicationKey This property is required. string
The unique key that identifies the application.
ApplicationName This property is required. string
The name of the application.
ApplicationPath This property is required. string
The installation path of the application for which the Java migration analysis was performed.
Bucket This property is required. string
The name of the object storage bucket that contains the results of the migration analysis.
FleetId This property is required. string
The OCID of the Fleet.
HostName This property is required. string
The host OCID of the managed instance.
Id This property is required. string
The OCID of the migration analysis report.
ManagedInstanceId This property is required. string
The Fleet-unique identifier of the related managed instance.
Metadata This property is required. string
Additional info reserved for future use.
Namespace This property is required. string
The object storage namespace that contains the results of the migration analysis.
ObjectLists This property is required. List<string>
The names of the object storage objects that contain the results of the migration analysis.
ObjectStorageUploadDirPath This property is required. string
The directory path of the object storage bucket that contains the results of the migration analysis.
SourceJdkVersion This property is required. string
The source JDK version of the application that's currently running.
TargetJdkVersion This property is required. string
The target JDK version of the application to be migrated.
TimeCreated This property is required. string
The time the result is compiled.
WorkRequestId This property is required. string
The OCID of the work request of this analysis.
ApplicationExecutionType This property is required. string
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
ApplicationKey This property is required. string
The unique key that identifies the application.
ApplicationName This property is required. string
The name of the application.
ApplicationPath This property is required. string
The installation path of the application for which the Java migration analysis was performed.
Bucket This property is required. string
The name of the object storage bucket that contains the results of the migration analysis.
FleetId This property is required. string
The OCID of the Fleet.
HostName This property is required. string
The host OCID of the managed instance.
Id This property is required. string
The OCID of the migration analysis report.
ManagedInstanceId This property is required. string
The Fleet-unique identifier of the related managed instance.
Metadata This property is required. string
Additional info reserved for future use.
Namespace This property is required. string
The object storage namespace that contains the results of the migration analysis.
ObjectLists This property is required. []string
The names of the object storage objects that contain the results of the migration analysis.
ObjectStorageUploadDirPath This property is required. string
The directory path of the object storage bucket that contains the results of the migration analysis.
SourceJdkVersion This property is required. string
The source JDK version of the application that's currently running.
TargetJdkVersion This property is required. string
The target JDK version of the application to be migrated.
TimeCreated This property is required. string
The time the result is compiled.
WorkRequestId This property is required. string
The OCID of the work request of this analysis.
applicationExecutionType This property is required. String
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
applicationKey This property is required. String
The unique key that identifies the application.
applicationName This property is required. String
The name of the application.
applicationPath This property is required. String
The installation path of the application for which the Java migration analysis was performed.
bucket This property is required. String
The name of the object storage bucket that contains the results of the migration analysis.
fleetId This property is required. String
The OCID of the Fleet.
hostName This property is required. String
The host OCID of the managed instance.
id This property is required. String
The OCID of the migration analysis report.
managedInstanceId This property is required. String
The Fleet-unique identifier of the related managed instance.
metadata This property is required. String
Additional info reserved for future use.
namespace This property is required. String
The object storage namespace that contains the results of the migration analysis.
objectLists This property is required. List<String>
The names of the object storage objects that contain the results of the migration analysis.
objectStorageUploadDirPath This property is required. String
The directory path of the object storage bucket that contains the results of the migration analysis.
sourceJdkVersion This property is required. String
The source JDK version of the application that's currently running.
targetJdkVersion This property is required. String
The target JDK version of the application to be migrated.
timeCreated This property is required. String
The time the result is compiled.
workRequestId This property is required. String
The OCID of the work request of this analysis.
applicationExecutionType This property is required. string
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
applicationKey This property is required. string
The unique key that identifies the application.
applicationName This property is required. string
The name of the application.
applicationPath This property is required. string
The installation path of the application for which the Java migration analysis was performed.
bucket This property is required. string
The name of the object storage bucket that contains the results of the migration analysis.
fleetId This property is required. string
The OCID of the Fleet.
hostName This property is required. string
The host OCID of the managed instance.
id This property is required. string
The OCID of the migration analysis report.
managedInstanceId This property is required. string
The Fleet-unique identifier of the related managed instance.
metadata This property is required. string
Additional info reserved for future use.
namespace This property is required. string
The object storage namespace that contains the results of the migration analysis.
objectLists This property is required. string[]
The names of the object storage objects that contain the results of the migration analysis.
objectStorageUploadDirPath This property is required. string
The directory path of the object storage bucket that contains the results of the migration analysis.
sourceJdkVersion This property is required. string
The source JDK version of the application that's currently running.
targetJdkVersion This property is required. string
The target JDK version of the application to be migrated.
timeCreated This property is required. string
The time the result is compiled.
workRequestId This property is required. string
The OCID of the work request of this analysis.
application_execution_type This property is required. str
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
application_key This property is required. str
The unique key that identifies the application.
application_name This property is required. str
The name of the application.
application_path This property is required. str
The installation path of the application for which the Java migration analysis was performed.
bucket This property is required. str
The name of the object storage bucket that contains the results of the migration analysis.
fleet_id This property is required. str
The OCID of the Fleet.
host_name This property is required. str
The host OCID of the managed instance.
id This property is required. str
The OCID of the migration analysis report.
managed_instance_id This property is required. str
The Fleet-unique identifier of the related managed instance.
metadata This property is required. str
Additional info reserved for future use.
namespace This property is required. str
The object storage namespace that contains the results of the migration analysis.
object_lists This property is required. Sequence[str]
The names of the object storage objects that contain the results of the migration analysis.
object_storage_upload_dir_path This property is required. str
The directory path of the object storage bucket that contains the results of the migration analysis.
source_jdk_version This property is required. str
The source JDK version of the application that's currently running.
target_jdk_version This property is required. str
The target JDK version of the application to be migrated.
time_created This property is required. str
The time the result is compiled.
work_request_id This property is required. str
The OCID of the work request of this analysis.
applicationExecutionType This property is required. String
Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
applicationKey This property is required. String
The unique key that identifies the application.
applicationName This property is required. String
The name of the application.
applicationPath This property is required. String
The installation path of the application for which the Java migration analysis was performed.
bucket This property is required. String
The name of the object storage bucket that contains the results of the migration analysis.
fleetId This property is required. String
The OCID of the Fleet.
hostName This property is required. String
The host OCID of the managed instance.
id This property is required. String
The OCID of the migration analysis report.
managedInstanceId This property is required. String
The Fleet-unique identifier of the related managed instance.
metadata This property is required. String
Additional info reserved for future use.
namespace This property is required. String
The object storage namespace that contains the results of the migration analysis.
objectLists This property is required. List<String>
The names of the object storage objects that contain the results of the migration analysis.
objectStorageUploadDirPath This property is required. String
The directory path of the object storage bucket that contains the results of the migration analysis.
sourceJdkVersion This property is required. String
The source JDK version of the application that's currently running.
targetJdkVersion This property is required. String
The target JDK version of the application to be migrated.
timeCreated This property is required. String
The time the result is compiled.
workRequestId This property is required. String
The OCID of the work request of this analysis.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.