import * as pulumi from "@pulumi/pulumi"; export declare class PullzoneHostname extends pulumi.CustomResource { /** * Get an existing PullzoneHostname 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?: PullzoneHostnameState, opts?: pulumi.CustomResourceOptions): PullzoneHostname; /** * Returns true if the given object is an instance of PullzoneHostname. 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 PullzoneHostname; /** * The certificate for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate data, so you'll have to make sure you're importing the correct certificate. */ readonly certificate: pulumi.Output; /** * The certificate private key for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate key, so you'll have to make sure you're importing the correct certificate key. */ readonly certificateKey: pulumi.Output; /** * Indicates whether SSL should be enforced for the hostname. */ readonly forceSsl: pulumi.Output; /** * Indicates whether the hostname is internal (in the CDN domain) or provided by the user. */ readonly isInternal: pulumi.Output; /** * The hostname value for the domain name. */ readonly name: pulumi.Output; /** * The ID of the linked pull zone. */ readonly pullzone: pulumi.Output; /** * The unique ID of the hostname. */ readonly pullzoneHostnameId: pulumi.Output; /** * Indicates whether the hostname should support HTTPS. If a custom certificate is not provided via the certificate attribute, a Domain-validated TLS certificate will be automatically obtained and managed by Bunny. ***Important***: it is not possible to tell managed and custom certificates apart for imported resources. */ readonly tlsEnabled: pulumi.Output; /** * Create a PullzoneHostname 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: PullzoneHostnameArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PullzoneHostname resources. */ export interface PullzoneHostnameState { /** * The certificate for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate data, so you'll have to make sure you're importing the correct certificate. */ certificate?: pulumi.Input; /** * The certificate private key for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate key, so you'll have to make sure you're importing the correct certificate key. */ certificateKey?: pulumi.Input; /** * Indicates whether SSL should be enforced for the hostname. */ forceSsl?: pulumi.Input; /** * Indicates whether the hostname is internal (in the CDN domain) or provided by the user. */ isInternal?: pulumi.Input; /** * The hostname value for the domain name. */ name?: pulumi.Input; /** * The ID of the linked pull zone. */ pullzone?: pulumi.Input; /** * The unique ID of the hostname. */ pullzoneHostnameId?: pulumi.Input; /** * Indicates whether the hostname should support HTTPS. If a custom certificate is not provided via the certificate attribute, a Domain-validated TLS certificate will be automatically obtained and managed by Bunny. ***Important***: it is not possible to tell managed and custom certificates apart for imported resources. */ tlsEnabled?: pulumi.Input; } /** * The set of arguments for constructing a PullzoneHostname resource. */ export interface PullzoneHostnameArgs { /** * The certificate for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate data, so you'll have to make sure you're importing the correct certificate. */ certificate?: pulumi.Input; /** * The certificate private key for the hostname, in PEM format. ***Important***: the Bunny API will not return the certificate key, so you'll have to make sure you're importing the correct certificate key. */ certificateKey?: pulumi.Input; /** * Indicates whether SSL should be enforced for the hostname. */ forceSsl?: pulumi.Input; /** * The hostname value for the domain name. */ name?: pulumi.Input; /** * The ID of the linked pull zone. */ pullzone: pulumi.Input; /** * Indicates whether the hostname should support HTTPS. If a custom certificate is not provided via the certificate attribute, a Domain-validated TLS certificate will be automatically obtained and managed by Bunny. ***Important***: it is not possible to tell managed and custom certificates apart for imported resources. */ tlsEnabled?: pulumi.Input; }