Property
New-Property
Synopsis
Create or clone a property.
Syntax
New-Property -Name <String> -ProductID <String> [-RuleFormat <String>] [-ClonePropertyName <String>] [-ClonePropertyVersion <String>] [-ClonePropertyVersionEtag <String>] [-CopyHostnames] [-UseHostnameBucket] -GroupID <String> -ContractID <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-Property -Name <String> -ProductID <String> [-RuleFormat <String>] [-ClonePropertyID <String>] [-ClonePropertyVersion <String>] [-ClonePropertyVersionEtag <String>] [-CopyHostnames] [-UseHostnameBucket] -GroupID <String> -ContractID <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-Property -Body <Object> -GroupID <String> -ContractID <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates either a new property from scratch or clones an existing property with its rule tree and optionally its set of assigned hostnames. If creating a new property, you need to specify the product ID, which you can retrieve with the Get-Product
operation.
You can create the hostname bucket properties by adding the -UseHostnameBucket
switch. If cloning an existing property, you can optionally add the -CloneFromVersionEtag
parameter to specify the expected entity tag (ETag) of the source property to ensure it hasn't changed.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑Body Conditionally required |
A request body, either as a |
‑ClonePropertyID |
The ID of the property to clone. If cloning a property, provide this or the |
‑ClonePropertyName |
The name of the property to clone. If cloning a property, provide this or the |
‑ClonePropertyVersion |
The version of the property to clone. Can be an integer or the word |
‑ClonePropertyVersionEtag |
Performs an ETag data integrity check on the original property version to ensure no edits have occurred since your last check. |
‑ContractID Required |
Your contract's ID. The parameter is optional if a property belongs to only one contract; otherwise, you need to specify it along with the |
‑CopyHostnames |
Assigns the same set of hostnames to the new property. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑GroupID Required |
Your group's ID. The parameter is optional if a property belongs to only one group, otherwise you need to specify it along with the |
‑Name Conditionally required |
A human-readable name you give to identify your property. |
‑ProductID Conditionally required |
The product's ID. |
‑RuleFormat |
The name of the rule format. The rule format can be frozen to a specific version, or represent the |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑UseHostnameBucket |
When the switch is present, this creates a special type of property where you can add or remove property hostnames without incrementing property versions. Generally used for properties with > 1000 hostnames. |
Related Links
Updated 6 days ago