1. Packages
  2. Akamai
  3. API Docs
  4. EdgeWorkersActivation
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.EdgeWorkersActivation

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    Create EdgeWorkersActivation Resource

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

    Constructor syntax

    new EdgeWorkersActivation(name: string, args: EdgeWorkersActivationArgs, opts?: CustomResourceOptions);
    @overload
    def EdgeWorkersActivation(resource_name: str,
                              args: EdgeWorkersActivationArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def EdgeWorkersActivation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              edgeworker_id: Optional[int] = None,
                              network: Optional[str] = None,
                              version: Optional[str] = None,
                              note: Optional[str] = None,
                              timeouts: Optional[EdgeWorkersActivationTimeoutsArgs] = None)
    func NewEdgeWorkersActivation(ctx *Context, name string, args EdgeWorkersActivationArgs, opts ...ResourceOption) (*EdgeWorkersActivation, error)
    public EdgeWorkersActivation(string name, EdgeWorkersActivationArgs args, CustomResourceOptions? opts = null)
    public EdgeWorkersActivation(String name, EdgeWorkersActivationArgs args)
    public EdgeWorkersActivation(String name, EdgeWorkersActivationArgs args, CustomResourceOptions options)
    
    type: akamai:EdgeWorkersActivation
    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 EdgeWorkersActivationArgs
    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 EdgeWorkersActivationArgs
    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 EdgeWorkersActivationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EdgeWorkersActivationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EdgeWorkersActivationArgs
    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 edgeWorkersActivationResource = new Akamai.EdgeWorkersActivation("edgeWorkersActivationResource", new()
    {
        EdgeworkerId = 0,
        Network = "string",
        Version = "string",
        Note = "string",
        Timeouts = new Akamai.Inputs.EdgeWorkersActivationTimeoutsArgs
        {
            Default = "string",
            Delete = "string",
        },
    });
    
    example, err := akamai.NewEdgeWorkersActivation(ctx, "edgeWorkersActivationResource", &akamai.EdgeWorkersActivationArgs{
    	EdgeworkerId: pulumi.Int(0),
    	Network:      pulumi.String("string"),
    	Version:      pulumi.String("string"),
    	Note:         pulumi.String("string"),
    	Timeouts: &akamai.EdgeWorkersActivationTimeoutsArgs{
    		Default: pulumi.String("string"),
    		Delete:  pulumi.String("string"),
    	},
    })
    
    var edgeWorkersActivationResource = new EdgeWorkersActivation("edgeWorkersActivationResource", EdgeWorkersActivationArgs.builder()
        .edgeworkerId(0)
        .network("string")
        .version("string")
        .note("string")
        .timeouts(EdgeWorkersActivationTimeoutsArgs.builder()
            .default_("string")
            .delete("string")
            .build())
        .build());
    
    edge_workers_activation_resource = akamai.EdgeWorkersActivation("edgeWorkersActivationResource",
        edgeworker_id=0,
        network="string",
        version="string",
        note="string",
        timeouts=akamai.EdgeWorkersActivationTimeoutsArgs(
            default="string",
            delete="string",
        ))
    
    const edgeWorkersActivationResource = new akamai.EdgeWorkersActivation("edgeWorkersActivationResource", {
        edgeworkerId: 0,
        network: "string",
        version: "string",
        note: "string",
        timeouts: {
            "default": "string",
            "delete": "string",
        },
    });
    
    type: akamai:EdgeWorkersActivation
    properties:
        edgeworkerId: 0
        network: string
        note: string
        timeouts:
            default: string
            delete: string
        version: string
    

    EdgeWorkersActivation 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 EdgeWorkersActivation resource accepts the following input properties:

    EdgeworkerId int
    Id of the EdgeWorker to activate
    Network string
    The network on which the version will be activated
    Version string
    The version of EdgeWorker to activate
    Note string
    Assigns a log message to the activation request
    Timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    EdgeworkerId int
    Id of the EdgeWorker to activate
    Network string
    The network on which the version will be activated
    Version string
    The version of EdgeWorker to activate
    Note string
    Assigns a log message to the activation request
    Timeouts EdgeWorkersActivationTimeoutsArgs
    Enables to set timeout for processing
    edgeworkerId Integer
    Id of the EdgeWorker to activate
    network String
    The network on which the version will be activated
    version String
    The version of EdgeWorker to activate
    note String
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    edgeworkerId number
    Id of the EdgeWorker to activate
    network string
    The network on which the version will be activated
    version string
    The version of EdgeWorker to activate
    note string
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    edgeworker_id int
    Id of the EdgeWorker to activate
    network str
    The network on which the version will be activated
    version str
    The version of EdgeWorker to activate
    note str
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeoutsArgs
    Enables to set timeout for processing
    edgeworkerId Number
    Id of the EdgeWorker to activate
    network String
    The network on which the version will be activated
    version String
    The version of EdgeWorker to activate
    note String
    Assigns a log message to the activation request
    timeouts Property Map
    Enables to set timeout for processing

    Outputs

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

    ActivationId int
    A unique identifier of the activation
    Id string
    The provider-assigned unique ID for this managed resource.
    ActivationId int
    A unique identifier of the activation
    Id string
    The provider-assigned unique ID for this managed resource.
    activationId Integer
    A unique identifier of the activation
    id String
    The provider-assigned unique ID for this managed resource.
    activationId number
    A unique identifier of the activation
    id string
    The provider-assigned unique ID for this managed resource.
    activation_id int
    A unique identifier of the activation
    id str
    The provider-assigned unique ID for this managed resource.
    activationId Number
    A unique identifier of the activation
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EdgeWorkersActivation Resource

    Get an existing EdgeWorkersActivation 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?: EdgeWorkersActivationState, opts?: CustomResourceOptions): EdgeWorkersActivation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activation_id: Optional[int] = None,
            edgeworker_id: Optional[int] = None,
            network: Optional[str] = None,
            note: Optional[str] = None,
            timeouts: Optional[EdgeWorkersActivationTimeoutsArgs] = None,
            version: Optional[str] = None) -> EdgeWorkersActivation
    func GetEdgeWorkersActivation(ctx *Context, name string, id IDInput, state *EdgeWorkersActivationState, opts ...ResourceOption) (*EdgeWorkersActivation, error)
    public static EdgeWorkersActivation Get(string name, Input<string> id, EdgeWorkersActivationState? state, CustomResourceOptions? opts = null)
    public static EdgeWorkersActivation get(String name, Output<String> id, EdgeWorkersActivationState 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:
    ActivationId int
    A unique identifier of the activation
    EdgeworkerId int
    Id of the EdgeWorker to activate
    Network string
    The network on which the version will be activated
    Note string
    Assigns a log message to the activation request
    Timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    Version string
    The version of EdgeWorker to activate
    ActivationId int
    A unique identifier of the activation
    EdgeworkerId int
    Id of the EdgeWorker to activate
    Network string
    The network on which the version will be activated
    Note string
    Assigns a log message to the activation request
    Timeouts EdgeWorkersActivationTimeoutsArgs
    Enables to set timeout for processing
    Version string
    The version of EdgeWorker to activate
    activationId Integer
    A unique identifier of the activation
    edgeworkerId Integer
    Id of the EdgeWorker to activate
    network String
    The network on which the version will be activated
    note String
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    version String
    The version of EdgeWorker to activate
    activationId number
    A unique identifier of the activation
    edgeworkerId number
    Id of the EdgeWorker to activate
    network string
    The network on which the version will be activated
    note string
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeouts
    Enables to set timeout for processing
    version string
    The version of EdgeWorker to activate
    activation_id int
    A unique identifier of the activation
    edgeworker_id int
    Id of the EdgeWorker to activate
    network str
    The network on which the version will be activated
    note str
    Assigns a log message to the activation request
    timeouts EdgeWorkersActivationTimeoutsArgs
    Enables to set timeout for processing
    version str
    The version of EdgeWorker to activate
    activationId Number
    A unique identifier of the activation
    edgeworkerId Number
    Id of the EdgeWorker to activate
    network String
    The network on which the version will be activated
    note String
    Assigns a log message to the activation request
    timeouts Property Map
    Enables to set timeout for processing
    version String
    The version of EdgeWorker to activate

    Supporting Types

    EdgeWorkersActivationTimeouts, EdgeWorkersActivationTimeoutsArgs

    Default string
    Delete string
    Default string
    Delete string
    default_ String
    delete String
    default string
    delete string
    default String
    delete 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.2.0 published on Friday, May 31, 2024 by Pulumi