Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

GetGtmDefaultDatacenter

Use akamai.trafficmanagement.getGtmDefaultDatacenter data source to retrieve default datacenter id and nickname.

Using GetGtmDefaultDatacenter

function getGtmDefaultDatacenter(args: GetGtmDefaultDatacenterArgs, opts?: InvokeOptions): Promise<GetGtmDefaultDatacenterResult>
function  get_gtm_default_datacenter(datacenter=None, domain=None, opts=None)
func GetGtmDefaultDatacenter(ctx *Context, args *GetGtmDefaultDatacenterArgs, opts ...InvokeOption) (*GetGtmDefaultDatacenterResult, error)
public static class GetGtmDefaultDatacenter {
    public static Task<GetGtmDefaultDatacenterResult> InvokeAsync(GetGtmDefaultDatacenterArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Domain string

— (Required)

Datacenter int

— (Optional. Default 5400)

Domain string

— (Required)

Datacenter int

— (Optional. Default 5400)

domain string

— (Required)

datacenter number

— (Optional. Default 5400)

domain str

— (Required)

datacenter float

— (Optional. Default 5400)

GetGtmDefaultDatacenter Result

The following output properties are available:

DatacenterId int
Domain string
Id string

The provider-assigned unique ID for this managed resource.

Nickname string
Datacenter int
DatacenterId int
Domain string
Id string

The provider-assigned unique ID for this managed resource.

Nickname string
Datacenter int
datacenterId number
domain string
id string

The provider-assigned unique ID for this managed resource.

nickname string
datacenter number
datacenter_id float
domain str
id str

The provider-assigned unique ID for this managed resource.

nickname str
datacenter float

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.