@azure/arm-azurestack 2.1.1 → 3.0.0-beta.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/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +3000 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureStackManagementClient.d.ts +24 -0
- package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackManagementClient.js +57 -0
- package/dist-esm/src/azureStackManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +854 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +55 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +37 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +608 -394
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +163 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts +24 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.js +70 -0
- package/dist-esm/src/operations/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts +63 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.js +241 -0
- package/dist-esm/src/operations/customerSubscriptions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts +83 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.js +359 -0
- package/dist-esm/src/operations/linkedSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +78 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +303 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/registrations.d.ts +97 -0
- package/dist-esm/src/operations/registrations.d.ts.map +1 -0
- package/dist-esm/src/operations/registrations.js +416 -0
- package/dist-esm/src/operations/registrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/registrations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +43 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +63 -32
- package/review/arm-azurestack.api.md +695 -0
- package/rollup.config.js +181 -30
- package/src/azureStackManagementClient.ts +88 -43
- package/src/index.ts +12 -0
- package/src/models/index.ts +725 -836
- package/src/models/mappers.ts +623 -384
- package/src/models/parameters.ts +130 -32
- package/src/operations/cloudManifestFile.ts +93 -0
- package/src/operations/customerSubscriptions.ts +191 -206
- package/src/operations/index.ts +6 -6
- package/src/operations/linkedSubscriptions.ts +450 -0
- package/src/operations/operations.ts +89 -75
- package/src/operations/products.ts +240 -299
- package/src/operations/registrations.ts +347 -266
- package/src/operationsInterfaces/cloudManifestFile.ts +34 -0
- package/src/operationsInterfaces/customerSubscriptions.ts +75 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/linkedSubscriptions.ts +91 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/products.ts +104 -0
- package/src/operationsInterfaces/registrations.ts +116 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestack.d.ts +1206 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestack.js +0 -2153
- package/dist/arm-azurestack.js.map +0 -1
- package/dist/arm-azurestack.min.js +0 -1
- package/dist/arm-azurestack.min.js.map +0 -1
- package/esm/azureStackManagementClient.d.ts +0 -28
- package/esm/azureStackManagementClient.d.ts.map +0 -1
- package/esm/azureStackManagementClient.js +0 -42
- package/esm/azureStackManagementClient.js.map +0 -1
- package/esm/azureStackManagementClientContext.d.ts +0 -23
- package/esm/azureStackManagementClientContext.d.ts.map +0 -1
- package/esm/azureStackManagementClientContext.js +0 -62
- package/esm/azureStackManagementClientContext.js.map +0 -1
- package/esm/models/customerSubscriptionsMappers.d.ts +0 -2
- package/esm/models/customerSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/customerSubscriptionsMappers.js +0 -9
- package/esm/models/customerSubscriptionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1014
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -31
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -92
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -9
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/registrationsMappers.d.ts +0 -2
- package/esm/models/registrationsMappers.d.ts.map +0 -1
- package/esm/models/registrationsMappers.js +0 -9
- package/esm/models/registrationsMappers.js.map +0 -1
- package/esm/operations/customerSubscriptions.d.ts +0 -127
- package/esm/operations/customerSubscriptions.d.ts.map +0 -1
- package/esm/operations/customerSubscriptions.js +0 -188
- package/esm/operations/customerSubscriptions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/products.d.ts +0 -169
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -268
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/registrations.d.ts +0 -160
- package/esm/operations/registrations.d.ts.map +0 -1
- package/esm/operations/registrations.js +0 -250
- package/esm/operations/registrations.js.map +0 -1
- package/src/azureStackManagementClientContext.ts +0 -69
- package/src/models/customerSubscriptionsMappers.ts +0 -24
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/productsMappers.ts +0 -30
- package/src/models/registrationsMappers.ts +0 -26
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureStackManagementClientContext } from "../azureStackManagementClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureStackManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Returns the list of supported REST operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationList>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationList>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Returns the list of supported REST operations.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationList>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationList>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;IAClE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;IAUtG;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;IAC5F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;CAUjI"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
nextPageLink: nextPageLink,
|
|
30
|
-
options: options
|
|
31
|
-
}, listNextOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Operations;
|
|
34
|
-
}());
|
|
35
|
-
export { Operations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.AzureStack/operations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.OperationList
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.CloudError
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var listNextOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
baseUrl: "https://management.azure.com",
|
|
60
|
-
path: "{nextLink}",
|
|
61
|
-
urlParameters: [
|
|
62
|
-
Parameters.nextPageLink
|
|
63
|
-
],
|
|
64
|
-
headerParameters: [
|
|
65
|
-
Parameters.acceptLanguage
|
|
66
|
-
],
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
bodyMapper: Mappers.OperationList
|
|
70
|
-
},
|
|
71
|
-
default: {
|
|
72
|
-
bodyMapper: Mappers.CloudError
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
serializer: serializer
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAkF,EAAE,QAAuD;QAC9I,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAkF,EAAE,QAAuD;QACxK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,2CAA2C;IACjD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureStackManagementClientContext } from "../azureStackManagementClientContext";
|
|
4
|
-
/** Class representing a Products. */
|
|
5
|
-
export declare class Products {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Products.
|
|
9
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureStackManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Returns a list of products.
|
|
14
|
-
* @param resourceGroup Name of the resource group.
|
|
15
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
16
|
-
* @param [options] The optional parameters
|
|
17
|
-
* @returns Promise<Models.ProductsListResponse>
|
|
18
|
-
*/
|
|
19
|
-
list(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsListResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @param resourceGroup Name of the resource group.
|
|
22
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
23
|
-
* @param callback The callback
|
|
24
|
-
*/
|
|
25
|
-
list(resourceGroup: string, registrationName: string, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
26
|
-
/**
|
|
27
|
-
* @param resourceGroup Name of the resource group.
|
|
28
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
29
|
-
* @param options The optional parameters
|
|
30
|
-
* @param callback The callback
|
|
31
|
-
*/
|
|
32
|
-
list(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
33
|
-
/**
|
|
34
|
-
* Returns the specified product.
|
|
35
|
-
* @param resourceGroup Name of the resource group.
|
|
36
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
37
|
-
* @param productName Name of the product.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.ProductsGetResponse>
|
|
40
|
-
*/
|
|
41
|
-
get(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsGetResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroup Name of the resource group.
|
|
44
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
45
|
-
* @param productName Name of the product.
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
get(resourceGroup: string, registrationName: string, productName: string, callback: msRest.ServiceCallback<Models.Product>): void;
|
|
49
|
-
/**
|
|
50
|
-
* @param resourceGroup Name of the resource group.
|
|
51
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
52
|
-
* @param productName Name of the product.
|
|
53
|
-
* @param options The optional parameters
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
get(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Product>): void;
|
|
57
|
-
/**
|
|
58
|
-
* Returns the extended properties of a product.
|
|
59
|
-
* @param resourceGroup Name of the resource group.
|
|
60
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
61
|
-
* @param productName Name of the product.
|
|
62
|
-
* @param [options] The optional parameters
|
|
63
|
-
* @returns Promise<Models.ProductsListDetailsResponse>
|
|
64
|
-
*/
|
|
65
|
-
listDetails(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsListDetailsResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* @param resourceGroup Name of the resource group.
|
|
68
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
69
|
-
* @param productName Name of the product.
|
|
70
|
-
* @param callback The callback
|
|
71
|
-
*/
|
|
72
|
-
listDetails(resourceGroup: string, registrationName: string, productName: string, callback: msRest.ServiceCallback<Models.ExtendedProduct>): void;
|
|
73
|
-
/**
|
|
74
|
-
* @param resourceGroup Name of the resource group.
|
|
75
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
76
|
-
* @param productName Name of the product.
|
|
77
|
-
* @param options The optional parameters
|
|
78
|
-
* @param callback The callback
|
|
79
|
-
*/
|
|
80
|
-
listDetails(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ExtendedProduct>): void;
|
|
81
|
-
/**
|
|
82
|
-
* Returns a list of products.
|
|
83
|
-
* @param resourceGroup Name of the resource group.
|
|
84
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<Models.ProductsGetProductsResponse>
|
|
87
|
-
*/
|
|
88
|
-
getProducts(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsGetProductsResponse>;
|
|
89
|
-
/**
|
|
90
|
-
* @param resourceGroup Name of the resource group.
|
|
91
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
92
|
-
* @param callback The callback
|
|
93
|
-
*/
|
|
94
|
-
getProducts(resourceGroup: string, registrationName: string, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
95
|
-
/**
|
|
96
|
-
* @param resourceGroup Name of the resource group.
|
|
97
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
98
|
-
* @param options The optional parameters
|
|
99
|
-
* @param callback The callback
|
|
100
|
-
*/
|
|
101
|
-
getProducts(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
102
|
-
/**
|
|
103
|
-
* Returns the specified product.
|
|
104
|
-
* @param resourceGroup Name of the resource group.
|
|
105
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
106
|
-
* @param productName Name of the product.
|
|
107
|
-
* @param [options] The optional parameters
|
|
108
|
-
* @returns Promise<Models.ProductsGetProductResponse>
|
|
109
|
-
*/
|
|
110
|
-
getProduct(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsGetProductResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* @param resourceGroup Name of the resource group.
|
|
113
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
114
|
-
* @param productName Name of the product.
|
|
115
|
-
* @param callback The callback
|
|
116
|
-
*/
|
|
117
|
-
getProduct(resourceGroup: string, registrationName: string, productName: string, callback: msRest.ServiceCallback<Models.Product>): void;
|
|
118
|
-
/**
|
|
119
|
-
* @param resourceGroup Name of the resource group.
|
|
120
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
121
|
-
* @param productName Name of the product.
|
|
122
|
-
* @param options The optional parameters
|
|
123
|
-
* @param callback The callback
|
|
124
|
-
*/
|
|
125
|
-
getProduct(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Product>): void;
|
|
126
|
-
/**
|
|
127
|
-
* Returns the specified product.
|
|
128
|
-
* @param resourceGroup Name of the resource group.
|
|
129
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
130
|
-
* @param productName Name of the product.
|
|
131
|
-
* @param [options] The optional parameters
|
|
132
|
-
* @returns Promise<Models.ProductsUploadLogResponse>
|
|
133
|
-
*/
|
|
134
|
-
uploadLog(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsUploadLogResponse>;
|
|
135
|
-
/**
|
|
136
|
-
* @param resourceGroup Name of the resource group.
|
|
137
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
138
|
-
* @param productName Name of the product.
|
|
139
|
-
* @param callback The callback
|
|
140
|
-
*/
|
|
141
|
-
uploadLog(resourceGroup: string, registrationName: string, productName: string, callback: msRest.ServiceCallback<Models.ProductLog>): void;
|
|
142
|
-
/**
|
|
143
|
-
* @param resourceGroup Name of the resource group.
|
|
144
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
145
|
-
* @param productName Name of the product.
|
|
146
|
-
* @param options The optional parameters
|
|
147
|
-
* @param callback The callback
|
|
148
|
-
*/
|
|
149
|
-
uploadLog(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProductLog>): void;
|
|
150
|
-
/**
|
|
151
|
-
* Returns a list of products.
|
|
152
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
153
|
-
* @param [options] The optional parameters
|
|
154
|
-
* @returns Promise<Models.ProductsListNextResponse>
|
|
155
|
-
*/
|
|
156
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProductsListNextResponse>;
|
|
157
|
-
/**
|
|
158
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
159
|
-
* @param callback The callback
|
|
160
|
-
*/
|
|
161
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
162
|
-
/**
|
|
163
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
164
|
-
* @param options The optional parameters
|
|
165
|
-
* @param callback The callback
|
|
166
|
-
*/
|
|
167
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProductList>): void;
|
|
168
|
-
}
|
|
169
|
-
//# sourceMappingURL=products.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/operations/products.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAChI;;;;OAIG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IACjH;;;;;OAKG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAYrJ;;;;;;;OAOG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAC;IACnJ;;;;;OAKG;IACH,GAA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AG,IAAI;IAC1I;;;;;;OAMG;IACH,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI;IAa9K;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAC;IAC7G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAC1F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;CAU/H"}
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/productsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Products. */
|
|
14
|
-
var Products = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Products.
|
|
17
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Products(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Products.prototype.list = function (resourceGroup, registrationName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroup: resourceGroup,
|
|
25
|
-
registrationName: registrationName,
|
|
26
|
-
options: options
|
|
27
|
-
}, listOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
Products.prototype.get = function (resourceGroup, registrationName, productName, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
resourceGroup: resourceGroup,
|
|
32
|
-
registrationName: registrationName,
|
|
33
|
-
productName: productName,
|
|
34
|
-
options: options
|
|
35
|
-
}, getOperationSpec, callback);
|
|
36
|
-
};
|
|
37
|
-
Products.prototype.listDetails = function (resourceGroup, registrationName, productName, options, callback) {
|
|
38
|
-
return this.client.sendOperationRequest({
|
|
39
|
-
resourceGroup: resourceGroup,
|
|
40
|
-
registrationName: registrationName,
|
|
41
|
-
productName: productName,
|
|
42
|
-
options: options
|
|
43
|
-
}, listDetailsOperationSpec, callback);
|
|
44
|
-
};
|
|
45
|
-
Products.prototype.getProducts = function (resourceGroup, registrationName, options, callback) {
|
|
46
|
-
return this.client.sendOperationRequest({
|
|
47
|
-
resourceGroup: resourceGroup,
|
|
48
|
-
registrationName: registrationName,
|
|
49
|
-
options: options
|
|
50
|
-
}, getProductsOperationSpec, callback);
|
|
51
|
-
};
|
|
52
|
-
Products.prototype.getProduct = function (resourceGroup, registrationName, productName, options, callback) {
|
|
53
|
-
return this.client.sendOperationRequest({
|
|
54
|
-
resourceGroup: resourceGroup,
|
|
55
|
-
registrationName: registrationName,
|
|
56
|
-
productName: productName,
|
|
57
|
-
options: options
|
|
58
|
-
}, getProductOperationSpec, callback);
|
|
59
|
-
};
|
|
60
|
-
Products.prototype.uploadLog = function (resourceGroup, registrationName, productName, options, callback) {
|
|
61
|
-
return this.client.sendOperationRequest({
|
|
62
|
-
resourceGroup: resourceGroup,
|
|
63
|
-
registrationName: registrationName,
|
|
64
|
-
productName: productName,
|
|
65
|
-
options: options
|
|
66
|
-
}, uploadLogOperationSpec, callback);
|
|
67
|
-
};
|
|
68
|
-
Products.prototype.listNext = function (nextPageLink, options, callback) {
|
|
69
|
-
return this.client.sendOperationRequest({
|
|
70
|
-
nextPageLink: nextPageLink,
|
|
71
|
-
options: options
|
|
72
|
-
}, listNextOperationSpec, callback);
|
|
73
|
-
};
|
|
74
|
-
return Products;
|
|
75
|
-
}());
|
|
76
|
-
export { Products };
|
|
77
|
-
// Operation Specifications
|
|
78
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
79
|
-
var listOperationSpec = {
|
|
80
|
-
httpMethod: "GET",
|
|
81
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products",
|
|
82
|
-
urlParameters: [
|
|
83
|
-
Parameters.subscriptionId,
|
|
84
|
-
Parameters.resourceGroup,
|
|
85
|
-
Parameters.registrationName
|
|
86
|
-
],
|
|
87
|
-
queryParameters: [
|
|
88
|
-
Parameters.apiVersion
|
|
89
|
-
],
|
|
90
|
-
headerParameters: [
|
|
91
|
-
Parameters.acceptLanguage
|
|
92
|
-
],
|
|
93
|
-
responses: {
|
|
94
|
-
200: {
|
|
95
|
-
bodyMapper: Mappers.ProductList
|
|
96
|
-
},
|
|
97
|
-
default: {
|
|
98
|
-
bodyMapper: Mappers.ErrorResponse
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
serializer: serializer
|
|
102
|
-
};
|
|
103
|
-
var getOperationSpec = {
|
|
104
|
-
httpMethod: "GET",
|
|
105
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}",
|
|
106
|
-
urlParameters: [
|
|
107
|
-
Parameters.subscriptionId,
|
|
108
|
-
Parameters.resourceGroup,
|
|
109
|
-
Parameters.registrationName,
|
|
110
|
-
Parameters.productName
|
|
111
|
-
],
|
|
112
|
-
queryParameters: [
|
|
113
|
-
Parameters.apiVersion
|
|
114
|
-
],
|
|
115
|
-
headerParameters: [
|
|
116
|
-
Parameters.acceptLanguage
|
|
117
|
-
],
|
|
118
|
-
responses: {
|
|
119
|
-
200: {
|
|
120
|
-
bodyMapper: Mappers.Product
|
|
121
|
-
},
|
|
122
|
-
default: {
|
|
123
|
-
bodyMapper: Mappers.ErrorResponse
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
serializer: serializer
|
|
127
|
-
};
|
|
128
|
-
var listDetailsOperationSpec = {
|
|
129
|
-
httpMethod: "POST",
|
|
130
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails",
|
|
131
|
-
urlParameters: [
|
|
132
|
-
Parameters.subscriptionId,
|
|
133
|
-
Parameters.resourceGroup,
|
|
134
|
-
Parameters.registrationName,
|
|
135
|
-
Parameters.productName
|
|
136
|
-
],
|
|
137
|
-
queryParameters: [
|
|
138
|
-
Parameters.apiVersion
|
|
139
|
-
],
|
|
140
|
-
headerParameters: [
|
|
141
|
-
Parameters.acceptLanguage
|
|
142
|
-
],
|
|
143
|
-
responses: {
|
|
144
|
-
200: {
|
|
145
|
-
bodyMapper: Mappers.ExtendedProduct
|
|
146
|
-
},
|
|
147
|
-
default: {
|
|
148
|
-
bodyMapper: Mappers.CloudError
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
serializer: serializer
|
|
152
|
-
};
|
|
153
|
-
var getProductsOperationSpec = {
|
|
154
|
-
httpMethod: "POST",
|
|
155
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/_all/GetProducts",
|
|
156
|
-
urlParameters: [
|
|
157
|
-
Parameters.subscriptionId,
|
|
158
|
-
Parameters.resourceGroup,
|
|
159
|
-
Parameters.registrationName
|
|
160
|
-
],
|
|
161
|
-
queryParameters: [
|
|
162
|
-
Parameters.apiVersion
|
|
163
|
-
],
|
|
164
|
-
headerParameters: [
|
|
165
|
-
Parameters.acceptLanguage
|
|
166
|
-
],
|
|
167
|
-
requestBody: {
|
|
168
|
-
parameterPath: [
|
|
169
|
-
"options",
|
|
170
|
-
"deviceConfiguration"
|
|
171
|
-
],
|
|
172
|
-
mapper: Mappers.DeviceConfiguration
|
|
173
|
-
},
|
|
174
|
-
responses: {
|
|
175
|
-
200: {
|
|
176
|
-
bodyMapper: Mappers.ProductList
|
|
177
|
-
},
|
|
178
|
-
default: {
|
|
179
|
-
bodyMapper: Mappers.ErrorResponse
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
serializer: serializer
|
|
183
|
-
};
|
|
184
|
-
var getProductOperationSpec = {
|
|
185
|
-
httpMethod: "POST",
|
|
186
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/GetProduct",
|
|
187
|
-
urlParameters: [
|
|
188
|
-
Parameters.subscriptionId,
|
|
189
|
-
Parameters.resourceGroup,
|
|
190
|
-
Parameters.registrationName,
|
|
191
|
-
Parameters.productName
|
|
192
|
-
],
|
|
193
|
-
queryParameters: [
|
|
194
|
-
Parameters.apiVersion
|
|
195
|
-
],
|
|
196
|
-
headerParameters: [
|
|
197
|
-
Parameters.acceptLanguage
|
|
198
|
-
],
|
|
199
|
-
requestBody: {
|
|
200
|
-
parameterPath: [
|
|
201
|
-
"options",
|
|
202
|
-
"deviceConfiguration"
|
|
203
|
-
],
|
|
204
|
-
mapper: Mappers.DeviceConfiguration
|
|
205
|
-
},
|
|
206
|
-
responses: {
|
|
207
|
-
200: {
|
|
208
|
-
bodyMapper: Mappers.Product
|
|
209
|
-
},
|
|
210
|
-
default: {
|
|
211
|
-
bodyMapper: Mappers.ErrorResponse
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
serializer: serializer
|
|
215
|
-
};
|
|
216
|
-
var uploadLogOperationSpec = {
|
|
217
|
-
httpMethod: "POST",
|
|
218
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/uploadProductLog",
|
|
219
|
-
urlParameters: [
|
|
220
|
-
Parameters.subscriptionId,
|
|
221
|
-
Parameters.resourceGroup,
|
|
222
|
-
Parameters.registrationName,
|
|
223
|
-
Parameters.productName
|
|
224
|
-
],
|
|
225
|
-
queryParameters: [
|
|
226
|
-
Parameters.apiVersion
|
|
227
|
-
],
|
|
228
|
-
headerParameters: [
|
|
229
|
-
Parameters.acceptLanguage
|
|
230
|
-
],
|
|
231
|
-
requestBody: {
|
|
232
|
-
parameterPath: [
|
|
233
|
-
"options",
|
|
234
|
-
"marketplaceProductLogUpdate"
|
|
235
|
-
],
|
|
236
|
-
mapper: Mappers.MarketplaceProductLogUpdate
|
|
237
|
-
},
|
|
238
|
-
responses: {
|
|
239
|
-
200: {
|
|
240
|
-
bodyMapper: Mappers.ProductLog
|
|
241
|
-
},
|
|
242
|
-
default: {
|
|
243
|
-
bodyMapper: Mappers.ErrorResponse
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
serializer: serializer
|
|
247
|
-
};
|
|
248
|
-
var listNextOperationSpec = {
|
|
249
|
-
httpMethod: "GET",
|
|
250
|
-
baseUrl: "https://management.azure.com",
|
|
251
|
-
path: "{nextLink}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.nextPageLink
|
|
254
|
-
],
|
|
255
|
-
headerParameters: [
|
|
256
|
-
Parameters.acceptLanguage
|
|
257
|
-
],
|
|
258
|
-
responses: {
|
|
259
|
-
200: {
|
|
260
|
-
bodyMapper: Mappers.ProductList
|
|
261
|
-
},
|
|
262
|
-
default: {
|
|
263
|
-
bodyMapper: Mappers.ErrorResponse
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
serializer: serializer
|
|
267
|
-
};
|
|
268
|
-
//# sourceMappingURL=products.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/operations/products.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,uBAAI,GAAJ,UAAK,aAAqB,EAAE,gBAAwB,EAAE,OAAgF,EAAE,QAAqD;QAC3L,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,aAAa,eAAA;YACb,gBAAgB,kBAAA;YAChB,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IA0BD,sBAAG,GAAH,UAAI,aAAqB,EAAE,gBAAwB,EAAE,WAAmB,EAAE,OAA4E,EAAE,QAAiD;QACvM,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,aAAa,eAAA;YACb,gBAAgB,kBAAA;YAChB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAwC,CAAC;IACrD,CAAC;IA0BD,8BAAW,GAAX,UAAY,aAAqB,EAAE,gBAAwB,EAAE,WAAmB,EAAE,OAAoF,EAAE,QAAyD;QAC/N,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,aAAa,eAAA;YACb,gBAAgB,kBAAA;YAChB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,wBAAwB,EACxB,QAAQ,CAAgD,CAAC;IAC7D,CAAC;IAuBD,8BAAW,GAAX,UAAY,aAAqB,EAAE,gBAAwB,EAAE,OAAgF,EAAE,QAAqD;Q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