Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Kms.getEkmsPrivateEndpoints
Explore with Pulumi AI
This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service.
Returns a list of all the EKMS private endpoints in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEkmsPrivateEndpoints = oci.Kms.getEkmsPrivateEndpoints({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kms.GetEkmsPrivateEndpoints(ctx, &kms.GetEkmsPrivateEndpointsArgs{
CompartmentId: compartmentId,
}, 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 testEkmsPrivateEndpoints = Oci.Kms.GetEkmsPrivateEndpoints.Invoke(new()
{
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Kms.KmsFunctions;
import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs;
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 testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testEkmsPrivateEndpoints:
fn::invoke:
function: oci:Kms:getEkmsPrivateEndpoints
arguments:
compartmentId: ${compartmentId}
Using getEkmsPrivateEndpoints
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 getEkmsPrivateEndpoints(args: GetEkmsPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetEkmsPrivateEndpointsResult>
function getEkmsPrivateEndpointsOutput(args: GetEkmsPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetEkmsPrivateEndpointsResult>
def get_ekms_private_endpoints(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_kms.GetEkmsPrivateEndpointsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetEkmsPrivateEndpointsResult
def get_ekms_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_kms.GetEkmsPrivateEndpointsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEkmsPrivateEndpointsResult]
func GetEkmsPrivateEndpoints(ctx *Context, args *GetEkmsPrivateEndpointsArgs, opts ...InvokeOption) (*GetEkmsPrivateEndpointsResult, error)
func GetEkmsPrivateEndpointsOutput(ctx *Context, args *GetEkmsPrivateEndpointsOutputArgs, opts ...InvokeOption) GetEkmsPrivateEndpointsResultOutput
> Note: This function is named GetEkmsPrivateEndpoints
in the Go SDK.
public static class GetEkmsPrivateEndpoints
{
public static Task<GetEkmsPrivateEndpointsResult> InvokeAsync(GetEkmsPrivateEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetEkmsPrivateEndpointsResult> Invoke(GetEkmsPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the compartment.
- Filters
Changes to this property will trigger replacement.
Ekms Private Endpoints Filter>
- Compartment
Id This property is required. string - The OCID of the compartment.
- Filters
Changes to this property will trigger replacement.
Ekms Private Endpoints Filter
- compartment
Id This property is required. String - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
Ekms Private Endpoints Filter>
- compartment
Id This property is required. string - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
Ekms Private Endpoints Filter[]
- compartment_
id This property is required. str - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
Get Ekms Private Endpoints Filter]
- compartment
Id This property is required. String - The OCID of the compartment.
- filters
Changes to this property will trigger replacement.
getEkmsPrivateEndpoints Result
The following output properties are available:
- Compartment
Id string - Identifier of the compartment this EKMS private endpoint belongs to
- Ekms
Private List<GetEndpoints Ekms Private Endpoints Ekms Private Endpoint> - The list of ekms_private_endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Ekms Private Endpoints Filter>
- Compartment
Id string - Identifier of the compartment this EKMS private endpoint belongs to
- Ekms
Private []GetEndpoints Ekms Private Endpoints Ekms Private Endpoint - The list of ekms_private_endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Ekms Private Endpoints Filter
- compartment
Id String - Identifier of the compartment this EKMS private endpoint belongs to
- ekms
Private List<GetEndpoints Ekms Private Endpoints Ekms Private Endpoint> - The list of ekms_private_endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Ekms Private Endpoints Filter>
- compartment
Id string - Identifier of the compartment this EKMS private endpoint belongs to
- ekms
Private GetEndpoints Ekms Private Endpoints Ekms Private Endpoint[] - The list of ekms_private_endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Ekms Private Endpoints Filter[]
- compartment_
id str - Identifier of the compartment this EKMS private endpoint belongs to
- ekms_
private_ Sequence[kms.endpoints Get Ekms Private Endpoints Ekms Private Endpoint] - The list of ekms_private_endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[kms.
Get Ekms Private Endpoints Filter]
- compartment
Id String - Identifier of the compartment this EKMS private endpoint belongs to
- ekms
Private List<Property Map>Endpoints - The list of ekms_private_endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetEkmsPrivateEndpointsEkmsPrivateEndpoint
- Ca
Bundle This property is required. string - CABundle to validate TLS certificate of the external key manager system in PEM format
- Compartment
Id This property is required. string - The OCID of the compartment.
This property is required. Dictionary<string, string>- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name This property is required. string - Mutable name of the EKMS private endpoint
- External
Key Manager Ip This property is required. string - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- Lifecycle
Details This property is required. string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- Port
This property is required. int - The port of the external key manager system
- Private
Endpoint Ip This property is required. string - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State
This property is required. string - The current state of the EKMS private endpoint resource.
- Subnet
Id This property is required. string - Subnet Identifier
- Time
Created This property is required. string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated This property is required. string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- Ca
Bundle This property is required. string - CABundle to validate TLS certificate of the external key manager system in PEM format
- Compartment
Id This property is required. string - The OCID of the compartment.
This property is required. map[string]string- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name This property is required. string - Mutable name of the EKMS private endpoint
- External
Key Manager Ip This property is required. string - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- Lifecycle
Details This property is required. string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- Port
This property is required. int - The port of the external key manager system
- Private
Endpoint Ip This property is required. string - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State
This property is required. string - The current state of the EKMS private endpoint resource.
- Subnet
Id This property is required. string - Subnet Identifier
- Time
Created This property is required. string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated This property is required. string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle This property is required. String - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id This property is required. String - The OCID of the compartment.
This property is required. Map<String,String>- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name This property is required. String - Mutable name of the EKMS private endpoint
- external
Key Manager Ip This property is required. String - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- lifecycle
Details This property is required. String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- port
This property is required. Integer - The port of the external key manager system
- private
Endpoint Ip This property is required. String - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state
This property is required. String - The current state of the EKMS private endpoint resource.
- subnet
Id This property is required. String - Subnet Identifier
- time
Created This property is required. String - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated This property is required. String - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle This property is required. string - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id This property is required. string - The OCID of the compartment.
This property is required. {[key: string]: string}- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name This property is required. string - Mutable name of the EKMS private endpoint
- external
Key Manager Ip This property is required. string - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- lifecycle
Details This property is required. string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- port
This property is required. number - The port of the external key manager system
- private
Endpoint Ip This property is required. string - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state
This property is required. string - The current state of the EKMS private endpoint resource.
- subnet
Id This property is required. string - Subnet Identifier
- time
Created This property is required. string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated This property is required. string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca_
bundle This property is required. str - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment_
id This property is required. str - The OCID of the compartment.
This property is required. Mapping[str, str]- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display_
name This property is required. str - Mutable name of the EKMS private endpoint
- external_
key_ manager_ ip This property is required. str - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- lifecycle_
details This property is required. str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- port
This property is required. int - The port of the external key manager system
- private_
endpoint_ ip This property is required. str - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state
This property is required. str - The current state of the EKMS private endpoint resource.
- subnet_
id This property is required. str - Subnet Identifier
- time_
created This property is required. str - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time_
updated This property is required. str - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle This property is required. String - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id This property is required. String - The OCID of the compartment.
This property is required. Map<String>- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name This property is required. String - Mutable name of the EKMS private endpoint
- external
Key Manager Ip This property is required. String - Private IP of the external key manager system to connect to from the EKMS private endpoint
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 - Unique identifier that is immutable
- lifecycle
Details This property is required. String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
- port
This property is required. Number - The port of the external key manager system
- private
Endpoint Ip This property is required. String - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state
This property is required. String - The current state of the EKMS private endpoint resource.
- subnet
Id This property is required. String - Subnet Identifier
- time
Created This property is required. String - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated This property is required. String - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
GetEkmsPrivateEndpointsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.