UNPKG

@pulumi/fastly

Version:

A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4

67 lines (66 loc) 2.73 kB
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 `resourceFastlyDomainV1` block as well. */ export declare class DomainV1ServiceLink extends pulumi.CustomResource { /** * Get an existing DomainV1ServiceLink 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?: DomainV1ServiceLinkState, opts?: pulumi.CustomResourceOptions): DomainV1ServiceLink; /** * Returns true if the given object is an instance of DomainV1ServiceLink. 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 DomainV1ServiceLink; /** * The Domain Identifier of the versionless domain being linked (UUID). */ readonly domainId: pulumi.Output<string>; /** * The serviceId associated with your domain */ readonly serviceId: pulumi.Output<string>; /** * Create a DomainV1ServiceLink 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: DomainV1ServiceLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DomainV1ServiceLink resources. */ export interface DomainV1ServiceLinkState { /** * The Domain Identifier of the versionless domain being linked (UUID). */ domainId?: pulumi.Input<string>; /** * The serviceId associated with your domain */ serviceId?: pulumi.Input<string>; } /** * The set of arguments for constructing a DomainV1ServiceLink resource. */ export interface DomainV1ServiceLinkArgs { /** * The Domain Identifier of the versionless domain being linked (UUID). */ domainId: pulumi.Input<string>; /** * The serviceId associated with your domain */ serviceId: pulumi.Input<string>; }