1. Packages
  2. Akamai
  3. API Docs
  4. CloudletsPolicyActivation
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

akamai.CloudletsPolicyActivation

Explore with Pulumi AI

akamai logo
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

    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 string
    The unique name of the resource.
    args CloudletsPolicyActivationArgs
    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 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 string
    The unique name of the resource.
    args CloudletsPolicyActivationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudletsPolicyActivationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
        },
    });
    
    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"),
    	},
    })
    
    var cloudletsPolicyActivationResource = new CloudletsPolicyActivation("cloudletsPolicyActivationResource", CloudletsPolicyActivationArgs.builder()
        .network("string")
        .policyId(0)
        .version(0)
        .associatedProperties("string")
        .timeouts(CloudletsPolicyActivationTimeoutsArgs.builder()
            .default_("string")
            .build())
        .build());
    
    cloudlets_policy_activation_resource = akamai.CloudletsPolicyActivation("cloudletsPolicyActivationResource",
        network="string",
        policy_id=0,
        version=0,
        associated_properties=["string"],
        timeouts={
            "default": "string",
        })
    
    const cloudletsPolicyActivationResource = new akamai.CloudletsPolicyActivation("cloudletsPolicyActivationResource", {
        network: "string",
        policyId: 0,
        version: 0,
        associatedProperties: ["string"],
        timeouts: {
            "default": "string",
        },
    });
    
    type: akamai:CloudletsPolicyActivation
    properties:
        associatedProperties:
            - string
        network: string
        policyId: 0
        timeouts:
            default: string
        version: 0
    

    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 string
    The network you want to activate the policy version on (options are Staging and Production)
    PolicyId int
    ID of the Cloudlets policy you want to activate
    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
    Timeouts CloudletsPolicyActivationTimeouts
    Enables to set timeout for processing
    Network string
    The network you want to activate the policy version on (options are Staging and Production)
    PolicyId int
    ID of the Cloudlets policy you want to activate
    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
    Timeouts CloudletsPolicyActivationTimeoutsArgs
    Enables to set timeout for processing
    network String
    The network you want to activate the policy version on (options are Staging and Production)
    policyId Integer
    ID of the Cloudlets policy you want to activate
    version 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 string
    The network you want to activate the policy version on (options are Staging and Production)
    policyId number
    ID of the Cloudlets policy you want to activate
    version 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 str
    The network you want to activate the policy version on (options are Staging and Production)
    policy_id int
    ID of the Cloudlets policy you want to activate
    version 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 String
    The network you want to activate the policy version on (options are Staging and Production)
    policyId Number
    ID of the Cloudlets policy you want to activate
    version 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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 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 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 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 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 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 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.
    akamai logo
    Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi