oci.Analytics.AnalyticsInstancePrivateAccessChannel
Explore with Pulumi AI
This resource provides the Analytics Instance Private Access Channel resource in Oracle Cloud Infrastructure Analytics service.
Create a Private access Channel for the Analytics instance. The operation is long-running and creates a new WorkRequest.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAnalyticsInstancePrivateAccessChannel = new oci.analytics.AnalyticsInstancePrivateAccessChannel("test_analytics_instance_private_access_channel", {
    analyticsInstanceId: testAnalyticsInstance.id,
    displayName: analyticsInstancePrivateAccessChannelDisplayName,
    privateSourceDnsZones: [{
        dnsZone: analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDnsZone,
        description: analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDescription,
    }],
    subnetId: testSubnet.id,
    vcnId: testVcn.id,
    networkSecurityGroupIds: analyticsInstancePrivateAccessChannelNetworkSecurityGroupIds,
    privateSourceScanHosts: [{
        scanHostname: analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanHostname,
        scanPort: analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort,
        description: analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription,
    }],
});
import pulumi
import pulumi_oci as oci
test_analytics_instance_private_access_channel = oci.analytics.AnalyticsInstancePrivateAccessChannel("test_analytics_instance_private_access_channel",
    analytics_instance_id=test_analytics_instance["id"],
    display_name=analytics_instance_private_access_channel_display_name,
    private_source_dns_zones=[{
        "dns_zone": analytics_instance_private_access_channel_private_source_dns_zones_dns_zone,
        "description": analytics_instance_private_access_channel_private_source_dns_zones_description,
    }],
    subnet_id=test_subnet["id"],
    vcn_id=test_vcn["id"],
    network_security_group_ids=analytics_instance_private_access_channel_network_security_group_ids,
    private_source_scan_hosts=[{
        "scan_hostname": analytics_instance_private_access_channel_private_source_scan_hosts_scan_hostname,
        "scan_port": analytics_instance_private_access_channel_private_source_scan_hosts_scan_port,
        "description": analytics_instance_private_access_channel_private_source_scan_hosts_description,
    }])
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.NewAnalyticsInstancePrivateAccessChannel(ctx, "test_analytics_instance_private_access_channel", &analytics.AnalyticsInstancePrivateAccessChannelArgs{
			AnalyticsInstanceId: pulumi.Any(testAnalyticsInstance.Id),
			DisplayName:         pulumi.Any(analyticsInstancePrivateAccessChannelDisplayName),
			PrivateSourceDnsZones: analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArray{
				&analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs{
					DnsZone:     pulumi.Any(analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDnsZone),
					Description: pulumi.Any(analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDescription),
				},
			},
			SubnetId:                pulumi.Any(testSubnet.Id),
			VcnId:                   pulumi.Any(testVcn.Id),
			NetworkSecurityGroupIds: pulumi.Any(analyticsInstancePrivateAccessChannelNetworkSecurityGroupIds),
			PrivateSourceScanHosts: analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArray{
				&analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs{
					ScanHostname: pulumi.Any(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanHostname),
					ScanPort:     pulumi.Any(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort),
					Description:  pulumi.Any(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription),
				},
			},
		})
		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 = new Oci.Analytics.AnalyticsInstancePrivateAccessChannel("test_analytics_instance_private_access_channel", new()
    {
        AnalyticsInstanceId = testAnalyticsInstance.Id,
        DisplayName = analyticsInstancePrivateAccessChannelDisplayName,
        PrivateSourceDnsZones = new[]
        {
            new Oci.Analytics.Inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs
            {
                DnsZone = analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDnsZone,
                Description = analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDescription,
            },
        },
        SubnetId = testSubnet.Id,
        VcnId = testVcn.Id,
        NetworkSecurityGroupIds = analyticsInstancePrivateAccessChannelNetworkSecurityGroupIds,
        PrivateSourceScanHosts = new[]
        {
            new Oci.Analytics.Inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs
            {
                ScanHostname = analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanHostname,
                ScanPort = analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort,
                Description = analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Analytics.AnalyticsInstancePrivateAccessChannel;
import com.pulumi.oci.Analytics.AnalyticsInstancePrivateAccessChannelArgs;
import com.pulumi.oci.Analytics.inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs;
import com.pulumi.oci.Analytics.inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs;
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) {
        var testAnalyticsInstancePrivateAccessChannel = new AnalyticsInstancePrivateAccessChannel("testAnalyticsInstancePrivateAccessChannel", AnalyticsInstancePrivateAccessChannelArgs.builder()
            .analyticsInstanceId(testAnalyticsInstance.id())
            .displayName(analyticsInstancePrivateAccessChannelDisplayName)
            .privateSourceDnsZones(AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs.builder()
                .dnsZone(analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDnsZone)
                .description(analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDescription)
                .build())
            .subnetId(testSubnet.id())
            .vcnId(testVcn.id())
            .networkSecurityGroupIds(analyticsInstancePrivateAccessChannelNetworkSecurityGroupIds)
            .privateSourceScanHosts(AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs.builder()
                .scanHostname(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanHostname)
                .scanPort(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort)
                .description(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription)
                .build())
            .build());
    }
}
resources:
  testAnalyticsInstancePrivateAccessChannel:
    type: oci:Analytics:AnalyticsInstancePrivateAccessChannel
    name: test_analytics_instance_private_access_channel
    properties:
      analyticsInstanceId: ${testAnalyticsInstance.id}
      displayName: ${analyticsInstancePrivateAccessChannelDisplayName}
      privateSourceDnsZones:
        - dnsZone: ${analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDnsZone}
          description: ${analyticsInstancePrivateAccessChannelPrivateSourceDnsZonesDescription}
      subnetId: ${testSubnet.id}
      vcnId: ${testVcn.id}
      networkSecurityGroupIds: ${analyticsInstancePrivateAccessChannelNetworkSecurityGroupIds}
      privateSourceScanHosts:
        - scanHostname: ${analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanHostname}
          scanPort: ${analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort}
          description: ${analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription}
Create AnalyticsInstancePrivateAccessChannel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AnalyticsInstancePrivateAccessChannel(name: string, args: AnalyticsInstancePrivateAccessChannelArgs, opts?: CustomResourceOptions);@overload
def AnalyticsInstancePrivateAccessChannel(resource_name: str,
                                          args: AnalyticsInstancePrivateAccessChannelArgs,
                                          opts: Optional[ResourceOptions] = None)
@overload
def AnalyticsInstancePrivateAccessChannel(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          analytics_instance_id: Optional[str] = None,
                                          display_name: Optional[str] = None,
                                          private_source_dns_zones: Optional[Sequence[AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs]] = None,
                                          subnet_id: Optional[str] = None,
                                          vcn_id: Optional[str] = None,
                                          network_security_group_ids: Optional[Sequence[str]] = None,
                                          private_source_scan_hosts: Optional[Sequence[AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs]] = None)func NewAnalyticsInstancePrivateAccessChannel(ctx *Context, name string, args AnalyticsInstancePrivateAccessChannelArgs, opts ...ResourceOption) (*AnalyticsInstancePrivateAccessChannel, error)public AnalyticsInstancePrivateAccessChannel(string name, AnalyticsInstancePrivateAccessChannelArgs args, CustomResourceOptions? opts = null)
public AnalyticsInstancePrivateAccessChannel(String name, AnalyticsInstancePrivateAccessChannelArgs args)
public AnalyticsInstancePrivateAccessChannel(String name, AnalyticsInstancePrivateAccessChannelArgs args, CustomResourceOptions options)
type: oci:Analytics:AnalyticsInstancePrivateAccessChannel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AnalyticsInstancePrivateAccessChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AnalyticsInstancePrivateAccessChannelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AnalyticsInstancePrivateAccessChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnalyticsInstancePrivateAccessChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AnalyticsInstancePrivateAccessChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var analyticsInstancePrivateAccessChannelResource = new Oci.Analytics.AnalyticsInstancePrivateAccessChannel("analyticsInstancePrivateAccessChannelResource", new()
{
    AnalyticsInstanceId = "string",
    DisplayName = "string",
    PrivateSourceDnsZones = new[]
    {
        new Oci.Analytics.Inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs
        {
            DnsZone = "string",
            Description = "string",
        },
    },
    SubnetId = "string",
    VcnId = "string",
    NetworkSecurityGroupIds = new[]
    {
        "string",
    },
    PrivateSourceScanHosts = new[]
    {
        new Oci.Analytics.Inputs.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs
        {
            ScanHostname = "string",
            ScanPort = 0,
            Description = "string",
        },
    },
});
example, err := analytics.NewAnalyticsInstancePrivateAccessChannel(ctx, "analyticsInstancePrivateAccessChannelResource", &analytics.AnalyticsInstancePrivateAccessChannelArgs{
	AnalyticsInstanceId: pulumi.String("string"),
	DisplayName:         pulumi.String("string"),
	PrivateSourceDnsZones: analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArray{
		&analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs{
			DnsZone:     pulumi.String("string"),
			Description: pulumi.String("string"),
		},
	},
	SubnetId: pulumi.String("string"),
	VcnId:    pulumi.String("string"),
	NetworkSecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	PrivateSourceScanHosts: analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArray{
		&analytics.AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs{
			ScanHostname: pulumi.String("string"),
			ScanPort:     pulumi.Int(0),
			Description:  pulumi.String("string"),
		},
	},
})
var analyticsInstancePrivateAccessChannelResource = new AnalyticsInstancePrivateAccessChannel("analyticsInstancePrivateAccessChannelResource", AnalyticsInstancePrivateAccessChannelArgs.builder()
    .analyticsInstanceId("string")
    .displayName("string")
    .privateSourceDnsZones(AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs.builder()
        .dnsZone("string")
        .description("string")
        .build())
    .subnetId("string")
    .vcnId("string")
    .networkSecurityGroupIds("string")
    .privateSourceScanHosts(AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs.builder()
        .scanHostname("string")
        .scanPort(0)
        .description("string")
        .build())
    .build());
analytics_instance_private_access_channel_resource = oci.analytics.AnalyticsInstancePrivateAccessChannel("analyticsInstancePrivateAccessChannelResource",
    analytics_instance_id="string",
    display_name="string",
    private_source_dns_zones=[{
        "dns_zone": "string",
        "description": "string",
    }],
    subnet_id="string",
    vcn_id="string",
    network_security_group_ids=["string"],
    private_source_scan_hosts=[{
        "scan_hostname": "string",
        "scan_port": 0,
        "description": "string",
    }])
const analyticsInstancePrivateAccessChannelResource = new oci.analytics.AnalyticsInstancePrivateAccessChannel("analyticsInstancePrivateAccessChannelResource", {
    analyticsInstanceId: "string",
    displayName: "string",
    privateSourceDnsZones: [{
        dnsZone: "string",
        description: "string",
    }],
    subnetId: "string",
    vcnId: "string",
    networkSecurityGroupIds: ["string"],
    privateSourceScanHosts: [{
        scanHostname: "string",
        scanPort: 0,
        description: "string",
    }],
});
type: oci:Analytics:AnalyticsInstancePrivateAccessChannel
properties:
    analyticsInstanceId: string
    displayName: string
    networkSecurityGroupIds:
        - string
    privateSourceDnsZones:
        - description: string
          dnsZone: string
    privateSourceScanHosts:
        - description: string
          scanHostname: string
          scanPort: 0
    subnetId: string
    vcnId: string
AnalyticsInstancePrivateAccessChannel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AnalyticsInstancePrivateAccessChannel resource accepts the following input properties:
- AnalyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- DisplayName string
- (Updatable) Display Name of the Private Access Channel.
- PrivateSource List<AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone> 
- (Updatable) 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.
- SubnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- VcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- NetworkSecurity List<string>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- PrivateSource List<AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host> 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- AnalyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- DisplayName string
- (Updatable) Display Name of the Private Access Channel.
- PrivateSource []AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone Args 
- (Updatable) 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.
- SubnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- VcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- NetworkSecurity []stringGroup Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- PrivateSource []AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host Args 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- analyticsInstance StringId 
- The OCID of the AnalyticsInstance.
- displayName String
- (Updatable) Display Name of the Private Access Channel.
- privateSource List<InstanceDns Zones Private Access Channel Private Source Dns Zone> 
- (Updatable) 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.
- subnetId String
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId String
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- networkSecurity List<String>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource List<InstanceScan Hosts Private Access Channel Private Source Scan Host> 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- analyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- displayName string
- (Updatable) Display Name of the Private Access Channel.
- privateSource AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone[] 
- (Updatable) 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.
- subnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- networkSecurity string[]Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host[] 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- analytics_instance_ strid 
- The OCID of the AnalyticsInstance.
- display_name str
- (Updatable) Display Name of the Private Access Channel.
- private_source_ Sequence[Analyticsdns_ zones Instance Private Access Channel Private Source Dns Zone Args] 
- (Updatable) 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.
- subnet_id str
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcn_id str
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- network_security_ Sequence[str]group_ ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- private_source_ Sequence[Analyticsscan_ hosts Instance Private Access Channel Private Source Scan Host Args] 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- analyticsInstance StringId 
- The OCID of the AnalyticsInstance.
- displayName String
- (Updatable) Display Name of the Private Access Channel.
- privateSource List<Property Map>Dns Zones 
- (Updatable) 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.
- subnetId String
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId String
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- networkSecurity List<String>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource List<Property Map>Scan Hosts 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the AnalyticsInstancePrivateAccessChannel resource produces the following output properties:
- EgressSource 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
- The provider-assigned unique ID for this managed resource.
- IpAddress string
- IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- EgressSource []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
- The provider-assigned unique ID for this managed resource.
- IpAddress string
- IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- egressSource 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
- The provider-assigned unique ID for this managed resource.
- ipAddress String
- IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
- egressSource 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
- The provider-assigned unique ID for this managed resource.
- ipAddress string
- IP Address of the Private Access channel.
- key string
- Private Access Channel unique identifier key.
- 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
- The provider-assigned unique ID for this managed resource.
- ip_address str
- IP Address of the Private Access channel.
- key str
- Private Access Channel unique identifier key.
- egressSource 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
- The provider-assigned unique ID for this managed resource.
- ipAddress String
- IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
Look up Existing AnalyticsInstancePrivateAccessChannel Resource
Get an existing AnalyticsInstancePrivateAccessChannel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AnalyticsInstancePrivateAccessChannelState, opts?: CustomResourceOptions): AnalyticsInstancePrivateAccessChannel@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        analytics_instance_id: Optional[str] = None,
        display_name: Optional[str] = None,
        egress_source_ip_addresses: Optional[Sequence[str]] = None,
        ip_address: Optional[str] = None,
        key: Optional[str] = None,
        network_security_group_ids: Optional[Sequence[str]] = None,
        private_source_dns_zones: Optional[Sequence[AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs]] = None,
        private_source_scan_hosts: Optional[Sequence[AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs]] = None,
        subnet_id: Optional[str] = None,
        vcn_id: Optional[str] = None) -> AnalyticsInstancePrivateAccessChannelfunc GetAnalyticsInstancePrivateAccessChannel(ctx *Context, name string, id IDInput, state *AnalyticsInstancePrivateAccessChannelState, opts ...ResourceOption) (*AnalyticsInstancePrivateAccessChannel, error)public static AnalyticsInstancePrivateAccessChannel Get(string name, Input<string> id, AnalyticsInstancePrivateAccessChannelState? state, CustomResourceOptions? opts = null)public static AnalyticsInstancePrivateAccessChannel get(String name, Output<String> id, AnalyticsInstancePrivateAccessChannelState state, CustomResourceOptions options)resources:  _:    type: oci:Analytics:AnalyticsInstancePrivateAccessChannel    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AnalyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- DisplayName string
