Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Subscription

Package version

Interface representing a Subscription.

Hierarchy

  • Subscription

Implemented by

Index

Methods

createOrUpdate

delete

  • Deletes the specified subscription.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • sid: string

      Subscription entity Identifier. The entity represents the association between a user and a product in API Management.

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

      The options parameters.

    Returns Promise<void>

get

  • Gets the specified Subscription entity.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • sid: string

      Subscription entity Identifier. The entity represents the association between a user and a product in API Management.

    • Optional options: SubscriptionGetOptionalParams

      The options parameters.

    Returns Promise<SubscriptionGetResponse>

getEntityTag

list

listSecrets

regeneratePrimaryKey

  • Regenerates primary key of existing subscription of the API Management service instance.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • sid: string

      Subscription entity Identifier. The entity represents the association between a user and a product in API Management.

    • Optional options: SubscriptionRegeneratePrimaryKeyOptionalParams

      The options parameters.

    Returns Promise<void>

regenerateSecondaryKey

  • Regenerates secondary key of existing subscription of the API Management service instance.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • sid: string

      Subscription entity Identifier. The entity represents the association between a user and a product in API Management.

    • Optional options: SubscriptionRegenerateSecondaryKeyOptionalParams

      The options parameters.

    Returns Promise<void>

update

  • Updates the details of a subscription specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • sid: string

      Subscription entity Identifier. The entity represents the association between a user and a product in API Management.

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

      Update parameters.

    • Optional options: SubscriptionUpdateOptionalParams

      The options parameters.

    Returns Promise<SubscriptionUpdateResponse>

Generated using TypeDoc