Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.GenerativeAi.getGenerativeAiPrivateEndpoint
Start a Neo task
Explain and create an oci.GenerativeAi.getGenerativeAiPrivateEndpoint resource
This data source provides details about a specific Generative Ai Private Endpoint resource in Oracle Cloud Infrastructure Generative AI service.
Retrieves an Generative AI private endpoint using a privateEndpointId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testGenerativeAiPrivateEndpoint = oci.GenerativeAi.getGenerativeAiPrivateEndpoint({
generativeAiPrivateEndpointId: testGenerativeAiPrivateEndpointOciGenerativeAiGenerativeAiPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_generative_ai_private_endpoint = oci.GenerativeAi.get_generative_ai_private_endpoint(generative_ai_private_endpoint_id=test_generative_ai_private_endpoint_oci_generative_ai_generative_ai_private_endpoint["id"])
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.GetGenerativeAiPrivateEndpoint(ctx, &generativeai.GetGenerativeAiPrivateEndpointArgs{
GenerativeAiPrivateEndpointId: testGenerativeAiPrivateEndpointOciGenerativeAiGenerativeAiPrivateEndpoint.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 testGenerativeAiPrivateEndpoint = Oci.GenerativeAi.GetGenerativeAiPrivateEndpoint.Invoke(new()
{
GenerativeAiPrivateEndpointId = testGenerativeAiPrivateEndpointOciGenerativeAiGenerativeAiPrivateEndpoint.Id,
});
});
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.GetGenerativeAiPrivateEndpointArgs;
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 testGenerativeAiPrivateEndpoint = GenerativeAiFunctions.getGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointArgs.builder()
.generativeAiPrivateEndpointId(testGenerativeAiPrivateEndpointOciGenerativeAiGenerativeAiPrivateEndpoint.id())
.build());
}
}
variables:
testGenerativeAiPrivateEndpoint:
fn::invoke:
function: oci:GenerativeAi:getGenerativeAiPrivateEndpoint
arguments:
generativeAiPrivateEndpointId: ${testGenerativeAiPrivateEndpointOciGenerativeAiGenerativeAiPrivateEndpoint.id}
Using getGenerativeAiPrivateEndpoint
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 getGenerativeAiPrivateEndpoint(args: GetGenerativeAiPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetGenerativeAiPrivateEndpointResult>
function getGenerativeAiPrivateEndpointOutput(args: GetGenerativeAiPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetGenerativeAiPrivateEndpointResult>def get_generative_ai_private_endpoint(generative_ai_private_endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGenerativeAiPrivateEndpointResult
def get_generative_ai_private_endpoint_output(generative_ai_private_endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenerativeAiPrivateEndpointResult]func LookupGenerativeAiPrivateEndpoint(ctx *Context, args *LookupGenerativeAiPrivateEndpointArgs, opts ...InvokeOption) (*LookupGenerativeAiPrivateEndpointResult, error)
func LookupGenerativeAiPrivateEndpointOutput(ctx *Context, args *LookupGenerativeAiPrivateEndpointOutputArgs, opts ...InvokeOption) LookupGenerativeAiPrivateEndpointResultOutput> Note: This function is named LookupGenerativeAiPrivateEndpoint in the Go SDK.
public static class GetGenerativeAiPrivateEndpoint
{
public static Task<GetGenerativeAiPrivateEndpointResult> InvokeAsync(GetGenerativeAiPrivateEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetGenerativeAiPrivateEndpointResult> Invoke(GetGenerativeAiPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGenerativeAiPrivateEndpointResult> getGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointArgs args, InvokeOptions options)
public static Output<GetGenerativeAiPrivateEndpointResult> getGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointArgs args, InvokeOptions options)
fn::invoke:
function: oci:GenerativeAi/getGenerativeAiPrivateEndpoint:getGenerativeAiPrivateEndpoint
arguments:
# arguments dictionaryThe following arguments are supported:
- Generative
Ai stringPrivate Endpoint Id - The unique id for a Generative AI private endpoint.
- Generative
Ai stringPrivate Endpoint Id - The unique id for a Generative AI private endpoint.
- generative
Ai StringPrivate Endpoint Id - The unique id for a Generative AI private endpoint.
- generative
Ai stringPrivate Endpoint Id - The unique id for a Generative AI private endpoint.
- generative_
ai_ strprivate_ endpoint_ id - The unique id for a Generative AI private endpoint.
- generative
Ai StringPrivate Endpoint Id - The unique id for a Generative AI private endpoint.
getGenerativeAiPrivateEndpoint Result
The following output properties are available:
- Compartment
Id string - Dictionary<string, string>
- Description string
- A description of this private endpoint.
- Display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - Generative
Ai stringPrivate Endpoint Id - Id string
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- Subnet
Id string - Dictionary<string, string>
- Time
Created string - Time
Updated string
- Compartment
Id string - map[string]string
- Description string
- A description of this private endpoint.
- Display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - Generative
Ai stringPrivate Endpoint Id - Id string
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- Subnet
Id string - map[string]string
- Time
Created string - Time
Updated string
- compartment
Id String - Map<String,String>
- description String
- A description of this private endpoint.
- display
Name String - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - generative
Ai StringPrivate Endpoint Id - id String
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- subnet
Id String - Map<String,String>
- time
Created String - time
Updated String
- compartment
Id string - {[key: string]: string}
- description string
- A description of this private endpoint.
- display
Name string - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - generative
Ai stringPrivate Endpoint Id - id string
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- subnet
Id string - {[key: string]: string}
- time
Created string - time
Updated string
- compartment_
id str - Mapping[str, str]
- description str
- A description of this private endpoint.
- display_
name str - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - generative_
ai_ strprivate_ endpoint_ id - id str
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- subnet_
id str - Mapping[str, str]
- time_
created str - time_
updated str
- compartment
Id String - Map<String>
- description String
- A description of this private endpoint.
- display
Name String - A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
- 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"} - generative
Ai StringPrivate Endpoint Id - id String
- The OCID of a 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 current state of the Generative AI Private Endpoint.
- 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.
