Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ApiIssueAttachment

Package version

Interface representing a ApiIssueAttachment.

Hierarchy

  • ApiIssueAttachment

Implemented by

Index

Methods

createOrUpdate

delete

  • delete(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, attachmentId: string, ifMatch: string, options?: ApiIssueAttachmentDeleteOptionalParams): Promise<void>
  • Deletes the specified comment from an Issue.

    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.

    • issueId: string

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

    • attachmentId: string

      Attachment identifier within an Issue. Must be unique in the current Issue.

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

      The options parameters.

    Returns Promise<void>

get

  • Gets the details of the issue Attachment 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.

    • issueId: string

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

    • attachmentId: string

      Attachment identifier within an Issue. Must be unique in the current Issue.

    • Optional options: ApiIssueAttachmentGetOptionalParams

      The options parameters.

    Returns Promise<ApiIssueAttachmentGetResponse>

getEntityTag

  • Gets the entity state (Etag) version of the issue Attachment 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.

    • issueId: string

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

    • attachmentId: string

      Attachment identifier within an Issue. Must be unique in the current Issue.

    • Optional options: ApiIssueAttachmentGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiIssueAttachmentGetEntityTagResponse>

listByService

  • Lists all attachments for the Issue associated with the specified 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.

    • issueId: string

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

    • Optional options: ApiIssueAttachmentListByServiceOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<IssueAttachmentContract>

Generated using TypeDoc