Notebook Workspaces - List Connection Info

Not defteri çalışma alanı için bağlantı bilgilerini alır

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/default/listConnectionInfo?api-version=2023-11-15

URI Parametreleri

Name İçinde Gerekli Tür Description
accountName
path True

string

Cosmos DB veritabanı hesap adı.

Regex pattern: ^[a-z0-9]+(-[a-z0-9]+)*

notebookWorkspaceName
path True

NotebookWorkspaceName

Not defteri çalışma alanı kaynağının adı.

resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

subscriptionId
path True

string

Hedef aboneliğin kimliği.

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

NotebookWorkspaceConnectionInfoResult

İşlem başarıyla tamamlandı.

Other Status Codes

ErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

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

Scopes

Name Description
user_impersonation Kullanıcı hesabınızın kimliğine bürünme

Örnekler

CosmosDBNotebookWorkspaceListConnectionInfo

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/notebookWorkspaces/default/listConnectionInfo?api-version=2023-11-15

Sample Response

{
  "authToken": "auth-token",
  "notebookServerEndpoint": "notebook endpoint"
}

Tanımlar

Name Description
ErrorResponse

Hata Yanıtı.

NotebookWorkspaceConnectionInfoResult

Verilen not defteri çalışma alanı için bağlantı bilgileri

NotebookWorkspaceName

Not defteri çalışma alanı kaynağının adı.

ErrorResponse

Hata Yanıtı.

Name Tür Description
code

string

Hata kodu.

message

string

İşlemin neden başarısız olduğunu belirten hata iletisi.

NotebookWorkspaceConnectionInfoResult

Verilen not defteri çalışma alanı için bağlantı bilgileri

Name Tür Description
authToken

string

Not Defteri sunucusuna bağlanmak için kullanılan kimlik doğrulama belirtecini belirtir (belirteç tabanlı kimlik doğrulaması kullanır).

notebookServerEndpoint

string

Not Defteri sunucusunun uç noktasını belirtir.

NotebookWorkspaceName

Not defteri çalışma alanı kaynağının adı.

Name Tür Description
default

string