Data Sources - Get
Hiermee haalt u een gegevensbronexemplaren op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}?api-version=2023-09-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
data
|
path | True |
string |
Naam van de gegevensbron |
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string minLength: 1 |
De id van het doelabonnement. |
workspace
|
path | True |
string minLength: 4maxLength: 63 pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$ |
De naam van de werkruimte. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Ok-antwoorddefinitie. |
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
DataSourcesGet
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/dataSources/AzTestDS774?api-version=2023-09-01
Voorbeeldrespons
{
"kind": "AzureActivityLog",
"properties": {
"linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774",
"etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"",
"name": "AzTestDS774",
"type": "Microsoft.OperationalInsights/workspaces/datasources"
}
Definities
Name | Description |
---|---|
Data |
Gegevensbronnen onder OMS-werkruimte. |
Data |
Het type DataSource. |
Object |
JSON-object |
DataSource
Gegevensbronnen onder OMS-werkruimte.
Name | Type | Description |
---|---|---|
etag |
string |
De ETag van de gegevensbron. |
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
kind |
Het type DataSource. |
|
name |
string |
De naam van de resource |
properties |
De eigenschappen van de gegevensbron in onbewerkte json-indeling, elk type gegevensbron hebben een eigen schema. |
|
tags |
object |
Resourcetags. |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
DataSourceKind
Het type DataSource.
Waarde | Description |
---|---|
ApplicationInsights | |
AzureActivityLog | |
AzureAuditLog | |
ChangeTrackingContentLocation | |
ChangeTrackingCustomPath | |
ChangeTrackingDataTypeConfiguration | |
ChangeTrackingDefaultRegistry | |
ChangeTrackingLinuxPath | |
ChangeTrackingPath | |
ChangeTrackingRegistry | |
ChangeTrackingServices | |
CustomLog | |
CustomLogCollection | |
DnsAnalytics | |
GenericDataSource | |
IISLogs | |
ImportComputerGroup | |
Itsm | |
LinuxChangeTrackingPath | |
LinuxPerformanceCollection | |
LinuxPerformanceObject | |
LinuxSyslog | |
LinuxSyslogCollection | |
NetworkMonitoring | |
Office365 | |
SecurityCenterSecurityWindowsBaselineConfiguration | |
SecurityEventCollectionConfiguration | |
SecurityInsightsSecurityEventCollectionConfiguration | |
SecurityWindowsBaselineConfiguration | |
SqlDataClassification | |
WindowsEvent | |
WindowsPerformanceCounter | |
WindowsTelemetry |
Object
JSON-object