1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetJavaMigrationAnalysisResult
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.Jms.getFleetJavaMigrationAnalysisResult

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This data source provides details about a specific Fleet Java Migration Analysis Result resource in Oracle Cloud Infrastructure Jms service.

    Retrieve Java Migration Analysis result.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testFleetJavaMigrationAnalysisResult = Oci.Jms.GetFleetJavaMigrationAnalysisResult.Invoke(new()
        {
            FleetId = oci_jms_fleet.Test_fleet.Id,
            JavaMigrationAnalysisResultId = oci_apm_synthetics_result.Test_result.Id,
        });
    
    });
    
    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.GetFleetJavaMigrationAnalysisResult(ctx, &jms.GetFleetJavaMigrationAnalysisResultArgs{
    			FleetId:                       oci_jms_fleet.Test_fleet.Id,
    			JavaMigrationAnalysisResultId: oci_apm_synthetics_result.Test_result.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.GetFleetJavaMigrationAnalysisResultArgs;
    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 testFleetJavaMigrationAnalysisResult = JmsFunctions.getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs.builder()
                .fleetId(oci_jms_fleet.test_fleet().id())
                .javaMigrationAnalysisResultId(oci_apm_synthetics_result.test_result().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_java_migration_analysis_result = oci.Jms.get_fleet_java_migration_analysis_result(fleet_id=oci_jms_fleet["test_fleet"]["id"],
        java_migration_analysis_result_id=oci_apm_synthetics_result["test_result"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetJavaMigrationAnalysisResult = oci.Jms.getFleetJavaMigrationAnalysisResult({
        fleetId: oci_jms_fleet.test_fleet.id,
        javaMigrationAnalysisResultId: oci_apm_synthetics_result.test_result.id,
    });
    
    variables:
      testFleetJavaMigrationAnalysisResult:
        fn::invoke:
          Function: oci:Jms:getFleetJavaMigrationAnalysisResult
          Arguments:
            fleetId: ${oci_jms_fleet.test_fleet.id}
            javaMigrationAnalysisResultId: ${oci_apm_synthetics_result.test_result.id}
    

    Using getFleetJavaMigrationAnalysisResult

    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 getFleetJavaMigrationAnalysisResult(args: GetFleetJavaMigrationAnalysisResultArgs, opts?: InvokeOptions): Promise<GetFleetJavaMigrationAnalysisResultResult>
    function getFleetJavaMigrationAnalysisResultOutput(args: GetFleetJavaMigrationAnalysisResultOutputArgs, opts?: InvokeOptions): Output<GetFleetJavaMigrationAnalysisResultResult>
    def get_fleet_java_migration_analysis_result(fleet_id: Optional[str] = None,
                                                 java_migration_analysis_result_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetFleetJavaMigrationAnalysisResultResult
    def get_fleet_java_migration_analysis_result_output(fleet_id: Optional[pulumi.Input[str]] = None,
                                                 java_migration_analysis_result_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetFleetJavaMigrationAnalysisResultResult]
    func GetFleetJavaMigrationAnalysisResult(ctx *Context, args *GetFleetJavaMigrationAnalysisResultArgs, opts ...InvokeOption) (*GetFleetJavaMigrationAnalysisResultResult, error)
    func GetFleetJavaMigrationAnalysisResultOutput(ctx *Context, args *GetFleetJavaMigrationAnalysisResultOutputArgs, opts ...InvokeOption) GetFleetJavaMigrationAnalysisResultResultOutput

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

    public static class GetFleetJavaMigrationAnalysisResult 
    {
        public static Task<GetFleetJavaMigrationAnalysisResultResult> InvokeAsync(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetJavaMigrationAnalysisResultResult> Invoke(GetFleetJavaMigrationAnalysisResultInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetJavaMigrationAnalysisResultResult> getFleetJavaMigrationAnalysisResult(GetFleetJavaMigrationAnalysisResultArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    JavaMigrationAnalysisResultId string
    The OCID of the analysis result.
    FleetId string
    The OCID of the Fleet.
    JavaMigrationAnalysisResultId string
    The OCID of the analysis result.
    fleetId String
    The OCID of the Fleet.
    javaMigrationAnalysisResultId String
    The OCID of the analysis result.
    fleetId string
    The OCID of the Fleet.
    javaMigrationAnalysisResultId string
    The OCID of the analysis result.
    fleet_id str
    The OCID of the Fleet.
    java_migration_analysis_result_id str
    The OCID of the analysis result.
    fleetId String
    The OCID of the Fleet.
    javaMigrationAnalysisResultId String
    The OCID of the analysis result.

    getFleetJavaMigrationAnalysisResult Result

    The following output properties are available:

    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 fleet OCID.
    HostName string
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    Id string
    The provider-assigned unique ID for this managed resource.
    JavaMigrationAnalysisResultId string
    ManagedInstanceId string
    The managed instance OCID.
    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 fleet OCID.
    HostName string
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    Id string
    The provider-assigned unique ID for this managed resource.
    JavaMigrationAnalysisResultId string
    ManagedInstanceId string
    The managed instance OCID.
    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 fleet OCID.
    hostName String
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    id String
    The provider-assigned unique ID for this managed resource.
    javaMigrationAnalysisResultId String
    managedInstanceId String
    The managed instance OCID.
    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 fleet OCID.
    hostName string
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    id string
    The provider-assigned unique ID for this managed resource.
    javaMigrationAnalysisResultId string
    managedInstanceId string
    The managed instance OCID.
    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 fleet OCID.
    host_name str
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    id str
    The provider-assigned unique ID for this managed resource.
    java_migration_analysis_result_id str
    managed_instance_id str
    The managed instance OCID.
    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 fleet OCID.
    hostName String
    The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
    id String
    The provider-assigned unique ID for this managed resource.
    javaMigrationAnalysisResultId String
    managedInstanceId String
    The managed instance OCID.
    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.24.0 published on Thursday, Feb 22, 2024 by Pulumi