public static final class ConfigGrpc.ConfigFutureStub extends AbstractFutureStub<ConfigGrpc.ConfigFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Config.
Infrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConfigGrpc.ConfigFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected ConfigGrpc.ConfigFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ConfigGrpc.ConfigFutureStub |
createDeployment(CreateDeploymentRequest request)
public ListenableFuture<Operation> createDeployment(CreateDeploymentRequest request)
Creates a Deployment.
Parameter | |
---|---|
Name | Description |
request | CreateDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteDeployment(DeleteDeploymentRequest request)
public ListenableFuture<Operation> deleteDeployment(DeleteDeploymentRequest request)
Deletes a Deployment.
Parameter | |
---|---|
Name | Description |
request | DeleteDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteStatefile(DeleteStatefileRequest request)
public ListenableFuture<Empty> deleteStatefile(DeleteStatefileRequest request)
Deletes Terraform state file in a given deployment.
Parameter | |
---|---|
Name | Description |
request | DeleteStatefileRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
exportDeploymentStatefile(ExportDeploymentStatefileRequest request)
public ListenableFuture<Statefile> exportDeploymentStatefile(ExportDeploymentStatefileRequest request)
Exports Terraform state file from a given deployment.
Parameter | |
---|---|
Name | Description |
request | ExportDeploymentStatefileRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Statefile> |
exportLockInfo(ExportLockInfoRequest request)
public ListenableFuture<LockInfo> exportLockInfo(ExportLockInfoRequest request)
Exports the lock info on a locked deployment.
Parameter | |
---|---|
Name | Description |
request | ExportLockInfoRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LockInfo> |
exportRevisionStatefile(ExportRevisionStatefileRequest request)
public ListenableFuture<Statefile> exportRevisionStatefile(ExportRevisionStatefileRequest request)
Exports Terraform state file from a given revision.
Parameter | |
---|---|
Name | Description |
request | ExportRevisionStatefileRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Statefile> |
getDeployment(GetDeploymentRequest request)
public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)
Gets details about a Deployment.
Parameter | |
---|---|
Name | Description |
request | GetDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Deployment> |
getResource(GetResourceRequest request)
public ListenableFuture<Resource> getResource(GetResourceRequest request)
Gets details about a Resource deployed by Infra Manager.
Parameter | |
---|---|
Name | Description |
request | GetResourceRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Resource> |
getRevision(GetRevisionRequest request)
public ListenableFuture<Revision> getRevision(GetRevisionRequest request)
Gets details about a Revision.
Parameter | |
---|---|
Name | Description |
request | GetRevisionRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Revision> |
importStatefile(ImportStatefileRequest request)
public ListenableFuture<Statefile> importStatefile(ImportStatefileRequest request)
Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.
Parameter | |
---|---|
Name | Description |
request | ImportStatefileRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Statefile> |
listDeployments(ListDeploymentsRequest request)
public ListenableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request)
Lists Deployments in a given project and location.
Parameter | |
---|---|
Name | Description |
request | ListDeploymentsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListDeploymentsResponse> |
listResources(ListResourcesRequest request)
public ListenableFuture<ListResourcesResponse> listResources(ListResourcesRequest request)
Lists Resources in a given revision.
Parameter | |
---|---|
Name | Description |
request | ListResourcesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListResourcesResponse> |
listRevisions(ListRevisionsRequest request)
public ListenableFuture<ListRevisionsResponse> listRevisions(ListRevisionsRequest request)
Lists Revisions of a deployment.
Parameter | |
---|---|
Name | Description |
request | ListRevisionsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListRevisionsResponse> |
lockDeployment(LockDeploymentRequest request)
public ListenableFuture<Operation> lockDeployment(LockDeploymentRequest request)
Locks a deployment.
Parameter | |
---|---|
Name | Description |
request | LockDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
unlockDeployment(UnlockDeploymentRequest request)
public ListenableFuture<Operation> unlockDeployment(UnlockDeploymentRequest request)
Unlocks a locked deployment.
Parameter | |
---|---|
Name | Description |
request | UnlockDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
updateDeployment(UpdateDeploymentRequest request)
public ListenableFuture<Operation> updateDeployment(UpdateDeploymentRequest request)
Updates a Deployment.
Parameter | |
---|---|
Name | Description |
request | UpdateDeploymentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |