Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id 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
List<Get
Private Endpoints Filter> - State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Compartment
Id 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
[]Get
Private Endpoints Filter - State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id 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
List<Get
Private Endpoints Filter> - state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id 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
Get
Private Endpoints Filter[] - state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment_
id 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
Sequence[globallydistributeddatabase.
Get Private Endpoints Filter] - state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id 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 List<Property Map>
- 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
GetPrivateEndpointsPrivateEndpointCollectionItem
- Compartment
Id string - The ID 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. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- PrivateEndpoint description.
- Display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- 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 string
- The identifier of the Private Endpoint.
- Lifecycle
State stringDetails - Detailed message for the lifecycle state.
- Nsg
Ids List<string> - The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Ip string - IP address of the Private Endpoint.
- Proxy
Compute stringInstance Id - The identifier of the proxy compute instance.
- Reinstate
Proxy intInstance Trigger - List<string>
- The OCIDs of sharded databases that consumes the given private endpoint.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Subnet
Id string - Identifier of the subnet in which private endpoint exists.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- Vcn
Id string - Identifier of the VCN in which subnet exists.
- Compartment
Id string - The ID 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. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- PrivateEndpoint description.
- Display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- 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 string
- The identifier of the Private Endpoint.
- Lifecycle
State stringDetails - Detailed message for the lifecycle state.
- Nsg
Ids []string - The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Ip string - IP address of the Private Endpoint.
- Proxy
Compute stringInstance Id - The identifier of the proxy compute instance.
- Reinstate
Proxy intInstance Trigger - []string
- The OCIDs of sharded databases that consumes the given private endpoint.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Subnet
Id string - Identifier of the subnet in which private endpoint exists.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- Vcn
Id string - Identifier of the VCN in which subnet exists.
- compartment
Id String - The ID 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. Example:
{"foo-namespace.bar-key": "value"}
- description String
- PrivateEndpoint description.
- display
Name String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- 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 String
- The identifier of the Private Endpoint.
- lifecycle
State StringDetails - Detailed message for the lifecycle state.
- nsg
Ids List<String> - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip String - IP address of the Private Endpoint.
- proxy
Compute StringInstance Id - The identifier of the proxy compute instance.
- reinstate
Proxy IntegerInstance Trigger - List<String>
- The OCIDs of sharded databases that consumes the given private endpoint.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id String - Identifier of the subnet in which private endpoint exists.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated String - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id String - Identifier of the VCN in which subnet exists.
- compartment
Id string - The ID 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. Example:
{"foo-namespace.bar-key": "value"}
- description string
- PrivateEndpoint description.
- display
Name string - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- {[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 string
- The identifier of the Private Endpoint.
- lifecycle
State stringDetails - Detailed message for the lifecycle state.
- nsg
Ids string[] - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip string - IP address of the Private Endpoint.
- proxy
Compute stringInstance Id - The identifier of the proxy compute instance.
- reinstate
Proxy numberInstance Trigger - string[]
- The OCIDs of sharded databases that consumes the given private endpoint.
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id string - Identifier of the subnet in which private endpoint exists.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated string - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id string - Identifier of the VCN in which subnet exists.
- compartment_
id str - The ID 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. Example:
{"foo-namespace.bar-key": "value"}
- description str
- PrivateEndpoint description.
- display_
name str - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- 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 str
- The identifier of the Private Endpoint.
- lifecycle_
state_ strdetails - Detailed message for the lifecycle state.
- nsg_
ids Sequence[str] - The OCIDs of the network security groups that the private endpoint belongs to.
- private_
ip str - IP address of the Private Endpoint.
- proxy_
compute_ strinstance_ id - The identifier of the proxy compute instance.
- reinstate_
proxy_ intinstance_ trigger - Sequence[str]
- The OCIDs of sharded databases that consumes the given private endpoint.
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet_
id str - Identifier of the subnet in which private endpoint exists.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time_
updated str - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn_
id str - Identifier of the VCN in which subnet exists.
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- PrivateEndpoint description.
- display
Name String - A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
- 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 String
- The identifier of the Private Endpoint.
- lifecycle
State StringDetails - Detailed message for the lifecycle state.
- nsg
Ids List<String> - The OCIDs of the network security groups that the private endpoint belongs to.
- private
Ip String - IP address of the Private Endpoint.
- proxy
Compute StringInstance Id - The identifier of the proxy compute instance.
- reinstate
Proxy NumberInstance Trigger - List<String>
- The OCIDs of sharded databases that consumes the given private endpoint.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- subnet
Id String - Identifier of the subnet in which private endpoint exists.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
- time
Updated String - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
- vcn
Id 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.