Share via


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
resourceGroupName
path True

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

subscriptionId
path True

string

De id van het doelabonnement.

workspaceName
path True

string

De naam van de werkruimte.

Regex pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

LinkedServiceListResult

Definitie van OK-antwoord.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

LinkedServicesListByWorkspace

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/TestLinkWS/linkedServices?api-version=2020-08-01

Sample Response

{
  "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
LinkedService

De resourcecontainer van de gekoppelde service op het hoogste niveau.

LinkedServiceEntityStatus

De inrichtingsstatus van de gekoppelde service.

LinkedServiceListResult

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

LinkedServiceEntityStatus

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

LinkedService[]

De lijst met gekoppelde service-exemplaren