BackendOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or Updates a backend.

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

Parameters

operations
IBackendOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

backendId
String

Identifier of the Backend entity. Must be unique in the current API Management service instance.

parameters
BackendContract

Create 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