Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 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 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:
- Ai
Private stringEndpoint Id - Unique private reverse connection identifier.
- Ai
Private stringEndpoint Id - Unique private reverse connection identifier.
- ai
Private StringEndpoint Id - Unique private reverse connection identifier.
- ai
Private stringEndpoint Id - Unique private reverse connection identifier.
- ai_
private_ strendpoint_ id - Unique private reverse connection identifier.
- ai
Private StringEndpoint Id - Unique private reverse connection identifier.
getAiPrivateEndpoint Result
The following output properties are available:
- Ai
Private stringEndpoint Id - Attached
Data List<string>Assets - The list of dataAssets using the private reverse connection endpoint.
- Compartment
Id 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"}
- Display
Name string - Private Reverse Connection Endpoint display name.
- Dns
Zones 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.
- 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.
- State string
- The current state of the private endpoint resource.
- Subnet
Id 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"}
- Time
Created string - The time the private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the private endpoint was updated. An RFC3339 formatted datetime string.
- Ai
Private stringEndpoint Id - Attached
Data []stringAssets - The list of dataAssets using the private reverse connection endpoint.
- Compartment
Id 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"}
- Display
Name string - Private Reverse Connection Endpoint display name.
- Dns
Zones []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.
- 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.
- State string
- The current state of the private endpoint resource.
- Subnet
Id 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"}
- Time
Created string - The time the private endpoint was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the private endpoint was updated. An RFC3339 formatted datetime string.
- ai
Private StringEndpoint Id - attached
Data List<String>Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name String - Private Reverse Connection Endpoint display name.
- dns
Zones 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.
- 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.
- state String
- The current state of the private endpoint resource.
- subnet
Id 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"}
- time
Created String - The time the private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the private endpoint was updated. An RFC3339 formatted datetime string.
- ai
Private stringEndpoint Id - attached
Data string[]Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name string - Private Reverse Connection Endpoint display name.
- dns
Zones 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.
- 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.
- state string
- The current state of the private endpoint resource.
- subnet
Id 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"}
- time
Created string - The time the private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- ai
Private StringEndpoint Id - attached
Data List<String>Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name String - Private Reverse Connection Endpoint display name.
- dns
Zones 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.
- 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.
- state String
- The current state of the private endpoint resource.
- subnet
Id String - Subnet Identifier
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the private endpoint was created. An RFC3339 formatted datetime string.
- time
Updated 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.