/*
* 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 eks-2017-11-01.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.EKS.Model
{
///
/// Container for the parameters to the DeleteFargateProfile operation.
/// Deletes an Fargate profile.
///
///
///
/// When you delete a Fargate profile, any pods running on Fargate that were created with
/// the profile are deleted. If those pods match another Fargate profile, then they are
/// scheduled on Fargate with that profile. If they no longer match any Fargate profiles,
/// then they are not scheduled on Fargate and they may remain in a pending state.
///
///
///
/// Only one Fargate profile in a cluster can be in the DELETING
status at
/// a time. You must wait for a Fargate profile to finish deleting before you can delete
/// any other profiles in that cluster.
///
///
public partial class DeleteFargateProfileRequest : AmazonEKSRequest
{
private string _clusterName;
private string _fargateProfileName;
///
/// Gets and sets the property ClusterName.
///
/// The name of the Amazon EKS cluster associated with the Fargate profile to delete.
///
///
[AWSProperty(Required=true)]
public string ClusterName
{
get { return this._clusterName; }
set { this._clusterName = value; }
}
// Check to see if ClusterName property is set
internal bool IsSetClusterName()
{
return this._clusterName != null;
}
///
/// Gets and sets the property FargateProfileName.
///
/// The name of the Fargate profile to delete.
///
///
[AWSProperty(Required=true)]
public string FargateProfileName
{
get { return this._fargateProfileName; }
set { this._fargateProfileName = value; }
}
// Check to see if FargateProfileName property is set
internal bool IsSetFargateProfileName()
{
return this._fargateProfileName != null;
}
}
}