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 DeleteScheduledAction operation. Deletes the specified scheduled action for an Application Auto Scaling scalable target.
For more information, see Delete a scheduled action in the Application Auto Scaling User Guide.
Namespace: Amazon.ApplicationAutoScaling.Model
Assembly: AWSSDK.ApplicationAutoScaling.dll
Version: 3.x.y.z
public class DeleteScheduledActionRequest : AmazonApplicationAutoScalingRequest IAmazonWebServiceRequest
The DeleteScheduledActionRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteScheduledActionRequest() |
Name | Type | Description | |
---|---|---|---|
ResourceId | System.String |
Gets and sets the property ResourceId. The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
|
|
ScalableDimension | Amazon.ApplicationAutoScaling.ScalableDimension |
Gets and sets the property ScalableDimension. The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
ScheduledActionName | System.String |
Gets and sets the property ScheduledActionName. The name of the scheduled action. |
|
ServiceNamespace | Amazon.ApplicationAutoScaling.ServiceNamespace |
Gets and sets the property ServiceNamespace.
The namespace of the Amazon Web Services service that provides the resource. For a
resource provided by your own application or service, use |
This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.
var client = new AmazonApplicationAutoScalingClient(); var response = client.DeleteScheduledAction(new DeleteScheduledActionRequest { ResourceId = "fleet/sample-fleet", ScalableDimension = "appstream:fleet:DesiredCapacity", ScheduledActionName = "my-recurring-action", ServiceNamespace = "appstream" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5