Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProductImpl

Package version

Class containing Product operations.

Hierarchy

  • ProductImpl

Implements

Index

Constructors

constructor

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, productId: string, ifMatch: string, options?: ProductDeleteOptionalParams): Promise<void>
  • Delete product.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • productId: string

      Product identifier. Must be unique in the current API Management service instance.

    • 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: ProductDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Gets the details of the product specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • productId: string

      Product identifier. Must be unique in the current API Management service instance.

    • Optional options: ProductGetOptionalParams

      The options parameters.

    Returns Promise<ProductGetResponse>

getEntityTag

listByService

listByTags

update

  • Update existing product details.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • productId: string

      Product identifier. Must be unique in the current API Management service instance.

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

    • parameters: ProductUpdateParameters

      Update parameters.

    • Optional options: ProductUpdateOptionalParams

      The options parameters.

    Returns Promise<ProductUpdateResponse>

Generated using TypeDoc