Freigeben über


Notebook Workspaces - List By Database Account

Ruft die Ressourcen des Notizbucharbeitsbereichs eines vorhandenen Cosmos DB-Kontos ab.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces?api-version=2025-04-15

URI-Parameter

Name In Erforderlich Typ Beschreibung
accountName
path True

string

minLength: 3
maxLength: 50
pattern: ^[a-z0-9]+(-[a-z0-9]+)*

Name des Cosmos DB-Datenbankkontos.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

subscriptionId
path True

string

minLength: 1

Die ID des Zielabonnements.

api-version
query True

string

minLength: 1

Hierbei handelt es sich um die für diesen Vorgang zu verwendende API-Version.

Antworten

Name Typ Beschreibung
200 OK

NotebookWorkspaceListResult

Die Ressourcen des Notizbucharbeitsbereichs wurden erfolgreich abgerufen.

Other Status Codes

ErrorResponse

Fehlerantwort, die beschreibt, warum der Vorgang fehlgeschlagen ist.

Sicherheit

azure_auth

Azure Active Directory OAuth2-Fluss

Typ: oauth2
Ablauf: implicit
Autorisierungs-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiche

Name Beschreibung
user_impersonation Identitätswechsel ihres Benutzerkontos

Beispiele

CosmosDBNotebookWorkspaceList

Beispielanforderung

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/notebookWorkspaces?api-version=2025-04-15

Beispiel für eine Antwort

{
  "value": [
    {
      "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/notebookWorkspaces/default",
      "name": "default",
      "type": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces",
      "properties": {
        "notebookServerEndpoint": "endpoint",
        "status": "Online"
      }
    }
  ]
}

Definitionen

Name Beschreibung
ErrorResponse

Fehlerantwort.

NotebookWorkspace

Eine Notizbucharbeitsbereichsressource

NotebookWorkspaceListResult

Eine Liste der Ressourcen des Notizbucharbeitsbereichs

ErrorResponse

Fehlerantwort.

Name Typ Beschreibung
code

string

Fehlercode.

message

string

Fehlermeldung, die angibt, warum der Vorgang fehlgeschlagen ist.

NotebookWorkspace

Eine Notizbucharbeitsbereichsressource

Name Typ Beschreibung
id

string

Der eindeutige Ressourcenbezeichner des Datenbankkontos.

name

string

Der Name des Datenbankkontos.

properties.notebookServerEndpoint

string

Gibt den Endpunkt des Notizbuchservers an.

properties.status

string

Status des Notizbucharbeitsbereichs. Mögliche Werte sind: Erstellen, Online, Löschen, Fehlgeschlagen, Aktualisieren.

type

string

Der Typ der Azure-Ressource.

NotebookWorkspaceListResult

Eine Liste der Ressourcen des Notizbucharbeitsbereichs

Name Typ Beschreibung
value

NotebookWorkspace[]

Array von Notizbucharbeitsbereichsressourcen