Log Analytics - Get Log Analytics Resources
Abrufen aller Endpunkte und benutzerdefinierter Domänen, die für den AFD-Protokollbericht verfügbar sind
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsResources?api-version=2025-04-15
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
profile
|
path | True |
string |
Name des Azure Front Door Standard- oder Azure Front Door Premium-Profils, das innerhalb der Ressourcengruppe eindeutig ist. die innerhalb der Ressourcengruppe eindeutig ist. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
Name der Ressourcengruppe innerhalb des Azure-Abonnements. |
subscription
|
path | True |
string |
Die Azure-Abonnement-ID. |
api-version
|
query | True |
string |
Version der API, die mit der Clientanforderung verwendet werden soll. Die aktuelle Version ist 2025-04-15. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Beschreiben des Ergebnisses eines erfolgreichen Vorgangs. |
|
Other Status Codes |
Azure Front Door Error Response, die beschreibt, warum der Vorgang fehlgeschlagen ist. |
Sicherheit
azure_auth
Azure Active Directory OAuth2-Fluss.
Typ:
oauth2
Ablauf:
implicit
Autorisierungs-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiche
Name | Beschreibung |
---|---|
user_impersonation | Identitätswechsel ihres Benutzerkontos |
Beispiele
LogAnalytics_GetLogAnalyticsResources
Beispielanforderung
GET https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/getLogAnalyticsResources?api-version=2025-04-15
Beispiel für eine Antwort
{
"endpoints": [
{
"id": "endpoint1",
"name": "endpoint1.azureedge.net",
"history": false,
"customDomains": [
{
"id": "customdomain1.azurecdn.net",
"name": "customdomain1.azurecdn.net",
"endpointId": "enbdpiont1",
"history": true
},
{
"id": "customdomain2.azurecdn.net",
"name": "customdomain2.azurecdn.net",
"endpointId": null,
"history": true
}
]
}
],
"customDomains": [
{
"id": "customdomain1.azurecdn.net",
"name": "customdomain1.azurecdn.net",
"endpointId": null,
"history": true
},
{
"id": "customdomain2.azurecdn.net",
"name": "customdomain2.azurecdn.net",
"endpointId": null,
"history": true
},
{
"id": "customdomain3.azurecdn.net",
"name": "customdomain3.azurecdn.net",
"endpointId": null,
"history": true
}
]
}
Definitionen
Name | Beschreibung |
---|---|
Afd |
Fehlerantwort |
Custom |
|
Endpoints | |
Error |
Der Ressourcenverwaltungsfehler zusätzliche Informationen. |
Error |
Das Fehlerdetails. |
Resources |
Ressourcenantwort |
AfdErrorResponse
Fehlerantwort
Name | Typ | Beschreibung |
---|---|---|
error |
Das Fehlerobjekt. |
CustomDomains
Name | Typ | Beschreibung |
---|---|---|
endpointId |
string |
|
history |
boolean |
|
id |
string |
|
name |
string |
Endpoints
Name | Typ | Beschreibung |
---|---|---|
customDomains | ||
history |
boolean |
|
id |
string |
|
name |
string |
ErrorAdditionalInfo
Der Ressourcenverwaltungsfehler zusätzliche Informationen.
Name | Typ | Beschreibung |
---|---|---|
info |
object |
Die zusätzlichen Informationen. |
type |
string |
Der zusätzliche Informationstyp. |
ErrorDetail
Das Fehlerdetails.
Name | Typ | Beschreibung |
---|---|---|
additionalInfo |
Die zusätzlichen Informationen des Fehlers. |
|
code |
string |
Der Fehlercode. |
details |
Die Fehlerdetails. |
|
message |
string |
Die Fehlermeldung. |
target |
string |
Das Fehlerziel. |
ResourcesResponse
Ressourcenantwort
Name | Typ | Beschreibung |
---|---|---|
customDomains | ||
endpoints |