/// <summary> /// Creates new or updates existing specified Schema of the API Management /// service instance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='schemaId'> /// Schema id identifier. Must be unique in the current API Management service /// instance. /// </param> /// <param name='parameters'> /// Create or update parameters. /// </param> /// <param name='ifMatch'> /// ETag of the Entity. Not required when creating an entity, but required when /// updating an entity. /// </param> public static GlobalSchemaContract BeginCreateOrUpdate(this IGlobalSchemaOperations operations, string resourceGroupName, string serviceName, string schemaId, GlobalSchemaContract parameters, string ifMatch = default(string)) { return(operations.BeginCreateOrUpdateAsync(resourceGroupName, serviceName, schemaId, parameters, ifMatch).GetAwaiter().GetResult()); }