1. Packages
  2. Akamai
  3. API Docs
  4. GtmGeomap
Akamai v8.0.0 published on Saturday, Mar 1, 2025 by Pulumi

akamai.GtmGeomap

Explore with Pulumi AI

Create GtmGeomap Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GtmGeomap(name: string, args: GtmGeomapArgs, opts?: CustomResourceOptions);
@overload
def GtmGeomap(resource_name: str,
              args: GtmGeomapArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def GtmGeomap(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              default_datacenter: Optional[GtmGeomapDefaultDatacenterArgs] = None,
              domain: Optional[str] = None,
              assignments: Optional[Sequence[GtmGeomapAssignmentArgs]] = None,
              name: Optional[str] = None,
              wait_on_complete: Optional[bool] = None)
func NewGtmGeomap(ctx *Context, name string, args GtmGeomapArgs, opts ...ResourceOption) (*GtmGeomap, error)
public GtmGeomap(string name, GtmGeomapArgs args, CustomResourceOptions? opts = null)
public GtmGeomap(String name, GtmGeomapArgs args)
public GtmGeomap(String name, GtmGeomapArgs args, CustomResourceOptions options)
type: akamai:GtmGeomap
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GtmGeomapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. GtmGeomapArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GtmGeomapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GtmGeomapArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var gtmGeomapResource = new Akamai.GtmGeomap("gtmGeomapResource", new()
{
    DefaultDatacenter = new Akamai.Inputs.GtmGeomapDefaultDatacenterArgs
    {
        DatacenterId = 0,
        Nickname = "string",
    },
    Domain = "string",
    Assignments = new[]
    {
        new Akamai.Inputs.GtmGeomapAssignmentArgs
        {
            DatacenterId = 0,
            Nickname = "string",
            Countries = new[]
            {
                "string",
            },
        },
    },
    Name = "string",
    WaitOnComplete = false,
});
Copy
example, err := akamai.NewGtmGeomap(ctx, "gtmGeomapResource", &akamai.GtmGeomapArgs{
	DefaultDatacenter: &akamai.GtmGeomapDefaultDatacenterArgs{
		DatacenterId: pulumi.Int(0),
		Nickname:     pulumi.String("string"),
	},
	Domain: pulumi.String("string"),
	Assignments: akamai.GtmGeomapAssignmentArray{
		&akamai.GtmGeomapAssignmentArgs{
			DatacenterId: pulumi.Int(0),
			Nickname:     pulumi.String("string"),
			Countries: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Name:           pulumi.String("string"),
	WaitOnComplete: pulumi.Bool(false),
})
Copy
var gtmGeomapResource = new GtmGeomap("gtmGeomapResource", GtmGeomapArgs.builder()
    .defaultDatacenter(GtmGeomapDefaultDatacenterArgs.builder()
        .datacenterId(0)
        .nickname("string")
        .build())
    .domain("string")
    .assignments(GtmGeomapAssignmentArgs.builder()
        .datacenterId(0)
        .nickname("string")
        .countries("string")
        .build())
    .name("string")
    .waitOnComplete(false)
    .build());
Copy
gtm_geomap_resource = akamai.GtmGeomap("gtmGeomapResource",
    default_datacenter={
        "datacenter_id": 0,
        "nickname": "string",
    },
    domain="string",
    assignments=[{
        "datacenter_id": 0,
        "nickname": "string",
        "countries": ["string"],
    }],
    name="string",
    wait_on_complete=False)
Copy
const gtmGeomapResource = new akamai.GtmGeomap("gtmGeomapResource", {
    defaultDatacenter: {
        datacenterId: 0,
        nickname: "string",
    },
    domain: "string",
    assignments: [{
        datacenterId: 0,
        nickname: "string",
        countries: ["string"],
    }],
    name: "string",
    waitOnComplete: false,
});
Copy
type: akamai:GtmGeomap
properties:
    assignments:
        - countries:
            - string
          datacenterId: 0
          nickname: string
    defaultDatacenter:
        datacenterId: 0
        nickname: string
    domain: string
    name: string
    waitOnComplete: false
Copy

GtmGeomap Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The GtmGeomap resource accepts the following input properties:

DefaultDatacenter This property is required. GtmGeomapDefaultDatacenter
Domain This property is required. string
Assignments List<GtmGeomapAssignment>
Name string
WaitOnComplete bool
DefaultDatacenter This property is required. GtmGeomapDefaultDatacenterArgs
Domain This property is required. string
Assignments []GtmGeomapAssignmentArgs
Name string
WaitOnComplete bool
defaultDatacenter This property is required. GtmGeomapDefaultDatacenter
domain This property is required. String
assignments List<GtmGeomapAssignment>
name String
waitOnComplete Boolean
defaultDatacenter This property is required. GtmGeomapDefaultDatacenter
domain This property is required. string
assignments GtmGeomapAssignment[]
name string
waitOnComplete boolean
defaultDatacenter This property is required. Property Map
domain This property is required. String
assignments List<Property Map>
name String
waitOnComplete Boolean

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 string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up 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)
public static GtmGeomap get(String name, Output<String> id, GtmGeomapState state, CustomResourceOptions options)
resources:  _:    type: akamai:GtmGeomap    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Supporting Types

GtmGeomapAssignment
, GtmGeomapAssignmentArgs

DatacenterId This property is required. int
Nickname This property is required. string
Countries List<string>
DatacenterId This property is required. int
Nickname This property is required. string
Countries []string
datacenterId This property is required. Integer
nickname This property is required. String
countries List<String>
datacenterId This property is required. number
nickname This property is required. string
countries string[]
datacenter_id This property is required. int
nickname This property is required. str
countries Sequence[str]
datacenterId This property is required. Number
nickname This property is required. String
countries List<String>

GtmGeomapDefaultDatacenter
, GtmGeomapDefaultDatacenterArgs

DatacenterId This property is required. int
Nickname string
DatacenterId This property is required. int
Nickname string
datacenterId This property is required. Integer
nickname String
datacenterId This property is required. number
nickname string
datacenter_id This property is required. int
nickname str
datacenterId This property is required. Number
nickname String

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.