1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Oda
  5. getOdaPrivateEndpointScanProxy
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Oda.getOdaPrivateEndpointScanProxy

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

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

    Gets the specified ODA Private Endpoint Scan Proxy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOdaPrivateEndpointScanProxy = oci.Oda.getOdaPrivateEndpointScanProxy({
        odaPrivateEndpointId: testOdaPrivateEndpoint.id,
        odaPrivateEndpointScanProxyId: testOdaPrivateEndpointScanProxyOciOdaOdaPrivateEndpointScanProxy.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oda_private_endpoint_scan_proxy = oci.Oda.get_oda_private_endpoint_scan_proxy(oda_private_endpoint_id=test_oda_private_endpoint["id"],
        oda_private_endpoint_scan_proxy_id=test_oda_private_endpoint_scan_proxy_oci_oda_oda_private_endpoint_scan_proxy["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Oda"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Oda.GetOdaPrivateEndpointScanProxy(ctx, &oda.GetOdaPrivateEndpointScanProxyArgs{
    			OdaPrivateEndpointId:          testOdaPrivateEndpoint.Id,
    			OdaPrivateEndpointScanProxyId: testOdaPrivateEndpointScanProxyOciOdaOdaPrivateEndpointScanProxy.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 testOdaPrivateEndpointScanProxy = Oci.Oda.GetOdaPrivateEndpointScanProxy.Invoke(new()
        {
            OdaPrivateEndpointId = testOdaPrivateEndpoint.Id,
            OdaPrivateEndpointScanProxyId = testOdaPrivateEndpointScanProxyOciOdaOdaPrivateEndpointScanProxy.Id,
        });
    
    });
    
    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.GetOdaPrivateEndpointScanProxyArgs;
    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 testOdaPrivateEndpointScanProxy = OdaFunctions.getOdaPrivateEndpointScanProxy(GetOdaPrivateEndpointScanProxyArgs.builder()
                .odaPrivateEndpointId(testOdaPrivateEndpoint.id())
                .odaPrivateEndpointScanProxyId(testOdaPrivateEndpointScanProxyOciOdaOdaPrivateEndpointScanProxy.id())
                .build());
    
        }
    }
    
    variables:
      testOdaPrivateEndpointScanProxy:
        fn::invoke:
          Function: oci:Oda:getOdaPrivateEndpointScanProxy
          Arguments:
            odaPrivateEndpointId: ${testOdaPrivateEndpoint.id}
            odaPrivateEndpointScanProxyId: ${testOdaPrivateEndpointScanProxyOciOdaOdaPrivateEndpointScanProxy.id}
    

    Using getOdaPrivateEndpointScanProxy

    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 getOdaPrivateEndpointScanProxy(args: GetOdaPrivateEndpointScanProxyArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointScanProxyResult>
    function getOdaPrivateEndpointScanProxyOutput(args: GetOdaPrivateEndpointScanProxyOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointScanProxyResult>
    def get_oda_private_endpoint_scan_proxy(oda_private_endpoint_id: Optional[str] = None,
                                            oda_private_endpoint_scan_proxy_id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointScanProxyResult
    def get_oda_private_endpoint_scan_proxy_output(oda_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                            oda_private_endpoint_scan_proxy_id: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointScanProxyResult]
    func GetOdaPrivateEndpointScanProxy(ctx *Context, args *GetOdaPrivateEndpointScanProxyArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointScanProxyResult, error)
    func GetOdaPrivateEndpointScanProxyOutput(ctx *Context, args *GetOdaPrivateEndpointScanProxyOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointScanProxyResultOutput

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

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

    The following arguments are supported:

    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    OdaPrivateEndpointScanProxyId string
    Unique ODA Private Endpoint Scan Proxy identifier.
    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    OdaPrivateEndpointScanProxyId string
    Unique ODA Private Endpoint Scan Proxy identifier.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointScanProxyId String
    Unique ODA Private Endpoint Scan Proxy identifier.
    odaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointScanProxyId string
    Unique ODA Private Endpoint Scan Proxy identifier.
    oda_private_endpoint_id str
    Unique ODA Private Endpoint identifier which is the OCID.
    oda_private_endpoint_scan_proxy_id str
    Unique ODA Private Endpoint Scan Proxy identifier.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.
    odaPrivateEndpointScanProxyId String
    Unique ODA Private Endpoint Scan Proxy identifier.

    getOdaPrivateEndpointScanProxy Result

    The following output properties are available:

    Id string
    The OCID of the ODA Private Endpoint Scan Proxy.
    OdaPrivateEndpointId string
    OdaPrivateEndpointScanProxyId string
    Protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    ScanListenerInfos List<GetOdaPrivateEndpointScanProxyScanListenerInfo>
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    ScanListenerType string
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    State string
    The current state of the ODA Private Endpoint Scan Proxy.
    TimeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    Id string
    The OCID of the ODA Private Endpoint Scan Proxy.
    OdaPrivateEndpointId string
    OdaPrivateEndpointScanProxyId string
    Protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    ScanListenerInfos []GetOdaPrivateEndpointScanProxyScanListenerInfo
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    ScanListenerType string
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    State string
    The current state of the ODA Private Endpoint Scan Proxy.
    TimeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    id String
    The OCID of the ODA Private Endpoint Scan Proxy.
    odaPrivateEndpointId String
    odaPrivateEndpointScanProxyId String
    protocol String
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scanListenerInfos List<GetPrivateEndpointScanProxyScanListenerInfo>
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerType String
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    state String
    The current state of the ODA Private Endpoint Scan Proxy.
    timeCreated String
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    id string
    The OCID of the ODA Private Endpoint Scan Proxy.
    odaPrivateEndpointId string
    odaPrivateEndpointScanProxyId string
    protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scanListenerInfos GetOdaPrivateEndpointScanProxyScanListenerInfo[]
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerType string
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    state string
    The current state of the ODA Private Endpoint Scan Proxy.
    timeCreated string
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    id str
    The OCID of the ODA Private Endpoint Scan Proxy.
    oda_private_endpoint_id str
    oda_private_endpoint_scan_proxy_id str
    protocol str
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scan_listener_infos Sequence[oda.GetOdaPrivateEndpointScanProxyScanListenerInfo]
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    scan_listener_type str
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    state str
    The current state of the ODA Private Endpoint Scan Proxy.
    time_created str
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.
    id String
    The OCID of the ODA Private Endpoint Scan Proxy.
    odaPrivateEndpointId String
    odaPrivateEndpointScanProxyId String
    protocol String
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scanListenerInfos List<Property Map>
    The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerType String
    Type indicating whether Scan listener is specified by its FQDN or list of IPs
    state String
    The current state of the ODA Private Endpoint Scan Proxy.
    timeCreated String
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.

    Supporting Types

    GetOdaPrivateEndpointScanProxyScanListenerInfo

    ScanListenerFqdn string
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    ScanListenerIp string
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    ScanListenerPort int
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.
    ScanListenerFqdn string
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    ScanListenerIp string
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    ScanListenerPort int
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.
    scanListenerFqdn String
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerIp String
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    scanListenerPort Integer
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.
    scanListenerFqdn string
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerIp string
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    scanListenerPort number
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.
    scan_listener_fqdn str
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    scan_listener_ip str
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    scan_listener_port int
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.
    scanListenerFqdn String
    FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners.
    scanListenerIp String
    A SCAN listener's IP of the customer's Real Application Cluster (RAC).
    scanListenerPort Number
    The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on.

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi