Fastly
Pulumi Official

Package maintained by Pulumiv4.0.3 published on Monday, May 23, 2022 by Pulumi
getDatacenters
Use this data source to get the list of the Fastly datacenters.
Using getDatacenters
function getDatacenters(opts?: InvokeOptions): Promise<GetDatacentersResult>
def get_datacenters(opts: Optional[InvokeOptions] = None) -> GetDatacentersResult
func GetDatacenters(ctx *Context, opts ...InvokeOption) (*GetDatacentersResult, error)
> Note: This function is named GetDatacenters
in the Go SDK.
public static class GetDatacenters
{
public static Task<GetDatacentersResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatacentersResult> getDatacenters(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: fastly:index/getDatacenters:getDatacenters
Arguments:
# Arguments dictionary
getDatacenters Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Pops
List<Get
Datacenters Pop> A list of all Fastly POPs.
- Id string
The provider-assigned unique ID for this managed resource.
- Pops
[]Get
Datacenters Pop A list of all Fastly POPs.
- id String
The provider-assigned unique ID for this managed resource.
- pops
List
Datacenters Pop> A list of all Fastly POPs.
- id string
The provider-assigned unique ID for this managed resource.
- pops
Get
Datacenters Pop[] A list of all Fastly POPs.
- id str
The provider-assigned unique ID for this managed resource.
- pops
Sequence[Get
Datacenters Pop] A list of all Fastly POPs.
Supporting Types
GetDatacentersPop
Package Details
- Repository
- https://github.com/pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
fastly
Terraform Provider.