Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApiImpl

Package version

Class containing Api operations.

Hierarchy

  • ApiImpl

Implements

Index

Constructors

constructor

Methods

beginCreateOrUpdate

beginCreateOrUpdateAndWait

  • Creates new or updates existing specified API of the API Management service instance.

    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.

    • parameters: ApiCreateOrUpdateParameter

      Create or update parameters.

    • Optional options: ApiCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<ApiCreateOrUpdateResponse>

delete

  • delete(resourceGroupName: string, serviceName: string, apiId: string, ifMatch: string, options?: ApiDeleteOptionalParams): Promise<void>
  • Deletes the specified API of the API Management service instance.

    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.

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

      The options parameters.

    Returns Promise<void>

get

  • Gets the details 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 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: ApiGetOptionalParams

      The options parameters.

    Returns Promise<ApiGetResponse>

getEntityTag

  • Gets the entity state (Etag) version 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 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: ApiGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiGetEntityTagResponse>

listByService

listByTags

update

  • Updates the specified API of the API Management service instance.

    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.

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

      API Update Contract parameters.

    • Optional options: ApiUpdateOptionalParams

      The options parameters.

    Returns Promise<ApiUpdateResponse>

Generated using TypeDoc