DeploymentsInsertOptions
import type { DeploymentsInsertOptions } from "https://googleapis.deno.dev/v1/deploymentmanager:v2.ts";
Additional options for DeploymentManager#deploymentsInsert.
interface DeploymentsInsertOptions {
createPolicy?: "CREATE_OR_ACQUIRE" | "ACQUIRE";
preview?: boolean;
}§Properties
§
createPolicy?: "CREATE_OR_ACQUIRE" | "ACQUIRE"
[src]Sets the policy to use for creating new resources.
§
preview?: boolean
[src]If set to true, creates a deployment and creates "shell" resources but
does not actually instantiate these resources. This allows you to preview
what your deployment looks like. After previewing a deployment, you can
deploy your resources by making a request with the update()
method or you
can use the cancelPreview()
method to cancel 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.