1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getPsaPsaServices
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi

    This data source provides the list of Psa Services in Oracle Cloud Infrastructure Psa service.

    List the Oracle Cloud Infrastructure services available for Private Service Access catalog in the region, sorted by service name.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPsaServices = oci.oci.getPsaPsaServices({
        displayName: psaServiceDisplayName,
        serviceId: testPsaService.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_psa_services = oci.oci.get_psa_psa_services(display_name=psa_service_display_name,
        service_id=test_psa_service["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetPsaPsaServices(ctx, &oci.GetPsaPsaServicesArgs{
    			DisplayName: pulumi.StringRef(psaServiceDisplayName),
    			ServiceId:   pulumi.StringRef(testPsaService.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 testPsaServices = Oci.Oci.GetPsaPsaServices.Invoke(new()
        {
            DisplayName = psaServiceDisplayName,
            ServiceId = testPsaService.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.GetPsaPsaServicesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testPsaServices = OciFunctions.getPsaPsaServices(GetPsaPsaServicesArgs.builder()
                .displayName(psaServiceDisplayName)
                .serviceId(testPsaService.id())
                .build());
    
        }
    }
    
    variables:
      testPsaServices:
        fn::invoke:
          function: oci:oci:getPsaPsaServices
          arguments:
            displayName: ${psaServiceDisplayName}
            serviceId: ${testPsaService.id}
    

    Using getPsaPsaServices

    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 getPsaPsaServices(args: GetPsaPsaServicesArgs, opts?: InvokeOptions): Promise<GetPsaPsaServicesResult>
    function getPsaPsaServicesOutput(args: GetPsaPsaServicesOutputArgs, opts?: InvokeOptions): Output<GetPsaPsaServicesResult>
    def get_psa_psa_services(display_name: Optional[str] = None,
                             filters: Optional[Sequence[GetPsaPsaServicesFilter]] = None,
                             service_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPsaPsaServicesResult
    def get_psa_psa_services_output(display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPsaPsaServicesFilterArgs]]]] = None,
                             service_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPsaPsaServicesResult]
    func GetPsaPsaServices(ctx *Context, args *GetPsaPsaServicesArgs, opts ...InvokeOption) (*GetPsaPsaServicesResult, error)
    func GetPsaPsaServicesOutput(ctx *Context, args *GetPsaPsaServicesOutputArgs, opts ...InvokeOption) GetPsaPsaServicesResultOutput

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

    public static class GetPsaPsaServices 
    {
        public static Task<GetPsaPsaServicesResult> InvokeAsync(GetPsaPsaServicesArgs args, InvokeOptions? opts = null)
        public static Output<GetPsaPsaServicesResult> Invoke(GetPsaPsaServicesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPsaPsaServicesResult> getPsaPsaServices(GetPsaPsaServicesArgs args, InvokeOptions options)
    public static Output<GetPsaPsaServicesResult> getPsaPsaServices(GetPsaPsaServicesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getPsaPsaServices:getPsaPsaServices
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetPsaPsaServicesFilter>
    ServiceId string
    The unique identifier of the Oracle Cloud Infrastructure service.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetPsaPsaServicesFilter
    ServiceId string
    The unique identifier of the Oracle Cloud Infrastructure service.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetPsaPsaServicesFilter>
    serviceId String
    The unique identifier of the Oracle Cloud Infrastructure service.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetPsaPsaServicesFilter[]
    serviceId string
    The unique identifier of the Oracle Cloud Infrastructure service.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[GetPsaPsaServicesFilter]
    service_id str
    The unique identifier of the Oracle Cloud Infrastructure service.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    serviceId String
    The unique identifier of the Oracle Cloud Infrastructure service.

    getPsaPsaServices Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PsaServiceCollections List<GetPsaPsaServicesPsaServiceCollection>
    The list of psa_service_collection.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetPsaPsaServicesFilter>
    ServiceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    PsaServiceCollections []GetPsaPsaServicesPsaServiceCollection
    The list of psa_service_collection.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetPsaPsaServicesFilter
    ServiceId string
    id String
    The provider-assigned unique ID for this managed resource.
    psaServiceCollections List<GetPsaPsaServicesPsaServiceCollection>
    The list of psa_service_collection.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetPsaPsaServicesFilter>
    serviceId String
    id string
    The provider-assigned unique ID for this managed resource.
    psaServiceCollections GetPsaPsaServicesPsaServiceCollection[]
    The list of psa_service_collection.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetPsaPsaServicesFilter[]
    serviceId string
    id str
    The provider-assigned unique ID for this managed resource.
    psa_service_collections Sequence[GetPsaPsaServicesPsaServiceCollection]
    The list of psa_service_collection.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[GetPsaPsaServicesFilter]
    service_id str
    id String
    The provider-assigned unique ID for this managed resource.
    psaServiceCollections List<Property Map>
    The list of psa_service_collection.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    serviceId String

    Supporting Types

    GetPsaPsaServicesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetPsaPsaServicesPsaServiceCollection

    items List<Property Map>
    List of PsaServiceSummary.

    GetPsaPsaServicesPsaServiceCollectionItem

    Description string
    A description of the Oracle Cloud Infrastructure service.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Fqdns List<string>
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    Id string
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    IsV6enabled bool
    This optional field will indicate that whether service is IPv6 enabled.
    Description string
    A description of the Oracle Cloud Infrastructure service.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Fqdns []string
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    Id string
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    IsV6enabled bool
    This optional field will indicate that whether service is IPv6 enabled.
    description String
    A description of the Oracle Cloud Infrastructure service.
    displayName String
    A filter to return only resources that match the given display name exactly.
    fqdns List<String>
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    id String
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    isV6enabled Boolean
    This optional field will indicate that whether service is IPv6 enabled.
    description string
    A description of the Oracle Cloud Infrastructure service.
    displayName string
    A filter to return only resources that match the given display name exactly.
    fqdns string[]
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    id string
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    isV6enabled boolean
    This optional field will indicate that whether service is IPv6 enabled.
    description str
    A description of the Oracle Cloud Infrastructure service.
    display_name str
    A filter to return only resources that match the given display name exactly.
    fqdns Sequence[str]
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    id str
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    is_v6enabled bool
    This optional field will indicate that whether service is IPv6 enabled.
    description String
    A description of the Oracle Cloud Infrastructure service.
    displayName String
    A filter to return only resources that match the given display name exactly.
    fqdns List<String>
    The public facing service FQDNs, which are going to be used to access the service. Example: xyz.oraclecloud.com
    id String
    A unique Oracle Cloud Infrastructure service identifier. Example: object-storage-api
    isV6enabled Boolean
    This optional field will indicate that whether service is IPv6 enabled.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate