akamai.CloudletsPolicy
Explore with Pulumi AI
Create CloudletsPolicy Resource
new CloudletsPolicy(name: string, args: CloudletsPolicyArgs, opts?: CustomResourceOptions);
@overload
def CloudletsPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloudlet_code: Optional[str] = None,
description: Optional[str] = None,
group_id: Optional[str] = None,
match_rule_format: Optional[str] = None,
match_rules: Optional[str] = None,
name: Optional[str] = None)
@overload
def CloudletsPolicy(resource_name: str,
args: CloudletsPolicyArgs,
opts: Optional[ResourceOptions] = None)
func NewCloudletsPolicy(ctx *Context, name string, args CloudletsPolicyArgs, opts ...ResourceOption) (*CloudletsPolicy, error)
public CloudletsPolicy(string name, CloudletsPolicyArgs args, CustomResourceOptions? opts = null)
public CloudletsPolicy(String name, CloudletsPolicyArgs args)
public CloudletsPolicy(String name, CloudletsPolicyArgs args, CustomResourceOptions options)
type: akamai:CloudletsPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudletsPolicyArgs
- 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 CloudletsPolicyArgs
- 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 CloudletsPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudletsPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudletsPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CloudletsPolicy 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 CloudletsPolicy resource accepts the following input properties:
- Cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- Group
Id string Defines the group association for the policy. You must have edit privileges for the group
- Description string
The description of this specific policy
- Match
Rule stringFormat The version of the Cloudlet specific matchRules
- Match
Rules string A JSON structure that defines the rules for this policy
- Name string
The name of the policy. The name must be unique
- Cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- Group
Id string Defines the group association for the policy. You must have edit privileges for the group
- Description string
The description of this specific policy
- Match
Rule stringFormat The version of the Cloudlet specific matchRules
- Match
Rules string A JSON structure that defines the rules for this policy
- Name string
The name of the policy. The name must be unique
- cloudlet
Code String Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- group
Id String Defines the group association for the policy. You must have edit privileges for the group
- description String
The description of this specific policy
- match
Rule StringFormat The version of the Cloudlet specific matchRules
- match
Rules String A JSON structure that defines the rules for this policy
- name String
The name of the policy. The name must be unique
- cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- group
Id string Defines the group association for the policy. You must have edit privileges for the group
- description string
The description of this specific policy
- match
Rule stringFormat The version of the Cloudlet specific matchRules
- match
Rules string A JSON structure that defines the rules for this policy
- name string
The name of the policy. The name must be unique
- cloudlet_
code str Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- group_
id str Defines the group association for the policy. You must have edit privileges for the group
- description str
The description of this specific policy
- match_
rule_ strformat The version of the Cloudlet specific matchRules
- match_
rules str A JSON structure that defines the rules for this policy
- name str
The name of the policy. The name must be unique
- cloudlet
Code String Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- group
Id String Defines the group association for the policy. You must have edit privileges for the group
- description String
The description of this specific policy
- match
Rule StringFormat The version of the Cloudlet specific matchRules
- match
Rules String A JSON structure that defines the rules for this policy
- name String
The name of the policy. The name must be unique
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudletsPolicy resource produces the following output properties:
- Cloudlet
Id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- Id string
The provider-assigned unique ID for this managed resource.
- Version int
The version number of the policy
- Warnings string
A JSON encoded list of warnings
- Cloudlet
Id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- Id string
The provider-assigned unique ID for this managed resource.
- Version int
The version number of the policy
- Warnings string
A JSON encoded list of warnings
- cloudlet
Id Integer An integer that corresponds to a Cloudlets policy type (0 or 9)
- id String
The provider-assigned unique ID for this managed resource.
- version Integer
The version number of the policy
- warnings String
A JSON encoded list of warnings
- cloudlet
Id number An integer that corresponds to a Cloudlets policy type (0 or 9)
- id string
The provider-assigned unique ID for this managed resource.
- version number
The version number of the policy
- warnings string
A JSON encoded list of warnings
- cloudlet_
id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- id str
The provider-assigned unique ID for this managed resource.
- version int
The version number of the policy
- warnings str
A JSON encoded list of warnings
- cloudlet
Id Number An integer that corresponds to a Cloudlets policy type (0 or 9)
- id String
The provider-assigned unique ID for this managed resource.
- version Number
The version number of the policy
- warnings String
A JSON encoded list of warnings
Look up Existing CloudletsPolicy Resource
Get an existing CloudletsPolicy 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?: CloudletsPolicyState, opts?: CustomResourceOptions): CloudletsPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloudlet_code: Optional[str] = None,
cloudlet_id: Optional[int] = None,
description: Optional[str] = None,
group_id: Optional[str] = None,
match_rule_format: Optional[str] = None,
match_rules: Optional[str] = None,
name: Optional[str] = None,
version: Optional[int] = None,
warnings: Optional[str] = None) -> CloudletsPolicy
func GetCloudletsPolicy(ctx *Context, name string, id IDInput, state *CloudletsPolicyState, opts ...ResourceOption) (*CloudletsPolicy, error)
public static CloudletsPolicy Get(string name, Input<string> id, CloudletsPolicyState? state, CustomResourceOptions? opts = null)
public static CloudletsPolicy get(String name, Output<String> id, CloudletsPolicyState 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.
- Cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- Cloudlet
Id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- Description string
The description of this specific policy
- Group
Id string Defines the group association for the policy. You must have edit privileges for the group
- Match
Rule stringFormat The version of the Cloudlet specific matchRules
- Match
Rules string A JSON structure that defines the rules for this policy
- Name string
The name of the policy. The name must be unique
- Version int
The version number of the policy
- Warnings string
A JSON encoded list of warnings
- Cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- Cloudlet
Id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- Description string
The description of this specific policy
- Group
Id string Defines the group association for the policy. You must have edit privileges for the group
- Match
Rule stringFormat The version of the Cloudlet specific matchRules
- Match
Rules string A JSON structure that defines the rules for this policy
- Name string
The name of the policy. The name must be unique
- Version int
The version number of the policy
- Warnings string
A JSON encoded list of warnings
- cloudlet
Code String Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- cloudlet
Id Integer An integer that corresponds to a Cloudlets policy type (0 or 9)
- description String
The description of this specific policy
- group
Id String Defines the group association for the policy. You must have edit privileges for the group
- match
Rule StringFormat The version of the Cloudlet specific matchRules
- match
Rules String A JSON structure that defines the rules for this policy
- name String
The name of the policy. The name must be unique
- version Integer
The version number of the policy
- warnings String
A JSON encoded list of warnings
- cloudlet
Code string Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- cloudlet
Id number An integer that corresponds to a Cloudlets policy type (0 or 9)
- description string
The description of this specific policy
- group
Id string Defines the group association for the policy. You must have edit privileges for the group
- match
Rule stringFormat The version of the Cloudlet specific matchRules
- match
Rules string A JSON structure that defines the rules for this policy
- name string
The name of the policy. The name must be unique
- version number
The version number of the policy
- warnings string
A JSON encoded list of warnings
- cloudlet_
code str Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- cloudlet_
id int An integer that corresponds to a Cloudlets policy type (0 or 9)
- description str
The description of this specific policy
- group_
id str Defines the group association for the policy. You must have edit privileges for the group
- match_
rule_ strformat The version of the Cloudlet specific matchRules
- match_
rules str A JSON structure that defines the rules for this policy
- name str
The name of the policy. The name must be unique
- version int
The version number of the policy
- warnings str
A JSON encoded list of warnings
- cloudlet
Code String Code for the type of Cloudlet (ALB, AP, AS, CD, ER, FR, IG, or VP)
- cloudlet
Id Number An integer that corresponds to a Cloudlets policy type (0 or 9)
- description String
The description of this specific policy
- group
Id String Defines the group association for the policy. You must have edit privileges for the group
- match
Rule StringFormat The version of the Cloudlet specific matchRules
- match
Rules String A JSON structure that defines the rules for this policy
- name String
The name of the policy. The name must be unique
- version Number
The version number of the policy
- warnings String
A JSON encoded list of warnings
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.