Share via


ApiTagDescriptionOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create/Update tag description in scope of the Api.

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

Parameters

operations
IApiTagDescriptionOperations

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.

tagDescriptionId
String

Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names.

parameters
TagDescriptionCreateParameters

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