Delen via


ContentItemOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new developer portal's content item specified by the provided content type.

public static Microsoft.Azure.Management.ApiManagement.Models.ContentItemContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IContentItemOperations operations, string resourceGroupName, string serviceName, string contentTypeId, string contentItemId, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IContentItemOperations * string * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.ContentItemContract
<Extension()>
Public Function CreateOrUpdate (operations As IContentItemOperations, resourceGroupName As String, serviceName As String, contentTypeId As String, contentItemId As String, Optional ifMatch As String = Nothing) As ContentItemContract

Parameters

operations
IContentItemOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

contentTypeId
String

Content type identifier.

contentItemId
String

Content item identifier.

ifMatch
String

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

Returns

Applies to