Viewing docs for Oracle Cloud Infrastructure v4.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Object Storage service.
Gets the current representation of the given private endpoint in the given Object Storage namespace.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPe = oci.objectstorage.getPrivateEndpoint({
name: peName,
namespace: namespace,
});
import pulumi
import pulumi_oci as oci
test_pe = oci.objectstorage.get_private_endpoint(name=pe_name,
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.GetPrivateEndpoint(ctx, &objectstorage.GetPrivateEndpointArgs{
Name: peName,
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 testPe = Oci.ObjectStorage.GetPrivateEndpoint.Invoke(new()
{
Name = peName,
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.GetPrivateEndpointArgs;
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 testPe = ObjectStorageFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
.name(peName)
.namespace(namespace)
.build());
}
}
variables:
testPe:
fn::invoke:
function: oci:ObjectStorage:getPrivateEndpoint
arguments:
name: ${peName}
namespace: ${namespace}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_objectstorage_getprivateendpoint" "testPe" {
name = peName
namespace = namespace
}
Using getPrivateEndpoint
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 getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointResult>
function getPrivateEndpointOutput(args: GetPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetPrivateEndpointResult>def get_private_endpoint(name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointResult
def get_private_endpoint_output(name: pulumi.Input[Optional[str]] = None,
namespace: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointResult]func LookupPrivateEndpoint(ctx *Context, args *LookupPrivateEndpointArgs, opts ...InvokeOption) (*LookupPrivateEndpointResult, error)
func LookupPrivateEndpointOutput(ctx *Context, args *LookupPrivateEndpointOutputArgs, opts ...InvokeOption) LookupPrivateEndpointResultOutput> Note: This function is named LookupPrivateEndpoint in the Go SDK.
public static class GetPrivateEndpoint
{
public static Task<GetPrivateEndpointResult> InvokeAsync(GetPrivateEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointResult> Invoke(GetPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivateEndpointResult> getPrivateEndpoint(GetPrivateEndpointArgs args, InvokeOptions options)
public static Output<GetPrivateEndpointResult> getPrivateEndpoint(GetPrivateEndpointArgs args, InvokeOptions options)
fn::invoke:
function: oci:ObjectStorage/getPrivateEndpoint:getPrivateEndpoint
arguments:
# arguments dictionarydata "oci_objectstorage_getprivateendpoint" "name" {
# arguments
}The following arguments are supported:
getPrivateEndpoint Result
The following output properties are available:
- Access
Targets List<GetPrivate Endpoint Access Target> - Additional
Prefixes List<string> - Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 Access Target - Additional
Prefixes []string - Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 Access Target> - additional
Prefixes List<String> - compartment
Id String - The compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 Access Target[] - additional
Prefixes string[] - compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 Access Target] - additional_
prefixes Sequence[str] - compartment_
id str - The compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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 compartment ID in which the private endpoint resource exists in.
- 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 in which the private endpoint resides.
- 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.
Supporting Types
GetPrivateEndpointAccessTarget
- Bucket string
- Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- Namespace string
- The Object Storage namespace used for the request.
- Bucket string
- Compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- Namespace string
- The Object Storage namespace used for the request.
- bucket string
- compartment_
id string - The compartment ID in which the private endpoint resource exists in.
- namespace string
- The Object Storage namespace used for the request.
- bucket String
- compartment
Id String - The compartment ID in which the private endpoint resource exists in.
- namespace String
- The Object Storage namespace used for the request.
- bucket string
- compartment
Id string - The compartment ID in which the private endpoint resource exists in.
- namespace string
- The Object Storage namespace used for the request.
- bucket str
- compartment_
id str - The compartment ID in which the private endpoint resource exists in.
- namespace str
- The Object Storage namespace used for the request.
- bucket String
- compartment
Id String - The compartment ID in which the private endpoint resource exists in.
- 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.
Viewing docs for Oracle Cloud Infrastructure v4.19.0
published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi