[BindServiceMethod(typeof(Config), "BindService")]
public abstract class Config.ConfigBaseReference 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 |
CreateDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CreatePreview(CreatePreviewRequest, ServerCallContext)
public virtual Task<Operation> CreatePreview(CreatePreviewRequest request, ServerCallContext context)Creates a [Preview][google.cloud.config.v1.Preview].
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePreviewRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeletePreview(DeletePreviewRequest, ServerCallContext)
public virtual Task<Operation> DeletePreview(DeletePreviewRequest request, ServerCallContext context)Deletes a [Preview][google.cloud.config.v1.Preview].
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePreviewRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteStatefileRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ExportDeploymentStatefileRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ExportLockInfoRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ExportPreviewResult(ExportPreviewResultRequest, ServerCallContext)
public virtual Task<ExportPreviewResultResponse> ExportPreviewResult(ExportPreviewResultRequest request, ServerCallContext context)Export [Preview][google.cloud.config.v1.Preview] results.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportPreviewResultRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExportPreviewResultResponse |
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 |
ExportRevisionStatefileRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetPreview(GetPreviewRequest, ServerCallContext)
public virtual Task<Preview> GetPreview(GetPreviewRequest request, ServerCallContext context)Gets details about a [Preview][google.cloud.config.v1.Preview].
| Parameters | |
|---|---|
| Name | Description |
request |
GetPreviewRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPreview |
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 |
GetResourceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetResourceChange(GetResourceChangeRequest, ServerCallContext)
public virtual Task<ResourceChange> GetResourceChange(GetResourceChangeRequest request, ServerCallContext context)Get a ResourceChange for a given preview.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceChangeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceChange |
The response to send back to the client (wrapped by a task). |
GetResourceDrift(GetResourceDriftRequest, ServerCallContext)
public virtual Task<ResourceDrift> GetResourceDrift(GetResourceDriftRequest request, ServerCallContext context)Get a ResourceDrift for a given preview.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceDriftRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceDrift |
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 |
GetRevisionRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetTerraformVersion(GetTerraformVersionRequest, ServerCallContext)
public virtual Task<TerraformVersion> GetTerraformVersion(GetTerraformVersionRequest request, ServerCallContext context)Gets details about a [TerraformVersion][google.cloud.config.v1.TerraformVersion].
| Parameters | |
|---|---|
| Name | Description |
request |
GetTerraformVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTerraformVersion |
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 |
ImportStatefileRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListDeploymentsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ListPreviews(ListPreviewsRequest, ServerCallContext)
public virtual Task<ListPreviewsResponse> ListPreviews(ListPreviewsRequest request, ServerCallContext context)Lists [Preview][google.cloud.config.v1.Preview]s in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPreviewsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPreviewsResponse |
The response to send back to the client (wrapped by a task). |
ListResourceChanges(ListResourceChangesRequest, ServerCallContext)
public virtual Task<ListResourceChangesResponse> ListResourceChanges(ListResourceChangesRequest request, ServerCallContext context)Lists ResourceChanges for a given preview.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceChangesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListResourceChangesResponse |
The response to send back to the client (wrapped by a task). |
ListResourceDrifts(ListResourceDriftsRequest, ServerCallContext)
public virtual Task<ListResourceDriftsResponse> ListResourceDrifts(ListResourceDriftsRequest request, ServerCallContext context)List ResourceDrifts for a given preview.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceDriftsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListResourceDriftsResponse |
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 [Resources][google.cloud.config.v1.Resource] in a given revision.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourcesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListRevisionsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ListTerraformVersions(ListTerraformVersionsRequest, ServerCallContext)
public virtual Task<ListTerraformVersionsResponse> ListTerraformVersions(ListTerraformVersionsRequest request, ServerCallContext context)Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTerraformVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListTerraformVersionsResponse |
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 |
LockDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UnlockDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe 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). |