C# 클래스 Amazon.GameLift.Model.UpdateFleetCapacityRequest

Container for the parameters to the UpdateFleetCapacity operation. Updates capacity settings for a fleet. Use this action to specify the number of EC2 instances (hosts) that you want this fleet to contain. Before calling this action, you may want to call DescribeEC2InstanceLimits to get the maximum capacity based on the fleet's EC2 instance type.

If you're using autoscaling (see PutScalingPolicy), you may want to specify a minimum and/or maximum capacity. If you don't provide these, autoscaling can set capacity anywhere between zero and the service limits.

To update fleet capacity, specify the fleet ID and the number of instances you want the fleet to host. If successful, Amazon GameLift starts or terminates instances so that the fleet's active instance count matches the desired instance count. You can view a fleet's current capacity information by calling DescribeFleetCapacity. If the desired instance count is higher than the instance type's limit, the "Limit Exceeded" exception occurs.

상속: AmazonGameLiftRequest
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

비공개 메소드들

메소드 설명
IsSetDesiredInstances ( ) : bool
IsSetFleetId ( ) : bool
IsSetMaxSize ( ) : bool
IsSetMinSize ( ) : bool