api_revisions
Creates, updates, deletes, gets or lists a api_revisions
resource.
Overview
Name | api_revisions |
Type | Resource |
Id | azure.api_management.api_revisions |
Fields
Name | Datatype | Description |
---|---|---|
description | string | Description of the API Revision. |
apiId | string | Identifier of the API Revision. |
apiRevision | string | Revision number of API. |
createdDateTime | string | The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
isCurrent | boolean | Indicates if API revision is accessible via the gateway. |
isOnline | boolean | Indicates if API revision is the current api revision. |
privateUrl | string | Gateway URL for accessing the non-current API Revision. |
updatedDateTime | string | The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_service | SELECT | apiId, resourceGroupName, serviceName, subscriptionId | Lists all revisions of an API. |
SELECT
examples
Lists all revisions of an API.
SELECT
description,
apiId,
apiRevision,
createdDateTime,
isCurrent,
isOnline,
privateUrl,
updatedDateTime
FROM azure.api_management.api_revisions
WHERE apiId = '{{ apiId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';