Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Jms.getFleetJavaMigrationAnalysisResult
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetJavaMigrationAnalysisResult = oci.Jms.getFleetJavaMigrationAnalysisResult({
    fleetId: testFleet.id,
    javaMigrationAnalysisResultId: fleetJavaMigrationAnalysisResultId,
});
import pulumi
import pulumi_oci as oci
test_fleet_java_migration_analysis_result = oci.Jms.get_fleet_java_migration_analysis_result(fleet_id=test_fleet["id"],
    java_migration_analysis_result_id=fleet_java_migration_analysis_result_id)
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.GetFleetJavaMigrationAnalysisResult(ctx, &jms.GetFleetJavaMigrationAnalysisResultArgs{
			FleetId:                       testFleet.Id,
			JavaMigrationAnalysisResultId: fleetJavaMigrationAnalysisResultId,
		}, 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 testFleetJavaMigrationAnalysisResult = Oci.Jms.GetFleetJavaMigrationAnalysisResult.Invoke(new()
    {
        FleetId = testFleet.Id,
        JavaMigrationAnalysisResultId = fleetJavaMigrationAnalysisResultId,
    });
});
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(testFleet.id())
            .javaMigrationAnalysisResultId(fleetJavaMigrationAnalysisResultId)
            .build());
    }
}
variables:
  testFleetJavaMigrationAnalysisResult:
    fn::invoke:
      Function: oci:Jms:getFleetJavaMigrationAnalysisResult
      Arguments:
        fleetId: ${testFleet.id}
        javaMigrationAnalysisResultId: ${fleetJavaMigrationAnalysisResultId}
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 dictionaryThe following arguments are supported:
- Fleet
Id string - The OCID of the Fleet.
 - Java
Migration stringAnalysis Result Id  - The OCID of the analysis result.
 
- Fleet
Id string - The OCID of the Fleet.
 - Java
Migration stringAnalysis Result Id  - The OCID of the analysis result.
 
- fleet
Id String - The OCID of the Fleet.
 - java
Migration StringAnalysis Result Id  - The OCID of the analysis result.
 
- fleet
Id string - The OCID of the Fleet.
 - java
Migration stringAnalysis Result Id  - The OCID of the analysis result.
 
- fleet_
id str - The OCID of the Fleet.
 - java_
migration_ stranalysis_ result_ id  - The OCID of the analysis result.
 
- fleet
Id String - The OCID of the Fleet.
 - java
Migration StringAnalysis Result Id  - The OCID of the analysis result.
 
getFleetJavaMigrationAnalysisResult Result
The following output properties are available:
- Application
Execution stringType  - Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
 - Application
Key string - The unique key that identifies the application.
 - Application
Name string - The name of the application for which the Java migration analysis was performed.
 - Application
Path 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.
 - Fleet
Id string - The fleet OCID.
 - Host
Name 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.
 - Java
Migration stringAnalysis Result Id  - Managed
Instance stringId  - 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.
 - Object
Lists List<string> - The names of the object storage objects that contain the results of the migration analysis.
 - Object
Storage stringUpload Dir Path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - Source
Jdk stringVersion  - The source JDK version of the application that's currently running.
 - Target
Jdk stringVersion  - The target JDK version of the application to be migrated.
 - Time
Created string - The time the result is compiled.
 - Work
Request stringId  - The OCID of the work request of this analysis.
 
- Application
Execution stringType  - Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
 - Application
Key string - The unique key that identifies the application.
 - Application
Name string - The name of the application for which the Java migration analysis was performed.
 - Application
Path 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.
 - Fleet
Id string - The fleet OCID.
 - Host
Name 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.
 - Java
Migration stringAnalysis Result Id  - Managed
Instance stringId  - 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.
 - Object
Lists []string - The names of the object storage objects that contain the results of the migration analysis.
 - Object
Storage stringUpload Dir Path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - Source
Jdk stringVersion  - The source JDK version of the application that's currently running.
 - Target
Jdk stringVersion  - The target JDK version of the application to be migrated.
 - Time
Created string - The time the result is compiled.
 - Work
Request stringId  - The OCID of the work request of this analysis.
 
- application
Execution StringType  - Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
 - application
Key String - The unique key that identifies the application.
 - application
Name String - The name of the application for which the Java migration analysis was performed.
 - application
Path 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.
 - fleet
Id String - The fleet OCID.
 - host
Name 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.
 - java
Migration StringAnalysis Result Id  - managed
Instance StringId  - 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.
 - object
Lists List<String> - The names of the object storage objects that contain the results of the migration analysis.
 - object
Storage StringUpload Dir Path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - source
Jdk StringVersion  - The source JDK version of the application that's currently running.
 - target
Jdk StringVersion  - The target JDK version of the application to be migrated.
 - time
Created String - The time the result is compiled.
 - work
Request StringId  - The OCID of the work request of this analysis.
 
- application
Execution stringType  - Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
 - application
Key string - The unique key that identifies the application.
 - application
Name string - The name of the application for which the Java migration analysis was performed.
 - application
Path 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.
 - fleet
Id string - The fleet OCID.
 - host
Name 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.
 - java
Migration stringAnalysis Result Id  - managed
Instance stringId  - 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.
 - object
Lists string[] - The names of the object storage objects that contain the results of the migration analysis.
 - object
Storage stringUpload Dir Path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - source
Jdk stringVersion  - The source JDK version of the application that's currently running.
 - target
Jdk stringVersion  - The target JDK version of the application to be migrated.
 - time
Created string - The time the result is compiled.
 - work
Request stringId  - The OCID of the work request of this analysis.
 
- application_
execution_ strtype  - 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_ stranalysis_ result_ id  - managed_
instance_ strid  - 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_ strupload_ dir_ path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - source_
jdk_ strversion  - The source JDK version of the application that's currently running.
 - target_
jdk_ strversion  - The target JDK version of the application to be migrated.
 - time_
created str - The time the result is compiled.
 - work_
request_ strid  - The OCID of the work request of this analysis.
 
- application
Execution StringType  - Execution type of the application for an application type, such as WAR and EAR, that is deployed or installed.
 - application
Key String - The unique key that identifies the application.
 - application
Name String - The name of the application for which the Java migration analysis was performed.
 - application
Path 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.
 - fleet
Id String - The fleet OCID.
 - host
Name 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.
 - java
Migration StringAnalysis Result Id  - managed
Instance StringId  - 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.
 - object
Lists List<String> - The names of the object storage objects that contain the results of the migration analysis.
 - object
Storage StringUpload Dir Path  - The directory path of the object storage bucket that contains the results of the migration analysis.
 - source
Jdk StringVersion  - The source JDK version of the application that's currently running.
 - target
Jdk StringVersion  - The target JDK version of the application to be migrated.
 - time
Created String - The time the result is compiled.
 - work
Request StringId  - 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 
ociTerraform Provider.