Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 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[_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:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Ai 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 string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Ai 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 String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Ai 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 string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Ai 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[aianomalydetection.
Get Ai 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.
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name 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:
- Ai
Private List<GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection> - The list of ai_private_endpoint_collection.
- Compartment
Id string - Compartment Identifier.
- Display
Name string - Private Reverse Connection Endpoint display name.
- Filters
List<Get
Ai Private Endpoints Filter> - Id string
- Unique identifier that is immutable.
- State string
- The current state of the private endpoint resource.
- Ai
Private []GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection - The list of ai_private_endpoint_collection.
- Compartment
Id string - Compartment Identifier.
- Display
Name string - Private Reverse Connection Endpoint display name.
- Filters
[]Get
Ai Private Endpoints Filter - Id string
- Unique identifier that is immutable.
- State string
- The current state of the private endpoint resource.
- ai
Private List<GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection> - The list of ai_private_endpoint_collection.
- compartment
Id String - Compartment Identifier.
- display
Name String - Private Reverse Connection Endpoint display name.
- filters
List<Get
Ai Private Endpoints Filter> - id String
- Unique identifier that is immutable.
- state String
- The current state of the private endpoint resource.
- ai
Private GetEndpoint Collections Ai Private Endpoints Ai Private Endpoint Collection[] - The list of ai_private_endpoint_collection.
- compartment
Id string - Compartment Identifier.
- display
Name string - Private Reverse Connection Endpoint display name.
- filters
Get
Ai Private Endpoints Filter[] - id string
- Unique identifier that is immutable.
- state string
- The current state of the private endpoint resource.
- ai_
private_ Sequence[aianomalydetection.endpoint_ collections Get 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[aianomalydetection.
Get Ai Private Endpoints Filter] - id str
- Unique identifier that is immutable.
- state str
- The current state of the private endpoint resource.
- ai
Private List<Property Map>Endpoint Collections - The list of ai_private_endpoint_collection.
- compartment
Id String - Compartment Identifier.
- display
Name 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
- Attached
Data List<string>Assets - The list of dataAssets using the private reverse connection endpoint.
- Compartment
Id 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"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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 AiPrivateEndpoint identifier
- 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
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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.
- Attached
Data []stringAssets - The list of dataAssets using the private reverse connection endpoint.
- Compartment
Id 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"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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 AiPrivateEndpoint identifier
- 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
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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.
- attached
Data List<String>Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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 AiPrivateEndpoint identifier
- 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
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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.
- attached
Data string[]Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name string - A filter to return only resources that match the entire display name given.
- 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 AiPrivateEndpoint identifier
- 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
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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.
- 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.
- attached
Data List<String>Assets - The list of dataAssets using the private reverse connection endpoint.
- compartment
Id 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"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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 AiPrivateEndpoint identifier
- 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
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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.
GetAiPrivateEndpointsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.