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 string
- The unique name of the resource.
- args ImagingPolicyVideoArgs
- 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 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 string
- The unique name of the resource.
- args ImagingPolicyVideoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagingPolicyVideoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
var imagingPolicyVideoResource = new ImagingPolicyVideo("imagingPolicyVideoResource", ImagingPolicyVideoArgs.builder()
.contractId("string")
.json("string")
.policyId("string")
.policysetId("string")
.activateOnProduction(false)
.build());
imaging_policy_video_resource = akamai.ImagingPolicyVideo("imagingPolicyVideoResource",
contract_id="string",
json="string",
policy_id="string",
policyset_id="string",
activate_on_production=False)
const imagingPolicyVideoResource = new akamai.ImagingPolicyVideo("imagingPolicyVideoResource", {
contractId: "string",
json: "string",
policyId: "string",
policysetId: "string",
activateOnProduction: false,
});
type: akamai:ImagingPolicyVideo
properties:
activateOnProduction: false
contractId: string
json: string
policyId: string
policysetId: string
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:
- 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 ImagingPolicyVideo resource produces the following output properties:
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)
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.