Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ApiDiagnostic

Package version

Interface representing a ApiDiagnostic.

Hierarchy

  • ApiDiagnostic

Implemented by

Index

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, ifMatch: string, options?: ApiDiagnosticDeleteOptionalParams): Promise<void>
  • Deletes the specified Diagnostic from an 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.

    • diagnosticId: string

      Diagnostic 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: ApiDiagnosticDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Gets the details of the Diagnostic for an 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.

    • diagnosticId: string

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

    • Optional options: ApiDiagnosticGetOptionalParams

      The options parameters.

    Returns Promise<ApiDiagnosticGetResponse>

getEntityTag

  • Gets the entity state (Etag) version of the Diagnostic for an 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.

    • diagnosticId: string

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

    • Optional options: ApiDiagnosticGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiDiagnosticGetEntityTagResponse>

listByService

update

  • Updates the details of the Diagnostic for an 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.

    • diagnosticId: string

      Diagnostic 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: DiagnosticContract

      Diagnostic Update parameters.

    • Optional options: ApiDiagnosticUpdateOptionalParams

      The options parameters.

    Returns Promise<ApiDiagnosticUpdateResponse>

Generated using TypeDoc