@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
99 lines (98 loc) • 3.48 kB
TypeScript
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.DomainV1("example", {
* fqdn: "example.com",
* serviceId: "12345abcde",
* description: "This is a test domain.",
* });
* ```
*/
export declare class DomainV1 extends pulumi.CustomResource {
/**
* Get an existing DomainV1 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?: DomainV1State, opts?: pulumi.CustomResourceOptions): DomainV1;
/**
* Returns true if the given object is an instance of DomainV1. 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 DomainV1;
/**
* The description for your domain.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The Domain Identifier (UUID).
*/
readonly domainId: pulumi.Output<string>;
/**
* 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<string>;
/**
* The serviceId associated with your domain or null if there is no association.
*/
readonly serviceId: pulumi.Output<string | undefined>;
/**
* Create a DomainV1 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: DomainV1Args, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DomainV1 resources.
*/
export interface DomainV1State {
/**
* The description for your domain.
*/
description?: pulumi.Input<string>;
/**
* The Domain Identifier (UUID).
*/
domainId?: pulumi.Input<string>;
/**
* 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<string>;
/**
* The serviceId associated with your domain or null if there is no association.
*/
serviceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a DomainV1 resource.
*/
export interface DomainV1Args {
/**
* The description for your domain.
*/
description?: pulumi.Input<string>;
/**
* 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<string>;
/**
* The serviceId associated with your domain or null if there is no association.
*/
serviceId?: pulumi.Input<string>;
}