Skip to main content

issue

Creates, updates, deletes, gets or lists an issue resource.

Overview

Nameissue
TypeResource
Idazure.api_management.issue

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
apiIdstringA resource identifier for the API the issue was created for.
createdDatestring (date-time)Date and time when the issue was created.
descriptionstringText describing the issue. Required.
statestringStatus of the issue. Known values are: "proposed", "open", "removed", "resolved", and "closed". (proposed, open, removed, resolved, closed)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
titlestringThe issue title. Required.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
userIdstringA resource identifier for the user created the issue. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, issue_id, subscription_idGets API Management issue details.
list_by_serviceselectresource_group_name, service_name, subscription_id$filter, $top, $skipLists a collection of issues in the specified service instance.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
issue_idstringIssue identifier. Must be unique in the current API Management service instance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
service_namestringThe name of the API Management service. Required.
subscription_idstring
$filterstring| Field | Usage | Supported operators | Supported functions ||-------------|-------------|-------------|-------------|| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || title | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith || state | filter | eq | |. Default value is None.
$skipintegerNumber of records to skip. Default value is None.
$topintegerNumber of records to return. Default value is None.

SELECT examples

Gets API Management issue details.

SELECT
id,
name,
apiId,
createdDate,
description,
state,
systemData,
title,
type,
userId
FROM azure.api_management.issue
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND issue_id = '{{ issue_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;