oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.AiAnomalyDetection.getAiPrivateEndpoints

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAiPrivateEndpoints = Oci.AiAnomalyDetection.GetAiPrivateEndpoints.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        DisplayName = @var.Ai_private_endpoint_display_name,
        Id = @var.Ai_private_endpoint_id,
        State = @var.Ai_private_endpoint_state,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
			DisplayName:   pulumi.StringRef(_var.Ai_private_endpoint_display_name),
			Id:            pulumi.StringRef(_var.Ai_private_endpoint_id),
			State:         pulumi.StringRef(_var.Ai_private_endpoint_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(var_.compartment_id())
            .displayName(var_.ai_private_endpoint_display_name())
            .id(var_.ai_private_endpoint_id())
            .state(var_.ai_private_endpoint_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ai_private_endpoints = oci.AiAnomalyDetection.get_ai_private_endpoints(compartment_id=var["compartment_id"],
    display_name=var["ai_private_endpoint_display_name"],
    id=var["ai_private_endpoint_id"],
    state=var["ai_private_endpoint_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAiPrivateEndpoints = oci.AiAnomalyDetection.getAiPrivateEndpoints({
    compartmentId: _var.compartment_id,
    displayName: _var.ai_private_endpoint_display_name,
    id: _var.ai_private_endpoint_id,
    state: _var.ai_private_endpoint_state,
});
variables:
  testAiPrivateEndpoints:
    fn::invoke:
      Function: oci:AiAnomalyDetection:getAiPrivateEndpoints
      Arguments:
        compartmentId: ${var.compartment_id}
        displayName: ${var.ai_private_endpoint_display_name}
        id: ${var.ai_private_endpoint_id}
        state: ${var.ai_private_endpoint_state}

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[_aianomalydetection.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[_aianomalydetection.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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:AiAnomalyDetection/getAiPrivateEndpoints:getAiPrivateEndpoints
  arguments:
    # arguments dictionary

The 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<GetAiPrivateEndpointsFilter>
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 []GetAiPrivateEndpointsFilter
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<GetAiPrivateEndpointsFilter>
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 GetAiPrivateEndpointsFilter[]
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 GetAiPrivateEndpointsFilter]
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:

AiPrivateEndpointCollections List<GetAiPrivateEndpointsAiPrivateEndpointCollection>

The list of ai_private_endpoint_collection.

CompartmentId string

Compartment Identifier.

DisplayName string

Private Reverse Connection Endpoint display name.

Filters List<GetAiPrivateEndpointsFilter>
Id string

Unique identifier that is immutable.

State string

The current state of the private endpoint resource.

AiPrivateEndpointCollections []GetAiPrivateEndpointsAiPrivateEndpointCollection

The list of ai_private_endpoint_collection.

CompartmentId string

Compartment Identifier.

DisplayName string

Private Reverse Connection Endpoint display name.

Filters []GetAiPrivateEndpointsFilter
Id string

Unique identifier that is immutable.

State string

The current state of the private endpoint resource.

aiPrivateEndpointCollections List<GetAiPrivateEndpointsAiPrivateEndpointCollection>

The list of ai_private_endpoint_collection.

compartmentId String

Compartment Identifier.

displayName String

Private Reverse Connection Endpoint display name.

filters List<GetAiPrivateEndpointsFilter>
id String

Unique identifier that is immutable.

state String

The current state of the private endpoint resource.

aiPrivateEndpointCollections GetAiPrivateEndpointsAiPrivateEndpointCollection[]

The list of ai_private_endpoint_collection.

compartmentId string

Compartment Identifier.

displayName string

Private Reverse Connection Endpoint display name.

filters GetAiPrivateEndpointsFilter[]
id string

Unique identifier that is immutable.

state string

The current state of the private endpoint resource.

ai_private_endpoint_collections GetAiPrivateEndpointsAiPrivateEndpointCollection]

The list of ai_private_endpoint_collection.

compartment_id str

Compartment Identifier.

display_name str

Private Reverse Connection Endpoint display name.

filters GetAiPrivateEndpointsFilter]
id str

Unique identifier that is immutable.

state str

The current state of the private endpoint resource.

aiPrivateEndpointCollections List<Property Map>

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

AttachedDataAssets List<string>

The list of dataAssets using the private reverse connection endpoint.

CompartmentId string

The ID of the compartment in which to list resources.

DefinedTags Dictionary<string, object>

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

FreeformTags Dictionary<string, object>

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

SystemTags Dictionary<string, object>

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.

AttachedDataAssets []string

The list of dataAssets using the private reverse connection endpoint.

CompartmentId string

The ID of the compartment in which to list resources.

DefinedTags map[string]interface{}

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

FreeformTags map[string]interface{}

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

SystemTags map[string]interface{}

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.

attachedDataAssets List<String>

The list of dataAssets using the private reverse connection endpoint.

compartmentId String

The ID of the compartment in which to list resources.

definedTags Map<String,Object>

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

freeformTags Map<String,Object>

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

systemTags Map<String,Object>

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.

attachedDataAssets string[]

The list of dataAssets using the private reverse connection endpoint.

compartmentId string

The ID of the compartment in which to list resources.

definedTags {[key: string]: any}

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

freeformTags {[key: string]: any}

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

systemTags {[key: string]: any}

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_assets Sequence[str]

The list of dataAssets using the private reverse connection endpoint.

compartment_id str

The ID of the compartment in which to list resources.

defined_tags Mapping[str, Any]

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

freeform_tags Mapping[str, Any]

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

system_tags Mapping[str, Any]

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.

attachedDataAssets List<String>

The list of dataAssets using the private reverse connection endpoint.

compartmentId String

The ID of the compartment in which to list resources.

definedTags Map<Any>

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

freeformTags Map<Any>

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

systemTags Map<Any>

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

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.