/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ecs-2014-11-13.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ECS.Model { /// /// Container for the parameters to the DeleteTaskDefinitions operation. /// Deletes one or more task definitions. /// /// /// /// You must deregister a task definition revision before you delete it. For more information, /// see DeregisterTaskDefinition. /// /// /// /// When you delete a task definition revision, it is immediately transitions from the /// INACTIVE to DELETE_IN_PROGRESS. Existing tasks and services /// that reference a DELETE_IN_PROGRESS task definition revision continue /// to run without disruption. Existing services that reference a DELETE_IN_PROGRESS /// task definition revision can still scale up or down by modifying the service's desired /// count. /// /// /// /// You can't use a DELETE_IN_PROGRESS task definition revision to run new /// tasks or create new services. You also can't update an existing service to reference /// a DELETE_IN_PROGRESS task definition revision. /// /// /// /// A task definition revision will stay in DELETE_IN_PROGRESS status until /// all the associated tasks and services have been terminated. /// /// /// /// When you delete all INACTIVE task definition revisions, the task definition /// name is not displayed in the console and not returned in the API. If a task definition /// revisions are in the DELETE_IN_PROGRESS state, the task definition name /// is displayed in the console and returned in the API. The task definition name is retained /// by Amazon ECS and the revision is incremented the next time you create a task definition /// with that name. /// /// public partial class DeleteTaskDefinitionsRequest : AmazonECSRequest { private List _taskDefinitions = new List(); /// /// Gets and sets the property TaskDefinitions. /// /// The family and revision (family:revision) or /// full Amazon Resource Name (ARN) of the task definition to delete. You must specify /// a revision. /// /// /// /// You can specify up to 10 task definitions as a comma separated list. /// /// [AWSProperty(Required=true)] public List TaskDefinitions { get { return this._taskDefinitions; } set { this._taskDefinitions = value; } } // Check to see if TaskDefinitions property is set internal bool IsSetTaskDefinitions() { return this._taskDefinitions != null && this._taskDefinitions.Count > 0; } } }