API Collection - List
Hiermee haalt u een lijst op met Azure API Management-API's die zijn toegevoegd aan Defender for API's. Als een Azure API Management-API wordt toegevoegd aan Defender voor API's, controleert het systeem de bewerkingen binnen de Azure API Management-API op intrusief gedrag en geeft het waarschuwingen voor aanvallen die zijn gedetecteerd.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections?api-version=2022-11-20-preview
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
service
|
path | True |
string minLength: 1maxLength: 50 pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$ |
De naam van de API Management-service. |
subscription
|
path | True |
string minLength: 1 |
De id van het doelabonnement. |
api-version
|
query | True |
string |
API-versie voor de bewerking |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections?api-version=2022-11-20-preview
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"displayName": "echo-api",
"additionalData": {
"apiManagementApiId": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api"
}
}
}
]
}
Definities
Name | Description |
---|---|
Api |
Een API-verzameling zoals vertegenwoordigd door Defender for API's. |
Api |
Pagina van een lijst met API-verzamelingen, zoals vertegenwoordigd door Defender voor API's. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
ApiCollectionResponse
Een API-verzameling zoals vertegenwoordigd door Defender for API's.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id |
name |
string |
Resourcenaam |
properties.additionalData |
object |
Aanvullende gegevens met betrekking tot de API-verzameling. |
properties.displayName |
string |
De weergavenaam van de Azure API Management-API. |
type |
string |
Resourcetype |
ApiCollectionResponseList
Pagina van een lijst met API-verzamelingen, zoals vertegenwoordigd door Defender voor API's.
Name | Type | Description |
---|---|---|
nextLink |
string |
De URI voor het ophalen van de volgende pagina. |
value |
API-verzamelingen op deze pagina. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |