compute

PlacementPolicies_create

Alpha

POST /v1/projects/{project}/locations/{location}/placementPolicies
PropertyValue
Permissioncompute.placementPolicies.create
RiskR1
Lifecyclealpha
Request bodyyes
Agent toolyes

Parameters

NameInRequiredType
projectpathyesstring
locationpathyesstring
placementPolicyIdqueryyesstring
requestIdquerynostring
validateOnlyquerynoboolean

Responses

202, 400, 401, 402, 403, 404, 409, 412, 422, 429, 451, 500, 501, 503, 504

An error is an application/problem+json body; its code is one of the problem codes.

CLI

egulu placement-policies create