OpenShiftManagedClustersOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an OpenShift managed cluster.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations * string * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IOpenShiftManagedClustersOperations, resourceGroupName As String, resourceName As String, parameters As OpenShiftManagedClusterInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OpenShiftManagedClusterInner)
Parameters
- operations
- IOpenShiftManagedClustersOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- resourceName
- String
The name of the OpenShift managed cluster resource.
- parameters
- OpenShiftManagedClusterInner
Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
Applies to
Azure SDK for .NET