|
349 | 349 | } |
350 | 350 | } |
351 | 351 | }, |
| 352 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { |
| 353 | + "post": { |
| 354 | + "tags": [ |
| 355 | + "Workspaces" |
| 356 | + ], |
| 357 | + "description": "Lists notebook keys associated with this workspace. The notebook keys are used for loading notebook components, which a reader should have access to. So make it a Get, not Post call", |
| 358 | + "operationId": "Workspaces_ListNotebookKeys", |
| 359 | + "x-ms-examples": { |
| 360 | + "List Workspace Keys": { |
| 361 | + "$ref": "./examples/listWorkspaceNotebookKeys.json" |
| 362 | + } |
| 363 | + }, |
| 364 | + "parameters": [ |
| 365 | + { |
| 366 | + "$ref": "#/parameters/APIVersionParameter" |
| 367 | + }, |
| 368 | + { |
| 369 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 370 | + }, |
| 371 | + { |
| 372 | + "$ref": "#/parameters/ResourceGroupNameParameter" |
| 373 | + }, |
| 374 | + { |
| 375 | + "$ref": "#/parameters/WorkspaceNameParameter" |
| 376 | + } |
| 377 | + ], |
| 378 | + "responses": { |
| 379 | + "200": { |
| 380 | + "description": "The request was successful; the request was well-formed and received properly.", |
| 381 | + "schema": { |
| 382 | + "$ref": "#/definitions/NotebookListCredentialsResult" |
| 383 | + } |
| 384 | + }, |
| 385 | + "default": { |
| 386 | + "description": "Error response describing why the operation failed", |
| 387 | + "schema": { |
| 388 | + "$ref": "#/definitions/MachineLearningServiceError" |
| 389 | + } |
| 390 | + } |
| 391 | + } |
| 392 | + } |
| 393 | + }, |
352 | 394 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { |
353 | 395 | "post": { |
354 | 396 | "tags": [ |
|
430 | 472 | } |
431 | 473 | } |
432 | 474 | }, |
| 475 | + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/transitivepeusages": { |
| 476 | + "get": { |
| 477 | + "tags": [ |
| 478 | + "TransitivePEUsage" |
| 479 | + ], |
| 480 | + "operationId": "TransitivePEUsage_Get", |
| 481 | + "description": "Gets the current transitive private endpoint usage information as well as limits for AML resources for given subscription and location.", |
| 482 | + "parameters": [ |
| 483 | + { |
| 484 | + "$ref": "#/parameters/APIVersionParameter" |
| 485 | + }, |
| 486 | + { |
| 487 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 488 | + }, |
| 489 | + { |
| 490 | + "name": "location", |
| 491 | + "in": "path", |
| 492 | + "required": true, |
| 493 | + "type": "string", |
| 494 | + "description": "The location for which resource usage is queried.", |
| 495 | + "pattern": "^[-\\w\\._]+$" |
| 496 | + } |
| 497 | + ], |
| 498 | + "responses": { |
| 499 | + "200": { |
| 500 | + "description": "OK", |
| 501 | + "schema": { |
| 502 | + "$ref": "#/definitions/ListTransitivePEUsagesResult" |
| 503 | + } |
| 504 | + }, |
| 505 | + "default": { |
| 506 | + "description": "Error response describing why the request failed.", |
| 507 | + "schema": { |
| 508 | + "$ref": "#/definitions/MachineLearningServiceError" |
| 509 | + } |
| 510 | + } |
| 511 | + }, |
| 512 | + "x-ms-examples": { |
| 513 | + "Get Transitive PE Usages": { |
| 514 | + "$ref": "./examples/getTransitivePEUsages.json" |
| 515 | + } |
| 516 | + }, |
| 517 | + "x-ms-pageable": { |
| 518 | + "nextLinkName": null |
| 519 | + } |
| 520 | + } |
| 521 | + }, |
433 | 522 | "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { |
434 | 523 | "get": { |
435 | 524 | "tags": [ |
|
2291 | 2380 | }, |
2292 | 2381 | "description": "Describes AML Resource Usage." |
2293 | 2382 | }, |
| 2383 | + "TransitivePEUsage": { |
| 2384 | + "type": "object", |
| 2385 | + "properties": { |
| 2386 | + "totalUsage": { |
| 2387 | + "readOnly": true, |
| 2388 | + "format": "int32", |
| 2389 | + "type": "integer" |
| 2390 | + } |
| 2391 | + } |
| 2392 | + }, |
| 2393 | + "PrivateDNSZoneUsage": { |
| 2394 | + "type": "object", |
| 2395 | + "properties": { |
| 2396 | + "totalUsage": { |
| 2397 | + "readOnly": true, |
| 2398 | + "format": "int32", |
| 2399 | + "type": "integer" |
| 2400 | + } |
| 2401 | + } |
| 2402 | + }, |
| 2403 | + "TransitivePEUsagesResult": { |
| 2404 | + "type": "object", |
| 2405 | + "description": "The transitive private endpoint usage in this location", |
| 2406 | + "properties": { |
| 2407 | + "subscriptionId": { |
| 2408 | + "readOnly": true, |
| 2409 | + "type": "string", |
| 2410 | + "description": "Subscription id that the transitive private endpoint usage is measured." |
| 2411 | + }, |
| 2412 | + "transitivePrivateEndpointsUsage": { |
| 2413 | + "readOnly": true, |
| 2414 | + "description": "Transitive private endpoint usage", |
| 2415 | + "$ref": "#/definitions/TransitivePEUsage" |
| 2416 | + }, |
| 2417 | + "transitivePrivateEndpointsQuota": { |
| 2418 | + "readOnly": true, |
| 2419 | + "description": "Transitive private endpoint quota that currently set", |
| 2420 | + "format": "int32", |
| 2421 | + "type": "integer" |
| 2422 | + }, |
| 2423 | + "privateDnsZonesUsage": { |
| 2424 | + "readOnly": true, |
| 2425 | + "description": "Private DNS zone usage", |
| 2426 | + "$ref": "#/definitions/PrivateDNSZoneUsage" |
| 2427 | + }, |
| 2428 | + "privateDnsZonesQuota": { |
| 2429 | + "readOnly": true, |
| 2430 | + "description": "Private Dns Zones quota that currently set", |
| 2431 | + "format": "int32", |
| 2432 | + "type": "integer" |
| 2433 | + } |
| 2434 | + } |
| 2435 | + }, |
| 2436 | + "ListTransitivePEUsagesResult": { |
| 2437 | + "properties": { |
| 2438 | + "value": { |
| 2439 | + "readOnly": true, |
| 2440 | + "type": "array", |
| 2441 | + "items": { |
| 2442 | + "$ref": "#/definitions/TransitivePEUsagesResult" |
| 2443 | + }, |
| 2444 | + "description": "The list of transitive private endpoint usages." |
| 2445 | + }, |
| 2446 | + "nextLink": { |
| 2447 | + "readOnly": true, |
| 2448 | + "type": "string", |
| 2449 | + "description": "The URI to fetch the next page of transitive private endpoint usages information. Call ListNext() with this to fetch the next page of AML resource usage information." |
| 2450 | + } |
| 2451 | + }, |
| 2452 | + "description": "The List transitive private endpoint usages operation response." |
| 2453 | + }, |
2294 | 2454 | "ListUsagesResult": { |
2295 | 2455 | "properties": { |
2296 | 2456 | "value": { |
|
2798 | 2958 | "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", |
2799 | 2959 | "x-ms-azure-resource": true |
2800 | 2960 | }, |
| 2961 | + "NotebookListCredentialsResult": { |
| 2962 | + "type": "object", |
| 2963 | + "properties": { |
| 2964 | + "primaryAccessKey": { |
| 2965 | + "type": "string" |
| 2966 | + }, |
| 2967 | + "secondaryAccessKey": { |
| 2968 | + "type": "string" |
| 2969 | + } |
| 2970 | + } |
| 2971 | + }, |
2801 | 2972 | "ListWorkspaceKeysResult": { |
2802 | 2973 | "type": "object", |
2803 | 2974 | "properties": { |
|
0 commit comments