Fastly v8.0.0, May 26 23
Fastly v8.0.0, May 26 23
fastly.getDatacenters
Explore with Pulumi AI
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<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 str
The provider-assigned unique ID for this managed resource.
- pops
Sequence[Get
Datacenters Pop] A list of all Fastly POPs.
- id String
The provider-assigned unique ID for this managed resource.
- pops List<Property Map>
A list of all Fastly POPs.
Supporting Types
GetDatacentersPop
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
fastly
Terraform Provider.