getGtmDefaultDatacenter

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

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)
}
public static CompletableFuture<GetGtmDefaultDatacenterResult> getGtmDefaultDatacenter(GetGtmDefaultDatacenterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: akamai:index/getGtmDefaultDatacenter:getGtmDefaultDatacenter
  arguments:
    # arguments dictionary

The following arguments are supported:

Domain string
Datacenter int

The default is 5400.

Domain string
Datacenter int

The default is 5400.

domain String
datacenter Integer

The default is 5400.

domain string
datacenter number

The default is 5400.

domain str
datacenter int

The default is 5400.

domain String
datacenter Number

The default is 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 Integer
domain String
id String

The provider-assigned unique ID for this managed resource.

nickname String
datacenter Integer
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
datacenterId Number
domain String
id String

The provider-assigned unique ID for this managed resource.

nickname String
datacenter Number

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.