published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Object Storage service.
Gets a list of all PrivateEndpointSummary items in a compartment. A PrivateEndpointSummary contains only summary fields for the private endpoint and does not contain fields like the user-defined metadata.
ListPrivateEndpoints returns a PrivateEndpointSummary containing at most 1000 private endpoints. To paginate through more private endpoints, use the returned
opc-next-page value with the page request parameter.
To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPes = oci.objectstorage.getPrivateEndpointSummaries({
compartmentId: compartmentId,
namespace: namespace,
});
import pulumi
import pulumi_oci as oci
test_pes = oci.objectstorage.get_private_endpoint_summaries(compartment_id=compartment_id,
namespace=namespace)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/objectstorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := objectstorage.GetPrivateEndpointSummaries(ctx, &objectstorage.GetPrivateEndpointSummariesArgs{
CompartmentId: compartmentId,
Namespace: namespace,
}, 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 testPes = Oci.ObjectStorage.GetPrivateEndpointSummaries.Invoke(new()
{
CompartmentId = compartmentId,
Namespace = @namespace,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ObjectStorage.ObjectStorageFunctions;
import com.pulumi.oci.ObjectStorage.inputs.GetPrivateEndpointSummariesArgs;
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 testPes = ObjectStorageFunctions.getPrivateEndpointSummaries(GetPrivateEndpointSummariesArgs.builder()
.compartmentId(compartmentId)
.namespace(namespace)
.build());
}
}
variables:
testPes:
fn::invoke:
function: oci:ObjectStorage:getPrivateEndpointSummaries
arguments:
compartmentId: ${compartmentId}
namespace: ${namespace}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_objectstorage_getprivateendpointsummaries" "testPes" {
compartment_id = compartmentId
namespace = namespace
}
Using getPrivateEndpointSummaries
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 getPrivateEndpointSummaries(args: GetPrivateEndpointSummariesArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointSummariesResult>
function getPrivateEndpointSummariesOutput(args: GetPrivateEndpointSummariesOutputArgs, opts?: InvokeOutputOptions): Output<GetPrivateEndpointSummariesResult>def get_private_endpoint_summaries(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetPrivateEndpointSummariesFilter]] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointSummariesResult
def get_private_endpoint_summaries_output(compartment_id: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetPrivateEndpointSummariesFilterArgs]]]] = None,
namespace: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPrivateEndpointSummariesResult]func GetPrivateEndpointSummaries(ctx *Context, args *GetPrivateEndpointSummariesArgs, opts ...InvokeOption) (*GetPrivateEndpointSummariesResult, error)
func GetPrivateEndpointSummariesOutput(ctx *Context, args *GetPrivateEndpointSummariesOutputArgs, opts ...InvokeOption) GetPrivateEndpointSummariesResultOutput> Note: This function is named GetPrivateEndpointSummaries in the Go SDK.
public static class GetPrivateEndpointSummaries
{
public static Task<GetPrivateEndpointSummariesResult> InvokeAsync(GetPrivateEndpointSummariesArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointSummariesResult> Invoke(GetPrivateEndpointSummariesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointSummariesResult> Invoke(GetPrivateEndpointSummariesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPrivateEndpointSummariesResult> getPrivateEndpointSummaries(GetPrivateEndpointSummariesArgs args, InvokeOptions options)
public static Output<GetPrivateEndpointSummariesResult> getPrivateEndpointSummaries(GetPrivateEndpointSummariesArgs args, InvokeOptions options)
public static Output<GetPrivateEndpointSummariesResult> getPrivateEndpointSummaries(GetPrivateEndpointSummariesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:ObjectStorage/getPrivateEndpointSummaries:getPrivateEndpointSummaries
arguments:
# arguments dictionarydata "oci_object_storage_get_private_endpoint_summaries" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Namespace string
- The Object Storage namespace used for the request.
- Filters
List<Get
Private Endpoint Summaries Filter>
- Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Namespace string
- The Object Storage namespace used for the request.
- Filters
[]Get
Private Endpoint Summaries Filter
- compartment_
id string - The ID of the compartment in which to list private endpoints.
- namespace string
- The Object Storage namespace used for the request.
- filters list(object)
- compartment
Id String - The ID of the compartment in which to list private endpoints.
- namespace String
- The Object Storage namespace used for the request.
- filters
List<Get
Private Endpoint Summaries Filter>
- compartment
Id string - The ID of the compartment in which to list private endpoints.
- namespace string
- The Object Storage namespace used for the request.
- filters
Get
Private Endpoint Summaries Filter[]
- compartment_
id str - The ID of the compartment in which to list private endpoints.
- namespace str
- The Object Storage namespace used for the request.
- filters
Sequence[Get
Private Endpoint Summaries Filter]
- compartment
Id String - The ID of the compartment in which to list private endpoints.
- namespace String
- The Object Storage namespace used for the request.
- filters List<Property Map>
getPrivateEndpointSummaries Result
The following output properties are available:
- Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The Object Storage namespace in which the private endpoint resides.
- Private
Endpoint List<GetSummaries Private Endpoint Summaries Private Endpoint Summary> - The list of private_endpoint_summaries.
- Filters
List<Get
Private Endpoint Summaries Filter>
- Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The Object Storage namespace in which the private endpoint resides.
- Private
Endpoint []GetSummaries Private Endpoint Summaries Private Endpoint Summary - The list of private_endpoint_summaries.
- Filters
[]Get
Private Endpoint Summaries Filter
- compartment_
id string - The compartment ID in which the private endpoint resource exists in.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- The Object Storage namespace in which the private endpoint resides.
- private_
endpoint_ list(object)summaries - The list of private_endpoint_summaries.
- filters list(object)
- compartment
Id String - The compartment ID in which the private endpoint resource exists in.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The Object Storage namespace in which the private endpoint resides.
- private
Endpoint List<GetSummaries Private Endpoint Summaries Private Endpoint Summary> - The list of private_endpoint_summaries.
- filters
List<Get
Private Endpoint Summaries Filter>
- compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- The Object Storage namespace in which the private endpoint resides.
- private
Endpoint GetSummaries Private Endpoint Summaries Private Endpoint Summary[] - The list of private_endpoint_summaries.
- filters
Get
Private Endpoint Summaries Filter[]
- compartment_
id str - The compartment ID in which the private endpoint resource exists in.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- The Object Storage namespace in which the private endpoint resides.
- private_
endpoint_ Sequence[Getsummaries Private Endpoint Summaries Private Endpoint Summary] - The list of private_endpoint_summaries.
- filters
Sequence[Get
Private Endpoint Summaries Filter]
- compartment
Id String - The compartment ID in which the private endpoint resource exists in.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The Object Storage namespace in which the private endpoint resides.
- private
Endpoint List<Property Map>Summaries - The list of private_endpoint_summaries.
- filters List<Property Map>
Supporting Types
GetPrivateEndpointSummariesFilter
GetPrivateEndpointSummariesPrivateEndpointSummary
- Access
Targets List<GetPrivate Endpoint Summaries Private Endpoint Summary Access Target> - Additional
Prefixes List<string> - Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Created
By string - The OCID of the user who created the private endpoint.
- Dictionary<string, string>
- Etag string
- The entity tag for the Private Endpoint.
- Fqdns
Dictionary<string, Immutable
Dictionary<string, Immutable Dictionary<string, string>>> - The object representing FQDN details formed using prefix and additionalPrefixes.
- Dictionary<string, string>
- Id string
- Name string
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- Namespace string
- The Object Storage namespace used for the request.
- Nsg
Ids List<string> - Prefix string
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- Private
Endpoint stringIp - Security
Attributes Dictionary<string, string> - State string
- The lifecycle state of the private endpoint resource.
- Subnet
Id string - Time
Created string - The date and time the private endpoint was created, as described in RFC 2616.
- Time
Modified string - The date and time the private endpoint was updated, as described in RFC 2616.
- Access
Targets []GetPrivate Endpoint Summaries Private Endpoint Summary Access Target - Additional
Prefixes []string - Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Created
By string - The OCID of the user who created the private endpoint.
- map[string]string
- Etag string
- The entity tag for the Private Endpoint.
- Fqdns map[string]map[string]map[string]string
- The object representing FQDN details formed using prefix and additionalPrefixes.
- map[string]string
- Id string
- Name string
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- Namespace string
- The Object Storage namespace used for the request.
- Nsg
Ids []string - Prefix string
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- Private
Endpoint stringIp - Security
Attributes map[string]string - State string
- The lifecycle state of the private endpoint resource.
- Subnet
Id string - Time
Created string - The date and time the private endpoint was created, as described in RFC 2616.
- Time
Modified string - The date and time the private endpoint was updated, as described in RFC 2616.
- access_
targets list(object) - additional_
prefixes list(string) - compartment_
id string - The ID of the compartment in which to list private endpoints.
- created_
by string - The OCID of the user who created the private endpoint.
- map(string)
- etag string
- The entity tag for the Private Endpoint.
- fqdns map(map(map(string)))
- The object representing FQDN details formed using prefix and additionalPrefixes.
- map(string)
- id string
- name string
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- namespace string
- The Object Storage namespace used for the request.
- nsg_
ids list(string) - prefix string
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- private_
endpoint_ stringip - security_
attributes map(string) - state string
- The lifecycle state of the private endpoint resource.
- subnet_
id string - time_
created string - The date and time the private endpoint was created, as described in RFC 2616.
- time_
modified string - The date and time the private endpoint was updated, as described in RFC 2616.
- access
Targets List<GetPrivate Endpoint Summaries Private Endpoint Summary Access Target> - additional
Prefixes List<String> - compartment
Id String - The ID of the compartment in which to list private endpoints.
- created
By String - The OCID of the user who created the private endpoint.
- Map<String,String>
- etag String
- The entity tag for the Private Endpoint.
- fqdns Map<String,Map<String,Map<String,String>>>
- The object representing FQDN details formed using prefix and additionalPrefixes.
- Map<String,String>
- id String
- name String
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- namespace String
- The Object Storage namespace used for the request.
- nsg
Ids List<String> - prefix String
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- private
Endpoint StringIp - security
Attributes Map<String,String> - state String
- The lifecycle state of the private endpoint resource.
- subnet
Id String - time
Created String - The date and time the private endpoint was created, as described in RFC 2616.
- time
Modified String - The date and time the private endpoint was updated, as described in RFC 2616.
- access
Targets GetPrivate Endpoint Summaries Private Endpoint Summary Access Target[] - additional
Prefixes string[] - compartment
Id string - The ID of the compartment in which to list private endpoints.
- created
By string - The OCID of the user who created the private endpoint.
- {[key: string]: string}
- etag string
- The entity tag for the Private Endpoint.
- fqdns {[key: string]: {[key: string]: {[key: string]: string}}}
- The object representing FQDN details formed using prefix and additionalPrefixes.
- {[key: string]: string}
- id string
- name string
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- namespace string
- The Object Storage namespace used for the request.
- nsg
Ids string[] - prefix string
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- private
Endpoint stringIp - security
Attributes {[key: string]: string} - state string
- The lifecycle state of the private endpoint resource.
- subnet
Id string - time
Created string - The date and time the private endpoint was created, as described in RFC 2616.
- time
Modified string - The date and time the private endpoint was updated, as described in RFC 2616.
- access_
targets Sequence[GetPrivate Endpoint Summaries Private Endpoint Summary Access Target] - additional_
prefixes Sequence[str] - compartment_
id str - The ID of the compartment in which to list private endpoints.
- created_
by str - The OCID of the user who created the private endpoint.
- Mapping[str, str]
- etag str
- The entity tag for the Private Endpoint.
- fqdns Mapping[str, Mapping[str, Mapping[str, str]]]
- The object representing FQDN details formed using prefix and additionalPrefixes.
- Mapping[str, str]
- id str
- name str
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- namespace str
- The Object Storage namespace used for the request.
- nsg_
ids Sequence[str] - prefix str
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- private_
endpoint_ strip - security_
attributes Mapping[str, str] - state str
- The lifecycle state of the private endpoint resource.
- subnet_
id str - time_
created str - The date and time the private endpoint was created, as described in RFC 2616.
- time_
modified str - The date and time the private endpoint was updated, as described in RFC 2616.
- access
Targets List<Property Map> - additional
Prefixes List<String> - compartment
Id String - The ID of the compartment in which to list private endpoints.
- created
By String - The OCID of the user who created the private endpoint.
- Map<String>
- etag String
- The entity tag for the Private Endpoint.
- fqdns Map<Map<Map<String>>>
- The object representing FQDN details formed using prefix and additionalPrefixes.
- Map<String>
- id String
- name String
- The name of the private endpoint. Avoid entering confidential information. Example: my-pe1
- namespace String
- The Object Storage namespace used for the request.
- nsg
Ids List<String> - prefix String
- The DNS prefix value chosen which is the first part of the URL used to access Object Storage.
- private
Endpoint StringIp - security
Attributes Map<String> - state String
- The lifecycle state of the private endpoint resource.
- subnet
Id String - time
Created String - The date and time the private endpoint was created, as described in RFC 2616.
- time
Modified String - The date and time the private endpoint was updated, as described in RFC 2616.
GetPrivateEndpointSummariesPrivateEndpointSummaryAccessTarget
- Bucket string
- Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Namespace string
- The Object Storage namespace used for the request.
- Bucket string
- Compartment
Id string - The ID of the compartment in which to list private endpoints.
- Namespace string
- The Object Storage namespace used for the request.
- bucket string
- compartment_
id string - The ID of the compartment in which to list private endpoints.
- namespace string
- The Object Storage namespace used for the request.
- bucket String
- compartment
Id String - The ID of the compartment in which to list private endpoints.
- namespace String
- The Object Storage namespace used for the request.
- bucket string
- compartment
Id string - The ID of the compartment in which to list private endpoints.
- namespace string
- The Object Storage namespace used for the request.
- bucket str
- compartment_
id str - The ID of the compartment in which to list private endpoints.
- namespace str
- The Object Storage namespace used for the request.
- bucket String
- compartment
Id String - The ID of the compartment in which to list private endpoints.
- namespace String
- The Object Storage namespace used for the request.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Wednesday, Aug 26, 2026 by Pulumi