1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiVision
  5. getVisionPrivateEndpoint
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.AiVision.getVisionPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides details about a specific Vision Private Endpoint resource in Oracle Cloud Infrastructure Ai Vision service.

    Get a visionPrivateEndpoint by identifier.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVisionPrivateEndpoint = oci.AiVision.getVisionPrivateEndpoint({
        visionPrivateEndpointId: testVisionPrivateEndpointOciAiVisionVisionPrivateEndpoint.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_vision_private_endpoint = oci.AiVision.get_vision_private_endpoint(vision_private_endpoint_id=test_vision_private_endpoint_oci_ai_vision_vision_private_endpoint["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/aivision"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aivision.GetVisionPrivateEndpoint(ctx, &aivision.GetVisionPrivateEndpointArgs{
    			VisionPrivateEndpointId: testVisionPrivateEndpointOciAiVisionVisionPrivateEndpoint.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 testVisionPrivateEndpoint = Oci.AiVision.GetVisionPrivateEndpoint.Invoke(new()
        {
            VisionPrivateEndpointId = testVisionPrivateEndpointOciAiVisionVisionPrivateEndpoint.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.AiVision.AiVisionFunctions;
    import com.pulumi.oci.AiVision.inputs.GetVisionPrivateEndpointArgs;
    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 testVisionPrivateEndpoint = AiVisionFunctions.getVisionPrivateEndpoint(GetVisionPrivateEndpointArgs.builder()
                .visionPrivateEndpointId(testVisionPrivateEndpointOciAiVisionVisionPrivateEndpoint.id())
                .build());
    
        }
    }
    
    variables:
      testVisionPrivateEndpoint:
        fn::invoke:
          function: oci:AiVision:getVisionPrivateEndpoint
          arguments:
            visionPrivateEndpointId: ${testVisionPrivateEndpointOciAiVisionVisionPrivateEndpoint.id}
    

    Using getVisionPrivateEndpoint

    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 getVisionPrivateEndpoint(args: GetVisionPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetVisionPrivateEndpointResult>
    function getVisionPrivateEndpointOutput(args: GetVisionPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetVisionPrivateEndpointResult>
    def get_vision_private_endpoint(vision_private_endpoint_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetVisionPrivateEndpointResult
    def get_vision_private_endpoint_output(vision_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetVisionPrivateEndpointResult]
    func LookupVisionPrivateEndpoint(ctx *Context, args *LookupVisionPrivateEndpointArgs, opts ...InvokeOption) (*LookupVisionPrivateEndpointResult, error)
    func LookupVisionPrivateEndpointOutput(ctx *Context, args *LookupVisionPrivateEndpointOutputArgs, opts ...InvokeOption) LookupVisionPrivateEndpointResultOutput

    > Note: This function is named LookupVisionPrivateEndpoint in the Go SDK.

    public static class GetVisionPrivateEndpoint 
    {
        public static Task<GetVisionPrivateEndpointResult> InvokeAsync(GetVisionPrivateEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetVisionPrivateEndpointResult> Invoke(GetVisionPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVisionPrivateEndpointResult> getVisionPrivateEndpoint(GetVisionPrivateEndpointArgs args, InvokeOptions options)
    public static Output<GetVisionPrivateEndpointResult> getVisionPrivateEndpoint(GetVisionPrivateEndpointArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:AiVision/getVisionPrivateEndpoint:getVisionPrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    VisionPrivateEndpointId string
    Vision private endpoint Id.
    VisionPrivateEndpointId string
    Vision private endpoint Id.
    visionPrivateEndpointId String
    Vision private endpoint Id.
    visionPrivateEndpointId string
    Vision private endpoint Id.
    vision_private_endpoint_id str
    Vision private endpoint Id.
    visionPrivateEndpointId String
    Vision private endpoint Id.

    getVisionPrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    A compartment identifier.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    Description string
    An optional description of the visionPrivateEndpoint.
    DisplayName string
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    FreeformTags Dictionary<string, string>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    OCID of private endpoint
    LifecycleDetails string
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    State string
    The current state of the visionPrivateEndpoint.
    SubnetId string
    OCID of subnet
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    TimeCreated string
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    VisionPrivateEndpointId string
    CompartmentId string
    A compartment identifier.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    Description string
    An optional description of the visionPrivateEndpoint.
    DisplayName string
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    FreeformTags map[string]string
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    OCID of private endpoint
    LifecycleDetails string
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    State string
    The current state of the visionPrivateEndpoint.
    SubnetId string
    OCID of subnet
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    TimeCreated string
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    TimeUpdated string
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    VisionPrivateEndpointId string
    compartmentId String
    A compartment identifier.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description String
    An optional description of the visionPrivateEndpoint.
    displayName String
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    freeformTags Map<String,String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    OCID of private endpoint
    lifecycleDetails String
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    state String
    The current state of the visionPrivateEndpoint.
    subnetId String
    OCID of subnet
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated String
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    timeUpdated String
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    visionPrivateEndpointId String
    compartmentId string
    A compartment identifier.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description string
    An optional description of the visionPrivateEndpoint.
    displayName string
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    freeformTags {[key: string]: string}
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id string
    OCID of private endpoint
    lifecycleDetails string
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    state string
    The current state of the visionPrivateEndpoint.
    subnetId string
    OCID of subnet
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated string
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    timeUpdated string
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    visionPrivateEndpointId string
    compartment_id str
    A compartment identifier.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description str
    An optional description of the visionPrivateEndpoint.
    display_name str
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    freeform_tags Mapping[str, str]
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id str
    OCID of private endpoint
    lifecycle_details str
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    state str
    The current state of the visionPrivateEndpoint.
    subnet_id str
    OCID of subnet
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    time_created str
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    time_updated str
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    vision_private_endpoint_id str
    compartmentId String
    A compartment identifier.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description String
    An optional description of the visionPrivateEndpoint.
    displayName String
    A human-friendly name for the visionPrivateEndpoint, which can be changed.
    freeformTags Map<String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    OCID of private endpoint
    lifecycleDetails String
    A message describing the current state in more detail, that can provide actionable information if creation failed.
    state String
    The current state of the visionPrivateEndpoint.
    subnetId String
    OCID of subnet
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
    timeCreated String
    When the visionPrivateEndpoint was created, as an RFC3339 datetime string.
    timeUpdated String
    When the visionPrivateEndpoint was updated, as an RFC3339 datetime string.
    visionPrivateEndpointId String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi