Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.AiAnomalyDetection.getAiPrivateEndpoint
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAiPrivateEndpoint = oci.AiAnomalyDetection.getAiPrivateEndpoint({
    aiPrivateEndpointId: testAiPrivateEndpointOciAiAnomalyDetectionAiPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_ai_private_endpoint = oci.AiAnomalyDetection.get_ai_private_endpoint(ai_private_endpoint_id=test_ai_private_endpoint_oci_ai_anomaly_detection_ai_private_endpoint["id"])
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.GetAiPrivateEndpoint(ctx, &aianomalydetection.GetAiPrivateEndpointArgs{
			AiPrivateEndpointId: testAiPrivateEndpointOciAiAnomalyDetectionAiPrivateEndpoint.Id,
		}, 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 testAiPrivateEndpoint = Oci.AiAnomalyDetection.GetAiPrivateEndpoint.Invoke(new()
    {
        AiPrivateEndpointId = testAiPrivateEndpointOciAiAnomalyDetectionAiPrivateEndpoint.Id,
    });
});
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(testAiPrivateEndpointOciAiAnomalyDetectionAiPrivateEndpoint.id())
            .build());
    }
}
variables:
  testAiPrivateEndpoint:
    fn::invoke:
      function: oci:AiAnomalyDetection:getAiPrivateEndpoint
      arguments:
        aiPrivateEndpointId: ${testAiPrivateEndpointOciAiAnomalyDetectionAiPrivateEndpoint.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 LookupAiPrivateEndpoint(ctx *Context, args *LookupAiPrivateEndpointArgs, opts ...InvokeOption) (*LookupAiPrivateEndpointResult, error)
func LookupAiPrivateEndpointOutput(ctx *Context, args *LookupAiPrivateEndpointOutputArgs, opts ...InvokeOption) LookupAiPrivateEndpointResultOutput> Note: This function is named LookupAiPrivateEndpoint 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)
public static Output<GetAiPrivateEndpointResult> getAiPrivateEndpoint(GetAiPrivateEndpointArgs args, InvokeOptions options)
fn::invoke:
  function: oci:AiAnomalyDetection/getAiPrivateEndpoint:getAiPrivateEndpoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AiPrivate stringEndpoint Id 
- Unique private reverse connection identifier.
- AiPrivate stringEndpoint Id 
- Unique private reverse connection identifier.
- aiPrivate StringEndpoint Id 
- Unique private reverse connection identifier.
- aiPrivate stringEndpoint Id 
- Unique private reverse connection identifier.
- ai_private_ strendpoint_ id 
- Unique private reverse connection identifier.
- aiPrivate StringEndpoint Id 
- Unique private reverse connection identifier.
getAiPrivateEndpoint Result
The following output properties are available:
- AiPrivate stringEndpoint Id 
- AttachedData List<string>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- CompartmentId string
- Compartment Identifier.
- 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
- 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
- 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.
- 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
- 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.
- AiPrivate stringEndpoint Id 
- AttachedData []stringAssets 
- The list of dataAssets using the private reverse connection endpoint.
- CompartmentId string
- Compartment Identifier.
- 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
- 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
- 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.
- 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
- 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.
- aiPrivate StringEndpoint Id 
- attachedData List<String>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId String
- Compartment Identifier.
- 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
- 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
- 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.
- 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
- 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.
- aiPrivate stringEndpoint Id 
- attachedData string[]Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId string
- Compartment Identifier.
- {[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
- 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
- {[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.
- 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
- {[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.
- ai_private_ strendpoint_ id 
- attached_data_ Sequence[str]assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartment_id str
- Compartment Identifier.
- 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
- 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
- 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.
- state str
- The current state of the private endpoint resource.
- 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.
- aiPrivate StringEndpoint Id 
- attachedData List<String>Assets 
- The list of dataAssets using the private reverse connection endpoint.
- compartmentId String
- Compartment Identifier.
- Map<String>
- 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
- 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.
- 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
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.