- (Updatable) Display Name of the Private Access Channel.
- EgressSource 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.
- IpAddress string
- IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- NetworkSecurity List<string>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- PrivateSource List<AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone> 
- (Updatable) 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.
- PrivateSource List<AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host> 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- SubnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- VcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- AnalyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- DisplayName string
- (Updatable) Display Name of the Private Access Channel.
- EgressSource []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.
- IpAddress string
- IP Address of the Private Access channel.
- Key string
- Private Access Channel unique identifier key.
- NetworkSecurity []stringGroup Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- PrivateSource []AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone Args 
- (Updatable) 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.
- PrivateSource []AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host Args 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- SubnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- VcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- analyticsInstance StringId 
- The OCID of the AnalyticsInstance.
- displayName String
- (Updatable) Display Name of the Private Access Channel.
- egressSource 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.
- ipAddress String
- IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
- networkSecurity List<String>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource List<InstanceDns Zones Private Access Channel Private Source Dns Zone> 
- (Updatable) 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.
- privateSource List<InstanceScan Hosts Private Access Channel Private Source Scan Host> 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnetId String
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId String
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- analyticsInstance stringId 
- The OCID of the AnalyticsInstance.
- displayName string
- (Updatable) Display Name of the Private Access Channel.
- egressSource 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.
- ipAddress string
- IP Address of the Private Access channel.
- key string
- Private Access Channel unique identifier key.
- networkSecurity string[]Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource AnalyticsDns Zones Instance Private Access Channel Private Source Dns Zone[] 
- (Updatable) 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.
- privateSource AnalyticsScan Hosts Instance Private Access Channel Private Source Scan Host[] 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnetId string
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId string
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- analytics_instance_ strid 
- The OCID of the AnalyticsInstance.
- display_name str
- (Updatable) 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.
- ip_address str
- IP Address of the Private Access channel.
- key str
- Private Access Channel unique identifier key.
- network_security_ Sequence[str]group_ ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- private_source_ Sequence[Analyticsdns_ zones Instance Private Access Channel Private Source Dns Zone Args] 
- (Updatable) 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[Analyticsscan_ hosts Instance Private Access Channel Private Source Scan Host Args] 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnet_id str
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcn_id str
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- analyticsInstance StringId 
- The OCID of the AnalyticsInstance.
- displayName String
- (Updatable) Display Name of the Private Access Channel.
- egressSource 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.
- ipAddress String
- IP Address of the Private Access channel.
- key String
- Private Access Channel unique identifier key.
- networkSecurity List<String>Group Ids 
- (Updatable) Network Security Group OCIDs for an Analytics instance.
- privateSource List<Property Map>Dns Zones 
- (Updatable) 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.
- privateSource List<Property Map>Scan Hosts 
- (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
- subnetId String
- (Updatable) OCID of the customer subnet connected to private access channel.
- vcnId String
- (Updatable) OCID of the customer VCN peered with private access channel. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
Supporting Types
AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone, AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs                  
- DnsZone string
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- Description string
- (Updatable) Description of private source dns zone.
- DnsZone string
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- Description string
- (Updatable) Description of private source dns zone.
- dnsZone String
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description String
- (Updatable) Description of private source dns zone.
- dnsZone string
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description string
- (Updatable) Description of private source dns zone.
- dns_zone str
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description str
- (Updatable) Description of private source dns zone.
- dnsZone String
- (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
- description String
- (Updatable) Description of private source dns zone.
AnalyticsInstancePrivateAccessChannelPrivateSourceScanHost, AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs                  
- ScanHostname string
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- ScanPort int
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- Description string
- (Updatable) Description of private source scan host zone.
- ScanHostname string
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- ScanPort int
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- Description string
- (Updatable) Description of private source scan host zone.
- scanHostname String
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scanPort Integer
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- description String
- (Updatable) Description of private source scan host zone.
- scanHostname string
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scanPort number
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- description string
- (Updatable) Description of private source scan host zone.
- scan_hostname str
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scan_port int
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- description str
- (Updatable) Description of private source scan host zone.
- scanHostname String
- (Updatable) Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
- scanPort Number
- (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
- description String
- (Updatable) Description of private source scan host zone.
Import
AnalyticsInstancePrivateAccessChannels can be imported using the id, e.g.
$ pulumi import oci:Analytics/analyticsInstancePrivateAccessChannel:AnalyticsInstancePrivateAccessChannel test_analytics_instance_private_access_channel "analyticsInstances/{analyticsInstanceId}/privateAccessChannels/{privateAccessChannelKey}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.