Share via


GlobalSchemaOperationsExtensions.CreateOrUpdate Method

Definition

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

public static Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IGlobalSchemaOperations operations, string resourceGroupName, string serviceName, string schemaId, Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IGlobalSchemaOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract * string -> Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract
<Extension()>
Public Function CreateOrUpdate (operations As IGlobalSchemaOperations, resourceGroupName As String, serviceName As String, schemaId As String, parameters As GlobalSchemaContract, Optional ifMatch As String = Nothing) As 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.

Returns

Applies to