1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Oda
  5. getOdaPrivateEndpointScanProxies
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Oda.getOdaPrivateEndpointScanProxies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Oda Private Endpoint Scan Proxies in Oracle Cloud Infrastructure Digital Assistant service.

    Returns a page of ODA Private Endpoint Scan Proxies that belong to the specified ODA Private Endpoint.

    If the opc-next-page header appears in the response, then there are more items to retrieve. To get the next page in the subsequent GET request, include the header’s value as the page query parameter.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOdaPrivateEndpointScanProxies = oci.Oda.getOdaPrivateEndpointScanProxies({
        odaPrivateEndpointId: testOdaPrivateEndpoint.id,
        state: odaPrivateEndpointScanProxyState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oda_private_endpoint_scan_proxies = oci.Oda.get_oda_private_endpoint_scan_proxies(oda_private_endpoint_id=test_oda_private_endpoint["id"],
        state=oda_private_endpoint_scan_proxy_state)
    
    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.GetOdaPrivateEndpointScanProxies(ctx, &oda.GetOdaPrivateEndpointScanProxiesArgs{
    			OdaPrivateEndpointId: testOdaPrivateEndpoint.Id,
    			State:                pulumi.StringRef(odaPrivateEndpointScanProxyState),
    		}, 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 testOdaPrivateEndpointScanProxies = Oci.Oda.GetOdaPrivateEndpointScanProxies.Invoke(new()
        {
            OdaPrivateEndpointId = testOdaPrivateEndpoint.Id,
            State = odaPrivateEndpointScanProxyState,
        });
    
    });
    
    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.GetOdaPrivateEndpointScanProxiesArgs;
    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 testOdaPrivateEndpointScanProxies = OdaFunctions.getOdaPrivateEndpointScanProxies(GetOdaPrivateEndpointScanProxiesArgs.builder()
                .odaPrivateEndpointId(testOdaPrivateEndpoint.id())
                .state(odaPrivateEndpointScanProxyState)
                .build());
    
        }
    }
    
    variables:
      testOdaPrivateEndpointScanProxies:
        fn::invoke:
          Function: oci:Oda:getOdaPrivateEndpointScanProxies
          Arguments:
            odaPrivateEndpointId: ${testOdaPrivateEndpoint.id}
            state: ${odaPrivateEndpointScanProxyState}
    

    Using getOdaPrivateEndpointScanProxies

    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 getOdaPrivateEndpointScanProxies(args: GetOdaPrivateEndpointScanProxiesArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointScanProxiesResult>
    function getOdaPrivateEndpointScanProxiesOutput(args: GetOdaPrivateEndpointScanProxiesOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointScanProxiesResult>
    def get_oda_private_endpoint_scan_proxies(filters: Optional[Sequence[_oda.GetOdaPrivateEndpointScanProxiesFilter]] = None,
                                              oda_private_endpoint_id: Optional[str] = None,
                                              state: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointScanProxiesResult
    def get_oda_private_endpoint_scan_proxies_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_oda.GetOdaPrivateEndpointScanProxiesFilterArgs]]]] = None,
                                              oda_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                              state: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointScanProxiesResult]
    func GetOdaPrivateEndpointScanProxies(ctx *Context, args *GetOdaPrivateEndpointScanProxiesArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointScanProxiesResult, error)
    func GetOdaPrivateEndpointScanProxiesOutput(ctx *Context, args *GetOdaPrivateEndpointScanProxiesOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointScanProxiesResultOutput

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

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

    The following arguments are supported:

    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    Filters List<GetOdaPrivateEndpointScanProxiesFilter>
    State string
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    Filters []GetOdaPrivateEndpointScanProxiesFilter
    State string
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.
    filters List<GetPrivateEndpointScanProxiesFilter>
    state String
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    odaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    filters GetOdaPrivateEndpointScanProxiesFilter[]
    state string
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    oda_private_endpoint_id str
    Unique ODA Private Endpoint identifier which is the OCID.
    filters Sequence[oda.GetOdaPrivateEndpointScanProxiesFilter]
    state str
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    odaPrivateEndpointId String
    Unique ODA Private Endpoint identifier which is the OCID.
    filters List<Property Map>
    state String
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.

    getOdaPrivateEndpointScanProxies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OdaPrivateEndpointId string
    OdaPrivateEndpointScanProxyCollections List<GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollection>
    The list of oda_private_endpoint_scan_proxy_collection.
    Filters List<GetOdaPrivateEndpointScanProxiesFilter>
    State string
    The current state of the ODA Private Endpoint Scan Proxy.
    Id string
    The provider-assigned unique ID for this managed resource.
    OdaPrivateEndpointId string
    OdaPrivateEndpointScanProxyCollections []GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollection
    The list of oda_private_endpoint_scan_proxy_collection.
    Filters []GetOdaPrivateEndpointScanProxiesFilter
    State string
    The current state of the ODA Private Endpoint Scan Proxy.
    id String
    The provider-assigned unique ID for this managed resource.
    odaPrivateEndpointId String
    odaPrivateEndpointScanProxyCollections List<GetPrivateEndpointScanProxiesPrivateEndpointScanProxyCollection>
    The list of oda_private_endpoint_scan_proxy_collection.
    filters List<GetPrivateEndpointScanProxiesFilter>
    state String
    The current state of the ODA Private Endpoint Scan Proxy.
    id string
    The provider-assigned unique ID for this managed resource.
    odaPrivateEndpointId string
    odaPrivateEndpointScanProxyCollections GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollection[]
    The list of oda_private_endpoint_scan_proxy_collection.
    filters GetOdaPrivateEndpointScanProxiesFilter[]
    state string
    The current state of the ODA Private Endpoint Scan Proxy.
    id str
    The provider-assigned unique ID for this managed resource.
    oda_private_endpoint_id str
    oda_private_endpoint_scan_proxy_collections Sequence[oda.GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollection]
    The list of oda_private_endpoint_scan_proxy_collection.
    filters Sequence[oda.GetOdaPrivateEndpointScanProxiesFilter]
    state str
    The current state of the ODA Private Endpoint Scan Proxy.
    id String
    The provider-assigned unique ID for this managed resource.
    odaPrivateEndpointId String
    odaPrivateEndpointScanProxyCollections List<Property Map>
    The list of oda_private_endpoint_scan_proxy_collection.
    filters List<Property Map>
    state String
    The current state of the ODA Private Endpoint Scan Proxy.

    Supporting Types

    GetOdaPrivateEndpointScanProxiesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollection

    GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItem

    Id string
    The OCID of the ODA Private Endpoint Scan Proxy.
    OdaPrivateEndpointId string
    Unique ODA Private Endpoint identifier which is the OCID.
    Protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    ScanListenerInfos List<GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfo>
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    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
    Unique ODA Private Endpoint identifier which is the OCID.
    Protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    ScanListenerInfos []GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfo
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    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
    Unique ODA Private Endpoint identifier which is the OCID.
    protocol String
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scanListenerInfos List<GetPrivateEndpointScanProxiesPrivateEndpointScanProxyCollectionItemScanListenerInfo>
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    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
    Unique ODA Private Endpoint identifier which is the OCID.
    protocol string
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scanListenerInfos GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfo[]
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    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
    Unique ODA Private Endpoint identifier which is the OCID.
    protocol str
    The protocol used for communication between client, scanProxy and RAC's scan listeners
    scan_listener_infos Sequence[oda.GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfo]
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    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
    Unique ODA Private Endpoint identifier which is the OCID.
    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
    List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state.
    timeCreated String
    When the resource was created. A date-time string as described in RFC 3339, section 14.29.

    GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfo

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi