import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Analytics Instance Private Access Channel resource in Oracle Cloud Infrastructure Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/analytics/latest/AnalyticsInstancePrivateAccessChannel * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/analytics * * Create a Private access Channel for the Analytics instance. The operation is long-running * and creates a new WorkRequest. * * ## Example Usage * * ```typescript * 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: Number(analyticsInstancePrivateAccessChannelPrivateSourceScanHostsScanPort), * description: analyticsInstancePrivateAccessChannelPrivateSourceScanHostsDescription, * }], * }); * ``` * * ## Import * * AnalyticsInstancePrivateAccessChannels can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Analytics/analyticsInstancePrivateAccessChannel:AnalyticsInstancePrivateAccessChannel test_analytics_instance_private_access_channel "analyticsInstances/{analyticsInstanceId}/privateAccessChannels/{privateAccessChannelKey}" * ``` */ export declare class AnalyticsInstancePrivateAccessChannel extends pulumi.CustomResource { /** * Get an existing AnalyticsInstancePrivateAccessChannel resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AnalyticsInstancePrivateAccessChannelState, opts?: pulumi.CustomResourceOptions): AnalyticsInstancePrivateAccessChannel; /** * Returns true if the given object is an instance of AnalyticsInstancePrivateAccessChannel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AnalyticsInstancePrivateAccessChannel; /** * The OCID of the Analytics instance. */ readonly analyticsInstanceId: pulumi.Output; /** * (Updatable) Display name of the private access channel. */ readonly displayName: pulumi.Output; /** * List of IP addresses from the customer subnet connected to the private access channel, used as a source IP by the private access channel for network traffic from the Analytics instance to the private sources. */ readonly egressSourceIpAddresses: pulumi.Output; /** * IP address of the private access channel. */ readonly ipAddress: pulumi.Output; /** * Private access channel unique identifier key. */ readonly key: pulumi.Output; /** * (Updatable) Network Security Group OCIDs for the Analytics instance. */ readonly networkSecurityGroupIds: pulumi.Output; /** * (Updatable) List of private source DNS zones registered with the private access channel. The datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance. Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered. */ readonly privateSourceDnsZones: pulumi.Output; /** * (Updatable) List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance. */ readonly privateSourceScanHosts: pulumi.Output; /** * (Updatable) OCID of the customer subnet connected to the private access channel. */ readonly subnetId: pulumi.Output; /** * (Updatable) OCID of the customer VCN peered with the 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 */ readonly vcnId: pulumi.Output; /** * Create a AnalyticsInstancePrivateAccessChannel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AnalyticsInstancePrivateAccessChannelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AnalyticsInstancePrivateAccessChannel resources. */ export interface AnalyticsInstancePrivateAccessChannelState { /** * The OCID of the Analytics instance. */ analyticsInstanceId?: pulumi.Input; /** * (Updatable) Display name of the private access channel. */ displayName?: pulumi.Input; /** * List of IP addresses from the customer subnet connected to the private access channel, used as a source IP by the private access channel for network traffic from the Analytics instance to the private sources. */ egressSourceIpAddresses?: pulumi.Input[] | undefined>; /** * IP address of the private access channel. */ ipAddress?: pulumi.Input; /** * Private access channel unique identifier key. */ key?: pulumi.Input; /** * (Updatable) Network Security Group OCIDs for the Analytics instance. */ networkSecurityGroupIds?: pulumi.Input[] | undefined>; /** * (Updatable) List of private source DNS zones registered with the private access channel. The datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance. Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered. */ privateSourceDnsZones?: pulumi.Input[] | undefined>; /** * (Updatable) List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance. */ privateSourceScanHosts?: pulumi.Input[] | undefined>; /** * (Updatable) OCID of the customer subnet connected to the private access channel. */ subnetId?: pulumi.Input; /** * (Updatable) OCID of the customer VCN peered with the 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 */ vcnId?: pulumi.Input; } /** * The set of arguments for constructing a AnalyticsInstancePrivateAccessChannel resource. */ export interface AnalyticsInstancePrivateAccessChannelArgs { /** * The OCID of the Analytics instance. */ analyticsInstanceId: pulumi.Input; /** * (Updatable) Display name of the private access channel. */ displayName: pulumi.Input; /** * (Updatable) Network Security Group OCIDs for the Analytics instance. */ networkSecurityGroupIds?: pulumi.Input[] | undefined>; /** * (Updatable) List of private source DNS zones registered with the private access channel. The datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance. Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered. */ privateSourceDnsZones: pulumi.Input[]>; /** * (Updatable) List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance. */ privateSourceScanHosts?: pulumi.Input[] | undefined>; /** * (Updatable) OCID of the customer subnet connected to the private access channel. */ subnetId: pulumi.Input; /** * (Updatable) OCID of the customer VCN peered with the 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 */ vcnId: pulumi.Input; } //# sourceMappingURL=analyticsInstancePrivateAccessChannel.d.ts.map