Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApiReleaseImpl

Package version

Class containing ApiRelease operations.

Hierarchy

  • ApiReleaseImpl

Implements

Index

Constructors

constructor

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, ifMatch: string, options?: ApiReleaseDeleteOptionalParams): Promise<void>
  • Deletes the specified release in the API.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

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

    • releaseId: string

      Release identifier within an API. 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: ApiReleaseDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Returns the details of an API release.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

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

    • releaseId: string

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

    • Optional options: ApiReleaseGetOptionalParams

      The options parameters.

    Returns Promise<ApiReleaseGetResponse>

getEntityTag

  • Returns the etag of an API release.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

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

    • releaseId: string

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

    • Optional options: ApiReleaseGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiReleaseGetEntityTagResponse>

listByService

  • Lists all releases of an API. An API release is created when making an API Revision current. Releases are also used to rollback to previous revisions. Results will be paged and can be constrained by the $top and $skip parameters.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

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

    • Optional options: ApiReleaseListByServiceOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<ApiReleaseContract>

update

  • Updates the details of the release of the API 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 identifier. Must be unique in the current API Management service instance.

    • releaseId: string

      Release identifier within an API. 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: ApiReleaseContract

      API Release Update parameters.

    • Optional options: ApiReleaseUpdateOptionalParams

      The options parameters.

    Returns Promise<ApiReleaseUpdateResponse>

Generated using TypeDoc