1. Packages
  2. Akamai
  3. API Docs
  4. ImagingPolicyImage
Akamai v8.1.0 published on Friday, Apr 11, 2025 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 This property is required. string
The unique name of the resource.
args This property is required. ImagingPolicyImageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ImagingPolicyImageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ImagingPolicyImageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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,
});
Copy
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),
})
Copy
var imagingPolicyImageResource = new ImagingPolicyImage("imagingPolicyImageResource", ImagingPolicyImageArgs.builder()
    .contractId("string")
    .json("string")
    .policyId("string")
    .policysetId("string")
    .activateOnProduction(false)
    .build());
Copy
imaging_policy_image_resource = akamai.ImagingPolicyImage("imagingPolicyImageResource",
    contract_id="string",
    json="string",
    policy_id="string",
    policyset_id="string",
    activate_on_production=False)
Copy
const imagingPolicyImageResource = new akamai.ImagingPolicyImage("imagingPolicyImageResource", {
    contractId: "string",
    json: "string",
    policyId: "string",
    policysetId: "string",
    activateOnProduction: false,
});
Copy
type: akamai:ImagingPolicyImage
properties:
    activateOnProduction: false
    contractId: string
    json: string
    policyId: string
    policysetId: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ImagingPolicyImage resource accepts the following input properties:

ContractId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Akamai Contract containing the Policy Set(s)
Json This property is required. string
A JSON encoded policy
PolicyId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
PolicysetId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Image & Video Manager Policy Set.
ActivateOnProduction bool
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.
ContractId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Akamai Contract containing the Policy Set(s)
Json This property is required. string
A JSON encoded policy
PolicyId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
PolicysetId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Image & Video Manager Policy Set.
ActivateOnProduction bool
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.
contractId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for the Akamai Contract containing the Policy Set(s)
json This property is required. String
A JSON encoded policy
policyId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for the Image & Video Manager Policy Set.
activateOnProduction Boolean
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.
contractId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Akamai Contract containing the Policy Set(s)
json This property is required. string
A JSON encoded policy
policyId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier for the Image & Video Manager Policy Set.
activateOnProduction boolean
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
This property is required.
Changes to this property will trigger replacement.
str
Unique identifier for the Akamai Contract containing the Policy Set(s)
json This property is required. str
A JSON encoded policy
policy_id
This property is required.
Changes to this property will trigger replacement.
str
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policyset_id
This property is required.
Changes to this property will trigger replacement.
str
Unique identifier for the Image & Video Manager Policy Set.
activate_on_production bool
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.
contractId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for the Akamai Contract containing the Policy Set(s)
json This property is required. String
A JSON encoded policy
policyId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier for the Image & Video Manager Policy Set.
activateOnProduction Boolean
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:

Id string
The provider-assigned unique ID for this managed resource.
Version int
The version number of this policy version
Id string
The provider-assigned unique ID for this managed resource.
Version int
The version number of this policy version
id String
The provider-assigned unique ID for this managed resource.
version Integer
The version number of this policy version
id string
The provider-assigned unique ID for this managed resource.
version number
The version number of this policy version
id str
The provider-assigned unique ID for this managed resource.
version int
The version number of this policy version
id String
The provider-assigned unique ID for this managed resource.
version Number
The version number of this policy version

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)
resources:  _:    type: akamai:ImagingPolicyImage    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ActivateOnProduction bool
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.
ContractId Changes to this property will trigger replacement. string
Unique identifier for the Akamai Contract containing the Policy Set(s)
Json string
A JSON encoded policy
PolicyId Changes to this property will trigger replacement. string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
PolicysetId Changes to this property will trigger replacement. string
Unique identifier for the Image & Video Manager Policy Set.
Version int
The version number of this policy version
ActivateOnProduction bool
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.
ContractId Changes to this property will trigger replacement. string
Unique identifier for the Akamai Contract containing the Policy Set(s)
Json string
A JSON encoded policy
PolicyId Changes to this property will trigger replacement. string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
PolicysetId Changes to this property will trigger replacement. string
Unique identifier for the Image & Video Manager Policy Set.
Version int
The version number of this policy version
activateOnProduction Boolean
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.
contractId Changes to this property will trigger replacement. String
Unique identifier for the Akamai Contract containing the Policy Set(s)
json String
A JSON encoded policy
policyId Changes to this property will trigger replacement. String
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId Changes to this property will trigger replacement. String
Unique identifier for the Image & Video Manager Policy Set.
version Integer
The version number of this policy version
activateOnProduction boolean
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.
contractId Changes to this property will trigger replacement. string
Unique identifier for the Akamai Contract containing the Policy Set(s)
json string
A JSON encoded policy
policyId Changes to this property will trigger replacement. string
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId Changes to this property will trigger replacement. string
Unique identifier for the Image & Video Manager Policy Set.
version number
The version number of this policy version
activate_on_production bool
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 Changes to this property will trigger replacement. str
Unique identifier for the Akamai Contract containing the Policy Set(s)
json str
A JSON encoded policy
policy_id Changes to this property will trigger replacement. str
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policyset_id Changes to this property will trigger replacement. str
Unique identifier for the Image & Video Manager Policy Set.
version int
The version number of this policy version
activateOnProduction Boolean
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.
contractId Changes to this property will trigger replacement. String
Unique identifier for the Akamai Contract containing the Policy Set(s)
json String
A JSON encoded policy
policyId Changes to this property will trigger replacement. String
Unique identifier for a Policy. It is not possible to modify the id of the policy.
policysetId Changes to this property will trigger replacement. 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.