1. Packages
  2. Akamai
  3. API Docs
  4. CloudletsPolicyActivation
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.CloudletsPolicyActivation

Explore with Pulumi AI

Create CloudletsPolicyActivation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CloudletsPolicyActivation(name: string, args: CloudletsPolicyActivationArgs, opts?: CustomResourceOptions);
@overload
def CloudletsPolicyActivation(resource_name: str,
                              args: CloudletsPolicyActivationArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def CloudletsPolicyActivation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              network: Optional[str] = None,
                              policy_id: Optional[int] = None,
                              version: Optional[int] = None,
                              associated_properties: Optional[Sequence[str]] = None,
                              timeouts: Optional[CloudletsPolicyActivationTimeoutsArgs] = None)
func NewCloudletsPolicyActivation(ctx *Context, name string, args CloudletsPolicyActivationArgs, opts ...ResourceOption) (*CloudletsPolicyActivation, error)
public CloudletsPolicyActivation(string name, CloudletsPolicyActivationArgs args, CustomResourceOptions? opts = null)
public CloudletsPolicyActivation(String name, CloudletsPolicyActivationArgs args)
public CloudletsPolicyActivation(String name, CloudletsPolicyActivationArgs args, CustomResourceOptions options)
type: akamai:CloudletsPolicyActivation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CloudletsPolicyActivationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CloudletsPolicyActivationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CloudletsPolicyActivationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CloudletsPolicyActivationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CloudletsPolicyActivationArgs
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 cloudletsPolicyActivationResource = new Akamai.CloudletsPolicyActivation("cloudletsPolicyActivationResource", new()
{
    Network = "string",
    PolicyId = 0,
    Version = 0,
    AssociatedProperties = new[]
    {
        "string",
    },
    Timeouts = new Akamai.Inputs.CloudletsPolicyActivationTimeoutsArgs
    {
        Default = "string",
    },
});
Copy
example, err := akamai.NewCloudletsPolicyActivation(ctx, "cloudletsPolicyActivationResource", &akamai.CloudletsPolicyActivationArgs{
	Network:  pulumi.String("string"),
	PolicyId: pulumi.Int(0),
	Version:  pulumi.Int(0),
	AssociatedProperties: pulumi.StringArray{
		pulumi.String("string"),
	},
	Timeouts: &akamai.CloudletsPolicyActivationTimeoutsArgs{
		Default: pulumi.String("string"),
	},
})
Copy
var cloudletsPolicyActivationResource = new CloudletsPolicyActivation("cloudletsPolicyActivationResource", CloudletsPolicyActivationArgs.builder()
    .network("string")
    .policyId(0)
    .version(0)
    .associatedProperties("string")
    .timeouts(CloudletsPolicyActivationTimeoutsArgs.builder()
        .default_("string")
        .build())
    .build());
Copy
cloudlets_policy_activation_resource = akamai.CloudletsPolicyActivation("cloudletsPolicyActivationResource",
    network="string",
    policy_id=0,
    version=0,
    associated_properties=["string"],
    timeouts={
        "default": "string",
    })
Copy
const cloudletsPolicyActivationResource = new akamai.CloudletsPolicyActivation("cloudletsPolicyActivationResource", {
    network: "string",
    policyId: 0,
    version: 0,
    associatedProperties: ["string"],
    timeouts: {
        "default": "string",
    },
});
Copy
type: akamai:CloudletsPolicyActivation
properties:
    associatedProperties:
        - string
    network: string
    policyId: 0
    timeouts:
        default: string
    version: 0
Copy

CloudletsPolicyActivation Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CloudletsPolicyActivation resource accepts the following input properties:

Network This property is required. string
The network you want to activate the policy version on (options are Staging and Production)
PolicyId
This property is required.
Changes to this property will trigger replacement.
int
ID of the Cloudlets policy you want to activate
Version This property is required. int
Cloudlets policy version you want to activate
AssociatedProperties List<string>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
Timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
Network This property is required. string
The network you want to activate the policy version on (options are Staging and Production)
PolicyId
This property is required.
Changes to this property will trigger replacement.
int
ID of the Cloudlets policy you want to activate
Version This property is required. int
Cloudlets policy version you want to activate
AssociatedProperties []string
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
Timeouts CloudletsPolicyActivationTimeoutsArgs
Enables to set timeout for processing
network This property is required. String
The network you want to activate the policy version on (options are Staging and Production)
policyId
This property is required.
Changes to this property will trigger replacement.
Integer
ID of the Cloudlets policy you want to activate
version This property is required. Integer
Cloudlets policy version you want to activate
associatedProperties List<String>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
network This property is required. string
The network you want to activate the policy version on (options are Staging and Production)
policyId
This property is required.
Changes to this property will trigger replacement.
number
ID of the Cloudlets policy you want to activate
version This property is required. number
Cloudlets policy version you want to activate
associatedProperties string[]
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
network This property is required. str
The network you want to activate the policy version on (options are Staging and Production)
policy_id
This property is required.
Changes to this property will trigger replacement.
int
ID of the Cloudlets policy you want to activate
version This property is required. int
Cloudlets policy version you want to activate
associated_properties Sequence[str]
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
timeouts CloudletsPolicyActivationTimeoutsArgs
Enables to set timeout for processing
network This property is required. String
The network you want to activate the policy version on (options are Staging and Production)
policyId
This property is required.
Changes to this property will trigger replacement.
Number
ID of the Cloudlets policy you want to activate
version This property is required. Number
Cloudlets policy version you want to activate
associatedProperties List<String>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
timeouts Property Map
Enables to set timeout for processing

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
IsShared bool
Indicates if policy that is being activated is a shared policy
Status string
Activation status for this Cloudlets policy
Id string
The provider-assigned unique ID for this managed resource.
IsShared bool
Indicates if policy that is being activated is a shared policy
Status string
Activation status for this Cloudlets policy
id String
The provider-assigned unique ID for this managed resource.
isShared Boolean
Indicates if policy that is being activated is a shared policy
status String
Activation status for this Cloudlets policy
id string
The provider-assigned unique ID for this managed resource.
isShared boolean
Indicates if policy that is being activated is a shared policy
status string
Activation status for this Cloudlets policy
id str
The provider-assigned unique ID for this managed resource.
is_shared bool
Indicates if policy that is being activated is a shared policy
status str
Activation status for this Cloudlets policy
id String
The provider-assigned unique ID for this managed resource.
isShared Boolean
Indicates if policy that is being activated is a shared policy
status String
Activation status for this Cloudlets policy

