akamai.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
Basic usage
using System.Collections.Generic;
using Pulumi;
using Akamai = Pulumi.Akamai;
return await Deployment.RunAsync(() =>
{
var example = new Akamai.CloudletsApplicationLoadBalancerActivation("example", new()
{
OriginId = "alb_test_1",
Network = "staging",
Version = 1,
});
return new Dictionary<string, object?>
{
["status"] = example.Status,
};
});
package main
import (
"github.com/pulumi/pulumi-akamai/sdk/v4/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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akamai.CloudletsApplicationLoadBalancerActivation;
import com.pulumi.akamai.CloudletsApplicationLoadBalancerActivationArgs;
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) {
var example = new CloudletsApplicationLoadBalancerActivation("example", CloudletsApplicationLoadBalancerActivationArgs.builder()
.originId("alb_test_1")
.network("staging")
.version(1)
.build());
ctx.export("status", example.status());
}
}
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;
resources:
example:
type: akamai:CloudletsApplicationLoadBalancerActivation
properties:
originId: alb_test_1
network: staging
version: 1
outputs:
status: ${example.status}
Create 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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- Origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- Origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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:
Look up 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.
- Network string
The network you want to activate the policy version on, either
staging
,stag
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- Origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- Origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
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
orNET_STORAGE
set in theorigin
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
, ands
for the Staging network, orproduction
,prod
, andp
for the Production network. All values are case insensitive.- origin
Id 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
orNET_STORAGE
set in theorigin
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
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.