1. Packages
  2. Akamai
  3. API Docs
  4. ImagingPolicySet
Akamai v8.0.0 published on Saturday, Mar 1, 2025 by Pulumi

akamai.ImagingPolicySet

Explore with Pulumi AI

Create ImagingPolicySet Resource

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

Constructor syntax

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

@overload
def ImagingPolicySet(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     contract_id: Optional[str] = None,
                     region: Optional[str] = None,
                     type: Optional[str] = None,
                     name: Optional[str] = None)
func NewImagingPolicySet(ctx *Context, name string, args ImagingPolicySetArgs, opts ...ResourceOption) (*ImagingPolicySet, error)
public ImagingPolicySet(string name, ImagingPolicySetArgs args, CustomResourceOptions? opts = null)
public ImagingPolicySet(String name, ImagingPolicySetArgs args)
public ImagingPolicySet(String name, ImagingPolicySetArgs args, CustomResourceOptions options)
type: akamai:ImagingPolicySet
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. ImagingPolicySetArgs
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. ImagingPolicySetArgs
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. ImagingPolicySetArgs
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. ImagingPolicySetArgs
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. ImagingPolicySetArgs
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 imagingPolicySetResource = new Akamai.ImagingPolicySet("imagingPolicySetResource", new()
{
    ContractId = "string",
    Region = "string",
    Type = "string",
    Name = "string",
});
Copy
example, err := akamai.NewImagingPolicySet(ctx, "imagingPolicySetResource", &akamai.ImagingPolicySetArgs{
	ContractId: pulumi.String("string"),
	Region:     pulumi.String("string"),
	Type:       pulumi.String("string"),
	Name:       pulumi.String("string"),
})
Copy
var imagingPolicySetResource = new ImagingPolicySet("imagingPolicySetResource", ImagingPolicySetArgs.builder()
    .contractId("string")
    .region("string")
    .type("string")
    .name("string")
    .build());
Copy
imaging_policy_set_resource = akamai.ImagingPolicySet("imagingPolicySetResource",
    contract_id="string",
    region="string",
    type="string",
    name="string")
Copy
const imagingPolicySetResource = new akamai.ImagingPolicySet("imagingPolicySetResource", {
    contractId: "string",
    region: "string",
    type: "string",
    name: "string",
});
Copy
type: akamai:ImagingPolicySet
properties:
    contractId: string
    name: string
    region: string
    type: string
Copy

ImagingPolicySet 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 ImagingPolicySet resource accepts the following input properties:

ContractId
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Akamai Contract containing the Policy Set(s)
Region This property is required. string
The geographic region which media using this Policy Set is optimized for
Type
This property is required.
Changes to this property will trigger replacement.
string
The type of media this Policy Set manages
Name string
A friendly name for the Policy Set
ContractId
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Akamai Contract containing the Policy Set(s)
Region This property is required. string
The geographic region which media using this Policy Set is optimized for
Type
This property is required.
Changes to this property will trigger replacement.
string
The type of media this Policy Set manages
Name string
A friendly name for the Policy Set
contractId
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Akamai Contract containing the Policy Set(s)
region This property is required. String
The geographic region which media using this Policy Set is optimized for
type
This property is required.
Changes to this property will trigger replacement.
String
The type of media this Policy Set manages
name String
A friendly name for the Policy Set
contractId
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Akamai Contract containing the Policy Set(s)
region This property is required. string
The geographic region which media using this Policy Set is optimized for
type
This property is required.
Changes to this property will trigger replacement.
string
The type of media this Policy Set manages
name string
A friendly name for the Policy Set
contract_id
This property is required.
Changes to this property will trigger replacement.
str
The unique identifier for the Akamai Contract containing the Policy Set(s)
region This property is required. str
The geographic region which media using this Policy Set is optimized for
type
This property is required.
Changes to this property will trigger replacement.
str
The type of media this Policy Set manages
name str
A friendly name for the Policy Set
contractId
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Akamai Contract containing the Policy Set(s)
region This property is required. String
The geographic region which media using this Policy Set is optimized for
type
This property is required.
Changes to this property will trigger replacement.
String
The type of media this Policy Set manages
name String
A friendly name for the Policy Set

Outputs

All input properties are implicitly available as output properties. Additionally, the ImagingPolicySet resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ImagingPolicySet Resource

Get an existing ImagingPolicySet 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?: ImagingPolicySetState, opts?: CustomResourceOptions): ImagingPolicySet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        contract_id: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        type: Optional[str] = None) -> ImagingPolicySet
func GetImagingPolicySet(ctx *Context, name string, id IDInput, state *ImagingPolicySetState, opts ...ResourceOption) (*ImagingPolicySet, error)
public static ImagingPolicySet Get(string name, Input<string> id, ImagingPolicySetState? state, CustomResourceOptions? opts = null)
public static ImagingPolicySet get(String name, Output<String> id, ImagingPolicySetState state, CustomResourceOptions options)
resources:  _:    type: akamai:ImagingPolicySet    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:
ContractId Changes to this property will trigger replacement. string
The unique identifier for the Akamai Contract containing the Policy Set(s)
Name string
A friendly name for the Policy Set
Region string
The geographic region which media using this Policy Set is optimized for
Type Changes to this property will trigger replacement. string
The type of media this Policy Set manages
ContractId Changes to this property will trigger replacement. string
The unique identifier for the Akamai Contract containing the Policy Set(s)
Name string
A friendly name for the Policy Set
Region string
The geographic region which media using this Policy Set is optimized for
Type Changes to this property will trigger replacement. string
The type of media this Policy Set manages
contractId Changes to this property will trigger replacement. String
The unique identifier for the Akamai Contract containing the Policy Set(s)
name String
A friendly name for the Policy Set
region String
The geographic region which media using this Policy Set is optimized for
type Changes to this property will trigger replacement. String
The type of media this Policy Set manages
contractId Changes to this property will trigger replacement. string
The unique identifier for the Akamai Contract containing the Policy Set(s)
name string
A friendly name for the Policy Set
region string
The geographic region which media using this Policy Set is optimized for
type Changes to this property will trigger replacement. string
The type of media this Policy Set manages
contract_id Changes to this property will trigger replacement. str
The unique identifier for the Akamai Contract containing the Policy Set(s)
name str
A friendly name for the Policy Set
region str
The geographic region which media using this Policy Set is optimized for
type Changes to this property will trigger replacement. str
The type of media this Policy Set manages
contractId Changes to this property will trigger replacement. String
The unique identifier for the Akamai Contract containing the Policy Set(s)
name String
A friendly name for the Policy Set
region String
The geographic region which media using this Policy Set is optimized for
type Changes to this property will trigger replacement. String
The type of media this Policy Set manages

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.