getGtmDefaultDatacenter

Use the akamai.getGtmDefaultDatacenter data source to retrieve the default data center, ID, and nickname.

Argument reference

This data source supports these arguments:

  • domain - (Required)
  • datacenter - (Optional) The default is 5400.

Attributes reference

This data source supports these attributes:

  • id - The data resource ID. Enter in this format: <domain>:default_datacenter:<datacenter_id>.
  • datacenter_id - The default data center ID.
  • nickname - The default data center nickname.

Using getGtmDefaultDatacenter

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 getGtmDefaultDatacenter(args: GetGtmDefaultDatacenterArgs, opts?: InvokeOptions): Promise<GetGtmDefaultDatacenterResult>
function getGtmDefaultDatacenterOutput(args: GetGtmDefaultDatacenterOutputArgs, opts?: InvokeOptions): Output<GetGtmDefaultDatacenterResult>
def get_gtm_default_datacenter(datacenter: Optional[int] = None,
                               domain: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetGtmDefaultDatacenterResult
def get_gtm_default_datacenter_output(datacenter: Optional[pulumi.Input[int]] = None,
                               domain: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetGtmDefaultDatacenterResult]
func GetGtmDefaultDatacenter(ctx *Context, args *GetGtmDefaultDatacenterArgs, opts ...InvokeOption) (*GetGtmDefaultDatacenterResult, error)
func GetGtmDefaultDatacenterOutput(ctx *Context, args *GetGtmDefaultDatacenterOutputArgs, opts ...InvokeOption) GetGtmDefaultDatacenterResultOutput

> Note: This function is named GetGtmDefaultDatacenter in the Go SDK.

public static class GetGtmDefaultDatacenter 
{
    public static Task<GetGtmDefaultDatacenterResult> InvokeAsync(GetGtmDefaultDatacenterArgs args, InvokeOptions? opts = null)
    public static Output<GetGtmDefaultDatacenterResult> Invoke(GetGtmDefaultDatacenterInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Domain string
Datacenter int
Domain string
Datacenter int
domain string
datacenter number

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 int
domain str
id str
The provider-assigned unique ID for this managed resource.
nickname str
datacenter int

Package Details

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