Share via


GlobalSchemaOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates new or updates existing specified Schema of the API Management service instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IGlobalSchemaOperations operations, string resourceGroupName, string serviceName, string schemaId, Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IGlobalSchemaOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IGlobalSchemaOperations, resourceGroupName As String, serviceName As String, schemaId As String, parameters As GlobalSchemaContract, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GlobalSchemaContract)

Parameters

operations
IGlobalSchemaOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

schemaId
String

Schema id identifier. Must be unique in the current API Management service instance.

parameters
GlobalSchemaContract

Create or update parameters.

ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to