1. Packages
  2. Akamai
  3. API Docs
  4. getGtmDatacenter
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.getGtmDatacenter

Explore with Pulumi AI

Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

Using getGtmDatacenter

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 getGtmDatacenter(args: GetGtmDatacenterArgs, opts?: InvokeOptions): Promise<GetGtmDatacenterResult>
function getGtmDatacenterOutput(args: GetGtmDatacenterOutputArgs, opts?: InvokeOptions): Output<GetGtmDatacenterResult>
Copy
def get_gtm_datacenter(datacenter_id: Optional[int] = None,
                       domain: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetGtmDatacenterResult
def get_gtm_datacenter_output(datacenter_id: Optional[pulumi.Input[int]] = None,
                       domain: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetGtmDatacenterResult]
Copy
func LookupGtmDatacenter(ctx *Context, args *LookupGtmDatacenterArgs, opts ...InvokeOption) (*LookupGtmDatacenterResult, error)
func LookupGtmDatacenterOutput(ctx *Context, args *LookupGtmDatacenterOutputArgs, opts ...InvokeOption) LookupGtmDatacenterResultOutput
Copy

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

public static class GetGtmDatacenter 
{
    public static Task<GetGtmDatacenterResult> InvokeAsync(GetGtmDatacenterArgs args, InvokeOptions? opts = null)
    public static Output<GetGtmDatacenterResult> Invoke(GetGtmDatacenterInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGtmDatacenterResult> getGtmDatacenter(GetGtmDatacenterArgs args, InvokeOptions options)
public static Output<GetGtmDatacenterResult> getGtmDatacenter(GetGtmDatacenterArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: akamai:index/getGtmDatacenter:getGtmDatacenter
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DatacenterId This property is required. int
Domain This property is required. string
DatacenterId This property is required. int
Domain This property is required. string
datacenterId This property is required. Integer
domain This property is required. String
datacenterId This property is required. number
domain This property is required. string
datacenter_id This property is required. int
domain This property is required. str
datacenterId This property is required. Number
domain This property is required. String

getGtmDatacenter Result

The following output properties are available:

city String
cloneOf Integer
cloudServerHostHeaderOverride Boolean
cloudServerTargeting Boolean
continent String
country String
datacenterId Integer
defaultLoadObjects List<GetGtmDatacenterDefaultLoadObject>
domain String
id String
The provider-assigned unique ID for this managed resource.
latitude Double
links List<GetGtmDatacenterLink>
longitude Double
nickname String
scorePenalty Integer
servermonitorPool String
stateOrProvince String
virtual Boolean
city string
cloneOf number
cloudServerHostHeaderOverride boolean
cloudServerTargeting boolean
continent string
country string
datacenterId number
defaultLoadObjects GetGtmDatacenterDefaultLoadObject[]
domain string
id string
The provider-assigned unique ID for this managed resource.
latitude number
links GetGtmDatacenterLink[]
longitude number
nickname string
scorePenalty number
servermonitorPool string
stateOrProvince string
virtual boolean
city String
cloneOf Number
cloudServerHostHeaderOverride Boolean
cloudServerTargeting Boolean
continent String
country String
datacenterId Number
defaultLoadObjects List<Property Map>
domain String
id String
The provider-assigned unique ID for this managed resource.
latitude Number
links List<Property Map>
longitude Number
nickname String
scorePenalty Number
servermonitorPool String
stateOrProvince String
virtual Boolean

Supporting Types

GetGtmDatacenterDefaultLoadObject

LoadObject This property is required. string
Specifies the load object that GTM requests.
LoadObjectPort This property is required. int
Specifies the TCP port to connect to when requesting the load object.
LoadServers This property is required. List<string>
Specifies the list of servers to requests the load object from.
LoadObject This property is required. string
Specifies the load object that GTM requests.
LoadObjectPort This property is required. int
Specifies the TCP port to connect to when requesting the load object.
LoadServers This property is required. []string
Specifies the list of servers to requests the load object from.
loadObject This property is required. String
Specifies the load object that GTM requests.
loadObjectPort This property is required. Integer
Specifies the TCP port to connect to when requesting the load object.
loadServers This property is required. List<String>
Specifies the list of servers to requests the load object from.
loadObject This property is required. string
Specifies the load object that GTM requests.
loadObjectPort This property is required. number
Specifies the TCP port to connect to when requesting the load object.
loadServers This property is required. string[]
Specifies the list of servers to requests the load object from.
load_object This property is required. str
Specifies the load object that GTM requests.
load_object_port This property is required. int
Specifies the TCP port to connect to when requesting the load object.
load_servers This property is required. Sequence[str]
Specifies the list of servers to requests the load object from.
loadObject This property is required. String
Specifies the load object that GTM requests.
loadObjectPort This property is required. Number
Specifies the TCP port to connect to when requesting the load object.
loadServers This property is required. List<String>
Specifies the list of servers to requests the load object from.
Href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
Rel This property is required. string
Indicates the link relationship of the object.
Href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
Rel This property is required. string
Indicates the link relationship of the object.
href This property is required. String
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. String
Indicates the link relationship of the object.
href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. string
Indicates the link relationship of the object.
href This property is required. str
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. str
Indicates the link relationship of the object.
href This property is required. String
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. String
Indicates the link relationship of the object.

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi