@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
28 lines (27 loc) • 1.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Use this data source to get the list of the [Fastly services](https://developer.fastly.com/reference/api/services/service/).
*/
export declare function getServices(opts?: pulumi.InvokeOptions): Promise<GetServicesResult>;
/**
* A collection of values returned by getServices.
*/
export interface GetServicesResult {
/**
* A detailed list of Fastly services in your account. This is limited to the services the API token can read.
*/
readonly details: outputs.GetServicesDetail[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A list of service IDs in your account. This is limited to the services the API token can read.
*/
readonly ids: string[];
}
/**
* Use this data source to get the list of the [Fastly services](https://developer.fastly.com/reference/api/services/service/).
*/
export declare function getServicesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServicesResult>;