Get started with Pulumi in a free one hour introductory workshop. Register Now

GtmDatacenter

akamai.trafficmanagement.GtmDatacenter provides the resource for creating, configuring and importing a gtm datacenter to integrate easily with your existing GTM infrastructure to provide a secure, high performance, highly available and scalable solution for Global Traffic Management. Note: Import requires an ID of the format: existing_domain_name:existing_datacenter_id

Example Usage

Basic usage:

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var demoDatacenter = new Akamai.Trafficmanagement.GtmDatacenter("demoDatacenter", new Akamai.Trafficmanagement.GtmDatacenterArgs
        {
            Domain = "demo_domain.akadns.net",
            Nickname = "demo_datacenter",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-akamai/sdk/go/akamai/trafficmanagement"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := trafficmanagement.NewGtmDatacenter(ctx, "demoDatacenter", &trafficmanagement.GtmDatacenterArgs{
            Domain:   pulumi.String("demo_domain.akadns.net"),
            Nickname: pulumi.String("demo_datacenter"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_akamai as akamai

demo_datacenter = akamai.trafficmanagement.GtmDatacenter("demoDatacenter",
    domain="demo_domain.akadns.net",
    nickname="demo_datacenter")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const demoDatacenter = new akamai.trafficmanagement.GtmDatacenter("demo_datacenter", {
    domain: "demo_domain.akadns.net",
    nickname: "demo_datacenter",
});

Create a GtmDatacenter Resource

def GtmDatacenter(resource_name, opts=None, city=None, clone_of=None, cloud_server_host_header_override=None, cloud_server_targeting=None, continent=None, country=None, default_load_object=None, domain=None, latitude=None, longitude=None, nickname=None, state_or_province=None, wait_on_complete=None, __props__=None)
name string
The unique name of the resource.
args GtmDatacenterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args GtmDatacenterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GtmDatacenterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

GtmDatacenter Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The GtmDatacenter resource accepts the following input properties:

Domain string

— Domain name

City string
CloneOf int
CloudServerHostHeaderOverride bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

CloudServerTargeting bool

— (Boolean)

Continent string
Country string
DefaultLoadObject GtmDatacenterDefaultLoadObjectArgs
Latitude double
Longitude double
Nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

StateOrProvince string
WaitOnComplete bool

— (Boolean, Default: true) Wait for transaction to complete

Domain string

— Domain name

City string
CloneOf int
CloudServerHostHeaderOverride bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

CloudServerTargeting bool

— (Boolean)

Continent string
Country string
DefaultLoadObject GtmDatacenterDefaultLoadObject
Latitude float64
Longitude float64
Nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

StateOrProvince string
WaitOnComplete bool

— (Boolean, Default: true) Wait for transaction to complete

domain string

— Domain name

city string
cloneOf number
cloudServerHostHeaderOverride boolean

— (Boolean) * continent * country * latitude * longitude * state_or_province

cloudServerTargeting boolean

— (Boolean)

continent string
country string
defaultLoadObject GtmDatacenterDefaultLoadObject
latitude number
longitude number
nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

stateOrProvince string
waitOnComplete boolean

— (Boolean, Default: true) Wait for transaction to complete

domain str

— Domain name

city str
clone_of float
cloud_server_host_header_override bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

cloud_server_targeting bool

— (Boolean)

continent str
country str
default_load_object Dict[GtmDatacenterDefaultLoadObject]
latitude float
longitude float
nickname str

— datacenter nickname * default_load_object * load_object * load_object_port

state_or_province str
wait_on_complete bool

— (Boolean, Default: true) Wait for transaction to complete

Outputs

All input properties are implicitly available as output properties. Additionally, the GtmDatacenter resource produces the following output properties:

DatacenterId int
Id string
The provider-assigned unique ID for this managed resource.
PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
Virtual bool

— (Boolean)

DatacenterId int
Id string
The provider-assigned unique ID for this managed resource.
PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
Virtual bool

— (Boolean)

datacenterId number
id string
The provider-assigned unique ID for this managed resource.
pingInterval number
pingPacketSize number
scorePenalty number
servermonitorLivenessCount number
servermonitorLoadCount number
servermonitorPool string
virtual boolean

— (Boolean)

datacenter_id float
id str
The provider-assigned unique ID for this managed resource.
ping_interval float
ping_packet_size float
score_penalty float
servermonitor_liveness_count float
servermonitor_load_count float
servermonitor_pool str
virtual bool

— (Boolean)

Look up an Existing GtmDatacenter Resource

Get an existing GtmDatacenter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GtmDatacenterState, opts?: CustomResourceOptions): GtmDatacenter
static get(resource_name, id, opts=None, city=None, clone_of=None, cloud_server_host_header_override=None, cloud_server_targeting=None, continent=None, country=None, datacenter_id=None, default_load_object=None, domain=None, latitude=None, longitude=None, nickname=None, ping_interval=None, ping_packet_size=None, score_penalty=None, servermonitor_liveness_count=None, servermonitor_load_count=None, servermonitor_pool=None, state_or_province=None, virtual=None, wait_on_complete=None, __props__=None)
func GetGtmDatacenter(ctx *Context, name string, id IDInput, state *GtmDatacenterState, opts ...ResourceOption) (*GtmDatacenter, error)
public static GtmDatacenter Get(string name, Input<string> id, GtmDatacenterState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

City string
CloneOf int
CloudServerHostHeaderOverride bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

CloudServerTargeting bool

— (Boolean)

Continent string
Country string
DatacenterId int
DefaultLoadObject GtmDatacenterDefaultLoadObjectArgs
Domain string

— Domain name

Latitude double
Longitude double
Nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
StateOrProvince string
Virtual bool

— (Boolean)

WaitOnComplete bool

— (Boolean, Default: true) Wait for transaction to complete

City string
CloneOf int
CloudServerHostHeaderOverride bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

CloudServerTargeting bool

— (Boolean)

Continent string
Country string
DatacenterId int
DefaultLoadObject GtmDatacenterDefaultLoadObject
Domain string

— Domain name

Latitude float64
Longitude float64
Nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
StateOrProvince string
Virtual bool

— (Boolean)

WaitOnComplete bool

— (Boolean, Default: true) Wait for transaction to complete

city string
cloneOf number
cloudServerHostHeaderOverride boolean

— (Boolean) * continent * country * latitude * longitude * state_or_province

cloudServerTargeting boolean

— (Boolean)

continent string
country string
datacenterId number
defaultLoadObject GtmDatacenterDefaultLoadObject
domain string

— Domain name

latitude number
longitude number
nickname string

— datacenter nickname * default_load_object * load_object * load_object_port

pingInterval number
pingPacketSize number
scorePenalty number
servermonitorLivenessCount number
servermonitorLoadCount number
servermonitorPool string
stateOrProvince string
virtual boolean

— (Boolean)

waitOnComplete boolean

— (Boolean, Default: true) Wait for transaction to complete

city str
clone_of float
cloud_server_host_header_override bool

— (Boolean) * continent * country * latitude * longitude * state_or_province

cloud_server_targeting bool

— (Boolean)

continent str
country str
datacenter_id float
default_load_object Dict[GtmDatacenterDefaultLoadObject]
domain str

— Domain name

latitude float
longitude float
nickname str

— datacenter nickname * default_load_object * load_object * load_object_port

ping_interval float
ping_packet_size float
score_penalty float
servermonitor_liveness_count float
servermonitor_load_count float
servermonitor_pool str
state_or_province str
virtual bool

— (Boolean)

wait_on_complete bool

— (Boolean, Default: true) Wait for transaction to complete

Supporting Types

GtmDatacenterDefaultLoadObject

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

LoadObject string
LoadObjectPort int
LoadServers List<string>

— (List) * city * clone_of

LoadObject string
LoadObjectPort int
LoadServers []string

— (List) * city * clone_of

loadObject string
loadObjectPort number
loadServers string[]

— (List) * city * clone_of

loadObject str
loadObjectPort float
loadServers List[str]

— (List) * city * clone_of

Package Details

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