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

oci.AiAnomalyDetection.getAiPrivateEndpoint

This data source provides details about a specific Ai Private Endpoint resource in Oracle Cloud Infrastructure Ai Anomaly Detection service.

Gets a specific private reverse connection by identifier.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testAiPrivateEndpoint = Oci.AiAnomalyDetection.GetAiPrivateEndpoint.Invoke(new()
    {
        AiPrivateEndpointId = oci_ai_anomaly_detection_ai_private_endpoint.Test_ai_private_endpoint.Id,
    });

});
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.GetAiPrivateEndpoint(ctx, &aianomalydetection.GetAiPrivateEndpointArgs{
			AiPrivateEndpointId: oci_ai_anomaly_detection_ai_private_endpoint.Test_ai_private_endpoint.Id,
		}, 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.GetAiPrivateEndpointArgs;
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 testAiPrivateEndpoint = AiAnomalyDetectionFunctions.getAiPrivateEndpoint(GetAiPrivateEndpointArgs.builder()
            .aiPrivateEndpointId(oci_ai_anomaly_detection_ai_private_endpoint.test_ai_private_endpoint().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ai_private_endpoint = oci.AiAnomalyDetection.get_ai_private_endpoint(ai_private_endpoint_id=oci_ai_anomaly_detection_ai_private_endpoint["test_ai_private_endpoint"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAiPrivateEndpoint = oci.AiAnomalyDetection.getAiPrivateEndpoint({
    aiPrivateEndpointId: oci_ai_anomaly_detection_ai_private_endpoint.test_ai_private_endpoint.id,
});
variables:
  testAiPrivateEndpoint:
    fn::invoke:
      Function: oci:AiAnomalyDetection:getAiPrivateEndpoint
      Arguments:
        aiPrivateEndpointId: ${oci_ai_anomaly_detection_ai_private_endpoint.test_ai_private_endpoint.id}

Using getAiPrivateEndpoint

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 getAiPrivateEndpoint(args: GetAiPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetAiPrivateEndpointResult>
function getAiPrivateEndpointOutput(args: GetAiPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetAiPrivateEndpointResult>
def get_ai_private_endpoint(ai_private_endpoint_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAiPrivateEndpointResult
def get_ai_private_endpoint_output(ai_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAiPrivateEndpointResult]
func GetAiPrivateEndpoint(ctx *Context, args *GetAiPrivateEndpointArgs, opts ...InvokeOption) (*GetAiPrivateEndpointResult, error)
func GetAiPrivateEndpointOutput(ctx *Context, args *GetAiPrivateEndpointOutputArgs, opts ...InvokeOption) GetAiPrivateEndpointResultOutput

> Note: This function is named GetAiPrivateEndpoint in the Go SDK.

public static class GetAiPrivateEndpoint 
{
    public static Task<GetAiPrivateEndpointResult> InvokeAsync(GetAiPrivateEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetAiPrivateEndpointResult> Invoke(GetAiPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAiPrivateEndpointResult> getAiPrivateEndpoint(GetAiPrivateEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:AiAnomalyDetection/getAiPrivateEndpoint:getAiPrivateEndpoint
  arguments:
    # arguments dictionary

The following arguments are supported:

AiPrivateEndpointId string

Unique private reverse connection identifier.

AiPrivateEndpointId string

Unique private reverse connection identifier.

aiPrivateEndpointId String

Unique private reverse connection identifier.

aiPrivateEndpointId string

Unique private reverse connection identifier.

ai_private_endpoint_id str

Unique private reverse connection identifier.

aiPrivateEndpointId String

Unique private reverse connection identifier.

getAiPrivateEndpoint Result

The following output properties are available:

AiPrivateEndpointId string
AttachedDataAssets List<string>

The list of dataAssets using the private reverse connection endpoint.

CompartmentId string

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 identifier that is immutable.

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

The current state of the private endpoint resource.

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.

AiPrivateEndpointId string
AttachedDataAssets []string

The list of dataAssets using the private reverse connection endpoint.

CompartmentId string

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 identifier that is immutable.

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

The current state of the private endpoint resource.

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.

aiPrivateEndpointId String
attachedDataAssets List<String>

The list of dataAssets using the private reverse connection endpoint.

compartmentId String

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 identifier that is immutable.

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

The current state of the private endpoint resource.

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.

aiPrivateEndpointId string
attachedDataAssets string[]

The list of dataAssets using the private reverse connection endpoint.

compartmentId string

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 identifier that is immutable.

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

The current state of the private endpoint resource.

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.

ai_private_endpoint_id str
attached_data_assets Sequence[str]

The list of dataAssets using the private reverse connection endpoint.

compartment_id str

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 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.

state str

The current state of the private endpoint resource.

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.

aiPrivateEndpointId String
attachedDataAssets List<String>

The list of dataAssets using the private reverse connection endpoint.

compartmentId String

Compartment Identifier.

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

Private Reverse Connection Endpoint display name.

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 identifier that is immutable.

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

The current state of the private endpoint resource.

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.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.