Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseMigration/getJobAdvisorReport:getJobAdvisorReport
arguments:
# arguments dictionary
The following arguments are supported:
- Job
Id string - The OCID of the job
- Job
Id string - The OCID of the job
- job
Id String - The OCID of the job
- job
Id string - The OCID of the job
- job_
id str - The OCID of the job
- job
Id 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.
- Job
Id string - 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 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.
- Job
Id string - 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 []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.
- job
Id String - number
Of IntegerFatal - Number of Fatal results in the advisor report.
- number
Of IntegerFatal Blockers - Number of Fatal Blocker results in the advisor report.
- number
Of IntegerInformational Results - Number of Informational results in the advisor report.
- number
Of IntegerWarnings - Number of Warning results in the advisor report.
- report
Location 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.
- job
Id string - number
Of numberFatal - Number of Fatal results in the advisor report.
- number
Of numberFatal Blockers - Number of Fatal Blocker results in the advisor report.
- number
Of numberInformational Results - Number of Informational results in the advisor report.
- number
Of numberWarnings - Number of Warning results in the advisor report.
- report
Location 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[databasemigration.details Get 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.
- job
Id String - number
Of NumberFatal - Number of Fatal results in the advisor report.
- number
Of NumberFatal Blockers - Number of Fatal Blocker results in the advisor report.
- number
Of NumberInformational Results - Number of Informational results in the advisor report.
- number
Of NumberWarnings - Number of Warning results in the advisor report.
- report
Location List<Property Map>Details - Details to access Premigration Advisor report.
- result String
- Premigration Advisor result.
Supporting Types
GetJobAdvisorReportReportLocationDetail
- Location
In stringSource - File system path on the Source Database host where the Premigration Advisor report can be accessed.
- Object
Storage List<GetDetails Job Advisor Report Report Location Detail Object Storage Detail> - Details to access Premigration Advisor report in the specified Object Storage bucket.
- Location
In stringSource - File system path on the Source Database host where the Premigration Advisor report can be accessed.
- Object
Storage []GetDetails Job Advisor Report Report Location Detail Object Storage Detail - Details to access Premigration Advisor report in the specified Object Storage bucket.
- location
In StringSource - File system path on the Source Database host where the Premigration Advisor report can be accessed.
- object
Storage List<GetDetails Job Advisor Report Report Location Detail Object Storage Detail> - Details to access Premigration Advisor report in the specified Object Storage bucket.
- location
In stringSource - File system path on the Source Database host where the Premigration Advisor report can be accessed.
- object
Storage 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[databasemigration.details Get Job Advisor Report Report Location Detail Object Storage Detail] - Details to access Premigration Advisor report in the specified Object Storage bucket.
- location
In StringSource - File system path on the Source Database host where the Premigration Advisor report can be accessed.
- object
Storage 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
oci
Terraform Provider.