Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
});
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)
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
})
}
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,
});
});
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());
}
}
variables:
testFleetJavaMigrationAnalysisResults:
fn::invoke:
Function: oci:Jms:getFleetJavaMigrationAnalysisResults
Arguments:
fleetId: ${testFleet.id}
applicationName: ${fleetJavaMigrationAnalysisResultApplicationName}
hostName: ${fleetJavaMigrationAnalysisResultHostName}
managedInstanceId: ${fleetJavaMigrationAnalysisResultManagedInstanceId}
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(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]
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:
- Fleet
Id string - The OCID of the Fleet.
- Application
Name string - The name of the application.
- Filters
List<Get
Fleet Java Migration Analysis Results Filter> - Host
Name string - The host OCID of the managed instance.
- Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- Time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period during which resources are searched (formatted according to RFC3339).
- Fleet
Id string - The OCID of the Fleet.
- Application
Name string - The name of the application.
- Filters
[]Get
Fleet Java Migration Analysis Results Filter - Host
Name string - The host OCID of the managed instance.
- Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- Time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period during which resources are searched (formatted according to RFC3339).
- fleet
Id String - The OCID of the Fleet.
- application
Name String - The name of the application.
- filters
List<Get
Fleet Java Migration Analysis Results Filter> - host
Name String - The host OCID of the managed instance.
- managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
- time
End String - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start String - The start of the time period during which resources are searched (formatted according to RFC3339).
- fleet
Id string - The OCID of the Fleet.
- application
Name string - The name of the application.
- filters
Get
Fleet Java Migration Analysis Results Filter[] - host
Name string - The host OCID of the managed instance.
- managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start string - The start of the time period during which resources are searched (formatted according to RFC3339).
- fleet_
id str - The OCID of the Fleet.
- application_
name str - The name of the application.
- filters
Sequence[jms.
Get Fleet Java Migration Analysis Results Filter] - host_
name str - The host OCID of the managed instance.
- managed_
instance_ strid - 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).
- fleet
Id String - The OCID of the Fleet.
- application
Name String - The name of the application.
- filters List<Property Map>
- host
Name String - The host OCID of the managed instance.
- managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
- time
End String - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start String - The start of the time period during which resources are searched (formatted according to RFC3339).
getFleetJavaMigrationAnalysisResults Result
The following output properties are available:
- Fleet
Id string - The fleet OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
Migration List<GetAnalysis Result Collections Fleet Java Migration Analysis Results Java Migration Analysis Result Collection> - The list of java_migration_analysis_result_collection.
- Application
Name string - The name of the application for which the Java migration analysis was performed.
- Filters
List<Get
Fleet Java Migration Analysis Results Filter> - Host
Name string - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- Managed
Instance stringId - The managed instance OCID.
- Time
End string - Time
Start string
- Fleet
Id string - The fleet OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
Migration []GetAnalysis Result Collections Fleet Java Migration Analysis Results Java Migration Analysis Result Collection - The list of java_migration_analysis_result_collection.
- Application
Name string - The name of the application for which the Java migration analysis was performed.
- Filters
[]Get
Fleet Java Migration Analysis Results Filter - Host
Name string - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- Managed
Instance stringId - The managed instance OCID.
- Time
End string - Time
Start string
- fleet
Id String - The fleet OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- java
Migration List<GetAnalysis Result Collections Fleet Java Migration Analysis Results Java Migration Analysis Result Collection> - The list of java_migration_analysis_result_collection.
- application
Name String - The name of the application for which the Java migration analysis was performed.
- filters
List<Get
Fleet Java Migration Analysis Results Filter> - host
Name String - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- managed
Instance StringId - The managed instance OCID.
- time
End String - time
Start String
- fleet
Id string - The fleet OCID.
- id string
- The provider-assigned unique ID for this managed resource.
- java
Migration GetAnalysis Result Collections Fleet Java Migration Analysis Results Java Migration Analysis Result Collection[] - The list of java_migration_analysis_result_collection.
- application
Name string - The name of the application for which the Java migration analysis was performed.
- filters
Get
Fleet Java Migration Analysis Results Filter[] - host
Name string - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- managed
Instance stringId - The managed instance OCID.
- time
End string - time
Start string
- fleet_
id str - The fleet OCID.
- id str
- The provider-assigned unique ID for this managed resource.
- java_
migration_ Sequence[jms.analysis_ result_ collections Get Fleet Java Migration Analysis Results Java Migration Analysis Result Collection] - 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.
Get Fleet Java Migration Analysis Results Filter] - host_
name str - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- managed_
instance_ strid - The managed instance OCID.
- time_
end str - time_
start str
- fleet
Id String - The fleet OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- java
Migration List<Property Map>Analysis Result Collections - The list of java_migration_analysis_result_collection.
- application
Name String - The name of the application for which the Java migration analysis was performed.
- filters List<Property Map>
- host
Name String - The hostname of the managed instance that hosts the application for which the Java migration analysis was performed.
- managed
Instance StringId - The managed instance OCID.
- time
End String - time
Start String
Supporting Types
GetFleetJavaMigrationAnalysisResultsFilter
GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollection
GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItem
- 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.
- 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 OCID of the Fleet.
- Host
Name string - The host OCID of the managed instance.
- Id string
- The OCID of the migration analysis report.
- Managed
Instance stringId - 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.
- 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.
- 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 OCID of the Fleet.
- Host
Name string - The host OCID of the managed instance.
- Id string
- The OCID of the migration analysis report.
- Managed
Instance stringId - 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.
- 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.
- 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 OCID of the Fleet.
- host
Name String - The host OCID of the managed instance.
- id String
- The OCID of the migration analysis report.
- managed
Instance StringId - 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.
- 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.
- 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 OCID of the Fleet.
- host
Name string - The host OCID of the managed instance.
- id string
- The OCID of the migration analysis report.
- managed
Instance stringId - 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.
- 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.
- 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 host OCID of the managed instance.
- id str
- The OCID of the migration analysis report.
- managed_
instance_ strid - 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_ 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.
- 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 OCID of the Fleet.
- host
Name String - The host OCID of the managed instance.
- id String
- The OCID of the migration analysis report.
- managed
Instance StringId - 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.
- 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
oci
Terraform Provider.