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,15 @@ 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 ;
28+ workspaceConnections : operations . WorkspaceConnections ;
2429 machineLearningCompute : operations . MachineLearningCompute ;
30+ privateEndpointConnections : operations . PrivateEndpointConnections ;
31+ privateLinkResources : operations . PrivateLinkResources ;
2532
2633 /**
2734 * Initializes a new instance of the AzureMachineLearningWorkspaces class.
@@ -33,13 +40,115 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte
3340 super ( credentials , subscriptionId , options ) ;
3441 this . operations = new operations . Operations ( this ) ;
3542 this . workspaces = new operations . Workspaces ( this ) ;
43+ this . workspaceFeatures = new operations . WorkspaceFeatures ( this ) ;
44+ this . notebooks = new operations . Notebooks ( this ) ;
3645 this . usages = new operations . Usages ( this ) ;
3746 this . virtualMachineSizes = new operations . VirtualMachineSizes ( this ) ;
47+ this . quotas = new operations . Quotas ( this ) ;
48+ this . workspaceConnections = new operations . WorkspaceConnections ( this ) ;
3849 this . machineLearningCompute = new operations . MachineLearningCompute ( this ) ;
50+ this . privateEndpointConnections = new operations . PrivateEndpointConnections ( this ) ;
51+ this . privateLinkResources = new operations . PrivateLinkResources ( this ) ;
52+ }
53+
54+ /**
55+ * Lists all skus with associated features
56+ * @param [options] The optional parameters
57+ * @returns Promise<Models.ListSkusResponse>
58+ */
59+ listSkus ( options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusResponse > ;
60+ /**
61+ * @param callback The callback
62+ */
63+ listSkus ( callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
64+ /**
65+ * @param options The optional parameters
66+ * @param callback The callback
67+ */
68+ listSkus ( options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
69+ listSkus ( options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusResponse > {
70+ return this . sendOperationRequest (
71+ {
72+ options
73+ } ,
74+ listSkusOperationSpec ,
75+ callback ) as Promise < Models . ListSkusResponse > ;
76+ }
77+
78+ /**
79+ * Lists all skus with associated features
80+ * @param nextPageLink The NextLink from the previous successful call to List operation.
81+ * @param [options] The optional parameters
82+ * @returns Promise<Models.ListSkusNextResponse>
83+ */
84+ listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase ) : Promise < Models . ListSkusNextResponse > ;
85+ /**
86+ * @param nextPageLink The NextLink from the previous successful call to List operation.
87+ * @param callback The callback
88+ */
89+ listSkusNext ( nextPageLink : string , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
90+ /**
91+ * @param nextPageLink The NextLink from the previous successful call to List operation.
92+ * @param options The optional parameters
93+ * @param callback The callback
94+ */
95+ listSkusNext ( nextPageLink : string , options : msRest . RequestOptionsBase , callback : msRest . ServiceCallback < Models . SkuListResult > ) : void ;
96+ listSkusNext ( nextPageLink : string , options ?: msRest . RequestOptionsBase | msRest . ServiceCallback < Models . SkuListResult > , callback ?: msRest . ServiceCallback < Models . SkuListResult > ) : Promise < Models . ListSkusNextResponse > {
97+ return this . sendOperationRequest (
98+ {
99+ nextPageLink,
100+ options
101+ } ,
102+ listSkusNextOperationSpec ,
103+ callback ) as Promise < Models . ListSkusNextResponse > ;
39104 }
40105}
41106
42107// Operation Specifications
108+ const serializer = new msRest . Serializer ( Mappers ) ;
109+ const listSkusOperationSpec : msRest . OperationSpec = {
110+ httpMethod : "GET" ,
111+ path : "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus" ,
112+ urlParameters : [
113+ Parameters . subscriptionId
114+ ] ,
115+ queryParameters : [
116+ Parameters . apiVersion
117+ ] ,
118+ headerParameters : [
119+ Parameters . acceptLanguage
120+ ] ,
121+ responses : {
122+ 200 : {
123+ bodyMapper : Mappers . SkuListResult
124+ } ,
125+ default : {
126+ bodyMapper : Mappers . MachineLearningServiceError
127+ }
128+ } ,
129+ serializer
130+ } ;
131+
132+ const listSkusNextOperationSpec : msRest . OperationSpec = {
133+ httpMethod : "GET" ,
134+ baseUrl : "https://management.azure.com" ,
135+ path : "{nextLink}" ,
136+ urlParameters : [
137+ Parameters . nextPageLink
138+ ] ,
139+ headerParameters : [
140+ Parameters . acceptLanguage
141+ ] ,
142+ responses : {
143+ 200 : {
144+ bodyMapper : Mappers . SkuListResult
145+ } ,
146+ default : {
147+ bodyMapper : Mappers . MachineLearningServiceError
148+ }
149+ } ,
150+ serializer
151+ } ;
43152
44153export {
45154 AzureMachineLearningWorkspaces ,
0 commit comments