Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.ImagingPolicyImage
Explore with Pulumi AI
Create ImagingPolicyImage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImagingPolicyImage(name: string, args: ImagingPolicyImageArgs, opts?: CustomResourceOptions);
@overload
def ImagingPolicyImage(resource_name: str,
args: ImagingPolicyImageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImagingPolicyImage(resource_name: str,
opts: Optional[ResourceOptions] = None,
contract_id: Optional[str] = None,
json: Optional[str] = None,
policy_id: Optional[str] = None,
policyset_id: Optional[str] = None,
activate_on_production: Optional[bool] = None)
func NewImagingPolicyImage(ctx *Context, name string, args ImagingPolicyImageArgs, opts ...ResourceOption) (*ImagingPolicyImage, error)
public ImagingPolicyImage(string name, ImagingPolicyImageArgs args, CustomResourceOptions? opts = null)
public ImagingPolicyImage(String name, ImagingPolicyImageArgs args)
public ImagingPolicyImage(String name, ImagingPolicyImageArgs args, CustomResourceOptions options)
type: akamai:ImagingPolicyImage
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 ImagingPolicyImageArgs
- 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 ImagingPolicyImageArgs
- 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 ImagingPolicyImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagingPolicyImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImagingPolicyImageArgs
- 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 imagingPolicyImageResource = new Akamai.ImagingPolicyImage("imagingPolicyImageResource", new()
{
ContractId = "string",
Json = "string",
PolicyId = "string",
PolicysetId = "string",
ActivateOnProduction = false,
});
example, err := akamai.NewImagingPolicyImage(ctx, "imagingPolicyImageResource", &akamai.ImagingPolicyImageArgs{
ContractId: pulumi.String("string"),
Json: pulumi.String("string"),
PolicyId: pulumi.String("string"),
PolicysetId: pulumi.String("string"),
ActivateOnProduction: pulumi.Bool(false),
})
var imagingPolicyImageResource = new ImagingPolicyImage("imagingPolicyImageResource", ImagingPolicyImageArgs.builder()
.contractId("string")
.json("string")
.policyId("string")
.policysetId("string")
.activateOnProduction(false)
.build());
imaging_policy_image_resource = akamai.ImagingPolicyImage("imagingPolicyImageResource",
contract_id="string",
json="string",
policy_id="string",
policyset_id="string",
activate_on_production=False)
const imagingPolicyImageResource = new akamai.ImagingPolicyImage("imagingPolicyImageResource", {
contractId: "string",
json: "string",
policyId: "string",
policysetId: "string",
activateOnProduction: false,
});
type: akamai:ImagingPolicyImage
properties:
activateOnProduction: false
contractId: string
json: string
policyId: string
policysetId: string
ImagingPolicyImage 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 ImagingPolicyImage resource accepts the following input properties:
- Contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- Json string
- A JSON encoded policy
- Policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- Policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- Activate
On boolProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- Contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- Json string
- A JSON encoded policy
- Policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- Policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- Activate
On boolProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id String - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json String
- A JSON encoded policy
- policy
Id String - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id String - Unique identifier for the Image & Video Manager Policy Set.
- activate
On BooleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json string
- A JSON encoded policy
- policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- activate
On booleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract_
id str - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json str
- A JSON encoded policy
- policy_
id str - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset_
id str - Unique identifier for the Image & Video Manager Policy Set.
- activate_
on_ boolproduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id String - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json String
- A JSON encoded policy
- policy
Id String - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id String - Unique identifier for the Image & Video Manager Policy Set.
- activate
On BooleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImagingPolicyImage resource produces the following output properties:
Look up Existing ImagingPolicyImage Resource
Get an existing ImagingPolicyImage 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?: ImagingPolicyImageState, opts?: CustomResourceOptions): ImagingPolicyImage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activate_on_production: Optional[bool] = None,
contract_id: Optional[str] = None,
json: Optional[str] = None,
policy_id: Optional[str] = None,
policyset_id: Optional[str] = None,
version: Optional[int] = None) -> ImagingPolicyImage
func GetImagingPolicyImage(ctx *Context, name string, id IDInput, state *ImagingPolicyImageState, opts ...ResourceOption) (*ImagingPolicyImage, error)
public static ImagingPolicyImage Get(string name, Input<string> id, ImagingPolicyImageState? state, CustomResourceOptions? opts = null)
public static ImagingPolicyImage get(String name, Output<String> id, ImagingPolicyImageState 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.
- Activate
On boolProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- Contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- Json string
- A JSON encoded policy
- Policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- Policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- Version int
- The version number of this policy version
- Activate
On boolProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- Contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- Json string
- A JSON encoded policy
- Policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- Policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- Version int
- The version number of this policy version
- activate
On BooleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id String - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json String
- A JSON encoded policy
- policy
Id String - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id String - Unique identifier for the Image & Video Manager Policy Set.
- version Integer
- The version number of this policy version
- activate
On booleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id string - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json string
- A JSON encoded policy
- policy
Id string - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id string - Unique identifier for the Image & Video Manager Policy Set.
- version number
- The version number of this policy version
- activate_
on_ boolproduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract_
id str - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json str
- A JSON encoded policy
- policy_
id str - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset_
id str - Unique identifier for the Image & Video Manager Policy Set.
- version int
- The version number of this policy version
- activate
On BooleanProduction - With this flag set to false, the user can perform modifications on staging without affecting the version already saved to production. With this flag set to true, the policy will be saved on the production network. It is possible to change it back to false only when there are any changes to the policy qualifying it for the new version.
- contract
Id String - Unique identifier for the Akamai Contract containing the Policy Set(s)
- json String
- A JSON encoded policy
- policy
Id String - Unique identifier for a Policy. It is not possible to modify the id of the policy.
- policyset
Id String - Unique identifier for the Image & Video Manager Policy Set.
- version Number
- The version number of this policy version
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.