Interface ConfigGrpc.AsyncService (0.32.0)

public static interface ConfigGrpc.AsyncService

Infrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.

Methods

createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)

public default void createDeployment(CreateDeploymentRequest request, StreamObserver<Operation> responseObserver)

Creates a Deployment.

Parameters
Name Description
request CreateDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createPreview(CreatePreviewRequest request, StreamObserver<Operation> responseObserver)

public default void createPreview(CreatePreviewRequest request, StreamObserver<Operation> responseObserver)

Creates a Preview.

Parameters
Name Description
request CreatePreviewRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)

public default void deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)

Deletes a Deployment.

Parameters
Name Description
request DeleteDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deletePreview(DeletePreviewRequest request, StreamObserver<Operation> responseObserver)

public default void deletePreview(DeletePreviewRequest request, StreamObserver<Operation> responseObserver)

Deletes a Preview.

Parameters
Name Description
request DeletePreviewRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteStatefile(DeleteStatefileRequest request, StreamObserver<Empty> responseObserver)

public default void deleteStatefile(DeleteStatefileRequest request, StreamObserver<Empty> responseObserver)

Deletes Terraform state file in a given deployment.

Parameters
Name Description
request DeleteStatefileRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

exportDeploymentStatefile(ExportDeploymentStatefileRequest request, StreamObserver<Statefile> responseObserver)

public default void exportDeploymentStatefile(ExportDeploymentStatefileRequest request, StreamObserver<Statefile> responseObserver)

Exports Terraform state file from a given deployment.

Parameters
Name Description
request ExportDeploymentStatefileRequest
responseObserver io.grpc.stub.StreamObserver<Statefile>

exportLockInfo(ExportLockInfoRequest request, StreamObserver<LockInfo> responseObserver)

public default void exportLockInfo(ExportLockInfoRequest request, StreamObserver<LockInfo> responseObserver)

Exports the lock info on a locked deployment.

Parameters
Name Description
request ExportLockInfoRequest
responseObserver io.grpc.stub.StreamObserver<LockInfo>

exportPreviewResult(ExportPreviewResultRequest request, StreamObserver<ExportPreviewResultResponse> responseObserver)

public default void exportPreviewResult(ExportPreviewResultRequest request, StreamObserver<ExportPreviewResultResponse> responseObserver)

Export Preview results.

Parameters
Name Description
request ExportPreviewResultRequest
responseObserver io.grpc.stub.StreamObserver<ExportPreviewResultResponse>

exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)

public default void exportRevisionStatefile(ExportRevisionStatefileRequest request, StreamObserver<Statefile> responseObserver)

Exports Terraform state file from a given revision.

Parameters
Name Description
request ExportRevisionStatefileRequest
responseObserver io.grpc.stub.StreamObserver<Statefile>

getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

public default void getDeployment(GetDeploymentRequest request, StreamObserver<Deployment> responseObserver)

Gets details about a Deployment.

Parameters
Name Description
request GetDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Deployment>

getPreview(GetPreviewRequest request, StreamObserver<Preview> responseObserver)

public default void getPreview(GetPreviewRequest request, StreamObserver<Preview> responseObserver)

Gets details about a Preview.

Parameters
Name Description
request GetPreviewRequest
responseObserver io.grpc.stub.StreamObserver<Preview>

getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)

public default void getResource(GetResourceRequest request, StreamObserver<Resource> responseObserver)

Gets details about a Resource deployed by Infra Manager.

Parameters
Name Description
request GetResourceRequest
responseObserver io.grpc.stub.StreamObserver<Resource>

getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

public default void getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

Gets details about a Revision.

Parameters
Name Description
request GetRevisionRequest
responseObserver io.grpc.stub.StreamObserver<Revision>

getTerraformVersion(GetTerraformVersionRequest request, StreamObserver<TerraformVersion> responseObserver)

public default void getTerraformVersion(GetTerraformVersionRequest request, StreamObserver<TerraformVersion> responseObserver)

Gets details about a TerraformVersion.

Parameters
Name Description
request GetTerraformVersionRequest
responseObserver io.grpc.stub.StreamObserver<TerraformVersion>

importStatefile(ImportStatefileRequest request, StreamObserver<Statefile> responseObserver)

public default void importStatefile(ImportStatefileRequest request, StreamObserver<Statefile> responseObserver)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
Name Description
request ImportStatefileRequest
responseObserver io.grpc.stub.StreamObserver<Statefile>

listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

public default void listDeployments(ListDeploymentsRequest request, StreamObserver<ListDeploymentsResponse> responseObserver)

Lists Deployments in a given project and location.

Parameters
Name Description
request ListDeploymentsRequest
responseObserver io.grpc.stub.StreamObserver<ListDeploymentsResponse>

listPreviews(ListPreviewsRequest request, StreamObserver<ListPreviewsResponse> responseObserver)

public default void listPreviews(ListPreviewsRequest request, StreamObserver<ListPreviewsResponse> responseObserver)

Lists Previews in a given project and location.

Parameters
Name Description
request ListPreviewsRequest
responseObserver io.grpc.stub.StreamObserver<ListPreviewsResponse>

listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)

public default void listResources(ListResourcesRequest request, StreamObserver<ListResourcesResponse> responseObserver)

Lists Resources in a given revision.

Parameters
Name Description
request ListResourcesRequest
responseObserver io.grpc.stub.StreamObserver<ListResourcesResponse>

listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

public default void listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

Lists Revisions of a deployment.

Parameters
Name Description
request ListRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<ListRevisionsResponse>

listTerraformVersions(ListTerraformVersionsRequest request, StreamObserver<ListTerraformVersionsResponse> responseObserver)

public default void listTerraformVersions(ListTerraformVersionsRequest request, StreamObserver<ListTerraformVersionsResponse> responseObserver)

Lists TerraformVersions in a given project and location.

Parameters
Name Description
request ListTerraformVersionsRequest
responseObserver io.grpc.stub.StreamObserver<ListTerraformVersionsResponse>

lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)

public default void lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)

Locks a deployment.

Parameters
Name Description
request LockDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)

public default void unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)

Unlocks a locked deployment.

Parameters
Name Description
request UnlockDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)

public default void updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)

Updates a Deployment.

Parameters
Name Description
request UpdateDeploymentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>