Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.AiAnomalyDetection.getAiPrivateEndpoints
Explore with Pulumi AI
This data source provides the list of Ai Private Endpoints in Oracle Cloud Infrastructure Ai Anomaly Detection service.
Returns a list of all the AI private endpoints in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAiPrivateEndpoints = oci.AiAnomalyDetection.getAiPrivateEndpoints({
    compartmentId: compartmentId,
    displayName: aiPrivateEndpointDisplayName,
    id: aiPrivateEndpointId,
    state: aiPrivateEndpointState,
});
import pulumi
import pulumi_oci as oci
test_ai_private_endpoints = oci.AiAnomalyDetection.get_ai_private_endpoints(compartment_id=compartment_id,
    display_name=ai_private_endpoint_display_name,
    id=ai_private_endpoint_id,
    state=ai_private_endpoint_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/aianomalydetection"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aianomalydetection.GetAiPrivateEndpoints(ctx, &aianomalydetection.GetAiPrivateEndpointsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(aiPrivateEndpointDisplayName),
			Id:            pulumi.StringRef(aiPrivateEndpointId),
			State:         pulumi.StringRef(aiPrivateEndpointState),
		}, 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 testAiPrivateEndpoints = Oci.AiAnomalyDetection.GetAiPrivateEndpoints.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = aiPrivateEndpointDisplayName,
        Id = aiPrivateEndpointId,
        State = aiPrivateEndpointState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiAnomalyDetection.AiAnomalyDetectionFunctions;
import com.pulumi.oci.AiAnomalyDetection.inputs.GetAiPrivateEndpointsArgs;
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 testAiPrivateEndpoints = AiAnomalyDetectionFunctions.getAiPrivateEndpoints(GetAiPrivateEndpointsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(aiPrivateEndpointDisplayName)
            .id(aiPrivateEndpointId)
            .state(aiPrivateEndpointState)
            .build());
    }
}
variables:
  testAiPrivateEndpoints:
    fn::invoke:
      function: oci:AiAnomalyDetection:getAiPrivateEndpoints
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${aiPrivateEndpointDisplayName}
        id: ${aiPrivateEndpointId}
        state: ${aiPrivateEndpointState}
