Class HttpMethods
Method type of a EKS call.
Inheritance
System.Object
HttpMethods
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public sealed class HttpMethods : Enum
Syntax (vb)
Public NotInheritable Class HttpMethods
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EKS;
var myEksCluster = new Cluster(this, "my sample cluster", new ClusterProps {
Version = KubernetesVersion.V1_18,
ClusterName = "myEksCluster"
});
new EksCall(this, "Call a EKS Endpoint", new EksCallProps {
Cluster = myEksCluster,
HttpMethod = HttpMethods.GET,
HttpPath = "/api/v1/namespaces/default/pods"
});
Synopsis
Fields
DELETE | Delete the resource at the specified endpoint. |
GET | Retrieve data from a server at the specified resource. |
HEAD | Retrieve data from a server at the specified resource without the response body. |
PATCH | Apply partial modifications to the resource. |
POST | Send data to the API endpoint to create or update a resource. |
PUT | Send data to the API endpoint to update or create a resource. |
value__ |
Fields
DELETE
Delete the resource at the specified endpoint.
public const HttpMethods DELETE
Field Value
Type | Description |
---|---|
HttpMethods |
GET
Retrieve data from a server at the specified resource.
public const HttpMethods GET
Field Value
Type | Description |
---|---|
HttpMethods |
HEAD
Retrieve data from a server at the specified resource without the response body.
public const HttpMethods HEAD
Field Value
Type | Description |
---|---|
HttpMethods |
PATCH
Apply partial modifications to the resource.
public const HttpMethods PATCH
Field Value
Type | Description |
---|---|
HttpMethods |
POST
Send data to the API endpoint to create or update a resource.
public const HttpMethods POST
Field Value
Type | Description |
---|---|
HttpMethods |
PUT
Send data to the API endpoint to update or create a resource.
public const HttpMethods PUT
Field Value
Type | Description |
---|---|
HttpMethods |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |