Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DatabaseMigration.getJobAdvisorReport
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJobAdvisorReport = oci.DatabaseMigration.getJobAdvisorReport({
    jobId: testJob.id,
});
import pulumi
import pulumi_oci as oci
test_job_advisor_report = oci.DatabaseMigration.get_job_advisor_report(job_id=test_job["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemigration"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemigration.GetJobAdvisorReport(ctx, &databasemigration.GetJobAdvisorReportArgs{
			JobId: testJob.Id,
		}, 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 testJobAdvisorReport = Oci.DatabaseMigration.GetJobAdvisorReport.Invoke(new()
    {
        JobId = testJob.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
import com.pulumi.oci.DatabaseMigration.inputs.GetJobAdvisorReportArgs;
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 testJobAdvisorReport = DatabaseMigrationFunctions.getJobAdvisorReport(GetJobAdvisorReportArgs.builder()
            .jobId(testJob.id())
            .build());
    }
}
variables:
  testJobAdvisorReport:
    fn::invoke:
      function: oci:DatabaseMigration:getJobAdvisorReport
      arguments:
        jobId: ${testJob.id}
Using getJobAdvisorReport
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 getJobAdvisorReport(args: GetJobAdvisorReportArgs, opts?: InvokeOptions): Promise<GetJobAdvisorReportResult>
function getJobAdvisorReportOutput(args: GetJobAdvisorReportOutputArgs, opts?: InvokeOptions): Output<GetJobAdvisorReportResult>def get_job_advisor_report(job_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetJobAdvisorReportResult
def get_job_advisor_report_output(job_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetJobAdvisorReportResult]func GetJobAdvisorReport(ctx *Context, args *GetJobAdvisorReportArgs, opts ...InvokeOption) (*GetJobAdvisorReportResult, error)
func GetJobAdvisorReportOutput(ctx *Context, args *GetJobAdvisorReportOutputArgs, opts ...InvokeOption) GetJobAdvisorReportResultOutput> Note: This function is named GetJobAdvisorReport in the Go SDK.
public static class GetJobAdvisorReport 
{
    public static Task<GetJobAdvisorReportResult> InvokeAsync(GetJobAdvisorReportArgs args, InvokeOptions? opts = null)
    public static Output<GetJobAdvisorReportResult> Invoke(GetJobAdvisorReportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJobAdvisorReportResult> getJobAdvisorReport(GetJobAdvisorReportArgs args, InvokeOptions options)
public static Output<GetJobAdvisorReportResult> getJobAdvisorReport(GetJobAdvisorReportArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseMigration/getJobAdvisorReport:getJobAdvisorReport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- JobId string
- The OCID of the job
- JobId string
- The OCID of the job
- jobId String
- The OCID of the job
- jobId string
- The OCID of the job
- job_id str
- The OCID of the job
- jobId String
- The OCID of the job
getJobAdvisorReport Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- JobId string
- NumberOf intFatal 
- Number of Fatal results in the advisor report.
- NumberOf intFatal Blockers 
- Number of Fatal Blocker results in the advisor report.
- NumberOf intInformational Results 
- Number of Informational results in the advisor report.
- NumberOf intWarnings 
- Number of Warning results in the advisor report.
- ReportLocation List<GetDetails Job Advisor Report Report Location Detail> 
- Details to access Premigration Advisor report.
- Result string
- Premigration Advisor result.
- Id string
- The provider-assigned unique ID for this managed resource.
- JobId string
- NumberOf intFatal 
- Number of Fatal results in the advisor report.
- NumberOf intFatal Blockers 
- Number of Fatal Blocker results in the advisor report.
- NumberOf intInformational Results 
- Number of Informational results in the advisor report.
- NumberOf intWarnings 
- Number of Warning results in the advisor report.
- ReportLocation []GetDetails Job Advisor Report Report Location Detail 
- Details to access Premigration Advisor report.
- Result string
- Premigration Advisor result.
- id String
- The provider-assigned unique ID for this managed resource.
- jobId String
- numberOf IntegerFatal 
- Number of Fatal results in the advisor report.
- numberOf IntegerFatal Blockers 
- Number of Fatal Blocker results in the advisor report.
- numberOf IntegerInformational Results 
- Number of Informational results in the advisor report.
- numberOf IntegerWarnings 
- Number of Warning results in the advisor report.
- reportLocation List<GetDetails Job Advisor Report Report Location Detail> 
- Details to access Premigration Advisor report.
- result String
- Premigration Advisor result.
- id string
- The provider-assigned unique ID for this managed resource.
- jobId string
- numberOf numberFatal 
- Number of Fatal results in the advisor report.
- numberOf numberFatal Blockers 
- Number of Fatal Blocker results in the advisor report.
- numberOf numberInformational Results 
- Number of Informational results in the advisor report.
- numberOf numberWarnings 
- Number of Warning results in the advisor report.
- reportLocation GetDetails Job Advisor Report Report Location Detail[] 
- Details to access Premigration Advisor report.
- result string
- Premigration Advisor result.
- id str
- The provider-assigned unique ID for this managed resource.
- job_id str
- number_of_ intfatal 
- Number of Fatal results in the advisor report.
- number_of_ intfatal_ blockers 
- Number of Fatal Blocker results in the advisor report.
- number_of_ intinformational_ results 
- Number of Informational results in the advisor report.
- number_of_ intwarnings 
- Number of Warning results in the advisor report.
- report_location_ Sequence[Getdetails Job Advisor Report Report Location Detail] 
- Details to access Premigration Advisor report.
- result str
- Premigration Advisor result.
- id String
- The provider-assigned unique ID for this managed resource.
- jobId String
- numberOf NumberFatal 
- Number of Fatal results in the advisor report.
- numberOf NumberFatal Blockers 
- Number of Fatal Blocker results in the advisor report.
- numberOf NumberInformational Results 
- Number of Informational results in the advisor report.
- numberOf NumberWarnings 
- Number of Warning results in the advisor report.
- reportLocation List<Property Map>Details 
- Details to access Premigration Advisor report.
- result String
- Premigration Advisor result.
Supporting Types
GetJobAdvisorReportReportLocationDetail      
- LocationIn stringSource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- ObjectStorage List<GetDetails Job Advisor Report Report Location Detail Object Storage Detail> 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
- LocationIn stringSource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- ObjectStorage []GetDetails Job Advisor Report Report Location Detail Object Storage Detail 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
- locationIn StringSource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- objectStorage List<GetDetails Job Advisor Report Report Location Detail Object Storage Detail> 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
- locationIn stringSource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- objectStorage GetDetails Job Advisor Report Report Location Detail Object Storage Detail[] 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
- location_in_ strsource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- object_storage_ Sequence[Getdetails Job Advisor Report Report Location Detail Object Storage Detail] 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
- locationIn StringSource 
- File system path on the Source Database host where the Premigration Advisor report can be accessed.
- objectStorage List<Property Map>Details 
- Details to access Premigration Advisor report in the specified Object Storage bucket.
GetJobAdvisorReportReportLocationDetailObjectStorageDetail         
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.