import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Analytics Instance Vanity Url resource in Oracle Cloud Infrastructure Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/analytics/latest/AnalyticsInstanceVanityUrl * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/analytics * * Allows you to specify a custom host name to be used to access the Analytics instance. You must set up a DNS entry and certificate for this host in advance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAnalyticsInstanceVanityUrl = new oci.analytics.AnalyticsInstanceVanityUrl("test_analytics_instance_vanity_url", { * analyticsInstanceId: testAnalyticsInstance.id, * caCertificate: analyticsInstanceVanityUrlCaCertificate, * hosts: analyticsInstanceVanityUrlHosts, * privateKey: analyticsInstanceVanityUrlPrivateKey, * publicCertificate: analyticsInstanceVanityUrlPublicCertificate, * description: analyticsInstanceVanityUrlDescription, * passphrase: analyticsInstanceVanityUrlPassphrase, * }); * ``` * * ## Import * * AnalyticsInstanceVanityUrls can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Analytics/analyticsInstanceVanityUrl:AnalyticsInstanceVanityUrl test_analytics_instance_vanity_url "analyticsInstances/{analyticsInstanceId}/vanityUrls/{vanityUrlKey}" * ``` */ export declare class AnalyticsInstanceVanityUrl extends pulumi.CustomResource { /** * Get an existing AnalyticsInstanceVanityUrl 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?: AnalyticsInstanceVanityUrlState, opts?: pulumi.CustomResourceOptions): AnalyticsInstanceVanityUrl; /** * Returns true if the given object is an instance of AnalyticsInstanceVanityUrl. 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 AnalyticsInstanceVanityUrl; /** * The OCID of the Analytics instance. */ readonly analyticsInstanceId: pulumi.Output; /** * (Updatable) PEM CA certificates for HTTPS connections. This may include multiple PEM certificates. */ readonly caCertificate: pulumi.Output; /** * Optional description. */ readonly description: pulumi.Output; /** * List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3). */ readonly hosts: pulumi.Output; /** * (Updatable) Passphrase for the PEM private key (if any). */ readonly passphrase: pulumi.Output; /** * (Updatable) PEM private key for HTTPS connections. */ readonly privateKey: pulumi.Output; /** * (Updatable) PEM certificate for HTTPS connections. * * ** 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 publicCertificate: pulumi.Output; /** * Create a AnalyticsInstanceVanityUrl 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: AnalyticsInstanceVanityUrlArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AnalyticsInstanceVanityUrl resources. */ export interface AnalyticsInstanceVanityUrlState { /** * The OCID of the Analytics instance. */ analyticsInstanceId?: pulumi.Input; /** * (Updatable) PEM CA certificates for HTTPS connections. This may include multiple PEM certificates. */ caCertificate?: pulumi.Input; /** * Optional description. */ description?: pulumi.Input; /** * List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3). */ hosts?: pulumi.Input[] | undefined>; /** * (Updatable) Passphrase for the PEM private key (if any). */ passphrase?: pulumi.Input; /** * (Updatable) PEM private key for HTTPS connections. */ privateKey?: pulumi.Input; /** * (Updatable) PEM certificate for HTTPS connections. * * ** 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 */ publicCertificate?: pulumi.Input; } /** * The set of arguments for constructing a AnalyticsInstanceVanityUrl resource. */ export interface AnalyticsInstanceVanityUrlArgs { /** * The OCID of the Analytics instance. */ analyticsInstanceId: pulumi.Input; /** * (Updatable) PEM CA certificates for HTTPS connections. This may include multiple PEM certificates. */ caCertificate: pulumi.Input; /** * Optional description. */ description?: pulumi.Input; /** * List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3). */ hosts: pulumi.Input[]>; /** * (Updatable) Passphrase for the PEM private key (if any). */ passphrase?: pulumi.Input; /** * (Updatable) PEM private key for HTTPS connections. */ privateKey: pulumi.Input; /** * (Updatable) PEM certificate for HTTPS connections. * * ** 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 */ publicCertificate: pulumi.Input; } //# sourceMappingURL=analyticsInstanceVanityUrl.d.ts.map