[BindServiceMethod(typeof(Config), "BindService")]
public abstract class Config.ConfigBase
Reference documentation and code samples for the Infrastructure Manager v1 API class Config.ConfigBase.
Base class for server-side implementations of Config
Namespace
Google.Cloud.Config.V1Assembly
Google.Cloud.Config.V1.dll
Methods
CreateDeployment(CreateDeploymentRequest, ServerCallContext)
public virtual Task<Operation> CreateDeployment(CreateDeploymentRequest request, ServerCallContext context)
Creates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | CreateDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
DeleteDeployment(DeleteDeploymentRequest, ServerCallContext)
public virtual Task<Operation> DeleteDeployment(DeleteDeploymentRequest request, ServerCallContext context)
Deletes a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | DeleteDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
DeleteStatefile(DeleteStatefileRequest, ServerCallContext)
public virtual Task<Empty> DeleteStatefile(DeleteStatefileRequest request, ServerCallContext context)
Deletes Terraform state file in a given deployment.
Parameters | |
---|---|
Name | Description |
request | DeleteStatefileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty | The response to send back to the client (wrapped by a task). |
ExportDeploymentStatefile(ExportDeploymentStatefileRequest, ServerCallContext)
public virtual Task<Statefile> ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, ServerCallContext context)
Exports Terraform state file from a given deployment.
Parameters | |
---|---|
Name | Description |
request | ExportDeploymentStatefileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskStatefile | The response to send back to the client (wrapped by a task). |
ExportLockInfo(ExportLockInfoRequest, ServerCallContext)
public virtual Task<LockInfo> ExportLockInfo(ExportLockInfoRequest request, ServerCallContext context)
Exports the lock info on a locked deployment.
Parameters | |
---|---|
Name | Description |
request | ExportLockInfoRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskLockInfo | The response to send back to the client (wrapped by a task). |
ExportRevisionStatefile(ExportRevisionStatefileRequest, ServerCallContext)
public virtual Task<Statefile> ExportRevisionStatefile(ExportRevisionStatefileRequest request, ServerCallContext context)
Exports Terraform state file from a given revision.
Parameters | |
---|---|
Name | Description |
request | ExportRevisionStatefileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskStatefile | The response to send back to the client (wrapped by a task). |
GetDeployment(GetDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> GetDeployment(GetDeploymentRequest request, ServerCallContext context)
Gets details about a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDeployment | The response to send back to the client (wrapped by a task). |
GetResource(GetResourceRequest, ServerCallContext)
public virtual Task<Resource> GetResource(GetResourceRequest request, ServerCallContext context)
Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.
Parameters | |
---|---|
Name | Description |
request | GetResourceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskResource | The response to send back to the client (wrapped by a task). |
GetRevision(GetRevisionRequest, ServerCallContext)
public virtual Task<Revision> GetRevision(GetRevisionRequest request, ServerCallContext context)
Gets details about a [Revision][google.cloud.config.v1.Revision].
Parameters | |
---|---|
Name | Description |
request | GetRevisionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskRevision | The response to send back to the client (wrapped by a task). |
ImportStatefile(ImportStatefileRequest, ServerCallContext)
public virtual Task<Statefile> ImportStatefile(ImportStatefileRequest request, ServerCallContext context)
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 The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskStatefile | The response to send back to the client (wrapped by a task). |
ListDeployments(ListDeploymentsRequest, ServerCallContext)
public virtual Task<ListDeploymentsResponse> ListDeployments(ListDeploymentsRequest request, ServerCallContext context)
Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListDeploymentsResponse | The response to send back to the client (wrapped by a task). |
ListResources(ListResourcesRequest, ServerCallContext)
public virtual Task<ListResourcesResponse> ListResources(ListResourcesRequest request, ServerCallContext context)
Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
Parameters | |
---|---|
Name | Description |
request | ListResourcesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListResourcesResponse | The response to send back to the client (wrapped by a task). |
ListRevisions(ListRevisionsRequest, ServerCallContext)
public virtual Task<ListRevisionsResponse> ListRevisions(ListRevisionsRequest request, ServerCallContext context)
Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
Parameters | |
---|---|
Name | Description |
request | ListRevisionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListRevisionsResponse | The response to send back to the client (wrapped by a task). |
LockDeployment(LockDeploymentRequest, ServerCallContext)
public virtual Task<Operation> LockDeployment(LockDeploymentRequest request, ServerCallContext context)
Locks a deployment.
Parameters | |
---|---|
Name | Description |
request | LockDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
UnlockDeployment(UnlockDeploymentRequest, ServerCallContext)
public virtual Task<Operation> UnlockDeployment(UnlockDeploymentRequest request, ServerCallContext context)
Unlocks a locked deployment.
Parameters | |
---|---|
Name | Description |
request | UnlockDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
UpdateDeployment(UpdateDeploymentRequest, ServerCallContext)
public virtual Task<Operation> UpdateDeployment(UpdateDeploymentRequest request, ServerCallContext context)
Updates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | UpdateDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |