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

DeploymentManager

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

The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.

class DeploymentManager {
constructor(client?: CredentialsClient, baseUrl?: string);
async deploymentsCancelPreview(
deployment: string,
project: string,
): Promise<Operation>;
async deploymentsDelete(
deployment: string,
project: string,
): Promise<Operation>;
async deploymentsGet(deployment: string, project: string): Promise<Deployment>;
async deploymentsGetIamPolicy(
project: string,
resource: string,
): Promise<Policy>;
async deploymentsInsert(
project: string,
): Promise<Operation>;
async deploymentsList(project: string, opts?: DeploymentsListOptions): Promise<DeploymentsListResponse>;
async deploymentsPatch(
deployment: string,
project: string,
): Promise<Operation>;
async deploymentsSetIamPolicy(
project: string,
resource: string,
): Promise<Policy>;
async deploymentsStop(
deployment: string,
project: string,
): Promise<Operation>;
async deploymentsTestIamPermissions(
project: string,
resource: string,
): Promise<TestPermissionsResponse>;
async deploymentsUpdate(
deployment: string,
project: string,
): Promise<Operation>;
async manifestsGet(
deployment: string,
manifest: string,
project: string,
): Promise<Manifest>;
async manifestsList(
deployment: string,
project: string,
): Promise<ManifestsListResponse>;
async operationsGet(operation: string, project: string): Promise<Operation>;
async operationsList(project: string, opts?: OperationsListOptions): Promise<OperationsListResponse>;
async resourcesGet(
deployment: string,
project: string,
resource: string,
): Promise<Resource>;
async resourcesList(
deployment: string,
project: string,
): Promise<ResourcesListResponse>;
async typesList(project: string, opts?: TypesListOptions): Promise<TypesListResponse>;
}

§Constructors

§
new DeploymentManager(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
deploymentsCancelPreview(deployment: string, project: string, req: DeploymentsCancelPreviewRequest): Promise<Operation>
[src]

Cancels and removes the preview currently associated with the deployment.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
deploymentsDelete(deployment: string, project: string, opts?: DeploymentsDeleteOptions): Promise<Operation>
[src]

Deletes a deployment and all of the resources in the deployment.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
deploymentsGet(deployment: string, project: string): Promise<Deployment>
[src]

Gets information about a specific deployment.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
deploymentsGetIamPolicy(project: string, resource: string, opts?: DeploymentsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

@param project

Project ID for this request.

@param resource

Name or id of the resource for this request.

§
deploymentsInsert(project: string, req: Deployment, opts?: DeploymentsInsertOptions): Promise<Operation>
[src]

Creates a deployment and all of the resources described by the deployment manifest.

@param project

The project ID for this request.

§
deploymentsList(project: string, opts?: DeploymentsListOptions): Promise<DeploymentsListResponse>
[src]

Lists all deployments for a given project.

@param project

The project ID for this request.

§
deploymentsPatch(deployment: string, project: string, req: Deployment, opts?: DeploymentsPatchOptions): Promise<Operation>
[src]

Patches a deployment and all of the resources described by the deployment manifest.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
deploymentsSetIamPolicy(project: string, resource: string, req: GlobalSetPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy.

@param project

Project ID for this request.

@param resource

Name or id of the resource for this request.

§
deploymentsStop(deployment: string, project: string, req: DeploymentsStopRequest): Promise<Operation>
[src]

Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
deploymentsTestIamPermissions(project: string, resource: string, req: TestPermissionsRequest): Promise<TestPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource.

@param project

Project ID for this request.

@param resource

Name or id of the resource for this request.

§
deploymentsUpdate(deployment: string, project: string, req: Deployment, opts?: DeploymentsUpdateOptions): Promise<Operation>
[src]

Updates a deployment and all of the resources described by the deployment manifest.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
manifestsGet(deployment: string, manifest: string, project: string): Promise<Manifest>
[src]

Gets information about a specific manifest.

@param deployment

The name of the deployment for this request.

@param manifest

The name of the manifest for this request.

@param project

The project ID for this request.

§
manifestsList(deployment: string, project: string, opts?: ManifestsListOptions): Promise<ManifestsListResponse>
[src]

Lists all manifests for a given deployment.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
operationsGet(operation: string, project: string): Promise<Operation>
[src]

Gets information about a specific operation.

@param operation

The name of the operation for this request.

@param project

The project ID for this request.

§
operationsList(project: string, opts?: OperationsListOptions): Promise<OperationsListResponse>
[src]

Lists all operations for a project.

@param project

The project ID for this request.

§
resourcesGet(deployment: string, project: string, resource: string): Promise<Resource>
[src]

Gets information about a single resource.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

@param resource

The name of the resource for this request.

§
resourcesList(deployment: string, project: string, opts?: ResourcesListOptions): Promise<ResourcesListResponse>
[src]

Lists all resources in a given deployment.

@param deployment

The name of the deployment for this request.

@param project

The project ID for this request.

§
typesList(project: string, opts?: TypesListOptions): Promise<TypesListResponse>
[src]

Lists all resource types for Deployment Manager.

@param project

The project ID for this request.