@azure/arm-springappdiscovery 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250721.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/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +64 -27
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/errorSummaries.js +23 -40
- package/dist/browser/operations/errorSummaries.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/springbootapps.js +56 -85
- package/dist/browser/operations/springbootapps.js.map +1 -1
- package/dist/browser/operations/springbootservers.js +67 -91
- package/dist/browser/operations/springbootservers.js.map +1 -1
- package/dist/browser/operations/springbootsites.js +78 -97
- package/dist/browser/operations/springbootsites.js.map +1 -1
- package/dist/browser/operations/summaries.js +23 -40
- package/dist/browser/operations/summaries.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/springAppDiscoveryManagementClient.js +19 -5
- package/dist/browser/springAppDiscoveryManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +64 -27
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/errorSummaries.js +23 -39
- package/dist/commonjs/operations/errorSummaries.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/springbootapps.js +56 -84
- package/dist/commonjs/operations/springbootapps.js.map +1 -1
- package/dist/commonjs/operations/springbootservers.js +67 -90
- package/dist/commonjs/operations/springbootservers.js.map +1 -1
- package/dist/commonjs/operations/springbootsites.js +78 -96
- package/dist/commonjs/operations/springbootsites.js.map +1 -1
- package/dist/commonjs/operations/summaries.js +23 -39
- package/dist/commonjs/operations/summaries.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/springAppDiscoveryManagementClient.js +19 -5
- package/dist/commonjs/springAppDiscoveryManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +64 -27
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/errorSummaries.js +23 -40
- package/dist/esm/operations/errorSummaries.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/springbootapps.js +56 -85
- package/dist/esm/operations/springbootapps.js.map +1 -1
- package/dist/esm/operations/springbootservers.js +67 -91
- package/dist/esm/operations/springbootservers.js.map +1 -1
- package/dist/esm/operations/springbootsites.js +78 -97
- package/dist/esm/operations/springbootsites.js.map +1 -1
- package/dist/esm/operations/summaries.js +23 -40
- package/dist/esm/operations/summaries.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/springAppDiscoveryManagementClient.js +19 -5
- package/dist/esm/springAppDiscoveryManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +64 -27
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/errorSummaries.js +23 -40
- package/dist/react-native/operations/errorSummaries.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/springbootapps.js +56 -85
- package/dist/react-native/operations/springbootapps.js.map +1 -1
- package/dist/react-native/operations/springbootservers.js +67 -91
- package/dist/react-native/operations/springbootservers.js.map +1 -1
- package/dist/react-native/operations/springbootsites.js +78 -97
- package/dist/react-native/operations/springbootsites.js.map +1 -1
- package/dist/react-native/operations/summaries.js +23 -40
- package/dist/react-native/operations/summaries.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/springAppDiscoveryManagementClient.js +19 -5
- package/dist/react-native/springAppDiscoveryManagementClient.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-springappdiscovery.api.md → arm-springappdiscovery-node.api.md} +0 -0
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing Summaries operations. */
|
|
18
18
|
class SummariesImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class Summaries class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class SummariesImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listBySitePagingPage(resourceGroupName, siteName, options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listBySitePagingPage(resourceGroupName, siteName, options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listBySitePagingPage(resourceGroupName, siteName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listBySite(resourceGroupName, siteName, options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listBySiteNext(resourceGroupName, siteName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listBySitePagingAll(resourceGroupName, siteName, options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySitePagingPage(resourceGroupName, siteName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listBySitePagingAll(resourceGroupName, siteName, options) {
|
|
69
|
+
for await (const page of this.listBySitePagingPage(resourceGroupName, siteName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* Gets the Summaries resource.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summaries.js","sourceRoot":"","s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C,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Summaries } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SpringAppDiscoveryManagementClient } from \"../springAppDiscoveryManagementClient.js\";\nimport {\n Summary,\n SummariesListBySiteNextOptionalParams,\n SummariesListBySiteOptionalParams,\n SummariesListBySiteResponse,\n SummariesGetOptionalParams,\n SummariesGetResponse,\n SummariesListBySiteNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Summaries operations. */\nexport class SummariesImpl implements Summaries {\n private readonly client: SpringAppDiscoveryManagementClient;\n\n /**\n * Initialize a new instance of the class Summaries class.\n * @param client Reference to the service client\n */\n constructor(client: SpringAppDiscoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the Summaries resource in springbootsites.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param options The options parameters.\n */\n public listBySite(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): PagedAsyncIterableIterator<Summary> {\n const iter = this.listBySitePagingAll(resourceGroupName, siteName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySitePagingPage(\n resourceGroupName,\n siteName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listBySitePagingPage(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Summary[]> {\n let result: SummariesListBySiteResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySite(resourceGroupName, siteName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySiteNext(\n resourceGroupName,\n siteName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySitePagingAll(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): AsyncIterableIterator<Summary> {\n for await (const page of this.listBySitePagingPage(\n resourceGroupName,\n siteName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the Summaries resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param summaryName The name of summary\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n siteName: string,\n summaryName: string,\n options?: SummariesGetOptionalParams,\n ): Promise<SummariesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, summaryName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the Summaries resource in springbootsites.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param options The options parameters.\n */\n private _listBySite(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): Promise<SummariesListBySiteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, options },\n listBySiteOperationSpec,\n );\n }\n\n /**\n * ListBySiteNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param nextLink The nextLink from the previous successful call to the ListBySite method.\n * @param options The options parameters.\n */\n private _listBySiteNext(\n resourceGroupName: string,\n siteName: string,\n nextLink: string,\n options?: SummariesListBySiteNextOptionalParams,\n ): Promise<SummariesListBySiteNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, nextLink, options },\n listBySiteNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries/{summaryName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Summary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.siteName,\n Parameters.summaryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySiteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SummaryList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.siteName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySiteNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SummaryList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.siteName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"summaries.js","sourceRoot":"","sources":["../../../src/operations/summaries.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAYtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAAqC;IAE5D;;;OAGG;IACH,YAAY,MAA0C;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,UAAU,CACf,iBAAyB,EACzB,QAAgB,EAChB,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC5E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,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QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,gJAAgJ;IACtJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Summaries } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SpringAppDiscoveryManagementClient } from \"../springAppDiscoveryManagementClient.js\";\nimport {\n Summary,\n SummariesListBySiteNextOptionalParams,\n SummariesListBySiteOptionalParams,\n SummariesListBySiteResponse,\n SummariesGetOptionalParams,\n SummariesGetResponse,\n SummariesListBySiteNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Summaries operations. */\nexport class SummariesImpl implements Summaries {\n private readonly client: SpringAppDiscoveryManagementClient;\n\n /**\n * Initialize a new instance of the class Summaries class.\n * @param client Reference to the service client\n */\n constructor(client: SpringAppDiscoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the Summaries resource in springbootsites.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param options The options parameters.\n */\n public listBySite(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): PagedAsyncIterableIterator<Summary> {\n const iter = this.listBySitePagingAll(resourceGroupName, siteName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySitePagingPage(\n resourceGroupName,\n siteName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listBySitePagingPage(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Summary[]> {\n let result: SummariesListBySiteResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySite(resourceGroupName, siteName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySiteNext(\n resourceGroupName,\n siteName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySitePagingAll(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): AsyncIterableIterator<Summary> {\n for await (const page of this.listBySitePagingPage(\n resourceGroupName,\n siteName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the Summaries resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param summaryName The name of summary\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n siteName: string,\n summaryName: string,\n options?: SummariesGetOptionalParams,\n ): Promise<SummariesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, summaryName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the Summaries resource in springbootsites.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param options The options parameters.\n */\n private _listBySite(\n resourceGroupName: string,\n siteName: string,\n options?: SummariesListBySiteOptionalParams,\n ): Promise<SummariesListBySiteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, options },\n listBySiteOperationSpec,\n );\n }\n\n /**\n * ListBySiteNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param siteName The springbootsites name.\n * @param nextLink The nextLink from the previous successful call to the ListBySite method.\n * @param options The options parameters.\n */\n private _listBySiteNext(\n resourceGroupName: string,\n siteName: string,\n nextLink: string,\n options?: SummariesListBySiteNextOptionalParams,\n ): Promise<SummariesListBySiteNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, siteName, nextLink, options },\n listBySiteNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries/{summaryName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Summary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.siteName,\n Parameters.summaryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySiteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SummaryList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.siteName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySiteNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SummaryList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.siteName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -18,18 +18,16 @@ const pageMap = new WeakMap();
|
|
|
18
18
|
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
19
19
|
*/
|
|
20
20
|
function getContinuationToken(page) {
|
|
21
|
-
var _a;
|
|
22
21
|
if (typeof page !== "object" || page === null) {
|
|
23
22
|
return undefined;
|
|
24
23
|
}
|
|
25
|
-
return
|
|
24
|
+
return pageMap.get(page)?.continuationToken;
|
|
26
25
|
}
|
|
27
26
|
function setContinuationToken(page, continuationToken) {
|
|
28
|
-
var _a;
|
|
29
27
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
30
28
|
return;
|
|
31
29
|
}
|
|
32
|
-
const pageInfo =
|
|
30
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
33
31
|
pageInfo.continuationToken = continuationToken;
|
|
34
32
|
pageMap.set(page, pageInfo);
|
|
35
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -13,6 +13,9 @@ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
|
13
13
|
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
14
|
const index_js_1 = require("./operations/index.js");
|
|
15
15
|
class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
|
|
16
|
+
$host;
|
|
17
|
+
subscriptionId;
|
|
18
|
+
apiVersion;
|
|
16
19
|
/**
|
|
17
20
|
* Initializes a new instance of the SpringAppDiscoveryManagementClient class.
|
|
18
21
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -20,7 +23,6 @@ class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
|
|
|
20
23
|
* @param options The parameter options
|
|
21
24
|
*/
|
|
22
25
|
constructor(credentials, subscriptionId, options) {
|
|
23
|
-
var _a, _b, _c;
|
|
24
26
|
if (credentials === undefined) {
|
|
25
27
|
throw new Error("'credentials' cannot be null");
|
|
26
28
|
}
|
|
@@ -39,12 +41,17 @@ class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
|
|
|
39
41
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
42
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
43
|
: `${packageDetails}`;
|
|
42
|
-
const optionsWithDefaults =
|
|
44
|
+
const optionsWithDefaults = {
|
|
45
|
+
...defaults,
|
|
46
|
+
...options,
|
|
47
|
+
userAgentOptions: {
|
|
43
48
|
userAgentPrefix,
|
|
44
|
-
},
|
|
49
|
+
},
|
|
50
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
51
|
+
};
|
|
45
52
|
super(optionsWithDefaults);
|
|
46
53
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
47
|
-
if (
|
|
54
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
48
55
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
49
56
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
50
57
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -58,7 +65,8 @@ class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
|
|
|
58
65
|
});
|
|
59
66
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
67
|
credential: credentials,
|
|
61
|
-
scopes:
|
|
68
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
69
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
62
70
|
challengeCallbacks: {
|
|
63
71
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
64
72
|
},
|
|
@@ -102,6 +110,12 @@ class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
|
|
|
102
110
|
};
|
|
103
111
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
104
112
|
}
|
|
113
|
+
springbootsites;
|
|
114
|
+
operations;
|
|
115
|
+
springbootservers;
|
|
116
|
+
springbootapps;
|
|
117
|
+
summaries;
|
|
118
|
+
errorSummaries;
|
|
105
119
|
}
|
|
106
120
|
exports.SpringAppDiscoveryManagementClient = SpringAppDiscoveryManagementClient;
|
|
107
121
|
//# sourceMappingURL=springAppDiscoveryManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"springAppDiscoveryManagementClient.js","sourceRoot":"","sources":["../../src/springAppDiscoveryManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAO+B;AAW/B,MAAa,kCAAmC,SAAQ,UAAU,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"springAppDiscoveryManagementClient.js","sourceRoot":"","sources":["../../src/springAppDiscoveryManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAO+B;AAW/B,MAAa,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAC9E,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA0D;QAE1D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAqD;YACjE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF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AAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe,CAAkB;IACjC,UAAU,CAAa;IACvB,iBAAiB,CAAoB;IACrC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,cAAc,CAAiB;CAChC;AAlID,gFAkIC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SpringbootsitesImpl,\n OperationsImpl,\n SpringbootserversImpl,\n SpringbootappsImpl,\n SummariesImpl,\n ErrorSummariesImpl,\n} from \"./operations/index.js\";\nimport {\n Springbootsites,\n Operations,\n Springbootservers,\n Springbootapps,\n Summaries,\n ErrorSummaries,\n} from \"./operationsInterfaces/index.js\";\nimport { SpringAppDiscoveryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SpringAppDiscoveryManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SpringAppDiscoveryManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SpringAppDiscoveryManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-springappdiscovery/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-01-preview\";\n this.springbootsites = new SpringbootsitesImpl(this);\n this.operations = new OperationsImpl(this);\n this.springbootservers = new SpringbootserversImpl(this);\n this.springbootapps = new SpringbootappsImpl(this);\n this.summaries = new SummariesImpl(this);\n this.errorSummaries = new ErrorSummariesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n springbootsites: Springbootsites;\n operations: Operations;\n springbootservers: Springbootservers;\n springbootapps: Springbootapps;\n summaries: Summaries;\n errorSummaries: ErrorSummaries;\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.52.8"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.8"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
package/dist/esm/lroImpl.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
1
|
export function createLroSpec(inputs) {
|
|
3
2
|
const { args, spec, sendOperationFn } = inputs;
|
|
4
3
|
return {
|
|
@@ -6,8 +5,13 @@ export function createLroSpec(inputs) {
|
|
|
6
5
|
requestPath: spec.path,
|
|
7
6
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
8
7
|
sendPollRequest: (path, options) => {
|
|
9
|
-
const { requestBody
|
|
10
|
-
return sendOperationFn(args,
|
|
8
|
+
const { requestBody, ...restSpec } = spec;
|
|
9
|
+
return sendOperationFn(args, {
|
|
10
|
+
...restSpec,
|
|
11
|
+
httpMethod: "GET",
|
|
12
|
+
path,
|
|
13
|
+
abortSignal: options?.abortSignal,
|
|
14
|
+
});
|
|
11
15
|
},
|
|
12
16
|
};
|
|
13
17
|
}
|
package/dist/esm/lroImpl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
|
@@ -1049,172 +1049,209 @@ export const TrackedResource = {
|
|
|
1049
1049
|
type: {
|
|
1050
1050
|
name: "Composite",
|
|
1051
1051
|
className: "TrackedResource",
|
|
1052
|
-
modelProperties:
|
|
1052
|
+
modelProperties: {
|
|
1053
|
+
...Resource.type.modelProperties,
|
|
1054
|
+
tags: {
|
|
1053
1055
|
serializedName: "tags",
|
|
1054
1056
|
type: {
|
|
1055
1057
|
name: "Dictionary",
|
|
1056
1058
|
value: { type: { name: "String" } },
|
|
1057
1059
|
},
|
|
1058
|
-
},
|
|
1060
|
+
},
|
|
1061
|
+
location: {
|
|
1059
1062
|
serializedName: "location",
|
|
1060
1063
|
required: true,
|
|
1061
1064
|
type: {
|
|
1062
1065
|
name: "String",
|
|
1063
1066
|
},
|
|
1064
|
-
}
|
|
1067
|
+
},
|
|
1068
|
+
},
|
|
1065
1069
|
},
|
|
1066
1070
|
};
|
|
1067
1071
|
export const ProxyResource = {
|
|
1068
1072
|
type: {
|
|
1069
1073
|
name: "Composite",
|
|
1070
1074
|
className: "ProxyResource",
|
|
1071
|
-
modelProperties:
|
|
1075
|
+
modelProperties: {
|
|
1076
|
+
...Resource.type.modelProperties,
|
|
1077
|
+
},
|
|
1072
1078
|
},
|
|
1073
1079
|
};
|
|
1074
1080
|
export const SpringbootsitesModel = {
|
|
1075
1081
|
type: {
|
|
1076
1082
|
name: "Composite",
|
|
1077
1083
|
className: "SpringbootsitesModel",
|
|
1078
|
-
modelProperties:
|
|
1084
|
+
modelProperties: {
|
|
1085
|
+
...TrackedResource.type.modelProperties,
|
|
1086
|
+
properties: {
|
|
1079
1087
|
serializedName: "properties",
|
|
1080
1088
|
type: {
|
|
1081
1089
|
name: "Composite",
|
|
1082
1090
|
className: "SpringbootsitesProperties",
|
|
1083
1091
|
},
|
|
1084
|
-
},
|
|
1092
|
+
},
|
|
1093
|
+
extendedLocation: {
|
|
1085
1094
|
serializedName: "extendedLocation",
|
|
1086
1095
|
type: {
|
|
1087
1096
|
name: "Composite",
|
|
1088
1097
|
className: "SpringbootsitesModelExtendedLocation",
|
|
1089
1098
|
},
|
|
1090
|
-
}
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1091
1101
|
},
|
|
1092
1102
|
};
|
|
1093
1103
|
export const SpringbootsitesPatch = {
|
|
1094
1104
|
type: {
|
|
1095
1105
|
name: "Composite",
|
|
1096
1106
|
className: "SpringbootsitesPatch",
|
|
1097
|
-
modelProperties:
|
|
1107
|
+
modelProperties: {
|
|
1108
|
+
...TrackedResource.type.modelProperties,
|
|
1109
|
+
properties: {
|
|
1098
1110
|
serializedName: "properties",
|
|
1099
1111
|
type: {
|
|
1100
1112
|
name: "Composite",
|
|
1101
1113
|
className: "SpringbootsitesProperties",
|
|
1102
1114
|
},
|
|
1103
|
-
}
|
|
1115
|
+
},
|
|
1116
|
+
},
|
|
1104
1117
|
},
|
|
1105
1118
|
};
|
|
1106
1119
|
export const SpringbootserversModel = {
|
|
1107
1120
|
type: {
|
|
1108
1121
|
name: "Composite",
|
|
1109
1122
|
className: "SpringbootserversModel",
|
|
1110
|
-
modelProperties:
|
|
1123
|
+
modelProperties: {
|
|
1124
|
+
...ProxyResource.type.modelProperties,
|
|
1125
|
+
tags: {
|
|
1111
1126
|
serializedName: "tags",
|
|
1112
1127
|
type: {
|
|
1113
1128
|
name: "Dictionary",
|
|
1114
1129
|
value: { type: { name: "String" } },
|
|
1115
1130
|
},
|
|
1116
|
-
},
|
|
1131
|
+
},
|
|
1132
|
+
properties: {
|
|
1117
1133
|
serializedName: "properties",
|
|
1118
1134
|
type: {
|
|
1119
1135
|
name: "Composite",
|
|
1120
1136
|
className: "SpringbootserversProperties",
|
|
1121
1137
|
},
|
|
1122
|
-
}
|
|
1138
|
+
},
|
|
1139
|
+
},
|
|
1123
1140
|
},
|
|
1124
1141
|
};
|
|
1125
1142
|
export const SpringbootserversPatch = {
|
|
1126
1143
|
type: {
|
|
1127
1144
|
name: "Composite",
|
|
1128
1145
|
className: "SpringbootserversPatch",
|
|
1129
|
-
modelProperties:
|
|
1146
|
+
modelProperties: {
|
|
1147
|
+
...ProxyResource.type.modelProperties,
|
|
1148
|
+
tags: {
|
|
1130
1149
|
serializedName: "tags",
|
|
1131
1150
|
type: {
|
|
1132
1151
|
name: "Dictionary",
|
|
1133
1152
|
value: { type: { name: "String" } },
|
|
1134
1153
|
},
|
|
1135
|
-
},
|
|
1154
|
+
},
|
|
1155
|
+
properties: {
|
|
1136
1156
|
serializedName: "properties",
|
|
1137
1157
|
type: {
|
|
1138
1158
|
name: "Composite",
|
|
1139
1159
|
className: "SpringbootserversProperties",
|
|
1140
1160
|
},
|
|
1141
|
-
}
|
|
1161
|
+
},
|
|
1162
|
+
},
|
|
1142
1163
|
},
|
|
1143
1164
|
};
|
|
1144
1165
|
export const SpringbootappsModel = {
|
|
1145
1166
|
type: {
|
|
1146
1167
|
name: "Composite",
|
|
1147
1168
|
className: "SpringbootappsModel",
|
|
1148
|
-
modelProperties:
|
|
1169
|
+
modelProperties: {
|
|
1170
|
+
...ProxyResource.type.modelProperties,
|
|
1171
|
+
properties: {
|
|
1149
1172
|
serializedName: "properties",
|
|
1150
1173
|
type: {
|
|
1151
1174
|
name: "Composite",
|
|
1152
1175
|
className: "SpringbootappsProperties",
|
|
1153
1176
|
},
|
|
1154
|
-
},
|
|
1177
|
+
},
|
|
1178
|
+
tags: {
|
|
1155
1179
|
serializedName: "tags",
|
|
1156
1180
|
type: {
|
|
1157
1181
|
name: "Dictionary",
|
|
1158
1182
|
value: { type: { name: "String" } },
|
|
1159
1183
|
},
|
|
1160
|
-
}
|
|
1184
|
+
},
|
|
1185
|
+
},
|
|
1161
1186
|
},
|
|
1162
1187
|
};
|
|
1163
1188
|
export const SpringbootappsPatch = {
|
|
1164
1189
|
type: {
|
|
1165
1190
|
name: "Composite",
|
|
1166
1191
|
className: "SpringbootappsPatch",
|
|
1167
|
-
modelProperties:
|
|
1192
|
+
modelProperties: {
|
|
1193
|
+
...ProxyResource.type.modelProperties,
|
|
1194
|
+
properties: {
|
|
1168
1195
|
serializedName: "properties",
|
|
1169
1196
|
type: {
|
|
1170
1197
|
name: "Composite",
|
|
1171
1198
|
className: "SpringbootappsProperties",
|
|
1172
1199
|
},
|
|
1173
|
-
},
|
|
1200
|
+
},
|
|
1201
|
+
tags: {
|
|
1174
1202
|
serializedName: "tags",
|
|
1175
1203
|
type: {
|
|
1176
1204
|
name: "Dictionary",
|
|
1177
1205
|
value: { type: { name: "String" } },
|
|
1178
1206
|
},
|
|
1179
|
-
}
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1180
1209
|
},
|
|
1181
1210
|
};
|
|
1182
1211
|
export const Summary = {
|
|
1183
1212
|
type: {
|
|
1184
1213
|
name: "Composite",
|
|
1185
1214
|
className: "Summary",
|
|
1186
|
-
modelProperties:
|
|
1215
|
+
modelProperties: {
|
|
1216
|
+
...ProxyResource.type.modelProperties,
|
|
1217
|
+
properties: {
|
|
1187
1218
|
serializedName: "properties",
|
|
1188
1219
|
type: {
|
|
1189
1220
|
name: "Composite",
|
|
1190
1221
|
className: "SummariesProperties",
|
|
1191
1222
|
},
|
|
1192
|
-
},
|
|
1223
|
+
},
|
|
1224
|
+
tags: {
|
|
1193
1225
|
serializedName: "tags",
|
|
1194
1226
|
type: {
|
|
1195
1227
|
name: "Dictionary",
|
|
1196
1228
|
value: { type: { name: "String" } },
|
|
1197
1229
|
},
|
|
1198
|
-
}
|
|
1230
|
+
},
|
|
1231
|
+
},
|
|
1199
1232
|
},
|
|
1200
1233
|
};
|
|
1201
1234
|
export const ErrorSummary = {
|
|
1202
1235
|
type: {
|
|
1203
1236
|
name: "Composite",
|
|
1204
1237
|
className: "ErrorSummary",
|
|
1205
|
-
modelProperties:
|
|
1238
|
+
modelProperties: {
|
|
1239
|
+
...ProxyResource.type.modelProperties,
|
|
1240
|
+
properties: {
|
|
1206
1241
|
serializedName: "properties",
|
|
1207
1242
|
type: {
|
|
1208
1243
|
name: "Composite",
|
|
1209
1244
|
className: "ErrorSummariesProperties",
|
|
1210
1245
|
},
|
|
1211
|
-
},
|
|
1246
|
+
},
|
|
1247
|
+
tags: {
|
|
1212
1248
|
serializedName: "tags",
|
|
1213
1249
|
type: {
|
|
1214
1250
|
name: "Dictionary",
|
|
1215
1251
|
value: { type: { name: "String" } },
|
|
1216
1252
|
},
|
|
1217
|
-
}
|
|
1253
|
+
},
|
|
1254
|
+
},
|
|
1218
1255
|
},
|
|
1219
1256
|
};
|
|
1220
1257
|
export const SpringbootsitesDeleteHeaders = {
|