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

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

Deregisters a scalable target.

Deregistering a scalable target deletes the scaling policies that are associated with it.

To create a scalable target or update an existing one, see RegisterScalableTarget.

/// 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. /// /// The specified object could not be found. For any Put or Register /// API operation, which depends on the existence of a scalable target, this exception /// is thrown if the scalable target with the specified service namespace, resource ID, /// and scalable dimension does not exist. For any Delete or Deregister /// API operation, this exception is thrown if the resource that is to be deleted or deregistered /// cannot be found. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DeregisterScalableTarget ( DeregisterScalableTargetRequest request ) : DeregisterScalableTargetResponse
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget service method.
Результат DeregisterScalableTargetResponse
        public DeregisterScalableTargetResponse DeregisterScalableTarget(DeregisterScalableTargetRequest request)
        {
            var marshaller = new DeregisterScalableTargetRequestMarshaller();
            var unmarshaller = DeregisterScalableTargetResponseUnmarshaller.Instance;

            return Invoke<DeregisterScalableTargetRequest,DeregisterScalableTargetResponse>(request, marshaller, unmarshaller);
        }