Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentItemImpl

Package version

Class containing ContentItem operations.

Hierarchy

  • ContentItemImpl

Implements

Index

Constructors

constructor

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, ifMatch: string, options?: ContentItemDeleteOptionalParams): Promise<void>
  • Removes the specified developer portal's content item.

    Parameters

    • 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. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

    • Optional options: ContentItemDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Returns the developer portal's content item specified by its identifier.

    Parameters

    • 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.

    • Optional options: ContentItemGetOptionalParams

      The options parameters.

    Returns Promise<ContentItemGetResponse>

getEntityTag

listByService

Generated using TypeDoc