import * as pulumi from "@pulumi/pulumi"; /** * Domain management allows you to manage your domains on Fastly and the services that they interact with. * * ## Example Usage * * Basic usage: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const example = new fastly.Domain("example", { * fqdn: "example.com", * serviceId: "12345abcde", * description: "This is a test domain.", * }); * ``` * * ## Import * * Domains can be imported using the domain ID, e.g. * * ```sh * $ pulumi import fastly:index/domain:Domain example * ``` */ export declare class Domain extends pulumi.CustomResource { /** * Get an existing Domain 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?: DomainState, opts?: pulumi.CustomResourceOptions): Domain; /** * Returns true if the given object is an instance of Domain. 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 Domain; /** * The description for your domain. */ readonly description: pulumi.Output; /** * The Domain Identifier (UUID). */ readonly domainId: pulumi.Output; /** * The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated. */ readonly fqdn: pulumi.Output; /** * The serviceId associated with your domain or null if there is no association. */ readonly serviceId: pulumi.Output; /** * Create a Domain 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: DomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Domain resources. */ export interface DomainState { /** * The description for your domain. */ description?: pulumi.Input; /** * The Domain Identifier (UUID). */ domainId?: pulumi.Input; /** * The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated. */ fqdn?: pulumi.Input; /** * The serviceId associated with your domain or null if there is no association. */ serviceId?: pulumi.Input; } /** * The set of arguments for constructing a Domain resource. */ export interface DomainArgs { /** * The description for your domain. */ description?: pulumi.Input; /** * The fully-qualified domain name for your domain (e.g. `www.example.com`, no trailing dot). Can be created, but not updated. */ fqdn: pulumi.Input; /** * The serviceId associated with your domain or null if there is no association. */ serviceId?: pulumi.Input; } //# sourceMappingURL=domain.d.ts.map