1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. PssInstance
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 resource provides the Instance resource in Oracle Cloud Infrastructure Pss service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/pss

    Creates an Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInstance = new oci.oci.PssInstance("test_instance", {
        adminIdentityDomainUserId: testUser.id,
        compartmentId: compartmentOcid,
        identityDomainUrl: instanceIdentityDomainUrl,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: instanceDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_instance = oci.oci.PssInstance("test_instance",
        admin_identity_domain_user_id=test_user["id"],
        compartment_id=compartment_ocid,
        identity_domain_url=instance_identity_domain_url,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=instance_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    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.NewPssInstance(ctx, "test_instance", &oci.PssInstanceArgs{
    			AdminIdentityDomainUserId: pulumi.Any(testUser.Id),
    			CompartmentId:             pulumi.Any(compartmentOcid),
    			IdentityDomainUrl:         pulumi.Any(instanceIdentityDomainUrl),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(instanceDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 = new Oci.Oci.PssInstance("test_instance", new()
        {
            AdminIdentityDomainUserId = testUser.Id,
            CompartmentId = compartmentOcid,
            IdentityDomainUrl = instanceIdentityDomainUrl,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = instanceDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.PssInstance;
    import com.pulumi.oci.oci.PssInstanceArgs;
    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) {
            var testInstance = new PssInstance("testInstance", PssInstanceArgs.builder()
                .adminIdentityDomainUserId(testUser.get("id"))
                .compartmentId(compartmentOcid)
                .identityDomainUrl(instanceIdentityDomainUrl)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(instanceDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testInstance:
        type: oci:oci:PssInstance
        name: test_instance
        properties:
          adminIdentityDomainUserId: ${testUser.id}
          compartmentId: ${compartmentOcid}
          identityDomainUrl: ${instanceIdentityDomainUrl}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${instanceDisplayName}
          freeformTags:
            Department: Finance
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_pss_instance" "test_instance" {
      lifecycle {
        create_before_destroy = true
      }
      admin_identity_domain_user_id = testUser.id
      compartment_id                = compartmentOcid
      identity_domain_url           = instanceIdentityDomainUrl
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      display_name = instanceDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
    }
    

    Create PssInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PssInstance(name: string, args: PssInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def PssInstance(resource_name: str,
                    args: PssInstanceArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PssInstance(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    admin_identity_domain_user_id: Optional[str] = None,
                    compartment_id: Optional[str] = None,
                    identity_domain_url: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None)
    func NewPssInstance(ctx *Context, name string, args PssInstanceArgs, opts ...ResourceOption) (*PssInstance, error)
    public PssInstance(string name, PssInstanceArgs args, CustomResourceOptions? opts = null)
    public PssInstance(String name, PssInstanceArgs args)
    public PssInstance(String name, PssInstanceArgs args, CustomResourceOptions options)
    
    type: oci:oci:PssInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_pss_instance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PssInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PssInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PssInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PssInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PssInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var pssInstanceResource = new Oci.Oci.PssInstance("pssInstanceResource", new()
    {
        AdminIdentityDomainUserId = "string",
        CompartmentId = "string",
        IdentityDomainUrl = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := oci.NewPssInstance(ctx, "pssInstanceResource", &oci.PssInstanceArgs{
    	AdminIdentityDomainUserId: pulumi.String("string"),
    	CompartmentId:             pulumi.String("string"),
    	IdentityDomainUrl:         pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "oci_oci_pss_instance" "pssInstanceResource" {
      lifecycle {
        create_before_destroy = true
      }
      admin_identity_domain_user_id = "string"
      compartment_id                = "string"
      identity_domain_url           = "string"
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
    }
    
    var pssInstanceResource = new PssInstance("pssInstanceResource", PssInstanceArgs.builder()
        .adminIdentityDomainUserId("string")
        .compartmentId("string")
        .identityDomainUrl("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    pss_instance_resource = oci.oci.PssInstance("pssInstanceResource",
        admin_identity_domain_user_id="string",
        compartment_id="string",
        identity_domain_url="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const pssInstanceResource = new oci.oci.PssInstance("pssInstanceResource", {
        adminIdentityDomainUserId: "string",
        compartmentId: "string",
        identityDomainUrl: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:oci:PssInstance
    properties:
        adminIdentityDomainUserId: string
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        identityDomainUrl: string
    

    PssInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PssInstance resource accepts the following input properties:

    AdminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the Instance in.
    IdentityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    AdminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the Instance in.
    IdentityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    admin_identity_domain_user_id string
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartment_id string
    (Updatable) The OCID of the compartment to create the Instance in.
    identity_domain_url string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags map(string)
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (Updatable) 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"}
    adminIdentityDomainUserId String
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId String
    (Updatable) The OCID of the compartment to create the Instance in.
    identityDomainUrl String

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    adminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId string
    (Updatable) The OCID of the compartment to create the Instance in.
    identityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    admin_identity_domain_user_id str
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartment_id str
    (Updatable) The OCID of the compartment to create the Instance in.
    identity_domain_url str

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    adminIdentityDomainUserId String
    The OCID of the identity-domain user that initially administers the PSS instance.
    compartmentId String
    (Updatable) The OCID of the compartment to create the Instance in.
    identityDomainUrl String

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PssInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    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/
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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/

    Look up Existing PssInstance Resource

    Get an existing PssInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PssInstanceState, opts?: CustomResourceOptions): PssInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_identity_domain_user_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            identity_domain_url: Optional[str] = None,
            identity_domain_web_auth_client_id: Optional[str] = None,
            identity_domain_web_auth_client_secret_vault_id: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            public_ip: Optional[str] = None,
            service_endpoint: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            ui_endpoint: Optional[str] = None) -> PssInstance
    func GetPssInstance(ctx *Context, name string, id IDInput, state *PssInstanceState, opts ...ResourceOption) (*PssInstance, error)
    public static PssInstance Get(string name, Input<string> id, PssInstanceState? state, CustomResourceOptions? opts = null)
    public static PssInstance get(String name, Output<String> id, PssInstanceState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:PssInstance    get:      id: ${id}
    import {
      to = oci_oci_pss_instance.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminIdentityDomainUserId string
    The OCID of the identity-domain user that initially administers the PSS instance.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the Instance in.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    IdentityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    IdentityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    defined_tags map(string)
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (Updatable) 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"}
    identity_domain_url string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    identityDomainUrl String

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    identityDomainUrl string

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    identity_domain_url str

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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
    (Updatable) The OCID of the compartment to create the Instance in.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}
    identityDomainUrl String

    The URL of the identity domain associated with the instance. Example: https://idcs-1234567890.identity.oraclecloud.com

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    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/

    Import

    Instances can be imported using the id, e.g.

    $ pulumi import oci:oci/pssInstance:PssInstance test_instance "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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