Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi
oci.GloballyDistributedDatabase.getPrivateEndpoints
Explore with Pulumi AI
This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service.
List of PrivateEndpoints.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateEndpoints = oci.GloballyDistributedDatabase.getPrivateEndpoints({
compartmentId: compartmentId,
displayName: privateEndpointDisplayName,
state: privateEndpointState,
});
import pulumi
import pulumi_oci as oci
test_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id,
display_name=private_endpoint_display_name,
state=private_endpoint_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/globallydistributeddatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := globallydistributeddatabase.GetPrivateEndpoints(ctx, &globallydistributeddatabase.GetPrivateEndpointsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(privateEndpointDisplayName),
State: pulumi.StringRef(privateEndpointState),
}, 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 testPrivateEndpoints = Oci.GloballyDistributedDatabase.GetPrivateEndpoints.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = privateEndpointDisplayName,
State = privateEndpointState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointsArgs;
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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()
.compartmentId(compartmentId)
.displayName(privateEndpointDisplayName)
.state(privateEndpointState)
.build());
}
}
variables:
testPrivateEndpoints:
fn::invoke:
function: oci:GloballyDistributedDatabase:getPrivateEndpoints
arguments:
compartmentId: ${compartmentId}
displayName: ${privateEndpointDisplayName}
state: ${privateEndpointState}
Using getPrivateEndpoints
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 getPrivateEndpoints(args: GetPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointsResult>
function getPrivateEndpointsOutput(args: GetPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetPrivateEndpointsResult>
def get_private_endpoints(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_globallydistributeddatabase.GetPrivateEndpointsFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointsResult
def get_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_globallydistributeddatabase.GetPrivateEndpointsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointsResult]
func GetPrivateEndpoints(ctx *Context, args *GetPrivateEndpointsArgs, opts ...InvokeOption) (*GetPrivateEndpointsResult, error)
func GetPrivateEndpointsOutput(ctx *Context, args *GetPrivateEndpointsOutputArgs, opts ...InvokeOption) GetPrivateEndpointsResultOutput
> Note: This function is named GetPrivateEndpoints
in the Go SDK.
public static class GetPrivateEndpoints
{
public static Task<GetPrivateEndpointsResult> InvokeAsync(GetPrivateEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointsResult> Invoke(GetPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateEndpointsResult> getPrivateEndpoints(GetPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetPrivateEndpointsResult> getPrivateEndpoints(GetPrivateEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- Filters
Changes to this property will trigger replacement.
Private Endpoints Filter> - State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- Filters
Changes to this property will trigger replacement.
Private Endpoints Filter - State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- filters
Changes to this property will trigger replacement.
Private Endpoints Filter> - state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id This property is required. string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- filters
Changes to this property will trigger replacement.
Private Endpoints Filter[] - state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment_
id This property is required. str - The ID of the compartment in which to list resources.
- display_
name str - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- filters
Changes to this property will trigger replacement.
Get Private Endpoints Filter] - state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- filters
Changes to this property will trigger replacement.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
getPrivateEndpoints Result
The following output properties are available:
- Compartment
Id string - Identifier of the compartment in which private endpoint exists.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Endpoint List<GetCollections Private Endpoints Private Endpoint Collection> - The list of private_endpoint_collection.
- Display
Name string - PrivateEndpoint display name.
- Filters
List<Get
Private Endpoints Filter> - State string
- Lifecycle states for private endpoint.
- Compartment
Id string - Identifier of the compartment in which private endpoint exists.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Endpoint []GetCollections Private Endpoints Private Endpoint Collection - The list of private_endpoint_collection.
- Display
Name string - PrivateEndpoint display name.
- Filters
[]Get
Private Endpoints Filter - State string
- Lifecycle states for private endpoint.
- compartment
Id String - Identifier of the compartment in which private endpoint exists.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Endpoint List<GetCollections Private Endpoints Private Endpoint Collection> - The list of private_endpoint_collection.
- display
Name String - PrivateEndpoint display name.
- filters
List<Get
Private Endpoints Filter> - state String
- Lifecycle states for private endpoint.
- compartment
Id string - Identifier of the compartment in which private endpoint exists.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Endpoint GetCollections Private Endpoints Private Endpoint Collection[] - The list of private_endpoint_collection.
- display
Name string - PrivateEndpoint display name.
- filters
Get
Private Endpoints Filter[] - state string
- Lifecycle states for private endpoint.
- compartment_
id str - Identifier of the compartment in which private endpoint exists.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
endpoint_ Sequence[globallydistributeddatabase.collections Get Private Endpoints Private Endpoint Collection] - The list of private_endpoint_collection.
- display_
name str - PrivateEndpoint display name.
- filters
Sequence[globallydistributeddatabase.
Get Private Endpoints Filter] - state str
- Lifecycle states for private endpoint.
- compartment
Id String - Identifier of the compartment in which private endpoint exists.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Endpoint List<Property Map>Collections - The list of private_endpoint_collection.
- display
Name String - PrivateEndpoint display name.
- filters List<Property Map>
- state String
- Lifecycle states for private endpoint.
Supporting Types
GetPrivateEndpointsFilter
GetPrivateEndpointsPrivateEndpointCollection
- Items
This property is required. List<GetPrivate Endpoints Private Endpoint Collection Item>
- Items
This property is required. []GetPrivate Endpoints Private Endpoint Collection Item
- items
This property is required. List<GetPrivate Endpoints Private Endpoint Collection Item>
- items
This property is required. GetPrivate Endpoints Private Endpoint Collection Item[]
- items
This property is required. Sequence[globallydistributeddatabase.Get Private Endpoints Private Endpoint Collection Item]
- items
This property is required. List<Property Map>
GetPrivateEndpointsPrivateEndpointCollectionItem
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description
This property is required. string - PrivateEndpoint description.
- Display
Name This property is required. string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. Dictionary<string, string>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id
This property is required. string - The identifier of the Private Endpoint.
- Lifecycle
State Details This property is required. string - Detailed message for the lifecycle state.
- Nsg
Ids This property is required. List<string> - The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Ip This property is required. string - IP address of the Private Endpoint.
- Proxy
Compute Instance Id This property is required. string - The identifier of the proxy compute instance.
- Reinstate
Proxy Instance Trigger This property is required. int This property is required. List<string>- The OCIDs of sharded databases that consumes the given private endpoint.
- State
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
- Subnet
Id This property is required. string - Identifier of the subnet in which private endpoint exists.
This property is required. Dictionary<string, string>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created This property is required. string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- Time
Updated This property is required. string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- Vcn
Id This property is required. string - Identifier of the VCN in which subnet exists.
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description
This property is required. string - PrivateEndpoint description.
- Display
Name This property is required. string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. map[string]string- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id
This property is required. string - The identifier of the Private Endpoint.
- Lifecycle
State Details This property is required. string - Detailed message for the lifecycle state.
- Nsg
Ids This property is required. []string - The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Ip This property is required. string - IP address of the Private Endpoint.
- Proxy
Compute Instance Id This property is required. string - The identifier of the proxy compute instance.
- Reinstate
Proxy Instance Trigger This property is required. int This property is required. []string- The OCIDs of sharded databases that consumes the given private endpoint.
- State
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
- Subnet
Id This property is required. string - Identifier of the subnet in which private endpoint exists.
This property is required. map[string]string- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created This property is required. string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- Time
Updated This property is required. string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- Vcn
Id This property is required. string - Identifier of the VCN in which subnet exists.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. String - PrivateEndpoint description.
- display
Name This property is required. String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. Map<String,String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. String - The identifier of the Private Endpoint.
- lifecycle
State Details This property is required. String - Detailed message for the lifecycle state.
- nsg
Ids This property is required. List<String> - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip This property is required. String - IP address of the Private Endpoint.
- proxy
Compute Instance Id This property is required. String - The identifier of the proxy compute instance.
- reinstate
Proxy Instance Trigger This property is required. Integer This property is required. List<String>- The OCIDs of sharded databases that consumes the given private endpoint.
- state
This property is required. String - A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id This property is required. String - Identifier of the subnet in which private endpoint exists.
This property is required. Map<String,String>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. String - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated This property is required. String - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id This property is required. String - Identifier of the VCN in which subnet exists.
- compartment
Id This property is required. string - The ID of the compartment in which to list resources.
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. string - PrivateEndpoint description.
- display
Name This property is required. string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. {[key: string]: string}- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. string - The identifier of the Private Endpoint.
- lifecycle
State Details This property is required. string - Detailed message for the lifecycle state.
- nsg
Ids This property is required. string[] - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip This property is required. string - IP address of the Private Endpoint.
- proxy
Compute Instance Id This property is required. string - The identifier of the proxy compute instance.
- reinstate
Proxy Instance Trigger This property is required. number This property is required. string[]- The OCIDs of sharded databases that consumes the given private endpoint.
- state
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id This property is required. string - Identifier of the subnet in which private endpoint exists.
This property is required. {[key: string]: string}- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated This property is required. string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id This property is required. string - Identifier of the VCN in which subnet exists.
- compartment_
id This property is required. str - The ID of the compartment in which to list resources.
This property is required. Mapping[str, str]- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. str - PrivateEndpoint description.
- display_
name This property is required. str - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. Mapping[str, str]- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. str - The identifier of the Private Endpoint.
- lifecycle_
state_ details This property is required. str - Detailed message for the lifecycle state.
- nsg_
ids This property is required. Sequence[str] - The OCIDs of the network security groups that the private endpoint belongs to.
- private_
ip This property is required. str - IP address of the Private Endpoint.
- proxy_
compute_ instance_ id This property is required. str - The identifier of the proxy compute instance.
- reinstate_
proxy_ instance_ trigger This property is required. int This property is required. Sequence[str]- The OCIDs of sharded databases that consumes the given private endpoint.
- state
This property is required. str - A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet_
id This property is required. str - Identifier of the subnet in which private endpoint exists.
This property is required. Mapping[str, str]- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created This property is required. str - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time_
updated This property is required. str - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn_
id This property is required. str - Identifier of the VCN in which subnet exists.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. String - PrivateEndpoint description.
- display
Name This property is required. String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
This property is required. Map<String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. String - The identifier of the Private Endpoint.
- lifecycle
State Details This property is required. String - Detailed message for the lifecycle state.
- nsg
Ids This property is required. List<String> - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip This property is required. String - IP address of the Private Endpoint.
- proxy
Compute Instance Id This property is required. String - The identifier of the proxy compute instance.
- reinstate
Proxy Instance Trigger This property is required. Number This property is required. List<String>- The OCIDs of sharded databases that consumes the given private endpoint.
- state
This property is required. String - A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id This property is required. String - Identifier of the subnet in which private endpoint exists.
This property is required. Map<String>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. String - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated This property is required. String - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id This property is required. String - Identifier of the VCN in which subnet exists.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.