properties

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 CpCode deprecated

type CpCode struct {
	pulumi.CustomResourceState

	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringOutput `pulumi:"contract"`
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringOutput `pulumi:"contractId"`
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringOutput `pulumi:"group"`
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// - (Required) A descriptive label for the CP code. If you're creating a new CP code, the name can't include commas, underscores, quotes, or any of these special characters: ^ # %.
	Name pulumi.StringOutput `pulumi:"name"`
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringOutput `pulumi:"product"`
	ProductId pulumi.StringOutput `pulumi:"productId"`
}

The `CpCode` resource lets you create or reuse content provider (CP) codes. CP codes track web traffic handled by Akamai servers. Akamai gives you a CP code when you purchase a product. You need this code when you activate associated properties.

You can create additional CP codes to support more detailed billing and reporting functions.

By default, the Akamai Provider uses your existing CP code instead of creating a new one.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.NewCpCode(ctx, "cpCode", &akamai.CpCodeArgs{
			ContractId: pulumi.Any(akamai_contract.Contract.Id),
			GroupId:    pulumi.Any(akamai_group.Group.Id),
			ProductId:  pulumi.String("prd_Object_Delivery"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Here's a real-life example that includes other data sources as dependencies:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		groupName := "example group name"
		_ := "My CP Code"
		exampleContract, err := akamai.GetContract(ctx, &GetContractArgs{
			GroupName: pulumi.StringRef(groupName),
		}, nil)
		if err != nil {
			return err
		}
		exampleGroup, err := akamai.GetGroup(ctx, &GetGroupArgs{
			Name:       pulumi.StringRef(groupName),
			ContractId: pulumi.StringRef(exampleContract.Id),
		}, nil)
		if err != nil {
			return err
		}
		_, err = akamai.NewCpCode(ctx, "exampleCp", &akamai.CpCodeArgs{
			GroupId:    pulumi.String(exampleGroup.Id),
			ContractId: pulumi.String(exampleContract.Id),
			ProductId:  pulumi.String("prd_Object_Delivery"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Attributes reference

* `id` - The ID of the CP code.

## Import

Basic Usagehcl resource "akamai_cp_code" "example" {

(resource arguments)

} You can import your Akamai CP codes using a comma-delimited string of the CP code, contract, and group IDs. You have to enter the IDs in this order`cpcode_id,contract_id,group_id` For example

```sh

$ pulumi import akamai:properties/cpCode:CpCode example cpc_123,ctr_1-AB123,grp_123

```

Deprecated: akamai.properties.CpCode has been deprecated in favor of akamai.CpCode

func GetCpCode

func GetCpCode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CpCodeState, opts ...pulumi.ResourceOption) (*CpCode, error)

GetCpCode gets an existing CpCode 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 NewCpCode

func NewCpCode(ctx *pulumi.Context,
	name string, args *CpCodeArgs, opts ...pulumi.ResourceOption) (*CpCode, error)

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

func (*CpCode) ElementType

func (*CpCode) ElementType() reflect.Type

func (*CpCode) ToCpCodeOutput

func (i *CpCode) ToCpCodeOutput() CpCodeOutput

func (*CpCode) ToCpCodeOutputWithContext

func (i *CpCode) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutput

type CpCodeArgs

type CpCodeArgs struct {
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// - (Required) A descriptive label for the CP code. If you're creating a new CP code, the name can't include commas, underscores, quotes, or any of these special characters: ^ # %.
	Name pulumi.StringPtrInput
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringPtrInput
	ProductId pulumi.StringPtrInput
}

The set of arguments for constructing a CpCode resource.

func (CpCodeArgs) ElementType

func (CpCodeArgs) ElementType() reflect.Type

type CpCodeArray

type CpCodeArray []CpCodeInput

func (CpCodeArray) ElementType

func (CpCodeArray) ElementType() reflect.Type

func (CpCodeArray) ToCpCodeArrayOutput

func (i CpCodeArray) ToCpCodeArrayOutput() CpCodeArrayOutput

func (CpCodeArray) ToCpCodeArrayOutputWithContext

func (i CpCodeArray) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput

type CpCodeArrayInput

type CpCodeArrayInput interface {
	pulumi.Input

	ToCpCodeArrayOutput() CpCodeArrayOutput
	ToCpCodeArrayOutputWithContext(context.Context) CpCodeArrayOutput
}

CpCodeArrayInput is an input type that accepts CpCodeArray and CpCodeArrayOutput values. You can construct a concrete instance of `CpCodeArrayInput` via:

CpCodeArray{ CpCodeArgs{...} }

type CpCodeArrayOutput

type CpCodeArrayOutput struct{ *pulumi.OutputState }

func (CpCodeArrayOutput) ElementType

func (CpCodeArrayOutput) ElementType() reflect.Type

func (CpCodeArrayOutput) Index

func (CpCodeArrayOutput) ToCpCodeArrayOutput

func (o CpCodeArrayOutput) ToCpCodeArrayOutput() CpCodeArrayOutput

func (CpCodeArrayOutput) ToCpCodeArrayOutputWithContext

func (o CpCodeArrayOutput) ToCpCodeArrayOutputWithContext(ctx context.Context) CpCodeArrayOutput

type CpCodeInput

type CpCodeInput interface {
	pulumi.Input

	ToCpCodeOutput() CpCodeOutput
	ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutput
}

type CpCodeMap

type CpCodeMap map[string]CpCodeInput

func (CpCodeMap) ElementType

func (CpCodeMap) ElementType() reflect.Type

func (CpCodeMap) ToCpCodeMapOutput

func (i CpCodeMap) ToCpCodeMapOutput() CpCodeMapOutput

func (CpCodeMap) ToCpCodeMapOutputWithContext

func (i CpCodeMap) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput

type CpCodeMapInput

type CpCodeMapInput interface {
	pulumi.Input

	ToCpCodeMapOutput() CpCodeMapOutput
	ToCpCodeMapOutputWithContext(context.Context) CpCodeMapOutput
}

CpCodeMapInput is an input type that accepts CpCodeMap and CpCodeMapOutput values. You can construct a concrete instance of `CpCodeMapInput` via:

CpCodeMap{ "key": CpCodeArgs{...} }

type CpCodeMapOutput

type CpCodeMapOutput struct{ *pulumi.OutputState }

func (CpCodeMapOutput) ElementType

func (CpCodeMapOutput) ElementType() reflect.Type

func (CpCodeMapOutput) MapIndex

func (CpCodeMapOutput) ToCpCodeMapOutput

func (o CpCodeMapOutput) ToCpCodeMapOutput() CpCodeMapOutput

func (CpCodeMapOutput) ToCpCodeMapOutputWithContext

func (o CpCodeMapOutput) ToCpCodeMapOutputWithContext(ctx context.Context) CpCodeMapOutput

type CpCodeOutput

type CpCodeOutput struct{ *pulumi.OutputState }

func (CpCodeOutput) Contract deprecated

func (o CpCodeOutput) Contract() pulumi.StringOutput

Replaced by `contractId`. Maintained for legacy purposes.

Deprecated: The setting "contract" has been deprecated.

func (CpCodeOutput) ContractId

func (o CpCodeOutput) ContractId() pulumi.StringOutput

- (Required) A contract's unique ID, including the `ctr_` prefix.

func (CpCodeOutput) ElementType

func (CpCodeOutput) ElementType() reflect.Type

func (CpCodeOutput) Group deprecated

func (o CpCodeOutput) Group() pulumi.StringOutput

Replaced by `groupId`. Maintained for legacy purposes.

Deprecated: The setting "group" has been deprecated.

func (CpCodeOutput) GroupId

func (o CpCodeOutput) GroupId() pulumi.StringOutput

- (Required) A group's unique ID, including the `grp_` prefix.

func (CpCodeOutput) Name

func (o CpCodeOutput) Name() pulumi.StringOutput

- (Required) A descriptive label for the CP code. If you're creating a new CP code, the name can't include commas, underscores, quotes, or any of these special characters: ^ # %.

func (CpCodeOutput) Product deprecated

func (o CpCodeOutput) Product() pulumi.StringOutput

Replaced by `productId`. Maintained for legacy purposes.

Deprecated: The setting "product" has been deprecated.

func (CpCodeOutput) ProductId

func (o CpCodeOutput) ProductId() pulumi.StringOutput

func (CpCodeOutput) ToCpCodeOutput

func (o CpCodeOutput) ToCpCodeOutput() CpCodeOutput

func (CpCodeOutput) ToCpCodeOutputWithContext

func (o CpCodeOutput) ToCpCodeOutputWithContext(ctx context.Context) CpCodeOutput

type CpCodeState

type CpCodeState struct {
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// - (Required) A descriptive label for the CP code. If you're creating a new CP code, the name can't include commas, underscores, quotes, or any of these special characters: ^ # %.
	Name pulumi.StringPtrInput
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringPtrInput
	ProductId pulumi.StringPtrInput
}

func (CpCodeState) ElementType

func (CpCodeState) ElementType() reflect.Type

type EdgeHostName deprecated

type EdgeHostName struct {
	pulumi.CustomResourceState

	// Required only when creating an Enhanced TLS edge hostname. This argument sets the certificate enrollment ID. Edge hostnames for Enhanced TLS end in `edgekey.net`. You can retrieve this ID from the [Certificate Provisioning Service CLI](https://github.com/akamai/cli-cps) .
	Certificate pulumi.IntPtrOutput `pulumi:"certificate"`
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringOutput `pulumi:"contract"`
	// A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringOutput `pulumi:"contractId"`
	// One or more edge hostnames. The number of edge hostnames must be less than or equal to the number of public hostnames.
	EdgeHostname pulumi.StringOutput `pulumi:"edgeHostname"`
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringOutput `pulumi:"group"`
	// A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// Which version of the IP protocol to use: `IPV4` for version 4 only, `IPV6_PERFORMANCE` for version 6 only, or `IPV6_COMPLIANCE` for both 4 and 6.
	IpBehavior pulumi.StringOutput `pulumi:"ipBehavior"`
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringOutput `pulumi:"product"`
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Email address that should receive updates on the IP behavior update request. Required for update operation.
	StatusUpdateEmails pulumi.StringArrayOutput `pulumi:"statusUpdateEmails"`
	// A JSON encoded list of use cases.
	UseCases pulumi.StringPtrOutput `pulumi:"useCases"`
}

The `EdgeHostName` resource lets you configure a secure edge hostname. Your edge hostname determines how requests for your site, app, or content are mapped to Akamai edge servers.

An edge hostname is the CNAME target you use when directing your end user traffic to Akamai. Each hostname assigned to a property has a corresponding edge hostname.

Akamai supports three types of edge hostnames, depending on the level of security you need for your traffic: Standard TLS, Enhanced TLS, and Shared Certificate. When entering the `edgeHostname` attribute, you need to include a specific domain suffix for your edge hostname type:

| Edge hostname type | Domain suffix | |------|-------| | Enhanced TLS | edgekey.net | | Standard TLS | edgesuite.net | | Shared Cert | akamaized.net |

For example, if you use Standard TLS and have `www.example.com` as a hostname, your edge hostname would be `www.example.com.edgesuite.net`. If you wanted to use Enhanced TLS with the same hostname, your edge hostname would be `www.example.com.edgekey.net`. See [Create a new edge hostname](https://techdocs.akamai.com/property-mgr/reference/post-edgehostnames) in the Property Manager API (PAPI) for more information.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.NewEdgeHostName(ctx, "provider-demo", &akamai.EdgeHostNameArgs{
			ContractId:   pulumi.String("ctr_1-AB123"),
			EdgeHostname: pulumi.String("www.example.org.edgesuite.net"),
			GroupId:      pulumi.String("grp_123"),
			IpBehavior:   pulumi.String("IPV4"),
			ProductId:    pulumi.String("prd_Object_Delivery"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Attributes reference

This resource returns this attribute:

* `ipBehavior` - Returns the IP protocol the hostname will use, either `IPV4` for version 4, IPV6_PERFORMANCE`for version 6, or`IPV6_COMPLIANCE` for both.

## Import

Basic Usagehcl resource "akamai_edge_hostname" "example" {

(resource arguments) } You can import Akamai edge hostnames using a comma-delimited string of edge hostname, contract ID, and group ID. You have to enter the values in this order:

`edge_hostname, contract_id, group_id` For example

```sh

$ pulumi import akamai:properties/edgeHostName:EdgeHostName example ehn_123,ctr_1-AB123,grp_123

```

Deprecated: akamai.properties.EdgeHostName has been deprecated in favor of akamai.EdgeHostName

func GetEdgeHostName

func GetEdgeHostName(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EdgeHostNameState, opts ...pulumi.ResourceOption) (*EdgeHostName, error)

GetEdgeHostName gets an existing EdgeHostName 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 NewEdgeHostName

func NewEdgeHostName(ctx *pulumi.Context,
	name string, args *EdgeHostNameArgs, opts ...pulumi.ResourceOption) (*EdgeHostName, error)

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

func (*EdgeHostName) ElementType

func (*EdgeHostName) ElementType() reflect.Type

func (*EdgeHostName) ToEdgeHostNameOutput

func (i *EdgeHostName) ToEdgeHostNameOutput() EdgeHostNameOutput

func (*EdgeHostName) ToEdgeHostNameOutputWithContext

func (i *EdgeHostName) ToEdgeHostNameOutputWithContext(ctx context.Context) EdgeHostNameOutput

type EdgeHostNameArgs

type EdgeHostNameArgs struct {
	// Required only when creating an Enhanced TLS edge hostname. This argument sets the certificate enrollment ID. Edge hostnames for Enhanced TLS end in `edgekey.net`. You can retrieve this ID from the [Certificate Provisioning Service CLI](https://github.com/akamai/cli-cps) .
	Certificate pulumi.IntPtrInput
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// One or more edge hostnames. The number of edge hostnames must be less than or equal to the number of public hostnames.
	EdgeHostname pulumi.StringInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// Which version of the IP protocol to use: `IPV4` for version 4 only, `IPV6_PERFORMANCE` for version 6 only, or `IPV6_COMPLIANCE` for both 4 and 6.
	IpBehavior pulumi.StringInput
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringPtrInput
	ProductId pulumi.StringPtrInput
	// Email address that should receive updates on the IP behavior update request. Required for update operation.
	StatusUpdateEmails pulumi.StringArrayInput
	// A JSON encoded list of use cases.
	UseCases pulumi.StringPtrInput
}

The set of arguments for constructing a EdgeHostName resource.

func (EdgeHostNameArgs) ElementType

func (EdgeHostNameArgs) ElementType() reflect.Type

type EdgeHostNameArray

type EdgeHostNameArray []EdgeHostNameInput

func (EdgeHostNameArray) ElementType

func (EdgeHostNameArray) ElementType() reflect.Type

func (EdgeHostNameArray) ToEdgeHostNameArrayOutput

func (i EdgeHostNameArray) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput

func (EdgeHostNameArray) ToEdgeHostNameArrayOutputWithContext

func (i EdgeHostNameArray) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput

type EdgeHostNameArrayInput

type EdgeHostNameArrayInput interface {
	pulumi.Input

	ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput
	ToEdgeHostNameArrayOutputWithContext(context.Context) EdgeHostNameArrayOutput
}

EdgeHostNameArrayInput is an input type that accepts EdgeHostNameArray and EdgeHostNameArrayOutput values. You can construct a concrete instance of `EdgeHostNameArrayInput` via:

EdgeHostNameArray{ EdgeHostNameArgs{...} }

type EdgeHostNameArrayOutput

type EdgeHostNameArrayOutput struct{ *pulumi.OutputState }

func (EdgeHostNameArrayOutput) ElementType

func (EdgeHostNameArrayOutput) ElementType() reflect.Type

func (EdgeHostNameArrayOutput) Index

func (EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutput

func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutput() EdgeHostNameArrayOutput

func (EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutputWithContext

func (o EdgeHostNameArrayOutput) ToEdgeHostNameArrayOutputWithContext(ctx context.Context) EdgeHostNameArrayOutput

type EdgeHostNameInput

type EdgeHostNameInput interface {
	pulumi.Input

	ToEdgeHostNameOutput() EdgeHostNameOutput
	ToEdgeHostNameOutputWithContext(ctx context.Context) EdgeHostNameOutput
}

type EdgeHostNameMap

type EdgeHostNameMap map[string]EdgeHostNameInput

func (EdgeHostNameMap) ElementType

func (EdgeHostNameMap) ElementType() reflect.Type

func (EdgeHostNameMap) ToEdgeHostNameMapOutput

func (i EdgeHostNameMap) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput

func (EdgeHostNameMap) ToEdgeHostNameMapOutputWithContext

func (i EdgeHostNameMap) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput

type EdgeHostNameMapInput

type EdgeHostNameMapInput interface {
	pulumi.Input

	ToEdgeHostNameMapOutput() EdgeHostNameMapOutput
	ToEdgeHostNameMapOutputWithContext(context.Context) EdgeHostNameMapOutput
}

EdgeHostNameMapInput is an input type that accepts EdgeHostNameMap and EdgeHostNameMapOutput values. You can construct a concrete instance of `EdgeHostNameMapInput` via:

EdgeHostNameMap{ "key": EdgeHostNameArgs{...} }

type EdgeHostNameMapOutput

type EdgeHostNameMapOutput struct{ *pulumi.OutputState }

func (EdgeHostNameMapOutput) ElementType

func (EdgeHostNameMapOutput) ElementType() reflect.Type

func (EdgeHostNameMapOutput) MapIndex

func (EdgeHostNameMapOutput) ToEdgeHostNameMapOutput

func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutput() EdgeHostNameMapOutput

func (EdgeHostNameMapOutput) ToEdgeHostNameMapOutputWithContext

func (o EdgeHostNameMapOutput) ToEdgeHostNameMapOutputWithContext(ctx context.Context) EdgeHostNameMapOutput

type EdgeHostNameOutput

type EdgeHostNameOutput struct{ *pulumi.OutputState }

func (EdgeHostNameOutput) Certificate

func (o EdgeHostNameOutput) Certificate() pulumi.IntPtrOutput

Required only when creating an Enhanced TLS edge hostname. This argument sets the certificate enrollment ID. Edge hostnames for Enhanced TLS end in `edgekey.net`. You can retrieve this ID from the [Certificate Provisioning Service CLI](https://github.com/akamai/cli-cps) .

func (EdgeHostNameOutput) Contract deprecated

func (o EdgeHostNameOutput) Contract() pulumi.StringOutput

Replaced by `contractId`. Maintained for legacy purposes.

Deprecated: The setting "contract" has been deprecated.

func (EdgeHostNameOutput) ContractId

func (o EdgeHostNameOutput) ContractId() pulumi.StringOutput

A contract's unique ID, including the `ctr_` prefix.

func (EdgeHostNameOutput) EdgeHostname

func (o EdgeHostNameOutput) EdgeHostname() pulumi.StringOutput

One or more edge hostnames. The number of edge hostnames must be less than or equal to the number of public hostnames.

func (EdgeHostNameOutput) ElementType

func (EdgeHostNameOutput) ElementType() reflect.Type

func (EdgeHostNameOutput) Group deprecated

Replaced by `groupId`. Maintained for legacy purposes.

Deprecated: The setting "group" has been deprecated.

func (EdgeHostNameOutput) GroupId

A group's unique ID, including the `grp_` prefix.

func (EdgeHostNameOutput) IpBehavior

func (o EdgeHostNameOutput) IpBehavior() pulumi.StringOutput

Which version of the IP protocol to use: `IPV4` for version 4 only, `IPV6_PERFORMANCE` for version 6 only, or `IPV6_COMPLIANCE` for both 4 and 6.

func (EdgeHostNameOutput) Product deprecated

Replaced by `productId`. Maintained for legacy purposes.

Deprecated: The setting "product" has been deprecated.

func (EdgeHostNameOutput) ProductId

func (o EdgeHostNameOutput) ProductId() pulumi.StringOutput

func (EdgeHostNameOutput) StatusUpdateEmails

func (o EdgeHostNameOutput) StatusUpdateEmails() pulumi.StringArrayOutput

Email address that should receive updates on the IP behavior update request. Required for update operation.

func (EdgeHostNameOutput) ToEdgeHostNameOutput

func (o EdgeHostNameOutput) ToEdgeHostNameOutput() EdgeHostNameOutput

func (EdgeHostNameOutput) ToEdgeHostNameOutputWithContext

func (o EdgeHostNameOutput) ToEdgeHostNameOutputWithContext(ctx context.Context) EdgeHostNameOutput

func (EdgeHostNameOutput) UseCases

A JSON encoded list of use cases.

type EdgeHostNameState

type EdgeHostNameState struct {
	// Required only when creating an Enhanced TLS edge hostname. This argument sets the certificate enrollment ID. Edge hostnames for Enhanced TLS end in `edgekey.net`. You can retrieve this ID from the [Certificate Provisioning Service CLI](https://github.com/akamai/cli-cps) .
	Certificate pulumi.IntPtrInput
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// One or more edge hostnames. The number of edge hostnames must be less than or equal to the number of public hostnames.
	EdgeHostname pulumi.StringPtrInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// Which version of the IP protocol to use: `IPV4` for version 4 only, `IPV6_PERFORMANCE` for version 6 only, or `IPV6_COMPLIANCE` for both 4 and 6.
	IpBehavior pulumi.StringPtrInput
	// Replaced by `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product   pulumi.StringPtrInput
	ProductId pulumi.StringPtrInput
	// Email address that should receive updates on the IP behavior update request. Required for update operation.
	StatusUpdateEmails pulumi.StringArrayInput
	// A JSON encoded list of use cases.
	UseCases pulumi.StringPtrInput
}

func (EdgeHostNameState) ElementType

func (EdgeHostNameState) ElementType() reflect.Type

type GetPropertyRulesArgs

type GetPropertyRulesArgs struct {
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId *string `pulumi:"contractId"`
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId *string `pulumi:"groupId"`
	// - (Required) A property's unique ID, including the `prp_` prefix.
	PropertyId string  `pulumi:"propertyId"`
	RuleFormat *string `pulumi:"ruleFormat"`
	// - (Optional) The version to return. Returns the latest version by default.
	Version *int `pulumi:"version"`
}

A collection of arguments for invoking getPropertyRules.

type GetPropertyRulesOutputArgs

type GetPropertyRulesOutputArgs struct {
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput `pulumi:"contractId"`
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// - (Required) A property's unique ID, including the `prp_` prefix.
	PropertyId pulumi.StringInput    `pulumi:"propertyId"`
	RuleFormat pulumi.StringPtrInput `pulumi:"ruleFormat"`
	// - (Optional) The version to return. Returns the latest version by default.
	Version pulumi.IntPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getPropertyRules.

func (GetPropertyRulesOutputArgs) ElementType

func (GetPropertyRulesOutputArgs) ElementType() reflect.Type

type GetPropertyRulesResult

type GetPropertyRulesResult struct {
	ContractId string `pulumi:"contractId"`
	Errors     string `pulumi:"errors"`
	GroupId    string `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	PropertyId string  `pulumi:"propertyId"`
	RuleFormat *string `pulumi:"ruleFormat"`
	Rules      string  `pulumi:"rules"`
	Version    int     `pulumi:"version"`
}

A collection of values returned by getPropertyRules.

func GetPropertyRules deprecated

func GetPropertyRules(ctx *pulumi.Context, args *GetPropertyRulesArgs, opts ...pulumi.InvokeOption) (*GetPropertyRulesResult, error)

Use the `getPropertyRules` data source to query and retrieve the rule tree of an existing property version. This data source lets you search across the contracts and groups you have access to.

## Basic usage

This example returns the rule tree for version 3 of a property based on the selected contract and group:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		my_example, err := akamai.GetPropertyRules(ctx, &GetPropertyRulesArgs{
			PropertyId: "prp_123",
			GroupId:    pulumi.StringRef("grp_12345"),
			ContractId: pulumi.StringRef("ctr_1-AB123"),
			Version:    pulumi.IntRef(3),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("propertyMatch", my_example)
		return nil
	})
}

```

## Attributes reference

This data source returns these attributes:

* `ruleFormat` - The rule tree version used. Property rule objects are versioned infrequently, and are known as rule formats. See [Rule format schemas](https://techdocs.akamai.com/property-mgr/reference/rule-format-schemas) to learn more. * `rules` - A JSON-encoded rule tree for the property. * `errors` - A list of validation errors for the rule tree object returned. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the Property Manager API documentation.

Deprecated: akamai.properties.getPropertyRules has been deprecated in favor of akamai.getPropertyRules

type GetPropertyRulesResultOutput

type GetPropertyRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPropertyRules.

func (GetPropertyRulesResultOutput) ContractId

func (GetPropertyRulesResultOutput) ElementType

func (GetPropertyRulesResultOutput) Errors

func (GetPropertyRulesResultOutput) GroupId

func (GetPropertyRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPropertyRulesResultOutput) PropertyId

func (GetPropertyRulesResultOutput) RuleFormat

func (GetPropertyRulesResultOutput) Rules

func (GetPropertyRulesResultOutput) ToGetPropertyRulesResultOutput

func (o GetPropertyRulesResultOutput) ToGetPropertyRulesResultOutput() GetPropertyRulesResultOutput

func (GetPropertyRulesResultOutput) ToGetPropertyRulesResultOutputWithContext

func (o GetPropertyRulesResultOutput) ToGetPropertyRulesResultOutputWithContext(ctx context.Context) GetPropertyRulesResultOutput

func (GetPropertyRulesResultOutput) Version

type LookupCpCodeArgs

type LookupCpCodeArgs struct {
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract *string `pulumi:"contract"`
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId *string `pulumi:"contractId"`
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group *string `pulumi:"group"`
	// The group's unique ID, including the `grp_` prefix.
	GroupId *string `pulumi:"groupId"`
	// The name of the CP code.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getCpCode.

type LookupCpCodeOutputArgs

type LookupCpCodeOutputArgs struct {
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput `pulumi:"contract"`
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput `pulumi:"contractId"`
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput `pulumi:"group"`
	// The group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// The name of the CP code.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getCpCode.

func (LookupCpCodeOutputArgs) ElementType

func (LookupCpCodeOutputArgs) ElementType() reflect.Type

type LookupCpCodeResult

type LookupCpCodeResult struct {
	// Deprecated: The setting "contract" has been deprecated.
	Contract   string `pulumi:"contract"`
	ContractId string `pulumi:"contractId"`
	// Deprecated: The setting "group" has been deprecated.
	Group   string `pulumi:"group"`
	GroupId string `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Name       string   `pulumi:"name"`
	ProductIds []string `pulumi:"productIds"`
}

A collection of values returned by getCpCode.

func LookupCpCode deprecated

func LookupCpCode(ctx *pulumi.Context, args *LookupCpCodeArgs, opts ...pulumi.InvokeOption) (*LookupCpCodeResult, error)

Deprecated: akamai.properties.getCpCode has been deprecated in favor of akamai.getCpCode

type LookupCpCodeResultOutput

type LookupCpCodeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCpCode.

func (LookupCpCodeResultOutput) Contract deprecated

Deprecated: The setting "contract" has been deprecated.

func (LookupCpCodeResultOutput) ContractId

func (LookupCpCodeResultOutput) ElementType

func (LookupCpCodeResultOutput) ElementType() reflect.Type

func (LookupCpCodeResultOutput) Group deprecated

Deprecated: The setting "group" has been deprecated.

func (LookupCpCodeResultOutput) GroupId

func (LookupCpCodeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCpCodeResultOutput) Name

func (LookupCpCodeResultOutput) ProductIds

func (LookupCpCodeResultOutput) ToLookupCpCodeResultOutput

func (o LookupCpCodeResultOutput) ToLookupCpCodeResultOutput() LookupCpCodeResultOutput

func (LookupCpCodeResultOutput) ToLookupCpCodeResultOutputWithContext

func (o LookupCpCodeResultOutput) ToLookupCpCodeResultOutputWithContext(ctx context.Context) LookupCpCodeResultOutput

type LookupPropertyArgs

type LookupPropertyArgs struct {
	// - (Required) The property name.
	Name string `pulumi:"name"`
	// - (Optional) The version of the property whose ID you want to list.
	Version *int `pulumi:"version"`
}

A collection of arguments for invoking getProperty.

type LookupPropertyOutputArgs

type LookupPropertyOutputArgs struct {
	// - (Required) The property name.
	Name pulumi.StringInput `pulumi:"name"`
	// - (Optional) The version of the property whose ID you want to list.
	Version pulumi.IntPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getProperty.

func (LookupPropertyOutputArgs) ElementType

func (LookupPropertyOutputArgs) ElementType() reflect.Type

type LookupPropertyResult

type LookupPropertyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Name    string `pulumi:"name"`
	Rules   string `pulumi:"rules"`
	Version *int   `pulumi:"version"`
}

A collection of values returned by getProperty.

func LookupProperty deprecated

func LookupProperty(ctx *pulumi.Context, args *LookupPropertyArgs, opts ...pulumi.InvokeOption) (*LookupPropertyResult, error)

Use the `Property` data source to query and list the property ID and rule tree based on the property name.

## Example Usage

This example returns the property ID and rule tree based on the property name and optional version argument:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := akamai.LookupProperty(ctx, &GetPropertyArgs{
			Name:    "terraform-demo",
			Version: pulumi.IntRef(1),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("myPropertyID", example)
		return nil
	})
}

``` ## Attributes reference

This data source returns these attributes:

* `property_ID` - A property's unique identifier, including the `prp_` prefix. * `rules` - A JSON-encoded rule tree for a given property.

Deprecated: akamai.properties.getProperty has been deprecated in favor of akamai.getProperty

type LookupPropertyResultOutput

type LookupPropertyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProperty.

func (LookupPropertyResultOutput) ElementType

func (LookupPropertyResultOutput) ElementType() reflect.Type

func (LookupPropertyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPropertyResultOutput) Name

func (LookupPropertyResultOutput) Rules

func (LookupPropertyResultOutput) ToLookupPropertyResultOutput

func (o LookupPropertyResultOutput) ToLookupPropertyResultOutput() LookupPropertyResultOutput

func (LookupPropertyResultOutput) ToLookupPropertyResultOutputWithContext

func (o LookupPropertyResultOutput) ToLookupPropertyResultOutputWithContext(ctx context.Context) LookupPropertyResultOutput

func (LookupPropertyResultOutput) Version

type Property deprecated

type Property struct {
	pulumi.CustomResourceState

	// Deprecated: The setting "contact" has been deprecated.
	Contacts pulumi.StringArrayOutput `pulumi:"contacts"`
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringOutput `pulumi:"contract"`
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringOutput `pulumi:"contractId"`
	// Deprecated: The setting "cp_code" has been deprecated.
	CpCode pulumi.StringPtrOutput `pulumi:"cpCode"`
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringOutput `pulumi:"group"`
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// A mapping of public hostnames to edge hostnames. See the `getPropertyHostnames` data source for details on the necessary DNS configuration.
	Hostnames PropertyHostnameArrayOutput `pulumi:"hostnames"`
	// Deprecated: The setting "is_secure" has been deprecated.
	IsSecure pulumi.BoolPtrOutput `pulumi:"isSecure"`
	// The version of the property you've created or updated rules for. The Akamai Provider always uses the latest version or creates a new version if latest is not editable.
	LatestVersion pulumi.IntOutput `pulumi:"latestVersion"`
	// The property name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated: The setting "origin" has been deprecated.
	Origins PropertyOriginArrayOutput `pulumi:"origins"`
	// Optional argument replaced by the now required `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product pulumi.StringOutput `pulumi:"product"`
	// Product ID to be assigned to the Property
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// The current version of the property active on the Akamai production network.
	ProductionVersion pulumi.IntOutput `pulumi:"productionVersion"`
	// Required property's version to be read
	ReadVersion pulumi.IntOutput `pulumi:"readVersion"`
	// The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	RuleErrors PropertyRuleErrorArrayOutput `pulumi:"ruleErrors"`
	// The [rule format](https://techdocs.akamai.com/property-mgr/reference/get-rule-formats) to use. Uses the latest rule format by default.
	RuleFormat pulumi.StringOutput `pulumi:"ruleFormat"`
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyRuleWarningArrayOutput `pulumi:"ruleWarnings"`
	// A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `getPropertyRules` data source.
	Rules pulumi.StringOutput `pulumi:"rules"`
	// The current version of the property active on the Akamai staging network.
	StagingVersion pulumi.IntOutput `pulumi:"stagingVersion"`
	// Deprecated: The setting "variables" has been deprecated.
	Variables pulumi.StringPtrOutput `pulumi:"variables"`
}

The `Property` resource represents an Akamai property configuration. This resource lets you to create, update, and activate properties on the Akamai platform.

Akamai's edge network caches your web assets near to servers that request them. A property provides the main way to control how edge servers respond to various kinds of requests for those assets. Properties apply rules to a set of hostnames, and you can only apply one property at a time to any given hostname. Each property is assigned to a product, which determines which behaviors you can use. Each property's default rule needs a valid content provider (CP) code assigned to bill and report for the service.

> **Note** In version 0.10 and earlier of this resource, it also controlled content provider (CP) codes, origin settings, rules, and hostname associations. Starting with version 1.0.0, this logic is broken out into individual resources.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.NewProperty(ctx, "example", &akamai.PropertyArgs{
			ProductId:  pulumi.String("prd_SPM"),
			ContractId: pulumi.Any(_var.Contractid),
			GroupId:    pulumi.Any(_var.Groupid),
			Hostnames: PropertyHostnameArray{
				&PropertyHostnameArgs{
					CnameFrom:            pulumi.String("example.com"),
					CnameTo:              pulumi.String("example.com.edgekey.net"),
					CertProvisioningType: pulumi.String("DEFAULT"),
				},
				&PropertyHostnameArgs{
					CnameFrom:            pulumi.String("www.example.com"),
					CnameTo:              pulumi.String("example.com.edgesuite.net"),
					CertProvisioningType: pulumi.String("CPS_MANAGED"),
				},
			},
			RuleFormat: pulumi.String("v2020-03-04"),
			Rules:      pulumi.Any(data.Akamai_property_rules_template.Example.Json),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Basic Usagehcl resource "akamai_property" "example" {

(resource arguments)

} You can import the latest Akamai property version by using either the `property_id` or a comma-delimited string of the property, contract, and group IDs. You'll need to enter the string of IDs if the property belongs to multiple groups or contracts. If using the string of IDs, you need to enter them in this order`property_id,contract_id,group_id` To import a specific property version, pass additional parameters, either* `LATEST` to import the latest version of the property, regardless of whether it's active or not. This works the same as providing just the `property_id` or a string of the property, contract, and group IDs, which is the default behavior. * `PRODUCTION`, `PROD`, or `P` to import the latest version activated on the production environment. * `STAGING`, `STAGE`, `STAG`, or `S` to import the latest version activated on the staging environment. * Version number or version number with the `ver_` prefix to import a specific property version. For example `3` and `ver_3` correspond to the same version number. Here are some examples for the latest property version

```sh

$ pulumi import akamai:properties/property:Property example prp_123

```

Or

```sh

$ pulumi import akamai:properties/property:Property example prp_123,ctr_1-AB123,grp_123

```

Here are some examples for the latest active property version on the production network

```sh

$ pulumi import akamai:properties/property:Property example prp_123,P

```

Or

```sh

$ pulumi import akamai:properties/property:Property example prp_123,ctr_1-AB123,grp_123,PROD

```

Here are some examples for the specific property version

```sh

$ pulumi import akamai:properties/property:Property example prp_123,3

```

Or

```sh

$ pulumi import akamai:properties/property:Property example prp_123,ctr_1-AB123,grp_123,ver_3

```

Deprecated: akamai.properties.Property has been deprecated in favor of akamai.Property

func GetProperty

func GetProperty(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PropertyState, opts ...pulumi.ResourceOption) (*Property, error)

GetProperty gets an existing Property 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 NewProperty

func NewProperty(ctx *pulumi.Context,
	name string, args *PropertyArgs, opts ...pulumi.ResourceOption) (*Property, error)

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

func (*Property) ElementType

func (*Property) ElementType() reflect.Type

func (*Property) ToPropertyOutput

func (i *Property) ToPropertyOutput() PropertyOutput

func (*Property) ToPropertyOutputWithContext

func (i *Property) ToPropertyOutputWithContext(ctx context.Context) PropertyOutput

type PropertyActivation deprecated

type PropertyActivation struct {
	pulumi.CustomResourceState

	// The ID given to the activation event while it's in progress.
	ActivationId pulumi.StringOutput `pulumi:"activationId"`
	// Whether the activation should proceed despite any warnings. By default set to `true`.
	AutoAcknowledgeRuleWarnings pulumi.BoolPtrOutput `pulumi:"autoAcknowledgeRuleWarnings"`
	// One or more email addresses to send activation status changes to.
	Contacts pulumi.StringArrayOutput `pulumi:"contacts"`
	// The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	Errors pulumi.StringOutput `pulumi:"errors"`
	// Akamai network to activate on, either `STAGING` or `PRODUCTION`. `STAGING` is the default.
	Network pulumi.StringPtrOutput `pulumi:"network"`
	// A log message you can assign to the activation request.
	Note pulumi.StringPtrOutput `pulumi:"note"`
	// - (Deprecated) Replaced by `propertyId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "property" has been deprecated.
	Property pulumi.StringOutput `pulumi:"property"`
	// - (Required) The property's unique identifier, including the `prp_` prefix.
	PropertyId pulumi.StringOutput                    `pulumi:"propertyId"`
	RuleErrors PropertyActivationRuleErrorArrayOutput `pulumi:"ruleErrors"`
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyActivationRuleWarningArrayOutput `pulumi:"ruleWarnings"`
	// The property version's activation status on the selected network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The property version to activate. Previously this field was optional. It now depends on the `Property` resource to identify latest instead of calculating it locally.  This association helps keep the dependency tree properly aligned. To always use the latest version, enter this value `{resource}.{resource identifier}.{field name}`. Using the example code above, the entry would be `akamai_property.example.latest_version` since we want the value of the `latestVersion` attribute in the `Property` resource labeled `example`.
	Version pulumi.IntOutput `pulumi:"version"`
	// The contents of `warnings` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	Warnings pulumi.StringOutput `pulumi:"warnings"`
}

The `PropertyActivation` resource lets you activate a property version. An activation deploys the version to either the Akamai staging or production network. You can activate a specific version multiple times if you need to.

Before activating on production, activate on staging first. This way you can detect any problems in staging before your changes progress to production.

## Example Usage

Basic usage:

```go package main

import (

"fmt"
"io/ioutil"

"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := ioutil.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		email := "user@example.org"
		ruleFormat := "v2020-03-04"
		example, err := akamai.NewProperty(ctx, "example", &akamai.PropertyArgs{
			ProductId:  pulumi.String("prd_SPM"),
			ContractId: pulumi.Any(_var.Contractid),
			GroupId:    pulumi.Any(_var.Groupid),
			Hostnames: PropertyHostnameArray{
				Example.org:     "example.org.edgesuite.net",
				Www.example.org: "example.org.edgesuite.net",
				Sub.example.org: "sub.example.org.edgesuite.net",
			},
			RuleFormat: pulumi.String(ruleFormat),
			Rules:      readFileOrPanic(fmt.Sprintf("%v/main.json", path.Module)),
		})
		if err != nil {
			return err
		}
		exampleStaging, err := akamai.NewPropertyActivation(ctx, "exampleStaging", &akamai.PropertyActivationArgs{
			PropertyId: example.ID(),
			Contacts: pulumi.StringArray{
				pulumi.String(email),
			},
			Version: example.LatestVersion,
			Note:    pulumi.String("Sample activation"),
		})
		if err != nil {
			return err
		}
		_, err = akamai.NewPropertyActivation(ctx, "exampleProd", &akamai.PropertyActivationArgs{
			PropertyId: example.ID(),
			Network:    pulumi.String("PRODUCTION"),
			Version:    pulumi.Int(3),
			Contacts: pulumi.StringArray{
				pulumi.String(email),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleStaging,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: akamai.properties.PropertyActivation has been deprecated in favor of akamai.PropertyActivation

func GetPropertyActivation

func GetPropertyActivation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PropertyActivationState, opts ...pulumi.ResourceOption) (*PropertyActivation, error)

GetPropertyActivation gets an existing PropertyActivation 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 NewPropertyActivation

func NewPropertyActivation(ctx *pulumi.Context,
	name string, args *PropertyActivationArgs, opts ...pulumi.ResourceOption) (*PropertyActivation, error)

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

func (*PropertyActivation) ElementType

func (*PropertyActivation) ElementType() reflect.Type

func (*PropertyActivation) ToPropertyActivationOutput

func (i *PropertyActivation) ToPropertyActivationOutput() PropertyActivationOutput

func (*PropertyActivation) ToPropertyActivationOutputWithContext

func (i *PropertyActivation) ToPropertyActivationOutputWithContext(ctx context.Context) PropertyActivationOutput

type PropertyActivationArgs

type PropertyActivationArgs struct {
	// The ID given to the activation event while it's in progress.
	ActivationId pulumi.StringPtrInput
	// Whether the activation should proceed despite any warnings. By default set to `true`.
	AutoAcknowledgeRuleWarnings pulumi.BoolPtrInput
	// One or more email addresses to send activation status changes to.
	Contacts pulumi.StringArrayInput
	// Akamai network to activate on, either `STAGING` or `PRODUCTION`. `STAGING` is the default.
	Network pulumi.StringPtrInput
	// A log message you can assign to the activation request.
	Note pulumi.StringPtrInput
	// - (Deprecated) Replaced by `propertyId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "property" has been deprecated.
	Property pulumi.StringPtrInput
	// - (Required) The property's unique identifier, including the `prp_` prefix.
	PropertyId pulumi.StringPtrInput
	RuleErrors PropertyActivationRuleErrorArrayInput
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyActivationRuleWarningArrayInput
	// The property version to activate. Previously this field was optional. It now depends on the `Property` resource to identify latest instead of calculating it locally.  This association helps keep the dependency tree properly aligned. To always use the latest version, enter this value `{resource}.{resource identifier}.{field name}`. Using the example code above, the entry would be `akamai_property.example.latest_version` since we want the value of the `latestVersion` attribute in the `Property` resource labeled `example`.
	Version pulumi.IntInput
}

The set of arguments for constructing a PropertyActivation resource.

func (PropertyActivationArgs) ElementType

func (PropertyActivationArgs) ElementType() reflect.Type

type PropertyActivationArray

type PropertyActivationArray []PropertyActivationInput

func (PropertyActivationArray) ElementType

func (PropertyActivationArray) ElementType() reflect.Type

func (PropertyActivationArray) ToPropertyActivationArrayOutput

func (i PropertyActivationArray) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput

func (PropertyActivationArray) ToPropertyActivationArrayOutputWithContext

func (i PropertyActivationArray) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput

type PropertyActivationArrayInput

type PropertyActivationArrayInput interface {
	pulumi.Input

	ToPropertyActivationArrayOutput() PropertyActivationArrayOutput
	ToPropertyActivationArrayOutputWithContext(context.Context) PropertyActivationArrayOutput
}

PropertyActivationArrayInput is an input type that accepts PropertyActivationArray and PropertyActivationArrayOutput values. You can construct a concrete instance of `PropertyActivationArrayInput` via:

PropertyActivationArray{ PropertyActivationArgs{...} }

type PropertyActivationArrayOutput

type PropertyActivationArrayOutput struct{ *pulumi.OutputState }

func (PropertyActivationArrayOutput) ElementType

func (PropertyActivationArrayOutput) Index

func (PropertyActivationArrayOutput) ToPropertyActivationArrayOutput

func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutput() PropertyActivationArrayOutput

func (PropertyActivationArrayOutput) ToPropertyActivationArrayOutputWithContext

func (o PropertyActivationArrayOutput) ToPropertyActivationArrayOutputWithContext(ctx context.Context) PropertyActivationArrayOutput

type PropertyActivationInput

type PropertyActivationInput interface {
	pulumi.Input

	ToPropertyActivationOutput() PropertyActivationOutput
	ToPropertyActivationOutputWithContext(ctx context.Context) PropertyActivationOutput
}

type PropertyActivationMap

type PropertyActivationMap map[string]PropertyActivationInput

func (PropertyActivationMap) ElementType

func (PropertyActivationMap) ElementType() reflect.Type

func (PropertyActivationMap) ToPropertyActivationMapOutput

func (i PropertyActivationMap) ToPropertyActivationMapOutput() PropertyActivationMapOutput

func (PropertyActivationMap) ToPropertyActivationMapOutputWithContext

func (i PropertyActivationMap) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput

type PropertyActivationMapInput

type PropertyActivationMapInput interface {
	pulumi.Input

	ToPropertyActivationMapOutput() PropertyActivationMapOutput
	ToPropertyActivationMapOutputWithContext(context.Context) PropertyActivationMapOutput
}

PropertyActivationMapInput is an input type that accepts PropertyActivationMap and PropertyActivationMapOutput values. You can construct a concrete instance of `PropertyActivationMapInput` via:

PropertyActivationMap{ "key": PropertyActivationArgs{...} }

type PropertyActivationMapOutput

type PropertyActivationMapOutput struct{ *pulumi.OutputState }

func (PropertyActivationMapOutput) ElementType

func (PropertyActivationMapOutput) MapIndex

func (PropertyActivationMapOutput) ToPropertyActivationMapOutput

func (o PropertyActivationMapOutput) ToPropertyActivationMapOutput() PropertyActivationMapOutput

func (PropertyActivationMapOutput) ToPropertyActivationMapOutputWithContext

func (o PropertyActivationMapOutput) ToPropertyActivationMapOutputWithContext(ctx context.Context) PropertyActivationMapOutput

type PropertyActivationOutput

type PropertyActivationOutput struct{ *pulumi.OutputState }

func (PropertyActivationOutput) ActivationId

func (o PropertyActivationOutput) ActivationId() pulumi.StringOutput

The ID given to the activation event while it's in progress.

func (PropertyActivationOutput) AutoAcknowledgeRuleWarnings

func (o PropertyActivationOutput) AutoAcknowledgeRuleWarnings() pulumi.BoolPtrOutput

Whether the activation should proceed despite any warnings. By default set to `true`.

func (PropertyActivationOutput) Contacts

One or more email addresses to send activation status changes to.

func (PropertyActivationOutput) ElementType

func (PropertyActivationOutput) ElementType() reflect.Type

func (PropertyActivationOutput) Errors

The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.

func (PropertyActivationOutput) Network

Akamai network to activate on, either `STAGING` or `PRODUCTION`. `STAGING` is the default.

func (PropertyActivationOutput) Note

A log message you can assign to the activation request.

func (PropertyActivationOutput) Property deprecated

- (Deprecated) Replaced by `propertyId`. Maintained for legacy purposes.

Deprecated: The setting "property" has been deprecated.

func (PropertyActivationOutput) PropertyId

- (Required) The property's unique identifier, including the `prp_` prefix.

func (PropertyActivationOutput) RuleErrors

func (PropertyActivationOutput) RuleWarnings deprecated

Deprecated: Rule warnings will not be set in state anymore

func (PropertyActivationOutput) Status

The property version's activation status on the selected network.

func (PropertyActivationOutput) ToPropertyActivationOutput

func (o PropertyActivationOutput) ToPropertyActivationOutput() PropertyActivationOutput

func (PropertyActivationOutput) ToPropertyActivationOutputWithContext

func (o PropertyActivationOutput) ToPropertyActivationOutputWithContext(ctx context.Context) PropertyActivationOutput

func (PropertyActivationOutput) Version

The property version to activate. Previously this field was optional. It now depends on the `Property` resource to identify latest instead of calculating it locally. This association helps keep the dependency tree properly aligned. To always use the latest version, enter this value `{resource}.{resource identifier}.{field name}`. Using the example code above, the entry would be `akamai_property.example.latest_version` since we want the value of the `latestVersion` attribute in the `Property` resource labeled `example`.

func (PropertyActivationOutput) Warnings

The contents of `warnings` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.

type PropertyActivationRuleError

type PropertyActivationRuleError struct {
	BehaviorName  *string `pulumi:"behaviorName"`
	Detail        *string `pulumi:"detail"`
	ErrorLocation *string `pulumi:"errorLocation"`
	Instance      *string `pulumi:"instance"`
	StatusCode    *int    `pulumi:"statusCode"`
	Title         *string `pulumi:"title"`
	Type          *string `pulumi:"type"`
}

type PropertyActivationRuleErrorArgs

type PropertyActivationRuleErrorArgs struct {
	BehaviorName  pulumi.StringPtrInput `pulumi:"behaviorName"`
	Detail        pulumi.StringPtrInput `pulumi:"detail"`
	ErrorLocation pulumi.StringPtrInput `pulumi:"errorLocation"`
	Instance      pulumi.StringPtrInput `pulumi:"instance"`
	StatusCode    pulumi.IntPtrInput    `pulumi:"statusCode"`
	Title         pulumi.StringPtrInput `pulumi:"title"`
	Type          pulumi.StringPtrInput `pulumi:"type"`
}

func (PropertyActivationRuleErrorArgs) ElementType

func (PropertyActivationRuleErrorArgs) ToPropertyActivationRuleErrorOutput

func (i PropertyActivationRuleErrorArgs) ToPropertyActivationRuleErrorOutput() PropertyActivationRuleErrorOutput

func (PropertyActivationRuleErrorArgs) ToPropertyActivationRuleErrorOutputWithContext

func (i PropertyActivationRuleErrorArgs) ToPropertyActivationRuleErrorOutputWithContext(ctx context.Context) PropertyActivationRuleErrorOutput

type PropertyActivationRuleErrorArray

type PropertyActivationRuleErrorArray []PropertyActivationRuleErrorInput

func (PropertyActivationRuleErrorArray) ElementType

func (PropertyActivationRuleErrorArray) ToPropertyActivationRuleErrorArrayOutput

func (i PropertyActivationRuleErrorArray) ToPropertyActivationRuleErrorArrayOutput() PropertyActivationRuleErrorArrayOutput

func (PropertyActivationRuleErrorArray) ToPropertyActivationRuleErrorArrayOutputWithContext

func (i PropertyActivationRuleErrorArray) ToPropertyActivationRuleErrorArrayOutputWithContext(ctx context.Context) PropertyActivationRuleErrorArrayOutput

type PropertyActivationRuleErrorArrayInput

type PropertyActivationRuleErrorArrayInput interface {
	pulumi.Input

	ToPropertyActivationRuleErrorArrayOutput() PropertyActivationRuleErrorArrayOutput
	ToPropertyActivationRuleErrorArrayOutputWithContext(context.Context) PropertyActivationRuleErrorArrayOutput
}

PropertyActivationRuleErrorArrayInput is an input type that accepts PropertyActivationRuleErrorArray and PropertyActivationRuleErrorArrayOutput values. You can construct a concrete instance of `PropertyActivationRuleErrorArrayInput` via:

PropertyActivationRuleErrorArray{ PropertyActivationRuleErrorArgs{...} }

type PropertyActivationRuleErrorArrayOutput

type PropertyActivationRuleErrorArrayOutput struct{ *pulumi.OutputState }

func (PropertyActivationRuleErrorArrayOutput) ElementType

func (PropertyActivationRuleErrorArrayOutput) Index

func (PropertyActivationRuleErrorArrayOutput) ToPropertyActivationRuleErrorArrayOutput

func (o PropertyActivationRuleErrorArrayOutput) ToPropertyActivationRuleErrorArrayOutput() PropertyActivationRuleErrorArrayOutput

func (PropertyActivationRuleErrorArrayOutput) ToPropertyActivationRuleErrorArrayOutputWithContext

func (o PropertyActivationRuleErrorArrayOutput) ToPropertyActivationRuleErrorArrayOutputWithContext(ctx context.Context) PropertyActivationRuleErrorArrayOutput

type PropertyActivationRuleErrorInput

type PropertyActivationRuleErrorInput interface {
	pulumi.Input

	ToPropertyActivationRuleErrorOutput() PropertyActivationRuleErrorOutput
	ToPropertyActivationRuleErrorOutputWithContext(context.Context) PropertyActivationRuleErrorOutput
}

PropertyActivationRuleErrorInput is an input type that accepts PropertyActivationRuleErrorArgs and PropertyActivationRuleErrorOutput values. You can construct a concrete instance of `PropertyActivationRuleErrorInput` via:

PropertyActivationRuleErrorArgs{...}

type PropertyActivationRuleErrorOutput

type PropertyActivationRuleErrorOutput struct{ *pulumi.OutputState }

func (PropertyActivationRuleErrorOutput) BehaviorName

func (PropertyActivationRuleErrorOutput) Detail

func (PropertyActivationRuleErrorOutput) ElementType

func (PropertyActivationRuleErrorOutput) ErrorLocation

func (PropertyActivationRuleErrorOutput) Instance

func (PropertyActivationRuleErrorOutput) StatusCode

func (PropertyActivationRuleErrorOutput) Title

func (PropertyActivationRuleErrorOutput) ToPropertyActivationRuleErrorOutput

func (o PropertyActivationRuleErrorOutput) ToPropertyActivationRuleErrorOutput() PropertyActivationRuleErrorOutput

func (PropertyActivationRuleErrorOutput) ToPropertyActivationRuleErrorOutputWithContext

func (o PropertyActivationRuleErrorOutput) ToPropertyActivationRuleErrorOutputWithContext(ctx context.Context) PropertyActivationRuleErrorOutput

func (PropertyActivationRuleErrorOutput) Type

type PropertyActivationRuleWarning

type PropertyActivationRuleWarning struct {
	BehaviorName  *string `pulumi:"behaviorName"`
	Detail        *string `pulumi:"detail"`
	ErrorLocation *string `pulumi:"errorLocation"`
	Instance      *string `pulumi:"instance"`
	StatusCode    *int    `pulumi:"statusCode"`
	Title         *string `pulumi:"title"`
	Type          *string `pulumi:"type"`
}

type PropertyActivationRuleWarningArgs

type PropertyActivationRuleWarningArgs struct {
	BehaviorName  pulumi.StringPtrInput `pulumi:"behaviorName"`
	Detail        pulumi.StringPtrInput `pulumi:"detail"`
	ErrorLocation pulumi.StringPtrInput `pulumi:"errorLocation"`
	Instance      pulumi.StringPtrInput `pulumi:"instance"`
	StatusCode    pulumi.IntPtrInput    `pulumi:"statusCode"`
	Title         pulumi.StringPtrInput `pulumi:"title"`
	Type          pulumi.StringPtrInput `pulumi:"type"`
}

func (PropertyActivationRuleWarningArgs) ElementType

func (PropertyActivationRuleWarningArgs) ToPropertyActivationRuleWarningOutput

func (i PropertyActivationRuleWarningArgs) ToPropertyActivationRuleWarningOutput() PropertyActivationRuleWarningOutput

func (PropertyActivationRuleWarningArgs) ToPropertyActivationRuleWarningOutputWithContext

func (i PropertyActivationRuleWarningArgs) ToPropertyActivationRuleWarningOutputWithContext(ctx context.Context) PropertyActivationRuleWarningOutput

type PropertyActivationRuleWarningArray

type PropertyActivationRuleWarningArray []PropertyActivationRuleWarningInput

func (PropertyActivationRuleWarningArray) ElementType

func (PropertyActivationRuleWarningArray) ToPropertyActivationRuleWarningArrayOutput

func (i PropertyActivationRuleWarningArray) ToPropertyActivationRuleWarningArrayOutput() PropertyActivationRuleWarningArrayOutput

func (PropertyActivationRuleWarningArray) ToPropertyActivationRuleWarningArrayOutputWithContext

func (i PropertyActivationRuleWarningArray) ToPropertyActivationRuleWarningArrayOutputWithContext(ctx context.Context) PropertyActivationRuleWarningArrayOutput

type PropertyActivationRuleWarningArrayInput

type PropertyActivationRuleWarningArrayInput interface {
	pulumi.Input

	ToPropertyActivationRuleWarningArrayOutput() PropertyActivationRuleWarningArrayOutput
	ToPropertyActivationRuleWarningArrayOutputWithContext(context.Context) PropertyActivationRuleWarningArrayOutput
}

PropertyActivationRuleWarningArrayInput is an input type that accepts PropertyActivationRuleWarningArray and PropertyActivationRuleWarningArrayOutput values. You can construct a concrete instance of `PropertyActivationRuleWarningArrayInput` via:

PropertyActivationRuleWarningArray{ PropertyActivationRuleWarningArgs{...} }

type PropertyActivationRuleWarningArrayOutput

type PropertyActivationRuleWarningArrayOutput struct{ *pulumi.OutputState }

func (PropertyActivationRuleWarningArrayOutput) ElementType

func (PropertyActivationRuleWarningArrayOutput) Index

func (PropertyActivationRuleWarningArrayOutput) ToPropertyActivationRuleWarningArrayOutput

func (o PropertyActivationRuleWarningArrayOutput) ToPropertyActivationRuleWarningArrayOutput() PropertyActivationRuleWarningArrayOutput

func (PropertyActivationRuleWarningArrayOutput) ToPropertyActivationRuleWarningArrayOutputWithContext

func (o PropertyActivationRuleWarningArrayOutput) ToPropertyActivationRuleWarningArrayOutputWithContext(ctx context.Context) PropertyActivationRuleWarningArrayOutput

type PropertyActivationRuleWarningInput

type PropertyActivationRuleWarningInput interface {
	pulumi.Input

	ToPropertyActivationRuleWarningOutput() PropertyActivationRuleWarningOutput
	ToPropertyActivationRuleWarningOutputWithContext(context.Context) PropertyActivationRuleWarningOutput
}

PropertyActivationRuleWarningInput is an input type that accepts PropertyActivationRuleWarningArgs and PropertyActivationRuleWarningOutput values. You can construct a concrete instance of `PropertyActivationRuleWarningInput` via:

PropertyActivationRuleWarningArgs{...}

type PropertyActivationRuleWarningOutput

type PropertyActivationRuleWarningOutput struct{ *pulumi.OutputState }

func (PropertyActivationRuleWarningOutput) BehaviorName

func (PropertyActivationRuleWarningOutput) Detail

func (PropertyActivationRuleWarningOutput) ElementType

func (PropertyActivationRuleWarningOutput) ErrorLocation

func (PropertyActivationRuleWarningOutput) Instance

func (PropertyActivationRuleWarningOutput) StatusCode

func (PropertyActivationRuleWarningOutput) Title

func (PropertyActivationRuleWarningOutput) ToPropertyActivationRuleWarningOutput

func (o PropertyActivationRuleWarningOutput) ToPropertyActivationRuleWarningOutput() PropertyActivationRuleWarningOutput

func (PropertyActivationRuleWarningOutput) ToPropertyActivationRuleWarningOutputWithContext

func (o PropertyActivationRuleWarningOutput) ToPropertyActivationRuleWarningOutputWithContext(ctx context.Context) PropertyActivationRuleWarningOutput

func (PropertyActivationRuleWarningOutput) Type

type PropertyActivationState

type PropertyActivationState struct {
	// The ID given to the activation event while it's in progress.
	ActivationId pulumi.StringPtrInput
	// Whether the activation should proceed despite any warnings. By default set to `true`.
	AutoAcknowledgeRuleWarnings pulumi.BoolPtrInput
	// One or more email addresses to send activation status changes to.
	Contacts pulumi.StringArrayInput
	// The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	Errors pulumi.StringPtrInput
	// Akamai network to activate on, either `STAGING` or `PRODUCTION`. `STAGING` is the default.
	Network pulumi.StringPtrInput
	// A log message you can assign to the activation request.
	Note pulumi.StringPtrInput
	// - (Deprecated) Replaced by `propertyId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "property" has been deprecated.
	Property pulumi.StringPtrInput
	// - (Required) The property's unique identifier, including the `prp_` prefix.
	PropertyId pulumi.StringPtrInput
	RuleErrors PropertyActivationRuleErrorArrayInput
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyActivationRuleWarningArrayInput
	// The property version's activation status on the selected network.
	Status pulumi.StringPtrInput
	// The property version to activate. Previously this field was optional. It now depends on the `Property` resource to identify latest instead of calculating it locally.  This association helps keep the dependency tree properly aligned. To always use the latest version, enter this value `{resource}.{resource identifier}.{field name}`. Using the example code above, the entry would be `akamai_property.example.latest_version` since we want the value of the `latestVersion` attribute in the `Property` resource labeled `example`.
	Version pulumi.IntPtrInput
	// The contents of `warnings` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	Warnings pulumi.StringPtrInput
}

func (PropertyActivationState) ElementType

func (PropertyActivationState) ElementType() reflect.Type

type PropertyArgs

type PropertyArgs struct {
	// Deprecated: The setting "contact" has been deprecated.
	Contacts pulumi.StringArrayInput
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// Deprecated: The setting "cp_code" has been deprecated.
	CpCode pulumi.StringPtrInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// A mapping of public hostnames to edge hostnames. See the `getPropertyHostnames` data source for details on the necessary DNS configuration.
	Hostnames PropertyHostnameArrayInput
	// Deprecated: The setting "is_secure" has been deprecated.
	IsSecure pulumi.BoolPtrInput
	// The property name.
	Name pulumi.StringPtrInput
	// Deprecated: The setting "origin" has been deprecated.
	Origins PropertyOriginArrayInput
	// Optional argument replaced by the now required `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product pulumi.StringPtrInput
	// Product ID to be assigned to the Property
	ProductId pulumi.StringPtrInput
	// The [rule format](https://techdocs.akamai.com/property-mgr/reference/get-rule-formats) to use. Uses the latest rule format by default.
	RuleFormat pulumi.StringPtrInput
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyRuleWarningArrayInput
	// A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `getPropertyRules` data source.
	Rules pulumi.StringPtrInput
	// Deprecated: The setting "variables" has been deprecated.
	Variables pulumi.StringPtrInput
}

The set of arguments for constructing a Property resource.

func (PropertyArgs) ElementType

func (PropertyArgs) ElementType() reflect.Type

type PropertyArray

type PropertyArray []PropertyInput

func (PropertyArray) ElementType

func (PropertyArray) ElementType() reflect.Type

func (PropertyArray) ToPropertyArrayOutput

func (i PropertyArray) ToPropertyArrayOutput() PropertyArrayOutput

func (PropertyArray) ToPropertyArrayOutputWithContext

func (i PropertyArray) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput

type PropertyArrayInput

type PropertyArrayInput interface {
	pulumi.Input

	ToPropertyArrayOutput() PropertyArrayOutput
	ToPropertyArrayOutputWithContext(context.Context) PropertyArrayOutput
}

PropertyArrayInput is an input type that accepts PropertyArray and PropertyArrayOutput values. You can construct a concrete instance of `PropertyArrayInput` via:

PropertyArray{ PropertyArgs{...} }

type PropertyArrayOutput

type PropertyArrayOutput struct{ *pulumi.OutputState }

func (PropertyArrayOutput) ElementType

func (PropertyArrayOutput) ElementType() reflect.Type

func (PropertyArrayOutput) Index

func (PropertyArrayOutput) ToPropertyArrayOutput

func (o PropertyArrayOutput) ToPropertyArrayOutput() PropertyArrayOutput

func (PropertyArrayOutput) ToPropertyArrayOutputWithContext

func (o PropertyArrayOutput) ToPropertyArrayOutputWithContext(ctx context.Context) PropertyArrayOutput

type PropertyHostname

type PropertyHostname struct {
	// The certificate's provisioning type, either the default `CPS_MANAGED` type for the custom certificates you provision with the [Certificate Provisioning System (CPS)](https://techdocs.akamai.com/cps/docs), or `DEFAULT` for certificates provisioned automatically.
	CertProvisioningType string                       `pulumi:"certProvisioningType"`
	CertStatuses         []PropertyHostnameCertStatus `pulumi:"certStatuses"`
	// A string containing the original origin's hostname. For example, `"example.org"`.
	CnameFrom string `pulumi:"cnameFrom"`
	// A string containing the hostname for edge content. For example,  `"example.org.edgesuite.net"`.
	CnameTo        string  `pulumi:"cnameTo"`
	CnameType      *string `pulumi:"cnameType"`
	EdgeHostnameId *string `pulumi:"edgeHostnameId"`
}

type PropertyHostnameArgs

type PropertyHostnameArgs struct {
	// The certificate's provisioning type, either the default `CPS_MANAGED` type for the custom certificates you provision with the [Certificate Provisioning System (CPS)](https://techdocs.akamai.com/cps/docs), or `DEFAULT` for certificates provisioned automatically.
	CertProvisioningType pulumi.StringInput                   `pulumi:"certProvisioningType"`
	CertStatuses         PropertyHostnameCertStatusArrayInput `pulumi:"certStatuses"`
	// A string containing the original origin's hostname. For example, `"example.org"`.
	CnameFrom pulumi.StringInput `pulumi:"cnameFrom"`
	// A string containing the hostname for edge content. For example,  `"example.org.edgesuite.net"`.
	CnameTo        pulumi.StringInput    `pulumi:"cnameTo"`
	CnameType      pulumi.StringPtrInput `pulumi:"cnameType"`
	EdgeHostnameId pulumi.StringPtrInput `pulumi:"edgeHostnameId"`
}

func (PropertyHostnameArgs) ElementType

func (PropertyHostnameArgs) ElementType() reflect.Type

func (PropertyHostnameArgs) ToPropertyHostnameOutput

func (i PropertyHostnameArgs) ToPropertyHostnameOutput() PropertyHostnameOutput

func (PropertyHostnameArgs) ToPropertyHostnameOutputWithContext

func (i PropertyHostnameArgs) ToPropertyHostnameOutputWithContext(ctx context.Context) PropertyHostnameOutput

type PropertyHostnameArray

type PropertyHostnameArray []PropertyHostnameInput

func (PropertyHostnameArray) ElementType

func (PropertyHostnameArray) ElementType() reflect.Type

func (PropertyHostnameArray) ToPropertyHostnameArrayOutput

func (i PropertyHostnameArray) ToPropertyHostnameArrayOutput() PropertyHostnameArrayOutput

func (PropertyHostnameArray) ToPropertyHostnameArrayOutputWithContext

func (i PropertyHostnameArray) ToPropertyHostnameArrayOutputWithContext(ctx context.Context) PropertyHostnameArrayOutput

type PropertyHostnameArrayInput

type PropertyHostnameArrayInput interface {
	pulumi.Input

	ToPropertyHostnameArrayOutput() PropertyHostnameArrayOutput
	ToPropertyHostnameArrayOutputWithContext(context.Context) PropertyHostnameArrayOutput
}

PropertyHostnameArrayInput is an input type that accepts PropertyHostnameArray and PropertyHostnameArrayOutput values. You can construct a concrete instance of `PropertyHostnameArrayInput` via:

PropertyHostnameArray{ PropertyHostnameArgs{...} }

type PropertyHostnameArrayOutput

type PropertyHostnameArrayOutput struct{ *pulumi.OutputState }

func (PropertyHostnameArrayOutput) ElementType

func (PropertyHostnameArrayOutput) Index

func (PropertyHostnameArrayOutput) ToPropertyHostnameArrayOutput

func (o PropertyHostnameArrayOutput) ToPropertyHostnameArrayOutput() PropertyHostnameArrayOutput

func (PropertyHostnameArrayOutput) ToPropertyHostnameArrayOutputWithContext

func (o PropertyHostnameArrayOutput) ToPropertyHostnameArrayOutputWithContext(ctx context.Context) PropertyHostnameArrayOutput

type PropertyHostnameCertStatus

type PropertyHostnameCertStatus struct {
	Hostname         *string `pulumi:"hostname"`
	ProductionStatus *string `pulumi:"productionStatus"`
	StagingStatus    *string `pulumi:"stagingStatus"`
	Target           *string `pulumi:"target"`
}

type PropertyHostnameCertStatusArgs

type PropertyHostnameCertStatusArgs struct {
	Hostname         pulumi.StringPtrInput `pulumi:"hostname"`
	ProductionStatus pulumi.StringPtrInput `pulumi:"productionStatus"`
	StagingStatus    pulumi.StringPtrInput `pulumi:"stagingStatus"`
	Target           pulumi.StringPtrInput `pulumi:"target"`
}

func (PropertyHostnameCertStatusArgs) ElementType

func (PropertyHostnameCertStatusArgs) ToPropertyHostnameCertStatusOutput

func (i PropertyHostnameCertStatusArgs) ToPropertyHostnameCertStatusOutput() PropertyHostnameCertStatusOutput

func (PropertyHostnameCertStatusArgs) ToPropertyHostnameCertStatusOutputWithContext

func (i PropertyHostnameCertStatusArgs) ToPropertyHostnameCertStatusOutputWithContext(ctx context.Context) PropertyHostnameCertStatusOutput

type PropertyHostnameCertStatusArray

type PropertyHostnameCertStatusArray []PropertyHostnameCertStatusInput

func (PropertyHostnameCertStatusArray) ElementType

func (PropertyHostnameCertStatusArray) ToPropertyHostnameCertStatusArrayOutput

func (i PropertyHostnameCertStatusArray) ToPropertyHostnameCertStatusArrayOutput() PropertyHostnameCertStatusArrayOutput

func (PropertyHostnameCertStatusArray) ToPropertyHostnameCertStatusArrayOutputWithContext

func (i PropertyHostnameCertStatusArray) ToPropertyHostnameCertStatusArrayOutputWithContext(ctx context.Context) PropertyHostnameCertStatusArrayOutput

type PropertyHostnameCertStatusArrayInput

type PropertyHostnameCertStatusArrayInput interface {
	pulumi.Input

	ToPropertyHostnameCertStatusArrayOutput() PropertyHostnameCertStatusArrayOutput
	ToPropertyHostnameCertStatusArrayOutputWithContext(context.Context) PropertyHostnameCertStatusArrayOutput
}

PropertyHostnameCertStatusArrayInput is an input type that accepts PropertyHostnameCertStatusArray and PropertyHostnameCertStatusArrayOutput values. You can construct a concrete instance of `PropertyHostnameCertStatusArrayInput` via:

PropertyHostnameCertStatusArray{ PropertyHostnameCertStatusArgs{...} }

type PropertyHostnameCertStatusArrayOutput

type PropertyHostnameCertStatusArrayOutput struct{ *pulumi.OutputState }

func (PropertyHostnameCertStatusArrayOutput) ElementType

func (PropertyHostnameCertStatusArrayOutput) Index

func (PropertyHostnameCertStatusArrayOutput) ToPropertyHostnameCertStatusArrayOutput

func (o PropertyHostnameCertStatusArrayOutput) ToPropertyHostnameCertStatusArrayOutput() PropertyHostnameCertStatusArrayOutput

func (PropertyHostnameCertStatusArrayOutput) ToPropertyHostnameCertStatusArrayOutputWithContext

func (o PropertyHostnameCertStatusArrayOutput) ToPropertyHostnameCertStatusArrayOutputWithContext(ctx context.Context) PropertyHostnameCertStatusArrayOutput

type PropertyHostnameCertStatusInput

type PropertyHostnameCertStatusInput interface {
	pulumi.Input

	ToPropertyHostnameCertStatusOutput() PropertyHostnameCertStatusOutput
	ToPropertyHostnameCertStatusOutputWithContext(context.Context) PropertyHostnameCertStatusOutput
}

PropertyHostnameCertStatusInput is an input type that accepts PropertyHostnameCertStatusArgs and PropertyHostnameCertStatusOutput values. You can construct a concrete instance of `PropertyHostnameCertStatusInput` via:

PropertyHostnameCertStatusArgs{...}

type PropertyHostnameCertStatusOutput

type PropertyHostnameCertStatusOutput struct{ *pulumi.OutputState }

func (PropertyHostnameCertStatusOutput) ElementType

func (PropertyHostnameCertStatusOutput) Hostname

func (PropertyHostnameCertStatusOutput) ProductionStatus

func (PropertyHostnameCertStatusOutput) StagingStatus

func (PropertyHostnameCertStatusOutput) Target

func (PropertyHostnameCertStatusOutput) ToPropertyHostnameCertStatusOutput

func (o PropertyHostnameCertStatusOutput) ToPropertyHostnameCertStatusOutput() PropertyHostnameCertStatusOutput

func (PropertyHostnameCertStatusOutput) ToPropertyHostnameCertStatusOutputWithContext

func (o PropertyHostnameCertStatusOutput) ToPropertyHostnameCertStatusOutputWithContext(ctx context.Context) PropertyHostnameCertStatusOutput

type PropertyHostnameInput

type PropertyHostnameInput interface {
	pulumi.Input

	ToPropertyHostnameOutput() PropertyHostnameOutput
	ToPropertyHostnameOutputWithContext(context.Context) PropertyHostnameOutput
}

PropertyHostnameInput is an input type that accepts PropertyHostnameArgs and PropertyHostnameOutput values. You can construct a concrete instance of `PropertyHostnameInput` via:

PropertyHostnameArgs{...}

type PropertyHostnameOutput

type PropertyHostnameOutput struct{ *pulumi.OutputState }

func (PropertyHostnameOutput) CertProvisioningType

func (o PropertyHostnameOutput) CertProvisioningType() pulumi.StringOutput

The certificate's provisioning type, either the default `CPS_MANAGED` type for the custom certificates you provision with the [Certificate Provisioning System (CPS)](https://techdocs.akamai.com/cps/docs), or `DEFAULT` for certificates provisioned automatically.

func (PropertyHostnameOutput) CertStatuses

func (PropertyHostnameOutput) CnameFrom

A string containing the original origin's hostname. For example, `"example.org"`.

func (PropertyHostnameOutput) CnameTo

A string containing the hostname for edge content. For example, `"example.org.edgesuite.net"`.

func (PropertyHostnameOutput) CnameType

func (PropertyHostnameOutput) EdgeHostnameId

func (o PropertyHostnameOutput) EdgeHostnameId() pulumi.StringPtrOutput

func (PropertyHostnameOutput) ElementType

func (PropertyHostnameOutput) ElementType() reflect.Type

func (PropertyHostnameOutput) ToPropertyHostnameOutput

func (o PropertyHostnameOutput) ToPropertyHostnameOutput() PropertyHostnameOutput

func (PropertyHostnameOutput) ToPropertyHostnameOutputWithContext

func (o PropertyHostnameOutput) ToPropertyHostnameOutputWithContext(ctx context.Context) PropertyHostnameOutput

type PropertyInput

type PropertyInput interface {
	pulumi.Input

	ToPropertyOutput() PropertyOutput
	ToPropertyOutputWithContext(ctx context.Context) PropertyOutput
}

type PropertyMap

type PropertyMap map[string]PropertyInput

func (PropertyMap) ElementType

func (PropertyMap) ElementType() reflect.Type

func (PropertyMap) ToPropertyMapOutput

func (i PropertyMap) ToPropertyMapOutput() PropertyMapOutput

func (PropertyMap) ToPropertyMapOutputWithContext

func (i PropertyMap) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput

type PropertyMapInput

type PropertyMapInput interface {
	pulumi.Input

	ToPropertyMapOutput() PropertyMapOutput
	ToPropertyMapOutputWithContext(context.Context) PropertyMapOutput
}

PropertyMapInput is an input type that accepts PropertyMap and PropertyMapOutput values. You can construct a concrete instance of `PropertyMapInput` via:

PropertyMap{ "key": PropertyArgs{...} }

type PropertyMapOutput

type PropertyMapOutput struct{ *pulumi.OutputState }

func (PropertyMapOutput) ElementType

func (PropertyMapOutput) ElementType() reflect.Type

func (PropertyMapOutput) MapIndex

func (PropertyMapOutput) ToPropertyMapOutput

func (o PropertyMapOutput) ToPropertyMapOutput() PropertyMapOutput

func (PropertyMapOutput) ToPropertyMapOutputWithContext

func (o PropertyMapOutput) ToPropertyMapOutputWithContext(ctx context.Context) PropertyMapOutput

type PropertyOrigin

type PropertyOrigin struct {
	CacheKeyHostname   *string `pulumi:"cacheKeyHostname"`
	Compress           *bool   `pulumi:"compress"`
	EnableTrueClientIp *bool   `pulumi:"enableTrueClientIp"`
	ForwardHostname    *string `pulumi:"forwardHostname"`
	Hostname           *string `pulumi:"hostname"`
	Port               *int    `pulumi:"port"`
}

type PropertyOriginArgs

type PropertyOriginArgs struct {
	CacheKeyHostname   pulumi.StringPtrInput `pulumi:"cacheKeyHostname"`
	Compress           pulumi.BoolPtrInput   `pulumi:"compress"`
	EnableTrueClientIp pulumi.BoolPtrInput   `pulumi:"enableTrueClientIp"`
	ForwardHostname    pulumi.StringPtrInput `pulumi:"forwardHostname"`
	Hostname           pulumi.StringPtrInput `pulumi:"hostname"`
	Port               pulumi.IntPtrInput    `pulumi:"port"`
}

func (PropertyOriginArgs) ElementType

func (PropertyOriginArgs) ElementType() reflect.Type

func (PropertyOriginArgs) ToPropertyOriginOutput

func (i PropertyOriginArgs) ToPropertyOriginOutput() PropertyOriginOutput

func (PropertyOriginArgs) ToPropertyOriginOutputWithContext

func (i PropertyOriginArgs) ToPropertyOriginOutputWithContext(ctx context.Context) PropertyOriginOutput

type PropertyOriginArray

type PropertyOriginArray []PropertyOriginInput

func (PropertyOriginArray) ElementType

func (PropertyOriginArray) ElementType() reflect.Type

func (PropertyOriginArray) ToPropertyOriginArrayOutput

func (i PropertyOriginArray) ToPropertyOriginArrayOutput() PropertyOriginArrayOutput

func (PropertyOriginArray) ToPropertyOriginArrayOutputWithContext

func (i PropertyOriginArray) ToPropertyOriginArrayOutputWithContext(ctx context.Context) PropertyOriginArrayOutput

type PropertyOriginArrayInput

type PropertyOriginArrayInput interface {
	pulumi.Input

	ToPropertyOriginArrayOutput() PropertyOriginArrayOutput
	ToPropertyOriginArrayOutputWithContext(context.Context) PropertyOriginArrayOutput
}

PropertyOriginArrayInput is an input type that accepts PropertyOriginArray and PropertyOriginArrayOutput values. You can construct a concrete instance of `PropertyOriginArrayInput` via:

PropertyOriginArray{ PropertyOriginArgs{...} }

type PropertyOriginArrayOutput

type PropertyOriginArrayOutput struct{ *pulumi.OutputState }

func (PropertyOriginArrayOutput) ElementType

func (PropertyOriginArrayOutput) ElementType() reflect.Type

func (PropertyOriginArrayOutput) Index

func (PropertyOriginArrayOutput) ToPropertyOriginArrayOutput

func (o PropertyOriginArrayOutput) ToPropertyOriginArrayOutput() PropertyOriginArrayOutput

func (PropertyOriginArrayOutput) ToPropertyOriginArrayOutputWithContext

func (o PropertyOriginArrayOutput) ToPropertyOriginArrayOutputWithContext(ctx context.Context) PropertyOriginArrayOutput

type PropertyOriginInput

type PropertyOriginInput interface {
	pulumi.Input

	ToPropertyOriginOutput() PropertyOriginOutput
	ToPropertyOriginOutputWithContext(context.Context) PropertyOriginOutput
}

PropertyOriginInput is an input type that accepts PropertyOriginArgs and PropertyOriginOutput values. You can construct a concrete instance of `PropertyOriginInput` via:

PropertyOriginArgs{...}

type PropertyOriginOutput

type PropertyOriginOutput struct{ *pulumi.OutputState }

func (PropertyOriginOutput) CacheKeyHostname

func (o PropertyOriginOutput) CacheKeyHostname() pulumi.StringPtrOutput

func (PropertyOriginOutput) Compress

func (PropertyOriginOutput) ElementType

func (PropertyOriginOutput) ElementType() reflect.Type

func (PropertyOriginOutput) EnableTrueClientIp

func (o PropertyOriginOutput) EnableTrueClientIp() pulumi.BoolPtrOutput

func (PropertyOriginOutput) ForwardHostname

func (o PropertyOriginOutput) ForwardHostname() pulumi.StringPtrOutput

func (PropertyOriginOutput) Hostname

func (PropertyOriginOutput) Port

func (PropertyOriginOutput) ToPropertyOriginOutput

func (o PropertyOriginOutput) ToPropertyOriginOutput() PropertyOriginOutput

func (PropertyOriginOutput) ToPropertyOriginOutputWithContext

func (o PropertyOriginOutput) ToPropertyOriginOutputWithContext(ctx context.Context) PropertyOriginOutput

type PropertyOutput

type PropertyOutput struct{ *pulumi.OutputState }

func (PropertyOutput) Contacts deprecated

Deprecated: The setting "contact" has been deprecated.

func (PropertyOutput) Contract deprecated

func (o PropertyOutput) Contract() pulumi.StringOutput

Replaced by `contractId`. Maintained for legacy purposes.

Deprecated: The setting "contract" has been deprecated.

func (PropertyOutput) ContractId

func (o PropertyOutput) ContractId() pulumi.StringOutput

- (Required) A contract's unique ID, including the `ctr_` prefix.

func (PropertyOutput) CpCode deprecated

Deprecated: The setting "cp_code" has been deprecated.

func (PropertyOutput) ElementType

func (PropertyOutput) ElementType() reflect.Type

func (PropertyOutput) Group deprecated

Replaced by `groupId`. Maintained for legacy purposes.

Deprecated: The setting "group" has been deprecated.

func (PropertyOutput) GroupId

func (o PropertyOutput) GroupId() pulumi.StringOutput

- (Required) A group's unique ID, including the `grp_` prefix.

func (PropertyOutput) Hostnames

A mapping of public hostnames to edge hostnames. See the `getPropertyHostnames` data source for details on the necessary DNS configuration.

func (PropertyOutput) IsSecure deprecated

func (o PropertyOutput) IsSecure() pulumi.BoolPtrOutput

Deprecated: The setting "is_secure" has been deprecated.

func (PropertyOutput) LatestVersion

func (o PropertyOutput) LatestVersion() pulumi.IntOutput

The version of the property you've created or updated rules for. The Akamai Provider always uses the latest version or creates a new version if latest is not editable.

func (PropertyOutput) Name

The property name.

func (PropertyOutput) Origins deprecated

Deprecated: The setting "origin" has been deprecated.

func (PropertyOutput) Product deprecated

func (o PropertyOutput) Product() pulumi.StringOutput

Optional argument replaced by the now required `productId`. Maintained for legacy purposes.

Deprecated: The setting "product" has been deprecated.

func (PropertyOutput) ProductId

func (o PropertyOutput) ProductId() pulumi.StringOutput

Product ID to be assigned to the Property

func (PropertyOutput) ProductionVersion

func (o PropertyOutput) ProductionVersion() pulumi.IntOutput

The current version of the property active on the Akamai production network.

func (PropertyOutput) ReadVersion

func (o PropertyOutput) ReadVersion() pulumi.IntOutput

Required property's version to be read

func (PropertyOutput) RuleErrors

The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.

func (PropertyOutput) RuleFormat

func (o PropertyOutput) RuleFormat() pulumi.StringOutput

The [rule format](https://techdocs.akamai.com/property-mgr/reference/get-rule-formats) to use. Uses the latest rule format by default.

func (PropertyOutput) RuleWarnings deprecated

Deprecated: Rule warnings will not be set in state anymore

func (PropertyOutput) Rules

A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `getPropertyRules` data source.

func (PropertyOutput) StagingVersion

func (o PropertyOutput) StagingVersion() pulumi.IntOutput

The current version of the property active on the Akamai staging network.

func (PropertyOutput) ToPropertyOutput

func (o PropertyOutput) ToPropertyOutput() PropertyOutput

func (PropertyOutput) ToPropertyOutputWithContext

func (o PropertyOutput) ToPropertyOutputWithContext(ctx context.Context) PropertyOutput

func (PropertyOutput) Variables deprecated

func (o PropertyOutput) Variables() pulumi.StringPtrOutput

Deprecated: The setting "variables" has been deprecated.

type PropertyRuleError

type PropertyRuleError struct {
	BehaviorName  *string `pulumi:"behaviorName"`
	Detail        *string `pulumi:"detail"`
	ErrorLocation *string `pulumi:"errorLocation"`
	Instance      *string `pulumi:"instance"`
	StatusCode    *int    `pulumi:"statusCode"`
	Title         *string `pulumi:"title"`
	Type          *string `pulumi:"type"`
}

type PropertyRuleErrorArgs

type PropertyRuleErrorArgs struct {
	BehaviorName  pulumi.StringPtrInput `pulumi:"behaviorName"`
	Detail        pulumi.StringPtrInput `pulumi:"detail"`
	ErrorLocation pulumi.StringPtrInput `pulumi:"errorLocation"`
	Instance      pulumi.StringPtrInput `pulumi:"instance"`
	StatusCode    pulumi.IntPtrInput    `pulumi:"statusCode"`
	Title         pulumi.StringPtrInput `pulumi:"title"`
	Type          pulumi.StringPtrInput `pulumi:"type"`
}

func (PropertyRuleErrorArgs) ElementType

func (PropertyRuleErrorArgs) ElementType() reflect.Type

func (PropertyRuleErrorArgs) ToPropertyRuleErrorOutput

func (i PropertyRuleErrorArgs) ToPropertyRuleErrorOutput() PropertyRuleErrorOutput

func (PropertyRuleErrorArgs) ToPropertyRuleErrorOutputWithContext

func (i PropertyRuleErrorArgs) ToPropertyRuleErrorOutputWithContext(ctx context.Context) PropertyRuleErrorOutput

type PropertyRuleErrorArray

type PropertyRuleErrorArray []PropertyRuleErrorInput

func (PropertyRuleErrorArray) ElementType

func (PropertyRuleErrorArray) ElementType() reflect.Type

func (PropertyRuleErrorArray) ToPropertyRuleErrorArrayOutput

func (i PropertyRuleErrorArray) ToPropertyRuleErrorArrayOutput() PropertyRuleErrorArrayOutput

func (PropertyRuleErrorArray) ToPropertyRuleErrorArrayOutputWithContext

func (i PropertyRuleErrorArray) ToPropertyRuleErrorArrayOutputWithContext(ctx context.Context) PropertyRuleErrorArrayOutput

type PropertyRuleErrorArrayInput

type PropertyRuleErrorArrayInput interface {
	pulumi.Input

	ToPropertyRuleErrorArrayOutput() PropertyRuleErrorArrayOutput
	ToPropertyRuleErrorArrayOutputWithContext(context.Context) PropertyRuleErrorArrayOutput
}

PropertyRuleErrorArrayInput is an input type that accepts PropertyRuleErrorArray and PropertyRuleErrorArrayOutput values. You can construct a concrete instance of `PropertyRuleErrorArrayInput` via:

PropertyRuleErrorArray{ PropertyRuleErrorArgs{...} }

type PropertyRuleErrorArrayOutput

type PropertyRuleErrorArrayOutput struct{ *pulumi.OutputState }

func (PropertyRuleErrorArrayOutput) ElementType

func (PropertyRuleErrorArrayOutput) Index

func (PropertyRuleErrorArrayOutput) ToPropertyRuleErrorArrayOutput

func (o PropertyRuleErrorArrayOutput) ToPropertyRuleErrorArrayOutput() PropertyRuleErrorArrayOutput

func (PropertyRuleErrorArrayOutput) ToPropertyRuleErrorArrayOutputWithContext

func (o PropertyRuleErrorArrayOutput) ToPropertyRuleErrorArrayOutputWithContext(ctx context.Context) PropertyRuleErrorArrayOutput

type PropertyRuleErrorInput

type PropertyRuleErrorInput interface {
	pulumi.Input

	ToPropertyRuleErrorOutput() PropertyRuleErrorOutput
	ToPropertyRuleErrorOutputWithContext(context.Context) PropertyRuleErrorOutput
}

PropertyRuleErrorInput is an input type that accepts PropertyRuleErrorArgs and PropertyRuleErrorOutput values. You can construct a concrete instance of `PropertyRuleErrorInput` via:

PropertyRuleErrorArgs{...}

type PropertyRuleErrorOutput

type PropertyRuleErrorOutput struct{ *pulumi.OutputState }

func (PropertyRuleErrorOutput) BehaviorName

func (PropertyRuleErrorOutput) Detail

func (PropertyRuleErrorOutput) ElementType

func (PropertyRuleErrorOutput) ElementType() reflect.Type

func (PropertyRuleErrorOutput) ErrorLocation

func (PropertyRuleErrorOutput) Instance

func (PropertyRuleErrorOutput) StatusCode

func (PropertyRuleErrorOutput) Title

func (PropertyRuleErrorOutput) ToPropertyRuleErrorOutput

func (o PropertyRuleErrorOutput) ToPropertyRuleErrorOutput() PropertyRuleErrorOutput

func (PropertyRuleErrorOutput) ToPropertyRuleErrorOutputWithContext

func (o PropertyRuleErrorOutput) ToPropertyRuleErrorOutputWithContext(ctx context.Context) PropertyRuleErrorOutput

func (PropertyRuleErrorOutput) Type

type PropertyRuleWarning

type PropertyRuleWarning struct {
	BehaviorName  *string `pulumi:"behaviorName"`
	Detail        *string `pulumi:"detail"`
	ErrorLocation *string `pulumi:"errorLocation"`
	Instance      *string `pulumi:"instance"`
	StatusCode    *int    `pulumi:"statusCode"`
	Title         *string `pulumi:"title"`
	Type          *string `pulumi:"type"`
}

type PropertyRuleWarningArgs

type PropertyRuleWarningArgs struct {
	BehaviorName  pulumi.StringPtrInput `pulumi:"behaviorName"`
	Detail        pulumi.StringPtrInput `pulumi:"detail"`
	ErrorLocation pulumi.StringPtrInput `pulumi:"errorLocation"`
	Instance      pulumi.StringPtrInput `pulumi:"instance"`
	StatusCode    pulumi.IntPtrInput    `pulumi:"statusCode"`
	Title         pulumi.StringPtrInput `pulumi:"title"`
	Type          pulumi.StringPtrInput `pulumi:"type"`
}

func (PropertyRuleWarningArgs) ElementType

func (PropertyRuleWarningArgs) ElementType() reflect.Type

func (PropertyRuleWarningArgs) ToPropertyRuleWarningOutput

func (i PropertyRuleWarningArgs) ToPropertyRuleWarningOutput() PropertyRuleWarningOutput

func (PropertyRuleWarningArgs) ToPropertyRuleWarningOutputWithContext

func (i PropertyRuleWarningArgs) ToPropertyRuleWarningOutputWithContext(ctx context.Context) PropertyRuleWarningOutput

type PropertyRuleWarningArray

type PropertyRuleWarningArray []PropertyRuleWarningInput

func (PropertyRuleWarningArray) ElementType

func (PropertyRuleWarningArray) ElementType() reflect.Type

func (PropertyRuleWarningArray) ToPropertyRuleWarningArrayOutput

func (i PropertyRuleWarningArray) ToPropertyRuleWarningArrayOutput() PropertyRuleWarningArrayOutput

func (PropertyRuleWarningArray) ToPropertyRuleWarningArrayOutputWithContext

func (i PropertyRuleWarningArray) ToPropertyRuleWarningArrayOutputWithContext(ctx context.Context) PropertyRuleWarningArrayOutput

type PropertyRuleWarningArrayInput

type PropertyRuleWarningArrayInput interface {
	pulumi.Input

	ToPropertyRuleWarningArrayOutput() PropertyRuleWarningArrayOutput
	ToPropertyRuleWarningArrayOutputWithContext(context.Context) PropertyRuleWarningArrayOutput
}

PropertyRuleWarningArrayInput is an input type that accepts PropertyRuleWarningArray and PropertyRuleWarningArrayOutput values. You can construct a concrete instance of `PropertyRuleWarningArrayInput` via:

PropertyRuleWarningArray{ PropertyRuleWarningArgs{...} }

type PropertyRuleWarningArrayOutput

type PropertyRuleWarningArrayOutput struct{ *pulumi.OutputState }

func (PropertyRuleWarningArrayOutput) ElementType

func (PropertyRuleWarningArrayOutput) Index

func (PropertyRuleWarningArrayOutput) ToPropertyRuleWarningArrayOutput

func (o PropertyRuleWarningArrayOutput) ToPropertyRuleWarningArrayOutput() PropertyRuleWarningArrayOutput

func (PropertyRuleWarningArrayOutput) ToPropertyRuleWarningArrayOutputWithContext

func (o PropertyRuleWarningArrayOutput) ToPropertyRuleWarningArrayOutputWithContext(ctx context.Context) PropertyRuleWarningArrayOutput

type PropertyRuleWarningInput

type PropertyRuleWarningInput interface {
	pulumi.Input

	ToPropertyRuleWarningOutput() PropertyRuleWarningOutput
	ToPropertyRuleWarningOutputWithContext(context.Context) PropertyRuleWarningOutput
}

PropertyRuleWarningInput is an input type that accepts PropertyRuleWarningArgs and PropertyRuleWarningOutput values. You can construct a concrete instance of `PropertyRuleWarningInput` via:

PropertyRuleWarningArgs{...}

type PropertyRuleWarningOutput

type PropertyRuleWarningOutput struct{ *pulumi.OutputState }

func (PropertyRuleWarningOutput) BehaviorName

func (PropertyRuleWarningOutput) Detail

func (PropertyRuleWarningOutput) ElementType

func (PropertyRuleWarningOutput) ElementType() reflect.Type

func (PropertyRuleWarningOutput) ErrorLocation

func (PropertyRuleWarningOutput) Instance

func (PropertyRuleWarningOutput) StatusCode

func (PropertyRuleWarningOutput) Title

func (PropertyRuleWarningOutput) ToPropertyRuleWarningOutput

func (o PropertyRuleWarningOutput) ToPropertyRuleWarningOutput() PropertyRuleWarningOutput

func (PropertyRuleWarningOutput) ToPropertyRuleWarningOutputWithContext

func (o PropertyRuleWarningOutput) ToPropertyRuleWarningOutputWithContext(ctx context.Context) PropertyRuleWarningOutput

func (PropertyRuleWarningOutput) Type

type PropertyState

type PropertyState struct {
	// Deprecated: The setting "contact" has been deprecated.
	Contacts pulumi.StringArrayInput
	// Replaced by `contractId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "contract" has been deprecated.
	Contract pulumi.StringPtrInput
	// - (Required) A contract's unique ID, including the `ctr_` prefix.
	ContractId pulumi.StringPtrInput
	// Deprecated: The setting "cp_code" has been deprecated.
	CpCode pulumi.StringPtrInput
	// Replaced by `groupId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "group" has been deprecated.
	Group pulumi.StringPtrInput
	// - (Required) A group's unique ID, including the `grp_` prefix.
	GroupId pulumi.StringPtrInput
	// A mapping of public hostnames to edge hostnames. See the `getPropertyHostnames` data source for details on the necessary DNS configuration.
	Hostnames PropertyHostnameArrayInput
	// Deprecated: The setting "is_secure" has been deprecated.
	IsSecure pulumi.BoolPtrInput
	// The version of the property you've created or updated rules for. The Akamai Provider always uses the latest version or creates a new version if latest is not editable.
	LatestVersion pulumi.IntPtrInput
	// The property name.
	Name pulumi.StringPtrInput
	// Deprecated: The setting "origin" has been deprecated.
	Origins PropertyOriginArrayInput
	// Optional argument replaced by the now required `productId`. Maintained for legacy purposes.
	//
	// Deprecated: The setting "product" has been deprecated.
	Product pulumi.StringPtrInput
	// Product ID to be assigned to the Property
	ProductId pulumi.StringPtrInput
	// The current version of the property active on the Akamai production network.
	ProductionVersion pulumi.IntPtrInput
	// Required property's version to be read
	ReadVersion pulumi.IntPtrInput
	// The contents of `errors` field returned by the API. For more information see [Errors](https://techdocs.akamai.com/property-mgr/reference/api-errors) in the PAPI documentation.
	RuleErrors PropertyRuleErrorArrayInput
	// The [rule format](https://techdocs.akamai.com/property-mgr/reference/get-rule-formats) to use. Uses the latest rule format by default.
	RuleFormat pulumi.StringPtrInput
	// Deprecated: Rule warnings will not be set in state anymore
	RuleWarnings PropertyRuleWarningArrayInput
	// A JSON-encoded rule tree for a given property. For this argument, you need to enter a complete JSON rule tree, unless you set up a series of JSON templates. See the `getPropertyRules` data source.
	Rules pulumi.StringPtrInput
	// The current version of the property active on the Akamai staging network.
	StagingVersion pulumi.IntPtrInput
	// Deprecated: The setting "variables" has been deprecated.
	Variables pulumi.StringPtrInput
}

func (PropertyState) ElementType

func (PropertyState) ElementType() reflect.Type

type PropertyVariables deprecated

type PropertyVariables struct {
	pulumi.CustomResourceState

	// JSON variables representation
	Json pulumi.StringOutput `pulumi:"json"`
	// Deprecated: The setting "akamai_property_variables" has been deprecated.
	Variables PropertyVariablesVariableArrayOutput `pulumi:"variables"`
}

Deprecated: akamai.properties.PropertyVariables has been deprecated in favor of akamai.PropertyVariables

func GetPropertyVariables

func GetPropertyVariables(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PropertyVariablesState, opts ...pulumi.ResourceOption) (*PropertyVariables, error)

GetPropertyVariables gets an existing PropertyVariables 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 NewPropertyVariables

func NewPropertyVariables(ctx *pulumi.Context,
	name string, args *PropertyVariablesArgs, opts ...pulumi.ResourceOption) (*PropertyVariables, error)

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

func (*PropertyVariables) ElementType

func (*PropertyVariables) ElementType() reflect.Type

func (*PropertyVariables) ToPropertyVariablesOutput

func (i *PropertyVariables) ToPropertyVariablesOutput() PropertyVariablesOutput

func (*PropertyVariables) ToPropertyVariablesOutputWithContext

func (i *PropertyVariables) ToPropertyVariablesOutputWithContext(ctx context.Context) PropertyVariablesOutput

type PropertyVariablesArgs

type PropertyVariablesArgs struct {
	// Deprecated: The setting "akamai_property_variables" has been deprecated.
	Variables PropertyVariablesVariableArrayInput
}

The set of arguments for constructing a PropertyVariables resource.

func (PropertyVariablesArgs) ElementType

func (PropertyVariablesArgs) ElementType() reflect.Type

type PropertyVariablesArray

type PropertyVariablesArray []PropertyVariablesInput

func (PropertyVariablesArray) ElementType

func (PropertyVariablesArray) ElementType() reflect.Type

func (PropertyVariablesArray) ToPropertyVariablesArrayOutput

func (i PropertyVariablesArray) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput

func (PropertyVariablesArray) ToPropertyVariablesArrayOutputWithContext

func (i PropertyVariablesArray) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput

type PropertyVariablesArrayInput

type PropertyVariablesArrayInput interface {
	pulumi.Input

	ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput
	ToPropertyVariablesArrayOutputWithContext(context.Context) PropertyVariablesArrayOutput
}

PropertyVariablesArrayInput is an input type that accepts PropertyVariablesArray and PropertyVariablesArrayOutput values. You can construct a concrete instance of `PropertyVariablesArrayInput` via:

PropertyVariablesArray{ PropertyVariablesArgs{...} }

type PropertyVariablesArrayOutput

type PropertyVariablesArrayOutput struct{ *pulumi.OutputState }

func (PropertyVariablesArrayOutput) ElementType

func (PropertyVariablesArrayOutput) Index

func (PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutput

func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutput() PropertyVariablesArrayOutput

func (PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutputWithContext

func (o PropertyVariablesArrayOutput) ToPropertyVariablesArrayOutputWithContext(ctx context.Context) PropertyVariablesArrayOutput

type PropertyVariablesInput

type PropertyVariablesInput interface {
	pulumi.Input

	ToPropertyVariablesOutput() PropertyVariablesOutput
	ToPropertyVariablesOutputWithContext(ctx context.Context) PropertyVariablesOutput
}

type PropertyVariablesMap

type PropertyVariablesMap map[string]PropertyVariablesInput

func (PropertyVariablesMap) ElementType

func (PropertyVariablesMap) ElementType() reflect.Type

func (PropertyVariablesMap) ToPropertyVariablesMapOutput

func (i PropertyVariablesMap) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput

func (PropertyVariablesMap) ToPropertyVariablesMapOutputWithContext

func (i PropertyVariablesMap) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput

type PropertyVariablesMapInput

type PropertyVariablesMapInput interface {
	pulumi.Input

	ToPropertyVariablesMapOutput() PropertyVariablesMapOutput
	ToPropertyVariablesMapOutputWithContext(context.Context) PropertyVariablesMapOutput
}

PropertyVariablesMapInput is an input type that accepts PropertyVariablesMap and PropertyVariablesMapOutput values. You can construct a concrete instance of `PropertyVariablesMapInput` via:

PropertyVariablesMap{ "key": PropertyVariablesArgs{...} }

type PropertyVariablesMapOutput

type PropertyVariablesMapOutput struct{ *pulumi.OutputState }

func (PropertyVariablesMapOutput) ElementType

func (PropertyVariablesMapOutput) ElementType() reflect.Type

func (PropertyVariablesMapOutput) MapIndex

func (PropertyVariablesMapOutput) ToPropertyVariablesMapOutput

func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutput() PropertyVariablesMapOutput

func (PropertyVariablesMapOutput) ToPropertyVariablesMapOutputWithContext

func (o PropertyVariablesMapOutput) ToPropertyVariablesMapOutputWithContext(ctx context.Context) PropertyVariablesMapOutput

type PropertyVariablesOutput

type PropertyVariablesOutput struct{ *pulumi.OutputState }

func (PropertyVariablesOutput) ElementType

func (PropertyVariablesOutput) ElementType() reflect.Type

func (PropertyVariablesOutput) ToPropertyVariablesOutput

func (o PropertyVariablesOutput) ToPropertyVariablesOutput() PropertyVariablesOutput

func (PropertyVariablesOutput) ToPropertyVariablesOutputWithContext

func (o PropertyVariablesOutput) ToPropertyVariablesOutputWithContext(ctx context.Context) PropertyVariablesOutput

type PropertyVariablesState

type PropertyVariablesState struct {
	// JSON variables representation
	Json pulumi.StringPtrInput
	// Deprecated: The setting "akamai_property_variables" has been deprecated.
	Variables PropertyVariablesVariableArrayInput
}

func (PropertyVariablesState) ElementType

func (PropertyVariablesState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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