Using getAiPrivateEndpoints
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 getAiPrivateEndpoints(args: GetAiPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetAiPrivateEndpointsResult>
function getAiPrivateEndpointsOutput(args: GetAiPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetAiPrivateEndpointsResult>def get_ai_private_endpoints(compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[GetAiPrivateEndpointsFilter]] = None,
                             id: Optional[str] = None,
                             state: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAiPrivateEndpointsResult
def get_ai_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAiPrivateEndpointsFilterArgs]]]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAiPrivateEndpointsResult]func GetAiPrivateEndpoints(ctx *Context, args *GetAiPrivateEndpointsArgs, opts ...InvokeOption) (*GetAiPrivateEndpointsResult, error)
func GetAiPrivateEndpointsOutput(ctx *Context, args *GetAiPrivateEndpointsOutputArgs, opts ...InvokeOption) GetAiPrivateEndpointsResultOutput> Note: This function is named GetAiPrivateEndpoints in the Go SDK.
public static class GetAiPrivateEndpoints 
{
    public static Task<GetAiPrivateEndpointsResult> InvokeAsync(GetAiPrivateEndpointsArgs args, InvokeOptions? opts = null)
    public static Output<GetAiPrivateEndpointsResult> Invoke(GetAiPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAiPrivateEndpointsResult> getAiPrivateEndpoints(GetAiPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetAiPrivateEndpointsResult> getAiPrivateEndpoints(GetAiPrivateEndpointsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:AiAnomalyDetection/getAiPrivateEndpoints:getAiPrivateEndpoints
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetAi Private Endpoints Filter> 
- Id string
- unique AiPrivateEndpoint identifier
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetAi Private Endpoints Filter 
- Id string
- unique AiPrivateEndpoint identifier
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetAi Private Endpoints Filter> 
- id String
- unique AiPrivateEndpoint identifier
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartmentId string
- The ID of the compartment in which to list resources.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetAi Private Endpoints Filter[] 
- id string
- unique AiPrivateEndpoint identifier
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment_id str
- The ID of the compartment in which to list resources.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetAi Private Endpoints Filter] 
- id str
- unique AiPrivateEndpoint identifier
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- unique AiPrivateEndpoint identifier
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getAiPrivateEndpoints Result
The following output properties are available:
- AiPrivate List<GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection> 
- The list of ai_private_endpoint_collection.
- CompartmentId string
- Compartment Identifier.
- DisplayName string
- Private Reverse Connection Endpoint display name.
- Filters
List<GetAi Private Endpoints Filter> 
- Id string
- Unique identifier that is immutable.
- State string
- The current state of the private endpoint resource.
- AiPrivate []GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection 
- The list of ai_private_endpoint_collection.
- CompartmentId string
- Compartment Identifier.
- DisplayName string
- Private Reverse Connection Endpoint display name.
- Filters
[]GetAi Private Endpoints Filter 
- Id string
- Unique identifier that is immutable.
- State string
- The current state of the private endpoint resource.
- aiPrivate List<GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection> 
- The list of ai_private_endpoint_collection.
- compartmentId String
- Compartment Identifier.
- displayName String
- Private Reverse Connection Endpoint display name.
- filters
List<GetAi Private Endpoints Filter> 
- id String
- Unique identifier that is immutable.
- state String
- The current state of the private endpoint resource.
- aiPrivate GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection[] 
- The list of ai_private_endpoint_collection.
- compartmentId string
- Compartment Identifier.
- displayName string
- Private Reverse Connection Endpoint display name.
- filters
GetAi Private Endpoints Filter[] 
- id string
- Unique identifier that is immutable.
- state string
- The current state of the private endpoint resource.
- ai_private_ Sequence[Getendpoint_ collections Ai Private Endpoints Ai Private Endpoint Collection] 
- The list of ai_private_endpoint_collection.
- compartment_id str
- Compartment Identifier.
- display_name str
- Private Reverse Connection Endpoint display name.
- filters
Sequence[GetAi Private Endpoints Filter] 
- id str
- Unique identifier that is immutable.
- state str
- The current state of the private endpoint resource.
- aiPrivate List<Property Map>Endpoint Collections 
- The list of ai_private_endpoint_collection.
- compartmentId String
- Compartment Identifier.
- displayName String
- Private Reverse Connection Endpoint display name.
- filters List<Property Map>
- id String
- Unique identifier that is immutable.
- state String
- The current state of the private endpoint resource.
Supporting Types
GetAiPrivateEndpointsAiPrivateEndpointCollection       
GetAiPrivateEndpointsAiPrivateEndpointCollectionItem        
- AttachedData List<string>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- CompartmentId 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"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- DnsZones List<string>
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- 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 AiPrivateEndpoint identifier
- LifecycleDetails 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.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- SubnetId string
- Subnet Identifier
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the private endpoint was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
- AttachedData []stringAssets 
- The list of dataAssets using the private reverse connection endpoint.
- CompartmentId 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"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- DnsZones []string
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- 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 AiPrivateEndpoint identifier
- LifecycleDetails 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.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- SubnetId string
- Subnet Identifier
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the private endpoint was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
- attachedData List<String>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId 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"}
- displayName String
- A filter to return only resources that match the entire display name given.
- dnsZones List<String>
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- 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 AiPrivateEndpoint identifier
- lifecycleDetails 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.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- subnetId String
- Subnet Identifier
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
- attachedData string[]Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId 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"}
- displayName string
- A filter to return only resources that match the entire display name given.
- dnsZones string[]
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- {[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 AiPrivateEndpoint identifier
- lifecycleDetails 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.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- subnetId string
- Subnet Identifier
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
- attached_data_ Sequence[str]assets 
- The list of dataAssets using the private reverse connection endpoint.
- 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"}
- display_name str
- A filter to return only resources that match the entire display name given.
- dns_zones Sequence[str]
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- 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 AiPrivateEndpoint identifier
- 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.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- subnet_id str
- Subnet Identifier
- 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 private endpoint was created. An RFC3339 formatted datetime string.
- time_updated str
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
- attachedData List<String>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId 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"}
- displayName String
- A filter to return only resources that match the entire display name given.
- dnsZones List<String>
- List of DNS zones to be used by the data assets. Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com
- 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 AiPrivateEndpoint identifier
- lifecycleDetails 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.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- subnetId String
- Subnet Identifier
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the private endpoint was updated. An RFC3339 formatted datetime string.
GetAiPrivateEndpointsFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.