Running A pre-deploy check for A staged product

Running A pre-deploy check for A staged product

Returns granular information about whether the specified product is ready to be deployed. It lists the following:

  • network assignment
  • availability zone assignment
  • stemcell assignment
  • properties that have errors
  • invalid resource configuration for jobs
  • verifiers that failed
Request
URI
GET
https://{api_host}/api/v0/staged/products/{product_guid}/pre_deploy_check
COPY
Path Parameters
string
product_guid
Required

The guid of the product


Responses
200

OK

Returns PreDeployCheck of type(s) application/json
"PreDeployCheck Object"
string
identifier
Optional

identifier

boolean
complete
Optional

complete

network
Optional

network

availability_zones
Optional

availability_zones

array of stemcells
stemcells
Optional

stemcells

array of properties
properties
Optional

properties

resources
Optional

resources

array of verifiers
verifiers
Optional

verifiers


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v0/staged/products/{product_guid}/pre_deploy_check