DeploymentsUpdateOptions
import type { DeploymentsUpdateOptions } from "https://googleapis.deno.dev/v1/deploymentmanager:v2.ts";
Additional options for DeploymentManager#deploymentsUpdate.
§Properties
Sets the policy to use for creating new resources.
If set to true, updates the deployment and creates and updates the "shell"
resources but does not actually alter or instantiate these resources. This
allows you to preview what your deployment will look like. You can use this
intent to preview how an update would affect your deployment. You must
provide a target.config
with a configuration if this is set to true.
After previewing a deployment, you can deploy your resources by making a
request with the update()
or you can cancelPreview()
to remove the
preview altogether. Note that the deployment will still exist after you
cancel the preview and you must separately delete this deployment if you
want to remove it.