Share via


KubeEnvironmentsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Kubernetes Environment.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.KubeEnvironment> CreateOrUpdateAsync (this Microsoft.Azure.Management.WebSites.IKubeEnvironmentsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.KubeEnvironment kubeEnvironmentEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.WebSites.IKubeEnvironmentsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.KubeEnvironment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.KubeEnvironment>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IKubeEnvironmentsOperations, resourceGroupName As String, name As String, kubeEnvironmentEnvelope As KubeEnvironment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KubeEnvironment)

Parameters

operations
IKubeEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the Kubernetes Environment.

kubeEnvironmentEnvelope
KubeEnvironment

Configuration details of the Kubernetes Environment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates a Kubernetes Environment.

Applies to