1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetJavaMigrationAnalysisResults
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.Jms.getFleetJavaMigrationAnalysisResults

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    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,
        managedInstanceId: testManagedInstance.id,
        timeEnd: fleetJavaMigrationAnalysisResultTimeEnd,
        timeStart: fleetJavaMigrationAnalysisResultTimeStart,
    });
    
    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"],
        managed_instance_id=test_managed_instance["id"],
        time_end=fleet_java_migration_analysis_result_time_end,
        time_start=fleet_java_migration_analysis_result_time_start)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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,
    			ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),
    			TimeEnd:           pulumi.StringRef(fleetJavaMigrationAnalysisResultTimeEnd),
    			TimeStart:         pulumi.StringRef(fleetJavaMigrationAnalysisResultTimeStart),
    		}, nil)
    		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 testFleetJavaMigrationAnalysisResults = Oci.Jms.GetFleetJavaMigrationAnalysisResults.Invoke(new()
        {
            FleetId = testFleet.Id,
            ManagedInstanceId = testManagedInstance.Id,
            TimeEnd = fleetJavaMigrationAnalysisResultTimeEnd,
            TimeStart = fleetJavaMigrationAnalysisResultTimeStart,
        });
    
    });
    
    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())
                .managedInstanceId(testManagedInstance.id())
                .timeEnd(fleetJavaMigrationAnalysisResultTimeEnd)
                .timeStart(fleetJavaMigrationAnalysisResultTimeStart)
                .build());
    
        }
    }
    
    variables:
      testFleetJavaMigrationAnalysisResults:
        fn::invoke:
          Function: oci:Jms:getFleetJavaMigrationAnalysisResults
          Arguments:
            fleetId: ${testFleet.id}
            managedInstanceId: ${testManagedInstance.id}
            timeEnd: ${fleetJavaMigrationAnalysisResultTimeEnd}
            timeStart: ${fleetJavaMigrationAnalysisResultTimeStart}
    

    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>
    def get_fleet_java_migration_analysis_results(filters: Optional[Sequence[_jms.GetFleetJavaMigrationAnalysisResultsFilter]] = None,
                                                  fleet_id: 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(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetFleetJavaMigrationAnalysisResultsFilterArgs]]]] = None,
                                                  fleet_id: 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]
    func GetFleetJavaMigrationAnalysisResults(ctx *Context, args *GetFleetJavaMigrationAnalysisResultsArgs, opts ...InvokeOption) (*GetFleetJavaMigrationAnalysisResultsResult, error)
    func GetFleetJavaMigrationAnalysisResultsOutput(ctx *Context, args *GetFleetJavaMigrationAnalysisResultsOutputArgs, opts ...InvokeOption) GetFleetJavaMigrationAnalysisResultsResultOutput

    > 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)
    }
    public static CompletableFuture<GetFleetJavaMigrationAnalysisResultsResult> getFleetJavaMigrationAnalysisResults(GetFleetJavaMigrationAnalysisResultsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    Filters List<GetFleetJavaMigrationAnalysisResultsFilter>
    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 string
    The OCID of the Fleet.
    Filters []GetFleetJavaMigrationAnalysisResultsFilter
    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 String
    The OCID of the Fleet.
    filters List<GetFleetJavaMigrationAnalysisResultsFilter>
    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 string
    The OCID of the Fleet.
    filters GetFleetJavaMigrationAnalysisResultsFilter[]
    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 str
    The OCID of the Fleet.
    filters Sequence[jms.GetFleetJavaMigrationAnalysisResultsFilter]
    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 String
    The OCID of the Fleet.
    filters List<Property Map>
    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.
    Filters List<GetFleetJavaMigrationAnalysisResultsFilter>
    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.
    Filters []GetFleetJavaMigrationAnalysisResultsFilter
    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.
    filters List<GetFleetJavaMigrationAnalysisResultsFilter>
    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.
    filters GetFleetJavaMigrationAnalysisResultsFilter[]
    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.
    filters Sequence[jms.GetFleetJavaMigrationAnalysisResultsFilter]
    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.
    filters List<Property Map>
    managedInstanceId String
    The managed instance OCID.
    timeEnd String
    timeStart String

    Supporting Types

    GetFleetJavaMigrationAnalysisResultsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection

    GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem

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