akamai.EdgeWorker
Explore with Pulumi AI
Create EdgeWorker Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeWorker(name: string, args: EdgeWorkerArgs, opts?: CustomResourceOptions);
@overload
def EdgeWorker(resource_name: str,
args: EdgeWorkerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeWorker(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[int] = None,
resource_tier_id: Optional[int] = None,
local_bundle: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[EdgeWorkerTimeoutsArgs] = None)
func NewEdgeWorker(ctx *Context, name string, args EdgeWorkerArgs, opts ...ResourceOption) (*EdgeWorker, error)
public EdgeWorker(string name, EdgeWorkerArgs args, CustomResourceOptions? opts = null)
public EdgeWorker(String name, EdgeWorkerArgs args)
public EdgeWorker(String name, EdgeWorkerArgs args, CustomResourceOptions options)
type: akamai:EdgeWorker
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 EdgeWorkerArgs
- 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 EdgeWorkerArgs
- 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 EdgeWorkerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeWorkerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeWorkerArgs
- 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 edgeWorkerResource = new Akamai.EdgeWorker("edgeWorkerResource", new()
{
GroupId = 0,
ResourceTierId = 0,
LocalBundle = "string",
Name = "string",
Timeouts = new Akamai.Inputs.EdgeWorkerTimeoutsArgs
{
Default = "string",
},
});
example, err := akamai.NewEdgeWorker(ctx, "edgeWorkerResource", &akamai.EdgeWorkerArgs{
GroupId: pulumi.Int(0),
ResourceTierId: pulumi.Int(0),
LocalBundle: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &akamai.EdgeWorkerTimeoutsArgs{
Default: pulumi.String("string"),
},
})
var edgeWorkerResource = new EdgeWorker("edgeWorkerResource", EdgeWorkerArgs.builder()
.groupId(0)
.resourceTierId(0)
.localBundle("string")
.name("string")
.timeouts(EdgeWorkerTimeoutsArgs.builder()
.default_("string")
.build())
.build());
edge_worker_resource = akamai.EdgeWorker("edgeWorkerResource",
group_id=0,
resource_tier_id=0,
local_bundle="string",
name="string",
timeouts={
"default": "string",
})
const edgeWorkerResource = new akamai.EdgeWorker("edgeWorkerResource", {
groupId: 0,
resourceTierId: 0,
localBundle: "string",
name: "string",
timeouts: {
"default": "string",
},
});
type: akamai:EdgeWorker
properties:
groupId: 0
localBundle: string
name: string
resourceTierId: 0
timeouts:
default: string
EdgeWorker 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 EdgeWorker resource accepts the following input properties:
- Group
Id int - Defines the group association for the EdgeWorker
- Resource
Tier intId - The unique identifier of a resource tier
- Local
Bundle string - The path to the EdgeWorkers tgz code bundle
- Name string
- The EdgeWorker name
- Timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- Group
Id int - Defines the group association for the EdgeWorker
- Resource
Tier intId - The unique identifier of a resource tier
- Local
Bundle string - The path to the EdgeWorkers tgz code bundle
- Name string
- The EdgeWorker name
- Timeouts
Edge
Worker Timeouts Args - Enables to set timeout for processing
- group
Id Integer - Defines the group association for the EdgeWorker
- resource
Tier IntegerId - The unique identifier of a resource tier
- local
Bundle String - The path to the EdgeWorkers tgz code bundle
- name String
- The EdgeWorker name
- timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- group
Id number - Defines the group association for the EdgeWorker
- resource
Tier numberId - The unique identifier of a resource tier
- local
Bundle string - The path to the EdgeWorkers tgz code bundle
- name string
- The EdgeWorker name
- timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- group_
id int - Defines the group association for the EdgeWorker
- resource_
tier_ intid - The unique identifier of a resource tier
- local_
bundle str - The path to the EdgeWorkers tgz code bundle
- name str
- The EdgeWorker name
- timeouts
Edge
Worker Timeouts Args - Enables to set timeout for processing
- group
Id Number - Defines the group association for the EdgeWorker
- resource
Tier NumberId - The unique identifier of a resource tier
- local
Bundle String - The path to the EdgeWorkers tgz code bundle
- name String
- The EdgeWorker name
- timeouts Property Map
- Enables to set timeout for processing
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeWorker resource produces the following output properties:
- Edgeworker
Id int - The unique identifier of the EdgeWorker
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Bundle stringHash - The local bundle hash for the EdgeWorker
- Version string
- The bundle version
- Warnings List<string>
- The list of warnings returned by EdgeWorker validation
- Edgeworker
Id int - The unique identifier of the EdgeWorker
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Bundle stringHash - The local bundle hash for the EdgeWorker
- Version string
- The bundle version
- Warnings []string
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id Integer - The unique identifier of the EdgeWorker
- id String
- The provider-assigned unique ID for this managed resource.
- local
Bundle StringHash - The local bundle hash for the EdgeWorker
- version String
- The bundle version
- warnings List<String>
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id number - The unique identifier of the EdgeWorker
- id string
- The provider-assigned unique ID for this managed resource.
- local
Bundle stringHash - The local bundle hash for the EdgeWorker
- version string
- The bundle version
- warnings string[]
- The list of warnings returned by EdgeWorker validation
- edgeworker_
id int - The unique identifier of the EdgeWorker
- id str
- The provider-assigned unique ID for this managed resource.
- local_
bundle_ strhash - The local bundle hash for the EdgeWorker
- version str
- The bundle version
- warnings Sequence[str]
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id Number - The unique identifier of the EdgeWorker
- id String
- The provider-assigned unique ID for this managed resource.
- local
Bundle StringHash - The local bundle hash for the EdgeWorker
- version String
- The bundle version
- warnings List<String>
- The list of warnings returned by EdgeWorker validation
Look up Existing EdgeWorker Resource
Get an existing EdgeWorker 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?: EdgeWorkerState, opts?: CustomResourceOptions): EdgeWorker
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
edgeworker_id: Optional[int] = None,
group_id: Optional[int] = None,
local_bundle: Optional[str] = None,
local_bundle_hash: Optional[str] = None,
name: Optional[str] = None,
resource_tier_id: Optional[int] = None,
timeouts: Optional[EdgeWorkerTimeoutsArgs] = None,
version: Optional[str] = None,
warnings: Optional[Sequence[str]] = None) -> EdgeWorker
func GetEdgeWorker(ctx *Context, name string, id IDInput, state *EdgeWorkerState, opts ...ResourceOption) (*EdgeWorker, error)
public static EdgeWorker Get(string name, Input<string> id, EdgeWorkerState? state, CustomResourceOptions? opts = null)
public static EdgeWorker get(String name, Output<String> id, EdgeWorkerState 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.
- Edgeworker
Id int - The unique identifier of the EdgeWorker
- Group
Id int - Defines the group association for the EdgeWorker
- Local
Bundle string - The path to the EdgeWorkers tgz code bundle
- Local
Bundle stringHash - The local bundle hash for the EdgeWorker
- Name string
- The EdgeWorker name
- Resource
Tier intId - The unique identifier of a resource tier
- Timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- Version string
- The bundle version
- Warnings List<string>
- The list of warnings returned by EdgeWorker validation
- Edgeworker
Id int - The unique identifier of the EdgeWorker
- Group
Id int - Defines the group association for the EdgeWorker
- Local
Bundle string - The path to the EdgeWorkers tgz code bundle
- Local
Bundle stringHash - The local bundle hash for the EdgeWorker
- Name string
- The EdgeWorker name
- Resource
Tier intId - The unique identifier of a resource tier
- Timeouts
Edge
Worker Timeouts Args - Enables to set timeout for processing
- Version string
- The bundle version
- Warnings []string
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id Integer - The unique identifier of the EdgeWorker
- group
Id Integer - Defines the group association for the EdgeWorker
- local
Bundle String - The path to the EdgeWorkers tgz code bundle
- local
Bundle StringHash - The local bundle hash for the EdgeWorker
- name String
- The EdgeWorker name
- resource
Tier IntegerId - The unique identifier of a resource tier
- timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- version String
- The bundle version
- warnings List<String>
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id number - The unique identifier of the EdgeWorker
- group
Id number - Defines the group association for the EdgeWorker
- local
Bundle string - The path to the EdgeWorkers tgz code bundle
- local
Bundle stringHash - The local bundle hash for the EdgeWorker
- name string
- The EdgeWorker name
- resource
Tier numberId - The unique identifier of a resource tier
- timeouts
Edge
Worker Timeouts - Enables to set timeout for processing
- version string
- The bundle version
- warnings string[]
- The list of warnings returned by EdgeWorker validation
- edgeworker_
id int - The unique identifier of the EdgeWorker
- group_
id int - Defines the group association for the EdgeWorker
- local_
bundle str - The path to the EdgeWorkers tgz code bundle
- local_
bundle_ strhash - The local bundle hash for the EdgeWorker
- name str
- The EdgeWorker name
- resource_
tier_ intid - The unique identifier of a resource tier
- timeouts
Edge
Worker Timeouts Args - Enables to set timeout for processing
- version str
- The bundle version
- warnings Sequence[str]
- The list of warnings returned by EdgeWorker validation
- edgeworker
Id Number - The unique identifier of the EdgeWorker
- group
Id Number - Defines the group association for the EdgeWorker
- local
Bundle String - The path to the EdgeWorkers tgz code bundle
- local
Bundle StringHash - The local bundle hash for the EdgeWorker
- name String
- The EdgeWorker name
- resource
Tier NumberId - The unique identifier of a resource tier
- timeouts Property Map
- Enables to set timeout for processing
- version String
- The bundle version
- warnings List<String>
- The list of warnings returned by EdgeWorker validation
Supporting Types
EdgeWorkerTimeouts, EdgeWorkerTimeoutsArgs
- Default string
- Default string
- default_ String
- default string
- default str
- default String
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.