GtmGeomap

akamai.GtmGeomap provides the resource for creating, configuring and importing a gtm Geographic map 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_map_name

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var demoGeomap = new Akamai.GtmGeomap("demoGeomap", new Akamai.GtmGeomapArgs
        {
            DefaultDatacenter = new Akamai.Inputs.GtmGeomapDefaultDatacenterArgs
            {
                DatacenterId = 5400,
                Nickname = "All Others",
            },
            Domain = "demo_domain.akadns.net",
        });
    }

}
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.NewGtmGeomap(ctx, "demoGeomap", &akamai.GtmGeomapArgs{
			DefaultDatacenter: &akamai.GtmGeomapDefaultDatacenterArgs{
				DatacenterId: pulumi.Int(5400),
				Nickname:     pulumi.String("All Others"),
			},
			Domain: pulumi.String("demo_domain.akadns.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

demo_geomap = akamai.GtmGeomap("demoGeomap",
    default_datacenter=akamai.GtmGeomapDefaultDatacenterArgs(
        datacenter_id=5400,
        nickname="All Others",
    ),
    domain="demo_domain.akadns.net")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const demoGeomap = new akamai.GtmGeomap("demo_geomap", {
    defaultDatacenter: {
        datacenterId: 5400,
        nickname: "All Others",
    },
    domain: "demo_domain.akadns.net",
});

Create a GtmGeomap Resource

new GtmGeomap(name: string, args: GtmGeomapArgs, opts?: CustomResourceOptions);
@overload
def GtmGeomap(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              assignments: Optional[Sequence[GtmGeomapAssignmentArgs]] = None,
              default_datacenter: Optional[GtmGeomapDefaultDatacenterArgs] = None,
              domain: Optional[str] = None,
              name: Optional[str] = None,
              wait_on_complete: Optional[bool] = None)
@overload
def GtmGeomap(resource_name: str,
              args: GtmGeomapArgs,
              opts: Optional[ResourceOptions] = None)
func NewGtmGeomap(ctx *Context, name string, args GtmGeomapArgs, opts ...ResourceOption) (*GtmGeomap, error)
public GtmGeomap(string name, GtmGeomapArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args GtmGeomapArgs
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 GtmGeomapArgs
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 GtmGeomapArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GtmGeomapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

GtmGeomap Resource Properties

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

Inputs

The GtmGeomap resource accepts the following input properties:

DefaultDatacenter GtmGeomapDefaultDatacenterArgs
Domain string
Domain name
Assignments List<GtmGeomapAssignmentArgs>
  • datacenter_id
  • nickname
Name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
WaitOnComplete bool
Wait for transaction to complete
DefaultDatacenter GtmGeomapDefaultDatacenter
Domain string
Domain name
Assignments []GtmGeomapAssignment
  • datacenter_id
  • nickname
Name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
WaitOnComplete bool
Wait for transaction to complete
defaultDatacenter GtmGeomapDefaultDatacenterArgs
domain string
Domain name
assignments GtmGeomapAssignmentArgs[]
  • datacenter_id
  • nickname
name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
waitOnComplete boolean
Wait for transaction to complete
default_datacenter GtmGeomapDefaultDatacenterArgs
domain str
Domain name
assignments Sequence[GtmGeomapAssignmentArgs]
  • datacenter_id
  • nickname
name str

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
wait_on_complete bool
Wait for transaction to complete

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing GtmGeomap Resource

Get an existing GtmGeomap 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?: GtmGeomapState, opts?: CustomResourceOptions): GtmGeomap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        assignments: Optional[Sequence[GtmGeomapAssignmentArgs]] = None,
        default_datacenter: Optional[GtmGeomapDefaultDatacenterArgs] = None,
        domain: Optional[str] = None,
        name: Optional[str] = None,
        wait_on_complete: Optional[bool] = None) -> GtmGeomap
func GetGtmGeomap(ctx *Context, name string, id IDInput, state *GtmGeomapState, opts ...ResourceOption) (*GtmGeomap, error)
public static GtmGeomap Get(string name, Input<string> id, GtmGeomapState? 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:

Assignments List<GtmGeomapAssignmentArgs>
  • datacenter_id
  • nickname
DefaultDatacenter GtmGeomapDefaultDatacenterArgs
Domain string
Domain name
Name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
WaitOnComplete bool
Wait for transaction to complete
Assignments []GtmGeomapAssignment
  • datacenter_id
  • nickname
DefaultDatacenter GtmGeomapDefaultDatacenter
Domain string
Domain name
Name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
WaitOnComplete bool
Wait for transaction to complete
assignments GtmGeomapAssignmentArgs[]
  • datacenter_id
  • nickname
defaultDatacenter GtmGeomapDefaultDatacenterArgs
domain string
Domain name
name string

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
waitOnComplete boolean
Wait for transaction to complete
assignments Sequence[GtmGeomapAssignmentArgs]
  • datacenter_id
  • nickname
default_datacenter GtmGeomapDefaultDatacenterArgs
domain str
Domain name
name str

Resource name

  • default_datacenter
  • datacenter_id
  • nickname
wait_on_complete bool
Wait for transaction to complete

Supporting Types

GtmGeomapAssignment

DatacenterId int
Nickname string
Countries List<string>
DatacenterId int
Nickname string
Countries []string
datacenterId number
nickname string
countries string[]
datacenter_id int
nickname str
countries Sequence[str]

GtmGeomapDefaultDatacenter

datacenterId number
nickname string

Package Details

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