Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.CloudwrapperConfiguration
Explore with Pulumi AI
Create CloudwrapperConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudwrapperConfiguration(name: string, args: CloudwrapperConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CloudwrapperConfiguration(resource_name: str,
args: CloudwrapperConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudwrapperConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
comments: Optional[str] = None,
config_name: Optional[str] = None,
contract_id: Optional[str] = None,
property_ids: Optional[Sequence[str]] = None,
capacity_alerts_threshold: Optional[int] = None,
locations: Optional[Sequence[CloudwrapperConfigurationLocationArgs]] = None,
notification_emails: Optional[Sequence[str]] = None,
retain_idle_objects: Optional[bool] = None,
timeouts: Optional[CloudwrapperConfigurationTimeoutsArgs] = None)
func NewCloudwrapperConfiguration(ctx *Context, name string, args CloudwrapperConfigurationArgs, opts ...ResourceOption) (*CloudwrapperConfiguration, error)
public CloudwrapperConfiguration(string name, CloudwrapperConfigurationArgs args, CustomResourceOptions? opts = null)
public CloudwrapperConfiguration(String name, CloudwrapperConfigurationArgs args)
public CloudwrapperConfiguration(String name, CloudwrapperConfigurationArgs args, CustomResourceOptions options)
type: akamai:CloudwrapperConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudwrapperConfigurationArgs
- 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 CloudwrapperConfigurationArgs
- 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 CloudwrapperConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudwrapperConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudwrapperConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudwrapperConfigurationResource = new Akamai.CloudwrapperConfiguration("cloudwrapperConfigurationResource", new()
{
Comments = "string",
ConfigName = "string",
ContractId = "string",
PropertyIds = new[]
{
"string",
},
CapacityAlertsThreshold = 0,
Locations = new[]
{
new Akamai.Inputs.CloudwrapperConfigurationLocationArgs
{
Comments = "string",
TrafficTypeId = 0,
Capacity = new Akamai.Inputs.CloudwrapperConfigurationLocationCapacityArgs
{
Unit = "string",
Value = 0,
},
},
},
NotificationEmails = new[]
{
"string",
},
RetainIdleObjects = false,
Timeouts = new Akamai.Inputs.CloudwrapperConfigurationTimeoutsArgs
{
Delete = "string",
},
});
example, err := akamai.NewCloudwrapperConfiguration(ctx, "cloudwrapperConfigurationResource", &akamai.CloudwrapperConfigurationArgs{
Comments: pulumi.String("string"),
ConfigName: pulumi.String("string"),
ContractId: pulumi.String("string"),
PropertyIds: pulumi.StringArray{
pulumi.String("string"),
},
CapacityAlertsThreshold: pulumi.Int(0),
Locations: akamai.CloudwrapperConfigurationLocationArray{
&akamai.CloudwrapperConfigurationLocationArgs{
Comments: pulumi.String("string"),
TrafficTypeId: pulumi.Int(0),
Capacity: &akamai.CloudwrapperConfigurationLocationCapacityArgs{
Unit: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
},
NotificationEmails: pulumi.StringArray{
pulumi.String("string"),
},
RetainIdleObjects: pulumi.Bool(false),
Timeouts: &akamai.CloudwrapperConfigurationTimeoutsArgs{
Delete: pulumi.String("string"),
},
})
var cloudwrapperConfigurationResource = new CloudwrapperConfiguration("cloudwrapperConfigurationResource", CloudwrapperConfigurationArgs.builder()
.comments("string")
.configName("string")
.contractId("string")
.propertyIds("string")
.capacityAlertsThreshold(0)
.locations(CloudwrapperConfigurationLocationArgs.builder()
.comments("string")
.trafficTypeId(0)
.capacity(CloudwrapperConfigurationLocationCapacityArgs.builder()
.unit("string")
.value(0)
.build())
.build())
.notificationEmails("string")
.retainIdleObjects(false)
.timeouts(CloudwrapperConfigurationTimeoutsArgs.builder()
.delete("string")
.build())
.build());
cloudwrapper_configuration_resource = akamai.CloudwrapperConfiguration("cloudwrapperConfigurationResource",
comments="string",
config_name="string",
contract_id="string",
property_ids=["string"],
capacity_alerts_threshold=0,
locations=[akamai.CloudwrapperConfigurationLocationArgs(
comments="string",
traffic_type_id=0,
capacity=akamai.CloudwrapperConfigurationLocationCapacityArgs(
unit="string",
value=0,
),
)],
notification_emails=["string"],
retain_idle_objects=False,
timeouts=akamai.CloudwrapperConfigurationTimeoutsArgs(
delete="string",
))
const cloudwrapperConfigurationResource = new akamai.CloudwrapperConfiguration("cloudwrapperConfigurationResource", {
comments: "string",
configName: "string",
contractId: "string",
propertyIds: ["string"],
capacityAlertsThreshold: 0,
locations: [{
comments: "string",
trafficTypeId: 0,
capacity: {
unit: "string",
value: 0,
},
}],
notificationEmails: ["string"],
retainIdleObjects: false,
timeouts: {
"delete": "string",
},
});
type: akamai:CloudwrapperConfiguration
properties:
capacityAlertsThreshold: 0
comments: string
configName: string
contractId: string
locations:
- capacity:
unit: string
value: 0
comments: string
trafficTypeId: 0
notificationEmails:
- string
propertyIds:
- string
retainIdleObjects: false
timeouts:
delete: string
CloudwrapperConfiguration 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 CloudwrapperConfiguration resource accepts the following input properties:
- Comments string
- Additional information you provide to differentiate or track changes of the configuration.
- Config
Name string - Name of the configuration.
- Contract
Id string - Contract ID having Cloud Wrapper entitlement.
- Property
Ids List<string> - List of properties belonging to eligible products.
- Capacity
Alerts intThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- Locations
List<Cloudwrapper
Configuration Location> - List of locations to use with the configuration.
- Notification
Emails List<string> - Email addresses to use for notifications.
- Retain
Idle boolObjects - Retain idle objects beyond their max idle lifetime.
- Timeouts
Cloudwrapper
Configuration Timeouts
- Comments string
- Additional information you provide to differentiate or track changes of the configuration.
- Config
Name string - Name of the configuration.
- Contract
Id string - Contract ID having Cloud Wrapper entitlement.
- Property
Ids []string - List of properties belonging to eligible products.
- Capacity
Alerts intThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- Locations
[]Cloudwrapper
Configuration Location Args - List of locations to use with the configuration.
- Notification
Emails []string - Email addresses to use for notifications.
- Retain
Idle boolObjects - Retain idle objects beyond their max idle lifetime.
- Timeouts
Cloudwrapper
Configuration Timeouts Args
- comments String
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name String - Name of the configuration.
- contract
Id String - Contract ID having Cloud Wrapper entitlement.
- property
Ids List<String> - List of properties belonging to eligible products.
- capacity
Alerts IntegerThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- locations
List<Cloudwrapper
Configuration Location> - List of locations to use with the configuration.
- notification
Emails List<String> - Email addresses to use for notifications.
- retain
Idle BooleanObjects - Retain idle objects beyond their max idle lifetime.
- timeouts
Cloudwrapper
Configuration Timeouts
- comments string
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name string - Name of the configuration.
- contract
Id string - Contract ID having Cloud Wrapper entitlement.
- property
Ids string[] - List of properties belonging to eligible products.
- capacity
Alerts numberThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- locations
Cloudwrapper
Configuration Location[] - List of locations to use with the configuration.
- notification
Emails string[] - Email addresses to use for notifications.
- retain
Idle booleanObjects - Retain idle objects beyond their max idle lifetime.
- timeouts
Cloudwrapper
Configuration Timeouts
- comments str
- Additional information you provide to differentiate or track changes of the configuration.
- config_
name str - Name of the configuration.
- contract_
id str - Contract ID having Cloud Wrapper entitlement.
- property_
ids Sequence[str] - List of properties belonging to eligible products.
- capacity_
alerts_ intthreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- locations
Sequence[Cloudwrapper
Configuration Location Args] - List of locations to use with the configuration.
- notification_
emails Sequence[str] - Email addresses to use for notifications.
- retain_
idle_ boolobjects - Retain idle objects beyond their max idle lifetime.
- timeouts
Cloudwrapper
Configuration Timeouts Args
- comments String
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name String - Name of the configuration.
- contract
Id String - Contract ID having Cloud Wrapper entitlement.
- property
Ids List<String> - List of properties belonging to eligible products.
- capacity
Alerts NumberThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- locations List<Property Map>
- List of locations to use with the configuration.
- notification
Emails List<String> - Email addresses to use for notifications.
- retain
Idle BooleanObjects - Retain idle objects beyond their max idle lifetime.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudwrapperConfiguration resource produces the following output properties:
Look up Existing CloudwrapperConfiguration Resource
Get an existing CloudwrapperConfiguration 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?: CloudwrapperConfigurationState, opts?: CustomResourceOptions): CloudwrapperConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity_alerts_threshold: Optional[int] = None,
comments: Optional[str] = None,
config_name: Optional[str] = None,
contract_id: Optional[str] = None,
locations: Optional[Sequence[CloudwrapperConfigurationLocationArgs]] = None,
notification_emails: Optional[Sequence[str]] = None,
property_ids: Optional[Sequence[str]] = None,
retain_idle_objects: Optional[bool] = None,
revision: Optional[str] = None,
timeouts: Optional[CloudwrapperConfigurationTimeoutsArgs] = None) -> CloudwrapperConfiguration
func GetCloudwrapperConfiguration(ctx *Context, name string, id IDInput, state *CloudwrapperConfigurationState, opts ...ResourceOption) (*CloudwrapperConfiguration, error)
public static CloudwrapperConfiguration Get(string name, Input<string> id, CloudwrapperConfigurationState? state, CustomResourceOptions? opts = null)
public static CloudwrapperConfiguration get(String name, Output<String> id, CloudwrapperConfigurationState 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.
- Capacity
Alerts intThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- Comments string
- Additional information you provide to differentiate or track changes of the configuration.
- Config
Name string - Name of the configuration.
- Contract
Id string - Contract ID having Cloud Wrapper entitlement.
- Locations
List<Cloudwrapper
Configuration Location> - List of locations to use with the configuration.
- Notification
Emails List<string> - Email addresses to use for notifications.
- Property
Ids List<string> - List of properties belonging to eligible products.
- Retain
Idle boolObjects - Retain idle objects beyond their max idle lifetime.
- Revision string
- Unique hash value of the configuration.
- Timeouts
Cloudwrapper
Configuration Timeouts
- Capacity
Alerts intThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- Comments string
- Additional information you provide to differentiate or track changes of the configuration.
- Config
Name string - Name of the configuration.
- Contract
Id string - Contract ID having Cloud Wrapper entitlement.
- Locations
[]Cloudwrapper
Configuration Location Args - List of locations to use with the configuration.
- Notification
Emails []string - Email addresses to use for notifications.
- Property
Ids []string - List of properties belonging to eligible products.
- Retain
Idle boolObjects - Retain idle objects beyond their max idle lifetime.
- Revision string
- Unique hash value of the configuration.
- Timeouts
Cloudwrapper
Configuration Timeouts Args
- capacity
Alerts IntegerThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- comments String
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name String - Name of the configuration.
- contract
Id String - Contract ID having Cloud Wrapper entitlement.
- locations
List<Cloudwrapper
Configuration Location> - List of locations to use with the configuration.
- notification
Emails List<String> - Email addresses to use for notifications.
- property
Ids List<String> - List of properties belonging to eligible products.
- retain
Idle BooleanObjects - Retain idle objects beyond their max idle lifetime.
- revision String
- Unique hash value of the configuration.
- timeouts
Cloudwrapper
Configuration Timeouts
- capacity
Alerts numberThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- comments string
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name string - Name of the configuration.
- contract
Id string - Contract ID having Cloud Wrapper entitlement.
- locations
Cloudwrapper
Configuration Location[] - List of locations to use with the configuration.
- notification
Emails string[] - Email addresses to use for notifications.
- property
Ids string[] - List of properties belonging to eligible products.
- retain
Idle booleanObjects - Retain idle objects beyond their max idle lifetime.
- revision string
- Unique hash value of the configuration.
- timeouts
Cloudwrapper
Configuration Timeouts
- capacity_
alerts_ intthreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- comments str
- Additional information you provide to differentiate or track changes of the configuration.
- config_
name str - Name of the configuration.
- contract_
id str - Contract ID having Cloud Wrapper entitlement.
- locations
Sequence[Cloudwrapper
Configuration Location Args] - List of locations to use with the configuration.
- notification_
emails Sequence[str] - Email addresses to use for notifications.
- property_
ids Sequence[str] - List of properties belonging to eligible products.
- retain_
idle_ boolobjects - Retain idle objects beyond their max idle lifetime.
- revision str
- Unique hash value of the configuration.
- timeouts
Cloudwrapper
Configuration Timeouts Args
- capacity
Alerts NumberThreshold - Capacity Alerts enablement information for the configuration. The Alert Threshold should be between 50 and 100.
- comments String
- Additional information you provide to differentiate or track changes of the configuration.
- config
Name String - Name of the configuration.
- contract
Id String - Contract ID having Cloud Wrapper entitlement.
- locations List<Property Map>
- List of locations to use with the configuration.
- notification
Emails List<String> - Email addresses to use for notifications.
- property
Ids List<String> - List of properties belonging to eligible products.
- retain
Idle BooleanObjects - Retain idle objects beyond their max idle lifetime.
- revision String
- Unique hash value of the configuration.
- timeouts Property Map
Supporting Types
CloudwrapperConfigurationLocation, CloudwrapperConfigurationLocationArgs
- Comments string
- Additional comments provided by the user.
- Traffic
Type intId - Unique identifier for the location and traffic type combination
- Capacity
Cloudwrapper
Configuration Location Capacity - The capacity assigned to this configuration's location
- Comments string
- Additional comments provided by the user.
- Traffic
Type intId - Unique identifier for the location and traffic type combination
- Capacity
Cloudwrapper
Configuration Location Capacity - The capacity assigned to this configuration's location
- comments String
- Additional comments provided by the user.
- traffic
Type IntegerId - Unique identifier for the location and traffic type combination
- capacity
Cloudwrapper
Configuration Location Capacity - The capacity assigned to this configuration's location
- comments string
- Additional comments provided by the user.
- traffic
Type numberId - Unique identifier for the location and traffic type combination
- capacity
Cloudwrapper
Configuration Location Capacity - The capacity assigned to this configuration's location
- comments str
- Additional comments provided by the user.
- traffic_
type_ intid - Unique identifier for the location and traffic type combination
- capacity
Cloudwrapper
Configuration Location Capacity - The capacity assigned to this configuration's location
- comments String
- Additional comments provided by the user.
- traffic
Type NumberId - Unique identifier for the location and traffic type combination
- capacity Property Map
- The capacity assigned to this configuration's location
CloudwrapperConfigurationLocationCapacity, CloudwrapperConfigurationLocationCapacityArgs
CloudwrapperConfigurationTimeouts, CloudwrapperConfigurationTimeoutsArgs
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.