Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
This data source provides details about a specific Psa Work Request resource in Oracle Cloud Infrastructure Psa service.
Gets the details of a PrivateServiceAccess work request.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPsaWorkRequest = oci.oci.getPsaPsaWorkRequest({
workRequestId: testPsaWorkRequestOciPsaPsaWorkRequest.id,
});
import pulumi
import pulumi_oci as oci
test_psa_work_request = oci.oci.get_psa_psa_work_request(work_request_id=test_psa_work_request_oci_psa_psa_work_request["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetPsaPsaWorkRequest(ctx, &oci.GetPsaPsaWorkRequestArgs{
WorkRequestId: testPsaWorkRequestOciPsaPsaWorkRequest.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 testPsaWorkRequest = Oci.Oci.GetPsaPsaWorkRequest.Invoke(new()
{
WorkRequestId = testPsaWorkRequestOciPsaPsaWorkRequest.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetPsaPsaWorkRequestArgs;
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 testPsaWorkRequest = OciFunctions.getPsaPsaWorkRequest(GetPsaPsaWorkRequestArgs.builder()
.workRequestId(testPsaWorkRequestOciPsaPsaWorkRequest.id())
.build());
}
}
variables:
testPsaWorkRequest:
fn::invoke:
function: oci:oci:getPsaPsaWorkRequest
arguments:
workRequestId: ${testPsaWorkRequestOciPsaPsaWorkRequest.id}
Using getPsaPsaWorkRequest
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 getPsaPsaWorkRequest(args: GetPsaPsaWorkRequestArgs, opts?: InvokeOptions): Promise<GetPsaPsaWorkRequestResult>
function getPsaPsaWorkRequestOutput(args: GetPsaPsaWorkRequestOutputArgs, opts?: InvokeOptions): Output<GetPsaPsaWorkRequestResult>def get_psa_psa_work_request(work_request_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPsaPsaWorkRequestResult
def get_psa_psa_work_request_output(work_request_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPsaPsaWorkRequestResult]func GetPsaPsaWorkRequest(ctx *Context, args *GetPsaPsaWorkRequestArgs, opts ...InvokeOption) (*GetPsaPsaWorkRequestResult, error)
func GetPsaPsaWorkRequestOutput(ctx *Context, args *GetPsaPsaWorkRequestOutputArgs, opts ...InvokeOption) GetPsaPsaWorkRequestResultOutput> Note: This function is named GetPsaPsaWorkRequest in the Go SDK.
public static class GetPsaPsaWorkRequest
{
public static Task<GetPsaPsaWorkRequestResult> InvokeAsync(GetPsaPsaWorkRequestArgs args, InvokeOptions? opts = null)
public static Output<GetPsaPsaWorkRequestResult> Invoke(GetPsaPsaWorkRequestInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPsaPsaWorkRequestResult> getPsaPsaWorkRequest(GetPsaPsaWorkRequestArgs args, InvokeOptions options)
public static Output<GetPsaPsaWorkRequestResult> getPsaPsaWorkRequest(GetPsaPsaWorkRequestArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getPsaPsaWorkRequest:getPsaPsaWorkRequest
arguments:
# arguments dictionaryThe following arguments are supported:
- Work
Request stringId - The OCID of the asynchronous work request.
- Work
Request stringId - The OCID of the asynchronous work request.
- work
Request StringId - The OCID of the asynchronous work request.
- work
Request stringId - The OCID of the asynchronous work request.
- work_
request_ strid - The OCID of the asynchronous work request.
- work
Request StringId - The OCID of the asynchronous work request.
getPsaPsaWorkRequest Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the work request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation
Type string - The asynchronous operation tracked by this work request.
- Percent
Complete double - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- Resources
List<Get
Psa Psa Work Request Resource> - The resources that are affected by the work request.
- Status string
- The status of the work request.
- Time
Accepted string - The date and time the work request was created, in the format defined by RFC 3339.
- Time
Finished string - The date and time the work request was finished, in the format defined by RFC 3339.
- Time
Started string - The date and time the work request was started, in the format defined by RFC 3339.
- Time
Updated string - The date and time the work request was updated, in the format defined by RFC 3339.
- Work
Request stringId
- Compartment
Id string - The OCID of the compartment that contains the work request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation
Type string - The asynchronous operation tracked by this work request.
- Percent
Complete float64 - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- Resources
[]Get
Psa Psa Work Request Resource - The resources that are affected by the work request.
- Status string
- The status of the work request.
- Time
Accepted string - The date and time the work request was created, in the format defined by RFC 3339.
- Time
Finished string - The date and time the work request was finished, in the format defined by RFC 3339.
- Time
Started string - The date and time the work request was started, in the format defined by RFC 3339.
- Time
Updated string - The date and time the work request was updated, in the format defined by RFC 3339.
- Work
Request stringId
- compartment
Id String - The OCID of the compartment that contains the work request.
- id String
- The provider-assigned unique ID for this managed resource.
- operation
Type String - The asynchronous operation tracked by this work request.
- percent
Complete Double - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- resources
List<Get
Psa Psa Work Request Resource> - The resources that are affected by the work request.
- status String
- The status of the work request.
- time
Accepted String - The date and time the work request was created, in the format defined by RFC 3339.
- time
Finished String - The date and time the work request was finished, in the format defined by RFC 3339.
- time
Started String - The date and time the work request was started, in the format defined by RFC 3339.
- time
Updated String - The date and time the work request was updated, in the format defined by RFC 3339.
- work
Request StringId
- compartment
Id string - The OCID of the compartment that contains the work request.
- id string
- The provider-assigned unique ID for this managed resource.
- operation
Type string - The asynchronous operation tracked by this work request.
- percent
Complete number - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- resources
Get
Psa Psa Work Request Resource[] - The resources that are affected by the work request.
- status string
- The status of the work request.
- time
Accepted string - The date and time the work request was created, in the format defined by RFC 3339.
- time
Finished string - The date and time the work request was finished, in the format defined by RFC 3339.
- time
Started string - The date and time the work request was started, in the format defined by RFC 3339.
- time
Updated string - The date and time the work request was updated, in the format defined by RFC 3339.
- work
Request stringId
- compartment_
id str - The OCID of the compartment that contains the work request.
- id str
- The provider-assigned unique ID for this managed resource.
- operation_
type str - The asynchronous operation tracked by this work request.
- percent_
complete float - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- resources
Sequence[Get
Psa Psa Work Request Resource] - The resources that are affected by the work request.
- status str
- The status of the work request.
- time_
accepted str - The date and time the work request was created, in the format defined by RFC 3339.
- time_
finished str - The date and time the work request was finished, in the format defined by RFC 3339.
- time_
started str - The date and time the work request was started, in the format defined by RFC 3339.
- time_
updated str - The date and time the work request was updated, in the format defined by RFC 3339.
- work_
request_ strid
- compartment
Id String - The OCID of the compartment that contains the work request.
- id String
- The provider-assigned unique ID for this managed resource.
- operation
Type String - The asynchronous operation tracked by this work request.
- percent
Complete Number - Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed.
- resources List<Property Map>
- The resources that are affected by the work request.
- status String
- The status of the work request.
- time
Accepted String - The date and time the work request was created, in the format defined by RFC 3339.
- time
Finished String - The date and time the work request was finished, in the format defined by RFC 3339.
- time
Started String - The date and time the work request was started, in the format defined by RFC 3339.
- time
Updated String - The date and time the work request was updated, in the format defined by RFC 3339.
- work
Request StringId
Supporting Types
GetPsaPsaWorkRequestResource
- Action
Type string - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- Entity
Type string - The resource type that the work request affects.
- Entity
Uri string - The URI path that you can use for a GET request to access the resource metadata.
- Identifier string
- An OCID or other unique identifier for the resource.
- Metadata Dictionary<string, string>
- Additional information that helps to explain the resource.
- Action
Type string - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- Entity
Type string - The resource type that the work request affects.
- Entity
Uri string - The URI path that you can use for a GET request to access the resource metadata.
- Identifier string
- An OCID or other unique identifier for the resource.
- Metadata map[string]string
- Additional information that helps to explain the resource.
- action
Type String - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- entity
Type String - The resource type that the work request affects.
- entity
Uri String - The URI path that you can use for a GET request to access the resource metadata.
- identifier String
- An OCID or other unique identifier for the resource.
- metadata Map<String,String>
- Additional information that helps to explain the resource.
- action
Type string - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- entity
Type string - The resource type that the work request affects.
- entity
Uri string - The URI path that you can use for a GET request to access the resource metadata.
- identifier string
- An OCID or other unique identifier for the resource.
- metadata {[key: string]: string}
- Additional information that helps to explain the resource.
- action_
type str - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- entity_
type str - The resource type that the work request affects.
- entity_
uri str - The URI path that you can use for a GET request to access the resource metadata.
- identifier str
- An OCID or other unique identifier for the resource.
- metadata Mapping[str, str]
- Additional information that helps to explain the resource.
- action
Type String - The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.
- entity
Type String - The resource type that the work request affects.
- entity
Uri String - The URI path that you can use for a GET request to access the resource metadata.
- identifier String
- An OCID or other unique identifier for the resource.
- metadata Map<String>
- Additional information that helps to explain the resource.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
