AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DescribeCompute operation. This API works with the following fleet types: EC2, Anywhere, Container
Retrieves properties for a specific compute resource in an Amazon GameLift Servers fleet. You can list all computes in a fleet by calling ListCompute.
Request options
Provide the fleet ID and compute name. The compute name varies depending on the type of fleet.
For a compute in a managed EC2 fleet, provide an instance ID. Each instance in the fleet is a compute.
For a compute in a managed container fleet, provide a compute name. In a container fleet, each game server container group on a fleet instance is assigned a compute name.
For a compute in an Anywhere fleet, provide a registered compute name. Anywhere fleet computes are created when you register a hosting resource with the fleet.
Results
If successful, this operation returns details for the requested compute resource. Depending on the fleet's compute type, the result includes the following information:
For a managed EC2 fleet, this operation returns information about the EC2 instance.
For an Anywhere fleet, this operation returns information about the registered compute.
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class DescribeComputeRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The DescribeComputeRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
DescribeComputeRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
ComputeName | System.String |
Gets and sets the property ComputeName. The unique identifier of the compute resource to retrieve properties for. For a managed container fleet or Anywhere fleet, use a compute name. For an EC2 fleet, use an instance ID. To retrieve a fleet's compute identifiers, call ListCompute. |
|
FleetId | System.String |
Gets and sets the property FleetId. A unique identifier for the fleet that the compute belongs to. You can use either the fleet ID or ARN value. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5