Fastly v8.13.0 published on Wednesday, Nov 13, 2024 by Pulumi
fastly.getDatacenters
Explore with Pulumi AI
Use this data source to get the list of the Fastly datacenters.
Using getDatacenters
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatacenters(opts?: InvokeOptions): Promise<GetDatacentersResult>
function getDatacentersOutput(opts?: InvokeOptions): Output<GetDatacentersResult>
def get_datacenters(opts: Optional[InvokeOptions] = None) -> GetDatacentersResult
def get_datacenters_output(opts: Optional[InvokeOptions] = None) -> Output[GetDatacentersResult]
func GetDatacenters(ctx *Context, opts ...InvokeOption) (*GetDatacentersResult, error)
func GetDatacentersOutput(ctx *Context, opts ...InvokeOption) GetDatacentersResultOutput
> Note: This function is named GetDatacenters
in the Go SDK.
public static class GetDatacenters
{
public static Task<GetDatacentersResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetDatacentersResult> Invoke(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
- Code string
- A code representing the POP location.
- Group string
- A code representing the general region of the world in which the POP location resides.
- Name string
- The name of the POP.
- Shield string
- A code representing the shielding name of the POP. The value may be empty if the POP is not available for shielding.
- Code string
- A code representing the POP location.
- Group string
- A code representing the general region of the world in which the POP location resides.
- Name string
- The name of the POP.
- Shield string
- A code representing the shielding name of the POP. The value may be empty if the POP is not available for shielding.
- code String
- A code representing the POP location.
- group String
- A code representing the general region of the world in which the POP location resides.
- name String
- The name of the POP.
- shield String
- A code representing the shielding name of the POP. The value may be empty if the POP is not available for shielding.
- code string
- A code representing the POP location.
- group string
- A code representing the general region of the world in which the POP location resides.
- name string
- The name of the POP.
- shield string
- A code representing the shielding name of the POP. The value may be empty if the POP is not available for shielding.
- code String
- A code representing the POP location.
- group String
- A code representing the general region of the world in which the POP location resides.
- name String
- The name of the POP.
- shield String
- A code representing the shielding name of the POP. The value may be empty if the POP is not available for shielding.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.