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 string
- The unique name of the resource.
- args ImagingPolicySetArgs
- 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 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 string
- The unique name of the resource.
- args ImagingPolicySetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagingPolicySetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := akamai.NewImagingPolicySet(ctx, "imagingPolicySetResource", &akamai.ImagingPolicySetArgs{
ContractId: pulumi.String("string"),
Region: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
})
var imagingPolicySetResource = new ImagingPolicySet("imagingPolicySetResource", ImagingPolicySetArgs.builder()
.contractId("string")
.region("string")
.type("string")
.name("string")
.build());
imaging_policy_set_resource = akamai.ImagingPolicySet("imagingPolicySetResource",
contract_id="string",
region="string",
type="string",
name="string")
const imagingPolicySetResource = new akamai.ImagingPolicySet("imagingPolicySetResource", {
contractId: "string",
region: "string",
type: "string",
name: "string",
});
type: akamai:ImagingPolicySet
properties:
contractId: string
name: string
region: string
type: string
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:
- Contract
Id string - The unique identifier for the Akamai Contract containing the Policy Set(s)
- Region string
- The geographic region which media using this Policy Set is optimized for
- Type string
- The type of media this Policy Set manages
- Name string
- A friendly name for the Policy Set
- Contract
Id string - The unique identifier for the Akamai Contract containing the Policy Set(s)
- Region string
- The geographic region which media using this Policy Set is optimized for
- Type string
- The type of media this Policy Set manages
- Name string
- A friendly name for the Policy Set
- contract
Id String - The unique identifier for the Akamai Contract containing the Policy Set(s)
- region String
- The geographic region which media using this Policy Set is optimized for
- type String
- The type of media this Policy Set manages
- name String
- A friendly name for the Policy Set
- contract
Id string - The unique identifier for the Akamai Contract containing the Policy Set(s)
- region string
- The geographic region which media using this Policy Set is optimized for
- type string
- The type of media this Policy Set manages
- name string
- A friendly name for the Policy Set
- contract_
id str - The unique identifier for the Akamai Contract containing the Policy Set(s)
- region str
- The geographic region which media using this Policy Set is optimized for
- type str
- The type of media this Policy Set manages
- name str
- A friendly name for the Policy Set
- contract
Id String - The unique identifier for the Akamai Contract containing the Policy Set(s)
- region String
- The geographic region which media using this Policy Set is optimized for
- type 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)
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.
- Contract
Id 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 string
- The type of media this Policy Set manages
- Contract
Id 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 string
- The type of media this Policy Set manages
- contract
Id 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 String
- The type of media this Policy Set manages
- contract
Id 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 string
- The type of media this Policy Set manages
- contract_
id 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 str
- The type of media this Policy Set manages
- contract
Id 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 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.