ApiIssue interface

Interface representing a ApiIssue.

Methods

createOrUpdate(string, string, string, string, IssueContract, ApiIssueCreateOrUpdateOptionalParams)

Creates a new Issue for an API or updates an existing one.

delete(string, string, string, string, string, ApiIssueDeleteOptionalParams)

Deletes the specified Issue from an API.

get(string, string, string, string, ApiIssueGetOptionalParams)

Gets the details of the Issue for an API specified by its identifier.

getEntityTag(string, string, string, string, ApiIssueGetEntityTagOptionalParams)

Gets the entity state (Etag) version of the Issue for an API specified by its identifier.

listByService(string, string, string, ApiIssueListByServiceOptionalParams)

Lists all issues associated with the specified API.

update(string, string, string, string, string, IssueUpdateContract, ApiIssueUpdateOptionalParams)

Updates an existing issue for an API.

Method Details

createOrUpdate(string, string, string, string, IssueContract, ApiIssueCreateOrUpdateOptionalParams)

Creates a new Issue for an API or updates an existing one.

function createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: IssueContract, options?: ApiIssueCreateOrUpdateOptionalParams): Promise<ApiIssueCreateOrUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

parameters
IssueContract

Create parameters.

options
ApiIssueCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, string, string, ApiIssueDeleteOptionalParams)

Deletes the specified Issue from an API.

function delete(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, ifMatch: string, options?: ApiIssueDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

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.

options
ApiIssueDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, ApiIssueGetOptionalParams)

Gets the details of the Issue for an API specified by its identifier.

function get(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueGetOptionalParams): Promise<ApiIssueGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

options
ApiIssueGetOptionalParams

The options parameters.

Returns

getEntityTag(string, string, string, string, ApiIssueGetEntityTagOptionalParams)

Gets the entity state (Etag) version of the Issue for an API specified by its identifier.

function getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueGetEntityTagOptionalParams): Promise<ApiIssueGetEntityTagHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

options
ApiIssueGetEntityTagOptionalParams

The options parameters.

Returns

listByService(string, string, string, ApiIssueListByServiceOptionalParams)

Lists all issues associated with the specified API.

function listByService(resourceGroupName: string, serviceName: string, apiId: string, options?: ApiIssueListByServiceOptionalParams): PagedAsyncIterableIterator<IssueContract, IssueContract[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

apiId

string

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

options
ApiIssueListByServiceOptionalParams

The options parameters.

Returns

update(string, string, string, string, string, IssueUpdateContract, ApiIssueUpdateOptionalParams)

Updates an existing issue for an API.

function update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, ifMatch: string, parameters: IssueUpdateContract, options?: ApiIssueUpdateOptionalParams): Promise<ApiIssueUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

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.

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
IssueUpdateContract

Update parameters.

options
ApiIssueUpdateOptionalParams

The options parameters.

Returns