Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.GenerativeAi.getGenerativeAiPrivateEndpoints
Start a Neo task
Explain and create an oci.GenerativeAi.getGenerativeAiPrivateEndpoints resource
This data source provides the list of Generative Ai Private Endpoints in Oracle Cloud Infrastructure Generative AI service.
Lists all Generative AI private endpoints in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testGenerativeAiPrivateEndpoints = oci.GenerativeAi.getGenerativeAiPrivateEndpoints({
compartmentId: compartmentId,
displayName: generativeAiPrivateEndpointDisplayName,
id: generativeAiPrivateEndpointId,
state: generativeAiPrivateEndpointState,
});
import pulumi
import pulumi_oci as oci
test_generative_ai_private_endpoints = oci.GenerativeAi.get_generative_ai_private_endpoints(compartment_id=compartment_id,
display_name=generative_ai_private_endpoint_display_name,
id=generative_ai_private_endpoint_id,
state=generative_ai_private_endpoint_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/generativeai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := generativeai.GetGenerativeAiPrivateEndpoints(ctx, &generativeai.GetGenerativeAiPrivateEndpointsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(generativeAiPrivateEndpointDisplayName),
Id: pulumi.StringRef(generativeAiPrivateEndpointId),
State: pulumi.StringRef(generativeAiPrivateEndpointState),
}, 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 testGenerativeAiPrivateEndpoints = Oci.GenerativeAi.GetGenerativeAiPrivateEndpoints.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = generativeAiPrivateEndpointDisplayName,
Id = generativeAiPrivateEndpointId,
State = generativeAiPrivateEndpointState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
import com.pulumi.oci.GenerativeAi.inputs.GetGenerativeAiPrivateEndpointsArgs;
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 testGenerativeAiPrivateEndpoints = GenerativeAiFunctions.getGenerativeAiPrivateEndpoints(GetGenerativeAiPrivateEndpointsArgs.builder()
.compartmentId(compartmentId)
.displayName(generativeAiPrivateEndpointDisplayName)
.id(generativeAiPrivateEndpointId)
.state(generativeAiPrivateEndpointState)
.build());
}
}
variables:
testGenerativeAiPrivateEndpoints:
fn::invoke:
function: oci:GenerativeAi:getGenerativeAiPrivateEndpoints
arguments:
compartmentId: ${compartmentId}
displayName: ${generativeAiPrivateEndpointDisplayName}
id: ${generativeAiPrivateEndpointId}
state: ${generativeAiPrivateEndpointState}
Using getGenerativeAiPrivateEndpoints
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 getGenerativeAiPrivateEndpoints(args: GetGenerativeAiPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetGenerativeAiPrivateEndpointsResult>
function getGenerativeAiPrivateEndpointsOutput(args: GetGenerativeAiPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetGenerativeAiPrivateEndpointsResult>def get_generative_ai_private_endpoints(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetGenerativeAiPrivateEndpointsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGenerativeAiPrivateEndpointsResult
def get_generative_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[GetGenerativeAiPrivateEndpointsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenerativeAiPrivateEndpointsResult]func GetGenerativeAiPrivateEndpoints(ctx *Context, args *GetGenerativeAiPrivateEndpointsArgs, opts ...InvokeOption) (*GetGenerativeAiPrivateEndpointsResult, error)
func GetGenerativeAiPrivateEndpointsOutput(ctx *Context, args *GetGenerativeAiPrivateEndpointsOutputArgs, opts ...InvokeOption) GetGenerativeAiPrivateEndpointsResultOutput> Note: This function is named GetGenerativeAiPrivateEndpoints in the Go SDK.
public static class GetGenerativeAiPrivateEndpoints
{
public static Task<GetGenerativeAiPrivateEndpointsResult> InvokeAsync(GetGenerativeAiPrivateEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetGenerativeAiPrivateEndpointsResult> Invoke(GetGenerativeAiPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGenerativeAiPrivateEndpointsResult> getGenerativeAiPrivateEndpoints(GetGenerativeAiPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetGenerativeAiPrivateEndpointsResult> getGenerativeAiPrivateEndpoints(GetGenerativeAiPrivateEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: oci:GenerativeAi/getGenerativeAiPrivateEndpoints:getGenerativeAiPrivateEndpoints
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Generative Ai Private Endpoints Filter> - Id string
- The OCID of the private endpoint.
- State string
- The lifecycle state of Generative AI private endpoints.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Generative Ai Private Endpoints Filter - Id string
- The OCID of the private endpoint.
- State string
- The lifecycle state of Generative AI private endpoints.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Private Endpoints Filter> - id String
- The OCID of the private endpoint.
- state String
- The lifecycle state of Generative AI private endpoints.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Generative Ai Private Endpoints Filter[] - id string
- The OCID of the private endpoint.
- state string
- The lifecycle state of Generative AI private endpoints.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Generative Ai Private Endpoints Filter] - id str
- The OCID of the private endpoint.
- state str
- The lifecycle state of Generative AI private endpoints.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- id String
- The OCID of the private endpoint.
- state String
- The lifecycle state of Generative AI private endpoints.
getGenerativeAiPrivateEndpoints Result
The following output properties are available:
- Compartment
Id string - Generative
Ai List<GetPrivate Endpoint Collections Generative Ai Private Endpoints Generative Ai Private Endpoint Collection> - The list of generative_ai_private_endpoint_collection.
- Display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- Filters
List<Get
Generative Ai Private Endpoints Filter> - Id string
- The OCID of a private endpoint.
- State string
- The current state of the Generative AI Private Endpoint.
- Compartment
Id string - Generative
Ai []GetPrivate Endpoint Collections Generative Ai Private Endpoints Generative Ai Private Endpoint Collection - The list of generative_ai_private_endpoint_collection.
- Display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- Filters
[]Get
Generative Ai Private Endpoints Filter - Id string
- The OCID of a private endpoint.
- State string
- The current state of the Generative AI Private Endpoint.
- compartment
Id String - generative
Ai List<GetPrivate Endpoint Collections Private Endpoints Private Endpoint Collection> - The list of generative_ai_private_endpoint_collection.
- display
Name String - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- filters
List<Get
Private Endpoints Filter> - id String
- The OCID of a private endpoint.
- state String
- The current state of the Generative AI Private Endpoint.
- compartment
Id string - generative
Ai GetPrivate Endpoint Collections Generative Ai Private Endpoints Generative Ai Private Endpoint Collection[] - The list of generative_ai_private_endpoint_collection.
- display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- filters
Get
Generative Ai Private Endpoints Filter[] - id string
- The OCID of a private endpoint.
- state string
- The current state of the Generative AI Private Endpoint.
- compartment_
id str - generative_
ai_ Sequence[Getprivate_ endpoint_ collections Generative Ai Private Endpoints Generative Ai Private Endpoint Collection] - The list of generative_ai_private_endpoint_collection.
- display_
name str - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- filters
Sequence[Get
Generative Ai Private Endpoints Filter] - id str
- The OCID of a private endpoint.
- state str
- The current state of the Generative AI Private Endpoint.
- compartment
Id String - generative
Ai List<Property Map>Private Endpoint Collections - The list of generative_ai_private_endpoint_collection.
- display
Name String - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- filters List<Property Map>
- id String
- The OCID of a private endpoint.
- state String
- The current state of the Generative AI Private Endpoint.
Supporting Types
GetGenerativeAiPrivateEndpointsFilter
GetGenerativeAiPrivateEndpointsGenerativeAiPrivateEndpointCollection
GetGenerativeAiPrivateEndpointsGenerativeAiPrivateEndpointCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Dictionary<string, string>
- Description string
- A description of this private endpoint.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Dns
Prefix string - Fqdn string
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the private endpoint.
- Lifecycle
Details string - Nsg
Ids List<string> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- Previous
State string - Private
Endpoint stringIp - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- State string
- The lifecycle state of Generative AI private endpoints.
- Subnet
Id string - Dictionary<string, string>
- Time
Created string - Time
Updated string
- Compartment
Id string - The OCID of the compartment in which to list resources.
- map[string]string
- Description string
- A description of this private endpoint.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Dns
Prefix string - Fqdn string
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the private endpoint.
- Lifecycle
Details string - Nsg
Ids []string - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- Previous
State string - Private
Endpoint stringIp - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- State string
- The lifecycle state of Generative AI private endpoints.
- Subnet
Id string - map[string]string
- Time
Created string - Time
Updated string
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String,String>
- description String
- A description of this private endpoint.
- display
Name String - A filter to return only resources that match the given display name exactly.
- dns
Prefix String - fqdn String
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the private endpoint.
- lifecycle
Details String - nsg
Ids List<String> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- previous
State String - private
Endpoint StringIp - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- state String
- The lifecycle state of Generative AI private endpoints.
- subnet
Id String - Map<String,String>
- time
Created String - time
Updated String
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[key: string]: string}
- description string
- A description of this private endpoint.
- display
Name string - A filter to return only resources that match the given display name exactly.
- dns
Prefix string - fqdn string
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the private endpoint.
- lifecycle
Details string - nsg
Ids string[] - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- previous
State string - private
Endpoint stringIp - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- state string
- The lifecycle state of Generative AI private endpoints.
- subnet
Id string - {[key: string]: string}
- time
Created string - time
Updated string
- compartment_
id str - The OCID of the compartment in which to list resources.
- Mapping[str, str]
- description str
- A description of this private endpoint.
- display_
name str - A filter to return only resources that match the given display name exactly.
- dns_
prefix str - fqdn str
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the private endpoint.
- lifecycle_
details str - nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- previous_
state str - private_
endpoint_ strip - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- state str
- The lifecycle state of Generative AI private endpoints.
- subnet_
id str - Mapping[str, str]
- time_
created str - time_
updated str
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String>
- description String
- A description of this private endpoint.
- display
Name String - A filter to return only resources that match the given display name exactly.
- dns
Prefix String - fqdn String
- Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com)
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the private endpoint.
- lifecycle
Details String - nsg
Ids List<String> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- previous
State String - private
Endpoint StringIp - The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service.
- state String
- The lifecycle state of Generative AI private endpoints.
- subnet
Id String - Map<String>
- time
Created String - time
Updated String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
