Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.GloballyDistributedDatabase.getPrivateEndpoint
Explore with Pulumi AI
This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.
Get the PrivateEndpoint resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivateEndpoint = oci.GloballyDistributedDatabase.getPrivateEndpoint({
privateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_private_endpoint["id"])
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.GetPrivateEndpoint(ctx, &globallydistributeddatabase.GetPrivateEndpointArgs{
PrivateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.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 testPrivateEndpoint = Oci.GloballyDistributedDatabase.GetPrivateEndpoint.Invoke(new()
{
PrivateEndpointId = testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.Id,
});
});
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.GetPrivateEndpointArgs;
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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
.privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())
.build());
}
}
variables:
testPrivateEndpoint:
fn::invoke:
Function: oci:GloballyDistributedDatabase:getPrivateEndpoint
Arguments:
privateEndpointId: ${testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id}
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(private_endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointResult
def get_private_endpoint_output(private_endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointResult]
func GetPrivateEndpoint(ctx *Context, args *GetPrivateEndpointArgs, opts ...InvokeOption) (*GetPrivateEndpointResult, error)
func GetPrivateEndpointOutput(ctx *Context, args *GetPrivateEndpointOutputArgs, opts ...InvokeOption) GetPrivateEndpointResultOutput
> Note: This function is named GetPrivateEndpoint
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint
arguments:
# arguments dictionary
The following arguments are supported:
- Private
Endpoint stringId - Oracle Sharded Database PrivateEndpoint identifier
- Private
Endpoint stringId - Oracle Sharded Database PrivateEndpoint identifier
- private
Endpoint StringId - Oracle Sharded Database PrivateEndpoint identifier
- private
Endpoint stringId - Oracle Sharded Database PrivateEndpoint identifier
- private_
endpoint_ strid - Oracle Sharded Database PrivateEndpoint identifier
- private
Endpoint StringId - Oracle Sharded Database PrivateEndpoint identifier
getPrivateEndpoint Result
The following output properties are available:
- Compartment
Id string - Identifier of the compartment in which private endpoint exists.
- 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 - PrivateEndpoint display name.
- 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
Endpoint stringId - Private
Ip string - IP address of the Private Endpoint.
- List<string>
- The OCIDs of sharded databases that consumes the given private endpoint.
- State string
- Lifecycle states for private endpoint.
- 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 - Identifier of the compartment in which private endpoint exists.
- 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 - PrivateEndpoint display name.
- 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
Endpoint stringId - Private
Ip string - IP address of the Private Endpoint.
- []string
- The OCIDs of sharded databases that consumes the given private endpoint.
- State string
- Lifecycle states for private endpoint.
- 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 - Identifier of the compartment in which private endpoint exists.
- 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 - PrivateEndpoint display name.
- 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
Endpoint StringId - private
Ip String - IP address of the Private Endpoint.
- List<String>
- The OCIDs of sharded databases that consumes the given private endpoint.
- state String
- Lifecycle states for private endpoint.
- 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 - Identifier of the compartment in which private endpoint exists.
- {[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 - PrivateEndpoint display name.
- {[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
Endpoint stringId - private
Ip string - IP address of the Private Endpoint.
- string[]
- The OCIDs of sharded databases that consumes the given private endpoint.
- state string
- Lifecycle states for private endpoint.
- 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 - Identifier of the compartment in which private endpoint exists.
- 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 - PrivateEndpoint display name.
- 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_
endpoint_ strid - private_
ip str - IP address of the Private Endpoint.
- Sequence[str]
- The OCIDs of sharded databases that consumes the given private endpoint.
- state str
- Lifecycle states for private endpoint.
- 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 - Identifier of the compartment in which private endpoint exists.
- 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 - PrivateEndpoint display name.
- 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
Endpoint StringId - private
Ip String - IP address of the Private Endpoint.
- List<String>
- The OCIDs of sharded databases that consumes the given private endpoint.
- state String
- Lifecycle states for private endpoint.
- 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.