@azure/arm-webservices 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250212.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -15
- package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.d.ts +2 -2
- package/dist/browser/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.js +15 -18
- package/dist/browser/azureMLWebServicesManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/webServices.d.ts +3 -3
- package/dist/browser/operations/webServices.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/webServices.js +133 -149
- package/dist/browser/operations/webServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/webServices.d.ts +1 -1
- package/dist/browser/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/webServices.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.js +103 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-webservices.d.ts → dist/commonjs/models/index.d.ts} +751 -971
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +131 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +40 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1136 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +133 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +97 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/webServices.d.ts +146 -0
- package/dist/commonjs/operations/webServices.d.ts.map +1 -0
- package/dist/commonjs/operations/webServices.js +614 -0
- package/dist/commonjs/operations/webServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/webServices.d.ts +110 -0
- package/dist/commonjs/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/webServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/webServices.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/esm/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/esm/azureMLWebServicesManagementClient.js +98 -0
- package/dist/esm/azureMLWebServicesManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +751 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +128 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +40 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1133 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +130 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +93 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/webServices.d.ts +146 -0
- package/dist/esm/operations/webServices.d.ts.map +1 -0
- package/dist/esm/operations/webServices.js +610 -0
- package/dist/esm/operations/webServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -3
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/webServices.d.ts +110 -0
- package/dist/esm/operationsInterfaces/webServices.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/webServices.js} +2 -3
- package/dist/esm/operationsInterfaces/webServices.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/react-native/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureMLWebServicesManagementClient.js +98 -0
- package/dist/react-native/azureMLWebServicesManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +751 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +128 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +40 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1133 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +130 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +93 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/webServices.d.ts +146 -0
- package/dist/react-native/operations/webServices.d.ts.map +1 -0
- package/dist/react-native/operations/webServices.js +610 -0
- package/dist/react-native/operations/webServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/webServices.d.ts +110 -0
- package/dist/react-native/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/webServices.js +9 -0
- package/dist/react-native/operationsInterfaces/webServices.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -2326
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js +0 -138
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js +0 -30
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesGetSample.js +0 -29
- package/dist-esm/samples-dev/webServicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js +0 -43
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListKeysSample.js +0 -29
- package/dist-esm/samples-dev/webServicesListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesPatchSample.js +0 -30
- package/dist-esm/samples-dev/webServicesPatchSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesRemoveSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesRemoveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesRemoveSample.js +0 -29
- package/dist-esm/samples-dev/webServicesRemoveSample.js.map +0 -1
- package/dist-esm/src/azureMLWebServicesManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureMLWebServicesManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/webServices.d.ts.map +0 -1
- package/dist-esm/src/operations/webServices.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/webServices.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/webServices.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/azureMLWebServicesManagementClient.ts +0 -142
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -813
- package/src/models/mappers.ts +0 -1179
- package/src/models/parameters.ts +0 -151
- package/src/operations/operations.ts +0 -100
- package/src/operations/webServices.ts +0 -855
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/webServices.ts +0 -201
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -35
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/webServices.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
import { LroEngine } from "@azure/core-lro";
|
|
14
|
+
import { LroImpl } from "../lroImpl.js";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing WebServices operations. */
|
|
17
|
+
export class WebServicesImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class WebServices class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Gets the web services in the specified resource group.
|
|
27
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
31
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
48
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield yield __await(page);
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield yield __await(page);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
68
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
|
+
try {
|
|
71
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
75
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Gets the web services in the specified subscription.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
listBySubscriptionId(options) {
|
|
92
|
+
const iter = this.listBySubscriptionIdPagingAll(options);
|
|
93
|
+
return {
|
|
94
|
+
next() {
|
|
95
|
+
return iter.next();
|
|
96
|
+
},
|
|
97
|
+
[Symbol.asyncIterator]() {
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
byPage: (settings) => {
|
|
101
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
102
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
|
+
}
|
|
104
|
+
return this.listBySubscriptionIdPagingPage(options, settings);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
listBySubscriptionIdPagingPage(options, settings) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
|
110
|
+
let result;
|
|
111
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
|
+
if (!continuationToken) {
|
|
113
|
+
result = yield __await(this._listBySubscriptionId(options));
|
|
114
|
+
let page = result.value || [];
|
|
115
|
+
continuationToken = result.nextLink;
|
|
116
|
+
setContinuationToken(page, continuationToken);
|
|
117
|
+
yield yield __await(page);
|
|
118
|
+
}
|
|
119
|
+
while (continuationToken) {
|
|
120
|
+
result = yield __await(this._listBySubscriptionIdNext(continuationToken, options));
|
|
121
|
+
continuationToken = result.nextLink;
|
|
122
|
+
let page = result.value || [];
|
|
123
|
+
setContinuationToken(page, continuationToken);
|
|
124
|
+
yield yield __await(page);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
listBySubscriptionIdPagingAll(options) {
|
|
129
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
|
|
130
|
+
var _a, e_2, _b, _c;
|
|
131
|
+
try {
|
|
132
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
|
+
_c = _f.value;
|
|
134
|
+
_d = false;
|
|
135
|
+
const page = _c;
|
|
136
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
140
|
+
finally {
|
|
141
|
+
try {
|
|
142
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
143
|
+
}
|
|
144
|
+
finally { if (e_2) throw e_2.error; }
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Create or update a web service. This call will overwrite an existing web service. Note that there is
|
|
150
|
+
* no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
|
|
151
|
+
* web service, call the Get operation first to verify that it does not exist.
|
|
152
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
153
|
+
* @param webServiceName The name of the web service.
|
|
154
|
+
* @param createOrUpdatePayload The payload that is used to create or update the web service.
|
|
155
|
+
* @param options The options parameters.
|
|
156
|
+
*/
|
|
157
|
+
async beginCreateOrUpdate(resourceGroupName, webServiceName, createOrUpdatePayload, options) {
|
|
158
|
+
const directSendOperation = async (args, spec) => {
|
|
159
|
+
return this.client.sendOperationRequest(args, spec);
|
|
160
|
+
};
|
|
161
|
+
const sendOperation = async (args, spec) => {
|
|
162
|
+
var _a;
|
|
163
|
+
let currentRawResponse = undefined;
|
|
164
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
165
|
+
const callback = (rawResponse, flatResponse) => {
|
|
166
|
+
currentRawResponse = rawResponse;
|
|
167
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
168
|
+
};
|
|
169
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
170
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
171
|
+
return {
|
|
172
|
+
flatResponse,
|
|
173
|
+
rawResponse: {
|
|
174
|
+
statusCode: currentRawResponse.status,
|
|
175
|
+
body: currentRawResponse.parsedBody,
|
|
176
|
+
headers: currentRawResponse.headers.toJSON()
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, createOrUpdatePayload, options }, createOrUpdateOperationSpec);
|
|
181
|
+
const poller = new LroEngine(lro, {
|
|
182
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
183
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
184
|
+
});
|
|
185
|
+
await poller.poll();
|
|
186
|
+
return poller;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Create or update a web service. This call will overwrite an existing web service. Note that there is
|
|
190
|
+
* no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
|
|
191
|
+
* web service, call the Get operation first to verify that it does not exist.
|
|
192
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
193
|
+
* @param webServiceName The name of the web service.
|
|
194
|
+
* @param createOrUpdatePayload The payload that is used to create or update the web service.
|
|
195
|
+
* @param options The options parameters.
|
|
196
|
+
*/
|
|
197
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, webServiceName, createOrUpdatePayload, options) {
|
|
198
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, webServiceName, createOrUpdatePayload, options);
|
|
199
|
+
return poller.pollUntilDone();
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that
|
|
203
|
+
* the storage credentials and web service keys are not returned by this call. To get the web service
|
|
204
|
+
* access keys, call List Keys.
|
|
205
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
206
|
+
* @param webServiceName The name of the web service.
|
|
207
|
+
* @param options The options parameters.
|
|
208
|
+
*/
|
|
209
|
+
get(resourceGroupName, webServiceName, options) {
|
|
210
|
+
return this.client.sendOperationRequest({ resourceGroupName, webServiceName, options }, getOperationSpec);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
|
|
214
|
+
* determine whether it has completed successfully, you must perform a Get operation.
|
|
215
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
216
|
+
* @param webServiceName The name of the web service.
|
|
217
|
+
* @param patchPayload The payload to use to patch the web service.
|
|
218
|
+
* @param options The options parameters.
|
|
219
|
+
*/
|
|
220
|
+
async beginPatch(resourceGroupName, webServiceName, patchPayload, options) {
|
|
221
|
+
const directSendOperation = async (args, spec) => {
|
|
222
|
+
return this.client.sendOperationRequest(args, spec);
|
|
223
|
+
};
|
|
224
|
+
const sendOperation = async (args, spec) => {
|
|
225
|
+
var _a;
|
|
226
|
+
let currentRawResponse = undefined;
|
|
227
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
228
|
+
const callback = (rawResponse, flatResponse) => {
|
|
229
|
+
currentRawResponse = rawResponse;
|
|
230
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
231
|
+
};
|
|
232
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
233
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
234
|
+
return {
|
|
235
|
+
flatResponse,
|
|
236
|
+
rawResponse: {
|
|
237
|
+
statusCode: currentRawResponse.status,
|
|
238
|
+
body: currentRawResponse.parsedBody,
|
|
239
|
+
headers: currentRawResponse.headers.toJSON()
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, patchPayload, options }, patchOperationSpec);
|
|
244
|
+
const poller = new LroEngine(lro, {
|
|
245
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
246
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
247
|
+
});
|
|
248
|
+
await poller.poll();
|
|
249
|
+
return poller;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
|
|
253
|
+
* determine whether it has completed successfully, you must perform a Get operation.
|
|
254
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
255
|
+
* @param webServiceName The name of the web service.
|
|
256
|
+
* @param patchPayload The payload to use to patch the web service.
|
|
257
|
+
* @param options The options parameters.
|
|
258
|
+
*/
|
|
259
|
+
async beginPatchAndWait(resourceGroupName, webServiceName, patchPayload, options) {
|
|
260
|
+
const poller = await this.beginPatch(resourceGroupName, webServiceName, patchPayload, options);
|
|
261
|
+
return poller.pollUntilDone();
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Deletes the specified web service.
|
|
265
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
266
|
+
* @param webServiceName The name of the web service.
|
|
267
|
+
* @param options The options parameters.
|
|
268
|
+
*/
|
|
269
|
+
async beginRemove(resourceGroupName, webServiceName, options) {
|
|
270
|
+
const directSendOperation = async (args, spec) => {
|
|
271
|
+
return this.client.sendOperationRequest(args, spec);
|
|
272
|
+
};
|
|
273
|
+
const sendOperation = async (args, spec) => {
|
|
274
|
+
var _a;
|
|
275
|
+
let currentRawResponse = undefined;
|
|
276
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
277
|
+
const callback = (rawResponse, flatResponse) => {
|
|
278
|
+
currentRawResponse = rawResponse;
|
|
279
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
280
|
+
};
|
|
281
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
282
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
283
|
+
return {
|
|
284
|
+
flatResponse,
|
|
285
|
+
rawResponse: {
|
|
286
|
+
statusCode: currentRawResponse.status,
|
|
287
|
+
body: currentRawResponse.parsedBody,
|
|
288
|
+
headers: currentRawResponse.headers.toJSON()
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, options }, removeOperationSpec);
|
|
293
|
+
const poller = new LroEngine(lro, {
|
|
294
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
295
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
296
|
+
});
|
|
297
|
+
await poller.poll();
|
|
298
|
+
return poller;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Deletes the specified web service.
|
|
302
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
303
|
+
* @param webServiceName The name of the web service.
|
|
304
|
+
* @param options The options parameters.
|
|
305
|
+
*/
|
|
306
|
+
async beginRemoveAndWait(resourceGroupName, webServiceName, options) {
|
|
307
|
+
const poller = await this.beginRemove(resourceGroupName, webServiceName, options);
|
|
308
|
+
return poller.pollUntilDone();
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Creates an encrypted credentials parameter blob for the specified region. To get the web service
|
|
312
|
+
* from a region other than the region in which it has been created, you must first call Create
|
|
313
|
+
* Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
|
|
314
|
+
* region. You only need to do this before the first time that you get the web service in the new
|
|
315
|
+
* region.
|
|
316
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
317
|
+
* @param webServiceName The name of the web service.
|
|
318
|
+
* @param region The region for which encrypted credential parameters are created.
|
|
319
|
+
* @param options The options parameters.
|
|
320
|
+
*/
|
|
321
|
+
async beginCreateRegionalProperties(resourceGroupName, webServiceName, region, options) {
|
|
322
|
+
const directSendOperation = async (args, spec) => {
|
|
323
|
+
return this.client.sendOperationRequest(args, spec);
|
|
324
|
+
};
|
|
325
|
+
const sendOperation = async (args, spec) => {
|
|
326
|
+
var _a;
|
|
327
|
+
let currentRawResponse = undefined;
|
|
328
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
329
|
+
const callback = (rawResponse, flatResponse) => {
|
|
330
|
+
currentRawResponse = rawResponse;
|
|
331
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
332
|
+
};
|
|
333
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
334
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
335
|
+
return {
|
|
336
|
+
flatResponse,
|
|
337
|
+
rawResponse: {
|
|
338
|
+
statusCode: currentRawResponse.status,
|
|
339
|
+
body: currentRawResponse.parsedBody,
|
|
340
|
+
headers: currentRawResponse.headers.toJSON()
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, region, options }, createRegionalPropertiesOperationSpec);
|
|
345
|
+
const poller = new LroEngine(lro, {
|
|
346
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
347
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
348
|
+
});
|
|
349
|
+
await poller.poll();
|
|
350
|
+
return poller;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Creates an encrypted credentials parameter blob for the specified region. To get the web service
|
|
354
|
+
* from a region other than the region in which it has been created, you must first call Create
|
|
355
|
+
* Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
|
|
356
|
+
* region. You only need to do this before the first time that you get the web service in the new
|
|
357
|
+
* region.
|
|
358
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
359
|
+
* @param webServiceName The name of the web service.
|
|
360
|
+
* @param region The region for which encrypted credential parameters are created.
|
|
361
|
+
* @param options The options parameters.
|
|
362
|
+
*/
|
|
363
|
+
async beginCreateRegionalPropertiesAndWait(resourceGroupName, webServiceName, region, options) {
|
|
364
|
+
const poller = await this.beginCreateRegionalProperties(resourceGroupName, webServiceName, region, options);
|
|
365
|
+
return poller.pollUntilDone();
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Gets the access keys for the specified web service.
|
|
369
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
370
|
+
* @param webServiceName The name of the web service.
|
|
371
|
+
* @param options The options parameters.
|
|
372
|
+
*/
|
|
373
|
+
listKeys(resourceGroupName, webServiceName, options) {
|
|
374
|
+
return this.client.sendOperationRequest({ resourceGroupName, webServiceName, options }, listKeysOperationSpec);
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Gets the web services in the specified resource group.
|
|
378
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
379
|
+
* @param options The options parameters.
|
|
380
|
+
*/
|
|
381
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
382
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Gets the web services in the specified subscription.
|
|
386
|
+
* @param options The options parameters.
|
|
387
|
+
*/
|
|
388
|
+
_listBySubscriptionId(options) {
|
|
389
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* ListByResourceGroupNext
|
|
393
|
+
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
394
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
395
|
+
* @param options The options parameters.
|
|
396
|
+
*/
|
|
397
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
398
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* ListBySubscriptionIdNext
|
|
402
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
|
403
|
+
* @param options The options parameters.
|
|
404
|
+
*/
|
|
405
|
+
_listBySubscriptionIdNext(nextLink, options) {
|
|
406
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
// Operation Specifications
|
|
410
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
411
|
+
const createOrUpdateOperationSpec = {
|
|
412
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
413
|
+
httpMethod: "PUT",
|
|
414
|
+
responses: {
|
|
415
|
+
200: {
|
|
416
|
+
bodyMapper: Mappers.WebService
|
|
417
|
+
},
|
|
418
|
+
201: {
|
|
419
|
+
bodyMapper: Mappers.WebService
|
|
420
|
+
},
|
|
421
|
+
202: {
|
|
422
|
+
bodyMapper: Mappers.WebService
|
|
423
|
+
},
|
|
424
|
+
204: {
|
|
425
|
+
bodyMapper: Mappers.WebService
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
requestBody: Parameters.createOrUpdatePayload,
|
|
429
|
+
queryParameters: [Parameters.apiVersion],
|
|
430
|
+
urlParameters: [
|
|
431
|
+
Parameters.$host,
|
|
432
|
+
Parameters.resourceGroupName,
|
|
433
|
+
Parameters.webServiceName,
|
|
434
|
+
Parameters.subscriptionId
|
|
435
|
+
],
|
|
436
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
437
|
+
mediaType: "json",
|
|
438
|
+
serializer
|
|
439
|
+
};
|
|
440
|
+
const getOperationSpec = {
|
|
441
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
442
|
+
httpMethod: "GET",
|
|
443
|
+
responses: {
|
|
444
|
+
200: {
|
|
445
|
+
bodyMapper: Mappers.WebService
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
queryParameters: [Parameters.apiVersion, Parameters.region],
|
|
449
|
+
urlParameters: [
|
|
450
|
+
Parameters.$host,
|
|
451
|
+
Parameters.resourceGroupName,
|
|
452
|
+
Parameters.webServiceName,
|
|
453
|
+
Parameters.subscriptionId
|
|
454
|
+
],
|
|
455
|
+
headerParameters: [Parameters.accept],
|
|
456
|
+
serializer
|
|
457
|
+
};
|
|
458
|
+
const patchOperationSpec = {
|
|
459
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
460
|
+
httpMethod: "PATCH",
|
|
461
|
+
responses: {
|
|
462
|
+
200: {
|
|
463
|
+
bodyMapper: Mappers.WebService
|
|
464
|
+
},
|
|
465
|
+
201: {
|
|
466
|
+
bodyMapper: Mappers.WebService
|
|
467
|
+
},
|
|
468
|
+
202: {
|
|
469
|
+
bodyMapper: Mappers.WebService
|
|
470
|
+
},
|
|
471
|
+
204: {
|
|
472
|
+
bodyMapper: Mappers.WebService
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
requestBody: Parameters.patchPayload,
|
|
476
|
+
queryParameters: [Parameters.apiVersion],
|
|
477
|
+
urlParameters: [
|
|
478
|
+
Parameters.$host,
|
|
479
|
+
Parameters.resourceGroupName,
|
|
480
|
+
Parameters.webServiceName,
|
|
481
|
+
Parameters.subscriptionId
|
|
482
|
+
],
|
|
483
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
484
|
+
mediaType: "json",
|
|
485
|
+
serializer
|
|
486
|
+
};
|
|
487
|
+
const removeOperationSpec = {
|
|
488
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
489
|
+
httpMethod: "DELETE",
|
|
490
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
491
|
+
queryParameters: [Parameters.apiVersion],
|
|
492
|
+
urlParameters: [
|
|
493
|
+
Parameters.$host,
|
|
494
|
+
Parameters.resourceGroupName,
|
|
495
|
+
Parameters.webServiceName,
|
|
496
|
+
Parameters.subscriptionId
|
|
497
|
+
],
|
|
498
|
+
serializer
|
|
499
|
+
};
|
|
500
|
+
const createRegionalPropertiesOperationSpec = {
|
|
501
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob",
|
|
502
|
+
httpMethod: "POST",
|
|
503
|
+
responses: {
|
|
504
|
+
200: {
|
|
505
|
+
bodyMapper: Mappers.AsyncOperationStatus
|
|
506
|
+
},
|
|
507
|
+
201: {
|
|
508
|
+
bodyMapper: Mappers.AsyncOperationStatus
|
|
509
|
+
},
|
|
510
|
+
202: {
|
|
511
|
+
bodyMapper: Mappers.AsyncOperationStatus
|
|
512
|
+
},
|
|
513
|
+
204: {
|
|
514
|
+
bodyMapper: Mappers.AsyncOperationStatus
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
queryParameters: [Parameters.apiVersion, Parameters.region1],
|
|
518
|
+
urlParameters: [
|
|
519
|
+
Parameters.$host,
|
|
520
|
+
Parameters.resourceGroupName,
|
|
521
|
+
Parameters.webServiceName,
|
|
522
|
+
Parameters.subscriptionId
|
|
523
|
+
],
|
|
524
|
+
headerParameters: [Parameters.accept],
|
|
525
|
+
serializer
|
|
526
|
+
};
|
|
527
|
+
const listKeysOperationSpec = {
|
|
528
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/listKeys",
|
|
529
|
+
httpMethod: "GET",
|
|
530
|
+
responses: {
|
|
531
|
+
200: {
|
|
532
|
+
bodyMapper: Mappers.WebServiceKeys
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
queryParameters: [Parameters.apiVersion],
|
|
536
|
+
urlParameters: [
|
|
537
|
+
Parameters.$host,
|
|
538
|
+
Parameters.resourceGroupName,
|
|
539
|
+
Parameters.webServiceName,
|
|
540
|
+
Parameters.subscriptionId
|
|
541
|
+
],
|
|
542
|
+
headerParameters: [Parameters.accept],
|
|
543
|
+
serializer
|
|
544
|
+
};
|
|
545
|
+
const listByResourceGroupOperationSpec = {
|
|
546
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices",
|
|
547
|
+
httpMethod: "GET",
|
|
548
|
+
responses: {
|
|
549
|
+
200: {
|
|
550
|
+
bodyMapper: Mappers.PaginatedWebServicesList
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
554
|
+
urlParameters: [
|
|
555
|
+
Parameters.$host,
|
|
556
|
+
Parameters.resourceGroupName,
|
|
557
|
+
Parameters.subscriptionId
|
|
558
|
+
],
|
|
559
|
+
headerParameters: [Parameters.accept],
|
|
560
|
+
serializer
|
|
561
|
+
};
|
|
562
|
+
const listBySubscriptionIdOperationSpec = {
|
|
563
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/webServices",
|
|
564
|
+
httpMethod: "GET",
|
|
565
|
+
responses: {
|
|
566
|
+
200: {
|
|
567
|
+
bodyMapper: Mappers.PaginatedWebServicesList
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
571
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
572
|
+
headerParameters: [Parameters.accept],
|
|
573
|
+
serializer
|
|
574
|
+
};
|
|
575
|
+
const listByResourceGroupNextOperationSpec = {
|
|
576
|
+
path: "{nextLink}",
|
|
577
|
+
httpMethod: "GET",
|
|
578
|
+
responses: {
|
|
579
|
+
200: {
|
|
580
|
+
bodyMapper: Mappers.PaginatedWebServicesList
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
584
|
+
urlParameters: [
|
|
585
|
+
Parameters.$host,
|
|
586
|
+
Parameters.resourceGroupName,
|
|
587
|
+
Parameters.subscriptionId,
|
|
588
|
+
Parameters.nextLink
|
|
589
|
+
],
|
|
590
|
+
headerParameters: [Parameters.accept],
|
|
591
|
+
serializer
|
|
592
|
+
};
|
|
593
|
+
const listBySubscriptionIdNextOperationSpec = {
|
|
594
|
+
path: "{nextLink}",
|
|
595
|
+
httpMethod: "GET",
|
|
596
|
+
responses: {
|
|
597
|
+
200: {
|
|
598
|
+
bodyMapper: Mappers.PaginatedWebServicesList
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
602
|
+
urlParameters: [
|
|
603
|
+
Parameters.$host,
|
|
604
|
+
Parameters.subscriptionId,
|
|
605
|
+
Parameters.nextLink
|
|
606
|
+
],
|
|
607
|
+
headerParameters: [Parameters.accept],
|
|
608
|
+
serializer
|
|
609
|
+
};
|
|
610
|
+
//# sourceMappingURL=webServices.js.map
|