1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getPrivateEndpoint
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.DataScience.getPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

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

    Retrieves an private endpoint using a privateEndpointId.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDataSciencePrivateEndpoint = oci.DataScience.getPrivateEndpoint({
        dataSciencePrivateEndpointId: testDataSciencePrivateEndpointOciDatasciencePrivateEndpoint.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_data_science_private_endpoint = oci.DataScience.get_private_endpoint(data_science_private_endpoint_id=test_data_science_private_endpoint_oci_datascience_private_endpoint["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataScience.GetPrivateEndpoint(ctx, &datascience.GetPrivateEndpointArgs{
    			DataSciencePrivateEndpointId: testDataSciencePrivateEndpointOciDatasciencePrivateEndpoint.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 testDataSciencePrivateEndpoint = Oci.DataScience.GetPrivateEndpoint.Invoke(new()
        {
            DataSciencePrivateEndpointId = testDataSciencePrivateEndpointOciDatasciencePrivateEndpoint.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.DataScienceFunctions;
    import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs;
    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 testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
                .dataSciencePrivateEndpointId(testDataSciencePrivateEndpointOciDatasciencePrivateEndpoint.id())
                .build());
    
        }
    }
    
    variables:
      testDataSciencePrivateEndpoint:
        fn::invoke:
          Function: oci:DataScience:getPrivateEndpoint
          Arguments:
            dataSciencePrivateEndpointId: ${testDataSciencePrivateEndpointOciDatasciencePrivateEndpoint.id}
    

    Using getPrivateEndpoint

    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 getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointResult>
    function getPrivateEndpointOutput(args: GetPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetPrivateEndpointResult>
    def get_private_endpoint(data_science_private_endpoint_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointResult
    def get_private_endpoint_output(data_science_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointResult]
    func GetPrivateEndpoint(ctx *Context, args *GetPrivateEndpointArgs, opts ...InvokeOption) (*GetPrivateEndpointResult, error)
    func GetPrivateEndpointOutput(ctx *Context, args *GetPrivateEndpointOutputArgs, opts ...InvokeOption) GetPrivateEndpointResultOutput

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

    public static class GetPrivateEndpoint 
    {
        public static Task<GetPrivateEndpointResult> InvokeAsync(GetPrivateEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivateEndpointResult> Invoke(GetPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivateEndpointResult> getPrivateEndpoint(GetPrivateEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataScience/getPrivateEndpoint:getPrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataSciencePrivateEndpointId string
    The unique ID for a Data Science private endpoint.
    DataSciencePrivateEndpointId string
    The unique ID for a Data Science private endpoint.
    dataSciencePrivateEndpointId String
    The unique ID for a Data Science private endpoint.
    dataSciencePrivateEndpointId string
    The unique ID for a Data Science private endpoint.
    data_science_private_endpoint_id str
    The unique ID for a Data Science private endpoint.
    dataSciencePrivateEndpointId String
    The unique ID for a Data Science private endpoint.

    getPrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment where you want to create private endpoint.
    CreatedBy string
    The OCID of the user that created the private endpoint.
    DataSciencePrivateEndpointId string
    DataScienceResourceType string
    Data Science resource type.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A user friendly description. Avoid entering confidential information.
    DisplayName string
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    Fqdn string
    Accesing the Data Science resource using FQDN.
    FreeformTags Dictionary<string, object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of a private endpoint.
    LifecycleDetails string
    Details of the state of Data Science private endpoint.
    NsgIds List<string>
    An array of network security group OCIDs.
    State string
    State of the Data Science private endpoint.
    SubDomain string
    SubnetId string
    The OCID of a subnet.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    TimeUpdated string
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment where you want to create private endpoint.
    CreatedBy string
    The OCID of the user that created the private endpoint.
    DataSciencePrivateEndpointId string
    DataScienceResourceType string
    Data Science resource type.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A user friendly description. Avoid entering confidential information.
    DisplayName string
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    Fqdn string
    Accesing the Data Science resource using FQDN.
    FreeformTags map[string]interface{}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of a private endpoint.
    LifecycleDetails string
    Details of the state of Data Science private endpoint.
    NsgIds []string
    An array of network security group OCIDs.
    State string
    State of the Data Science private endpoint.
    SubDomain string
    SubnetId string
    The OCID of a subnet.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    TimeUpdated string
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    compartmentId String
    The OCID of the compartment where you want to create private endpoint.
    createdBy String
    The OCID of the user that created the private endpoint.
    dataSciencePrivateEndpointId String
    dataScienceResourceType String
    Data Science resource type.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A user friendly description. Avoid entering confidential information.
    displayName String
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    fqdn String
    Accesing the Data Science resource using FQDN.
    freeformTags Map<String,Object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of a private endpoint.
    lifecycleDetails String
    Details of the state of Data Science private endpoint.
    nsgIds List<String>
    An array of network security group OCIDs.
    state String
    State of the Data Science private endpoint.
    subDomain String
    subnetId String
    The OCID of a subnet.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    timeUpdated String
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    compartmentId string
    The OCID of the compartment where you want to create private endpoint.
    createdBy string
    The OCID of the user that created the private endpoint.
    dataSciencePrivateEndpointId string
    dataScienceResourceType string
    Data Science resource type.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    A user friendly description. Avoid entering confidential information.
    displayName string
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    fqdn string
    Accesing the Data Science resource using FQDN.
    freeformTags {[key: string]: any}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of a private endpoint.
    lifecycleDetails string
    Details of the state of Data Science private endpoint.
    nsgIds string[]
    An array of network security group OCIDs.
    state string
    State of the Data Science private endpoint.
    subDomain string
    subnetId string
    The OCID of a subnet.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    timeUpdated string
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    compartment_id str
    The OCID of the compartment where you want to create private endpoint.
    created_by str
    The OCID of the user that created the private endpoint.
    data_science_private_endpoint_id str
    data_science_resource_type str
    Data Science resource type.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    A user friendly description. Avoid entering confidential information.
    display_name str
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    fqdn str
    Accesing the Data Science resource using FQDN.
    freeform_tags Mapping[str, Any]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of a private endpoint.
    lifecycle_details str
    Details of the state of Data Science private endpoint.
    nsg_ids Sequence[str]
    An array of network security group OCIDs.
    state str
    State of the Data Science private endpoint.
    sub_domain str
    subnet_id str
    The OCID of a subnet.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    time_updated str
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    compartmentId String
    The OCID of the compartment where you want to create private endpoint.
    createdBy String
    The OCID of the user that created the private endpoint.
    dataSciencePrivateEndpointId String
    dataScienceResourceType String
    Data Science resource type.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A user friendly description. Avoid entering confidential information.
    displayName String
    A user friendly name. It doesn't have to be unique. Avoid entering confidential information.
    fqdn String
    Accesing the Data Science resource using FQDN.
    freeformTags Map<Any>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of a private endpoint.
    lifecycleDetails String
    Details of the state of Data Science private endpoint.
    nsgIds List<String>
    An array of network security group OCIDs.
    state String
    State of the Data Science private endpoint.
    subDomain String
    subnetId String
    The OCID of a subnet.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the Data Science private endpoint was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
    timeUpdated String
    The date and time that the Data Science private endpoint was updated expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z

    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.34.0 published on Friday, May 3, 2024 by Pulumi