1. Packages
  2. Akamai
  3. API Docs
  4. ImagingPolicyImage
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.ImagingPolicyImage

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    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:

    ContractId string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    Json string
    A JSON encoded policy
    PolicyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    PolicysetId 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 string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    Json string
    A JSON encoded policy
    PolicyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    PolicysetId 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 String
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json String
    A JSON encoded policy
    policyId String
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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 string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json string
    A JSON encoded policy
    policyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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 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_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 String
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json String
    A JSON encoded policy
    policyId String
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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)
    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.
    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 string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    Json string
    A JSON encoded policy
    PolicyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    PolicysetId 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 string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    Json string
    A JSON encoded policy
    PolicyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    PolicysetId 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 String
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json String
    A JSON encoded policy
    policyId String
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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 string
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json string
    A JSON encoded policy
    policyId string
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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 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
    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 String
    Unique identifier for the Akamai Contract containing the Policy Set(s)
    json String
    A JSON encoded policy
    policyId String
    Unique identifier for a Policy. It is not possible to modify the id of the policy.
    policysetId 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.
    akamai logo
    Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi