Linked Services - List By Workspace
Hiermee haalt u de gekoppelde servicesexemplaren in een werkruimte op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices?api-version=2020-08-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string |
De id van het doelabonnement. |
workspace
|
path | True |
string |
De naam van de werkruimte. Regex-patroon: |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Definitie van OK-antwoord. |
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
LinkedServicesListByWorkspace
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"properties": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation",
"name": "TestLinkWS/Automation",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
},
{
"properties": {
"writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/TestCluster",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster",
"name": "TestLinkWS/Cluster",
"type": "Microsoft.OperationalInsights/workspaces/linkedServices"
}
]
}
Definities
Name | Description |
---|---|
Linked |
De resourcecontainer van de gekoppelde service op het hoogste niveau. |
Linked |
De inrichtingsstatus van de gekoppelde service. |
Linked |
Het antwoord van de lijst gekoppelde servicebewerking. |
LinkedService
De resourcecontainer van de gekoppelde service op het hoogste niveau.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
De naam van de resource |
properties.provisioningState |
De inrichtingsstatus van de gekoppelde service. |
|
properties.resourceId |
string |
De resource-id van de resource die aan de werkruimte wordt gekoppeld. Dit moet worden gebruikt voor het koppelen van resources waarvoor leestoegang is vereist |
properties.writeAccessResourceId |
string |
De resource-id van de resource die aan de werkruimte wordt gekoppeld. Dit moet worden gebruikt voor het koppelen van resources waarvoor schrijftoegang is vereist |
tags |
object |
Resourcetags. |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
LinkedServiceEntityStatus
De inrichtingsstatus van de gekoppelde service.
Name | Type | Description |
---|---|---|
Deleting |
string |
|
ProvisioningAccount |
string |
|
Succeeded |
string |
|
Updating |
string |
LinkedServiceListResult
Het antwoord van de lijst gekoppelde servicebewerking.
Name | Type | Description |
---|---|---|
value |
De lijst met gekoppelde service-exemplaren |