Share via


AddonsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a addon in a private cloud

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.Addon> CreateOrUpdateAsync (this Microsoft.Azure.Management.Avs.IAddonsOperations operations, string resourceGroupName, string privateCloudName, string addonName, Microsoft.Azure.Management.Avs.Models.Addon addon, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Avs.IAddonsOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.Addon * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.Addon>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAddonsOperations, resourceGroupName As String, privateCloudName As String, addonName As String, addon As Addon, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Addon)

Parameters

operations
IAddonsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

The name of the private cloud.

addonName
String

Name of the addon for the private cloud

addon
Addon

A addon in the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to