Property hostname

New-ChinaCDNPropertyHostname

Synopsis

Create or update a property hostname.

Syntax

New-ChinaCDNPropertyHostname -Hostname <String> -GroupID <Int32> [-Comments <String>] [-ICPNumberID <Int32>] [-ServiceCategory <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-ChinaCDNPropertyHostname -Hostname <String> -GroupID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates or updates a property hostname based on the group for your current account and contract type. If the property hostname has a provision status of WHITELISTED or PROVISIONED and you change the icpNumberId, the API creates a China partner re-approval request. If the partner denies the request for any reason, the property hostname's provisionState changes to DEPROVISIONED.

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 PSCustomObject or a string. This parameter supports pipelining.

‑Comments

A human-readable comment about the property hostname.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑GroupID
Required

Your group's ID. This parameter is only needed when creating a property hostname.

‑Hostname
Required

The fully qualified domain name of the property hostname.

‑ICPNumberID

The ICP number assigned to the property hostname.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑ServiceCategory

The type of website you're deploying to China. For available codes, see the Service category types page.

Related Links