akamai.CloudletsApplicationLoadBalancer
Use the akamai.CloudletsApplicationLoadBalancer
resource to create the Application Load Balancer Cloudlet configuration. The Application Load Balancer Cloudlet provides intelligent, scalable traffic management across physical, virtual, and cloud-hosted data centers without requiring the origin to send load feedback. This Cloudlet can automatically detect load conditions and route traffic to the optimal data source while maintaining custom routing policies and consistent visitor session behavior for your visitors.
Example Usage
Basic usage
using System.Collections.Generic;
using Pulumi;
using Akamai = Pulumi.Akamai;
return await Deployment.RunAsync(() =>
{
var example = new Akamai.CloudletsApplicationLoadBalancer("example", new()
{
BalancingType = "WEIGHTED",
DataCenters = new[]
{
new Akamai.Inputs.CloudletsApplicationLoadBalancerDataCenterArgs
{
City = "Boston",
CloudServerHostHeaderOverride = false,
CloudService = true,
Continent = "NA",
Country = "US",
Hostname = "example-hostname",
Latitude = 102.78108,
LivenessHosts = new[]
{
"example",
},
Longitude = -116.07064,
OriginId = "alb_test_1",
Percent = 100,
StateOrProvince = "MA",
},
},
Description = "application_load_balancer description",
LivenessSettings = new Akamai.Inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs
{
AdditionalHeaders =
{
{ "additionalHeaders", "123" },
},
HostHeader = "header",
Interval = 10,
Path = "/status",
Port = 1234,
Protocol = "HTTP",
RequestString = "test_request_string",
ResponseString = "test_response_string",
Timeout = 60,
},
OriginId = "alb_test_1",
});
});
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 {
_, err := akamai.NewCloudletsApplicationLoadBalancer(ctx, "example", &akamai.CloudletsApplicationLoadBalancerArgs{
BalancingType: pulumi.String("WEIGHTED"),
DataCenters: akamai.CloudletsApplicationLoadBalancerDataCenterArray{
&akamai.CloudletsApplicationLoadBalancerDataCenterArgs{
City: pulumi.String("Boston"),
CloudServerHostHeaderOverride: pulumi.Bool(false),
CloudService: pulumi.Bool(true),
Continent: pulumi.String("NA"),
Country: pulumi.String("US"),
Hostname: pulumi.String("example-hostname"),
Latitude: pulumi.Float64(102.78108),
LivenessHosts: pulumi.StringArray{
pulumi.String("example"),
},
Longitude: -116.07064,
OriginId: pulumi.String("alb_test_1"),
Percent: pulumi.Float64(100),
StateOrProvince: pulumi.String("MA"),
},
},
Description: pulumi.String("application_load_balancer description"),
LivenessSettings: &akamai.CloudletsApplicationLoadBalancerLivenessSettingsArgs{
AdditionalHeaders: pulumi.StringMap{
"additionalHeaders": pulumi.String("123"),
},
HostHeader: pulumi.String("header"),
Interval: pulumi.Int(10),
Path: pulumi.String("/status"),
Port: pulumi.Int(1234),
Protocol: pulumi.String("HTTP"),
RequestString: pulumi.String("test_request_string"),
ResponseString: pulumi.String("test_response_string"),
Timeout: pulumi.Float64(60),
},
OriginId: pulumi.String("alb_test_1"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_akamai as akamai
example = akamai.CloudletsApplicationLoadBalancer("example",
balancing_type="WEIGHTED",
data_centers=[akamai.CloudletsApplicationLoadBalancerDataCenterArgs(
city="Boston",
cloud_server_host_header_override=False,
cloud_service=True,
continent="NA",
country="US",
hostname="example-hostname",
latitude=102.78108,
liveness_hosts=["example"],
longitude=-116.07064,
origin_id="alb_test_1",
percent=100,
state_or_province="MA",
)],
description="application_load_balancer description",
liveness_settings=akamai.CloudletsApplicationLoadBalancerLivenessSettingsArgs(
additional_headers={
"additionalHeaders": "123",
},
host_header="header",
interval=10,
path="/status",
port=1234,
protocol="HTTP",
request_string="test_request_string",
response_string="test_response_string",
timeout=60,
),
origin_id="alb_test_1")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
const example = new akamai.CloudletsApplicationLoadBalancer("example", {
balancingType: "WEIGHTED",
dataCenters: [{
city: "Boston",
cloudServerHostHeaderOverride: false,
cloudService: true,
continent: "NA",
country: "US",
hostname: "example-hostname",
latitude: 102.78108,
livenessHosts: ["example"],
longitude: -116.07064,
originId: "alb_test_1",
percent: 100,
stateOrProvince: "MA",
}],
description: "application_load_balancer description",
livenessSettings: {
additionalHeaders: {
additionalHeaders: "123",
},
hostHeader: "header",
interval: 10,
path: "/status",
port: 1234,
protocol: "HTTP",
requestString: "test_request_string",
responseString: "test_response_string",
timeout: 60,
},
originId: "alb_test_1",
});
Coming soon!
Create CloudletsApplicationLoadBalancer Resource
new CloudletsApplicationLoadBalancer(name: string, args: CloudletsApplicationLoadBalancerArgs, opts?: CustomResourceOptions);
@overload
def CloudletsApplicationLoadBalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
balancing_type: Optional[str] = None,
data_centers: Optional[Sequence[CloudletsApplicationLoadBalancerDataCenterArgs]] = None,
description: Optional[str] = None,
liveness_settings: Optional[CloudletsApplicationLoadBalancerLivenessSettingsArgs] = None,
origin_id: Optional[str] = None)
@overload
def CloudletsApplicationLoadBalancer(resource_name: str,
args: CloudletsApplicationLoadBalancerArgs,
opts: Optional[ResourceOptions] = None)
func NewCloudletsApplicationLoadBalancer(ctx *Context, name string, args CloudletsApplicationLoadBalancerArgs, opts ...ResourceOption) (*CloudletsApplicationLoadBalancer, error)
public CloudletsApplicationLoadBalancer(string name, CloudletsApplicationLoadBalancerArgs args, CustomResourceOptions? opts = null)
public CloudletsApplicationLoadBalancer(String name, CloudletsApplicationLoadBalancerArgs args)
public CloudletsApplicationLoadBalancer(String name, CloudletsApplicationLoadBalancerArgs args, CustomResourceOptions options)
type: akamai:CloudletsApplicationLoadBalancer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudletsApplicationLoadBalancerArgs
- 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 CloudletsApplicationLoadBalancerArgs
- 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 CloudletsApplicationLoadBalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudletsApplicationLoadBalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudletsApplicationLoadBalancerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CloudletsApplicationLoadBalancer 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 CloudletsApplicationLoadBalancer resource accepts the following input properties:
- Data
Centers List<CloudletsApplication Load Balancer Data Center Args> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- Balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- Description string
The description of the load balancing configuration.
- Liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- Data
Centers []CloudletsApplication Load Balancer Data Center Args Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- Balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- Description string
The description of the load balancing configuration.
- Liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- data
Centers List<CloudletsApplication Load Balancer Data Center Args> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- balancing
Type String The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- description String
The description of the load balancing configuration.
- liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- data
Centers CloudletsApplication Load Balancer Data Center Args[] Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- description string
The description of the load balancing configuration.
- liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- data_
centers Sequence[CloudletsApplication Load Balancer Data Center Args] Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- balancing_
type str The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- description str
The description of the load balancing configuration.
- liveness_
settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- data
Centers List<Property Map> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- 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.- balancing
Type String The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- description String
The description of the load balancing configuration.
- liveness
Settings Property Map Specifies the health of each load balanced data center defined in the data center list.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudletsApplicationLoadBalancer resource produces the following output properties:
Look up Existing CloudletsApplicationLoadBalancer Resource
Get an existing CloudletsApplicationLoadBalancer 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?: CloudletsApplicationLoadBalancerState, opts?: CustomResourceOptions): CloudletsApplicationLoadBalancer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
balancing_type: Optional[str] = None,
data_centers: Optional[Sequence[CloudletsApplicationLoadBalancerDataCenterArgs]] = None,
description: Optional[str] = None,
liveness_settings: Optional[CloudletsApplicationLoadBalancerLivenessSettingsArgs] = None,
origin_id: Optional[str] = None,
version: Optional[int] = None,
warnings: Optional[str] = None) -> CloudletsApplicationLoadBalancer
func GetCloudletsApplicationLoadBalancer(ctx *Context, name string, id IDInput, state *CloudletsApplicationLoadBalancerState, opts ...ResourceOption) (*CloudletsApplicationLoadBalancer, error)
public static CloudletsApplicationLoadBalancer Get(string name, Input<string> id, CloudletsApplicationLoadBalancerState? state, CustomResourceOptions? opts = null)
public static CloudletsApplicationLoadBalancer get(String name, Output<String> id, CloudletsApplicationLoadBalancerState 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.
- Balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- Data
Centers List<CloudletsApplication Load Balancer Data Center Args> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- Description string
The description of the load balancing configuration.
- Liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- Warnings string
A list of warnings that occurred during the activation of the load balancing configuration.
- Balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- Data
Centers []CloudletsApplication Load Balancer Data Center Args Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- Description string
The description of the load balancing configuration.
- Liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- Warnings string
A list of warnings that occurred during the activation of the load balancing configuration.
- balancing
Type String The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- data
Centers List<CloudletsApplication Load Balancer Data Center Args> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- description String
The description of the load balancing configuration.
- liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- warnings String
A list of warnings that occurred during the activation of the load balancing configuration.
- balancing
Type string The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- data
Centers CloudletsApplication Load Balancer Data Center Args[] Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- description string
The description of the load balancing configuration.
- liveness
Settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- warnings string
A list of warnings that occurred during the activation of the load balancing configuration.
- balancing_
type str The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- data_
centers Sequence[CloudletsApplication Load Balancer Data Center Args] Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- description str
The description of the load balancing configuration.
- liveness_
settings CloudletsApplication Load Balancer Liveness Settings Args Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- warnings str
A list of warnings that occurred during the activation of the load balancing configuration.
- balancing
Type String The type of load balancing being performed, either
WEIGHTED
orPERFORMANCE
.- data
Centers List<Property Map> Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of
CUSTOMER
orNETSTORAGE
can be used as data centers in an Application Load Balancer configuration.- description String
The description of the load balancing configuration.
- liveness
Settings Property Map Specifies the health of each load balanced data center defined in the data center list.
- 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 version number of the load balancing configuration.
- warnings String
A list of warnings that occurred during the activation of the load balancing configuration.
Supporting Types
CloudletsApplicationLoadBalancerDataCenter
- Continent string
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- Country string
The country in which the data center is located. See Country Codes for a list of valid codes.
- Latitude double
The latitude value for the data center. This member supports six decimal places of precision.
- Longitude double
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- Percent double
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- City string
The city in which the data center is located.
- Cloud
Server boolHost Header Override Whether to override the cloud server host header.
- Cloud
Service bool Whether this datacenter is a cloud service.
- Hostname string
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- Liveness
Hosts List<string> A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- State
Or stringProvince The state, province, or region where the data center is located.
- Continent string
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- Country string
The country in which the data center is located. See Country Codes for a list of valid codes.
- Latitude float64
The latitude value for the data center. This member supports six decimal places of precision.
- Longitude float64
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- Percent float64
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- City string
The city in which the data center is located.
- Cloud
Server boolHost Header Override Whether to override the cloud server host header.
- Cloud
Service bool Whether this datacenter is a cloud service.
- Hostname string
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- Liveness
Hosts []string A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- State
Or stringProvince The state, province, or region where the data center is located.
- continent String
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- country String
The country in which the data center is located. See Country Codes for a list of valid codes.
- latitude Double
The latitude value for the data center. This member supports six decimal places of precision.
- longitude Double
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- percent Double
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- city String
The city in which the data center is located.
- cloud
Server BooleanHost Header Override Whether to override the cloud server host header.
- cloud
Service Boolean Whether this datacenter is a cloud service.
- hostname String
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- liveness
Hosts List<String> A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- state
Or StringProvince The state, province, or region where the data center is located.
- continent string
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- country string
The country in which the data center is located. See Country Codes for a list of valid codes.
- latitude number
The latitude value for the data center. This member supports six decimal places of precision.
- longitude number
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- percent number
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- city string
The city in which the data center is located.
- cloud
Server booleanHost Header Override Whether to override the cloud server host header.
- cloud
Service boolean Whether this datacenter is a cloud service.
- hostname string
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- liveness
Hosts string[] A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- state
Or stringProvince The state, province, or region where the data center is located.
- continent str
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- country str
The country in which the data center is located. See Country Codes for a list of valid codes.
- latitude float
The latitude value for the data center. This member supports six decimal places of precision.
- longitude float
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- percent float
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- city str
The city in which the data center is located.
- cloud_
server_ boolhost_ header_ override Whether to override the cloud server host header.
- cloud_
service bool Whether this datacenter is a cloud service.
- hostname str
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- liveness_
hosts Sequence[str] A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- state_
or_ strprovince The state, province, or region where the data center is located.
- continent String
The code of the continent on which the data center is located. See Continent Codes for a list of valid codes.
- country String
The country in which the data center is located. See Country Codes for a list of valid codes.
- latitude Number
The latitude value for the data center. This member supports six decimal places of precision.
- longitude Number
The longitude value for the data center. This member supports six decimal places of precision.
- 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.- percent Number
The percent of traffic that is sent to the data center. The total for all data centers must equal 100%.
- city String
The city in which the data center is located.
- cloud
Server BooleanHost Header Override Whether to override the cloud server host header.
- cloud
Service Boolean Whether this datacenter is a cloud service.
- hostname String
The name of the host that can be used as a Conditional Origin. This should match the
hostname
value defined for this datacenter in Property Manager.- liveness
Hosts List<String> A list of the origin servers used to poll the data centers in an Application Load Balancer configuration. These servers support basic HTTP polling.
- state
Or StringProvince The state, province, or region where the data center is located.
CloudletsApplicationLoadBalancerLivenessSettings
- Path string
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- Port int
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- Protocol string
The protocol or scheme for the database, either
HTTP
orHTTPS
.- Additional
Headers Dictionary<string, string> Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- Host
Header string The Host header for the liveness HTTP request.
- Interval int
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- Peer
Certificate boolVerification Whether to validate the origin certificate for an HTTPS request.
- Request
String string The request used for TCP and TCPS tests.
- Response
String string The response used for TCP and TCPS tests.
- Status3xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- Status4xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- Status5xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- Timeout double
The number of seconds the system waits before failing the liveness test.
- Path string
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- Port int
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- Protocol string
The protocol or scheme for the database, either
HTTP
orHTTPS
.- Additional
Headers map[string]string Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- Host
Header string The Host header for the liveness HTTP request.
- Interval int
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- Peer
Certificate boolVerification Whether to validate the origin certificate for an HTTPS request.
- Request
String string The request used for TCP and TCPS tests.
- Response
String string The response used for TCP and TCPS tests.
- Status3xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- Status4xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- Status5xx
Failure bool If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- Timeout float64
The number of seconds the system waits before failing the liveness test.
- path String
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- port Integer
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- protocol String
The protocol or scheme for the database, either
HTTP
orHTTPS
.- additional
Headers Map<String,String> Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- host
Header String The Host header for the liveness HTTP request.
- interval Integer
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- peer
Certificate BooleanVerification Whether to validate the origin certificate for an HTTPS request.
- request
String String The request used for TCP and TCPS tests.
- response
String String The response used for TCP and TCPS tests.
- status3xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- status4xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- status5xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- timeout Double
The number of seconds the system waits before failing the liveness test.
- path string
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- port number
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- protocol string
The protocol or scheme for the database, either
HTTP
orHTTPS
.- additional
Headers {[key: string]: string} Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- host
Header string The Host header for the liveness HTTP request.
- interval number
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- peer
Certificate booleanVerification Whether to validate the origin certificate for an HTTPS request.
- request
String string The request used for TCP and TCPS tests.
- response
String string The response used for TCP and TCPS tests.
- status3xx
Failure boolean If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- status4xx
Failure boolean If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- status5xx
Failure boolean If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- timeout number
The number of seconds the system waits before failing the liveness test.
- path str
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- port int
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- protocol str
The protocol or scheme for the database, either
HTTP
orHTTPS
.- additional_
headers Mapping[str, str] Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- host_
header str The Host header for the liveness HTTP request.
- interval int
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- peer_
certificate_ boolverification Whether to validate the origin certificate for an HTTPS request.
- request_
string str The request used for TCP and TCPS tests.
- response_
string str The response used for TCP and TCPS tests.
- status3xx_
failure bool If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- status4xx_
failure bool If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- status5xx_
failure bool If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- timeout float
The number of seconds the system waits before failing the liveness test.
- path String
The path to the test object used for liveness testing. The function of the test object is to help determine whether the data center is functioning.
- port Number
The port for the test object. The default port is 80, which is standard for HTTP. Enter 443 if you are using HTTPS.
- protocol String
The protocol or scheme for the database, either
HTTP
orHTTPS
.- additional
Headers Map<String> Maps additional case-insensitive HTTP header names included to the liveness testing requests.
- host
Header String The Host header for the liveness HTTP request.
- interval Number
The frequency of liveness tests. Defaults to 60 seconds, minimum is 10 seconds.
- peer
Certificate BooleanVerification Whether to validate the origin certificate for an HTTPS request.
- request
String String The request used for TCP and TCPS tests.
- response
String String The response used for TCP and TCPS tests.
- status3xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 3xx (redirection) status code.- status4xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 4xx (client error) status code.- status5xx
Failure Boolean If set to
true
, marks the liveness test as failed when the request returns a 5xx (server error) status code.- timeout Number
The number of seconds the system waits before failing the liveness test.
Import
Basic usagehcl resource “akamai_cloudlets_application_load_balancer” “example” {
(resource arguments)
} You can import your Akamai Application Load Balancer configuration using an origin ID. For example
$ pulumi import akamai:index/cloudletsApplicationLoadBalancer:CloudletsApplicationLoadBalancer example alb_test_1
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.