trafficmanagement

package
v2.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetGtmDefaultDatacenterArgs

type GetGtmDefaultDatacenterArgs struct {
	// The default is `5400`.
	Datacenter *int   `pulumi:"datacenter"`
	Domain     string `pulumi:"domain"`
}

A collection of arguments for invoking getGtmDefaultDatacenter.

type GetGtmDefaultDatacenterOutputArgs added in v2.5.0

type GetGtmDefaultDatacenterOutputArgs struct {
	// The default is `5400`.
	Datacenter pulumi.IntPtrInput `pulumi:"datacenter"`
	Domain     pulumi.StringInput `pulumi:"domain"`
}

A collection of arguments for invoking getGtmDefaultDatacenter.

func (GetGtmDefaultDatacenterOutputArgs) ElementType added in v2.5.0

type GetGtmDefaultDatacenterResult

type GetGtmDefaultDatacenterResult struct {
	Datacenter   *int   `pulumi:"datacenter"`
	DatacenterId int    `pulumi:"datacenterId"`
	Domain       string `pulumi:"domain"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Nickname string `pulumi:"nickname"`
}

A collection of values returned by getGtmDefaultDatacenter.

func GetGtmDefaultDatacenter deprecated

func GetGtmDefaultDatacenter(ctx *pulumi.Context, args *GetGtmDefaultDatacenterArgs, opts ...pulumi.InvokeOption) (*GetGtmDefaultDatacenterResult, error)

Use the `getGtmDefaultDatacenter` data source to retrieve the default data center, ID, and nickname.

## Attributes reference

This data source supports these attributes:

* `id` - The data resource ID. Enter in this format: `<domain>:default_datacenter:<datacenter_id>`. * `datacenterId` - The default data center ID. * `nickname` - The default data center nickname.

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

type GetGtmDefaultDatacenterResultOutput added in v2.5.0

type GetGtmDefaultDatacenterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGtmDefaultDatacenter.

func (GetGtmDefaultDatacenterResultOutput) Datacenter added in v2.5.0

func (GetGtmDefaultDatacenterResultOutput) DatacenterId added in v2.5.0

func (GetGtmDefaultDatacenterResultOutput) Domain added in v2.5.0

func (GetGtmDefaultDatacenterResultOutput) ElementType added in v2.5.0

func (GetGtmDefaultDatacenterResultOutput) Id added in v2.5.0

The provider-assigned unique ID for this managed resource.

func (GetGtmDefaultDatacenterResultOutput) Nickname added in v2.5.0

func (GetGtmDefaultDatacenterResultOutput) ToGetGtmDefaultDatacenterResultOutput added in v2.5.0

func (o GetGtmDefaultDatacenterResultOutput) ToGetGtmDefaultDatacenterResultOutput() GetGtmDefaultDatacenterResultOutput

func (GetGtmDefaultDatacenterResultOutput) ToGetGtmDefaultDatacenterResultOutputWithContext added in v2.5.0

func (o GetGtmDefaultDatacenterResultOutput) ToGetGtmDefaultDatacenterResultOutputWithContext(ctx context.Context) GetGtmDefaultDatacenterResultOutput

type GtmASmap deprecated

type GtmASmap struct {
	pulumi.CustomResourceState

	// Contains information about the AS zone groupings of AS IDs. You can have multiple entries with this argument. If used, requires these arguments:
	Assignments GtmASmapAssignmentArrayOutput `pulumi:"assignments"`
	// A placeholder for all other AS zones not found in these AS zones. Requires these additional arguments:
	DefaultDatacenter GtmASmapDefaultDatacenterOutput `pulumi:"defaultDatacenter"`
	// The GTM Domain name for the AS map.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A descriptive label for the AS map. Properties set up for  AS mapping can use this as reference.
	Name pulumi.StringOutput `pulumi:"name"`
	// A boolean that, if `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

Use the `GtmAsmap` resource to create, configure, and import a GTM Autonomous System (AS) map. AS mapping lets you configure a GTM property that returns a CNAME based on the AS number associated with the requester's IP address.

You can reuse maps for multiple properties or create new ones. AS maps split the Internet into multiple AS block zones. Properties that use AS maps can specify handout integers for each zone. AS mapping lets you configure a property that directs users to a specific environment or to the origin.

> **Note** Import requires an ID with this format: `existingDomainName`:`existingMapName`.

## Example Usage

Basic usage:

```go 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.NewGtmAsmap(ctx, "demoAsmap", &akamai.GtmAsmapArgs{
			DefaultDatacenter: &GtmAsmapDefaultDatacenterArgs{
				DatacenterId: pulumi.Int(5400),
				Nickname:     pulumi.String("All Other AS numbers"),
			},
			Domain: pulumi.String("demo_domain.akadns.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM AS Map backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#asmap) page.

Deprecated: akamai.trafficmanagement.GtmASmap has been deprecated in favor of akamai.GtmAsmap

func GetGtmASmap

func GetGtmASmap(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmASmapState, opts ...pulumi.ResourceOption) (*GtmASmap, error)

GetGtmASmap gets an existing GtmASmap resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmASmap

func NewGtmASmap(ctx *pulumi.Context,
	name string, args *GtmASmapArgs, opts ...pulumi.ResourceOption) (*GtmASmap, error)

NewGtmASmap registers a new resource with the given unique name, arguments, and options.

func (*GtmASmap) ElementType

func (*GtmASmap) ElementType() reflect.Type

func (*GtmASmap) ToGtmASmapOutput

func (i *GtmASmap) ToGtmASmapOutput() GtmASmapOutput

func (*GtmASmap) ToGtmASmapOutputWithContext

func (i *GtmASmap) ToGtmASmapOutputWithContext(ctx context.Context) GtmASmapOutput

type GtmASmapArgs

type GtmASmapArgs struct {
	// Contains information about the AS zone groupings of AS IDs. You can have multiple entries with this argument. If used, requires these arguments:
	Assignments GtmASmapAssignmentArrayInput
	// A placeholder for all other AS zones not found in these AS zones. Requires these additional arguments:
	DefaultDatacenter GtmASmapDefaultDatacenterInput
	// The GTM Domain name for the AS map.
	Domain pulumi.StringInput
	// A descriptive label for the AS map. Properties set up for  AS mapping can use this as reference.
	Name pulumi.StringPtrInput
	// A boolean that, if `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmASmap resource.

func (GtmASmapArgs) ElementType

func (GtmASmapArgs) ElementType() reflect.Type

type GtmASmapArray

type GtmASmapArray []GtmASmapInput

func (GtmASmapArray) ElementType

func (GtmASmapArray) ElementType() reflect.Type

func (GtmASmapArray) ToGtmASmapArrayOutput

func (i GtmASmapArray) ToGtmASmapArrayOutput() GtmASmapArrayOutput

func (GtmASmapArray) ToGtmASmapArrayOutputWithContext

func (i GtmASmapArray) ToGtmASmapArrayOutputWithContext(ctx context.Context) GtmASmapArrayOutput

type GtmASmapArrayInput

type GtmASmapArrayInput interface {
	pulumi.Input

	ToGtmASmapArrayOutput() GtmASmapArrayOutput
	ToGtmASmapArrayOutputWithContext(context.Context) GtmASmapArrayOutput
}

GtmASmapArrayInput is an input type that accepts GtmASmapArray and GtmASmapArrayOutput values. You can construct a concrete instance of `GtmASmapArrayInput` via:

GtmASmapArray{ GtmASmapArgs{...} }

type GtmASmapArrayOutput

type GtmASmapArrayOutput struct{ *pulumi.OutputState }

func (GtmASmapArrayOutput) ElementType

func (GtmASmapArrayOutput) ElementType() reflect.Type

func (GtmASmapArrayOutput) Index

func (GtmASmapArrayOutput) ToGtmASmapArrayOutput

func (o GtmASmapArrayOutput) ToGtmASmapArrayOutput() GtmASmapArrayOutput

func (GtmASmapArrayOutput) ToGtmASmapArrayOutputWithContext

func (o GtmASmapArrayOutput) ToGtmASmapArrayOutputWithContext(ctx context.Context) GtmASmapArrayOutput

type GtmASmapAssignment

type GtmASmapAssignment struct {
	// Specifies an array of AS numbers.
	AsNumbers []int `pulumi:"asNumbers"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname string `pulumi:"nickname"`
}

type GtmASmapAssignmentArgs

type GtmASmapAssignmentArgs struct {
	// Specifies an array of AS numbers.
	AsNumbers pulumi.IntArrayInput `pulumi:"asNumbers"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname pulumi.StringInput `pulumi:"nickname"`
}

func (GtmASmapAssignmentArgs) ElementType

func (GtmASmapAssignmentArgs) ElementType() reflect.Type

func (GtmASmapAssignmentArgs) ToGtmASmapAssignmentOutput

func (i GtmASmapAssignmentArgs) ToGtmASmapAssignmentOutput() GtmASmapAssignmentOutput

func (GtmASmapAssignmentArgs) ToGtmASmapAssignmentOutputWithContext

func (i GtmASmapAssignmentArgs) ToGtmASmapAssignmentOutputWithContext(ctx context.Context) GtmASmapAssignmentOutput

type GtmASmapAssignmentArray

type GtmASmapAssignmentArray []GtmASmapAssignmentInput

func (GtmASmapAssignmentArray) ElementType

func (GtmASmapAssignmentArray) ElementType() reflect.Type

func (GtmASmapAssignmentArray) ToGtmASmapAssignmentArrayOutput

func (i GtmASmapAssignmentArray) ToGtmASmapAssignmentArrayOutput() GtmASmapAssignmentArrayOutput

func (GtmASmapAssignmentArray) ToGtmASmapAssignmentArrayOutputWithContext

func (i GtmASmapAssignmentArray) ToGtmASmapAssignmentArrayOutputWithContext(ctx context.Context) GtmASmapAssignmentArrayOutput

type GtmASmapAssignmentArrayInput

type GtmASmapAssignmentArrayInput interface {
	pulumi.Input

	ToGtmASmapAssignmentArrayOutput() GtmASmapAssignmentArrayOutput
	ToGtmASmapAssignmentArrayOutputWithContext(context.Context) GtmASmapAssignmentArrayOutput
}

GtmASmapAssignmentArrayInput is an input type that accepts GtmASmapAssignmentArray and GtmASmapAssignmentArrayOutput values. You can construct a concrete instance of `GtmASmapAssignmentArrayInput` via:

GtmASmapAssignmentArray{ GtmASmapAssignmentArgs{...} }

type GtmASmapAssignmentArrayOutput

type GtmASmapAssignmentArrayOutput struct{ *pulumi.OutputState }

func (GtmASmapAssignmentArrayOutput) ElementType

func (GtmASmapAssignmentArrayOutput) Index

func (GtmASmapAssignmentArrayOutput) ToGtmASmapAssignmentArrayOutput

func (o GtmASmapAssignmentArrayOutput) ToGtmASmapAssignmentArrayOutput() GtmASmapAssignmentArrayOutput

func (GtmASmapAssignmentArrayOutput) ToGtmASmapAssignmentArrayOutputWithContext

func (o GtmASmapAssignmentArrayOutput) ToGtmASmapAssignmentArrayOutputWithContext(ctx context.Context) GtmASmapAssignmentArrayOutput

type GtmASmapAssignmentInput

type GtmASmapAssignmentInput interface {
	pulumi.Input

	ToGtmASmapAssignmentOutput() GtmASmapAssignmentOutput
	ToGtmASmapAssignmentOutputWithContext(context.Context) GtmASmapAssignmentOutput
}

GtmASmapAssignmentInput is an input type that accepts GtmASmapAssignmentArgs and GtmASmapAssignmentOutput values. You can construct a concrete instance of `GtmASmapAssignmentInput` via:

GtmASmapAssignmentArgs{...}

type GtmASmapAssignmentOutput

type GtmASmapAssignmentOutput struct{ *pulumi.OutputState }

func (GtmASmapAssignmentOutput) AsNumbers

Specifies an array of AS numbers.

func (GtmASmapAssignmentOutput) DatacenterId

func (o GtmASmapAssignmentOutput) DatacenterId() pulumi.IntOutput

A unique identifier for an existing data center in the domain.

func (GtmASmapAssignmentOutput) ElementType

func (GtmASmapAssignmentOutput) ElementType() reflect.Type

func (GtmASmapAssignmentOutput) Nickname

A descriptive label for the group.

func (GtmASmapAssignmentOutput) ToGtmASmapAssignmentOutput

func (o GtmASmapAssignmentOutput) ToGtmASmapAssignmentOutput() GtmASmapAssignmentOutput

func (GtmASmapAssignmentOutput) ToGtmASmapAssignmentOutputWithContext

func (o GtmASmapAssignmentOutput) ToGtmASmapAssignmentOutputWithContext(ctx context.Context) GtmASmapAssignmentOutput

type GtmASmapDefaultDatacenter

type GtmASmapDefaultDatacenter struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname *string `pulumi:"nickname"`
}

type GtmASmapDefaultDatacenterArgs

type GtmASmapDefaultDatacenterArgs struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname pulumi.StringPtrInput `pulumi:"nickname"`
}

func (GtmASmapDefaultDatacenterArgs) ElementType

