Akamai

Pulumi Official
Package maintained by Pulumi
v2.9.0 published on Wednesday, Apr 6, 2022 by Pulumi

CloudletsApplicationLoadBalancerActivation

Use the akamai.CloudletsApplicationLoadBalancerActivation resource to activate the Application Load Balancer Cloudlet configuration. An activation deploys the configuration 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 Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Akamai.CloudletsApplicationLoadBalancerActivation("example", new Akamai.CloudletsApplicationLoadBalancerActivationArgs
        {
            OriginId = "alb_test_1",
            Network = "staging",
            Version = 1,
        });
        this.Status = example.Status;
    }

    [Output("status")]
    public Output<string> Status { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v2/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := akamai.NewCloudletsApplicationLoadBalancerActivation(ctx, "example", &akamai.CloudletsApplicationLoadBalancerActivationArgs{
			OriginId: pulumi.String("alb_test_1"),
			Network:  pulumi.String("staging"),
			Version:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		ctx.Export("status", example.Status)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_akamai as akamai

example = akamai.CloudletsApplicationLoadBalancerActivation("example",
    origin_id="alb_test_1",
    network="staging",
    version=1)
pulumi.export("status", example.status)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const example = new akamai.CloudletsApplicationLoadBalancerActivation("example", {
    originId: "alb_test_1",
    network: "staging",
    version: 1,
});
export const status = example.status;

Coming soon!

Create a CloudletsApplicationLoadBalancerActivation Resource

new CloudletsApplicationLoadBalancerActivation(name: string, args: CloudletsApplicationLoadBalancerActivationArgs, opts?: CustomResourceOptions);
@overload
def CloudletsApplicationLoadBalancerActivation(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               network: Optional[str] = None,
                                               origin_id: Optional[str] = None,
                                               version: Optional[int] = None)
@overload
def CloudletsApplicationLoadBalancerActivation(resource_name: str,
                                               args: CloudletsApplicationLoadBalancerActivationArgs,
                                               opts: Optional[ResourceOptions] = None)
func NewCloudletsApplicationLoadBalancerActivation(ctx *Context, name string, args CloudletsApplicationLoadBalancerActivationArgs, opts ...ResourceOption) (*CloudletsApplicationLoadBalancerActivation, error)
public CloudletsApplicationLoadBalancerActivation(string name, CloudletsApplicationLoadBalancerActivationArgs args, CustomResourceOptions? opts = null)
public CloudletsApplicationLoadBalancerActivation(String name, CloudletsApplicationLoadBalancerActivationArgs args)
public CloudletsApplicationLoadBalancerActivation(String name, CloudletsApplicationLoadBalancerActivationArgs args, CustomResourceOptions options)
type: akamai:CloudletsApplicationLoadBalancerActivation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CloudletsApplicationLoadBalancerActivationArgs
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 CloudletsApplicationLoadBalancerActivationArgs
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 CloudletsApplicationLoadBalancerActivationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudletsApplicationLoadBalancerActivationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CloudletsApplicationLoadBalancerActivationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CloudletsApplicationLoadBalancerActivation 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 CloudletsApplicationLoadBalancerActivation resource accepts the following input properties:

Network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

OriginId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

Version int

The Application Load Balancer Cloudlet configuration version you want to activate.

Network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

OriginId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

Version int

The Application Load Balancer Cloudlet configuration version you want to activate.

network String

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId String

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

version Integer

The Application Load Balancer Cloudlet configuration version you want to activate.

network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

version number

The Application Load Balancer Cloudlet configuration version you want to activate.

network str

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

origin_id str

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

version int

The Application Load Balancer Cloudlet configuration version you want to activate.

network String

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId String

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

version Number

The Application Load Balancer Cloudlet configuration version you want to activate.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

The activation status for this load balancing configuration.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The activation status for this load balancing configuration.

id String

The provider-assigned unique ID for this managed resource.

status String

The activation status for this load balancing configuration.

id string

The provider-assigned unique ID for this managed resource.

status string

The activation status for this load balancing configuration.

id str

The provider-assigned unique ID for this managed resource.

status str

The activation status for this load balancing configuration.

id String

The provider-assigned unique ID for this managed resource.

status String

The activation status for this load balancing configuration.

Look up an Existing CloudletsApplicationLoadBalancerActivation Resource

Get an existing CloudletsApplicationLoadBalancerActivation 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?: CloudletsApplicationLoadBalancerActivationState, opts?: CustomResourceOptions): CloudletsApplicationLoadBalancerActivation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        network: Optional[str] = None,
        origin_id: Optional[str] = None,
        status: Optional[str] = None,
        version: Optional[int] = None) -> CloudletsApplicationLoadBalancerActivation
func GetCloudletsApplicationLoadBalancerActivation(ctx *Context, name string, id IDInput, state *CloudletsApplicationLoadBalancerActivationState, opts ...ResourceOption) (*CloudletsApplicationLoadBalancerActivation, error)
public static CloudletsApplicationLoadBalancerActivation Get(string name, Input<string> id, CloudletsApplicationLoadBalancerActivationState? state, CustomResourceOptions? opts = null)
public static CloudletsApplicationLoadBalancerActivation get(String name, Output<String> id, CloudletsApplicationLoadBalancerActivationState 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:
Network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

OriginId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

Status string

The activation status for this load balancing configuration.

Version int

The Application Load Balancer Cloudlet configuration version you want to activate.

Network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

OriginId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

Status string

The activation status for this load balancing configuration.

Version int

The Application Load Balancer Cloudlet configuration version you want to activate.

network String

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId String

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

status String

The activation status for this load balancing configuration.

version Integer

The Application Load Balancer Cloudlet configuration version you want to activate.

network string

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId string

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

status string

The activation status for this load balancing configuration.

version number

The Application Load Balancer Cloudlet configuration version you want to activate.

network str

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

origin_id str

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

status str

The activation status for this load balancing configuration.

version int

The Application Load Balancer Cloudlet configuration version you want to activate.

network String

The network you want to activate the policy version on, either staging, stag, and s for the Staging network, or production, prod, and p for the Production network. All values are case insensitive.

originId String

The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either CUSTOMER or NET_STORAGE set in the origin behavior. See property rules for more information.

status String

The activation status for this load balancing configuration.

version Number

The Application Load Balancer Cloudlet configuration version you want to activate.

Package Details

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

This Pulumi package is based on the akamai Terraform Provider.