Akamai

v3.1.0 published on Tuesday, Oct 4, 2022 by Pulumi

PropertyActivation

Deprecated:

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

The akamai.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

using System.IO;
using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var email = "user@example.org";
        var ruleFormat = "v2020-03-04";
        var example = new Akamai.Property("example", new Akamai.PropertyArgs
        {
            ProductId = "prd_SPM",
            ContractId = @var.Contractid,
            GroupId = @var.Groupid,
            Hostnames = 
            {
                { "example.org", "example.org.edgesuite.net" },
                { "www.example.org", "example.org.edgesuite.net" },
                { "sub.example.org", "sub.example.org.edgesuite.net" },
            },
            RuleFormat = ruleFormat,
            Rules = File.ReadAllText($"{path.Module}/main.json"),
        });
        var exampleStaging = new Akamai.PropertyActivation("exampleStaging", new Akamai.PropertyActivationArgs
        {
            PropertyId = example.Id,
            Contacts = 
            {
                email,
            },
            Version = example.LatestVersion,
            Note = "Sample activation",
        });
        var exampleProd = new Akamai.PropertyActivation("exampleProd", new Akamai.PropertyActivationArgs
        {
            PropertyId = example.Id,
            Network = "PRODUCTION",
            Version = 3,
            Contacts = 
            {
                email,
            },
        }, new CustomResourceOptions
        {
            DependsOn = 
            {
                exampleStaging,
            },
        });
    }

}
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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akamai.Property;
import com.pulumi.akamai.PropertyArgs;
import com.pulumi.akamai.PropertyActivation;
import com.pulumi.akamai.PropertyActivationArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var email = "user@example.org";

        final var ruleFormat = "v2020-03-04";

        var example = new Property("example", PropertyArgs.builder()        
            .productId("prd_SPM")
            .contractId(var_.contractid())
            .groupId(var_.groupid())
            .hostnames(PropertyHostnameArgs.builder()
%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))
                .ruleFormat(ruleFormat)
                .rules(Files.readString(Paths.get(String.format("%s/main.json", path.module()))))
                .build());

            var exampleStaging = new PropertyActivation("exampleStaging", PropertyActivationArgs.builder()            
                .propertyId(example.id())
                .contacts(email)
                .version(example.latestVersion())
                .note("Sample activation")
                .build());

            var exampleProd = new PropertyActivation("exampleProd", PropertyActivationArgs.builder()            
                .propertyId(example.id())
                .network("PRODUCTION")
                .version(3)
                .contacts(email)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(exampleStaging)
                    .build());

        }
}
import pulumi
import pulumi_akamai as akamai

email = "user@example.org"
rule_format = "v2020-03-04"
example = akamai.Property("example",
    product_id="prd_SPM",
    contract_id=var["contractid"],
    group_id=var["groupid"],
    hostnames={
        "example.org": "example.org.edgesuite.net",
        "www.example.org": "example.org.edgesuite.net",
        "sub.example.org": "sub.example.org.edgesuite.net",
    },
    rule_format=rule_format,
    rules=(lambda path: open(path).read())(f"{path['module']}/main.json"))
example_staging = akamai.PropertyActivation("exampleStaging",
    property_id=example.id,
    contacts=[email],
    version=example.latest_version,
    note="Sample activation")
example_prod = akamai.PropertyActivation("exampleProd",
    property_id=example.id,
    network="PRODUCTION",
    version=3,
    contacts=[email],
    opts=pulumi.ResourceOptions(depends_on=[example_staging]))
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
import * as fs from "fs";

const email = "user@example.org";
const ruleFormat = "v2020-03-04";
const example = new akamai.Property("example", {
    productId: "prd_SPM",
    contractId: _var.contractid,
    groupId: _var.groupid,
    hostnames: {
        "example.org": "example.org.edgesuite.net",
        "www.example.org": "example.org.edgesuite.net",
        "sub.example.org": "sub.example.org.edgesuite.net",
    },
    ruleFormat: ruleFormat,
    rules: fs.readFileSync(`${path.module}/main.json`),
});
const exampleStaging = new akamai.PropertyActivation("exampleStaging", {
    propertyId: example.id,
    contacts: [email],
    version: example.latestVersion,
    note: "Sample activation",
});
const exampleProd = new akamai.PropertyActivation("exampleProd", {
    propertyId: example.id,
    network: "PRODUCTION",
    version: 3,
    contacts: [email],
}, {
    dependsOn: [exampleStaging],
});

Coming soon!

Create a PropertyActivation Resource

