akamai.EdgeWorkersActivation
Explore with Pulumi AI
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EdgeWorkersActivation resource accepts the following input properties:
- Edgeworker
Id 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
Edge
Workers Activation Timeouts - Enables to set timeout for processing
- Edgeworker
Id 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
Edge
Workers Activation Timeouts Args - Enables to set timeout for processing
- edgeworker
Id 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
Edge
Workers Activation Timeouts - Enables to set timeout for processing
- edgeworker
Id 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
Edge
Workers Activation Timeouts - 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
Edge
Workers Activation Timeouts Args - Enables to set timeout for processing
- edgeworker
Id 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:
- Activation
Id int - 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 string
- The provider-assigned unique ID for this managed resource.
- activation
Id Integer - A unique identifier of the activation
- id String
- The provider-assigned unique ID for this managed resource.
- activation
Id 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.
- activation
Id 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.
- Activation
Id int - A unique identifier of the activation
- Edgeworker
Id 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
Edge
Workers Activation Timeouts - 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 string
- The network on which the version will be activated
- Note string
- Assigns a log message to the activation request
- Timeouts
Edge
Workers Activation Timeouts Args - Enables to set timeout for processing
- Version string
- The version of EdgeWorker to activate
- activation
Id Integer - A unique identifier of the activation
- edgeworker
Id 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
Edge
Workers Activation Timeouts - Enables to set timeout for processing
- version String
- The version of EdgeWorker to activate
- activation
Id number - A unique identifier of the activation
- edgeworker
Id 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
Edge
Workers Activation Timeouts - 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
Edge
Workers Activation Timeouts Args - Enables to set timeout for processing
- version str
- The version of EdgeWorker to activate
- activation
Id Number - A unique identifier of the activation
- edgeworker
Id 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
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.