When you Create a new provision state change, you specify how you want your property hostname
deployed in China. This section describes the different attributes of a property hostname's provision state change.
-
Provision state. The
provisionState
member identifies your property hostname's deployment state and availability to serve your web traffic in China. -
Previous state. The
previousState
member identifies your property hostname's current deployment state before thetargetState
change is complete. -
Target State. The
targetState
member specifies how you want your propertyhostname
deployed in China. For example, settingtargetState
toPROVISIONED
, allowlists your propertyhostname
and maps it to the provided edge hostname on China CDN. -
Pending state. The
pendingState
member indicates thetargetState
change is in progress based on the China partners' approval. -
Partner states. The
partnerStates
array includes the property hostname'sprovisionState
andpendingState
for the China partner. -
Current status. The
currentStatus
member indicates the progress of the provision state change. For example, if the China partner approved thetargetState
change and the system successfully completed the change, thecurrentStatus
value isCOMPLETED
.
This table describes a property hostname's typical provision state changes during its deployment lifecycle on China CDN. See the API workflow for additional details.
When the provision state change's previousState is... | And its targetState is... | And its currentStatus is... | Then... |
---|---|---|---|
DEPROVISIONED | WHITELISTED | COMPLETED | The China partner approved the request and the system successfully completed the change. The property hostname is enabled on China CDN but it's not mapped to the provided edge hostname on China CDN. To activate the property hostname , set the targetState to PROVISIONED . |
DEPROVISIONED | WHITELISTED | PENDING | The targetState change is in progress. |
WHITELISTED | PROVISIONED | COMPLETED | The system successfully completed the change. The property hostname is activated on China CDN. This means that it's whitelisted and mapped to the provided edge hostname on China CDN. |
PROVISIONED | DEPROVISIONED | COMPLETED | The system successfully completed the change. The property hostname is deactivated. This means the property hostname was removed from the whitelist and unmapped from the edge hostname. |