new PropertyActivation(name: string, args: PropertyActivationArgs, opts?: CustomResourceOptions);
@overload
def PropertyActivation(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       activation_id: Optional[str] = None,
                       auto_acknowledge_rule_warnings: Optional[bool] = None,
                       contacts: Optional[Sequence[str]] = None,
                       network: Optional[str] = None,
                       note: Optional[str] = None,
                       property: Optional[str] = None,
                       property_id: Optional[str] = None,
                       rule_errors: Optional[Sequence[PropertyActivationRuleErrorArgs]] = None,
                       rule_warnings: Optional[Sequence[PropertyActivationRuleWarningArgs]] = None,
                       version: Optional[int] = None)
@overload
def PropertyActivation(resource_name: str,
                       args: PropertyActivationArgs,
                       opts: Optional[ResourceOptions] = None)
func NewPropertyActivation(ctx *Context, name string, args PropertyActivationArgs, opts ...ResourceOption) (*PropertyActivation, error)
public PropertyActivation(string name, PropertyActivationArgs args, CustomResourceOptions? opts = null)
public PropertyActivation(String name, PropertyActivationArgs args)
public PropertyActivation(String name, PropertyActivationArgs args, CustomResourceOptions options)
type: akamai:properties:PropertyActivation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PropertyActivationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PropertyActivationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PropertyActivationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PropertyActivationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PropertyActivationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PropertyActivation Resource Properties

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

Inputs

The PropertyActivation resource accepts the following input properties:

Contacts List<string>

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

Version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

ActivationId string

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

AutoAcknowledgeRuleWarnings bool

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

Network string

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

Note string

A log message you can assign to the activation request.

Property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

PropertyId string

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

RuleErrors List<PropertyActivationRuleErrorArgs>
RuleWarnings List<PropertyActivationRuleWarningArgs>

Deprecated:

Rule warnings will not be set in state anymore

Contacts []string

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

Version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

ActivationId string

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

AutoAcknowledgeRuleWarnings bool

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

Network string

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

Note string

A log message you can assign to the activation request.

Property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

PropertyId string

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

RuleErrors []PropertyActivationRuleErrorArgs
RuleWarnings []PropertyActivationRuleWarningArgs

Deprecated:

Rule warnings will not be set in state anymore

contacts List<String>

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

version Integer

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

activationId String

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

autoAcknowledgeRuleWarnings Boolean

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

network String

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

note String

A log message you can assign to the activation request.

property String

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId String

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

ruleErrors List<PropertyActivationRuleErrorArgs>
ruleWarnings List<PropertyActivationRuleWarningArgs>

Deprecated:

Rule warnings will not be set in state anymore

contacts string[]

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

version number

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

activationId string

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

autoAcknowledgeRuleWarnings boolean

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

network string

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

note string

A log message you can assign to the activation request.

property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId string

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

ruleErrors PropertyActivationRuleErrorArgs[]
ruleWarnings PropertyActivationRuleWarningArgs[]

Deprecated:

Rule warnings will not be set in state anymore

contacts Sequence[str]

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

version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

activation_id str

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

auto_acknowledge_rule_warnings bool

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

network str

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

note str

A log message you can assign to the activation request.

property str

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

property_id str

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

rule_errors Sequence[PropertyActivationRuleErrorArgs]
rule_warnings Sequence[PropertyActivationRuleWarningArgs]

Deprecated:

Rule warnings will not be set in state anymore

contacts List<String>

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

version Number

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

activationId String

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

autoAcknowledgeRuleWarnings Boolean

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

network String

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

note String

A log message you can assign to the activation request.

property String

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId String

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

ruleErrors List<Property Map>
ruleWarnings List<Property Map>

Deprecated:

Rule warnings will not be set in state anymore

Outputs

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

Errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

Id string

The provider-assigned unique ID for this managed resource.

Status string

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

Warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

Errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

Id string

The provider-assigned unique ID for this managed resource.

Status string

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

Warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

errors String

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

id String

The provider-assigned unique ID for this managed resource.

status String

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

warnings String

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

id string

The provider-assigned unique ID for this managed resource.

status string

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

warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

errors str

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

id str

The provider-assigned unique ID for this managed resource.

status str

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

warnings str

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

errors String

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

id String

The provider-assigned unique ID for this managed resource.

status String

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

warnings String

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

Look up an Existing PropertyActivation Resource

Get an existing PropertyActivation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PropertyActivationState, opts?: CustomResourceOptions): PropertyActivation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        activation_id: Optional[str] = None,
        auto_acknowledge_rule_warnings: Optional[bool] = None,
        contacts: Optional[Sequence[str]] = None,
        errors: Optional[str] = None,
        network: Optional[str] = None,
        note: Optional[str] = None,
        property: Optional[str] = None,
        property_id: Optional[str] = None,
        rule_errors: Optional[Sequence[PropertyActivationRuleErrorArgs]] = None,
        rule_warnings: Optional[Sequence[PropertyActivationRuleWarningArgs]] = None,
        status: Optional[str] = None,
        version: Optional[int] = None,
        warnings: Optional[str] = None) -> PropertyActivation
