Policy set
New-IVMPolicySet
Synopsis
Create a policy set.
Syntax
attributes (Default)
New-IVMPolicySet -Name <String> -Region <String> -Type <String> [-DefaultPolicy <Object>]
[-ContractID <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
body
New-IVMPolicySet -Body <Object> [-ContractID <String>] [-EdgeRCFile <String>] [-Section <String>]
[-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates a new IVM policy set of either the IMAGE
or VIDEO
type in a specified geographic region. You can tab through the -Region
and -Type
options to see what values are acceptable.
Note: If your account has multiple IVM-enabled contracts, you need to specify the contract ID.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Account switch keys can be found using Get-AccountSwitchKey
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Body
Request body, either as a PSCustomObject
or string. This parameter supports pipelining.
Type: Object
Parameter Sets: body
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-ContractID
An ID for the contract.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DefaultPolicy
The default policy to deploy this policy set with. If unspecified, the policy set will use the system default.
Type: Object
Parameter Sets: attributes
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
A friendly name for the policy set.
Type: String
Parameter Sets: attributes
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Region
The geographic region for which the media using this policy set is optimized. Altering the value on an existing policy set voids previously cached images and videos and require their transformation again.
The supported geographic regions are US
, EMEA
, ASIA
, AUSTRALIA
, JAPAN
, or CHINA
. EMEA
is Europe, the Middle East, and Africa.
Type: String
Parameter Sets: attributes
Aliases:
Accepted values: US, EMEA, ASIA, AUSTRALIA, JAPAN, CHINA
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Type
The type of media this policy set manages, either IMAGE
or VIDEO
.
Type: String
Parameter Sets: attributes
Aliases:
Accepted values: IMAGE, VIDEO
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
System.Object
Outputs
System.Object
Related links
Updated 16 days ago