ApiSchemaOperationsExtensions.BeginCreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates schema configuration for the API.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.SchemaContract> BeginCreateOrUpdateAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IApiSchemaOperations * string * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.SchemaContract * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.SchemaContract>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IApiSchemaOperations, resourceGroupName As String, serviceName As String, apiId As String, schemaId As String, parameters As SchemaContract, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.