Topology - List
Lekéri azt a listát, amely lehetővé teszi egy előfizetés topológianézetének összeállítását.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies?api-version=2020-01-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
subscription
|
path | True |
string pattern: ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ |
Azure-előfizetés azonosítója |
api-version
|
query | True |
string |
API-verzió a művelethez |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OKÉ |
|
Other Status Codes |
Hibaválasz, amely leírja, hogy miért nem sikerült a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
Name | Description |
---|---|
user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
Get topology on a subscription
Mintakérelem
GET https://management.azure.com/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/providers/Microsoft.Security/topologies?api-version=2020-01-01
Mintaválasz
{
"value": [
{
"properties": {
"calculatedDateTime": "2018-07-10T13:56:10.5755270Z",
"topologyResources": [
{
"resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Network/virtualNetworks/myvnet",
"severity": "Healthy",
"networkZones": "Internal",
"recommendationsExist": false,
"topologyScore": 0,
"location": "westus",
"children": [
{
"resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet"
}
]
}
]
},
"id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Security/locations/centralus/topologies/vnets",
"name": "vnets",
"type": "Microsoft.Security/locations/topologies",
"location": "westus"
},
{
"properties": {
"calculatedDateTime": "2018-07-10T13:56:10.5755270Z",
"topologyResources": [
{
"resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet",
"severity": "Healthy",
"networkZones": "Internal",
"recommendationsExist": false,
"topologyScore": 5,
"location": "westus",
"parents": [
{
"resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Network/virtualNetworks/myvnet"
}
]
}
]
},
"id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154bad/resourceGroups/myservers/providers/Microsoft.Security/locations/centralus/topologies/subnets",
"name": "subnets",
"type": "Microsoft.Security/locations/topologies",
"location": "westus"
}
]
}
Definíciók
Name | Description |
---|---|
Cloud |
Az Összes Azure Resource Manager API gyakori hibaválasza a sikertelen műveletek hibaadatainak visszaadásához. (Ez az OData hibaválasz formátumát is követi.) |
Cloud |
A hiba részletei. |
Error |
Az erőforrás-kezelési hiba további információi. |
Topology |
|
Topology |
|
Topology |
|
Topology |
|
Topology |
CloudError
Az Összes Azure Resource Manager API gyakori hibaválasza a sikertelen műveletek hibaadatainak visszaadásához. (Ez az OData hibaválasz formátumát is követi.)
Name | Típus | Description |
---|---|---|
error.additionalInfo |
A hiba további információi. |
|
error.code |
string |
A hibakód. |
error.details |
A hiba részletei. |
|
error.message |
string |
A hibaüzenet. |
error.target |
string |
A hibacél. |
CloudErrorBody
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további információtípus. |
TopologyList
Name | Típus | Description |
---|---|---|
nextLink |
string |
A következő oldal beolvasásához az URI. |
value |
TopologyResource
Name | Típus | Description |
---|---|---|
id |
string |
Erőforrás-azonosító |
location |
string |
Az erőforrás tárolási helye |
name |
string |
Erőforrás neve |
properties.calculatedDateTime |
string (date-time) |
A topológia kiszámításának UTC-időpontja |
properties.topologyResources |
A topológiai erőforrás részét képező Azure-erőforrások |
|
type |
string |
Erőforrás típusa |
TopologySingleResource
Name | Típus | Description |
---|---|---|
children |
Az erőforráshoz csatlakoztatott Azure-erőforrások, amelyek a topológia nézetben alacsonyabb szinten vannak |
|
location |
string |
Az erőforrás helye |
networkZones |
string |
Az internethez való erőforrás-kapcsolat szintjét jelzi (InternetFacing, Internal stb.) |
parents |
Ehhez az erőforráshoz csatlakoztatott Azure-erőforrások, amelyek topológia nézetben magasabb szinten vannak |
|
recommendationsExist |
boolean |
Azt jelzi, hogy az erőforrás rendelkezik-e biztonsági javaslatokkal |
resourceId |
string |
Azure-erőforrás-azonosító |
severity |
string |
Az erőforrás biztonsági súlyossága |
topologyScore |
integer |
Az erőforrás pontszáma a biztonsági súlyossága alapján |
TopologySingleResourceChild
Name | Típus | Description |
---|---|---|
resourceId |
string |
Azure-erőforrás-azonosító, amely gyermekerőforrásként szolgál a topológia nézetben |
TopologySingleResourceParent
Name | Típus | Description |
---|---|---|
resourceId |
string |
Azure-erőforrás-azonosító, amely szülőerőforrásként szolgál topológia nézetben |