Create or update policy
Creates or updates a policy by name.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Name of the policy
Body
Rule that controls how a deployment is made and served (e.g. location restrictions)
The date and time when the resource was created
The user or service account who created the resource
The date and time when the resource was updated
The user or service account who updated the resource
Policy display name
Flavors allowed by the policy. If not set, all flavors are allowed.
Labels
Locations allowed by the policy. If not set, all locations are allowed.
Policy name
ResourceTypes where the policy is applied. If not set, the policy is applied to all resource types.
Policy type, can be location or flavor
The workspace the policy belongs to
Response
Rule that controls how a deployment is made and served (e.g. location restrictions)
The date and time when the resource was created
The user or service account who created the resource
The date and time when the resource was updated
The user or service account who updated the resource
Policy display name
Flavors allowed by the policy. If not set, all flavors are allowed.
Labels
Locations allowed by the policy. If not set, all locations are allowed.
Policy name
ResourceTypes where the policy is applied. If not set, the policy is applied to all resource types.
Policy type, can be location or flavor
The workspace the policy belongs to