1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getPssInstance
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi

    This data source provides details about a specific Instance resource in Oracle Cloud Infrastructure Pss service.

    Gets information about an Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInstance = oci.oci.getPssInstance({
        instanceId: testInstanceOciPssInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_instance = oci.oci.get_pss_instance(instance_id=test_instance_oci_pss_instance["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupPssInstance(ctx, &oci.LookupPssInstanceArgs{
    			InstanceId: testInstanceOciPssInstance.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 testInstance = Oci.Oci.GetPssInstance.Invoke(new()
        {
            InstanceId = testInstanceOciPssInstance.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.GetPssInstanceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testInstance = OciFunctions.getPssInstance(GetPssInstanceArgs.builder()
                .instanceId(testInstanceOciPssInstance.get("id"))
                .build());
    
        }
    }
    
    variables:
      testInstance:
        fn::invoke:
          function: oci:oci:getPssInstance
          arguments:
            instanceId: ${testInstanceOciPssInstance.id}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_pss_instance" "testInstance" {
      instance_id = testInstanceOciPssInstance.id
    }
    

    Using getPssInstance

    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 getPssInstance(args: GetPssInstanceArgs, opts?: InvokeOptions): Promise<GetPssInstanceResult>
    function getPssInstanceOutput(args: GetPssInstanceOutputArgs, opts?: InvokeOutputOptions): Output<GetPssInstanceResult>
    def get_pss_instance(instance_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetPssInstanceResult
    def get_pss_instance_output(instance_id: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetPssInstanceResult]
    func LookupPssInstance(ctx *Context, args *LookupPssInstanceArgs, opts ...InvokeOption) (*LookupPssInstanceResult, error)
    func LookupPssInstanceOutput(ctx *Context, args *LookupPssInstanceOutputArgs, opts ...InvokeOption) LookupPssInstanceResultOutput

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

    public static class GetPssInstance 
    {
        public static Task<GetPssInstanceResult> InvokeAsync(GetPssInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetPssInstanceResult> Invoke(GetPssInstanceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPssInstanceResult> Invoke(GetPssInstanceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPssInstanceResult> getPssInstance(GetPssInstanceArgs args, InvokeOptions options)
    public static Output<GetPssInstanceResult> getPssInstance(GetPssInstanceArgs args, InvokeOptions options)
    public static Output<GetPssInstanceResult> getPssInstance(GetPssInstanceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getPssInstance:getPssInstance
      arguments:
        # arguments dictionary
    data "oci_oci_get_pss_instance" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceId string
    The OCID of the Instance.
    InstanceId string
    The OCID of the Instance.
    instance_id string
    The OCID of the Instance.
    instanceId String
    The OCID of the Instance.
    instanceId string
    The OCID of the Instance.
    instance_id str
    The OCID of the Instance.
    instanceId String
    The OCID of the Instance.

    getPssInstance Result

    The following output properties are available:

    AdminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Instance.
    IdentityDomainUrl string
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    IdentityDomainWebAuthClientId string
    The client ID of the identity-domain confidential application used for browser authentication.
    IdentityDomainWebAuthClientSecretVaultId string
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    InstanceId string
    LifecycleDetails string
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    PublicIp string
    The public IP address for the instance's API gateway.
    ServiceEndpoint string
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    State string
    The current state of the Instance.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    TimeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    UiEndpoint string
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    AdminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Instance.
    IdentityDomainUrl string
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    IdentityDomainWebAuthClientId string
    The client ID of the identity-domain confidential application used for browser authentication.
    IdentityDomainWebAuthClientSecretVaultId string
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    InstanceId string
    LifecycleDetails string
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    PublicIp string
    The public IP address for the instance's API gateway.
    ServiceEndpoint string
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    State string
    The current state of the Instance.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    TimeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    UiEndpoint string
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    admin_identity_domain_user_id string
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartment_id string
    The OCID of the compartment.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags map(string)
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the Instance.
    identity_domain_url string
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    identity_domain_web_auth_client_id string
    The client ID of the identity-domain confidential application used for browser authentication.
    identity_domain_web_auth_client_secret_vault_id string
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    instance_id string
    lifecycle_details string
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    public_ip string
    The public IP address for the instance's API gateway.
    service_endpoint string
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    state string
    The current state of the Instance.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    time_created string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    ui_endpoint string
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    adminIdentityDomainUserId String
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Instance.
    identityDomainUrl String
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    identityDomainWebAuthClientId String
    The client ID of the identity-domain confidential application used for browser authentication.
    identityDomainWebAuthClientSecretVaultId String
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    instanceId String
    lifecycleDetails String
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    publicIp String
    The public IP address for the instance's API gateway.
    serviceEndpoint String
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    state String
    The current state of the Instance.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated String
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    uiEndpoint String
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    adminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the Instance.
    identityDomainUrl string
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    identityDomainWebAuthClientId string
    The client ID of the identity-domain confidential application used for browser authentication.
    identityDomainWebAuthClientSecretVaultId string
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    instanceId string
    lifecycleDetails string
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    publicIp string
    The public IP address for the instance's API gateway.
    serviceEndpoint string
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    state string
    The current state of the Instance.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    uiEndpoint string
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    admin_identity_domain_user_id str
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the Instance.
    identity_domain_url str
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    identity_domain_web_auth_client_id str
    The client ID of the identity-domain confidential application used for browser authentication.
    identity_domain_web_auth_client_secret_vault_id str
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    instance_id str
    lifecycle_details str
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    public_ip str
    The public IP address for the instance's API gateway.
    service_endpoint str
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    state str
    The current state of the Instance.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    time_created str
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    ui_endpoint str
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/
    adminIdentityDomainUserId String
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Instance.
    identityDomainUrl String
    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com
    identityDomainWebAuthClientId String
    The client ID of the identity-domain confidential application used for browser authentication.
    identityDomainWebAuthClientSecretVaultId String
    The OCID of the Vault secret containing the identity-domain confidential application's client secret.
    instanceId String
    lifecycleDetails String
    A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    publicIp String
    The public IP address for the instance's API gateway.
    serviceEndpoint String
    The HTTPS endpoint for the instance's PSS API. Example: https://example.pss.oraclecloud.com/api/
    state String
    The current state of the Instance.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated String
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    uiEndpoint String
    The HTTPS endpoint for the instance's PSS user interface. Example: https://example.pss.oraclecloud.com/ui/

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.7.0
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial