import * as pulumi from "@pulumi/pulumi"; /** * Domain service links are for managing versionless domains for services. The link associates an existing service * with an existing domain, but doesn't create or delete either resource. * * If you are managing your versionless domain with a service link, you may not also use a `resourceFastlyDomain` block as well. * * ## Example Usage * * Basic usage: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const example = new fastly.DomainServiceLink("example", { * domainId: exampleFastlyDomain.id, * serviceId: exampleFastlyServiceVcl.id, * }); * ``` * * ## Import * * Domain service links can be imported using the domain ID, e.g. * * ```sh * $ pulumi import fastly:index/domainServiceLink:DomainServiceLink example * ``` */ export declare class DomainServiceLink extends pulumi.CustomResource { /** * Get an existing DomainServiceLink 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?: DomainServiceLinkState, opts?: pulumi.CustomResourceOptions): DomainServiceLink; /** * Returns true if the given object is an instance of DomainServiceLink. 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 DomainServiceLink; /** * The Domain Identifier of the versionless domain being linked (UUID). */ readonly domainId: pulumi.Output; /** * The serviceId associated with your domain */ readonly serviceId: pulumi.Output; /** * Create a DomainServiceLink 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: DomainServiceLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DomainServiceLink resources. */ export interface DomainServiceLinkState { /** * The Domain Identifier of the versionless domain being linked (UUID). */ domainId?: pulumi.Input; /** * The serviceId associated with your domain */ serviceId?: pulumi.Input; } /** * The set of arguments for constructing a DomainServiceLink resource. */ export interface DomainServiceLinkArgs { /** * The Domain Identifier of the versionless domain being linked (UUID). */ domainId: pulumi.Input; /** * The serviceId associated with your domain */ serviceId: pulumi.Input; } //# sourceMappingURL=domainServiceLink.d.ts.map