Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeploymentsUpdateOptions

import type { DeploymentsUpdateOptions } from "https://googleapis.deno.dev/v1/deploymentmanager:v2.ts";

Additional options for DeploymentManager#deploymentsUpdate.

interface DeploymentsUpdateOptions {
createPolicy?: "CREATE_OR_ACQUIRE" | "ACQUIRE";
deletePolicy?: "DELETE" | "ABANDON";
preview?: boolean;
}

§Properties

§
createPolicy?: "CREATE_OR_ACQUIRE" | "ACQUIRE"
[src]

Sets the policy to use for creating new resources.

§
deletePolicy?: "DELETE" | "ABANDON"
[src]

Sets the policy to use for deleting resources.

§
preview?: boolean
[src]

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.