Look up Existing CloudletsPolicyActivation Resource

Get an existing CloudletsPolicyActivation 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?: CloudletsPolicyActivationState, opts?: CustomResourceOptions): CloudletsPolicyActivation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        associated_properties: Optional[Sequence[str]] = None,
        is_shared: Optional[bool] = None,
        network: Optional[str] = None,
        policy_id: Optional[int] = None,
        status: Optional[str] = None,
        timeouts: Optional[CloudletsPolicyActivationTimeoutsArgs] = None,
        version: Optional[int] = None) -> CloudletsPolicyActivation
func GetCloudletsPolicyActivation(ctx *Context, name string, id IDInput, state *CloudletsPolicyActivationState, opts ...ResourceOption) (*CloudletsPolicyActivation, error)
public static CloudletsPolicyActivation Get(string name, Input<string> id, CloudletsPolicyActivationState? state, CustomResourceOptions? opts = null)
public static CloudletsPolicyActivation get(String name, Output<String> id, CloudletsPolicyActivationState state, CustomResourceOptions options)
resources:  _:    type: akamai:CloudletsPolicyActivation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AssociatedProperties List<string>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
IsShared bool
Indicates if policy that is being activated is a shared policy
Network string
The network you want to activate the policy version on (options are Staging and Production)
PolicyId Changes to this property will trigger replacement. int
ID of the Cloudlets policy you want to activate
Status string
Activation status for this Cloudlets policy
Timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
Version int
Cloudlets policy version you want to activate
AssociatedProperties []string
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
IsShared bool
Indicates if policy that is being activated is a shared policy
Network string
The network you want to activate the policy version on (options are Staging and Production)
PolicyId Changes to this property will trigger replacement. int
ID of the Cloudlets policy you want to activate
Status string
Activation status for this Cloudlets policy
Timeouts CloudletsPolicyActivationTimeoutsArgs
Enables to set timeout for processing
Version int
Cloudlets policy version you want to activate
associatedProperties List<String>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
isShared Boolean
Indicates if policy that is being activated is a shared policy
network String
The network you want to activate the policy version on (options are Staging and Production)
policyId Changes to this property will trigger replacement. Integer
ID of the Cloudlets policy you want to activate
status String
Activation status for this Cloudlets policy
timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
version Integer
Cloudlets policy version you want to activate
associatedProperties string[]
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
isShared boolean
Indicates if policy that is being activated is a shared policy
network string
The network you want to activate the policy version on (options are Staging and Production)
policyId Changes to this property will trigger replacement. number
ID of the Cloudlets policy you want to activate
status string
Activation status for this Cloudlets policy
timeouts CloudletsPolicyActivationTimeouts
Enables to set timeout for processing
version number
Cloudlets policy version you want to activate
associated_properties Sequence[str]
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
is_shared bool
Indicates if policy that is being activated is a shared policy
network str
The network you want to activate the policy version on (options are Staging and Production)
policy_id Changes to this property will trigger replacement. int
ID of the Cloudlets policy you want to activate
status str
Activation status for this Cloudlets policy
timeouts CloudletsPolicyActivationTimeoutsArgs
Enables to set timeout for processing
version int
Cloudlets policy version you want to activate
associatedProperties List<String>
Set of property IDs to link to this Cloudlets policy. It is required for non-shared policies
isShared Boolean
Indicates if policy that is being activated is a shared policy
network String
The network you want to activate the policy version on (options are Staging and Production)
policyId Changes to this property will trigger replacement. Number
ID of the Cloudlets policy you want to activate
status String
Activation status for this Cloudlets policy
timeouts Property Map
Enables to set timeout for processing
version Number
Cloudlets policy version you want to activate

Supporting Types

CloudletsPolicyActivationTimeouts
, CloudletsPolicyActivationTimeoutsArgs

Default string
Default string
default_ String
default string
default String

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.