[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). |
CreatePreview(CreatePreviewRequest, ServerCallContext)
public virtual Task<Operation> CreatePreview(CreatePreviewRequest request, ServerCallContext context)
Creates a [Preview][google.cloud.config.v1.Preview].
Parameters | |
---|---|
Name | Description |
request | CreatePreviewRequest 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). |
DeletePreview(DeletePreviewRequest, ServerCallContext)
public virtual Task<Operation> DeletePreview(DeletePreviewRequest request, ServerCallContext context)
Deletes a [Preview][google.cloud.config.v1.Preview].
Parameters | |
---|---|
Name | Description |
request | DeletePreviewRequest 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). |
ExportPreviewResult(ExportPreviewResultRequest, ServerCallContext)
public virtual Task<ExportPreviewResultResponse> ExportPreviewResult(ExportPreviewResultRequest request, ServerCallContext context)
Export [Preview][google.cloud.config.v1.Preview] results.
Parameters | |
---|---|
Name | Description |
request | ExportPreviewResultRequest The request received from the client. |
context | ServerCallContext The 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 | 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). |
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 | GetPreviewRequest The request received from the client. |
context | ServerCallContext The 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 | 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). |
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 | GetTerraformVersionRequest The request received from the client. |
context | ServerCallContext The 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 | 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). |
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 | ListPreviewsRequest The request received from the client. |
context | ServerCallContext The 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). |
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). |
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 | ListTerraformVersionsRequest The request received from the client. |
context | ServerCallContext The 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 | 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). |