diff --git a/apis/cf/latest/components/schemas/Deployment.yaml b/apis/cf/latest/components/schemas/Deployment.yaml index 3261efe..fb28d35 100644 --- a/apis/cf/latest/components/schemas/Deployment.yaml +++ b/apis/cf/latest/components/schemas/Deployment.yaml @@ -44,6 +44,31 @@ allOf: max_in_flight: type: integer description: The maximum number of new instances to deploy simultaneously + web_instances: + type: integer + description: The number of instances for the web process of the new droplet + memory_in_mb: + type: integer + description: The amount of memory in megabytes to allocate for the web process + disk_in_mb: + type: integer + description: The amount of disk space in megabytes to allocate for the web process + log_rate_limit_in_bytes_per_second: + type: integer + description: The log rate limit in bytes per second for the web process. A value of -1 indicates unlimited, 0 prevents any logs from being emitted. + canary: + type: object + description: Configuration for canary deployments. Present when strategy is 'canary'. + properties: + steps: + type: array + description: Array of steps defining the canary deployment progression + items: + type: object + properties: + instance_weight: + type: integer + description: The percentage of instances to be deployed as part of the canary process in this step droplet: type: object properties: diff --git a/apis/cf/latest/paths/Deployments.yaml b/apis/cf/latest/paths/Deployments.yaml index b27b47b..40fcc47 100644 --- a/apis/cf/latest/paths/Deployments.yaml +++ b/apis/cf/latest/paths/Deployments.yaml @@ -96,6 +96,39 @@ enum: - rolling - canary + options: + type: object + properties: + max_in_flight: + type: integer + description: The maximum number of instances that will be deployed simultaneously + default: 1 + minimum: 1 + web_instances: + type: integer + description: The number of instances for the web process of the new droplet + memory_in_mb: + type: integer + description: The amount of memory in megabytes to allocate for the web process + disk_in_mb: + type: integer + description: The amount of disk space in megabytes to allocate for the web process + log_rate_limit_in_bytes_per_second: + type: integer + description: The log rate limit in bytes per second for the web process. A value of -1 indicates unlimited, 0 prevents any logs from being emitted. + canary: + type: object + description: Canary steps to use for the deployment. Only available for deployments with strategy ‘canary’. + properties: + steps: + type: array + description: Array of steps defining the canary deployment progression + items: + type: object + properties: + instance_weight: + type: integer + description: The percentage of instances to be deployed as part of the canary process in this step droplet: $ref: '../components/schemas/Relationship.yaml' revision: diff --git a/apis/cf/latest/paths/Processes.yaml b/apis/cf/latest/paths/Processes.yaml index 1cddf91..bc8e41b 100644 --- a/apis/cf/latest/paths/Processes.yaml +++ b/apis/cf/latest/paths/Processes.yaml @@ -189,22 +189,22 @@ type: - integer - 'null' - - string + description: The number of instances to run memory_in_mb: type: - integer - 'null' - - string + description: The memory in MB allocated per instance disk_in_mb: type: - integer - 'null' - - string + description: The disk in MB allocated per instance log_rate_limit_in_bytes_per_second: type: - integer - 'null' - - string + description: The log rate limit in bytes per second per instance responses: '202': description: Accepted @@ -395,20 +395,22 @@ type: - integer - 'null' - - string + description: The number of instances to run memory_in_mb: type: - integer - 'null' - - string + description: The memory in MB allocated per instance disk_in_mb: type: - integer - 'null' + description: The disk in MB allocated per instance log_rate_limit_in_bytes_per_second: type: - integer - 'null' + description: The log rate limit in bytes per second per instance responses: '202': description: Accepted