C# Класс Amazon.ApplicationAutoScaling.AmazonApplicationAutoScalingClient

Implementation for accessing ApplicationAutoScaling With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks:
  • Define scaling policies to automatically scale your AWS resources

  • Scale your resources in response to CloudWatch alarms

  • View the history of your scaling events

Application Auto Scaling can scale the following AWS resources:

For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.

Наследование: AmazonServiceClient, IAmazonApplicationAutoScaling
Показать файл Открыть проект

Открытые методы

Метод Описание
AmazonApplicationAutoScalingClient ( ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( AWSCredentials credentials ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials

AmazonApplicationAutoScalingClient ( AWSCredentials credentials, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials

AmazonApplicationAutoScalingClient ( AmazonApplicationAutoScalingConfig config ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

BeginDeleteScalingPolicy ( DeleteScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteScalingPolicy operation.

BeginDeregisterScalableTarget ( DeregisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeregisterScalableTarget operation.

BeginDescribeScalableTargets ( DescribeScalableTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalableTargets operation.

BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingActivities operation.

BeginDescribeScalingPolicies ( DescribeScalingPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingPolicies operation.

BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutScalingPolicy operation.

BeginRegisterScalableTarget ( RegisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RegisterScalableTarget operation.

DeleteScalingPolicy ( DeleteScalingPolicyRequest request ) : DeleteScalingPolicyResponse

Deletes the specified Application Auto Scaling scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.

To create a scaling policy or update an existing one, see PutScalingPolicy.

DeleteScalingPolicyAsync ( DeleteScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteScalingPolicy operation.

DeregisterScalableTarget ( DeregisterScalableTargetRequest request ) : DeregisterScalableTargetResponse

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.

DeregisterScalableTargetAsync ( DeregisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeregisterScalableTarget operation.

DescribeScalableTargets ( DescribeScalableTargetsRequest request ) : DescribeScalableTargetsResponse

Provides descriptive information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

DescribeScalableTargetsAsync ( DescribeScalableTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalableTargets operation.

DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingActivities operation.

DescribeScalingPolicies ( DescribeScalingPoliciesRequest request ) : DescribeScalingPoliciesResponse

Provides descriptive information about the scaling policies in the specified namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

DescribeScalingPoliciesAsync ( DescribeScalingPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingPolicies operation.

EndDeleteScalingPolicy ( IAsyncResult asyncResult ) : DeleteScalingPolicyResponse

Finishes the asynchronous execution of the DeleteScalingPolicy operation.

EndDeregisterScalableTarget ( IAsyncResult asyncResult ) : DeregisterScalableTargetResponse

Finishes the asynchronous execution of the DeregisterScalableTarget operation.

EndDescribeScalableTargets ( IAsyncResult asyncResult ) : DescribeScalableTargetsResponse

Finishes the asynchronous execution of the DescribeScalableTargets operation.

EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse

Finishes the asynchronous execution of the DescribeScalingActivities operation.

EndDescribeScalingPolicies ( IAsyncResult asyncResult ) : DescribeScalingPoliciesResponse

Finishes the asynchronous execution of the DescribeScalingPolicies operation.

EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse

Finishes the asynchronous execution of the PutScalingPolicy operation.

EndRegisterScalableTarget ( IAsyncResult asyncResult ) : RegisterScalableTargetResponse

Finishes the asynchronous execution of the RegisterScalableTarget operation.

PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse

Creates or updates a policy for an Application Auto Scaling scalable target.

Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget.

To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.

You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutScalingPolicy operation.

RegisterScalableTarget ( RegisterScalableTargetRequest request ) : RegisterScalableTargetResponse

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.

RegisterScalableTargetAsync ( RegisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RegisterScalableTarget operation.

Защищенные методы

Метод Описание
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Описание методов

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

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( ) : System
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Credentials
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Credentials and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials, AmazonApplicationAutoScalingConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Credentials
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
Результат System

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

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( AmazonApplicationAutoScalingConfig config ) : System
config AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
Результат System

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

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
Результат System

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

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
Результат System

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

Initiates the asynchronous execution of the DeleteScalingPolicy operation.
public BeginDeleteScalingPolicy ( DeleteScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the DeregisterScalableTarget operation.
public BeginDeregisterScalableTarget ( DeregisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the DescribeScalableTargets operation.
public BeginDescribeScalableTargets ( DescribeScalableTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the DescribeScalingPolicies operation.
public BeginDescribeScalingPolicies ( DescribeScalingPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the PutScalingPolicy operation.
public BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

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

Initiates the asynchronous execution of the RegisterScalableTarget operation.
public BeginRegisterScalableTarget ( RegisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

CreateSigner() защищенный Метод

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
Результат Amazon.Runtime.Internal.Auth.AbstractAWSSigner

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

Deletes the specified Application Auto Scaling scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.

To create a scaling policy or update an existing one, see PutScalingPolicy.

/// 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 DeleteScalingPolicy ( DeleteScalingPolicyRequest request ) : DeleteScalingPolicyResponse
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy service method.
Результат DeleteScalingPolicyResponse

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

Initiates the asynchronous execution of the DeleteScalingPolicy operation.
public DeleteScalingPolicyAsync ( DeleteScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

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

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

Initiates the asynchronous execution of the DeregisterScalableTarget operation.
public DeregisterScalableTargetAsync ( DeregisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

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

Provides descriptive information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. 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. /// /// The next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalableTargets ( DescribeScalableTargetsRequest request ) : DescribeScalableTargetsResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets service method.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsResponse

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

Initiates the asynchronous execution of the DescribeScalableTargets operation.
public DescribeScalableTargetsAsync ( DescribeScalableTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

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

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

/// 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 next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities service method.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesResponse

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

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

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

Provides descriptive information about the scaling policies in the specified namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// Failed access to resources caused an exception. This exception currently only applies /// to DescribeScalingPolicies. It is thrown when Application Auto Scaling is unable /// to retrieve the alarms associated with a scaling policy due to a client error, for /// example, if the role ARN specified for a scalable target does not have the proper /// permissions to call the CloudWatch DescribeAlarms /// API operation on behalf of your account. /// /// The service encountered an internal error. /// /// The next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalingPolicies ( DescribeScalingPoliciesRequest request ) : DescribeScalingPoliciesResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies service method.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesResponse

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

Initiates the asynchronous execution of the DescribeScalingPolicies operation.
public DescribeScalingPoliciesAsync ( DescribeScalingPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

Dispose() защищенный Метод

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Finishes the asynchronous execution of the DeleteScalingPolicy operation.
public EndDeleteScalingPolicy ( IAsyncResult asyncResult ) : DeleteScalingPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteScalingPolicy.
Результат DeleteScalingPolicyResponse

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

Finishes the asynchronous execution of the DeregisterScalableTarget operation.
public EndDeregisterScalableTarget ( IAsyncResult asyncResult ) : DeregisterScalableTargetResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeregisterScalableTarget.
Результат DeregisterScalableTargetResponse

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

Finishes the asynchronous execution of the DescribeScalableTargets operation.
public EndDescribeScalableTargets ( IAsyncResult asyncResult ) : DescribeScalableTargetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalableTargets.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsResponse

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

Finishes the asynchronous execution of the DescribeScalingActivities operation.
public EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingActivities.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesResponse

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

Finishes the asynchronous execution of the DescribeScalingPolicies operation.
public EndDescribeScalingPolicies ( IAsyncResult asyncResult ) : DescribeScalingPoliciesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingPolicies.
Результат Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesResponse

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

Finishes the asynchronous execution of the PutScalingPolicy operation.
public EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutScalingPolicy.
Результат Amazon.ApplicationAutoScaling.Model.PutScalingPolicyResponse

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

Finishes the asynchronous execution of the RegisterScalableTarget operation.
public EndRegisterScalableTarget ( IAsyncResult asyncResult ) : RegisterScalableTargetResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRegisterScalableTarget.
Результат RegisterScalableTargetResponse

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

Creates or updates a policy for an Application Auto Scaling scalable target.

Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget.

To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.

You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

/// 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. /// /// 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 PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy service method.
Результат Amazon.ApplicationAutoScaling.Model.PutScalingPolicyResponse

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

Initiates the asynchronous execution of the PutScalingPolicy operation.
public PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

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

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

Initiates the asynchronous execution of the RegisterScalableTarget operation.
public RegisterScalableTargetAsync ( RegisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task