Api Gateway - List
List all API Management gateways within a subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/gateways?api-version=2024-05-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string uuid |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The API Management gateways list. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
ApiManagementListGatewaysBySubscription
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ApiManagement/gateways?api-version=2024-05-01
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/standard-gw-1",
"name": "standard-gw-1",
"type": "Microsoft.ApiManagement/gateways",
"tags": {
"owner": "v-aswmoh",
"ReleaseName": "Z3"
},
"location": "West US",
"etag": "AAAAAAAWN/4=",
"properties": {
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2021-06-16T09:40:00.9453556Z",
"frontend": {
"defaultHostname": "standard-gw-1.westus.gateway.azure-api.net"
},
"backend": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vn1/subnets/sn1"
}
},
"configurationApi": {
"hostname": "standard-gw-1.westus.configuration.gateway.azure-api.net"
}
},
"sku": {
"name": "Standard",
"capacity": 1
},
"systemData": {
"createdBy": "bar@contoso.com",
"createdByType": "User",
"createdAt": "2021-06-16T09:40:00.7106733Z",
"lastModifiedBy": "foo@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-20T06:33:09.6159006Z"
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.ApiManagement/gateways/workspace-gw-2",
"name": "workspace-gw-2",
"type": "Microsoft.ApiManagement/gateways",
"tags": {
"Owner": "foo"
},
"location": "East US",
"etag": "AAAAAAAWKwo=",
"properties": {
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2021-06-16T09:40:00.9453556Z"
},
"sku": {
"name": "WorkspaceGatewayPremium",
"capacity": 1
}
}
]
}
Definitions
Name | Description |
---|---|
Api |
Name of the Sku. |
Api |
The response of the List API Management gateway operation. |
Api |
A single API Management gateway resource in List or Get response. |
Api |
API Management gateway resource SKU properties. |
Backend |
Information regarding how the gateway should integrate with backend systems. |
Backend |
Information regarding how the subnet to which the gateway should be injected. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Frontend |
Information regarding how the gateway should be exposed. |
Gateway |
Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU. |
system |
Metadata pertaining to creation and last modification of the resource. |
Virtual |
The type of VPN in which API Management gateway needs to be configured in. |
ApiGatewaySkuType
Name of the Sku.
Name | Type | Description |
---|---|---|
Standard |
string |
Standard SKU of the API gateway. |
WorkspaceGatewayPremium |
string |
Premium SKU of the API gateway to be used in Workspaces. |
WorkspaceGatewayStandard |
string |
Standard SKU of the API gateway to be used in Workspaces. |
ApiManagementGatewayListResult
The response of the List API Management gateway operation.
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to the next set of results. Not empty if Value contains incomplete list of API Management services. |
value |
Result of the List API Management gateway operation. |
ApiManagementGatewayResource
A single API Management gateway resource in List or Get response.
Name | Type | Description |
---|---|---|
etag |
string |
ETag of the resource. |
id |
string |
Resource ID. |
location |
string |
Resource location. |
name |
string |
Resource name. |
properties.backend |
Information regarding how the gateway should integrate with backend systems. |
|
properties.configurationApi |
Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU. |
|
properties.createdAtUtc |
string |
Creation UTC date of the API Management gateway.The date conforms to the following format: |
properties.frontend |
Information regarding how the gateway should be exposed. |
|
properties.provisioningState |
string |
The current provisioning state of the API Management gateway which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted. |
properties.targetProvisioningState |
string |
The provisioning state of the API Management gateway, which is targeted by the long running operation started on the gateway. |
properties.virtualNetworkType |
The type of VPN in which API Management gateway needs to be configured in. |
|
sku |
SKU properties of the API Management gateway. |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
tags |
object |
Resource tags. |
type |
string |
Resource type for API Management resource is set to Microsoft.ApiManagement. |
ApiManagementGatewaySkuProperties
API Management gateway resource SKU properties.
Name | Type | Description |
---|---|---|
capacity |
integer |
Capacity of the SKU (number of deployed units of the SKU) |
name |
Name of the Sku. |
BackendConfiguration
Information regarding how the gateway should integrate with backend systems.
Name | Type | Description |
---|---|---|
subnet |
The default hostname of the data-plane gateway to which requests can be sent. |
BackendSubnetConfiguration
Information regarding how the subnet to which the gateway should be injected.
Name | Type | Description |
---|---|---|
id |
string |
The ARM ID of the subnet in which the backend systems are hosted. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
FrontendConfiguration
Information regarding how the gateway should be exposed.
Name | Type | Description |
---|---|---|
defaultHostname |
string |
The default hostname of the data-plane gateway to which requests can be sent. This is only applicable for API gateway with Standard SKU. |
GatewayConfigurationApi
Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU.
Name | Type | Description |
---|---|---|
hostname |
string |
Hostname to which the agent connects to propagate configuration to the cloud. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
VirtualNetworkType
The type of VPN in which API Management gateway needs to be configured in.
Name | Type | Description |
---|---|---|
External |
string |
The API Management gateway is part of Virtual Network and it is accessible from Internet. |
Internal |
string |
The API Management gateway is part of Virtual Network and it is only accessible from within the virtual network. |
None |
string |
The API Management gateway is not part of any Virtual Network. |