GtmDatacenter

akamai.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

using Pulumi;
using Akamai = Pulumi.Akamai;

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

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.NewGtmDatacenter(ctx, "demoDatacenter", &akamai.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.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.GtmDatacenter("demo_datacenter", {
    domain: "demo_domain.akadns.net",
    nickname: "demo_datacenter",
});

Create a GtmDatacenter Resource

new GtmDatacenter(name: string, args: GtmDatacenterArgs, opts?: CustomResourceOptions);
@overload
def GtmDatacenter(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  city: Optional[str] = None,
                  clone_of: Optional[int] = None,
                  cloud_server_host_header_override: Optional[bool] = None,
                  cloud_server_targeting: Optional[bool] = None,
                  continent: Optional[str] = None,
                  country: Optional[str] = None,
                  default_load_object: Optional[GtmDatacenterDefaultLoadObjectArgs] = None,
                  domain: Optional[str] = None,
                  latitude: Optional[float] = None,
                  longitude: Optional[float] = None,
                  nickname: Optional[str] = None,
                  state_or_province: Optional[str] = None,
                  wait_on_complete: Optional[bool] = None)
@overload
def GtmDatacenter(resource_name: str,
                  args: GtmDatacenterArgs,
                  opts: Optional[ResourceOptions] = None)
func NewGtmDatacenter(ctx *Context, name string, args GtmDatacenterArgs, opts ...ResourceOption) (*GtmDatacenter, error)
public GtmDatacenter(string name, GtmDatacenterArgs args, CustomResourceOptions? opts = null)
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.
args GtmDatacenterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
CloudServerTargeting bool
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
Wait for transaction to complete
Domain string
Domain name
City string
CloneOf int
CloudServerHostHeaderOverride bool
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
CloudServerTargeting bool
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
Wait for transaction to complete
domain string
Domain name
city string
cloneOf number
cloudServerHostHeaderOverride boolean
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
cloudServerTargeting boolean
continent string
country string
defaultLoadObject GtmDatacenterDefaultLoadObjectArgs
latitude number
longitude number
nickname string

datacenter nickname

  • default_load_object
  • load_object
  • load_object_port
stateOrProvince string
waitOnComplete boolean
Wait for transaction to complete
domain str
Domain name
city str
clone_of int
cloud_server_host_header_override bool
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
cloud_server_targeting bool
continent str
country str
default_load_object GtmDatacenterDefaultLoadObjectArgs
latitude float
longitude float
nickname str

datacenter nickname

  • default_load_object
  • load_object
  • load_object_port
state_or_province str
wait_on_complete bool
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
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
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
datacenter_id int
id str
The provider-assigned unique ID for this managed resource.
ping_interval int
ping_packet_size int
score_penalty int
servermonitor_liveness_count int
servermonitor_load_count int
servermonitor_pool str
virtual bool

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
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        city: Optional[str] = None,
        clone_of: Optional[int] = None,
        cloud_server_host_header_override: Optional[bool] = None,
        cloud_server_targeting: Optional[bool] = None,
        continent: Optional[str] = None,
        country: Optional[str] = None,
        datacenter_id: Optional[int] = None,
        default_load_object: Optional[GtmDatacenterDefaultLoadObjectArgs] = None,
        domain: Optional[str] = None,
        latitude: Optional[float] = None,
        longitude: Optional[float] = None,
        nickname: Optional[str] = None,
        ping_interval: Optional[int] = None,
        ping_packet_size: Optional[int] = None,
        score_penalty: Optional[int] = None,
        servermonitor_liveness_count: Optional[int] = None,
        servermonitor_load_count: Optional[int] = None,
        servermonitor_pool: Optional[str] = None,
        state_or_province: Optional[str] = None,
        virtual: Optional[bool] = None,
        wait_on_complete: Optional[bool] = None) -> GtmDatacenter
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
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
CloudServerTargeting bool
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
WaitOnComplete bool
Wait for transaction to complete
City string
CloneOf int
CloudServerHostHeaderOverride bool
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
CloudServerTargeting bool
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
WaitOnComplete bool
Wait for transaction to complete
city string
cloneOf number
cloudServerHostHeaderOverride boolean
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
cloudServerTargeting boolean
continent string
country string
datacenterId number
defaultLoadObject GtmDatacenterDefaultLoadObjectArgs
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
waitOnComplete boolean
Wait for transaction to complete
city str
clone_of int
cloud_server_host_header_override bool
  • continent
  • country
  • latitude
  • longitude
  • state_or_province
cloud_server_targeting bool
continent str
country str
datacenter_id int
default_load_object GtmDatacenterDefaultLoadObjectArgs
domain str
Domain name
latitude float
longitude float
nickname str

datacenter nickname

  • default_load_object
  • load_object
  • load_object_port
ping_interval int
ping_packet_size int
score_penalty int
servermonitor_liveness_count int
servermonitor_load_count int
servermonitor_pool str
state_or_province str
virtual bool
wait_on_complete bool
Wait for transaction to complete

Supporting Types

GtmDatacenterDefaultLoadObject

LoadObject string
LoadObjectPort int
LoadServers List<string>
  • city
  • clone_of
LoadObject string
LoadObjectPort int
LoadServers []string
  • city
  • clone_of
loadObject string
loadObjectPort number
loadServers string[]
  • city
  • clone_of
load_object str
load_object_port int
load_servers Sequence[str]
  • 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.