Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Ekms Private Endpoints Filter>
- Compartment
Id string - The OCID of the compartment.
- Filters
[]Get
Ekms Private Endpoints Filter
- compartment
Id String - The OCID of the compartment.
- filters
List<Get
Ekms Private Endpoints Filter>
- compartment
Id string - The OCID of the compartment.
- filters
Get
Ekms Private Endpoints Filter[]
- compartment_
id str - The OCID of the compartment.
- filters
Sequence[kms.
Get Ekms Private Endpoints Filter]
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
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 string - CABundle to validate TLS certificate of the external key manager system in PEM format
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Mutable name of the EKMS private endpoint
- External
Key stringManager Ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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
- Unique identifier that is immutable
- Lifecycle
Details 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 int
- The port of the external key manager system
- Private
Endpoint stringIp - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State string
- The current state of the EKMS private endpoint resource.
- Subnet
Id string - Subnet Identifier
- Time
Created string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- Ca
Bundle string - CABundle to validate TLS certificate of the external key manager system in PEM format
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Mutable name of the EKMS private endpoint
- External
Key stringManager Ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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
- Unique identifier that is immutable
- Lifecycle
Details 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 int
- The port of the external key manager system
- Private
Endpoint stringIp - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State string
- The current state of the EKMS private endpoint resource.
- Subnet
Id string - Subnet Identifier
- Time
Created string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle String - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Mutable name of the EKMS private endpoint
- external
Key StringManager Ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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
- Unique identifier that is immutable
- lifecycle
Details 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 Integer
- The port of the external key manager system
- private
Endpoint StringIp - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state String
- The current state of the EKMS private endpoint resource.
- subnet
Id String - Subnet Identifier
- time
Created String - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle string - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - Mutable name of the EKMS private endpoint
- external
Key stringManager Ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- {[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
- Unique identifier that is immutable
- lifecycle
Details 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 number
- The port of the external key manager system
- private
Endpoint stringIp - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state string
- The current state of the EKMS private endpoint resource.
- subnet
Id string - Subnet Identifier
- time
Created string - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca_
bundle str - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - Mutable name of the EKMS private endpoint
- external_
key_ strmanager_ ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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
- Unique identifier that is immutable
- lifecycle_
details 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 int
- The port of the external key manager system
- private_
endpoint_ strip - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state str
- The current state of the EKMS private endpoint resource.
- subnet_
id str - Subnet Identifier
- time_
created str - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca
Bundle String - CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Mutable name of the EKMS private endpoint
- external
Key StringManager Ip - Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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
- Unique identifier that is immutable
- lifecycle
Details 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 Number
- The port of the external key manager system
- private
Endpoint StringIp - The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state String
- The current state of the EKMS private endpoint resource.
- subnet
Id String - Subnet Identifier
- time
Created String - The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated 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.