Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TagImpl

Package version

Class containing Tag operations.

Hierarchy

  • TagImpl

Implements

Index

Constructors

constructor

Methods

assignToApi

  • Assign tag to the Api.

    Parameters

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

    • tagId: string

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

    • Optional options: TagAssignToApiOptionalParams

      The options parameters.

    Returns Promise<TagAssignToApiResponse>

assignToOperation

  • Assign tag to the Operation.

    Parameters

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

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • tagId: string

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

    • Optional options: TagAssignToOperationOptionalParams

      The options parameters.

    Returns Promise<TagAssignToOperationResponse>

assignToProduct

  • Assign tag to the 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.

    • tagId: string

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

    • Optional options: TagAssignToProductOptionalParams

      The options parameters.

    Returns Promise<TagAssignToProductResponse>

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, tagId: string, ifMatch: string, options?: TagDeleteOptionalParams): Promise<void>
  • Deletes specific tag of the API Management service instance.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • tagId: string

      Tag 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: TagDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

detachFromApi

  • detachFromApi(resourceGroupName: string, serviceName: string, apiId: string, tagId: string, options?: TagDetachFromApiOptionalParams): Promise<void>
  • Detach the tag from the Api.

    Parameters

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

    • tagId: string

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

    • Optional options: TagDetachFromApiOptionalParams

      The options parameters.

    Returns Promise<void>

detachFromOperation

  • detachFromOperation(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, tagId: string, options?: TagDetachFromOperationOptionalParams): Promise<void>
  • Detach the tag from the Operation.

    Parameters

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

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • tagId: string

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

    • Optional options: TagDetachFromOperationOptionalParams

      The options parameters.

    Returns Promise<void>

detachFromProduct

  • Detach the tag from the 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.

    • tagId: string

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

    • Optional options: TagDetachFromProductOptionalParams

      The options parameters.

    Returns Promise<void>

get

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • tagId: string

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

    • Optional options: TagGetOptionalParams

      The options parameters.

    Returns Promise<TagGetResponse>

getByApi

  • Get tag associated with the API.

    Parameters

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

    • tagId: string

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

    • Optional options: TagGetByApiOptionalParams

      The options parameters.

    Returns Promise<TagGetByApiResponse>

getByOperation

  • Get tag associated with the Operation.

    Parameters

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

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • tagId: string

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

    • Optional options: TagGetByOperationOptionalParams

      The options parameters.

    Returns Promise<TagGetByOperationResponse>

getByProduct

  • Get tag associated with the 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.

    • tagId: string

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

    • Optional options: TagGetByProductOptionalParams

      The options parameters.

    Returns Promise<TagGetByProductResponse>

getEntityState

  • Gets the entity state version of the tag specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • tagId: string

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

    • Optional options: TagGetEntityStateOptionalParams

      The options parameters.

    Returns Promise<TagGetEntityStateResponse>

getEntityStateByApi

  • Gets the entity state version of the tag specified by its identifier.

    Parameters

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

    • tagId: string

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

    • Optional options: TagGetEntityStateByApiOptionalParams

      The options parameters.

    Returns Promise<TagGetEntityStateByApiResponse>

getEntityStateByOperation

  • Gets the entity state version of the tag specified by its identifier.

    Parameters

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

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • tagId: string

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

    • Optional options: TagGetEntityStateByOperationOptionalParams

      The options parameters.

    Returns Promise<TagGetEntityStateByOperationResponse>

getEntityStateByProduct

  • Gets the entity state version of the tag 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.

    • tagId: string

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

    • Optional options: TagGetEntityStateByProductOptionalParams

      The options parameters.

    Returns Promise<TagGetEntityStateByProductResponse>

listByApi

  • Lists all Tags associated with the API.

    Parameters

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

    • Optional options: TagListByApiOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<TagContract>

listByOperation

  • Lists all Tags associated with the Operation.

    Parameters

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

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • Optional options: TagListByOperationOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<TagContract>

listByProduct

  • Lists all Tags associated with the 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.

    • Optional options: TagListByProductOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<TagContract>

listByService

update

  • Updates the details of the tag specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • tagId: string

      Tag 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: TagCreateUpdateParameters

      Update parameters.

    • Optional options: TagUpdateOptionalParams

      The options parameters.

    Returns Promise<TagUpdateResponse>

Generated using TypeDoc