[BindServiceMethod(typeof(RegionInstanceTemplates), "BindService")]
public abstract class RegionInstanceTemplates.RegionInstanceTemplatesBaseReference documentation and code samples for the Compute Engine v1 API class RegionInstanceTemplates.RegionInstanceTemplatesBase.
Base class for server-side implementations of RegionInstanceTemplates
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteRegionInstanceTemplateRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionInstanceTemplateRequest request, ServerCallContext context)Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionInstanceTemplateRequestThe 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). |
Get(GetRegionInstanceTemplateRequest, ServerCallContext)
public virtual Task<InstanceTemplate> Get(GetRegionInstanceTemplateRequest request, ServerCallContext context)Returns the specified instance template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionInstanceTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstanceTemplate |
The response to send back to the client (wrapped by a task). |
Insert(InsertRegionInstanceTemplateRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRegionInstanceTemplateRequest request, ServerCallContext context)Creates an instance template in the specified project and region using the global instance template whose URL is included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionInstanceTemplateRequestThe 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). |
List(ListRegionInstanceTemplatesRequest, ServerCallContext)
public virtual Task<InstanceTemplateList> List(ListRegionInstanceTemplatesRequest request, ServerCallContext context)Retrieves a list of instance templates that are contained within the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionInstanceTemplatesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstanceTemplateList |
The response to send back to the client (wrapped by a task). |