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

oci.Analytics.getAnalyticsInstancePrivateAccessChannel

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 Analytics Instance Private Access Channel resource in Oracle Cloud Infrastructure Analytics service.

    Retrieve private access channel in the specified Analytics Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAnalyticsInstancePrivateAccessChannel = oci.Analytics.getAnalyticsInstancePrivateAccessChannel({
        analyticsInstanceId: testAnalyticsInstance.id,
        privateAccessChannelKey: analyticsInstancePrivateAccessChannelPrivateAccessChannelKey,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_analytics_instance_private_access_channel = oci.Analytics.get_analytics_instance_private_access_channel(analytics_instance_id=test_analytics_instance["id"],
        private_access_channel_key=analytics_instance_private_access_channel_private_access_channel_key)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Analytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Analytics.GetAnalyticsInstancePrivateAccessChannel(ctx, &analytics.GetAnalyticsInstancePrivateAccessChannelArgs{
    			AnalyticsInstanceId:     testAnalyticsInstance.Id,
    			PrivateAccessChannelKey: analyticsInstancePrivateAccessChannelPrivateAccessChannelKey,
    		}, 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 testAnalyticsInstancePrivateAccessChannel = Oci.Analytics.GetAnalyticsInstancePrivateAccessChannel.Invoke(new()
        {
            AnalyticsInstanceId = testAnalyticsInstance.Id,
            PrivateAccessChannelKey = analyticsInstancePrivateAccessChannelPrivateAccessChannelKey,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Analytics.AnalyticsFunctions;
    import com.pulumi.oci.Analytics.inputs.GetAnalyticsInstancePrivateAccessChannelArgs;
    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 testAnalyticsInstancePrivateAccessChannel = AnalyticsFunctions.getAnalyticsInstancePrivateAccessChannel(GetAnalyticsInstancePrivateAccessChannelArgs.builder()
                .analyticsInstanceId(testAnalyticsInstance.id())
                .privateAccessChannelKey(analyticsInstancePrivateAccessChannelPrivateAccessChannelKey)
                .build());
    
        }
    }
    
    variables:
      testAnalyticsInstancePrivateAccessChannel:
        fn::invoke:
          Function: oci:Analytics:getAnalyticsInstancePrivateAccessChannel
          Arguments:
            analyticsInstanceId: ${testAnalyticsInstance.id}
            privateAccessChannelKey: ${analyticsInstancePrivateAccessChannelPrivateAccessChannelKey}
    

    Using getAnalyticsInstancePrivateAccessChannel

    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 getAnalyticsInstancePrivateAccessChannel(args: GetAnalyticsInstancePrivateAccessChannelArgs, opts?: InvokeOptions): Promise<GetAnalyticsInstancePrivateAccessChannelResult>
    function getAnalyticsInstancePrivateAccessChannelOutput(args: GetAnalyticsInstancePrivateAccessChannelOutputArgs, opts?: InvokeOptions): Output<GetAnalyticsInstancePrivateAccessChannelResult>
    def get_analytics_instance_private_access_channel(analytics_instance_id: Optional[str] = None,
                                                      private_access_channel_key: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetAnalyticsInstancePrivateAccessChannelResult
    def get_analytics_instance_private_access_channel_output(analytics_instance_id: Optional[pulumi.Input[str]] = None,
                                                      private_access_channel_key: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetAnalyticsInstancePrivateAccessChannelResult]
    func GetAnalyticsInstancePrivateAccessChannel(ctx *Context, args *GetAnalyticsInstancePrivateAccessChannelArgs, opts ...InvokeOption) (*GetAnalyticsInstancePrivateAccessChannelResult, error)
    func GetAnalyticsInstancePrivateAccessChannelOutput(ctx *Context, args *GetAnalyticsInstancePrivateAccessChannelOutputArgs, opts ...InvokeOption) GetAnalyticsInstancePrivateAccessChannelResultOutput

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

    public static class GetAnalyticsInstancePrivateAccessChannel 
    {
        public static Task<GetAnalyticsInstancePrivateAccessChannelResult> InvokeAsync(GetAnalyticsInstancePrivateAccessChannelArgs args, InvokeOptions? opts = null)
        public static Output<GetAnalyticsInstancePrivateAccessChannelResult> Invoke(GetAnalyticsInstancePrivateAccessChannelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnalyticsInstancePrivateAccessChannelResult> getAnalyticsInstancePrivateAccessChannel(GetAnalyticsInstancePrivateAccessChannelArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Analytics/getAnalyticsInstancePrivateAccessChannel:getAnalyticsInstancePrivateAccessChannel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AnalyticsInstanceId string
    The OCID of the AnalyticsInstance.
    PrivateAccessChannelKey string
    The unique identifier key of the Private Access Channel.
    AnalyticsInstanceId string
    The OCID of the AnalyticsInstance.
    PrivateAccessChannelKey string
    The unique identifier key of the Private Access Channel.
    analyticsInstanceId String
    The OCID of the AnalyticsInstance.
    privateAccessChannelKey String
    The unique identifier key of the Private Access Channel.
    analyticsInstanceId string
    The OCID of the AnalyticsInstance.
    privateAccessChannelKey string
    The unique identifier key of the Private Access Channel.
    analytics_instance_id str
    The OCID of the AnalyticsInstance.
    private_access_channel_key str
    The unique identifier key of the Private Access Channel.
    analyticsInstanceId String
    The OCID of the AnalyticsInstance.
    privateAccessChannelKey String
    The unique identifier key of the Private Access Channel.

    getAnalyticsInstancePrivateAccessChannel Result

    The following output properties are available:

    AnalyticsInstanceId string
    DisplayName string
    Display Name of the Private Access Channel.
    EgressSourceIpAddresses List<string>
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    Id string
    IpAddress string
    IP Address of the Private Access channel.
    Key string
    Private Access Channel unique identifier key.
    NetworkSecurityGroupIds List<string>
    Network Security Group OCIDs for an Analytics instance.
    PrivateAccessChannelKey string
    PrivateSourceDnsZones List<GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone>
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    PrivateSourceScanHosts List<GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost>
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    SubnetId string
    OCID of the customer subnet connected to private access channel.
    VcnId string
    OCID of the customer VCN peered with private access channel.
    AnalyticsInstanceId string
    DisplayName string
    Display Name of the Private Access Channel.
    EgressSourceIpAddresses []string
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    Id string
    IpAddress string
    IP Address of the Private Access channel.
    Key string
    Private Access Channel unique identifier key.
    NetworkSecurityGroupIds []string
    Network Security Group OCIDs for an Analytics instance.
    PrivateAccessChannelKey string
    PrivateSourceDnsZones []GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    PrivateSourceScanHosts []GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    SubnetId string
    OCID of the customer subnet connected to private access channel.
    VcnId string
    OCID of the customer VCN peered with private access channel.
    analyticsInstanceId String
    displayName String
    Display Name of the Private Access Channel.
    egressSourceIpAddresses List<String>
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    id String
    ipAddress String
    IP Address of the Private Access channel.
    key String
    Private Access Channel unique identifier key.
    networkSecurityGroupIds List<String>
    Network Security Group OCIDs for an Analytics instance.
    privateAccessChannelKey String
    privateSourceDnsZones List<GetInstancePrivateAccessChannelPrivateSourceDnsZone>
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    privateSourceScanHosts List<GetInstancePrivateAccessChannelPrivateSourceScanHost>
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    subnetId String
    OCID of the customer subnet connected to private access channel.
    vcnId String
    OCID of the customer VCN peered with private access channel.
    analyticsInstanceId string
    displayName string
    Display Name of the Private Access Channel.
    egressSourceIpAddresses string[]
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    id string
    ipAddress string
    IP Address of the Private Access channel.
    key string
    Private Access Channel unique identifier key.
    networkSecurityGroupIds string[]
    Network Security Group OCIDs for an Analytics instance.
    privateAccessChannelKey string
    privateSourceDnsZones GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone[]
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    privateSourceScanHosts GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost[]
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    subnetId string
    OCID of the customer subnet connected to private access channel.
    vcnId string
    OCID of the customer VCN peered with private access channel.
    analytics_instance_id str
    display_name str
    Display Name of the Private Access Channel.
    egress_source_ip_addresses Sequence[str]
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    id str
    ip_address str
    IP Address of the Private Access channel.
    key str
    Private Access Channel unique identifier key.
    network_security_group_ids Sequence[str]
    Network Security Group OCIDs for an Analytics instance.
    private_access_channel_key str
    private_source_dns_zones Sequence[analytics.GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone]
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    private_source_scan_hosts Sequence[analytics.GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost]
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    subnet_id str
    OCID of the customer subnet connected to private access channel.
    vcn_id str
    OCID of the customer VCN peered with private access channel.
    analyticsInstanceId String
    displayName String
    Display Name of the Private Access Channel.
    egressSourceIpAddresses List<String>
    The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel for network traffic from the AnalyticsInstance to Private Sources.
    id String
    ipAddress String
    IP Address of the Private Access channel.
    key String
    Private Access Channel unique identifier key.
    networkSecurityGroupIds List<String>
    Network Security Group OCIDs for an Analytics instance.
    privateAccessChannelKey String
    privateSourceDnsZones List<Property Map>
    List of Private Source DNS zones registered with Private Access Channel, where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance. Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
    privateSourceScanHosts List<Property Map>
    List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
    subnetId String
    OCID of the customer subnet connected to private access channel.
    vcnId String
    OCID of the customer VCN peered with private access channel.

    Supporting Types

    GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone

    Description string
    Description of private source scan host zone.
    DnsZone string
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
    Description string
    Description of private source scan host zone.
    DnsZone string
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
    description String
    Description of private source scan host zone.
    dnsZone String
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
    description string
    Description of private source scan host zone.
    dnsZone string
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
    description str
    Description of private source scan host zone.
    dns_zone str
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
    description String
    Description of private source scan host zone.
    dnsZone String
    Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.

    GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost

    Description string
    Description of private source scan host zone.
    ScanHostname string
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    ScanPort int
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
    Description string
    Description of private source scan host zone.
    ScanHostname string
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    ScanPort int
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
    description String
    Description of private source scan host zone.
    scanHostname String
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    scanPort Integer
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
    description string
    Description of private source scan host zone.
    scanHostname string
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    scanPort number
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
    description str
    Description of private source scan host zone.
    scan_hostname str
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    scan_port int
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
    description String
    Description of private source scan host zone.
    scanHostname String
    Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
    scanPort Number
    Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).

    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