Amazon.ApplicationAutoScaling.AmazonApplicationAutoScalingClient.RegisterScalableTarget C# (CSharp) Метод

RegisterScalableTarget() публичный Метод

Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension.

After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// Your account exceeded a limit. This exception is thrown when a per-account resource /// limit is exceeded. For more information, see Application /// Auto Scaling Limits. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public RegisterScalableTarget ( RegisterScalableTargetRequest request ) : RegisterScalableTargetResponse
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget service method.
Результат RegisterScalableTargetResponse
        public RegisterScalableTargetResponse RegisterScalableTarget(RegisterScalableTargetRequest request)
        {
            var marshaller = new RegisterScalableTargetRequestMarshaller();
            var unmarshaller = RegisterScalableTargetResponseUnmarshaller.Instance;

            return Invoke<RegisterScalableTargetRequest,RegisterScalableTargetResponse>(request, marshaller, unmarshaller);
        }