Share via


ApiSchemaOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates schema configuration for the API.

public static Microsoft.Azure.Management.ApiManagement.Models.SchemaContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, Microsoft.Azure.Management.ApiManagement.Models.SchemaContract parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IApiSchemaOperations * string * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.SchemaContract * string -> Microsoft.Azure.Management.ApiManagement.Models.SchemaContract
<Extension()>
Public Function CreateOrUpdate (operations As IApiSchemaOperations, resourceGroupName As String, serviceName As String, apiId As String, schemaId As String, parameters As SchemaContract, Optional ifMatch As String = Nothing) As SchemaContract

Parameters

operations
IApiSchemaOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

apiId
String

API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

schemaId
String

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

parameters
SchemaContract

The schema contents to apply.

ifMatch
String

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

Returns

Applies to