Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Analytics.getAnalyticsInstancePrivateAccessChannel
Explore with Pulumi AI
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:
- Analytics
Instance stringId - The OCID of the AnalyticsInstance.
- Private
Access stringChannel Key - The unique identifier key of the Private Access Channel.
- Analytics
Instance stringId - The OCID of the AnalyticsInstance.
- Private
Access stringChannel Key - The unique identifier key of the Private Access Channel.
- analytics
Instance StringId - The OCID of the AnalyticsInstance.
- private
Access StringChannel Key - The unique identifier key of the Private Access Channel.
- analytics
Instance stringId - The OCID of the AnalyticsInstance.
- private
Access stringChannel Key - The unique identifier key of the Private Access Channel.
- analytics_
instance_ strid - The OCID of the AnalyticsInstance.
- private_
access_ strchannel_ key - The unique identifier key of the Private Access Channel.
- analytics
Instance StringId - The OCID of the AnalyticsInstance.
- private
Access StringChannel Key - The unique identifier key of the Private Access Channel.
getAnalyticsInstancePrivateAccessChannel Result
The following output properties are available:
- Analytics
Instance stringId - Display
Name string - Display Name of the Private Access Channel.
- Egress
Source List<string>Ip Addresses - 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
- Ip
Address string - IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- Network
Security List<string>Group Ids - Network Security Group OCIDs for an Analytics instance.
- Private
Access stringChannel Key - Private
Source List<GetDns Zones Analytics Instance Private Access Channel Private Source Dns Zone> - 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 List<GetScan Hosts Analytics Instance Private Access Channel Private Source Scan Host> - List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- Subnet
Id string - OCID of the customer subnet connected to private access channel.
- Vcn
Id string - OCID of the customer VCN peered with private access channel.
- Analytics
Instance stringId - Display
Name string - Display Name of the Private Access Channel.
- Egress
Source []stringIp Addresses - 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
- Ip
Address string - IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- Network
Security []stringGroup Ids - Network Security Group OCIDs for an Analytics instance.
- Private
Access stringChannel Key - Private
Source []GetDns Zones Analytics Instance Private Access Channel Private Source Dns Zone - 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 []GetScan Hosts Analytics Instance Private Access Channel Private Source Scan Host - List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- Subnet
Id string - OCID of the customer subnet connected to private access channel.
- Vcn
Id string - OCID of the customer VCN peered with private access channel.
- analytics
Instance StringId - display
Name String - Display Name of the Private Access Channel.
- egress
Source List<String>Ip Addresses - 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
- ip
Address String - IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
- network
Security List<String>Group Ids - Network Security Group OCIDs for an Analytics instance.
- private
Access StringChannel Key - private
Source List<GetDns Zones Instance Private Access Channel Private Source Dns Zone> - 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 List<GetScan Hosts Instance Private Access Channel Private Source Scan Host> - List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnet
Id String - OCID of the customer subnet connected to private access channel.
- vcn
Id String - OCID of the customer VCN peered with private access channel.
- analytics
Instance stringId - display
Name string - Display Name of the Private Access Channel.
- egress
Source string[]Ip Addresses - 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
- ip
Address string - IP Address of the Private Access channel.
- key string
- Private Access Channel unique identifier key.
- network
Security string[]Group Ids - Network Security Group OCIDs for an Analytics instance.
- private
Access stringChannel Key - private
Source GetDns Zones Analytics Instance Private Access Channel Private Source Dns Zone[] - 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 GetScan Hosts Analytics Instance Private Access Channel Private Source Scan Host[] - List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnet
Id string - OCID of the customer subnet connected to private access channel.
- vcn
Id string - OCID of the customer VCN peered with private access channel.
- analytics_
instance_ strid - display_
name str - Display Name of the Private Access Channel.
- egress_
source_ Sequence[str]ip_ addresses - 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_ Sequence[str]group_ ids - Network Security Group OCIDs for an Analytics instance.
- private_
access_ strchannel_ key - private_
source_ Sequence[analytics.dns_ zones Get Analytics Instance Private Access Channel Private Source Dns Zone] - 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_ Sequence[analytics.scan_ hosts Get Analytics Instance Private Access Channel Private Source Scan Host] - 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.
- analytics
Instance StringId - display
Name String - Display Name of the Private Access Channel.
- egress
Source List<String>Ip Addresses - 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
- ip
Address String - IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
- network
Security List<String>Group Ids - Network Security Group OCIDs for an Analytics instance.
- private
Access StringChannel Key - private
Source List<Property Map>Dns Zones - 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 List<Property Map>Scan Hosts - List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnet
Id String - OCID of the customer subnet connected to private access channel.
- vcn
Id String - OCID of the customer VCN peered with private access channel.
Supporting Types
GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone
- Description string
- Description of private source scan host zone.
- Dns
Zone string - Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- Description string
- Description of private source scan host zone.
- Dns
Zone string - Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description String
- Description of private source scan host zone.
- dns
Zone String - Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description string
- Description of private source scan host zone.
- dns
Zone 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.
- dns
Zone String - Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHost
- Description string
- Description of private source scan host zone.
- Scan
Hostname string - 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.
- Scan
Hostname string - 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.
- scan
Hostname String - Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scan
Port 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.
- scan
Hostname string - Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scan
Port 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.
- scan
Hostname String - Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scan
Port 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.