Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getJobOutput

This data source provides details about a specific Job Output resource in Oracle Cloud Infrastructure Database Migration service.

List the Job Outputs

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testJobOutput = Output.Create(Oci.DatabaseMigration.GetJobOutput.InvokeAsync(new Oci.DatabaseMigration.GetJobOutputArgs
        {
            JobId = oci_database_migration_job.Test_job.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseMigration"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseMigration.GetJobOutput(ctx, databasemigration.GetJobOutputArgs{
			JobId: oci_database_migration_job.Test_job.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_job_output = oci.DatabaseMigration.get_job_output(job_id=oci_database_migration_job["test_job"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testJobOutput = oci.DatabaseMigration.getJobOutput({
    jobId: oci_database_migration_job.test_job.id,
});

Coming soon!

Using getJobOutput

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 getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Promise<GetJobOutputResult>
function getJobOutputOutput(args: GetJobOutputOutputArgs, opts?: InvokeOptions): Output<GetJobOutputResult>
def get_job_output(job_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetJobOutputResult
def get_job_output_output(job_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetJobOutputResult]
func GetJobOutput(ctx *Context, args *GetJobOutputArgs, opts ...InvokeOption) (*GetJobOutputResult, error)
func GetJobOutputOutput(ctx *Context, args *GetJobOutputOutputArgs, opts ...InvokeOption) GetJobOutputResultOutput

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

public static class GetJobOutput 
{
    public static Task<GetJobOutputResult> InvokeAsync(GetJobOutputArgs args, InvokeOptions? opts = null)
    public static Output<GetJobOutputResult> Invoke(GetJobOutputInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobOutputResult> getJobOutput(GetJobOutputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DatabaseMigration/getJobOutput:getJobOutput
  Arguments:
    # Arguments dictionary

The 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

getJobOutput Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Items List<GetJobOutputItem>

Items in collection.

JobId string
Id string

The provider-assigned unique ID for this managed resource.

Items []GetJobOutputItem

Items in collection.

JobId string
id String

The provider-assigned unique ID for this managed resource.

items List<GetJobOutputItem>

Items in collection.

jobId String
id string

The provider-assigned unique ID for this managed resource.

items GetJobOutputItem[]

Items in collection.

jobId string
id str

The provider-assigned unique ID for this managed resource.

items GetJobOutputItem]

Items in collection.

job_id str
id String

The provider-assigned unique ID for this managed resource.

items List<Property Map>

Items in collection.

jobId String

Supporting Types

GetJobOutputItem

Message string

Job output line.

Message string

Job output line.

message String

Job output line.

message string

Job output line.

message str

Job output line.

message String

Job output line.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.