func (GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterOutput

func (i GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterOutput() GtmASmapDefaultDatacenterOutput

func (GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterOutputWithContext

func (i GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterOutputWithContext(ctx context.Context) GtmASmapDefaultDatacenterOutput

func (GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterPtrOutput

func (i GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterPtrOutput() GtmASmapDefaultDatacenterPtrOutput

func (GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterPtrOutputWithContext

func (i GtmASmapDefaultDatacenterArgs) ToGtmASmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmASmapDefaultDatacenterPtrOutput

type GtmASmapDefaultDatacenterInput

type GtmASmapDefaultDatacenterInput interface {
	pulumi.Input

	ToGtmASmapDefaultDatacenterOutput() GtmASmapDefaultDatacenterOutput
	ToGtmASmapDefaultDatacenterOutputWithContext(context.Context) GtmASmapDefaultDatacenterOutput
}

GtmASmapDefaultDatacenterInput is an input type that accepts GtmASmapDefaultDatacenterArgs and GtmASmapDefaultDatacenterOutput values. You can construct a concrete instance of `GtmASmapDefaultDatacenterInput` via:

GtmASmapDefaultDatacenterArgs{...}

type GtmASmapDefaultDatacenterOutput

type GtmASmapDefaultDatacenterOutput struct{ *pulumi.OutputState }

func (GtmASmapDefaultDatacenterOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmASmapDefaultDatacenterOutput) ElementType

func (GtmASmapDefaultDatacenterOutput) Nickname

A descriptive label for the group.

func (GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterOutput

func (o GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterOutput() GtmASmapDefaultDatacenterOutput

func (GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterOutputWithContext

func (o GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterOutputWithContext(ctx context.Context) GtmASmapDefaultDatacenterOutput

func (GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterPtrOutput

func (o GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterPtrOutput() GtmASmapDefaultDatacenterPtrOutput

func (GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterPtrOutputWithContext

func (o GtmASmapDefaultDatacenterOutput) ToGtmASmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmASmapDefaultDatacenterPtrOutput

type GtmASmapDefaultDatacenterPtrInput

type GtmASmapDefaultDatacenterPtrInput interface {
	pulumi.Input

	ToGtmASmapDefaultDatacenterPtrOutput() GtmASmapDefaultDatacenterPtrOutput
	ToGtmASmapDefaultDatacenterPtrOutputWithContext(context.Context) GtmASmapDefaultDatacenterPtrOutput
}

GtmASmapDefaultDatacenterPtrInput is an input type that accepts GtmASmapDefaultDatacenterArgs, GtmASmapDefaultDatacenterPtr and GtmASmapDefaultDatacenterPtrOutput values. You can construct a concrete instance of `GtmASmapDefaultDatacenterPtrInput` via:

        GtmASmapDefaultDatacenterArgs{...}

or:

        nil

type GtmASmapDefaultDatacenterPtrOutput

type GtmASmapDefaultDatacenterPtrOutput struct{ *pulumi.OutputState }

func (GtmASmapDefaultDatacenterPtrOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmASmapDefaultDatacenterPtrOutput) Elem

func (GtmASmapDefaultDatacenterPtrOutput) ElementType

func (GtmASmapDefaultDatacenterPtrOutput) Nickname

A descriptive label for the group.

func (GtmASmapDefaultDatacenterPtrOutput) ToGtmASmapDefaultDatacenterPtrOutput

func (o GtmASmapDefaultDatacenterPtrOutput) ToGtmASmapDefaultDatacenterPtrOutput() GtmASmapDefaultDatacenterPtrOutput

func (GtmASmapDefaultDatacenterPtrOutput) ToGtmASmapDefaultDatacenterPtrOutputWithContext

func (o GtmASmapDefaultDatacenterPtrOutput) ToGtmASmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmASmapDefaultDatacenterPtrOutput

type GtmASmapInput

type GtmASmapInput interface {
	pulumi.Input

	ToGtmASmapOutput() GtmASmapOutput
	ToGtmASmapOutputWithContext(ctx context.Context) GtmASmapOutput
}

type GtmASmapMap

type GtmASmapMap map[string]GtmASmapInput

func (GtmASmapMap) ElementType

func (GtmASmapMap) ElementType() reflect.Type

func (GtmASmapMap) ToGtmASmapMapOutput

func (i GtmASmapMap) ToGtmASmapMapOutput() GtmASmapMapOutput

func (GtmASmapMap) ToGtmASmapMapOutputWithContext

func (i GtmASmapMap) ToGtmASmapMapOutputWithContext(ctx context.Context) GtmASmapMapOutput

type GtmASmapMapInput

type GtmASmapMapInput interface {
	pulumi.Input

	ToGtmASmapMapOutput() GtmASmapMapOutput
	ToGtmASmapMapOutputWithContext(context.Context) GtmASmapMapOutput
}

GtmASmapMapInput is an input type that accepts GtmASmapMap and GtmASmapMapOutput values. You can construct a concrete instance of `GtmASmapMapInput` via:

GtmASmapMap{ "key": GtmASmapArgs{...} }

type GtmASmapMapOutput

type GtmASmapMapOutput struct{ *pulumi.OutputState }

func (GtmASmapMapOutput) ElementType

func (GtmASmapMapOutput) ElementType() reflect.Type

func (GtmASmapMapOutput) MapIndex

func (GtmASmapMapOutput) ToGtmASmapMapOutput

func (o GtmASmapMapOutput) ToGtmASmapMapOutput() GtmASmapMapOutput

func (GtmASmapMapOutput) ToGtmASmapMapOutputWithContext

func (o GtmASmapMapOutput) ToGtmASmapMapOutputWithContext(ctx context.Context) GtmASmapMapOutput

type GtmASmapOutput

type GtmASmapOutput struct{ *pulumi.OutputState }

func (GtmASmapOutput) ElementType

func (GtmASmapOutput) ElementType() reflect.Type

func (GtmASmapOutput) ToGtmASmapOutput

func (o GtmASmapOutput) ToGtmASmapOutput() GtmASmapOutput

func (GtmASmapOutput) ToGtmASmapOutputWithContext

func (o GtmASmapOutput) ToGtmASmapOutputWithContext(ctx context.Context) GtmASmapOutput

type GtmASmapState

type GtmASmapState struct {
	// Contains information about the AS zone groupings of AS IDs. You can have multiple entries with this argument. If used, requires these arguments:
	Assignments GtmASmapAssignmentArrayInput
	// A placeholder for all other AS zones not found in these AS zones. Requires these additional arguments:
	DefaultDatacenter GtmASmapDefaultDatacenterPtrInput
	// The GTM Domain name for the AS map.
	Domain pulumi.StringPtrInput
	// A descriptive label for the AS map. Properties set up for  AS mapping can use this as reference.
	Name pulumi.StringPtrInput
	// A boolean that, if `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmASmapState) ElementType

func (GtmASmapState) ElementType() reflect.Type

type GtmCidrmap deprecated

type GtmCidrmap struct {
	pulumi.CustomResourceState

	// Contains information about the CIDR zone groupings of CIDR blocks. You can have multiple entries with this argument. If used, requires these additional arguments:
	Assignments GtmCidrmapAssignmentArrayOutput `pulumi:"assignments"`
	// A placeholder for all other CIDR zones not found in these CIDR zones. Requires these additional arguments:
	DefaultDatacenter GtmCidrmapDefaultDatacenterOutput `pulumi:"defaultDatacenter"`
	// GTM Domain name for the AS Map.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A descriptive label for the CIDR map, up to 255 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

Use the `GtmCidrmap` resource to create, configure, and import a GTM Classless Inter-Domain Routing (CIDR) map. CIDR mapping uses the IP addresses of the requesting name server to provide IP-specific CNAME entries. CNAMEs let you direct internal users to a specific environment or direct them to the origin. This lets you provide different responses to an internal corporate DNS infrastructure, such as internal test environments and another answer for all other name servers (`defaultDatacenter`).

CIDR maps split the Internet into multiple CIDR block zones. Properties that use a map can specify a handout CNAME for each zone on the property's editing page. To configure a property for CIDR mapping, your domain needs at least one CIDR map defined.

> **Note** Import requires an ID with this format: `existingDomainName`:`existingMapName`.

## Example Usage

Basic usage:

```go 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.NewGtmCidrmap(ctx, "demoCidrmap", &akamai.GtmCidrmapArgs{
			DefaultDatacenter: &GtmCidrmapDefaultDatacenterArgs{
				DatacenterId: pulumi.Int(5400),
				Nickname:     pulumi.String("All Other CIDR Blocks"),
			},
			Domain: pulumi.String("demo_domain.akadns.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM CIDR Map backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#cidrmap) page.

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

func GetGtmCidrmap

func GetGtmCidrmap(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmCidrmapState, opts ...pulumi.ResourceOption) (*GtmCidrmap, error)

GetGtmCidrmap gets an existing GtmCidrmap resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmCidrmap

func NewGtmCidrmap(ctx *pulumi.Context,
	name string, args *GtmCidrmapArgs, opts ...pulumi.ResourceOption) (*GtmCidrmap, error)

NewGtmCidrmap registers a new resource with the given unique name, arguments, and options.

func (*GtmCidrmap) ElementType

func (*GtmCidrmap) ElementType() reflect.Type

func (*GtmCidrmap) ToGtmCidrmapOutput

func (i *GtmCidrmap) ToGtmCidrmapOutput() GtmCidrmapOutput

func (*GtmCidrmap) ToGtmCidrmapOutputWithContext

func (i *GtmCidrmap) ToGtmCidrmapOutputWithContext(ctx context.Context) GtmCidrmapOutput

type GtmCidrmapArgs

type GtmCidrmapArgs struct {
	// Contains information about the CIDR zone groupings of CIDR blocks. You can have multiple entries with this argument. If used, requires these additional arguments:
	Assignments GtmCidrmapAssignmentArrayInput
	// A placeholder for all other CIDR zones not found in these CIDR zones. Requires these additional arguments:
	DefaultDatacenter GtmCidrmapDefaultDatacenterInput
	// GTM Domain name for the AS Map.
	Domain pulumi.StringInput
	// A descriptive label for the CIDR map, up to 255 characters.
	Name pulumi.StringPtrInput
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmCidrmap resource.

func (GtmCidrmapArgs) ElementType

func (GtmCidrmapArgs) ElementType() reflect.Type

type GtmCidrmapArray

type GtmCidrmapArray []GtmCidrmapInput

func (GtmCidrmapArray) ElementType

func (GtmCidrmapArray) ElementType() reflect.Type

func (GtmCidrmapArray) ToGtmCidrmapArrayOutput

func (i GtmCidrmapArray) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput

func (GtmCidrmapArray) ToGtmCidrmapArrayOutputWithContext

func (i GtmCidrmapArray) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput

type GtmCidrmapArrayInput

type GtmCidrmapArrayInput interface {
	pulumi.Input

	ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput
	ToGtmCidrmapArrayOutputWithContext(context.Context) GtmCidrmapArrayOutput
}

GtmCidrmapArrayInput is an input type that accepts GtmCidrmapArray and GtmCidrmapArrayOutput values. You can construct a concrete instance of `GtmCidrmapArrayInput` via:

GtmCidrmapArray{ GtmCidrmapArgs{...} }

type GtmCidrmapArrayOutput

type GtmCidrmapArrayOutput struct{ *pulumi.OutputState }

func (GtmCidrmapArrayOutput) ElementType

func (GtmCidrmapArrayOutput) ElementType() reflect.Type

func (GtmCidrmapArrayOutput) Index

func (GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutput

func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutput() GtmCidrmapArrayOutput

func (GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutputWithContext

func (o GtmCidrmapArrayOutput) ToGtmCidrmapArrayOutputWithContext(ctx context.Context) GtmCidrmapArrayOutput

type GtmCidrmapAssignment

type GtmCidrmapAssignment struct {
	// Specifies an array of CIDR blocks.
	Blocks []string `pulumi:"blocks"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the CIDR zone group, up to 256 characters.
	Nickname string `pulumi:"nickname"`
}

type GtmCidrmapAssignmentArgs

type GtmCidrmapAssignmentArgs struct {
	// Specifies an array of CIDR blocks.
	Blocks pulumi.StringArrayInput `pulumi:"blocks"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the CIDR zone group, up to 256 characters.
	Nickname pulumi.StringInput `pulumi:"nickname"`
}

func (GtmCidrmapAssignmentArgs) ElementType

func (GtmCidrmapAssignmentArgs) ElementType() reflect.Type

func (GtmCidrmapAssignmentArgs) ToGtmCidrmapAssignmentOutput

func (i GtmCidrmapAssignmentArgs) ToGtmCidrmapAssignmentOutput() GtmCidrmapAssignmentOutput

func (GtmCidrmapAssignmentArgs) ToGtmCidrmapAssignmentOutputWithContext

func (i GtmCidrmapAssignmentArgs) ToGtmCidrmapAssignmentOutputWithContext(ctx context.Context) GtmCidrmapAssignmentOutput

type GtmCidrmapAssignmentArray

type GtmCidrmapAssignmentArray []GtmCidrmapAssignmentInput

func (GtmCidrmapAssignmentArray) ElementType

func (GtmCidrmapAssignmentArray) ElementType() reflect.Type

func (GtmCidrmapAssignmentArray) ToGtmCidrmapAssignmentArrayOutput

func (i GtmCidrmapAssignmentArray) ToGtmCidrmapAssignmentArrayOutput() GtmCidrmapAssignmentArrayOutput

func (GtmCidrmapAssignmentArray) ToGtmCidrmapAssignmentArrayOutputWithContext

func (i GtmCidrmapAssignmentArray) ToGtmCidrmapAssignmentArrayOutputWithContext(ctx context.Context) GtmCidrmapAssignmentArrayOutput

type GtmCidrmapAssignmentArrayInput

type GtmCidrmapAssignmentArrayInput interface {
	pulumi.Input

	ToGtmCidrmapAssignmentArrayOutput() GtmCidrmapAssignmentArrayOutput
	ToGtmCidrmapAssignmentArrayOutputWithContext(context.Context) GtmCidrmapAssignmentArrayOutput
}

GtmCidrmapAssignmentArrayInput is an input type that accepts GtmCidrmapAssignmentArray and GtmCidrmapAssignmentArrayOutput values. You can construct a concrete instance of `GtmCidrmapAssignmentArrayInput` via:

GtmCidrmapAssignmentArray{ GtmCidrmapAssignmentArgs{...} }

type GtmCidrmapAssignmentArrayOutput

type GtmCidrmapAssignmentArrayOutput struct{ *pulumi.OutputState }

func (GtmCidrmapAssignmentArrayOutput) ElementType

func (GtmCidrmapAssignmentArrayOutput) Index

func (GtmCidrmapAssignmentArrayOutput) ToGtmCidrmapAssignmentArrayOutput

func (o GtmCidrmapAssignmentArrayOutput) ToGtmCidrmapAssignmentArrayOutput() GtmCidrmapAssignmentArrayOutput

func (GtmCidrmapAssignmentArrayOutput) ToGtmCidrmapAssignmentArrayOutputWithContext

func (o GtmCidrmapAssignmentArrayOutput) ToGtmCidrmapAssignmentArrayOutputWithContext(ctx context.Context) GtmCidrmapAssignmentArrayOutput

type GtmCidrmapAssignmentInput

type GtmCidrmapAssignmentInput interface {
	pulumi.Input

	ToGtmCidrmapAssignmentOutput() GtmCidrmapAssignmentOutput
	ToGtmCidrmapAssignmentOutputWithContext(context.Context) GtmCidrmapAssignmentOutput
}

GtmCidrmapAssignmentInput is an input type that accepts GtmCidrmapAssignmentArgs and GtmCidrmapAssignmentOutput values. You can construct a concrete instance of `GtmCidrmapAssignmentInput` via:

GtmCidrmapAssignmentArgs{...}

type GtmCidrmapAssignmentOutput

type GtmCidrmapAssignmentOutput struct{ *pulumi.OutputState }

func (GtmCidrmapAssignmentOutput) Blocks

Specifies an array of CIDR blocks.

func (GtmCidrmapAssignmentOutput) DatacenterId

func (o GtmCidrmapAssignmentOutput) DatacenterId() pulumi.IntOutput

A unique identifier for an existing data center in the domain.

func (GtmCidrmapAssignmentOutput) ElementType

func (GtmCidrmapAssignmentOutput) ElementType() reflect.Type

func (GtmCidrmapAssignmentOutput) Nickname

A descriptive label for the CIDR zone group, up to 256 characters.

func (GtmCidrmapAssignmentOutput) ToGtmCidrmapAssignmentOutput

func (o GtmCidrmapAssignmentOutput) ToGtmCidrmapAssignmentOutput() GtmCidrmapAssignmentOutput

func (GtmCidrmapAssignmentOutput) ToGtmCidrmapAssignmentOutputWithContext

func (o GtmCidrmapAssignmentOutput) ToGtmCidrmapAssignmentOutputWithContext(ctx context.Context) GtmCidrmapAssignmentOutput

type GtmCidrmapDefaultDatacenter

type GtmCidrmapDefaultDatacenter struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the CIDR zone group, up to 256 characters.
	Nickname *string `pulumi:"nickname"`
}

type GtmCidrmapDefaultDatacenterArgs

type GtmCidrmapDefaultDatacenterArgs struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the CIDR zone group, up to 256 characters.
	Nickname pulumi.StringPtrInput `pulumi:"nickname"`
}

func (GtmCidrmapDefaultDatacenterArgs) ElementType

func (GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterOutput

func (i GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterOutput() GtmCidrmapDefaultDatacenterOutput

func (GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterOutputWithContext

func (i GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterOutputWithContext(ctx context.Context) GtmCidrmapDefaultDatacenterOutput

func (GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterPtrOutput

func (i GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterPtrOutput() GtmCidrmapDefaultDatacenterPtrOutput

func (GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext

func (i GtmCidrmapDefaultDatacenterArgs) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmCidrmapDefaultDatacenterPtrOutput

type GtmCidrmapDefaultDatacenterInput

type GtmCidrmapDefaultDatacenterInput interface {
	pulumi.Input

	ToGtmCidrmapDefaultDatacenterOutput() GtmCidrmapDefaultDatacenterOutput
	ToGtmCidrmapDefaultDatacenterOutputWithContext(context.Context) GtmCidrmapDefaultDatacenterOutput
}

GtmCidrmapDefaultDatacenterInput is an input type that accepts GtmCidrmapDefaultDatacenterArgs and GtmCidrmapDefaultDatacenterOutput values. You can construct a concrete instance of `GtmCidrmapDefaultDatacenterInput` via:

GtmCidrmapDefaultDatacenterArgs{...}

type GtmCidrmapDefaultDatacenterOutput

type GtmCidrmapDefaultDatacenterOutput struct{ *pulumi.OutputState }

func (GtmCidrmapDefaultDatacenterOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmCidrmapDefaultDatacenterOutput) ElementType

func (GtmCidrmapDefaultDatacenterOutput) Nickname

A descriptive label for the CIDR zone group, up to 256 characters.

func (GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterOutput

func (o GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterOutput() GtmCidrmapDefaultDatacenterOutput

func (GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterOutputWithContext

func (o GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterOutputWithContext(ctx context.Context) GtmCidrmapDefaultDatacenterOutput

func (GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterPtrOutput

func (o GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterPtrOutput() GtmCidrmapDefaultDatacenterPtrOutput

func (GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext

func (o GtmCidrmapDefaultDatacenterOutput) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmCidrmapDefaultDatacenterPtrOutput

type GtmCidrmapDefaultDatacenterPtrInput

type GtmCidrmapDefaultDatacenterPtrInput interface {
	pulumi.Input

	ToGtmCidrmapDefaultDatacenterPtrOutput() GtmCidrmapDefaultDatacenterPtrOutput
	ToGtmCidrmapDefaultDatacenterPtrOutputWithContext(context.Context) GtmCidrmapDefaultDatacenterPtrOutput
}

GtmCidrmapDefaultDatacenterPtrInput is an input type that accepts GtmCidrmapDefaultDatacenterArgs, GtmCidrmapDefaultDatacenterPtr and GtmCidrmapDefaultDatacenterPtrOutput values. You can construct a concrete instance of `GtmCidrmapDefaultDatacenterPtrInput` via:

        GtmCidrmapDefaultDatacenterArgs{...}

or:

        nil

type GtmCidrmapDefaultDatacenterPtrOutput

type GtmCidrmapDefaultDatacenterPtrOutput struct{ *pulumi.OutputState }

func (GtmCidrmapDefaultDatacenterPtrOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmCidrmapDefaultDatacenterPtrOutput) Elem

func (GtmCidrmapDefaultDatacenterPtrOutput) ElementType

func (GtmCidrmapDefaultDatacenterPtrOutput) Nickname

A descriptive label for the CIDR zone group, up to 256 characters.

func (GtmCidrmapDefaultDatacenterPtrOutput) ToGtmCidrmapDefaultDatacenterPtrOutput

func (o GtmCidrmapDefaultDatacenterPtrOutput) ToGtmCidrmapDefaultDatacenterPtrOutput() GtmCidrmapDefaultDatacenterPtrOutput

func (GtmCidrmapDefaultDatacenterPtrOutput) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext

func (o GtmCidrmapDefaultDatacenterPtrOutput) ToGtmCidrmapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmCidrmapDefaultDatacenterPtrOutput

type GtmCidrmapInput

type GtmCidrmapInput interface {
	pulumi.Input

	ToGtmCidrmapOutput() GtmCidrmapOutput
	ToGtmCidrmapOutputWithContext(ctx context.Context) GtmCidrmapOutput
}

type GtmCidrmapMap

type GtmCidrmapMap map[string]GtmCidrmapInput

func (GtmCidrmapMap) ElementType

func (GtmCidrmapMap) ElementType() reflect.Type

func (GtmCidrmapMap) ToGtmCidrmapMapOutput

func (i GtmCidrmapMap) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput

func (GtmCidrmapMap) ToGtmCidrmapMapOutputWithContext

func (i GtmCidrmapMap) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput

type GtmCidrmapMapInput

type GtmCidrmapMapInput interface {
	pulumi.Input

	ToGtmCidrmapMapOutput() GtmCidrmapMapOutput
	ToGtmCidrmapMapOutputWithContext(context.Context) GtmCidrmapMapOutput
}

GtmCidrmapMapInput is an input type that accepts GtmCidrmapMap and GtmCidrmapMapOutput values. You can construct a concrete instance of `GtmCidrmapMapInput` via:

GtmCidrmapMap{ "key": GtmCidrmapArgs{...} }

type GtmCidrmapMapOutput

type GtmCidrmapMapOutput struct{ *pulumi.OutputState }

func (GtmCidrmapMapOutput) ElementType

func (GtmCidrmapMapOutput) ElementType() reflect.Type

func (GtmCidrmapMapOutput) MapIndex

func (GtmCidrmapMapOutput) ToGtmCidrmapMapOutput

func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutput() GtmCidrmapMapOutput

func (GtmCidrmapMapOutput) ToGtmCidrmapMapOutputWithContext

func (o GtmCidrmapMapOutput) ToGtmCidrmapMapOutputWithContext(ctx context.Context) GtmCidrmapMapOutput

type GtmCidrmapOutput

type GtmCidrmapOutput struct{ *pulumi.OutputState }

func (GtmCidrmapOutput) ElementType

func (GtmCidrmapOutput) ElementType() reflect.Type

func (GtmCidrmapOutput) ToGtmCidrmapOutput

func (o GtmCidrmapOutput) ToGtmCidrmapOutput() GtmCidrmapOutput

func (GtmCidrmapOutput) ToGtmCidrmapOutputWithContext

func (o GtmCidrmapOutput) ToGtmCidrmapOutputWithContext(ctx context.Context) GtmCidrmapOutput

type GtmCidrmapState

type GtmCidrmapState struct {
	// Contains information about the CIDR zone groupings of CIDR blocks. You can have multiple entries with this argument. If used, requires these additional arguments:
	Assignments GtmCidrmapAssignmentArrayInput
	// A placeholder for all other CIDR zones not found in these CIDR zones. Requires these additional arguments:
	DefaultDatacenter GtmCidrmapDefaultDatacenterPtrInput
	// GTM Domain name for the AS Map.
	Domain pulumi.StringPtrInput
	// A descriptive label for the CIDR map, up to 255 characters.
	Name pulumi.StringPtrInput
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmCidrmapState) ElementType

func (GtmCidrmapState) ElementType() reflect.Type

type GtmDatacenter deprecated

type GtmDatacenter struct {
	pulumi.CustomResourceState

	// The name of the city where the data center is located.
	City pulumi.StringPtrOutput `pulumi:"city"`
	// Identifies the data center's `datacenterId` of which this data center is a clone.
	CloneOf pulumi.IntPtrOutput `pulumi:"cloneOf"`
	// A boolean that, if set to `true`, Akamai's liveness test agents use the Host header configured in the liveness test.
	CloudServerHostHeaderOverride pulumi.BoolPtrOutput `pulumi:"cloudServerHostHeaderOverride"`
	// A boolean indicating whether to balance load between two or more servers in a cloud environment.
	CloudServerTargeting pulumi.BoolPtrOutput `pulumi:"cloudServerTargeting"`
	// A two-letter code that specifies the continent where the data center maps to.
	Continent pulumi.StringPtrOutput `pulumi:"continent"`
	// A two-letter ISO 3166 country code that specifies the country where the data center maps to.
	Country pulumi.StringPtrOutput `pulumi:"country"`
	// A unique identifier for an existing data center in the domain.
	// * `pingInterval`
	// * `pingPacketSize`
	// * `scorePenalty`
	// * `servermonitorLivenessCount`
	// * `servermonitorLoadCount`
	// * `servermonitorPool`
	DatacenterId pulumi.IntOutput `pulumi:"datacenterId"`
	// Specifies the load reporting interface between you and the GTM system. If used, requires these additional arguments:
	DefaultLoadObject GtmDatacenterDefaultLoadObjectPtrOutput `pulumi:"defaultLoadObject"`
	// The GTM domain name for the data center.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Specifies the geographical latitude of the data center's position. See also longitude within this object.
	Latitude pulumi.Float64PtrOutput `pulumi:"latitude"`
	// Specifies the geographic longitude of the data center's position. See also latitude within this object.
	Longitude pulumi.Float64PtrOutput `pulumi:"longitude"`
	// A descriptive label for the data center.
	Nickname                   pulumi.StringPtrOutput `pulumi:"nickname"`
	PingInterval               pulumi.IntOutput       `pulumi:"pingInterval"`
	PingPacketSize             pulumi.IntOutput       `pulumi:"pingPacketSize"`
	ScorePenalty               pulumi.IntOutput       `pulumi:"scorePenalty"`
	ServermonitorLivenessCount pulumi.IntOutput       `pulumi:"servermonitorLivenessCount"`
	ServermonitorLoadCount     pulumi.IntOutput       `pulumi:"servermonitorLoadCount"`
	ServermonitorPool          pulumi.StringOutput    `pulumi:"servermonitorPool"`
	// Specifies a two-letter ISO 3166 country code for the state or province where the data center is located.
	StateOrProvince pulumi.StringPtrOutput `pulumi:"stateOrProvince"`
	// A boolean indicating whether the data center is virtual or physical, the latter meaning the data center has an Akamai Network Agent installed, and its physical location (`latitude`, `longitude`) is fixed. Either `true` if virtual or `false` if physical.
	Virtual pulumi.BoolOutput `pulumi:"virtual"`
	// A boolean, that if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

Use the `GtmDatacenter` resource to create, configure, and import a GTM data center. A GTM data center represents a customer data center and is also known as a traffic target, a location containing many servers GTM can direct traffic to.

GTM uses data centers to scale load balancing. For example, you might have data centers in both New York and Amsterdam and want to balance load between them. You can configure GTM to send US users to the New York data center and European users to the data center in Amsterdam.

> **Note** Import requires an ID with this format: `existingDomainName`:`existingDatacenterId`.

## Example Usage

Basic usage:

```go 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
	})
}

``` ## Schema reference

You can download the GTM Data Center backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#datacenter) page.

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

func GetGtmDatacenter

func GetGtmDatacenter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmDatacenterState, opts ...pulumi.ResourceOption) (*GtmDatacenter, error)

GetGtmDatacenter gets an existing GtmDatacenter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmDatacenter

func NewGtmDatacenter(ctx *pulumi.Context,
	name string, args *GtmDatacenterArgs, opts ...pulumi.ResourceOption) (*GtmDatacenter, error)

NewGtmDatacenter registers a new resource with the given unique name, arguments, and options.

func (*GtmDatacenter) ElementType

func (*GtmDatacenter) ElementType() reflect.Type

func (*GtmDatacenter) ToGtmDatacenterOutput

func (i *GtmDatacenter) ToGtmDatacenterOutput() GtmDatacenterOutput

func (*GtmDatacenter) ToGtmDatacenterOutputWithContext

func (i *GtmDatacenter) ToGtmDatacenterOutputWithContext(ctx context.Context) GtmDatacenterOutput

type GtmDatacenterArgs

type GtmDatacenterArgs struct {
	// The name of the city where the data center is located.
	City pulumi.StringPtrInput
	// Identifies the data center's `datacenterId` of which this data center is a clone.
	CloneOf pulumi.IntPtrInput
	// A boolean that, if set to `true`, Akamai's liveness test agents use the Host header configured in the liveness test.
	CloudServerHostHeaderOverride pulumi.BoolPtrInput
	// A boolean indicating whether to balance load between two or more servers in a cloud environment.
	CloudServerTargeting pulumi.BoolPtrInput
	// A two-letter code that specifies the continent where the data center maps to.
	Continent pulumi.StringPtrInput
	// A two-letter ISO 3166 country code that specifies the country where the data center maps to.
	Country pulumi.StringPtrInput
	// Specifies the load reporting interface between you and the GTM system. If used, requires these additional arguments:
	DefaultLoadObject GtmDatacenterDefaultLoadObjectPtrInput
	// The GTM domain name for the data center.
	Domain pulumi.StringInput
	// Specifies the geographical latitude of the data center's position. See also longitude within this object.
	Latitude pulumi.Float64PtrInput
	// Specifies the geographic longitude of the data center's position. See also latitude within this object.
	Longitude pulumi.Float64PtrInput
	// A descriptive label for the data center.
	Nickname pulumi.StringPtrInput
	// Specifies a two-letter ISO 3166 country code for the state or province where the data center is located.
	StateOrProvince pulumi.StringPtrInput
	// A boolean, that if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmDatacenter resource.

func (GtmDatacenterArgs) ElementType

func (GtmDatacenterArgs) ElementType() reflect.Type

type GtmDatacenterArray

type GtmDatacenterArray []GtmDatacenterInput

func (GtmDatacenterArray) ElementType

func (GtmDatacenterArray) ElementType() reflect.Type

func (GtmDatacenterArray) ToGtmDatacenterArrayOutput

func (i GtmDatacenterArray) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput

func (GtmDatacenterArray) ToGtmDatacenterArrayOutputWithContext

func (i GtmDatacenterArray) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput

type GtmDatacenterArrayInput

type GtmDatacenterArrayInput interface {
	pulumi.Input

	ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput
	ToGtmDatacenterArrayOutputWithContext(context.Context) GtmDatacenterArrayOutput
}

GtmDatacenterArrayInput is an input type that accepts GtmDatacenterArray and GtmDatacenterArrayOutput values. You can construct a concrete instance of `GtmDatacenterArrayInput` via:

GtmDatacenterArray{ GtmDatacenterArgs{...} }

type GtmDatacenterArrayOutput

type GtmDatacenterArrayOutput struct{ *pulumi.OutputState }

func (GtmDatacenterArrayOutput) ElementType

func (GtmDatacenterArrayOutput) ElementType() reflect.Type

func (GtmDatacenterArrayOutput) Index

func (GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutput

func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutput() GtmDatacenterArrayOutput

func (GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutputWithContext

func (o GtmDatacenterArrayOutput) ToGtmDatacenterArrayOutputWithContext(ctx context.Context) GtmDatacenterArrayOutput

type GtmDatacenterDefaultLoadObject

type GtmDatacenterDefaultLoadObject struct {
	// A load object is a file that provides real-time information about the current load, maximum allowable load, and target load on each resource.
	LoadObject *string `pulumi:"loadObject"`
	// Specifies the TCP port to connect to when requesting the load object.
	LoadObjectPort *int `pulumi:"loadObjectPort"`
	// Specifies a list of servers to request the load object from.
	LoadServers []string `pulumi:"loadServers"`
}

type GtmDatacenterDefaultLoadObjectArgs

type GtmDatacenterDefaultLoadObjectArgs struct {
	// A load object is a file that provides real-time information about the current load, maximum allowable load, and target load on each resource.
	LoadObject pulumi.StringPtrInput `pulumi:"loadObject"`
	// Specifies the TCP port to connect to when requesting the load object.
	LoadObjectPort pulumi.IntPtrInput `pulumi:"loadObjectPort"`
	// Specifies a list of servers to request the load object from.
	LoadServers pulumi.StringArrayInput `pulumi:"loadServers"`
}

func (GtmDatacenterDefaultLoadObjectArgs) ElementType

func (GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectOutput

func (i GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectOutput() GtmDatacenterDefaultLoadObjectOutput

func (GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectOutputWithContext

func (i GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectOutputWithContext(ctx context.Context) GtmDatacenterDefaultLoadObjectOutput

func (GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectPtrOutput

func (i GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectPtrOutput() GtmDatacenterDefaultLoadObjectPtrOutput

func (GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext

func (i GtmDatacenterDefaultLoadObjectArgs) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext(ctx context.Context) GtmDatacenterDefaultLoadObjectPtrOutput

type GtmDatacenterDefaultLoadObjectInput

type GtmDatacenterDefaultLoadObjectInput interface {
	pulumi.Input

	ToGtmDatacenterDefaultLoadObjectOutput() GtmDatacenterDefaultLoadObjectOutput
	ToGtmDatacenterDefaultLoadObjectOutputWithContext(context.Context) GtmDatacenterDefaultLoadObjectOutput
}

GtmDatacenterDefaultLoadObjectInput is an input type that accepts GtmDatacenterDefaultLoadObjectArgs and GtmDatacenterDefaultLoadObjectOutput values. You can construct a concrete instance of `GtmDatacenterDefaultLoadObjectInput` via:

GtmDatacenterDefaultLoadObjectArgs{...}

type GtmDatacenterDefaultLoadObjectOutput

type GtmDatacenterDefaultLoadObjectOutput struct{ *pulumi.OutputState }

func (GtmDatacenterDefaultLoadObjectOutput) ElementType

func (GtmDatacenterDefaultLoadObjectOutput) LoadObject

A load object is a file that provides real-time information about the current load, maximum allowable load, and target load on each resource.

func (GtmDatacenterDefaultLoadObjectOutput) LoadObjectPort

Specifies the TCP port to connect to when requesting the load object.

func (GtmDatacenterDefaultLoadObjectOutput) LoadServers

Specifies a list of servers to request the load object from.

func (GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectOutput

func (o GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectOutput() GtmDatacenterDefaultLoadObjectOutput

func (GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectOutputWithContext

func (o GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectOutputWithContext(ctx context.Context) GtmDatacenterDefaultLoadObjectOutput

func (GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectPtrOutput

func (o GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectPtrOutput() GtmDatacenterDefaultLoadObjectPtrOutput

func (GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext

func (o GtmDatacenterDefaultLoadObjectOutput) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext(ctx context.Context) GtmDatacenterDefaultLoadObjectPtrOutput

type GtmDatacenterDefaultLoadObjectPtrInput

type GtmDatacenterDefaultLoadObjectPtrInput interface {
	pulumi.Input

	ToGtmDatacenterDefaultLoadObjectPtrOutput() GtmDatacenterDefaultLoadObjectPtrOutput
	ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext(context.Context) GtmDatacenterDefaultLoadObjectPtrOutput
}

GtmDatacenterDefaultLoadObjectPtrInput is an input type that accepts GtmDatacenterDefaultLoadObjectArgs, GtmDatacenterDefaultLoadObjectPtr and GtmDatacenterDefaultLoadObjectPtrOutput values. You can construct a concrete instance of `GtmDatacenterDefaultLoadObjectPtrInput` via:

        GtmDatacenterDefaultLoadObjectArgs{...}

or:

        nil

type GtmDatacenterDefaultLoadObjectPtrOutput

type GtmDatacenterDefaultLoadObjectPtrOutput struct{ *pulumi.OutputState }

func (GtmDatacenterDefaultLoadObjectPtrOutput) Elem

func (GtmDatacenterDefaultLoadObjectPtrOutput) ElementType

func (GtmDatacenterDefaultLoadObjectPtrOutput) LoadObject

A load object is a file that provides real-time information about the current load, maximum allowable load, and target load on each resource.

func (GtmDatacenterDefaultLoadObjectPtrOutput) LoadObjectPort

Specifies the TCP port to connect to when requesting the load object.

func (GtmDatacenterDefaultLoadObjectPtrOutput) LoadServers

Specifies a list of servers to request the load object from.

func (GtmDatacenterDefaultLoadObjectPtrOutput) ToGtmDatacenterDefaultLoadObjectPtrOutput

func (o GtmDatacenterDefaultLoadObjectPtrOutput) ToGtmDatacenterDefaultLoadObjectPtrOutput() GtmDatacenterDefaultLoadObjectPtrOutput

func (GtmDatacenterDefaultLoadObjectPtrOutput) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext

func (o GtmDatacenterDefaultLoadObjectPtrOutput) ToGtmDatacenterDefaultLoadObjectPtrOutputWithContext(ctx context.Context) GtmDatacenterDefaultLoadObjectPtrOutput

type GtmDatacenterInput

type GtmDatacenterInput interface {
	pulumi.Input

	ToGtmDatacenterOutput() GtmDatacenterOutput
	ToGtmDatacenterOutputWithContext(ctx context.Context) GtmDatacenterOutput
}

type GtmDatacenterMap

type GtmDatacenterMap map[string]GtmDatacenterInput

func (GtmDatacenterMap) ElementType

func (GtmDatacenterMap) ElementType() reflect.Type

func (GtmDatacenterMap) ToGtmDatacenterMapOutput

func (i GtmDatacenterMap) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput

func (GtmDatacenterMap) ToGtmDatacenterMapOutputWithContext

func (i GtmDatacenterMap) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput

type GtmDatacenterMapInput

type GtmDatacenterMapInput interface {
	pulumi.Input

	ToGtmDatacenterMapOutput() GtmDatacenterMapOutput
	ToGtmDatacenterMapOutputWithContext(context.Context) GtmDatacenterMapOutput
}

GtmDatacenterMapInput is an input type that accepts GtmDatacenterMap and GtmDatacenterMapOutput values. You can construct a concrete instance of `GtmDatacenterMapInput` via:

GtmDatacenterMap{ "key": GtmDatacenterArgs{...} }

type GtmDatacenterMapOutput

type GtmDatacenterMapOutput struct{ *pulumi.OutputState }

func (GtmDatacenterMapOutput) ElementType

func (GtmDatacenterMapOutput) ElementType() reflect.Type

func (GtmDatacenterMapOutput) MapIndex

func (GtmDatacenterMapOutput) ToGtmDatacenterMapOutput

func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutput() GtmDatacenterMapOutput

func (GtmDatacenterMapOutput) ToGtmDatacenterMapOutputWithContext

func (o GtmDatacenterMapOutput) ToGtmDatacenterMapOutputWithContext(ctx context.Context) GtmDatacenterMapOutput

type GtmDatacenterOutput

type GtmDatacenterOutput struct{ *pulumi.OutputState }

func (GtmDatacenterOutput) ElementType

func (GtmDatacenterOutput) ElementType() reflect.Type

func (GtmDatacenterOutput) ToGtmDatacenterOutput

func (o GtmDatacenterOutput) ToGtmDatacenterOutput() GtmDatacenterOutput

func (GtmDatacenterOutput) ToGtmDatacenterOutputWithContext

func (o GtmDatacenterOutput) ToGtmDatacenterOutputWithContext(ctx context.Context) GtmDatacenterOutput

type GtmDatacenterState

type GtmDatacenterState struct {
	// The name of the city where the data center is located.
	City pulumi.StringPtrInput
	// Identifies the data center's `datacenterId` of which this data center is a clone.
	CloneOf pulumi.IntPtrInput
	// A boolean that, if set to `true`, Akamai's liveness test agents use the Host header configured in the liveness test.
	CloudServerHostHeaderOverride pulumi.BoolPtrInput
	// A boolean indicating whether to balance load between two or more servers in a cloud environment.
	CloudServerTargeting pulumi.BoolPtrInput
	// A two-letter code that specifies the continent where the data center maps to.
	Continent pulumi.StringPtrInput
	// A two-letter ISO 3166 country code that specifies the country where the data center maps to.
	Country pulumi.StringPtrInput
	// A unique identifier for an existing data center in the domain.
	// * `pingInterval`
	// * `pingPacketSize`
	// * `scorePenalty`
	// * `servermonitorLivenessCount`
	// * `servermonitorLoadCount`
	// * `servermonitorPool`
	DatacenterId pulumi.IntPtrInput
	// Specifies the load reporting interface between you and the GTM system. If used, requires these additional arguments:
	DefaultLoadObject GtmDatacenterDefaultLoadObjectPtrInput
	// The GTM domain name for the data center.
	Domain pulumi.StringPtrInput
	// Specifies the geographical latitude of the data center's position. See also longitude within this object.
	Latitude pulumi.Float64PtrInput
	// Specifies the geographic longitude of the data center's position. See also latitude within this object.
	Longitude pulumi.Float64PtrInput
	// A descriptive label for the data center.
	Nickname                   pulumi.StringPtrInput
	PingInterval               pulumi.IntPtrInput
	PingPacketSize             pulumi.IntPtrInput
	ScorePenalty               pulumi.IntPtrInput
	ServermonitorLivenessCount pulumi.IntPtrInput
	ServermonitorLoadCount     pulumi.IntPtrInput
	ServermonitorPool          pulumi.StringPtrInput
	// Specifies a two-letter ISO 3166 country code for the state or province where the data center is located.
	StateOrProvince pulumi.StringPtrInput
	// A boolean indicating whether the data center is virtual or physical, the latter meaning the data center has an Akamai Network Agent installed, and its physical location (`latitude`, `longitude`) is fixed. Either `true` if virtual or `false` if physical.
	Virtual pulumi.BoolPtrInput
	// A boolean, that if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmDatacenterState) ElementType

func (GtmDatacenterState) ElementType() reflect.Type

type GtmDomain deprecated

type GtmDomain struct {
	pulumi.CustomResourceState

	// A boolean that if set to `true`, GTM collapses CNAME redirections in DNS answers when it knows the target of the CNAME.
	CnameCoalescingEnabled pulumi.BoolPtrOutput `pulumi:"cnameCoalescingEnabled"`
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// If creating a domain, the contract ID.
	Contract pulumi.StringPtrOutput `pulumi:"contract"`
	// Specifies the download penalty score. The default is `75`. If the download encounters an error, the web agent computes a score that is either the download time in seconds or a penalty score.
	DefaultErrorPenalty          pulumi.IntPtrOutput  `pulumi:"defaultErrorPenalty"`
	DefaultHealthMax             pulumi.Float64Output `pulumi:"defaultHealthMax"`
	DefaultHealthMultiplier      pulumi.Float64Output `pulumi:"defaultHealthMultiplier"`
	DefaultHealthThreshold       pulumi.Float64Output `pulumi:"defaultHealthThreshold"`
	DefaultMaxUnreachablePenalty pulumi.IntOutput     `pulumi:"defaultMaxUnreachablePenalty"`
	// Specifies an optional Base64-encoded certificate that corresponds with the private key for TLS-based liveness tests (HTTPS, SMTPS, POPS, and TCPS).
	DefaultSslClientCertificate pulumi.StringPtrOutput `pulumi:"defaultSslClientCertificate"`
	// Specifies a Base64-encoded private key that corresponds with the TLS certificate for HTTPS, SMTPS, POPS, and TCPS liveness tests.
	DefaultSslClientPrivateKey pulumi.StringPtrOutput `pulumi:"defaultSslClientPrivateKey"`
	// Specifies the timeout penalty score. Default is `25`.
	DefaultTimeoutPenalty       pulumi.IntPtrOutput  `pulumi:"defaultTimeoutPenalty"`
	DefaultUnreachableThreshold pulumi.Float64Output `pulumi:"defaultUnreachableThreshold"`
	// A list of email addresses to notify when a change is made to the domain.
	EmailNotificationLists pulumi.StringArrayOutput `pulumi:"emailNotificationLists"`
	// A boolean indicating whether whether the GTM Domain is using end user client subnet mapping.
	EndUserMappingEnabled pulumi.BoolPtrOutput `pulumi:"endUserMappingEnabled"`
	// If creating a domain, the currently selected group ID.
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// A boolean indicating whether one or more measurements of load (resources) are defined by you and supplied by each data center in real time to balance load.
	LoadFeedback pulumi.BoolPtrOutput `pulumi:"loadFeedback"`
	// Indicates the percentage of load imbalance factor (LIF) for the domain.
	LoadImbalancePercentage   pulumi.Float64PtrOutput `pulumi:"loadImbalancePercentage"`
	MapUpdateInterval         pulumi.IntOutput        `pulumi:"mapUpdateInterval"`
	MaxProperties             pulumi.IntOutput        `pulumi:"maxProperties"`
	MaxResources              pulumi.IntOutput        `pulumi:"maxResources"`
	MaxTestTimeout            pulumi.Float64Output    `pulumi:"maxTestTimeout"`
	MaxTtl                    pulumi.IntOutput        `pulumi:"maxTtl"`
	MinPingableRegionFraction pulumi.Float64Output    `pulumi:"minPingableRegionFraction"`
	MinTestInterval           pulumi.IntOutput        `pulumi:"minTestInterval"`
	MinTtl                    pulumi.IntOutput        `pulumi:"minTtl"`
	// The DNS name for a collection of GTM Properties.
	Name                       pulumi.StringOutput `pulumi:"name"`
	PingInterval               pulumi.IntOutput    `pulumi:"pingInterval"`
	PingPacketSize             pulumi.IntOutput    `pulumi:"pingPacketSize"`
	RoundRobinPrefix           pulumi.StringOutput `pulumi:"roundRobinPrefix"`
	ServermonitorLivenessCount pulumi.IntOutput    `pulumi:"servermonitorLivenessCount"`
	ServermonitorLoadCount     pulumi.IntOutput    `pulumi:"servermonitorLoadCount"`
	ServermonitorPool          pulumi.StringOutput `pulumi:"servermonitorPool"`
	// Th type of GTM domain. Options include `failover-only`, `static`, `weighted`, `basic`, or `full`.
	Type pulumi.StringOutput `pulumi:"type"`
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

Use the `GtmDomain` resource to create, configure, and import a GTM Domain, which is a basic building block of a traffic management configuration.

> **Note** Import requires an ID with this format: `existingDomainName`.

## Example Usage

Basic usage:

```go 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.NewGtmDomain(ctx, "demodomain", &akamai.GtmDomainArgs{
			Comment:  pulumi.String("some comment"),
			Contract: pulumi.String("XXX"),
			Group:    pulumi.String("100"),
			Type:     pulumi.String("basic"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM Domain backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#domain) page.

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

func GetGtmDomain

func GetGtmDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmDomainState, opts ...pulumi.ResourceOption) (*GtmDomain, error)

GetGtmDomain gets an existing GtmDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmDomain

func NewGtmDomain(ctx *pulumi.Context,
	name string, args *GtmDomainArgs, opts ...pulumi.ResourceOption) (*GtmDomain, error)

NewGtmDomain registers a new resource with the given unique name, arguments, and options.

func (*GtmDomain) ElementType

func (*GtmDomain) ElementType() reflect.Type

func (*GtmDomain) ToGtmDomainOutput

func (i *GtmDomain) ToGtmDomainOutput() GtmDomainOutput

func (*GtmDomain) ToGtmDomainOutputWithContext

func (i *GtmDomain) ToGtmDomainOutputWithContext(ctx context.Context) GtmDomainOutput

type GtmDomainArgs

type GtmDomainArgs struct {
	// A boolean that if set to `true`, GTM collapses CNAME redirections in DNS answers when it knows the target of the CNAME.
	CnameCoalescingEnabled pulumi.BoolPtrInput
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comment pulumi.StringPtrInput
	// If creating a domain, the contract ID.
	Contract pulumi.StringPtrInput
	// Specifies the download penalty score. The default is `75`. If the download encounters an error, the web agent computes a score that is either the download time in seconds or a penalty score.
	DefaultErrorPenalty pulumi.IntPtrInput
	// Specifies an optional Base64-encoded certificate that corresponds with the private key for TLS-based liveness tests (HTTPS, SMTPS, POPS, and TCPS).
	DefaultSslClientCertificate pulumi.StringPtrInput
	// Specifies a Base64-encoded private key that corresponds with the TLS certificate for HTTPS, SMTPS, POPS, and TCPS liveness tests.
	DefaultSslClientPrivateKey pulumi.StringPtrInput
	// Specifies the timeout penalty score. Default is `25`.
	DefaultTimeoutPenalty pulumi.IntPtrInput
	// A list of email addresses to notify when a change is made to the domain.
	EmailNotificationLists pulumi.StringArrayInput
	// A boolean indicating whether whether the GTM Domain is using end user client subnet mapping.
	EndUserMappingEnabled pulumi.BoolPtrInput
	// If creating a domain, the currently selected group ID.
	Group pulumi.StringPtrInput
	// A boolean indicating whether one or more measurements of load (resources) are defined by you and supplied by each data center in real time to balance load.
	LoadFeedback pulumi.BoolPtrInput
	// Indicates the percentage of load imbalance factor (LIF) for the domain.
	LoadImbalancePercentage pulumi.Float64PtrInput
	// The DNS name for a collection of GTM Properties.
	Name pulumi.StringPtrInput
	// Th type of GTM domain. Options include `failover-only`, `static`, `weighted`, `basic`, or `full`.
	Type pulumi.StringInput
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmDomain resource.

func (GtmDomainArgs) ElementType

func (GtmDomainArgs) ElementType() reflect.Type

type GtmDomainArray

type GtmDomainArray []GtmDomainInput

func (GtmDomainArray) ElementType

func (GtmDomainArray) ElementType() reflect.Type

func (GtmDomainArray) ToGtmDomainArrayOutput

func (i GtmDomainArray) ToGtmDomainArrayOutput() GtmDomainArrayOutput

func (GtmDomainArray) ToGtmDomainArrayOutputWithContext

func (i GtmDomainArray) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput

type GtmDomainArrayInput

type GtmDomainArrayInput interface {
	pulumi.Input

	ToGtmDomainArrayOutput() GtmDomainArrayOutput
	ToGtmDomainArrayOutputWithContext(context.Context) GtmDomainArrayOutput
}

GtmDomainArrayInput is an input type that accepts GtmDomainArray and GtmDomainArrayOutput values. You can construct a concrete instance of `GtmDomainArrayInput` via:

GtmDomainArray{ GtmDomainArgs{...} }

type GtmDomainArrayOutput

type GtmDomainArrayOutput struct{ *pulumi.OutputState }

func (GtmDomainArrayOutput) ElementType

func (GtmDomainArrayOutput) ElementType() reflect.Type

func (GtmDomainArrayOutput) Index

func (GtmDomainArrayOutput) ToGtmDomainArrayOutput

func (o GtmDomainArrayOutput) ToGtmDomainArrayOutput() GtmDomainArrayOutput

func (GtmDomainArrayOutput) ToGtmDomainArrayOutputWithContext

func (o GtmDomainArrayOutput) ToGtmDomainArrayOutputWithContext(ctx context.Context) GtmDomainArrayOutput

type GtmDomainInput

type GtmDomainInput interface {
	pulumi.Input

	ToGtmDomainOutput() GtmDomainOutput
	ToGtmDomainOutputWithContext(ctx context.Context) GtmDomainOutput
}

type GtmDomainMap

type GtmDomainMap map[string]GtmDomainInput

func (GtmDomainMap) ElementType

func (GtmDomainMap) ElementType() reflect.Type

func (GtmDomainMap) ToGtmDomainMapOutput

func (i GtmDomainMap) ToGtmDomainMapOutput() GtmDomainMapOutput

func (GtmDomainMap) ToGtmDomainMapOutputWithContext

func (i GtmDomainMap) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput

type GtmDomainMapInput

type GtmDomainMapInput interface {
	pulumi.Input

	ToGtmDomainMapOutput() GtmDomainMapOutput
	ToGtmDomainMapOutputWithContext(context.Context) GtmDomainMapOutput
}

GtmDomainMapInput is an input type that accepts GtmDomainMap and GtmDomainMapOutput values. You can construct a concrete instance of `GtmDomainMapInput` via:

GtmDomainMap{ "key": GtmDomainArgs{...} }

type GtmDomainMapOutput

type GtmDomainMapOutput struct{ *pulumi.OutputState }

func (GtmDomainMapOutput) ElementType

func (GtmDomainMapOutput) ElementType() reflect.Type

func (GtmDomainMapOutput) MapIndex

func (GtmDomainMapOutput) ToGtmDomainMapOutput

func (o GtmDomainMapOutput) ToGtmDomainMapOutput() GtmDomainMapOutput

func (GtmDomainMapOutput) ToGtmDomainMapOutputWithContext

func (o GtmDomainMapOutput) ToGtmDomainMapOutputWithContext(ctx context.Context) GtmDomainMapOutput

type GtmDomainOutput

type GtmDomainOutput struct{ *pulumi.OutputState }

func (GtmDomainOutput) ElementType

func (GtmDomainOutput) ElementType() reflect.Type

func (GtmDomainOutput) ToGtmDomainOutput

func (o GtmDomainOutput) ToGtmDomainOutput() GtmDomainOutput

func (GtmDomainOutput) ToGtmDomainOutputWithContext

func (o GtmDomainOutput) ToGtmDomainOutputWithContext(ctx context.Context) GtmDomainOutput

type GtmDomainState

type GtmDomainState struct {
	// A boolean that if set to `true`, GTM collapses CNAME redirections in DNS answers when it knows the target of the CNAME.
	CnameCoalescingEnabled pulumi.BoolPtrInput
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comment pulumi.StringPtrInput
	// If creating a domain, the contract ID.
	Contract pulumi.StringPtrInput
	// Specifies the download penalty score. The default is `75`. If the download encounters an error, the web agent computes a score that is either the download time in seconds or a penalty score.
	DefaultErrorPenalty          pulumi.IntPtrInput
	DefaultHealthMax             pulumi.Float64PtrInput
	DefaultHealthMultiplier      pulumi.Float64PtrInput
	DefaultHealthThreshold       pulumi.Float64PtrInput
	DefaultMaxUnreachablePenalty pulumi.IntPtrInput
	// Specifies an optional Base64-encoded certificate that corresponds with the private key for TLS-based liveness tests (HTTPS, SMTPS, POPS, and TCPS).
	DefaultSslClientCertificate pulumi.StringPtrInput
	// Specifies a Base64-encoded private key that corresponds with the TLS certificate for HTTPS, SMTPS, POPS, and TCPS liveness tests.
	DefaultSslClientPrivateKey pulumi.StringPtrInput
	// Specifies the timeout penalty score. Default is `25`.
	DefaultTimeoutPenalty       pulumi.IntPtrInput
	DefaultUnreachableThreshold pulumi.Float64PtrInput
	// A list of email addresses to notify when a change is made to the domain.
	EmailNotificationLists pulumi.StringArrayInput
	// A boolean indicating whether whether the GTM Domain is using end user client subnet mapping.
	EndUserMappingEnabled pulumi.BoolPtrInput
	// If creating a domain, the currently selected group ID.
	Group pulumi.StringPtrInput
	// A boolean indicating whether one or more measurements of load (resources) are defined by you and supplied by each data center in real time to balance load.
	LoadFeedback pulumi.BoolPtrInput
	// Indicates the percentage of load imbalance factor (LIF) for the domain.
	LoadImbalancePercentage   pulumi.Float64PtrInput
	MapUpdateInterval         pulumi.IntPtrInput
	MaxProperties             pulumi.IntPtrInput
	MaxResources              pulumi.IntPtrInput
	MaxTestTimeout            pulumi.Float64PtrInput
	MaxTtl                    pulumi.IntPtrInput
	MinPingableRegionFraction pulumi.Float64PtrInput
	MinTestInterval           pulumi.IntPtrInput
	MinTtl                    pulumi.IntPtrInput
	// The DNS name for a collection of GTM Properties.
	Name                       pulumi.StringPtrInput
	PingInterval               pulumi.IntPtrInput
	PingPacketSize             pulumi.IntPtrInput
	RoundRobinPrefix           pulumi.StringPtrInput
	ServermonitorLivenessCount pulumi.IntPtrInput
	ServermonitorLoadCount     pulumi.IntPtrInput
	ServermonitorPool          pulumi.StringPtrInput
	// Th type of GTM domain. Options include `failover-only`, `static`, `weighted`, `basic`, or `full`.
	Type pulumi.StringPtrInput
	// A boolean that, if set to `true`, waits for transaction to complete.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmDomainState) ElementType

func (GtmDomainState) ElementType() reflect.Type

type GtmGeomap deprecated

type GtmGeomap struct {
	pulumi.CustomResourceState

	// Contains information about the geographic zone groupings of countries. You can have multiple `assignment` arguments. If used, requires these additional arguments:
	Assignments GtmGeomapAssignmentArrayOutput `pulumi:"assignments"`
	// A placeholder for all other geographic zones. Requires these additional arguments:
	DefaultDatacenter GtmGeomapDefaultDatacenterOutput `pulumi:"defaultDatacenter"`
	// GTM Domain name for the Geographic Map.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A descriptive label for the Geographic map.
	Name pulumi.StringOutput `pulumi:"name"`
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

Use the `GtmGeomap` resource to create, configure, and import a GTM Geographic map. Geographic mapping lets you configure a property that returns a CNAME based on the geographic location of the request.

You can reuse maps for multiple properties or create new ones. To configure a property for geographic mapping, you need to define at least one geographic map for your domain. Each map needs at least two definitions. For example, you can have one definition that maps a set of countries to a specific data center, and a second definition that routes all other traffic.

> **Note** Import requires an ID with this format: `existingDomainName`:`existingMapName`.

## Example Usage

Basic usage:

```go 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: &GtmGeomapDefaultDatacenterArgs{
				DatacenterId: pulumi.Int(5400),
				Nickname:     pulumi.String("All Others"),
			},
			Domain: pulumi.String("demo_domain.akadns.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM Geographic Map backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#geographicmap) page.

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

func GetGtmGeomap

func GetGtmGeomap(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmGeomapState, opts ...pulumi.ResourceOption) (*GtmGeomap, error)

GetGtmGeomap gets an existing GtmGeomap resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmGeomap

func NewGtmGeomap(ctx *pulumi.Context,
	name string, args *GtmGeomapArgs, opts ...pulumi.ResourceOption) (*GtmGeomap, error)

NewGtmGeomap registers a new resource with the given unique name, arguments, and options.

func (*GtmGeomap) ElementType

func (*GtmGeomap) ElementType() reflect.Type

func (*GtmGeomap) ToGtmGeomapOutput

func (i *GtmGeomap) ToGtmGeomapOutput() GtmGeomapOutput

func (*GtmGeomap) ToGtmGeomapOutputWithContext

func (i *GtmGeomap) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGeomapOutput

type GtmGeomapArgs

type GtmGeomapArgs struct {
	// Contains information about the geographic zone groupings of countries. You can have multiple `assignment` arguments. If used, requires these additional arguments:
	Assignments GtmGeomapAssignmentArrayInput
	// A placeholder for all other geographic zones. Requires these additional arguments:
	DefaultDatacenter GtmGeomapDefaultDatacenterInput
	// GTM Domain name for the Geographic Map.
	Domain pulumi.StringInput
	// A descriptive label for the Geographic map.
	Name pulumi.StringPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmGeomap resource.

func (GtmGeomapArgs) ElementType

func (GtmGeomapArgs) ElementType() reflect.Type

type GtmGeomapArray

type GtmGeomapArray []GtmGeomapInput

func (GtmGeomapArray) ElementType

func (GtmGeomapArray) ElementType() reflect.Type

func (GtmGeomapArray) ToGtmGeomapArrayOutput

func (i GtmGeomapArray) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput

func (GtmGeomapArray) ToGtmGeomapArrayOutputWithContext

func (i GtmGeomapArray) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput

type GtmGeomapArrayInput

type GtmGeomapArrayInput interface {
	pulumi.Input

	ToGtmGeomapArrayOutput() GtmGeomapArrayOutput
	ToGtmGeomapArrayOutputWithContext(context.Context) GtmGeomapArrayOutput
}

GtmGeomapArrayInput is an input type that accepts GtmGeomapArray and GtmGeomapArrayOutput values. You can construct a concrete instance of `GtmGeomapArrayInput` via:

GtmGeomapArray{ GtmGeomapArgs{...} }

type GtmGeomapArrayOutput

type GtmGeomapArrayOutput struct{ *pulumi.OutputState }

func (GtmGeomapArrayOutput) ElementType

func (GtmGeomapArrayOutput) ElementType() reflect.Type

func (GtmGeomapArrayOutput) Index

func (GtmGeomapArrayOutput) ToGtmGeomapArrayOutput

func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutput() GtmGeomapArrayOutput

func (GtmGeomapArrayOutput) ToGtmGeomapArrayOutputWithContext

func (o GtmGeomapArrayOutput) ToGtmGeomapArrayOutputWithContext(ctx context.Context) GtmGeomapArrayOutput

type GtmGeomapAssignment

type GtmGeomapAssignment struct {
	// Specifies an array of two-letter ISO 3166 country codes, or for finer subdivisions, the two-letter country code and the two-letter stateOrProvince code separated by a forward slash.
	Countries []string `pulumi:"countries"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname string `pulumi:"nickname"`
}

type GtmGeomapAssignmentArgs

type GtmGeomapAssignmentArgs struct {
	// Specifies an array of two-letter ISO 3166 country codes, or for finer subdivisions, the two-letter country code and the two-letter stateOrProvince code separated by a forward slash.
	Countries pulumi.StringArrayInput `pulumi:"countries"`
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname pulumi.StringInput `pulumi:"nickname"`
}

func (GtmGeomapAssignmentArgs) ElementType

func (GtmGeomapAssignmentArgs) ElementType() reflect.Type

func (GtmGeomapAssignmentArgs) ToGtmGeomapAssignmentOutput

func (i GtmGeomapAssignmentArgs) ToGtmGeomapAssignmentOutput() GtmGeomapAssignmentOutput

func (GtmGeomapAssignmentArgs) ToGtmGeomapAssignmentOutputWithContext

func (i GtmGeomapAssignmentArgs) ToGtmGeomapAssignmentOutputWithContext(ctx context.Context) GtmGeomapAssignmentOutput

type GtmGeomapAssignmentArray

type GtmGeomapAssignmentArray []GtmGeomapAssignmentInput

func (GtmGeomapAssignmentArray) ElementType

func (GtmGeomapAssignmentArray) ElementType() reflect.Type

func (GtmGeomapAssignmentArray) ToGtmGeomapAssignmentArrayOutput

func (i GtmGeomapAssignmentArray) ToGtmGeomapAssignmentArrayOutput() GtmGeomapAssignmentArrayOutput

func (GtmGeomapAssignmentArray) ToGtmGeomapAssignmentArrayOutputWithContext

func (i GtmGeomapAssignmentArray) ToGtmGeomapAssignmentArrayOutputWithContext(ctx context.Context) GtmGeomapAssignmentArrayOutput

type GtmGeomapAssignmentArrayInput

type GtmGeomapAssignmentArrayInput interface {
	pulumi.Input

	ToGtmGeomapAssignmentArrayOutput() GtmGeomapAssignmentArrayOutput
	ToGtmGeomapAssignmentArrayOutputWithContext(context.Context) GtmGeomapAssignmentArrayOutput
}

GtmGeomapAssignmentArrayInput is an input type that accepts GtmGeomapAssignmentArray and GtmGeomapAssignmentArrayOutput values. You can construct a concrete instance of `GtmGeomapAssignmentArrayInput` via:

GtmGeomapAssignmentArray{ GtmGeomapAssignmentArgs{...} }

type GtmGeomapAssignmentArrayOutput

type GtmGeomapAssignmentArrayOutput struct{ *pulumi.OutputState }

func (GtmGeomapAssignmentArrayOutput) ElementType

func (GtmGeomapAssignmentArrayOutput) Index

func (GtmGeomapAssignmentArrayOutput) ToGtmGeomapAssignmentArrayOutput

func (o GtmGeomapAssignmentArrayOutput) ToGtmGeomapAssignmentArrayOutput() GtmGeomapAssignmentArrayOutput

func (GtmGeomapAssignmentArrayOutput) ToGtmGeomapAssignmentArrayOutputWithContext

func (o GtmGeomapAssignmentArrayOutput) ToGtmGeomapAssignmentArrayOutputWithContext(ctx context.Context) GtmGeomapAssignmentArrayOutput

type GtmGeomapAssignmentInput

type GtmGeomapAssignmentInput interface {
	pulumi.Input

	ToGtmGeomapAssignmentOutput() GtmGeomapAssignmentOutput
	ToGtmGeomapAssignmentOutputWithContext(context.Context) GtmGeomapAssignmentOutput
}

GtmGeomapAssignmentInput is an input type that accepts GtmGeomapAssignmentArgs and GtmGeomapAssignmentOutput values. You can construct a concrete instance of `GtmGeomapAssignmentInput` via:

GtmGeomapAssignmentArgs{...}

type GtmGeomapAssignmentOutput

type GtmGeomapAssignmentOutput struct{ *pulumi.OutputState }

func (GtmGeomapAssignmentOutput) Countries

Specifies an array of two-letter ISO 3166 country codes, or for finer subdivisions, the two-letter country code and the two-letter stateOrProvince code separated by a forward slash.

func (GtmGeomapAssignmentOutput) DatacenterId

func (o GtmGeomapAssignmentOutput) DatacenterId() pulumi.IntOutput

A unique identifier for an existing data center in the domain.

func (GtmGeomapAssignmentOutput) ElementType

func (GtmGeomapAssignmentOutput) ElementType() reflect.Type

func (GtmGeomapAssignmentOutput) Nickname

A descriptive label for the group.

func (GtmGeomapAssignmentOutput) ToGtmGeomapAssignmentOutput

func (o GtmGeomapAssignmentOutput) ToGtmGeomapAssignmentOutput() GtmGeomapAssignmentOutput

func (GtmGeomapAssignmentOutput) ToGtmGeomapAssignmentOutputWithContext

func (o GtmGeomapAssignmentOutput) ToGtmGeomapAssignmentOutputWithContext(ctx context.Context) GtmGeomapAssignmentOutput

type GtmGeomapDefaultDatacenter

type GtmGeomapDefaultDatacenter struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname *string `pulumi:"nickname"`
}

type GtmGeomapDefaultDatacenterArgs

type GtmGeomapDefaultDatacenterArgs struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// A descriptive label for the group.
	Nickname pulumi.StringPtrInput `pulumi:"nickname"`
}

func (GtmGeomapDefaultDatacenterArgs) ElementType

func (GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterOutput

func (i GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterOutput() GtmGeomapDefaultDatacenterOutput

func (GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterOutputWithContext

func (i GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterOutputWithContext(ctx context.Context) GtmGeomapDefaultDatacenterOutput

func (GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterPtrOutput

func (i GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterPtrOutput() GtmGeomapDefaultDatacenterPtrOutput

func (GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterPtrOutputWithContext

func (i GtmGeomapDefaultDatacenterArgs) ToGtmGeomapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmGeomapDefaultDatacenterPtrOutput

type GtmGeomapDefaultDatacenterInput

type GtmGeomapDefaultDatacenterInput interface {
	pulumi.Input

	ToGtmGeomapDefaultDatacenterOutput() GtmGeomapDefaultDatacenterOutput
	ToGtmGeomapDefaultDatacenterOutputWithContext(context.Context) GtmGeomapDefaultDatacenterOutput
}

GtmGeomapDefaultDatacenterInput is an input type that accepts GtmGeomapDefaultDatacenterArgs and GtmGeomapDefaultDatacenterOutput values. You can construct a concrete instance of `GtmGeomapDefaultDatacenterInput` via:

GtmGeomapDefaultDatacenterArgs{...}

type GtmGeomapDefaultDatacenterOutput

type GtmGeomapDefaultDatacenterOutput struct{ *pulumi.OutputState }

func (GtmGeomapDefaultDatacenterOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmGeomapDefaultDatacenterOutput) ElementType

func (GtmGeomapDefaultDatacenterOutput) Nickname

A descriptive label for the group.

func (GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterOutput

func (o GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterOutput() GtmGeomapDefaultDatacenterOutput

func (GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterOutputWithContext

func (o GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterOutputWithContext(ctx context.Context) GtmGeomapDefaultDatacenterOutput

func (GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterPtrOutput

func (o GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterPtrOutput() GtmGeomapDefaultDatacenterPtrOutput

func (GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterPtrOutputWithContext

func (o GtmGeomapDefaultDatacenterOutput) ToGtmGeomapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmGeomapDefaultDatacenterPtrOutput

type GtmGeomapDefaultDatacenterPtrInput

type GtmGeomapDefaultDatacenterPtrInput interface {
	pulumi.Input

	ToGtmGeomapDefaultDatacenterPtrOutput() GtmGeomapDefaultDatacenterPtrOutput
	ToGtmGeomapDefaultDatacenterPtrOutputWithContext(context.Context) GtmGeomapDefaultDatacenterPtrOutput
}

GtmGeomapDefaultDatacenterPtrInput is an input type that accepts GtmGeomapDefaultDatacenterArgs, GtmGeomapDefaultDatacenterPtr and GtmGeomapDefaultDatacenterPtrOutput values. You can construct a concrete instance of `GtmGeomapDefaultDatacenterPtrInput` via:

        GtmGeomapDefaultDatacenterArgs{...}

or:

        nil

type GtmGeomapDefaultDatacenterPtrOutput

type GtmGeomapDefaultDatacenterPtrOutput struct{ *pulumi.OutputState }

func (GtmGeomapDefaultDatacenterPtrOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmGeomapDefaultDatacenterPtrOutput) Elem

func (GtmGeomapDefaultDatacenterPtrOutput) ElementType

func (GtmGeomapDefaultDatacenterPtrOutput) Nickname

A descriptive label for the group.

func (GtmGeomapDefaultDatacenterPtrOutput) ToGtmGeomapDefaultDatacenterPtrOutput

func (o GtmGeomapDefaultDatacenterPtrOutput) ToGtmGeomapDefaultDatacenterPtrOutput() GtmGeomapDefaultDatacenterPtrOutput

func (GtmGeomapDefaultDatacenterPtrOutput) ToGtmGeomapDefaultDatacenterPtrOutputWithContext

func (o GtmGeomapDefaultDatacenterPtrOutput) ToGtmGeomapDefaultDatacenterPtrOutputWithContext(ctx context.Context) GtmGeomapDefaultDatacenterPtrOutput

type GtmGeomapInput

type GtmGeomapInput interface {
	pulumi.Input

	ToGtmGeomapOutput() GtmGeomapOutput
	ToGtmGeomapOutputWithContext(ctx context.Context) GtmGeomapOutput
}

type GtmGeomapMap

type GtmGeomapMap map[string]GtmGeomapInput

func (GtmGeomapMap) ElementType

func (GtmGeomapMap) ElementType() reflect.Type

func (GtmGeomapMap) ToGtmGeomapMapOutput

func (i GtmGeomapMap) ToGtmGeomapMapOutput() GtmGeomapMapOutput

func (GtmGeomapMap) ToGtmGeomapMapOutputWithContext

func (i GtmGeomapMap) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput

type GtmGeomapMapInput

type GtmGeomapMapInput interface {
	pulumi.Input

	ToGtmGeomapMapOutput() GtmGeomapMapOutput
	ToGtmGeomapMapOutputWithContext(context.Context) GtmGeomapMapOutput
}

GtmGeomapMapInput is an input type that accepts GtmGeomapMap and GtmGeomapMapOutput values. You can construct a concrete instance of `GtmGeomapMapInput` via:

GtmGeomapMap{ "key": GtmGeomapArgs{...} }

type GtmGeomapMapOutput

type GtmGeomapMapOutput struct{ *pulumi.OutputState }

func (GtmGeomapMapOutput) ElementType

func (GtmGeomapMapOutput) ElementType() reflect.Type

func (GtmGeomapMapOutput) MapIndex

func (GtmGeomapMapOutput) ToGtmGeomapMapOutput

func (o GtmGeomapMapOutput) ToGtmGeomapMapOutput() GtmGeomapMapOutput

func (GtmGeomapMapOutput) ToGtmGeomapMapOutputWithContext

func (o GtmGeomapMapOutput) ToGtmGeomapMapOutputWithContext(ctx context.Context) GtmGeomapMapOutput

type GtmGeomapOutput

type GtmGeomapOutput struct{ *pulumi.OutputState }

func (GtmGeomapOutput) ElementType

func (GtmGeomapOutput) ElementType() reflect.Type

func (GtmGeomapOutput) ToGtmGeomapOutput

func (o GtmGeomapOutput) ToGtmGeomapOutput() GtmGeomapOutput

func (GtmGeomapOutput) ToGtmGeomapOutputWithContext

func (o GtmGeomapOutput) ToGtmGeomapOutputWithContext(ctx context.Context) GtmGeomapOutput

type GtmGeomapState

type GtmGeomapState struct {
	// Contains information about the geographic zone groupings of countries. You can have multiple `assignment` arguments. If used, requires these additional arguments:
	Assignments GtmGeomapAssignmentArrayInput
	// A placeholder for all other geographic zones. Requires these additional arguments:
	DefaultDatacenter GtmGeomapDefaultDatacenterPtrInput
	// GTM Domain name for the Geographic Map.
	Domain pulumi.StringPtrInput
	// A descriptive label for the Geographic map.
	Name pulumi.StringPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmGeomapState) ElementType

func (GtmGeomapState) ElementType() reflect.Type

type GtmProperty deprecated

type GtmProperty struct {
	pulumi.CustomResourceState

	// Specifies a backup CNAME. If GTM declares that all of the servers configured for your property are down, the backup CNAME is handed out. If a backup CNAME is set, do not set a backup IP.
	BackupCname pulumi.StringPtrOutput `pulumi:"backupCname"`
	// Specifies a backup IP. When GTM declares that all of the targets are down, the backup IP is handed out. If a backup IP is set, do not set a backup CNAME.
	BackupIp pulumi.StringPtrOutput `pulumi:"backupIp"`
	// A boolean that indicates whether download score based load balancing is enabled.
	BalanceByDownloadScore pulumi.BoolPtrOutput `pulumi:"balanceByDownloadScore"`
	// Indicates the fully qualified name aliased to a particular property.
	Cname pulumi.StringPtrOutput `pulumi:"cname"`
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comments pulumi.StringPtrOutput `pulumi:"comments"`
	// DNS name for the GTM Domain set that includes this Property.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Indicates the TTL in seconds for records that might change dynamically based on liveness and load balancing such as A and AAAA records, and CNAMEs.
	DynamicTtl pulumi.IntPtrOutput `pulumi:"dynamicTtl"`
	// Specifies the failback delay in seconds.
	FailbackDelay pulumi.IntPtrOutput `pulumi:"failbackDelay"`
	// Specifies the failover delay in seconds.
	FailoverDelay pulumi.IntPtrOutput `pulumi:"failoverDelay"`
	// Use load estimates from Akamai Ghost utilization messages.
	GhostDemandReporting pulumi.BoolPtrOutput `pulumi:"ghostDemandReporting"`
	// Indicates the limit for the number of live IPs handed out to a DNS request.
	HandoutLimit pulumi.IntOutput `pulumi:"handoutLimit"`
	// Specifies how IPs are returned when more than one IP is alive and available.
	HandoutMode pulumi.StringOutput `pulumi:"handoutMode"`
	// Defines the absolute limit beyond which IPs are declared unhealthy.
	HealthMax pulumi.Float64PtrOutput `pulumi:"healthMax"`
	// Configures a cutoff value that is computed from the median scores.
	HealthMultiplier pulumi.Float64PtrOutput `pulumi:"healthMultiplier"`
	// Configures a cutoff value that is computed from the median scores.
	HealthThreshold pulumi.Float64PtrOutput `pulumi:"healthThreshold"`
	// A boolean that indicates the type of IP address handed out by a GTM property.
	Ipv6 pulumi.BoolPtrOutput `pulumi:"ipv6"`
	// Contains information about the liveness tests, which are run periodically to determine whether your servers respond to requests. You can have multiple `livenessTest` arguments. If used, requires these arguments:
	LivenessTests GtmPropertyLivenessTestArrayOutput `pulumi:"livenessTests"`
	// Indicates the percent of load imbalance factor (LIF) for the property.
	LoadImbalancePercentage pulumi.Float64PtrOutput `pulumi:"loadImbalancePercentage"`
	// A descriptive label for a GeographicMap or a CidrMap that's required if the property is either geographic or cidrmapping, in which case mapName needs to reference either an existing GeographicMap or CidrMap in the same domain.
	MapName pulumi.StringPtrOutput `pulumi:"mapName"`
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers show an aggregated loss fraction higher than the penalty value.
	MaxUnreachablePenalty pulumi.IntPtrOutput `pulumi:"maxUnreachablePenalty"`
	// Specifies what fraction of the servers need to respond to requests so GTM considers the data center up and able to receive traffic.
	MinLiveFraction pulumi.Float64PtrOutput `pulumi:"minLiveFraction"`
	// Name of HTTP header.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies how GTM aggregates liveness test scores across different tests, when multiple tests are configured.
	ScoreAggregationType pulumi.StringOutput `pulumi:"scoreAggregationType"`
	// Contains static record sets. You can have multiple `staticRrSet` entries. Requires these arguments:
	StaticRrSets GtmPropertyStaticRrSetArrayOutput `pulumi:"staticRrSets"`
	StaticTtl    pulumi.IntPtrOutput               `pulumi:"staticTtl"`
	// Specifies a constant used to configure data center affinity.
	StickinessBonusConstant pulumi.IntPtrOutput `pulumi:"stickinessBonusConstant"`
	// Specifies a percentage used to configure data center affinity.
	StickinessBonusPercentage pulumi.IntPtrOutput `pulumi:"stickinessBonusPercentage"`
	// Contains information about where to direct data center traffic. You can have multiple `trafficTarget` arguments. If used, includes these arguments:
	TrafficTargets GtmPropertyTrafficTargetArrayOutput `pulumi:"trafficTargets"`
	// The record type.
	Type pulumi.StringOutput `pulumi:"type"`
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers have an aggregated loss fraction higher than this value.
	UnreachableThreshold pulumi.Float64PtrOutput `pulumi:"unreachableThreshold"`
	// For load-feedback domains only, a boolean that indicates whether you want GTM to automatically compute target load.
	UseComputedTargets pulumi.BoolPtrOutput `pulumi:"useComputedTargets"`
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete          pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
	WeightedHashBitsForIpv4 pulumi.IntOutput     `pulumi:"weightedHashBitsForIpv4"`
	WeightedHashBitsForIpv6 pulumi.IntOutput     `pulumi:"weightedHashBitsForIpv6"`
}

Use the `GtmProperty` resource to create, configure and import a GTM property, a set of IP addresses or CNAMEs that GTM provides in response to DNS queries based on a set of rules.

> **Note** Import requires an ID with this format: `existingDomainName`:`existingPropertyName`.

## Example Usage

Basic usage:

```go 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.NewGtmProperty(ctx, "demoProperty", &akamai.GtmPropertyArgs{
			Domain:               pulumi.String("demo_domain.akadns.net"),
			HandoutLimit:         pulumi.Int(5),
			HandoutMode:          pulumi.String("normal"),
			ScoreAggregationType: pulumi.String("median"),
			TrafficTargets: GtmPropertyTrafficTargetArray{
				&GtmPropertyTrafficTargetArgs{
					DatacenterId: pulumi.Int(3131),
				},
			},
			Type: pulumi.String("weighted-round-robin"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM Property backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#property) page.

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

func GetGtmProperty

func GetGtmProperty(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmPropertyState, opts ...pulumi.ResourceOption) (*GtmProperty, error)

GetGtmProperty gets an existing GtmProperty resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmProperty

func NewGtmProperty(ctx *pulumi.Context,
	name string, args *GtmPropertyArgs, opts ...pulumi.ResourceOption) (*GtmProperty, error)

NewGtmProperty registers a new resource with the given unique name, arguments, and options.

func (*GtmProperty) ElementType

func (*GtmProperty) ElementType() reflect.Type

func (*GtmProperty) ToGtmPropertyOutput

func (i *GtmProperty) ToGtmPropertyOutput() GtmPropertyOutput

func (*GtmProperty) ToGtmPropertyOutputWithContext

func (i *GtmProperty) ToGtmPropertyOutputWithContext(ctx context.Context) GtmPropertyOutput

type GtmPropertyArgs

type GtmPropertyArgs struct {
	// Specifies a backup CNAME. If GTM declares that all of the servers configured for your property are down, the backup CNAME is handed out. If a backup CNAME is set, do not set a backup IP.
	BackupCname pulumi.StringPtrInput
	// Specifies a backup IP. When GTM declares that all of the targets are down, the backup IP is handed out. If a backup IP is set, do not set a backup CNAME.
	BackupIp pulumi.StringPtrInput
	// A boolean that indicates whether download score based load balancing is enabled.
	BalanceByDownloadScore pulumi.BoolPtrInput
	// Indicates the fully qualified name aliased to a particular property.
	Cname pulumi.StringPtrInput
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comments pulumi.StringPtrInput
	// DNS name for the GTM Domain set that includes this Property.
	Domain pulumi.StringInput
	// Indicates the TTL in seconds for records that might change dynamically based on liveness and load balancing such as A and AAAA records, and CNAMEs.
	DynamicTtl pulumi.IntPtrInput
	// Specifies the failback delay in seconds.
	FailbackDelay pulumi.IntPtrInput
	// Specifies the failover delay in seconds.
	FailoverDelay pulumi.IntPtrInput
	// Use load estimates from Akamai Ghost utilization messages.
	GhostDemandReporting pulumi.BoolPtrInput
	// Indicates the limit for the number of live IPs handed out to a DNS request.
	HandoutLimit pulumi.IntInput
	// Specifies how IPs are returned when more than one IP is alive and available.
	HandoutMode pulumi.StringInput
	// Defines the absolute limit beyond which IPs are declared unhealthy.
	HealthMax pulumi.Float64PtrInput
	// Configures a cutoff value that is computed from the median scores.
	HealthMultiplier pulumi.Float64PtrInput
	// Configures a cutoff value that is computed from the median scores.
	HealthThreshold pulumi.Float64PtrInput
	// A boolean that indicates the type of IP address handed out by a GTM property.
	Ipv6 pulumi.BoolPtrInput
	// Contains information about the liveness tests, which are run periodically to determine whether your servers respond to requests. You can have multiple `livenessTest` arguments. If used, requires these arguments:
	LivenessTests GtmPropertyLivenessTestArrayInput
	// Indicates the percent of load imbalance factor (LIF) for the property.
	LoadImbalancePercentage pulumi.Float64PtrInput
	// A descriptive label for a GeographicMap or a CidrMap that's required if the property is either geographic or cidrmapping, in which case mapName needs to reference either an existing GeographicMap or CidrMap in the same domain.
	MapName pulumi.StringPtrInput
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers show an aggregated loss fraction higher than the penalty value.
	MaxUnreachablePenalty pulumi.IntPtrInput
	// Specifies what fraction of the servers need to respond to requests so GTM considers the data center up and able to receive traffic.
	MinLiveFraction pulumi.Float64PtrInput
	// Name of HTTP header.
	Name pulumi.StringPtrInput
	// Specifies how GTM aggregates liveness test scores across different tests, when multiple tests are configured.
	ScoreAggregationType pulumi.StringInput
	// Contains static record sets. You can have multiple `staticRrSet` entries. Requires these arguments:
	StaticRrSets GtmPropertyStaticRrSetArrayInput
	StaticTtl    pulumi.IntPtrInput
	// Specifies a constant used to configure data center affinity.
	StickinessBonusConstant pulumi.IntPtrInput
	// Specifies a percentage used to configure data center affinity.
	StickinessBonusPercentage pulumi.IntPtrInput
	// Contains information about where to direct data center traffic. You can have multiple `trafficTarget` arguments. If used, includes these arguments:
	TrafficTargets GtmPropertyTrafficTargetArrayInput
	// The record type.
	Type pulumi.StringInput
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers have an aggregated loss fraction higher than this value.
	UnreachableThreshold pulumi.Float64PtrInput
	// For load-feedback domains only, a boolean that indicates whether you want GTM to automatically compute target load.
	UseComputedTargets pulumi.BoolPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmProperty resource.

func (GtmPropertyArgs) ElementType

func (GtmPropertyArgs) ElementType() reflect.Type

type GtmPropertyArray

type GtmPropertyArray []GtmPropertyInput

func (GtmPropertyArray) ElementType

func (GtmPropertyArray) ElementType() reflect.Type

func (GtmPropertyArray) ToGtmPropertyArrayOutput

func (i GtmPropertyArray) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput

func (GtmPropertyArray) ToGtmPropertyArrayOutputWithContext

func (i GtmPropertyArray) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput

type GtmPropertyArrayInput

type GtmPropertyArrayInput interface {
	pulumi.Input

	ToGtmPropertyArrayOutput() GtmPropertyArrayOutput
	ToGtmPropertyArrayOutputWithContext(context.Context) GtmPropertyArrayOutput
}

GtmPropertyArrayInput is an input type that accepts GtmPropertyArray and GtmPropertyArrayOutput values. You can construct a concrete instance of `GtmPropertyArrayInput` via:

GtmPropertyArray{ GtmPropertyArgs{...} }

type GtmPropertyArrayOutput

type GtmPropertyArrayOutput struct{ *pulumi.OutputState }

func (GtmPropertyArrayOutput) ElementType

func (GtmPropertyArrayOutput) ElementType() reflect.Type

func (GtmPropertyArrayOutput) Index

func (GtmPropertyArrayOutput) ToGtmPropertyArrayOutput

func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutput() GtmPropertyArrayOutput

func (GtmPropertyArrayOutput) ToGtmPropertyArrayOutputWithContext

func (o GtmPropertyArrayOutput) ToGtmPropertyArrayOutputWithContext(ctx context.Context) GtmPropertyArrayOutput

type GtmPropertyInput

type GtmPropertyInput interface {
	pulumi.Input

	ToGtmPropertyOutput() GtmPropertyOutput
	ToGtmPropertyOutputWithContext(ctx context.Context) GtmPropertyOutput
}

type GtmPropertyLivenessTest

type GtmPropertyLivenessTest struct {
	// If `testObjectProtocol` is DNS, enter a boolean value if an answer is needed for the DNS query to be successful.
	AnswersRequired *bool `pulumi:"answersRequired"`
	// A boolean that if set to `true`, disables warnings when non-standard ports are used.
	DisableNonstandardPortWarning *bool `pulumi:"disableNonstandardPortWarning"`
	// A boolean indicating whether the liveness test is disabled. When disabled, GTM stops running the test, effectively treating it as if it no longer exists.
	Disabled *bool `pulumi:"disabled"`
	// Specifies the score that's reported if the liveness test encounters an error other than timeout, such as connection refused, and 404.
	ErrorPenalty *float64 `pulumi:"errorPenalty"`
	// A boolean that if set to `true`, treats a 3xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError3xx *bool `pulumi:"httpError3xx"`
	// A boolean that if set to `true`, treats a 4xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError4xx *bool `pulumi:"httpError4xx"`
	// A boolean that if set to `true`, treats a 5xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError5xx *bool `pulumi:"httpError5xx"`
	// Contains HTTP headers to send if the `testObjectProtocol` is `http` or `https`. You can have multiple `httpHeader` entries. Requires these arguments:
	HttpHeaders []GtmPropertyLivenessTestHttpHeader `pulumi:"httpHeaders"`
	// Name of HTTP header.
	Name string `pulumi:"name"`
	// A boolean that if set to `true`, validates the origin certificate. Applies only to tests with `testObjectProtocol` of https.
	PeerCertificateVerification *bool `pulumi:"peerCertificateVerification"`
	// A boolean indicating whether the `testObjectProtocol` is DNS. The DNS query is recursive.
	RecursionRequested *bool `pulumi:"recursionRequested"`
	// Specifies a request string.
	RequestString *string `pulumi:"requestString"`
	// Specifies the query type, if `testObjectProtocol` is DNS.
	ResourceType *string `pulumi:"resourceType"`
	// Specifies a response string.
	ResponseString *string `pulumi:"responseString"`
	// Indicates a Base64-encoded certificate. SSL client certificates are available for livenessTests that use secure protocols.
	SslClientCertificate *string `pulumi:"sslClientCertificate"`
	// Indicates a Base64-encoded private key. The private key used to generate or request a certificate for livenessTests can't have a passphrase nor be used for any other purpose.
	SslClientPrivateKey *string `pulumi:"sslClientPrivateKey"`
	// Indicates the interval at which the liveness test is run, in seconds. Requires a minimum of 10 seconds.
	TestInterval int `pulumi:"testInterval"`
	// Specifies the static text that acts as a stand-in for the data that you're sending on the network.
	TestObject string `pulumi:"testObject"`
	// Specifies the test object's password. It is required if testObjectProtocol is ftp.
	TestObjectPassword *string `pulumi:"testObjectPassword"`
	// Specifies the port number for the testObject.
	TestObjectPort *int `pulumi:"testObjectPort"`
	// Specifies the test protocol. Possible values include `DNS`, `HTTP`, `HTTPS`, `FTP`, `POP`, `POPS`, `SMTP`, `SMTPS`, `TCP`, or `TCPS`.
	TestObjectProtocol string `pulumi:"testObjectProtocol"`
	// A descriptive name for the testObject.
	TestObjectUsername *string `pulumi:"testObjectUsername"`
	// Specifies the duration of the liveness test before it fails. The range is from 0.001 to 60 seconds.
	TestTimeout float64 `pulumi:"testTimeout"`
	// Specifies the score to be reported if the liveness test times out.
	TimeoutPenalty *float64 `pulumi:"timeoutPenalty"`
}

type GtmPropertyLivenessTestArgs

type GtmPropertyLivenessTestArgs struct {
	// If `testObjectProtocol` is DNS, enter a boolean value if an answer is needed for the DNS query to be successful.
	AnswersRequired pulumi.BoolPtrInput `pulumi:"answersRequired"`
	// A boolean that if set to `true`, disables warnings when non-standard ports are used.
	DisableNonstandardPortWarning pulumi.BoolPtrInput `pulumi:"disableNonstandardPortWarning"`
	// A boolean indicating whether the liveness test is disabled. When disabled, GTM stops running the test, effectively treating it as if it no longer exists.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Specifies the score that's reported if the liveness test encounters an error other than timeout, such as connection refused, and 404.
	ErrorPenalty pulumi.Float64PtrInput `pulumi:"errorPenalty"`
	// A boolean that if set to `true`, treats a 3xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError3xx pulumi.BoolPtrInput `pulumi:"httpError3xx"`
	// A boolean that if set to `true`, treats a 4xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError4xx pulumi.BoolPtrInput `pulumi:"httpError4xx"`
	// A boolean that if set to `true`, treats a 5xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.
	HttpError5xx pulumi.BoolPtrInput `pulumi:"httpError5xx"`
	// Contains HTTP headers to send if the `testObjectProtocol` is `http` or `https`. You can have multiple `httpHeader` entries. Requires these arguments:
	HttpHeaders GtmPropertyLivenessTestHttpHeaderArrayInput `pulumi:"httpHeaders"`
	// Name of HTTP header.
	Name pulumi.StringInput `pulumi:"name"`
	// A boolean that if set to `true`, validates the origin certificate. Applies only to tests with `testObjectProtocol` of https.
	PeerCertificateVerification pulumi.BoolPtrInput `pulumi:"peerCertificateVerification"`
	// A boolean indicating whether the `testObjectProtocol` is DNS. The DNS query is recursive.
	RecursionRequested pulumi.BoolPtrInput `pulumi:"recursionRequested"`
	// Specifies a request string.
	RequestString pulumi.StringPtrInput `pulumi:"requestString"`
	// Specifies the query type, if `testObjectProtocol` is DNS.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// Specifies a response string.
	ResponseString pulumi.StringPtrInput `pulumi:"responseString"`
	// Indicates a Base64-encoded certificate. SSL client certificates are available for livenessTests that use secure protocols.
	SslClientCertificate pulumi.StringPtrInput `pulumi:"sslClientCertificate"`
	// Indicates a Base64-encoded private key. The private key used to generate or request a certificate for livenessTests can't have a passphrase nor be used for any other purpose.
	SslClientPrivateKey pulumi.StringPtrInput `pulumi:"sslClientPrivateKey"`
	// Indicates the interval at which the liveness test is run, in seconds. Requires a minimum of 10 seconds.
	TestInterval pulumi.IntInput `pulumi:"testInterval"`
	// Specifies the static text that acts as a stand-in for the data that you're sending on the network.
	TestObject pulumi.StringInput `pulumi:"testObject"`
	// Specifies the test object's password. It is required if testObjectProtocol is ftp.
	TestObjectPassword pulumi.StringPtrInput `pulumi:"testObjectPassword"`
	// Specifies the port number for the testObject.
	TestObjectPort pulumi.IntPtrInput `pulumi:"testObjectPort"`
	// Specifies the test protocol. Possible values include `DNS`, `HTTP`, `HTTPS`, `FTP`, `POP`, `POPS`, `SMTP`, `SMTPS`, `TCP`, or `TCPS`.
	TestObjectProtocol pulumi.StringInput `pulumi:"testObjectProtocol"`
	// A descriptive name for the testObject.
	TestObjectUsername pulumi.StringPtrInput `pulumi:"testObjectUsername"`
	// Specifies the duration of the liveness test before it fails. The range is from 0.001 to 60 seconds.
	TestTimeout pulumi.Float64Input `pulumi:"testTimeout"`
	// Specifies the score to be reported if the liveness test times out.
	TimeoutPenalty pulumi.Float64PtrInput `pulumi:"timeoutPenalty"`
}

func (GtmPropertyLivenessTestArgs) ElementType

func (GtmPropertyLivenessTestArgs) ToGtmPropertyLivenessTestOutput

func (i GtmPropertyLivenessTestArgs) ToGtmPropertyLivenessTestOutput() GtmPropertyLivenessTestOutput

func (GtmPropertyLivenessTestArgs) ToGtmPropertyLivenessTestOutputWithContext

func (i GtmPropertyLivenessTestArgs) ToGtmPropertyLivenessTestOutputWithContext(ctx context.Context) GtmPropertyLivenessTestOutput

type GtmPropertyLivenessTestArray

type GtmPropertyLivenessTestArray []GtmPropertyLivenessTestInput

func (GtmPropertyLivenessTestArray) ElementType

func (GtmPropertyLivenessTestArray) ToGtmPropertyLivenessTestArrayOutput

func (i GtmPropertyLivenessTestArray) ToGtmPropertyLivenessTestArrayOutput() GtmPropertyLivenessTestArrayOutput

func (GtmPropertyLivenessTestArray) ToGtmPropertyLivenessTestArrayOutputWithContext

func (i GtmPropertyLivenessTestArray) ToGtmPropertyLivenessTestArrayOutputWithContext(ctx context.Context) GtmPropertyLivenessTestArrayOutput

type GtmPropertyLivenessTestArrayInput

type GtmPropertyLivenessTestArrayInput interface {
	pulumi.Input

	ToGtmPropertyLivenessTestArrayOutput() GtmPropertyLivenessTestArrayOutput
	ToGtmPropertyLivenessTestArrayOutputWithContext(context.Context) GtmPropertyLivenessTestArrayOutput
}

GtmPropertyLivenessTestArrayInput is an input type that accepts GtmPropertyLivenessTestArray and GtmPropertyLivenessTestArrayOutput values. You can construct a concrete instance of `GtmPropertyLivenessTestArrayInput` via:

GtmPropertyLivenessTestArray{ GtmPropertyLivenessTestArgs{...} }

type GtmPropertyLivenessTestArrayOutput

type GtmPropertyLivenessTestArrayOutput struct{ *pulumi.OutputState }

func (GtmPropertyLivenessTestArrayOutput) ElementType

func (GtmPropertyLivenessTestArrayOutput) Index

func (GtmPropertyLivenessTestArrayOutput) ToGtmPropertyLivenessTestArrayOutput

func (o GtmPropertyLivenessTestArrayOutput) ToGtmPropertyLivenessTestArrayOutput() GtmPropertyLivenessTestArrayOutput

func (GtmPropertyLivenessTestArrayOutput) ToGtmPropertyLivenessTestArrayOutputWithContext

func (o GtmPropertyLivenessTestArrayOutput) ToGtmPropertyLivenessTestArrayOutputWithContext(ctx context.Context) GtmPropertyLivenessTestArrayOutput

type GtmPropertyLivenessTestHttpHeader

type GtmPropertyLivenessTestHttpHeader struct {
	// Name of HTTP header.
	Name *string `pulumi:"name"`
	// Value of HTTP header.
	Value *string `pulumi:"value"`
}

type GtmPropertyLivenessTestHttpHeaderArgs

type GtmPropertyLivenessTestHttpHeaderArgs struct {
	// Name of HTTP header.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Value of HTTP header.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GtmPropertyLivenessTestHttpHeaderArgs) ElementType

func (GtmPropertyLivenessTestHttpHeaderArgs) ToGtmPropertyLivenessTestHttpHeaderOutput

func (i GtmPropertyLivenessTestHttpHeaderArgs) ToGtmPropertyLivenessTestHttpHeaderOutput() GtmPropertyLivenessTestHttpHeaderOutput

func (GtmPropertyLivenessTestHttpHeaderArgs) ToGtmPropertyLivenessTestHttpHeaderOutputWithContext

func (i GtmPropertyLivenessTestHttpHeaderArgs) ToGtmPropertyLivenessTestHttpHeaderOutputWithContext(ctx context.Context) GtmPropertyLivenessTestHttpHeaderOutput

type GtmPropertyLivenessTestHttpHeaderArray

type GtmPropertyLivenessTestHttpHeaderArray []GtmPropertyLivenessTestHttpHeaderInput

func (GtmPropertyLivenessTestHttpHeaderArray) ElementType

func (GtmPropertyLivenessTestHttpHeaderArray) ToGtmPropertyLivenessTestHttpHeaderArrayOutput

func (i GtmPropertyLivenessTestHttpHeaderArray) ToGtmPropertyLivenessTestHttpHeaderArrayOutput() GtmPropertyLivenessTestHttpHeaderArrayOutput

func (GtmPropertyLivenessTestHttpHeaderArray) ToGtmPropertyLivenessTestHttpHeaderArrayOutputWithContext

func (i GtmPropertyLivenessTestHttpHeaderArray) ToGtmPropertyLivenessTestHttpHeaderArrayOutputWithContext(ctx context.Context) GtmPropertyLivenessTestHttpHeaderArrayOutput

type GtmPropertyLivenessTestHttpHeaderArrayInput

type GtmPropertyLivenessTestHttpHeaderArrayInput interface {
	pulumi.Input

	ToGtmPropertyLivenessTestHttpHeaderArrayOutput() GtmPropertyLivenessTestHttpHeaderArrayOutput
	ToGtmPropertyLivenessTestHttpHeaderArrayOutputWithContext(context.Context) GtmPropertyLivenessTestHttpHeaderArrayOutput
}

GtmPropertyLivenessTestHttpHeaderArrayInput is an input type that accepts GtmPropertyLivenessTestHttpHeaderArray and GtmPropertyLivenessTestHttpHeaderArrayOutput values. You can construct a concrete instance of `GtmPropertyLivenessTestHttpHeaderArrayInput` via:

GtmPropertyLivenessTestHttpHeaderArray{ GtmPropertyLivenessTestHttpHeaderArgs{...} }

type GtmPropertyLivenessTestHttpHeaderArrayOutput

type GtmPropertyLivenessTestHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (GtmPropertyLivenessTestHttpHeaderArrayOutput) ElementType

func (GtmPropertyLivenessTestHttpHeaderArrayOutput) Index

func (GtmPropertyLivenessTestHttpHeaderArrayOutput) ToGtmPropertyLivenessTestHttpHeaderArrayOutput

func (o GtmPropertyLivenessTestHttpHeaderArrayOutput) ToGtmPropertyLivenessTestHttpHeaderArrayOutput() GtmPropertyLivenessTestHttpHeaderArrayOutput

func (GtmPropertyLivenessTestHttpHeaderArrayOutput) ToGtmPropertyLivenessTestHttpHeaderArrayOutputWithContext

func (o GtmPropertyLivenessTestHttpHeaderArrayOutput) ToGtmPropertyLivenessTestHttpHeaderArrayOutputWithContext(ctx context.Context) GtmPropertyLivenessTestHttpHeaderArrayOutput

type GtmPropertyLivenessTestHttpHeaderInput

type GtmPropertyLivenessTestHttpHeaderInput interface {
	pulumi.Input

	ToGtmPropertyLivenessTestHttpHeaderOutput() GtmPropertyLivenessTestHttpHeaderOutput
	ToGtmPropertyLivenessTestHttpHeaderOutputWithContext(context.Context) GtmPropertyLivenessTestHttpHeaderOutput
}

GtmPropertyLivenessTestHttpHeaderInput is an input type that accepts GtmPropertyLivenessTestHttpHeaderArgs and GtmPropertyLivenessTestHttpHeaderOutput values. You can construct a concrete instance of `GtmPropertyLivenessTestHttpHeaderInput` via:

GtmPropertyLivenessTestHttpHeaderArgs{...}

type GtmPropertyLivenessTestHttpHeaderOutput

type GtmPropertyLivenessTestHttpHeaderOutput struct{ *pulumi.OutputState }

func (GtmPropertyLivenessTestHttpHeaderOutput) ElementType

func (GtmPropertyLivenessTestHttpHeaderOutput) Name

Name of HTTP header.

func (GtmPropertyLivenessTestHttpHeaderOutput) ToGtmPropertyLivenessTestHttpHeaderOutput

func (o GtmPropertyLivenessTestHttpHeaderOutput) ToGtmPropertyLivenessTestHttpHeaderOutput() GtmPropertyLivenessTestHttpHeaderOutput

func (GtmPropertyLivenessTestHttpHeaderOutput) ToGtmPropertyLivenessTestHttpHeaderOutputWithContext

func (o GtmPropertyLivenessTestHttpHeaderOutput) ToGtmPropertyLivenessTestHttpHeaderOutputWithContext(ctx context.Context) GtmPropertyLivenessTestHttpHeaderOutput

func (GtmPropertyLivenessTestHttpHeaderOutput) Value

Value of HTTP header.

type GtmPropertyLivenessTestInput

type GtmPropertyLivenessTestInput interface {
	pulumi.Input

	ToGtmPropertyLivenessTestOutput() GtmPropertyLivenessTestOutput
	ToGtmPropertyLivenessTestOutputWithContext(context.Context) GtmPropertyLivenessTestOutput
}

GtmPropertyLivenessTestInput is an input type that accepts GtmPropertyLivenessTestArgs and GtmPropertyLivenessTestOutput values. You can construct a concrete instance of `GtmPropertyLivenessTestInput` via:

GtmPropertyLivenessTestArgs{...}

type GtmPropertyLivenessTestOutput

type GtmPropertyLivenessTestOutput struct{ *pulumi.OutputState }

func (GtmPropertyLivenessTestOutput) AnswersRequired

If `testObjectProtocol` is DNS, enter a boolean value if an answer is needed for the DNS query to be successful.

func (GtmPropertyLivenessTestOutput) DisableNonstandardPortWarning

func (o GtmPropertyLivenessTestOutput) DisableNonstandardPortWarning() pulumi.BoolPtrOutput

A boolean that if set to `true`, disables warnings when non-standard ports are used.

func (GtmPropertyLivenessTestOutput) Disabled

A boolean indicating whether the liveness test is disabled. When disabled, GTM stops running the test, effectively treating it as if it no longer exists.

func (GtmPropertyLivenessTestOutput) ElementType

func (GtmPropertyLivenessTestOutput) ErrorPenalty

Specifies the score that's reported if the liveness test encounters an error other than timeout, such as connection refused, and 404.

func (GtmPropertyLivenessTestOutput) HttpError3xx

A boolean that if set to `true`, treats a 3xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.

func (GtmPropertyLivenessTestOutput) HttpError4xx

A boolean that if set to `true`, treats a 4xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.

func (GtmPropertyLivenessTestOutput) HttpError5xx

A boolean that if set to `true`, treats a 5xx HTTP response as a failure if the `testObjectProtocol` is `http`, `https`, or `ftp`.

func (GtmPropertyLivenessTestOutput) HttpHeaders

Contains HTTP headers to send if the `testObjectProtocol` is `http` or `https`. You can have multiple `httpHeader` entries. Requires these arguments:

func (GtmPropertyLivenessTestOutput) Name

Name of HTTP header.

func (GtmPropertyLivenessTestOutput) PeerCertificateVerification

func (o GtmPropertyLivenessTestOutput) PeerCertificateVerification() pulumi.BoolPtrOutput

A boolean that if set to `true`, validates the origin certificate. Applies only to tests with `testObjectProtocol` of https.

func (GtmPropertyLivenessTestOutput) RecursionRequested

func (o GtmPropertyLivenessTestOutput) RecursionRequested() pulumi.BoolPtrOutput

A boolean indicating whether the `testObjectProtocol` is DNS. The DNS query is recursive.

func (GtmPropertyLivenessTestOutput) RequestString

Specifies a request string.

func (GtmPropertyLivenessTestOutput) ResourceType

Specifies the query type, if `testObjectProtocol` is DNS.

func (GtmPropertyLivenessTestOutput) ResponseString

Specifies a response string.

func (GtmPropertyLivenessTestOutput) SslClientCertificate

func (o GtmPropertyLivenessTestOutput) SslClientCertificate() pulumi.StringPtrOutput

Indicates a Base64-encoded certificate. SSL client certificates are available for livenessTests that use secure protocols.

func (GtmPropertyLivenessTestOutput) SslClientPrivateKey

func (o GtmPropertyLivenessTestOutput) SslClientPrivateKey() pulumi.StringPtrOutput

Indicates a Base64-encoded private key. The private key used to generate or request a certificate for livenessTests can't have a passphrase nor be used for any other purpose.

func (GtmPropertyLivenessTestOutput) TestInterval

Indicates the interval at which the liveness test is run, in seconds. Requires a minimum of 10 seconds.

func (GtmPropertyLivenessTestOutput) TestObject

Specifies the static text that acts as a stand-in for the data that you're sending on the network.

func (GtmPropertyLivenessTestOutput) TestObjectPassword

func (o GtmPropertyLivenessTestOutput) TestObjectPassword() pulumi.StringPtrOutput

Specifies the test object's password. It is required if testObjectProtocol is ftp.

func (GtmPropertyLivenessTestOutput) TestObjectPort

Specifies the port number for the testObject.

func (GtmPropertyLivenessTestOutput) TestObjectProtocol

func (o GtmPropertyLivenessTestOutput) TestObjectProtocol() pulumi.StringOutput

Specifies the test protocol. Possible values include `DNS`, `HTTP`, `HTTPS`, `FTP`, `POP`, `POPS`, `SMTP`, `SMTPS`, `TCP`, or `TCPS`.

func (GtmPropertyLivenessTestOutput) TestObjectUsername

func (o GtmPropertyLivenessTestOutput) TestObjectUsername() pulumi.StringPtrOutput

A descriptive name for the testObject.

func (GtmPropertyLivenessTestOutput) TestTimeout

Specifies the duration of the liveness test before it fails. The range is from 0.001 to 60 seconds.

func (GtmPropertyLivenessTestOutput) TimeoutPenalty

Specifies the score to be reported if the liveness test times out.

func (GtmPropertyLivenessTestOutput) ToGtmPropertyLivenessTestOutput

func (o GtmPropertyLivenessTestOutput) ToGtmPropertyLivenessTestOutput() GtmPropertyLivenessTestOutput

func (GtmPropertyLivenessTestOutput) ToGtmPropertyLivenessTestOutputWithContext

func (o GtmPropertyLivenessTestOutput) ToGtmPropertyLivenessTestOutputWithContext(ctx context.Context) GtmPropertyLivenessTestOutput

type GtmPropertyMap

type GtmPropertyMap map[string]GtmPropertyInput

func (GtmPropertyMap) ElementType

func (GtmPropertyMap) ElementType() reflect.Type

func (GtmPropertyMap) ToGtmPropertyMapOutput

func (i GtmPropertyMap) ToGtmPropertyMapOutput() GtmPropertyMapOutput

func (GtmPropertyMap) ToGtmPropertyMapOutputWithContext

func (i GtmPropertyMap) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput

type GtmPropertyMapInput

type GtmPropertyMapInput interface {
	pulumi.Input

	ToGtmPropertyMapOutput() GtmPropertyMapOutput
	ToGtmPropertyMapOutputWithContext(context.Context) GtmPropertyMapOutput
}

GtmPropertyMapInput is an input type that accepts GtmPropertyMap and GtmPropertyMapOutput values. You can construct a concrete instance of `GtmPropertyMapInput` via:

GtmPropertyMap{ "key": GtmPropertyArgs{...} }

type GtmPropertyMapOutput

type GtmPropertyMapOutput struct{ *pulumi.OutputState }

func (GtmPropertyMapOutput) ElementType

func (GtmPropertyMapOutput) ElementType() reflect.Type

func (GtmPropertyMapOutput) MapIndex

func (GtmPropertyMapOutput) ToGtmPropertyMapOutput

func (o GtmPropertyMapOutput) ToGtmPropertyMapOutput() GtmPropertyMapOutput

func (GtmPropertyMapOutput) ToGtmPropertyMapOutputWithContext

func (o GtmPropertyMapOutput) ToGtmPropertyMapOutputWithContext(ctx context.Context) GtmPropertyMapOutput

type GtmPropertyOutput

type GtmPropertyOutput struct{ *pulumi.OutputState }

func (GtmPropertyOutput) ElementType

func (GtmPropertyOutput) ElementType() reflect.Type

func (GtmPropertyOutput) ToGtmPropertyOutput

func (o GtmPropertyOutput) ToGtmPropertyOutput() GtmPropertyOutput

func (GtmPropertyOutput) ToGtmPropertyOutputWithContext

func (o GtmPropertyOutput) ToGtmPropertyOutputWithContext(ctx context.Context) GtmPropertyOutput

type GtmPropertyState

type GtmPropertyState struct {
	// Specifies a backup CNAME. If GTM declares that all of the servers configured for your property are down, the backup CNAME is handed out. If a backup CNAME is set, do not set a backup IP.
	BackupCname pulumi.StringPtrInput
	// Specifies a backup IP. When GTM declares that all of the targets are down, the backup IP is handed out. If a backup IP is set, do not set a backup CNAME.
	BackupIp pulumi.StringPtrInput
	// A boolean that indicates whether download score based load balancing is enabled.
	BalanceByDownloadScore pulumi.BoolPtrInput
	// Indicates the fully qualified name aliased to a particular property.
	Cname pulumi.StringPtrInput
	// A descriptive note about changes to the domain. The maximum is 4000 characters.
	Comments pulumi.StringPtrInput
	// DNS name for the GTM Domain set that includes this Property.
	Domain pulumi.StringPtrInput
	// Indicates the TTL in seconds for records that might change dynamically based on liveness and load balancing such as A and AAAA records, and CNAMEs.
	DynamicTtl pulumi.IntPtrInput
	// Specifies the failback delay in seconds.
	FailbackDelay pulumi.IntPtrInput
	// Specifies the failover delay in seconds.
	FailoverDelay pulumi.IntPtrInput
	// Use load estimates from Akamai Ghost utilization messages.
	GhostDemandReporting pulumi.BoolPtrInput
	// Indicates the limit for the number of live IPs handed out to a DNS request.
	HandoutLimit pulumi.IntPtrInput
	// Specifies how IPs are returned when more than one IP is alive and available.
	HandoutMode pulumi.StringPtrInput
	// Defines the absolute limit beyond which IPs are declared unhealthy.
	HealthMax pulumi.Float64PtrInput
	// Configures a cutoff value that is computed from the median scores.
	HealthMultiplier pulumi.Float64PtrInput
	// Configures a cutoff value that is computed from the median scores.
	HealthThreshold pulumi.Float64PtrInput
	// A boolean that indicates the type of IP address handed out by a GTM property.
	Ipv6 pulumi.BoolPtrInput
	// Contains information about the liveness tests, which are run periodically to determine whether your servers respond to requests. You can have multiple `livenessTest` arguments. If used, requires these arguments:
	LivenessTests GtmPropertyLivenessTestArrayInput
	// Indicates the percent of load imbalance factor (LIF) for the property.
	LoadImbalancePercentage pulumi.Float64PtrInput
	// A descriptive label for a GeographicMap or a CidrMap that's required if the property is either geographic or cidrmapping, in which case mapName needs to reference either an existing GeographicMap or CidrMap in the same domain.
	MapName pulumi.StringPtrInput
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers show an aggregated loss fraction higher than the penalty value.
	MaxUnreachablePenalty pulumi.IntPtrInput
	// Specifies what fraction of the servers need to respond to requests so GTM considers the data center up and able to receive traffic.
	MinLiveFraction pulumi.Float64PtrInput
	// Name of HTTP header.
	Name pulumi.StringPtrInput
	// Specifies how GTM aggregates liveness test scores across different tests, when multiple tests are configured.
	ScoreAggregationType pulumi.StringPtrInput
	// Contains static record sets. You can have multiple `staticRrSet` entries. Requires these arguments:
	StaticRrSets GtmPropertyStaticRrSetArrayInput
	StaticTtl    pulumi.IntPtrInput
	// Specifies a constant used to configure data center affinity.
	StickinessBonusConstant pulumi.IntPtrInput
	// Specifies a percentage used to configure data center affinity.
	StickinessBonusPercentage pulumi.IntPtrInput
	// Contains information about where to direct data center traffic. You can have multiple `trafficTarget` arguments. If used, includes these arguments:
	TrafficTargets GtmPropertyTrafficTargetArrayInput
	// The record type.
	Type pulumi.StringPtrInput
	// For performance domains, this specifies a penalty value that's added to liveness test scores when data centers have an aggregated loss fraction higher than this value.
	UnreachableThreshold pulumi.Float64PtrInput
	// For load-feedback domains only, a boolean that indicates whether you want GTM to automatically compute target load.
	UseComputedTargets pulumi.BoolPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete          pulumi.BoolPtrInput
	WeightedHashBitsForIpv4 pulumi.IntPtrInput
	WeightedHashBitsForIpv6 pulumi.IntPtrInput
}

func (GtmPropertyState) ElementType

func (GtmPropertyState) ElementType() reflect.Type

type GtmPropertyStaticRrSet

type GtmPropertyStaticRrSet struct {
	// (List) An array of data strings, representing multiple records within a set.
	Rdatas []string `pulumi:"rdatas"`
	// The number of seconds that this record should live in a resolver's cache before being refetched.
	Ttl *int `pulumi:"ttl"`
	// The record type.
	Type *string `pulumi:"type"`
}

type GtmPropertyStaticRrSetArgs

type GtmPropertyStaticRrSetArgs struct {
	// (List) An array of data strings, representing multiple records within a set.
	Rdatas pulumi.StringArrayInput `pulumi:"rdatas"`
	// The number of seconds that this record should live in a resolver's cache before being refetched.
	Ttl pulumi.IntPtrInput `pulumi:"ttl"`
	// The record type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (GtmPropertyStaticRrSetArgs) ElementType

func (GtmPropertyStaticRrSetArgs) ElementType() reflect.Type

func (GtmPropertyStaticRrSetArgs) ToGtmPropertyStaticRrSetOutput

func (i GtmPropertyStaticRrSetArgs) ToGtmPropertyStaticRrSetOutput() GtmPropertyStaticRrSetOutput

func (GtmPropertyStaticRrSetArgs) ToGtmPropertyStaticRrSetOutputWithContext

func (i GtmPropertyStaticRrSetArgs) ToGtmPropertyStaticRrSetOutputWithContext(ctx context.Context) GtmPropertyStaticRrSetOutput

type GtmPropertyStaticRrSetArray

type GtmPropertyStaticRrSetArray []GtmPropertyStaticRrSetInput

func (GtmPropertyStaticRrSetArray) ElementType

func (GtmPropertyStaticRrSetArray) ToGtmPropertyStaticRrSetArrayOutput

func (i GtmPropertyStaticRrSetArray) ToGtmPropertyStaticRrSetArrayOutput() GtmPropertyStaticRrSetArrayOutput

func (GtmPropertyStaticRrSetArray) ToGtmPropertyStaticRrSetArrayOutputWithContext

func (i GtmPropertyStaticRrSetArray) ToGtmPropertyStaticRrSetArrayOutputWithContext(ctx context.Context) GtmPropertyStaticRrSetArrayOutput

type GtmPropertyStaticRrSetArrayInput

type GtmPropertyStaticRrSetArrayInput interface {
	pulumi.Input

	ToGtmPropertyStaticRrSetArrayOutput() GtmPropertyStaticRrSetArrayOutput
	ToGtmPropertyStaticRrSetArrayOutputWithContext(context.Context) GtmPropertyStaticRrSetArrayOutput
}

GtmPropertyStaticRrSetArrayInput is an input type that accepts GtmPropertyStaticRrSetArray and GtmPropertyStaticRrSetArrayOutput values. You can construct a concrete instance of `GtmPropertyStaticRrSetArrayInput` via:

GtmPropertyStaticRrSetArray{ GtmPropertyStaticRrSetArgs{...} }

type GtmPropertyStaticRrSetArrayOutput

type GtmPropertyStaticRrSetArrayOutput struct{ *pulumi.OutputState }

func (GtmPropertyStaticRrSetArrayOutput) ElementType

func (GtmPropertyStaticRrSetArrayOutput) Index

func (GtmPropertyStaticRrSetArrayOutput) ToGtmPropertyStaticRrSetArrayOutput

func (o GtmPropertyStaticRrSetArrayOutput) ToGtmPropertyStaticRrSetArrayOutput() GtmPropertyStaticRrSetArrayOutput

func (GtmPropertyStaticRrSetArrayOutput) ToGtmPropertyStaticRrSetArrayOutputWithContext

func (o GtmPropertyStaticRrSetArrayOutput) ToGtmPropertyStaticRrSetArrayOutputWithContext(ctx context.Context) GtmPropertyStaticRrSetArrayOutput

type GtmPropertyStaticRrSetInput

type GtmPropertyStaticRrSetInput interface {
	pulumi.Input

	ToGtmPropertyStaticRrSetOutput() GtmPropertyStaticRrSetOutput
	ToGtmPropertyStaticRrSetOutputWithContext(context.Context) GtmPropertyStaticRrSetOutput
}

GtmPropertyStaticRrSetInput is an input type that accepts GtmPropertyStaticRrSetArgs and GtmPropertyStaticRrSetOutput values. You can construct a concrete instance of `GtmPropertyStaticRrSetInput` via:

GtmPropertyStaticRrSetArgs{...}

type GtmPropertyStaticRrSetOutput

type GtmPropertyStaticRrSetOutput struct{ *pulumi.OutputState }

func (GtmPropertyStaticRrSetOutput) ElementType

func (GtmPropertyStaticRrSetOutput) Rdatas

(List) An array of data strings, representing multiple records within a set.

func (GtmPropertyStaticRrSetOutput) ToGtmPropertyStaticRrSetOutput

func (o GtmPropertyStaticRrSetOutput) ToGtmPropertyStaticRrSetOutput() GtmPropertyStaticRrSetOutput

func (GtmPropertyStaticRrSetOutput) ToGtmPropertyStaticRrSetOutputWithContext

func (o GtmPropertyStaticRrSetOutput) ToGtmPropertyStaticRrSetOutputWithContext(ctx context.Context) GtmPropertyStaticRrSetOutput

func (GtmPropertyStaticRrSetOutput) Ttl

The number of seconds that this record should live in a resolver's cache before being refetched.

func (GtmPropertyStaticRrSetOutput) Type

The record type.

type GtmPropertyTrafficTarget

type GtmPropertyTrafficTarget struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId *int `pulumi:"datacenterId"`
	// A boolean indicating whether the traffic target is used. You can also omit the traffic target, which has the same result as the false value.
	Enabled *bool `pulumi:"enabled"`
	// Specifies an optional data center for the property. Used when there are no servers configured for the property.
	HandoutCname *string `pulumi:"handoutCname"`
	// Name of HTTP header.
	Name *string `pulumi:"name"`
	// (List) Identifies the IP address or the hostnames of the servers.
	Servers []string `pulumi:"servers"`
	// Specifies the traffic weight for the target.
	Weight *float64 `pulumi:"weight"`
}

type GtmPropertyTrafficTargetArgs

type GtmPropertyTrafficTargetArgs struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntPtrInput `pulumi:"datacenterId"`
	// A boolean indicating whether the traffic target is used. You can also omit the traffic target, which has the same result as the false value.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Specifies an optional data center for the property. Used when there are no servers configured for the property.
	HandoutCname pulumi.StringPtrInput `pulumi:"handoutCname"`
	// Name of HTTP header.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (List) Identifies the IP address or the hostnames of the servers.
	Servers pulumi.StringArrayInput `pulumi:"servers"`
	// Specifies the traffic weight for the target.
	Weight pulumi.Float64PtrInput `pulumi:"weight"`
}

func (GtmPropertyTrafficTargetArgs) ElementType

func (GtmPropertyTrafficTargetArgs) ToGtmPropertyTrafficTargetOutput

func (i GtmPropertyTrafficTargetArgs) ToGtmPropertyTrafficTargetOutput() GtmPropertyTrafficTargetOutput

func (GtmPropertyTrafficTargetArgs) ToGtmPropertyTrafficTargetOutputWithContext

func (i GtmPropertyTrafficTargetArgs) ToGtmPropertyTrafficTargetOutputWithContext(ctx context.Context) GtmPropertyTrafficTargetOutput

type GtmPropertyTrafficTargetArray

type GtmPropertyTrafficTargetArray []GtmPropertyTrafficTargetInput

func (GtmPropertyTrafficTargetArray) ElementType

func (GtmPropertyTrafficTargetArray) ToGtmPropertyTrafficTargetArrayOutput

func (i GtmPropertyTrafficTargetArray) ToGtmPropertyTrafficTargetArrayOutput() GtmPropertyTrafficTargetArrayOutput

func (GtmPropertyTrafficTargetArray) ToGtmPropertyTrafficTargetArrayOutputWithContext

func (i GtmPropertyTrafficTargetArray) ToGtmPropertyTrafficTargetArrayOutputWithContext(ctx context.Context) GtmPropertyTrafficTargetArrayOutput

type GtmPropertyTrafficTargetArrayInput

type GtmPropertyTrafficTargetArrayInput interface {
	pulumi.Input

	ToGtmPropertyTrafficTargetArrayOutput() GtmPropertyTrafficTargetArrayOutput
	ToGtmPropertyTrafficTargetArrayOutputWithContext(context.Context) GtmPropertyTrafficTargetArrayOutput
}

GtmPropertyTrafficTargetArrayInput is an input type that accepts GtmPropertyTrafficTargetArray and GtmPropertyTrafficTargetArrayOutput values. You can construct a concrete instance of `GtmPropertyTrafficTargetArrayInput` via:

GtmPropertyTrafficTargetArray{ GtmPropertyTrafficTargetArgs{...} }

type GtmPropertyTrafficTargetArrayOutput

type GtmPropertyTrafficTargetArrayOutput struct{ *pulumi.OutputState }

func (GtmPropertyTrafficTargetArrayOutput) ElementType

func (GtmPropertyTrafficTargetArrayOutput) Index

func (GtmPropertyTrafficTargetArrayOutput) ToGtmPropertyTrafficTargetArrayOutput

func (o GtmPropertyTrafficTargetArrayOutput) ToGtmPropertyTrafficTargetArrayOutput() GtmPropertyTrafficTargetArrayOutput

func (GtmPropertyTrafficTargetArrayOutput) ToGtmPropertyTrafficTargetArrayOutputWithContext

func (o GtmPropertyTrafficTargetArrayOutput) ToGtmPropertyTrafficTargetArrayOutputWithContext(ctx context.Context) GtmPropertyTrafficTargetArrayOutput

type GtmPropertyTrafficTargetInput

type GtmPropertyTrafficTargetInput interface {
	pulumi.Input

	ToGtmPropertyTrafficTargetOutput() GtmPropertyTrafficTargetOutput
	ToGtmPropertyTrafficTargetOutputWithContext(context.Context) GtmPropertyTrafficTargetOutput
}

GtmPropertyTrafficTargetInput is an input type that accepts GtmPropertyTrafficTargetArgs and GtmPropertyTrafficTargetOutput values. You can construct a concrete instance of `GtmPropertyTrafficTargetInput` via:

GtmPropertyTrafficTargetArgs{...}

type GtmPropertyTrafficTargetOutput

type GtmPropertyTrafficTargetOutput struct{ *pulumi.OutputState }

func (GtmPropertyTrafficTargetOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmPropertyTrafficTargetOutput) ElementType

func (GtmPropertyTrafficTargetOutput) Enabled

A boolean indicating whether the traffic target is used. You can also omit the traffic target, which has the same result as the false value.

func (GtmPropertyTrafficTargetOutput) HandoutCname

Specifies an optional data center for the property. Used when there are no servers configured for the property.

func (GtmPropertyTrafficTargetOutput) Name

Name of HTTP header.

func (GtmPropertyTrafficTargetOutput) Servers

(List) Identifies the IP address or the hostnames of the servers.

func (GtmPropertyTrafficTargetOutput) ToGtmPropertyTrafficTargetOutput

func (o GtmPropertyTrafficTargetOutput) ToGtmPropertyTrafficTargetOutput() GtmPropertyTrafficTargetOutput

func (GtmPropertyTrafficTargetOutput) ToGtmPropertyTrafficTargetOutputWithContext

func (o GtmPropertyTrafficTargetOutput) ToGtmPropertyTrafficTargetOutputWithContext(ctx context.Context) GtmPropertyTrafficTargetOutput

func (GtmPropertyTrafficTargetOutput) Weight

Specifies the traffic weight for the target.

type GtmResource deprecated

type GtmResource struct {
	pulumi.CustomResourceState

	// Specifies how GTM handles different load numbers when multiple load servers are used for a data center or property.
	AggregationType pulumi.StringOutput `pulumi:"aggregationType"`
	// Specifies the name of the property that this resource constrains, enter `**` to constrain all properties.
	ConstrainedProperty pulumi.StringPtrOutput `pulumi:"constrainedProperty"`
	// For Akamai internal use only. You can omit the value or set it to `null`.
	DecayRate pulumi.Float64PtrOutput `pulumi:"decayRate"`
	// A descriptive note to help you track what the resource constrains.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// DNS name for the GTM Domain set that includes this property.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Optionally specifies the host header used when fetching the load object.
	HostHeader pulumi.StringPtrOutput `pulumi:"hostHeader"`
	// Specifies the text that comes before the `loadObject`.
	LeaderString pulumi.StringPtrOutput `pulumi:"leaderString"`
	// For internal use only. Unless Akamai indicates otherwise, omit the value or set it to null.
	LeastSquaresDecay       pulumi.Float64PtrOutput `pulumi:"leastSquaresDecay"`
	LoadImbalancePercentage pulumi.Float64PtrOutput `pulumi:"loadImbalancePercentage"`
	// For Akamai internal use only. You can omit the value or set it to `null`.
	MaxUMultiplicativeIncrement pulumi.Float64PtrOutput `pulumi:"maxUMultiplicativeIncrement"`
	// A descriptive label for the GTM resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// (multiple allowed) Contains information about the resources that constrain the properties within the data center. You can have multiple `resourceInstance` entries. Requires these arguments:
	ResourceInstances GtmResourceResourceInstanceArrayOutput `pulumi:"resourceInstances"`
	// Indicates the kind of `loadObject` format used to determine the load on the resource.
	Type pulumi.StringOutput `pulumi:"type"`
	// An optional sanity check that specifies the maximum allowed value for any component of the load object.
	UpperBound pulumi.IntPtrOutput `pulumi:"upperBound"`
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrOutput `pulumi:"waitOnComplete"`
}

The `GtmResource` lets you create, configure, and import a GTM resource. In GTM, a resource is anything you can measure whose scarcity affects load balancing. Examples of resources include bandwidth, CPU load average, database queries per second, or disk operations per second.

> **Note** Import requires an ID with this format: `existingDomainName`: `existingResourceName`.

## Example Usage

Basic usage:

```go 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.NewGtmResource(ctx, "demoResource", &akamai.GtmResourceArgs{
			AggregationType: pulumi.String("latest"),
			Domain:          pulumi.String("demo_domain.akadns.net"),
			Type:            pulumi.String("XML load object via HTTP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Schema reference

You can download the GTM Resource backing schema from the [Global Traffic Management API](https://developer.akamai.com/api/web_performance/global_traffic_management/v1.html#resource) page.

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

func GetGtmResource

func GetGtmResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmResourceState, opts ...pulumi.ResourceOption) (*GtmResource, error)

GetGtmResource gets an existing GtmResource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmResource

func NewGtmResource(ctx *pulumi.Context,
	name string, args *GtmResourceArgs, opts ...pulumi.ResourceOption) (*GtmResource, error)

NewGtmResource registers a new resource with the given unique name, arguments, and options.

func (*GtmResource) ElementType

func (*GtmResource) ElementType() reflect.Type

func (*GtmResource) ToGtmResourceOutput

func (i *GtmResource) ToGtmResourceOutput() GtmResourceOutput

func (*GtmResource) ToGtmResourceOutputWithContext

func (i *GtmResource) ToGtmResourceOutputWithContext(ctx context.Context) GtmResourceOutput

type GtmResourceArgs

type GtmResourceArgs struct {
	// Specifies how GTM handles different load numbers when multiple load servers are used for a data center or property.
	AggregationType pulumi.StringInput
	// Specifies the name of the property that this resource constrains, enter `**` to constrain all properties.
	ConstrainedProperty pulumi.StringPtrInput
	// For Akamai internal use only. You can omit the value or set it to `null`.
	DecayRate pulumi.Float64PtrInput
	// A descriptive note to help you track what the resource constrains.
	Description pulumi.StringPtrInput
	// DNS name for the GTM Domain set that includes this property.
	Domain pulumi.StringInput
	// Optionally specifies the host header used when fetching the load object.
	HostHeader pulumi.StringPtrInput
	// Specifies the text that comes before the `loadObject`.
	LeaderString pulumi.StringPtrInput
	// For internal use only. Unless Akamai indicates otherwise, omit the value or set it to null.
	LeastSquaresDecay       pulumi.Float64PtrInput
	LoadImbalancePercentage pulumi.Float64PtrInput
	// For Akamai internal use only. You can omit the value or set it to `null`.
	MaxUMultiplicativeIncrement pulumi.Float64PtrInput
	// A descriptive label for the GTM resource.
	Name pulumi.StringPtrInput
	// (multiple allowed) Contains information about the resources that constrain the properties within the data center. You can have multiple `resourceInstance` entries. Requires these arguments:
	ResourceInstances GtmResourceResourceInstanceArrayInput
	// Indicates the kind of `loadObject` format used to determine the load on the resource.
	Type pulumi.StringInput
	// An optional sanity check that specifies the maximum allowed value for any component of the load object.
	UpperBound pulumi.IntPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrInput
}

The set of arguments for constructing a GtmResource resource.

func (GtmResourceArgs) ElementType

func (GtmResourceArgs) ElementType() reflect.Type

type GtmResourceArray

type GtmResourceArray []GtmResourceInput

func (GtmResourceArray) ElementType

func (GtmResourceArray) ElementType() reflect.Type

func (GtmResourceArray) ToGtmResourceArrayOutput

func (i GtmResourceArray) ToGtmResourceArrayOutput() GtmResourceArrayOutput

func (GtmResourceArray) ToGtmResourceArrayOutputWithContext

func (i GtmResourceArray) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput

type GtmResourceArrayInput

type GtmResourceArrayInput interface {
	pulumi.Input

	ToGtmResourceArrayOutput() GtmResourceArrayOutput
	ToGtmResourceArrayOutputWithContext(context.Context) GtmResourceArrayOutput
}

GtmResourceArrayInput is an input type that accepts GtmResourceArray and GtmResourceArrayOutput values. You can construct a concrete instance of `GtmResourceArrayInput` via:

GtmResourceArray{ GtmResourceArgs{...} }

type GtmResourceArrayOutput

type GtmResourceArrayOutput struct{ *pulumi.OutputState }

func (GtmResourceArrayOutput) ElementType

func (GtmResourceArrayOutput) ElementType() reflect.Type

func (GtmResourceArrayOutput) Index

func (GtmResourceArrayOutput) ToGtmResourceArrayOutput

func (o GtmResourceArrayOutput) ToGtmResourceArrayOutput() GtmResourceArrayOutput

func (GtmResourceArrayOutput) ToGtmResourceArrayOutputWithContext

func (o GtmResourceArrayOutput) ToGtmResourceArrayOutputWithContext(ctx context.Context) GtmResourceArrayOutput

type GtmResourceInput

type GtmResourceInput interface {
	pulumi.Input

	ToGtmResourceOutput() GtmResourceOutput
	ToGtmResourceOutputWithContext(ctx context.Context) GtmResourceOutput
}

type GtmResourceMap

type GtmResourceMap map[string]GtmResourceInput

func (GtmResourceMap) ElementType

func (GtmResourceMap) ElementType() reflect.Type

func (GtmResourceMap) ToGtmResourceMapOutput

func (i GtmResourceMap) ToGtmResourceMapOutput() GtmResourceMapOutput

func (GtmResourceMap) ToGtmResourceMapOutputWithContext

func (i GtmResourceMap) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput

type GtmResourceMapInput

type GtmResourceMapInput interface {
	pulumi.Input

	ToGtmResourceMapOutput() GtmResourceMapOutput
	ToGtmResourceMapOutputWithContext(context.Context) GtmResourceMapOutput
}

GtmResourceMapInput is an input type that accepts GtmResourceMap and GtmResourceMapOutput values. You can construct a concrete instance of `GtmResourceMapInput` via:

GtmResourceMap{ "key": GtmResourceArgs{...} }

type GtmResourceMapOutput

type GtmResourceMapOutput struct{ *pulumi.OutputState }

func (GtmResourceMapOutput) ElementType

func (GtmResourceMapOutput) ElementType() reflect.Type

func (GtmResourceMapOutput) MapIndex

func (GtmResourceMapOutput) ToGtmResourceMapOutput

func (o GtmResourceMapOutput) ToGtmResourceMapOutput() GtmResourceMapOutput

func (GtmResourceMapOutput) ToGtmResourceMapOutputWithContext

func (o GtmResourceMapOutput) ToGtmResourceMapOutputWithContext(ctx context.Context) GtmResourceMapOutput

type GtmResourceOutput

type GtmResourceOutput struct{ *pulumi.OutputState }

func (GtmResourceOutput) ElementType

func (GtmResourceOutput) ElementType() reflect.Type

func (GtmResourceOutput) ToGtmResourceOutput

func (o GtmResourceOutput) ToGtmResourceOutput() GtmResourceOutput

func (GtmResourceOutput) ToGtmResourceOutputWithContext

func (o GtmResourceOutput) ToGtmResourceOutputWithContext(ctx context.Context) GtmResourceOutput

type GtmResourceResourceInstance

type GtmResourceResourceInstance struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId int `pulumi:"datacenterId"`
	// Identifies the load object file used to report real-time information about the current load, maximum allowable load, and target load on each resource.
	LoadObject *string `pulumi:"loadObject"`
	// Specifies the TCP port of the `loadObject`.
	LoadObjectPort *int `pulumi:"loadObjectPort"`
	// (List) Specifies a list of servers from which to request the load object.
	LoadServers []string `pulumi:"loadServers"`
	// A boolean that indicates whether a default `loadObject` is used for the resources.
	UseDefaultLoadObject *bool `pulumi:"useDefaultLoadObject"`
}

type GtmResourceResourceInstanceArgs

type GtmResourceResourceInstanceArgs struct {
	// A unique identifier for an existing data center in the domain.
	DatacenterId pulumi.IntInput `pulumi:"datacenterId"`
	// Identifies the load object file used to report real-time information about the current load, maximum allowable load, and target load on each resource.
	LoadObject pulumi.StringPtrInput `pulumi:"loadObject"`
	// Specifies the TCP port of the `loadObject`.
	LoadObjectPort pulumi.IntPtrInput `pulumi:"loadObjectPort"`
	// (List) Specifies a list of servers from which to request the load object.
	LoadServers pulumi.StringArrayInput `pulumi:"loadServers"`
	// A boolean that indicates whether a default `loadObject` is used for the resources.
	UseDefaultLoadObject pulumi.BoolPtrInput `pulumi:"useDefaultLoadObject"`
}

func (GtmResourceResourceInstanceArgs) ElementType

func (GtmResourceResourceInstanceArgs) ToGtmResourceResourceInstanceOutput

func (i GtmResourceResourceInstanceArgs) ToGtmResourceResourceInstanceOutput() GtmResourceResourceInstanceOutput

func (GtmResourceResourceInstanceArgs) ToGtmResourceResourceInstanceOutputWithContext

func (i GtmResourceResourceInstanceArgs) ToGtmResourceResourceInstanceOutputWithContext(ctx context.Context) GtmResourceResourceInstanceOutput

type GtmResourceResourceInstanceArray

type GtmResourceResourceInstanceArray []GtmResourceResourceInstanceInput

func (GtmResourceResourceInstanceArray) ElementType

func (GtmResourceResourceInstanceArray) ToGtmResourceResourceInstanceArrayOutput

func (i GtmResourceResourceInstanceArray) ToGtmResourceResourceInstanceArrayOutput() GtmResourceResourceInstanceArrayOutput

func (GtmResourceResourceInstanceArray) ToGtmResourceResourceInstanceArrayOutputWithContext

func (i GtmResourceResourceInstanceArray) ToGtmResourceResourceInstanceArrayOutputWithContext(ctx context.Context) GtmResourceResourceInstanceArrayOutput

type GtmResourceResourceInstanceArrayInput

type GtmResourceResourceInstanceArrayInput interface {
	pulumi.Input

	ToGtmResourceResourceInstanceArrayOutput() GtmResourceResourceInstanceArrayOutput
	ToGtmResourceResourceInstanceArrayOutputWithContext(context.Context) GtmResourceResourceInstanceArrayOutput
}

GtmResourceResourceInstanceArrayInput is an input type that accepts GtmResourceResourceInstanceArray and GtmResourceResourceInstanceArrayOutput values. You can construct a concrete instance of `GtmResourceResourceInstanceArrayInput` via:

GtmResourceResourceInstanceArray{ GtmResourceResourceInstanceArgs{...} }

type GtmResourceResourceInstanceArrayOutput

type GtmResourceResourceInstanceArrayOutput struct{ *pulumi.OutputState }

func (GtmResourceResourceInstanceArrayOutput) ElementType

func (GtmResourceResourceInstanceArrayOutput) Index

func (GtmResourceResourceInstanceArrayOutput) ToGtmResourceResourceInstanceArrayOutput

func (o GtmResourceResourceInstanceArrayOutput) ToGtmResourceResourceInstanceArrayOutput() GtmResourceResourceInstanceArrayOutput

func (GtmResourceResourceInstanceArrayOutput) ToGtmResourceResourceInstanceArrayOutputWithContext

func (o GtmResourceResourceInstanceArrayOutput) ToGtmResourceResourceInstanceArrayOutputWithContext(ctx context.Context) GtmResourceResourceInstanceArrayOutput

type GtmResourceResourceInstanceInput

type GtmResourceResourceInstanceInput interface {
	pulumi.Input

	ToGtmResourceResourceInstanceOutput() GtmResourceResourceInstanceOutput
	ToGtmResourceResourceInstanceOutputWithContext(context.Context) GtmResourceResourceInstanceOutput
}

GtmResourceResourceInstanceInput is an input type that accepts GtmResourceResourceInstanceArgs and GtmResourceResourceInstanceOutput values. You can construct a concrete instance of `GtmResourceResourceInstanceInput` via:

GtmResourceResourceInstanceArgs{...}

type GtmResourceResourceInstanceOutput

type GtmResourceResourceInstanceOutput struct{ *pulumi.OutputState }

func (GtmResourceResourceInstanceOutput) DatacenterId

A unique identifier for an existing data center in the domain.

func (GtmResourceResourceInstanceOutput) ElementType

func (GtmResourceResourceInstanceOutput) LoadObject

Identifies the load object file used to report real-time information about the current load, maximum allowable load, and target load on each resource.

func (GtmResourceResourceInstanceOutput) LoadObjectPort

Specifies the TCP port of the `loadObject`.

func (GtmResourceResourceInstanceOutput) LoadServers

(List) Specifies a list of servers from which to request the load object.

func (GtmResourceResourceInstanceOutput) ToGtmResourceResourceInstanceOutput

func (o GtmResourceResourceInstanceOutput) ToGtmResourceResourceInstanceOutput() GtmResourceResourceInstanceOutput

func (GtmResourceResourceInstanceOutput) ToGtmResourceResourceInstanceOutputWithContext

func (o GtmResourceResourceInstanceOutput) ToGtmResourceResourceInstanceOutputWithContext(ctx context.Context) GtmResourceResourceInstanceOutput

func (GtmResourceResourceInstanceOutput) UseDefaultLoadObject

func (o GtmResourceResourceInstanceOutput) UseDefaultLoadObject() pulumi.BoolPtrOutput

A boolean that indicates whether a default `loadObject` is used for the resources.

type GtmResourceState

type GtmResourceState struct {
	// Specifies how GTM handles different load numbers when multiple load servers are used for a data center or property.
	AggregationType pulumi.StringPtrInput
	// Specifies the name of the property that this resource constrains, enter `**` to constrain all properties.
	ConstrainedProperty pulumi.StringPtrInput
	// For Akamai internal use only. You can omit the value or set it to `null`.
	DecayRate pulumi.Float64PtrInput
	// A descriptive note to help you track what the resource constrains.
	Description pulumi.StringPtrInput
	// DNS name for the GTM Domain set that includes this property.
	Domain pulumi.StringPtrInput
	// Optionally specifies the host header used when fetching the load object.
	HostHeader pulumi.StringPtrInput
	// Specifies the text that comes before the `loadObject`.
	LeaderString pulumi.StringPtrInput
	// For internal use only. Unless Akamai indicates otherwise, omit the value or set it to null.
	LeastSquaresDecay       pulumi.Float64PtrInput
	LoadImbalancePercentage pulumi.Float64PtrInput
	// For Akamai internal use only. You can omit the value or set it to `null`.
	MaxUMultiplicativeIncrement pulumi.Float64PtrInput
	// A descriptive label for the GTM resource.
	Name pulumi.StringPtrInput
	// (multiple allowed) Contains information about the resources that constrain the properties within the data center. You can have multiple `resourceInstance` entries. Requires these arguments:
	ResourceInstances GtmResourceResourceInstanceArrayInput
	// Indicates the kind of `loadObject` format used to determine the load on the resource.
	Type pulumi.StringPtrInput
	// An optional sanity check that specifies the maximum allowed value for any component of the load object.
	UpperBound pulumi.IntPtrInput
	// A boolean indicating whether to wait for transaction to complete. Set to `true` by default.
	WaitOnComplete pulumi.BoolPtrInput
}

func (GtmResourceState) ElementType

func (GtmResourceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL