UNPKG

@pulumi/fastly

Version:

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

24 lines (23 loc) 878 B
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get the list of the [Fastly datacenters](https://developer.fastly.com/reference/api/utils/pops/). */ export declare function getDatacenters(opts?: pulumi.InvokeOptions): Promise<GetDatacentersResult>; /** * A collection of values returned by getDatacenters. */ export interface GetDatacentersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of all Fastly POPs. */ readonly pops: outputs.GetDatacentersPop[]; } /** * Use this data source to get the list of the [Fastly datacenters](https://developer.fastly.com/reference/api/utils/pops/). */ export declare function getDatacentersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatacentersResult>;