Data Exports - Get
Lekéri az adatexportálási példányt.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}?api-version=2025-02-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
data
|
path | True |
string |
Az adatexportálási szabály neve. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
subscription
|
path | True |
string minLength: 1 |
A cél-előfizetés azonosítója. |
workspace
|
path | True |
string minLength: 4maxLength: 63 pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$ |
A munkaterület neve. |
api-version
|
query | True |
string minLength: 1 |
A művelethez használni kívánt API-verzió. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OK válaszdefiníció. |
|
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
DataExportGet
Mintakérelem
Mintaválasz
{
"properties": {
"dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5",
"destination": {
"resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test",
"type": "EventHub"
},
"tableNames": [
"Heartbeat"
],
"enable": true,
"createdDate": "Sun, 12 Jan 2020 12:51:10 GMT",
"lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT"
},
"id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1",
"name": "export1",
"type": "Microsoft.OperationalInsights/workspaces/export"
}
Definíciók
Name | Description |
---|---|
Data |
A legfelső szintű adatexportálási erőforrástároló. |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
type |
A célerőforrás típusa |
DataExport
A legfelső szintű adatexportálási erőforrástároló.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Az erőforrás neve |
properties.createdDate |
string |
A legújabb adatexportálási szabály módosítási ideje. |
properties.dataExportId |
string |
Az adatexportálási szabály azonosítója. |
properties.destination.metaData.eventHubName |
string |
Szabadon választható. Lehetővé teszi az Event Hub-név megadását. Nem alkalmazható, ha a cél a tárfiók. |
properties.destination.resourceId |
string |
A célerőforrás azonosítója. Ez másolható a célerőforrás Tulajdonságok bejegyzéséből az Azure-ban. |
properties.destination.type |
A célerőforrás típusa |
|
properties.enable |
boolean |
Aktív, ha engedélyezve van. |
properties.lastModifiedDate |
string |
Az exportálás utolsó módosításának dátuma és időpontja. |
properties.tableNames |
string[] |
Exportálandó táblák tömbje, például: ["Szívverés, SecurityEvent"]. |
type |
string |
Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts" |
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. |
ErrorDetail
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. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
type
A célerőforrás típusa
Érték | Description |
---|---|
EventHub | |
StorageAccount |