1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getDataSafePrivateEndpoint
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.getDataSafePrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

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

    Gets the details of the specified Data Safe private endpoint.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDataSafePrivateEndpoint = oci.DataSafe.getDataSafePrivateEndpoint({
        dataSafePrivateEndpointId: testDataSafePrivateEndpointOciDataSafeDataSafePrivateEndpoint.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_data_safe_private_endpoint = oci.DataSafe.get_data_safe_private_endpoint(data_safe_private_endpoint_id=test_data_safe_private_endpoint_oci_data_safe_data_safe_private_endpoint["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetDataSafePrivateEndpoint(ctx, &datasafe.GetDataSafePrivateEndpointArgs{
    			DataSafePrivateEndpointId: testDataSafePrivateEndpointOciDataSafeDataSafePrivateEndpoint.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 testDataSafePrivateEndpoint = Oci.DataSafe.GetDataSafePrivateEndpoint.Invoke(new()
        {
            DataSafePrivateEndpointId = testDataSafePrivateEndpointOciDataSafeDataSafePrivateEndpoint.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetDataSafePrivateEndpointArgs;
    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 testDataSafePrivateEndpoint = DataSafeFunctions.getDataSafePrivateEndpoint(GetDataSafePrivateEndpointArgs.builder()
                .dataSafePrivateEndpointId(testDataSafePrivateEndpointOciDataSafeDataSafePrivateEndpoint.id())
                .build());
    
        }
    }
    
    variables:
      testDataSafePrivateEndpoint:
        fn::invoke:
          Function: oci:DataSafe:getDataSafePrivateEndpoint
          Arguments:
            dataSafePrivateEndpointId: ${testDataSafePrivateEndpointOciDataSafeDataSafePrivateEndpoint.id}
    

    Using getDataSafePrivateEndpoint

    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 getDataSafePrivateEndpoint(args: GetDataSafePrivateEndpointArgs, opts?: InvokeOptions): Promise<GetDataSafePrivateEndpointResult>
    function getDataSafePrivateEndpointOutput(args: GetDataSafePrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetDataSafePrivateEndpointResult>
    def get_data_safe_private_endpoint(data_safe_private_endpoint_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetDataSafePrivateEndpointResult
    def get_data_safe_private_endpoint_output(data_safe_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetDataSafePrivateEndpointResult]
    func GetDataSafePrivateEndpoint(ctx *Context, args *GetDataSafePrivateEndpointArgs, opts ...InvokeOption) (*GetDataSafePrivateEndpointResult, error)
    func GetDataSafePrivateEndpointOutput(ctx *Context, args *GetDataSafePrivateEndpointOutputArgs, opts ...InvokeOption) GetDataSafePrivateEndpointResultOutput

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

    public static class GetDataSafePrivateEndpoint 
    {
        public static Task<GetDataSafePrivateEndpointResult> InvokeAsync(GetDataSafePrivateEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetDataSafePrivateEndpointResult> Invoke(GetDataSafePrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataSafePrivateEndpointResult> getDataSafePrivateEndpoint(GetDataSafePrivateEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getDataSafePrivateEndpoint:getDataSafePrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataSafePrivateEndpointId string
    The OCID of the private endpoint.
    DataSafePrivateEndpointId string
    The OCID of the private endpoint.
    dataSafePrivateEndpointId String
    The OCID of the private endpoint.
    dataSafePrivateEndpointId string
    The OCID of the private endpoint.
    data_safe_private_endpoint_id str
    The OCID of the private endpoint.
    dataSafePrivateEndpointId String
    The OCID of the private endpoint.

    getDataSafePrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    DataSafePrivateEndpointId string
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the private endpoint.
    DisplayName string
    The display name of the private endpoint.
    EndpointFqdn string
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the Data Safe private endpoint.
    NsgIds List<string>
    The OCIDs of the network security groups that the private endpoint belongs to.
    PrivateEndpointId string
    The OCID of the underlying private endpoint.
    PrivateEndpointIp string
    The private IP address of the private endpoint.
    State string
    The current state of the private endpoint.
    SubnetId string
    The OCID of the subnet.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the private endpoint was created, in the format defined by RFC3339.
    VcnId string
    The OCID of the VCN.
    CompartmentId string
    The OCID of the compartment.
    DataSafePrivateEndpointId string
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the private endpoint.
    DisplayName string
    The display name of the private endpoint.
    EndpointFqdn string
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the Data Safe private endpoint.
    NsgIds []string
    The OCIDs of the network security groups that the private endpoint belongs to.
    PrivateEndpointId string
    The OCID of the underlying private endpoint.
    PrivateEndpointIp string
    The private IP address of the private endpoint.
    State string
    The current state of the private endpoint.
    SubnetId string
    The OCID of the subnet.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the private endpoint was created, in the format defined by RFC3339.
    VcnId string
    The OCID of the VCN.
    compartmentId String
    The OCID of the compartment.
    dataSafePrivateEndpointId String
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the private endpoint.
    displayName String
    The display name of the private endpoint.
    endpointFqdn String
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the Data Safe private endpoint.
    nsgIds List<String>
    The OCIDs of the network security groups that the private endpoint belongs to.
    privateEndpointId String
    The OCID of the underlying private endpoint.
    privateEndpointIp String
    The private IP address of the private endpoint.
    state String
    The current state of the private endpoint.
    subnetId String
    The OCID of the subnet.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the private endpoint was created, in the format defined by RFC3339.
    vcnId String
    The OCID of the VCN.
    compartmentId string
    The OCID of the compartment.
    dataSafePrivateEndpointId string
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    The description of the private endpoint.
    displayName string
    The display name of the private endpoint.
    endpointFqdn string
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    id string
    The OCID of the Data Safe private endpoint.
    nsgIds string[]
    The OCIDs of the network security groups that the private endpoint belongs to.
    privateEndpointId string
    The OCID of the underlying private endpoint.
    privateEndpointIp string
    The private IP address of the private endpoint.
    state string
    The current state of the private endpoint.
    subnetId string
    The OCID of the subnet.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the private endpoint was created, in the format defined by RFC3339.
    vcnId string
    The OCID of the VCN.
    compartment_id str
    The OCID of the compartment.
    data_safe_private_endpoint_id str
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    The description of the private endpoint.
    display_name str
    The display name of the private endpoint.
    endpoint_fqdn str
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    id str
    The OCID of the Data Safe private endpoint.
    nsg_ids Sequence[str]
    The OCIDs of the network security groups that the private endpoint belongs to.
    private_endpoint_id str
    The OCID of the underlying private endpoint.
    private_endpoint_ip str
    The private IP address of the private endpoint.
    state str
    The current state of the private endpoint.
    subnet_id str
    The OCID of the subnet.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the private endpoint was created, in the format defined by RFC3339.
    vcn_id str
    The OCID of the VCN.
    compartmentId String
    The OCID of the compartment.
    dataSafePrivateEndpointId String
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the private endpoint.
    displayName String
    The display name of the private endpoint.
    endpointFqdn String
    The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this 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. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the Data Safe private endpoint.
    nsgIds List<String>
    The OCIDs of the network security groups that the private endpoint belongs to.
    privateEndpointId String
    The OCID of the underlying private endpoint.
    privateEndpointIp String
    The private IP address of the private endpoint.
    state String
    The current state of the private endpoint.
    subnetId String
    The OCID of the subnet.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the private endpoint was created, in the format defined by RFC3339.
    vcnId String
    The OCID of the VCN.

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi