Data Exports - Get
Hämtar en dataexportinstans.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}?api-version=2023-09-01
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
data
|
path | True |
string |
Namnet på dataexportregeln. |
resource
|
path | True |
string |
Namnet på resursgruppen. Namnet är skiftlägesokänsligt. |
subscription
|
path | True |
string |
ID för målprenumerationen. |
workspace
|
path | True |
string |
Namnet på arbetsytan. Reguljärt uttrycksmönster: |
api-version
|
query | True |
string |
Den API-version som ska användas för den här åtgärden. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OK svarsdefinition. |
|
Other Status Codes |
Felsvar som beskriver varför åtgärden misslyckades. |
Säkerhet
azure_auth
Azure Active Directory OAuth2 Flow
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
Name | Description |
---|---|
user_impersonation | personifiera ditt användarkonto |
Exempel
DataExportGet
Exempelbegäran
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/Microsoft.OperationalInsights/workspaces/DeWnTest1234/dataExports/export1?api-version=2023-09-01
Exempelsvar
{
"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"
}
Definitioner
Name | Description |
---|---|
Data |
Resurscontainern för dataexport på den översta nivån. |
Error |
Ytterligare information om resurshanteringsfelet. |
Error |
Felinformationen. |
Error |
Felsvar |
type |
Typ av målresurs |
DataExport
Resurscontainern för dataexport på den översta nivån.
Name | Typ | Description |
---|---|---|
id |
string |
Fullständigt kvalificerat resurs-ID för resursen. Exempel – /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Namnet på resursen |
properties.createdDate |
string |
Den senaste ändringstiden för dataexportregeln. |
properties.dataExportId |
string |
Regel-ID för dataexport. |
properties.destination.metaData.eventHubName |
string |
Valfritt. Gör att du kan definiera ett händelsehubbnamn. Inte tillämpligt när målet är Lagringskonto. |
properties.destination.resourceId |
string |
Målresursens ID. Detta kan kopieras från posten Egenskaper för målresursen i Azure. |
properties.destination.type |
Typ av målresurs |
|
properties.enable |
boolean |
Aktiv när den är aktiverad. |
properties.lastModifiedDate |
string |
Datum och tid då exporten senast ändrades. |
properties.tableNames |
string[] |
En matris med tabeller som ska exporteras, till exempel: ["Heartbeat, SecurityEvent"]. |
type |
string |
Resurstypen. Till exempel "Microsoft.Compute/virtualMachines" eller "Microsoft.Storage/storageAccounts" |
ErrorAdditionalInfo
Ytterligare information om resurshanteringsfelet.
Name | Typ | Description |
---|---|---|
info |
object |
Den ytterligare informationen. |
type |
string |
Ytterligare informationstyp. |
ErrorDetail
Felinformationen.
Name | Typ | Description |
---|---|---|
additionalInfo |
Ytterligare information om felet. |
|
code |
string |
Felkoden. |
details |
Felinformationen. |
|
message |
string |
Felmeddelandet. |
target |
string |
Felmålet. |
ErrorResponse
Felsvar
Name | Typ | Description |
---|---|---|
error |
Felobjektet. |
type
Typ av målresurs
Name | Typ | Description |
---|---|---|
EventHub |
string |
|
StorageAccount |
string |