import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "./types";
/**
 * Allows management of [Yandex.Cloud CDN Resource](https://cloud.yandex.ru/docs/cdn/concepts/resource).
 *
 * > **_NOTE:_**  CDN provider must be activated prior usage of CDN resources, either via UI console or via yc cli command: ```yc cdn provider activate --folder-id <folder-id> --type gcore```
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as yandex from "@pulumi/yandex";
 *
 * const myResource = new yandex.CdnResource("myResource", {
 *     cname: "cdn1.yandex-example.ru",
 *     active: false,
 *     originProtocol: "https",
 *     secondaryHostnames: [
 *         "cdn-example-1.yandex.ru",
 *         "cdn-example-2.yandex.ru",
 *     ],
 *     originGroupId: yandex_cdn_origin_group.foo_cdn_group_by_id.id,
 *     options: {
 *         edgeCacheSettings: 345600,
 *         ignoreCookie: true,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * A origin group can be imported using any of these accepted formats
 *
 * ```sh
 *  $ pulumi import yandex:index/cdnResource:CdnResource default origin_group_id
 * ```
 */
export declare class CdnResource extends pulumi.CustomResource {
    /**
     * Get an existing CdnResource 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<pulumi.ID>, state?: CdnResourceState, opts?: pulumi.CustomResourceOptions): CdnResource;
    /**
     * Returns true if the given object is an instance of CdnResource.  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 CdnResource;
    /**
     * Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
     */
    readonly active: pulumi.Output<boolean | undefined>;
    /**
     * CDN endpoint CNAME, must be unique among resources.
     */
    readonly cname: pulumi.Output<string>;
    /**
     * Creation timestamp of the IoT Core Device
     */
    readonly createdAt: pulumi.Output<string>;
    readonly folderId: pulumi.Output<string>;
    /**
     * CDN Resource settings and options to tune CDN edge behavior.
     */
    readonly options: pulumi.Output<outputs.CdnResourceOptions>;
    readonly originGroupId: pulumi.Output<number | undefined>;
    readonly originGroupName: pulumi.Output<string | undefined>;
    readonly originProtocol: pulumi.Output<string | undefined>;
    /**
     * list of secondary hostname strings.
     */
    readonly secondaryHostnames: pulumi.Output<string[] | undefined>;
    readonly sslCertificate: pulumi.Output<outputs.CdnResourceSslCertificate | undefined>;
    readonly updatedAt: pulumi.Output<string>;
    /**
     * Create a CdnResource 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?: CdnResourceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering CdnResource resources.
 */
export interface CdnResourceState {
    /**
     * Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
     */
    active?: pulumi.Input<boolean>;
    /**
     * CDN endpoint CNAME, must be unique among resources.
     */
    cname?: pulumi.Input<string>;
    /**
     * Creation timestamp of the IoT Core Device
     */
    createdAt?: pulumi.Input<string>;
    folderId?: pulumi.Input<string>;
    /**
     * CDN Resource settings and options to tune CDN edge behavior.
     */
    options?: pulumi.Input<inputs.CdnResourceOptions>;
    originGroupId?: pulumi.Input<number>;
    originGroupName?: pulumi.Input<string>;
    originProtocol?: pulumi.Input<string>;
    /**
     * list of secondary hostname strings.
     */
    secondaryHostnames?: pulumi.Input<pulumi.Input<string>[]>;
    sslCertificate?: pulumi.Input<inputs.CdnResourceSslCertificate>;
    updatedAt?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a CdnResource resource.
 */
export interface CdnResourceArgs {
    /**
     * Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
     */
    active?: pulumi.Input<boolean>;
    /**
     * CDN endpoint CNAME, must be unique among resources.
     */
    cname?: pulumi.Input<string>;
    /**
     * CDN Resource settings and options to tune CDN edge behavior.
     */
    options?: pulumi.Input<inputs.CdnResourceOptions>;
    originGroupId?: pulumi.Input<number>;
    originGroupName?: pulumi.Input<string>;
    originProtocol?: pulumi.Input<string>;
    /**
     * list of secondary hostname strings.
     */
    secondaryHostnames?: pulumi.Input<pulumi.Input<string>[]>;
    sslCertificate?: pulumi.Input<inputs.CdnResourceSslCertificate>;
    updatedAt?: pulumi.Input<string>;
}