func GetPropertyActivation(ctx *Context, name string, id IDInput, state *PropertyActivationState, opts ...ResourceOption) (*PropertyActivation, error)
public static PropertyActivation Get(string name, Input<string> id, PropertyActivationState? state, CustomResourceOptions? opts = null)
public static PropertyActivation get(String name, Output<String> id, PropertyActivationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ActivationId string

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

AutoAcknowledgeRuleWarnings bool

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

Contacts List<string>

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

Errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

Network string

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

Note string

A log message you can assign to the activation request.

Property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

PropertyId string

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

RuleErrors List<PropertyActivationRuleErrorArgs>
RuleWarnings List<PropertyActivationRuleWarningArgs>

Deprecated:

Rule warnings will not be set in state anymore

Status string

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

Version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

Warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

ActivationId string

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

AutoAcknowledgeRuleWarnings bool

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

Contacts []string

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

Errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

Network string

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

Note string

A log message you can assign to the activation request.

Property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

PropertyId string

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

RuleErrors []PropertyActivationRuleErrorArgs
RuleWarnings []PropertyActivationRuleWarningArgs

Deprecated:

Rule warnings will not be set in state anymore

Status string

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

Version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

Warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

activationId String

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

autoAcknowledgeRuleWarnings Boolean

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

contacts List<String>

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

errors String

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

network String

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

note String

A log message you can assign to the activation request.

property String

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId String

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

ruleErrors List<PropertyActivationRuleErrorArgs>
ruleWarnings List<PropertyActivationRuleWarningArgs>

Deprecated:

Rule warnings will not be set in state anymore

status String

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

version Integer

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

warnings String

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

activationId string

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

autoAcknowledgeRuleWarnings boolean

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

contacts string[]

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

errors string

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

network string

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

note string

A log message you can assign to the activation request.

property string

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId string

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

ruleErrors PropertyActivationRuleErrorArgs[]
ruleWarnings PropertyActivationRuleWarningArgs[]

Deprecated:

Rule warnings will not be set in state anymore

status string

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

version number

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

warnings string

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

activation_id str

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

auto_acknowledge_rule_warnings bool

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

contacts Sequence[str]

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

errors str

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

network str

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

note str

A log message you can assign to the activation request.

property str

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

property_id str

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

rule_errors Sequence[PropertyActivationRuleErrorArgs]
rule_warnings Sequence[PropertyActivationRuleWarningArgs]

Deprecated:

Rule warnings will not be set in state anymore

status str

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

version int

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

warnings str

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

activationId String

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

autoAcknowledgeRuleWarnings Boolean

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

contacts List<String>

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

errors String

The contents of errors field returned by the API. For more information see Errors in the PAPI documentation.

network String

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

note String

A log message you can assign to the activation request.

property String

- (Deprecated) Replaced by property_id. Maintained for legacy purposes.

Deprecated:

The setting "property" has been deprecated.

propertyId String

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

ruleErrors List<Property Map>
ruleWarnings List<Property Map>

Deprecated:

Rule warnings will not be set in state anymore

status String

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

version Number

The property version to activate. Previously this field was optional. It now depends on the akamai.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 latest_version attribute in the akamai.Property resource labeled example.

warnings String

The contents of warnings field returned by the API. For more information see Errors in the PAPI documentation.

Supporting Types

PropertyActivationRuleError

BehaviorName string
Detail string
ErrorLocation string
Instance string
StatusCode int
Title string
Type string
BehaviorName string
Detail string
ErrorLocation string
Instance string
StatusCode int
Title string
Type string
behaviorName String
detail String
errorLocation String
instance String
statusCode Integer
title String
type String
behaviorName string
detail string
errorLocation string
instance string
statusCode number
title string
type string
behaviorName String
detail String
errorLocation String
instance String
statusCode Number
title String
type String

PropertyActivationRuleWarning

BehaviorName string
Detail string
ErrorLocation string
Instance string
StatusCode int
Title string
Type string
BehaviorName string
Detail string
ErrorLocation string
Instance string
StatusCode int
Title string
Type string
behaviorName String
detail String
errorLocation String
instance String
statusCode Integer
title String
type String
behaviorName string
detail string
errorLocation string
instance string
statusCode number
title string
type string
behaviorName String
detail String
errorLocation String
instance String
statusCode Number
title String
type String

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.