Share via


SchemaRegistryOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

Parameters

operations
ISchemaRegistryOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

namespaceName
String

The Namespace name

schemaGroupName
String

The Schema Group name

parameters
SchemaGroup

Parameters supplied to create an Event Hub resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to