Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
This data source provides the list of Instances in Oracle Cloud Infrastructure Pss service.
Gets a list of Instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstances = oci.oci.getPssInstances({
compartmentId: compartmentId,
displayName: instanceDisplayName,
id: instanceId,
state: instanceState,
});
import pulumi
import pulumi_oci as oci
test_instances = oci.oci.get_pss_instances(compartment_id=compartment_id,
display_name=instance_display_name,
id=instance_id,
state=instance_state)
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.GetPssInstances(ctx, &oci.GetPssInstancesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(instanceDisplayName),
Id: pulumi.StringRef(instanceId),
State: pulumi.StringRef(instanceState),
}, 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 testInstances = Oci.Oci.GetPssInstances.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = instanceDisplayName,
Id = instanceId,
State = instanceState,
});
});
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.GetPssInstancesArgs;
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 testInstances = OciFunctions.getPssInstances(GetPssInstancesArgs.builder()
.compartmentId(compartmentId)
.displayName(instanceDisplayName)
.id(instanceId)
.state(instanceState)
.build());
}
}
variables:
testInstances:
fn::invoke:
function: oci:oci:getPssInstances
arguments:
compartmentId: ${compartmentId}
displayName: ${instanceDisplayName}
id: ${instanceId}
state: ${instanceState}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_pss_instances" "testInstances" {
compartment_id = compartmentId
display_name = instanceDisplayName
id = instanceId
state = instanceState
}
Using getPssInstances
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 getPssInstances(args: GetPssInstancesArgs, opts?: InvokeOptions): Promise<GetPssInstancesResult>
function getPssInstancesOutput(args: GetPssInstancesOutputArgs, opts?: InvokeOutputOptions): Output<GetPssInstancesResult>def get_pss_instances(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetPssInstancesFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPssInstancesResult
def get_pss_instances_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetPssInstancesFilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPssInstancesResult]func GetPssInstances(ctx *Context, args *GetPssInstancesArgs, opts ...InvokeOption) (*GetPssInstancesResult, error)
func GetPssInstancesOutput(ctx *Context, args *GetPssInstancesOutputArgs, opts ...InvokeOption) GetPssInstancesResultOutput> Note: This function is named GetPssInstances in the Go SDK.
public static class GetPssInstances
{
public static Task<GetPssInstancesResult> InvokeAsync(GetPssInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetPssInstancesResult> Invoke(GetPssInstancesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPssInstancesResult> Invoke(GetPssInstancesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPssInstancesResult> getPssInstances(GetPssInstancesArgs args, InvokeOptions options)
public static Output<GetPssInstancesResult> getPssInstances(GetPssInstancesArgs args, InvokeOptions options)
public static Output<GetPssInstancesResult> getPssInstances(GetPssInstancesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:oci/getPssInstances:getPssInstances
arguments:
# arguments dictionarydata "oci_oci_get_pss_instances" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Pss Instances Filter> - Id string
- The OCID of the Instance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Pss Instances Filter - Id string
- The OCID of the Instance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id string - The OCID of the compartment in which to list resources.
- display_
name string - A filter to return only resources that match the given display name exactly.
- filters list(object)
- id string
- The OCID of the Instance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Pss Instances Filter> - id String
- The OCID of the Instance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Pss Instances Filter[] - id string
- The OCID of the Instance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Pss Instances Filter] - id str
- The OCID of the Instance.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- id String
- The OCID of the Instance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getPssInstances Result
The following output properties are available:
- Instance
Collections List<GetPss Instances Instance Collection> - The list of instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Pss Instances Filter> - Id string
- The OCID of the Instance.
- State string
- The current state of the Instance.
- Instance
Collections []GetPss Instances Instance Collection - The list of instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Pss Instances Filter - Id string
- The OCID of the Instance.
- State string
- The current state of the Instance.
- instance_
collections list(object) - The list of instance_collection.
- compartment_
id string - The OCID of the compartment.
- display_
name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters list(object)
- id string
- The OCID of the Instance.
- state string
- The current state of the Instance.
- instance
Collections List<GetPss Instances Instance Collection> - The list of instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Pss Instances Filter> - id String
- The OCID of the Instance.
- state String
- The current state of the Instance.
- instance
Collections GetPss Instances Instance Collection[] - The list of instance_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Pss Instances Filter[] - id string
- The OCID of the Instance.
- state string
- The current state of the Instance.
- instance_
collections Sequence[GetPss Instances Instance Collection] - The list of instance_collection.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Pss Instances Filter] - id str
- The OCID of the Instance.
- state str
- The current state of the Instance.
- instance
Collections List<Property Map> - The list of instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- id String
- The OCID of the Instance.
- state String
- The current state of the Instance.
Supporting Types
GetPssInstancesFilter
GetPssInstancesInstanceCollection
GetPssInstancesInstanceCollectionItem
- Admin
Identity stringDomain User Id - The OCID of the identity-domain user that initially administers the PSS instance.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Identity
Domain stringUrl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - Identity
Domain stringWeb Auth Client Id - The client ID of the identity-domain confidential application used for browser authentication.
- Identity
Domain stringWeb Auth Client Secret Vault Id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Dictionary<string, 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/
- Admin
Identity stringDomain User Id - The OCID of the identity-domain user that initially administers the PSS instance.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Identity
Domain stringUrl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - Identity
Domain stringWeb Auth Client Id - The client ID of the identity-domain confidential application used for browser authentication.
- Identity
Domain stringWeb Auth Client Secret Vault Id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map[string]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/
- admin_
identity_ stringdomain_ user_ id - The OCID of the identity-domain user that initially administers the PSS instance.
- compartment_
id string - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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_ stringurl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - identity_
domain_ stringweb_ auth_ client_ id - The client ID of the identity-domain confidential application used for browser authentication.
- identity_
domain_ stringweb_ auth_ client_ secret_ vault_ id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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/
- admin
Identity StringDomain User Id - The OCID of the identity-domain user that initially administers the PSS instance.
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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"} - display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- identity
Domain StringUrl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - identity
Domain StringWeb Auth Client Id - The client ID of the identity-domain confidential application used for browser authentication.
- identity
Domain StringWeb Auth Client Secret Vault Id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String,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/
- admin
Identity stringDomain User Id - The OCID of the identity-domain user that initially administers the PSS instance.
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[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"} - display
Name string - A filter to return only resources that match the given display name exactly.
- {[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.
- identity
Domain stringUrl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - identity
Domain stringWeb Auth Client Id - The client ID of the identity-domain confidential application used for browser authentication.
- identity
Domain stringWeb Auth Client Secret Vault Id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[key: string]: 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/
- admin_
identity_ strdomain_ user_ id - The OCID of the identity-domain user that initially administers the PSS instance.
- compartment_
id str - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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_ strurl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - identity_
domain_ strweb_ auth_ client_ id - The client ID of the identity-domain confidential application used for browser authentication.
- identity_
domain_ strweb_ auth_ client_ secret_ vault_ id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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/
- admin
Identity StringDomain User Id - The OCID of the identity-domain user that initially administers the PSS instance.
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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 StringUrl - The URL of the identity domain associated with the instance. Example:
https://idcs-1234567890.identity.oraclecloud.com - identity
Domain StringWeb Auth Client Id - The client ID of the identity-domain confidential application used for browser authentication.
- identity
Domain StringWeb Auth Client Secret Vault Id - 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
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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/
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 v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi