1. Packages
  2. Akamai
  3. API Docs
  4. ImagingPolicyVideo
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.ImagingPolicyVideo

Explore with Pulumi AI

Create ImagingPolicyVideo Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ImagingPolicyVideo(name: string, args: ImagingPolicyVideoArgs, opts?: CustomResourceOptions);
@overload
def ImagingPolicyVideo(resource_name: str,
                       args: ImagingPolicyVideoArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def ImagingPolicyVideo(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 NewImagingPolicyVideo(ctx *Context, name string, args ImagingPolicyVideoArgs, opts ...ResourceOption) (*ImagingPolicyVideo, error)
public ImagingPolicyVideo(string name, ImagingPolicyVideoArgs args, CustomResourceOptions? opts = null)
public ImagingPolicyVideo(String name, ImagingPolicyVideoArgs args)
public ImagingPolicyVideo(String name, ImagingPolicyVideoArgs args, CustomResourceOptions options)
type: akamai:ImagingPolicyVideo
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. ImagingPolicyVideoArgs
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. ImagingPolicyVideoArgs
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. ImagingPolicyVideoArgs
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. ImagingPolicyVideoArgs
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. ImagingPolicyVideoArgs
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 imagingPolicyVideoResource = new Akamai.ImagingPolicyVideo("imagingPolicyVideoResource", new()
{
    ContractId = "string",
    Json = "string",
    PolicyId = "string",
    PolicysetId = "string",
    ActivateOnProduction = false,
});
Copy
example, err := akamai.NewImagingPolicyVideo(ctx, "imagingPolicyVideoResource", &akamai.ImagingPolicyVideoArgs{
	ContractId:           pulumi.String("string"),
	Json:                 pulumi.String("string"),
	PolicyId:             pulumi.String("string"),
	PolicysetId:          pulumi.String("string"),
	ActivateOnProduction: pulumi.Bool(false),
})
Copy
var imagingPolicyVideoResource = new ImagingPolicyVideo("imagingPolicyVideoResource", ImagingPolicyVideoArgs.builder()
    .contractId("string")
    .json("string")
    .policyId("string")
    .policysetId("string")
    .activateOnProduction(false)
    .build());
Copy
imaging_policy_video_resource = akamai.ImagingPolicyVideo("imagingPolicyVideoResource",
    contract_id="string",
    json="string",
    policy_id="string",
    policyset_id="string",
    activate_on_production=False)
Copy
const imagingPolicyVideoResource = new akamai.ImagingPolicyVideo("imagingPolicyVideoResource", {
    contractId: "string",
    json: "string",
    policyId: "string",
    policysetId: "string",
    activateOnProduction: false,
});
Copy
type: akamai:ImagingPolicyVideo
properties:
    activateOnProduction: false
    contractId: string
    json: string
    policyId: string
    policysetId: string
Copy

ImagingPolicyVideo 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 ImagingPolicyVideo 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 ImagingPolicyVideo 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 ImagingPolicyVideo Resource

Get an existing ImagingPolicyVideo 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?: ImagingPolicyVideoState, opts?: CustomResourceOptions): ImagingPolicyVideo
@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) -> ImagingPolicyVideo
func GetImagingPolicyVideo(ctx *Context, name string, id IDInput, state *ImagingPolicyVideoState, opts ...ResourceOption) (*ImagingPolicyVideo, error)
public static ImagingPolicyVideo Get(string name, Input<string> id, ImagingPolicyVideoState? state, CustomResourceOptions? opts = null)
public static ImagingPolicyVideo get(String name, Output<String> id, ImagingPolicyVideoState state, CustomResourceOptions options)
resources:  _:    type: akamai:ImagingPolicyVideo    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.