V1Alpha1.DeploymentService.DeploymentServiceBase Class

Namespace: Improbable.SpatialOS.Deployment

Base class for server-side implementations of DeploymentService


Methods

ListDeployments
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.ListDeploymentsResponse> ListDeployments(global::Improbable.SpatialOS.Deployment.V1Alpha1.ListDeploymentsRequest request, grpc::ServerCallContext context)

Lists deployments under a given project.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.ListDeploymentsRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

GetDeployment
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.GetDeploymentResponse> GetDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.GetDeploymentRequest request, grpc::ServerCallContext context)

Gets a deployment as identified by id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.GetDeploymentRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

GetRunningDeploymentByName
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.GetDeploymentResponse> GetRunningDeploymentByName(global::Improbable.SpatialOS.Deployment.V1Alpha1.GetRunningDeploymentByNameRequest request, grpc::ServerCallContext context)

Gets a deployment as identified by name.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.GetRunningDeploymentByNameRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

CreateDeployment
global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> CreateDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.CreateDeploymentRequest request, grpc::ServerCallContext context)

Creates a deployment.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.CreateDeploymentRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

Notes:
  • The returned operation result is of type deployment upon successful creation.

DeleteDeployment
global::System.Threading.Tasks.Task<global::Google.LongRunning.Operation> DeleteDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::ServerCallContext context)

Deletes a deployment.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

Notes:
  • The returned operation result is of type DeleteDeploymentResponse upon successful deletion.

UpdateDeployment
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentResponse> UpdateDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentRequest request, grpc::ServerCallContext context)

Updates a deployment as identified by the deployment's id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

StopDeployment
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentResponse> StopDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentRequest request, grpc::ServerCallContext context)

Stops a running deployment. You can call this at any point after you've called CreateDeployment. To restart a stopped deployment, call CreateDeployment with the same parameters as you did to start the deployment originally.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

SetDeploymentWorkerFlags
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerFlagsResponse> SetDeploymentWorkerFlags(global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerFlagsRequest request, grpc::ServerCallContext context)

SetDeploymentWorkerFlags sets the worker flags on a deployment as identified by the deployment_id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerFlagsRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

SetDeploymentTags
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentTagsResponse> SetDeploymentTags(global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentTagsRequest request, grpc::ServerCallContext context)

SetDeploymentTags sets the tags on a deployment as identified by the deployment_id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentTagsRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

SetDeploymentWorkerCapacities
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerCapacitiesResponse> SetDeploymentWorkerCapacities(global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerCapacitiesRequest request, grpc::ServerCallContext context)

SetDeploymentWorkerCapacities sets the worker capacities on a deployment as identified by the deployment_id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerCapacitiesRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

SetDeploymentWorkerRateLimits
global::System.Threading.Tasks.Task<global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerRateLimitsResponse> SetDeploymentWorkerRateLimits(global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerRateLimitsRequest request, grpc::ServerCallContext context)

SetDeploymentWorkerRateLimits sets the worker rate limits on a deployment as identified by the deployment_id.

Returns:
The response to send back to the client (wrapped by a task).

Parameters
  • global::Improbable.SpatialOS.Deployment.V1Alpha1.SetDeploymentWorkerRateLimitsRequest request : The request received from the client.
  • grpc::ServerCallContext context : The context of the server-side call handler being invoked.

Updated about a year ago


V1Alpha1.DeploymentService.DeploymentServiceBase Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.