Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

GtmDatacenter

Deprecated: akamai.trafficmanagement.GtmDatacenter has been deprecated in favor of akamai.GtmDatacenter

Create a GtmDatacenter Resource

new GtmDatacenter(name: string, args: GtmDatacenterArgs, opts?: CustomResourceOptions);
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)
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.
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
City string
CloneOf int
CloudServerHostHeaderOverride bool
CloudServerTargeting bool
Continent string
Country string
DefaultLoadObject GtmDatacenterDefaultLoadObjectArgs
Latitude double
Longitude double
Nickname string
StateOrProvince string
WaitOnComplete bool
Domain string
City string
CloneOf int
CloudServerHostHeaderOverride bool
CloudServerTargeting bool
Continent string
Country string
DefaultLoadObject GtmDatacenterDefaultLoadObject
Latitude float64
Longitude float64
Nickname string
StateOrProvince string
WaitOnComplete bool
domain string
city string
cloneOf number
cloudServerHostHeaderOverride boolean
cloudServerTargeting boolean
continent string
country string
defaultLoadObject GtmDatacenterDefaultLoadObject
latitude number
longitude number
nickname string
stateOrProvince string
waitOnComplete boolean
domain str
city str
clone_of int
cloud_server_host_header_override bool
cloud_server_targeting bool
continent str
country str
default_load_object GtmDatacenterDefaultLoadObjectArgs
latitude float
longitude float
nickname str
state_or_province str
wait_on_complete bool

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
CloudServerTargeting bool
Continent string
Country string
DatacenterId int
DefaultLoadObject GtmDatacenterDefaultLoadObjectArgs
Domain string
Latitude double
Longitude double
Nickname string
PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
StateOrProvince string
Virtual bool
WaitOnComplete bool
City string
CloneOf int
CloudServerHostHeaderOverride bool
CloudServerTargeting bool
Continent string
Country string
DatacenterId int
DefaultLoadObject GtmDatacenterDefaultLoadObject
Domain string
Latitude float64
Longitude float64
Nickname string
PingInterval int
PingPacketSize int
ScorePenalty int
ServermonitorLivenessCount int
ServermonitorLoadCount int
ServermonitorPool string
StateOrProvince string
Virtual bool
WaitOnComplete bool
city string
cloneOf number
cloudServerHostHeaderOverride boolean
cloudServerTargeting boolean
continent string
country string
datacenterId number
defaultLoadObject GtmDatacenterDefaultLoadObject
domain string
latitude number
longitude number
nickname string
pingInterval number
pingPacketSize number
scorePenalty number
servermonitorLivenessCount number
servermonitorLoadCount number
servermonitorPool string
stateOrProvince string
virtual boolean
waitOnComplete boolean
city str
clone_of int
cloud_server_host_header_override bool
cloud_server_targeting bool
continent str
country str
datacenter_id int
default_load_object GtmDatacenterDefaultLoadObjectArgs
domain str
latitude float
longitude float
nickname str
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

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

Package Details

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