Share via


ApplicationGroupOperationsExtensions.CreateOrUpdateApplicationGroupAsync Method

Definition

Creates or updates an ApplicationGroup for a Namespace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.ApplicationGroup> CreateOrUpdateApplicationGroupAsync (this Microsoft.Azure.Management.EventHub.IApplicationGroupOperations operations, string resourceGroupName, string namespaceName, string applicationGroupName, Microsoft.Azure.Management.EventHub.Models.ApplicationGroup parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateApplicationGroupAsync : Microsoft.Azure.Management.EventHub.IApplicationGroupOperations * string * string * string * Microsoft.Azure.Management.EventHub.Models.ApplicationGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.ApplicationGroup>
<Extension()>
Public Function CreateOrUpdateApplicationGroupAsync (operations As IApplicationGroupOperations, resourceGroupName As String, namespaceName As String, applicationGroupName As String, parameters As ApplicationGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationGroup)

Parameters

operations
IApplicationGroupOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

namespaceName
String

The Namespace name

applicationGroupName
String

The Application Group name

parameters
ApplicationGroup

The ApplicationGroup.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to