@@ -11,7 +11,6 @@ import * as msRest from "@azure/ms-rest-js";
1111import { TokenCredential } from "@azure/core-auth" ;
1212import * as Models from "./models" ;
1313import * as Mappers from "./models/mappers" ;
14- import * as Parameters from "./models/parameters" ;
1514import * as operations from "./operations" ;
1615import { AzureMachineLearningWorkspacesContext } from "./azureMachineLearningWorkspacesContext" ;
1716
@@ -21,14 +20,17 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte
2120 operations : operations . Operations ;
2221 workspaces : operations . Workspaces ;
2322 workspaceFeatures : operations . WorkspaceFeatures ;
24- notebooks : operations . Notebooks ;
2523 usages : operations . Usages ;
2624 virtualMachineSizes : operations . VirtualMachineSizes ;
2725 quotas : operations . Quotas ;
28- workspaceConnections : operations . WorkspaceConnections ;
2926 machineLearningCompute : operations . MachineLearningCompute ;
27+ workspace : operations . WorkspaceOperations ;
3028 privateEndpointConnections : operations . PrivateEndpointConnections ;
3129 privateLinkResources : operations . PrivateLinkResources ;
30+ machineLearningService : operations . MachineLearningService ;
31+ notebooks : operations . Notebooks ;
32+ storageAccount : operations . StorageAccount ;
33+ workspaceConnections : operations . WorkspaceConnections ;
3234
3335 /**
3436 * Initializes a new instance of the AzureMachineLearningWorkspaces class.
@@ -46,117 +48,21 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte
4648 this . operations = new operations . Operations ( this ) ;
4749 this . workspaces = new operations . Workspaces ( this ) ;
4850 this . workspaceFeatures = new operations . WorkspaceFeatures ( this ) ;
49- this . notebooks = new operations . Notebooks ( this ) ;
5051 this . usages = new operations . Usages ( this ) ;
5152 this . virtualMachineSizes = new operations . VirtualMachineSizes ( this ) ;
5253 this . quotas = new operations . Quotas ( this ) ;
53- this . workspaceConnections = new operations . WorkspaceConnections ( this ) ;
5454 this . machineLearningCompute = new operations . MachineLearningCompute ( this ) ;
55+ this . workspace = new operations . WorkspaceOperations ( this ) ;
5556 this . privateEndpointConnections = new operations . PrivateEndpointConnections ( this ) ;
5657 this . privateLinkResources = new operations . PrivateLinkResources ( this ) ;
57- }
58-
59- /**
60- * Lists all skus with associated features
61- * @param [options] The optional parameters
62- * @returns Promise<Models.ListSkusResponse>
63- */
64- listSkus ( options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusResponse > ;
65- /**
66- * @param callback The callback
67- */
68- listSkus ( callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
69- /**
70- * @param options The optional parameters
71- * @param callback The callback
72- */
73- listSkus ( options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
74- listSkus ( options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusResponse > {
75- return this . sendOperationRequest (
76- {
77- options
78- } ,
79- listSkusOperationSpec ,
80- callback ) as Promise < Models . ListSkusResponse > ;
81- }
82-
83- /**
84- * Lists all skus with associated features
85- * @param nextPageLink The NextLink from the previous successful call to List operation.
86- * @param [options] The optional parameters
87- * @returns Promise<Models.ListSkusNextResponse>
88- */
89- listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusNextResponse > ;
90- /**
91- * @param nextPageLink The NextLink from the previous successful call to List operation.
92- * @param callback The callback
93- */
94- listSkusNext ( nextPageLink : string , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
95- /**
96- * @param nextPageLink The NextLink from the previous successful call to List operation.
97- * @param options The optional parameters
98- * @param callback The callback
99- */
100- listSkusNext ( nextPageLink : string , options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
101- listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusNextResponse > {
102- return this . sendOperationRequest (
103- {
104- nextPageLink,
105- options
106- } ,
107- listSkusNextOperationSpec ,
108- callback ) as Promise < Models . ListSkusNextResponse > ;
58+ this . machineLearningService = new operations . MachineLearningService ( this ) ;
59+ this . notebooks = new operations . Notebooks ( this ) ;
60+ this . storageAccount = new operations . StorageAccount ( this ) ;
61+ this . workspaceConnections = new operations . WorkspaceConnections ( this ) ;
10962 }
11063}
11164
11265// Operation Specifications
113- const serializer = new msRest . Serializer ( Mappers ) ;
114- const listSkusOperationSpec : msRest . OperationSpec = {
115- httpMethod : "GET" ,
116- path : "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus" ,
117- urlParameters : [
118- Parameters . subscriptionId
119- ] ,
120- queryParameters : [
121- Parameters . apiVersion
122- ] ,
123- headerParameters : [
124- Parameters . acceptLanguage
125- ] ,
126- responses : {
127- 200 : {
128- bodyMapper : Mappers . SkuListResult
129- } ,
130- default : {
131- bodyMapper : Mappers . MachineLearningServiceError
132- }
133- } ,
134- serializer
135- } ;
136-
137- const listSkusNextOperationSpec : msRest . OperationSpec = {
138- httpMethod : "GET" ,
139- baseUrl : "https://management.azure.com" ,
140- path : "{nextLink}" ,
141- urlParameters : [
142- Parameters . nextPageLink
143- ] ,
144- queryParameters : [
145- Parameters . apiVersion
146- ] ,
147- headerParameters : [
148- Parameters . acceptLanguage
149- ] ,
150- responses : {
151- 200 : {
152- bodyMapper : Mappers . SkuListResult
153- } ,
154- default : {
155- bodyMapper : Mappers . MachineLearningServiceError
156- }
157- } ,
158- serializer
159- } ;
16066
16167export {
16268 AzureMachineLearningWorkspaces ,
0 commit comments