Interface ConfigGrpc.AsyncService (0.18.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
NameDescription
requestCreateDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createPreview(CreatePreviewRequest request, StreamObserver<Operation> responseObserver)

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

Creates a Preview.

Parameters
NameDescription
requestCreatePreviewRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteDeployment(DeleteDeploymentRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a Deployment.

Parameters
NameDescription
requestDeleteDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePreview(DeletePreviewRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a Preview.

Parameters
NameDescription
requestDeletePreviewRequest
responseObserverio.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
NameDescription
requestDeleteStatefileRequest
responseObserverio.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
NameDescription
requestExportDeploymentStatefileRequest
responseObserverio.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
NameDescription
requestExportLockInfoRequest
responseObserverio.grpc.stub.StreamObserver<LockInfo>

exportPreviewResult(ExportPreviewResultRequest request, StreamObserver<ExportPreviewResultResponse> responseObserver)

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

Export Preview results.

Parameters
NameDescription
requestExportPreviewResultRequest
responseObserverio.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
NameDescription
requestExportRevisionStatefileRequest
responseObserverio.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
NameDescription
requestGetDeploymentRequest
responseObserverio.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
NameDescription
requestGetPreviewRequest
responseObserverio.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
NameDescription
requestGetResourceRequest
responseObserverio.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
NameDescription
requestGetRevisionRequest
responseObserverio.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
NameDescription
requestGetTerraformVersionRequest
responseObserverio.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
NameDescription
requestImportStatefileRequest
responseObserverio.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
NameDescription
requestListDeploymentsRequest
responseObserverio.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
NameDescription
requestListPreviewsRequest
responseObserverio.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
NameDescription
requestListResourcesRequest
responseObserverio.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
NameDescription
requestListRevisionsRequest
responseObserverio.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
NameDescription
requestListTerraformVersionsRequest
responseObserverio.grpc.stub.StreamObserver<ListTerraformVersionsResponse>

lockDeployment(LockDeploymentRequest request, StreamObserver<Operation> responseObserver)

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

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

unlockDeployment(UnlockDeploymentRequest request, StreamObserver<Operation> responseObserver)

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

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateDeployment(UpdateDeploymentRequest request, StreamObserver<Operation> responseObserver)

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

Updates a Deployment.

Parameters
NameDescription
requestUpdateDeploymentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>