1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Oda
  5. getOdaPrivateEndpoint
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.Oda.getOdaPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This data source provides details about a specific Oda Private Endpoint resource in Oracle Cloud Infrastructure Digital Assistant service.

    Gets the specified ODA Private Endpoint.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testOdaPrivateEndpoint = Oci.Oda.GetOdaPrivateEndpoint.Invoke(new()
        {
            OdaPrivateEndpointId = oci_oda_oda_private_endpoint.Test_oda_private_endpoint.Id,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Oda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Oda.GetOdaPrivateEndpoint(ctx, &oda.GetOdaPrivateEndpointArgs{
    			OdaPrivateEndpointId: oci_oda_oda_private_endpoint.Test_oda_private_endpoint.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Oda.OdaFunctions;
    import com.pulumi.oci.Oda.inputs.GetOdaPrivateEndpointArgs;
    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 testOdaPrivateEndpoint = OdaFunctions.getOdaPrivateEndpoint(GetOdaPrivateEndpointArgs.builder()
                .odaPrivateEndpointId(oci_oda_oda_private_endpoint.test_oda_private_endpoint().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_oda_private_endpoint = oci.Oda.get_oda_private_endpoint(oda_private_endpoint_id=oci_oda_oda_private_endpoint["test_oda_private_endpoint"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOdaPrivateEndpoint = oci.Oda.getOdaPrivateEndpoint({
        odaPrivateEndpointId: oci_oda_oda_private_endpoint.test_oda_private_endpoint.id,
    });
    
    variables:
      testOdaPrivateEndpoint:
        fn::invoke:
          Function: oci:Oda:getOdaPrivateEndpoint
          Arguments:
            odaPrivateEndpointId: ${oci_oda_oda_private_endpoint.test_oda_private_endpoint.id}
    

    Using getOdaPrivateEndpoint

    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 getOdaPrivateEndpoint(args: GetOdaPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointResult>
    function getOdaPrivateEndpointOutput(args: GetOdaPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointResult>
    def get_oda_private_endpoint(oda_private_endpoint_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointResult
    def get_oda_private_endpoint_output(oda_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointResult]
    func GetOdaPrivateEndpoint(ctx *Context, args *GetOdaPrivateEndpointArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointResult, error)
    func GetOdaPrivateEndpointOutput(ctx *Context, args *GetOdaPrivateEndpointOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointResultOutput

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

    public static class GetOdaPrivateEndpoint 
    {
        public static Task<GetOdaPrivateEndpointResult> InvokeAsync(GetOdaPrivateEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetOdaPrivateEndpointResult> Invoke(GetOdaPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOdaPrivateEndpointResult> getOdaPrivateEndpoint(GetOdaPrivateEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Oda/getOdaPrivateEndpoint:getOdaPrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    oda_private_endpoint_id str
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.

    getOdaPrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that the ODA private endpoint belongs to.
    DefinedTags Dictionary<string, object>
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description of the ODA private endpoint.
    DisplayName string
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    Id string
    The OCID that was assigned when the ODA private endpoint was created.
    NsgIds List<string>
    List of OCIDs of network security groups
    OdaPrivateEndpointId string
    State string
    The current state of the ODA private endpoint.
    SubnetId string
    The OCID of the subnet that the private endpoint belongs to.
    TimeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    TimeUpdated string
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
    CompartmentId string
    The OCID of the compartment that the ODA private endpoint belongs to.
    DefinedTags map[string]interface{}
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description of the ODA private endpoint.
    DisplayName string
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    Id string
    The OCID that was assigned when the ODA private endpoint was created.
    NsgIds []string
    List of OCIDs of network security groups
    OdaPrivateEndpointId string
    State string
    The current state of the ODA private endpoint.
    SubnetId string
    The OCID of the subnet that the private endpoint belongs to.
    TimeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    TimeUpdated string
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
    compartmentId String
    The OCID of the compartment that the ODA private endpoint belongs to.
    definedTags Map<String,Object>
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description of the ODA private endpoint.
    displayName String
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    id String
    The OCID that was assigned when the ODA private endpoint was created.
    nsgIds List<String>
    List of OCIDs of network security groups
    odaPrivateEndpointId String
    state String
    The current state of the ODA private endpoint.
    subnetId String
    The OCID of the subnet that the private endpoint belongs to.
    timeCreated String
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    timeUpdated String
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
    compartmentId string
    The OCID of the compartment that the ODA private endpoint belongs to.
    definedTags {[key: string]: any}
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    description string
    Description of the ODA private endpoint.
    displayName string
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    id string
    The OCID that was assigned when the ODA private endpoint was created.
    nsgIds string[]
    List of OCIDs of network security groups
    odaPrivateEndpointId string
    state string
    The current state of the ODA private endpoint.
    subnetId string
    The OCID of the subnet that the private endpoint belongs to.
    timeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    timeUpdated string
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
    compartment_id str
    The OCID of the compartment that the ODA private endpoint belongs to.
    defined_tags Mapping[str, Any]
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    description str
    Description of the ODA private endpoint.
    display_name str
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    id str
    The OCID that was assigned when the ODA private endpoint was created.
    nsg_ids Sequence[str]
    List of OCIDs of network security groups
    oda_private_endpoint_id str
    state str
    The current state of the ODA private endpoint.
    subnet_id str
    The OCID of the subnet that the private endpoint belongs to.
    time_created str
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    time_updated str
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
    compartmentId String
    The OCID of the compartment that the ODA private endpoint belongs to.
    definedTags Map<Any>
    Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description of the ODA private endpoint.
    displayName String
    User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}
    id String
    The OCID that was assigned when the ODA private endpoint was created.
    nsgIds List<String>
    List of OCIDs of network security groups
    odaPrivateEndpointId String
    state String
    The current state of the ODA private endpoint.
    subnetId String
    The OCID of the subnet that the private endpoint belongs to.
    timeCreated String
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    timeUpdated String
    When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.

    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 v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi