AWS SDK Version 3 for .NET
API Reference

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.

Deletes an Fargate profile.

When you delete a Fargate profile, any Pod running on Fargate that was created with the profile is deleted. If the Pod matches another Fargate profile, then it is scheduled on Fargate with that profile. If it no longer matches any Fargate profiles, then it's not scheduled on Fargate and 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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteFargateProfileAsync.

Namespace: Amazon.EKS
Assembly: AWSSDK.EKS.dll
Version: 3.x.y.z

Syntax

C#
public abstract DeleteFargateProfileResponse DeleteFargateProfile(
         DeleteFargateProfileRequest request
)

Parameters

request
Type: Amazon.EKS.Model.DeleteFargateProfileRequest

Container for the necessary parameters to execute the DeleteFargateProfile service method.

Return Value


The response from the DeleteFargateProfile service method, as returned by EKS.

Exceptions

ExceptionCondition
ClientException These errors are usually caused by a client action. Actions can include using an action or resource on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
ResourceNotFoundException The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific.
ServerException These errors are usually caused by a server-side issue.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also