1111import * as msRest from "@azure/ms-rest-js" ;
1212import * as Models from "./models" ;
1313import * as Mappers from "./models/mappers" ;
14+ import * as Parameters from "./models/parameters" ;
1415import * as operations from "./operations" ;
1516import { AzureMachineLearningWorkspacesContext } from "./azureMachineLearningWorkspacesContext" ;
1617
@@ -19,9 +20,14 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte
1920 // Operation groups
2021 operations : operations . Operations ;
2122 workspaces : operations . Workspaces ;
23+ workspaceFeatures : operations . WorkspaceFeatures ;
24+ notebooks : operations . Notebooks ;
2225 usages : operations . Usages ;
2326 virtualMachineSizes : operations . VirtualMachineSizes ;
27+ quotas : operations . Quotas ;
2428 machineLearningCompute : operations . MachineLearningCompute ;
29+ privateEndpointConnections : operations . PrivateEndpointConnections ;
30+ privateLinkResources : operations . PrivateLinkResources ;
2531
2632 /**
2733 * Initializes a new instance of the AzureMachineLearningWorkspaces class.
@@ -33,13 +39,114 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte
3339 super ( credentials , subscriptionId , options ) ;
3440 this . operations = new operations . Operations ( this ) ;
3541 this . workspaces = new operations . Workspaces ( this ) ;
42+ this . workspaceFeatures = new operations . WorkspaceFeatures ( this ) ;
43+ this . notebooks = new operations . Notebooks ( this ) ;
3644 this . usages = new operations . Usages ( this ) ;
3745 this . virtualMachineSizes = new operations . VirtualMachineSizes ( this ) ;
46+ this . quotas = new operations . Quotas ( this ) ;
3847 this . machineLearningCompute = new operations . MachineLearningCompute ( this ) ;
48+ this . privateEndpointConnections = new operations . PrivateEndpointConnections ( this ) ;
49+ this . privateLinkResources = new operations . PrivateLinkResources ( this ) ;
50+ }
51+
52+ /**
53+ * Lists all skus with associated features
54+ * @param [options] The optional parameters
55+ * @returns Promise<Models.ListSkusResponse>
56+ */
57+ listSkus ( options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusResponse > ;
58+ /**
59+ * @param callback The callback
60+ */
61+ listSkus ( callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
62+ /**
63+ * @param options The optional parameters
64+ * @param callback The callback
65+ */
66+ listSkus ( options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
67+ listSkus ( options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusResponse > {
68+ return this . sendOperationRequest (
69+ {
70+ options
71+ } ,
72+ listSkusOperationSpec ,
73+ callback ) as Promise < Models . ListSkusResponse > ;
74+ }
75+
76+ /**
77+ * Lists all skus with associated features
78+ * @param nextPageLink The NextLink from the previous successful call to List operation.
79+ * @param [options] The optional parameters
80+ * @returns Promise<Models.ListSkusNextResponse>
81+ */
82+ listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusNextResponse > ;
83+ /**
84+ * @param nextPageLink The NextLink from the previous successful call to List operation.
85+ * @param callback The callback
86+ */
87+ listSkusNext ( nextPageLink : string , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
88+ /**
89+ * @param nextPageLink The NextLink from the previous successful call to List operation.
90+ * @param options The optional parameters
91+ * @param callback The callback
92+ */
93+ listSkusNext ( nextPageLink : string , options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
94+ listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusNextResponse > {
95+ return this . sendOperationRequest (
96+ {
97+ nextPageLink,
98+ options
99+ } ,
100+ listSkusNextOperationSpec ,
101+ callback ) as Promise < Models . ListSkusNextResponse > ;
39102 }
40103}
41104
42105// Operation Specifications
106+ const serializer = new msRest . Serializer ( Mappers ) ;
107+ const listSkusOperationSpec : msRest . OperationSpec = {
108+ httpMethod : "GET" ,
109+ path : "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus" ,
110+ urlParameters : [
111+ Parameters . subscriptionId
112+ ] ,
113+ queryParameters : [
114+ Parameters . apiVersion
115+ ] ,
116+ headerParameters : [
117+ Parameters . acceptLanguage
118+ ] ,
119+ responses : {
120+ 200 : {
121+ bodyMapper : Mappers . SkuListResult
122+ } ,
123+ default : {
124+ bodyMapper : Mappers . MachineLearningServiceError
125+ }
126+ } ,
127+ serializer
128+ } ;
129+
130+ const listSkusNextOperationSpec : msRest . OperationSpec = {
131+ httpMethod : "GET" ,
132+ baseUrl : "https://management.azure.com" ,
133+ path : "{nextLink}" ,
134+ urlParameters : [
135+ Parameters . nextPageLink
136+ ] ,
137+ headerParameters : [
138+ Parameters . acceptLanguage
139+ ] ,
140+ responses : {
141+ 200 : {
142+ bodyMapper : Mappers . SkuListResult
143+ } ,
144+ default : {
145+ bodyMapper : Mappers . MachineLearningServiceError
146+ }
147+ } ,
148+ serializer
149+ } ;
43150
44151export {
45152 AzureMachineLearningWorkspaces ,
0 commit comments