@azure/arm-managementpartner 3.0.2-alpha.20250211.1 → 3.0.2-alpha.20250213.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 +23 -21
- package/{dist-esm/src → dist/browser}/aCEProvisioningManagementPartnerAPI.d.ts +2 -2
- package/dist/browser/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/aCEProvisioningManagementPartnerAPI.js +15 -18
- package/dist/browser/aCEProvisioningManagementPartnerAPI.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/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operation.d.ts +3 -3
- package/dist/browser/operations/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operation.js +3 -3
- package/dist/browser/operations/operation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/partner.d.ts +3 -3
- package/dist/browser/operations/partner.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/partner.js +2 -2
- package/dist/browser/operations/partner.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/partners.d.ts +3 -3
- package/dist/browser/operations/partners.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/partners.js +2 -2
- package/dist/browser/operations/partners.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/partner.d.ts +1 -1
- package/dist/browser/operationsInterfaces/partner.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/partner.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/partners.d.ts +1 -1
- package/dist/browser/operationsInterfaces/partners.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/partners.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/aCEProvisioningManagementPartnerAPI.d.ts +20 -0
- package/dist/commonjs/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
- package/dist/commonjs/aCEProvisioningManagementPartnerAPI.js +98 -0
- package/dist/commonjs/aCEProvisioningManagementPartnerAPI.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/models/index.d.ts +154 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +29 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +8 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +214 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +7 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +65 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operation.d.ts +32 -0
- package/dist/commonjs/operations/operation.d.ts.map +1 -0
- package/dist/commonjs/operations/operation.js +137 -0
- package/dist/commonjs/operations/operation.js.map +1 -0
- package/dist/commonjs/operations/partner.d.ts +37 -0
- package/dist/commonjs/operations/partner.d.ts.map +1 -0
- package/dist/commonjs/operations/partner.js +122 -0
- package/dist/commonjs/operations/partner.js.map +1 -0
- package/dist/commonjs/operations/partners.d.ts +18 -0
- package/dist/commonjs/operations/partners.d.ts.map +1 -0
- package/dist/commonjs/operations/partners.js +51 -0
- package/dist/commonjs/operations/partners.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operation.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operation.js +10 -0
- package/dist/commonjs/operationsInterfaces/operation.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/partner.d.ts +29 -0
- package/dist/commonjs/operationsInterfaces/partner.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/partner.js +10 -0
- package/dist/commonjs/operationsInterfaces/partner.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/partners.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/partners.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/partners.js +10 -0
- package/dist/commonjs/operationsInterfaces/partners.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/aCEProvisioningManagementPartnerAPI.d.ts +20 -0
- package/dist/esm/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
- package/dist/esm/aCEProvisioningManagementPartnerAPI.js +93 -0
- package/dist/esm/aCEProvisioningManagementPartnerAPI.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/models/index.d.ts +154 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +26 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +8 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +211 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +7 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +62 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operation.d.ts +32 -0
- package/dist/esm/operations/operation.d.ts.map +1 -0
- package/dist/esm/operations/operation.js +133 -0
- package/dist/esm/operations/operation.js.map +1 -0
- package/dist/esm/operations/partner.d.ts +37 -0
- package/dist/esm/operations/partner.d.ts.map +1 -0
- package/dist/esm/operations/partner.js +117 -0
- package/dist/esm/operations/partner.js.map +1 -0
- package/dist/esm/operations/partners.d.ts +18 -0
- package/dist/esm/operations/partners.d.ts.map +1 -0
- package/dist/esm/operations/partners.js +46 -0
- package/dist/esm/operations/partners.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operation.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operation.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/operation.js} +2 -4
- package/dist/esm/operationsInterfaces/operation.js.map +1 -0
- package/dist/esm/operationsInterfaces/partner.d.ts +29 -0
- package/dist/esm/operationsInterfaces/partner.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/partner.js +9 -0
- package/dist/esm/operationsInterfaces/partner.js.map +1 -0
- package/dist/esm/operationsInterfaces/partners.d.ts +10 -0
- package/dist/esm/operationsInterfaces/partners.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/partners.js +9 -0
- package/dist/esm/operationsInterfaces/partners.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/aCEProvisioningManagementPartnerAPI.d.ts +20 -0
- package/dist/react-native/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
- package/dist/react-native/aCEProvisioningManagementPartnerAPI.js +93 -0
- package/dist/react-native/aCEProvisioningManagementPartnerAPI.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/models/index.d.ts +154 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +26 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +8 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +211 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +7 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +62 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operation.d.ts +32 -0
- package/dist/react-native/operations/operation.d.ts.map +1 -0
- package/dist/react-native/operations/operation.js +133 -0
- package/dist/react-native/operations/operation.js.map +1 -0
- package/dist/react-native/operations/partner.d.ts +37 -0
- package/dist/react-native/operations/partner.d.ts.map +1 -0
- package/dist/react-native/operations/partner.js +117 -0
- package/dist/react-native/operations/partner.js.map +1 -0
- package/dist/react-native/operations/partners.d.ts +18 -0
- package/dist/react-native/operations/partners.d.ts.map +1 -0
- package/dist/react-native/operations/partners.js +46 -0
- package/dist/react-native/operations/partners.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operation.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operation.js +9 -0
- package/dist/react-native/operationsInterfaces/operation.js.map +1 -0
- package/dist/react-native/operationsInterfaces/partner.d.ts +29 -0
- package/dist/react-native/operationsInterfaces/partner.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/partner.js +9 -0
- package/dist/react-native/operationsInterfaces/partner.js.map +1 -0
- package/dist/react-native/operationsInterfaces/partners.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/partners.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/partners.js +9 -0
- package/dist/react-native/operationsInterfaces/partners.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 +69 -40
- package/dist/index.js +0 -749
- 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/operationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationListSample.js +0 -49
- package/dist-esm/samples-dev/operationListSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerCreateSample.js +0 -34
- package/dist-esm/samples-dev/partnerCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDeleteSample.js +0 -34
- package/dist-esm/samples-dev/partnerDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerGetSample.js +0 -34
- package/dist-esm/samples-dev/partnerGetSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerUpdateSample.js +0 -34
- package/dist-esm/samples-dev/partnerUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/partnersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnersGetSample.js +0 -33
- package/dist-esm/samples-dev/partnersGetSample.js.map +0 -1
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.d.ts.map +0 -1
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.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/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 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operation.d.ts.map +0 -1
- package/dist-esm/src/operations/operation.js.map +0 -1
- package/dist-esm/src/operations/partner.d.ts.map +0 -1
- package/dist-esm/src/operations/partner.js.map +0 -1
- package/dist-esm/src/operations/partners.d.ts.map +0 -1
- package/dist-esm/src/operations/partners.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operation.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/partner.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/partner.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/partners.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/partners.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/aCEProvisioningManagementPartnerAPI.ts +0 -136
- package/src/models/index.ts +0 -185
- package/src/models/mappers.ts +0 -218
- package/src/models/parameters.ts +0 -72
- package/src/operations/operation.ts +0 -149
- package/src/operations/partner.ts +0 -160
- package/src/operations/partners.ts +0 -54
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operation.ts +0 -22
- package/src/operationsInterfaces/partner.ts +0 -57
- package/src/operationsInterfaces/partners.ts +0 -18
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-managementpartner.d.ts +0 -252
- /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}/models/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/partner.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/partners.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,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ACEProvisioningManagementPartnerAPI = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
|
15
|
+
class ACEProvisioningManagementPartnerAPI extends coreClient.ServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Initializes a new instance of the ACEProvisioningManagementPartnerAPI class.
|
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
19
|
+
* @param options The parameter options
|
|
20
|
+
*/
|
|
21
|
+
constructor(credentials, options) {
|
|
22
|
+
var _a, _b, _c;
|
|
23
|
+
if (credentials === undefined) {
|
|
24
|
+
throw new Error("'credentials' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
// Initializing default values for options
|
|
27
|
+
if (!options) {
|
|
28
|
+
options = {};
|
|
29
|
+
}
|
|
30
|
+
const defaults = {
|
|
31
|
+
requestContentType: "application/json; charset=utf-8",
|
|
32
|
+
credential: credentials
|
|
33
|
+
};
|
|
34
|
+
const packageDetails = `azsdk-js-arm-managementpartner/3.0.2`;
|
|
35
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
|
+
: `${packageDetails}`;
|
|
38
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
+
userAgentPrefix
|
|
40
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
|
+
super(optionsWithDefaults);
|
|
42
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
46
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
47
|
+
}
|
|
48
|
+
if (!options ||
|
|
49
|
+
!options.pipeline ||
|
|
50
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
52
|
+
this.pipeline.removePolicy({
|
|
53
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
});
|
|
55
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
|
+
credential: credentials,
|
|
57
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
|
+
challengeCallbacks: {
|
|
59
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
// Assigning values to Constant parameters
|
|
64
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
65
|
+
this.apiVersion = options.apiVersion || "2018-02-01";
|
|
66
|
+
this.partner = new index_js_1.PartnerImpl(this);
|
|
67
|
+
this.operation = new index_js_1.OperationImpl(this);
|
|
68
|
+
this.partners = new index_js_1.PartnersImpl(this);
|
|
69
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
70
|
+
}
|
|
71
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
72
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
73
|
+
if (!apiVersion) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const apiVersionPolicy = {
|
|
77
|
+
name: "CustomApiVersionPolicy",
|
|
78
|
+
async sendRequest(request, next) {
|
|
79
|
+
const param = request.url.split("?");
|
|
80
|
+
if (param.length > 1) {
|
|
81
|
+
const newParams = param[1].split("&").map((item) => {
|
|
82
|
+
if (item.indexOf("api-version") > -1) {
|
|
83
|
+
return "api-version=" + apiVersion;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
return item;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
90
|
+
}
|
|
91
|
+
return next(request);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.ACEProvisioningManagementPartnerAPI = ACEProvisioningManagementPartnerAPI;
|
|
98
|
+
//# sourceMappingURL=aCEProvisioningManagementPartnerAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aCEProvisioningManagementPartnerAPI.js","sourceRoot":"","sources":["../../src/aCEProvisioningManagementPartnerAPI.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAAiF;AAIjF,MAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAI/E;;;;OAIG;IACH,YACE,WAAqC,EACrC,OAA2D;;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAsD;YAClE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,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AAQ,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,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;CAKF;AAnHD,kFAmHC","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 { PartnerImpl, OperationImpl, PartnersImpl } from \"./operations/index.js\";\nimport { Partner, Operation, Partners } from \"./operationsInterfaces/index.js\";\nimport { ACEProvisioningManagementPartnerAPIOptionalParams } from \"./models/index.js\";\n\nexport class ACEProvisioningManagementPartnerAPI extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ACEProvisioningManagementPartnerAPI class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ACEProvisioningManagementPartnerAPIOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ACEProvisioningManagementPartnerAPIOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-managementpartner/3.0.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[] = 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\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2018-02-01\";\n this.partner = new PartnerImpl(this);\n this.operation = new OperationImpl(this);\n this.partners = new PartnersImpl(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 partner: Partner;\n operation: Operation;\n partners: Partners;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
2
|
+
export * from "./models/index.js";
|
|
3
|
+
export { ACEProvisioningManagementPartnerAPI } from "./aCEProvisioningManagementPartnerAPI.js";
|
|
4
|
+
export * from "./operationsInterfaces/index.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,cAAc,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ACEProvisioningManagementPartnerAPI = exports.getContinuationToken = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
|
16
|
+
var aCEProvisioningManagementPartnerAPI_js_1 = require("./aCEProvisioningManagementPartnerAPI.js");
|
|
17
|
+
Object.defineProperty(exports, "ACEProvisioningManagementPartnerAPI", { enumerable: true, get: function () { return aCEProvisioningManagementPartnerAPI_js_1.ACEProvisioningManagementPartnerAPI; } });
|
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,mGAA+F;AAAtF,6JAAA,mCAAmC,OAAA;AAC5C,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ACEProvisioningManagementPartnerAPI } from \"./aCEProvisioningManagementPartnerAPI.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** this is the management partner operations response */
|
|
3
|
+
export interface PartnerResponse {
|
|
4
|
+
/** Type of the partner */
|
|
5
|
+
etag?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier of the partner
|
|
8
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
9
|
+
*/
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Name of the partner
|
|
13
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
14
|
+
*/
|
|
15
|
+
readonly name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Type of resource. "Microsoft.ManagementPartner/partners"
|
|
18
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
19
|
+
*/
|
|
20
|
+
readonly type?: string;
|
|
21
|
+
/** This is the partner id */
|
|
22
|
+
partnerId?: string;
|
|
23
|
+
/** This is the partner name */
|
|
24
|
+
partnerName?: string;
|
|
25
|
+
/** This is the tenant id. */
|
|
26
|
+
tenantId?: string;
|
|
27
|
+
/** This is the object id. */
|
|
28
|
+
objectId?: string;
|
|
29
|
+
/** This is the version. */
|
|
30
|
+
version?: number;
|
|
31
|
+
/** This is the DateTime when the partner was updated. */
|
|
32
|
+
updatedTime?: Date;
|
|
33
|
+
/** This is the DateTime when the partner was created. */
|
|
34
|
+
createdTime?: Date;
|
|
35
|
+
/** This is the partner state */
|
|
36
|
+
state?: ManagementPartnerState;
|
|
37
|
+
}
|
|
38
|
+
/** this is the management partner operations error */
|
|
39
|
+
export interface ErrorModel {
|
|
40
|
+
/** this is the ExtendedErrorInfo property */
|
|
41
|
+
error?: ExtendedErrorInfo;
|
|
42
|
+
}
|
|
43
|
+
/** this is the extended error info */
|
|
44
|
+
export interface ExtendedErrorInfo {
|
|
45
|
+
/** this is the error response code */
|
|
46
|
+
code?: ErrorResponseCode;
|
|
47
|
+
/** this is the extended error info message */
|
|
48
|
+
message?: string;
|
|
49
|
+
}
|
|
50
|
+
/** this is the management partner operations list */
|
|
51
|
+
export interface OperationList {
|
|
52
|
+
/** this is the operation response list */
|
|
53
|
+
value?: OperationResponse[];
|
|
54
|
+
/** Url to get the next page of items. */
|
|
55
|
+
nextLink?: string;
|
|
56
|
+
}
|
|
57
|
+
/** this is the management partner operations response */
|
|
58
|
+
export interface OperationResponse {
|
|
59
|
+
/** this is the operation response name */
|
|
60
|
+
name?: string;
|
|
61
|
+
/** this is the operation display */
|
|
62
|
+
display?: OperationDisplay;
|
|
63
|
+
/** the is operation response origin information */
|
|
64
|
+
origin?: string;
|
|
65
|
+
}
|
|
66
|
+
/** this is the management partner operation */
|
|
67
|
+
export interface OperationDisplay {
|
|
68
|
+
/** the is management partner provider */
|
|
69
|
+
provider?: string;
|
|
70
|
+
/** the is management partner resource */
|
|
71
|
+
resource?: string;
|
|
72
|
+
/** the is management partner operation */
|
|
73
|
+
operation?: string;
|
|
74
|
+
/** the is management partner operation description */
|
|
75
|
+
description?: string;
|
|
76
|
+
}
|
|
77
|
+
/** Known values of {@link ManagementPartnerState} that the service accepts. */
|
|
78
|
+
export declare enum KnownManagementPartnerState {
|
|
79
|
+
/** Active */
|
|
80
|
+
Active = "Active",
|
|
81
|
+
/** Deleted */
|
|
82
|
+
Deleted = "Deleted"
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Defines values for ManagementPartnerState. \
|
|
86
|
+
* {@link KnownManagementPartnerState} can be used interchangeably with ManagementPartnerState,
|
|
87
|
+
* this enum contains the known values that the service supports.
|
|
88
|
+
* ### Known values supported by the service
|
|
89
|
+
* **Active** \
|
|
90
|
+
* **Deleted**
|
|
91
|
+
*/
|
|
92
|
+
export type ManagementPartnerState = string;
|
|
93
|
+
/** Known values of {@link ErrorResponseCode} that the service accepts. */
|
|
94
|
+
export declare enum KnownErrorResponseCode {
|
|
95
|
+
/** NotFound */
|
|
96
|
+
NotFound = "NotFound",
|
|
97
|
+
/** Conflict */
|
|
98
|
+
Conflict = "Conflict",
|
|
99
|
+
/** BadRequest */
|
|
100
|
+
BadRequest = "BadRequest"
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Defines values for ErrorResponseCode. \
|
|
104
|
+
* {@link KnownErrorResponseCode} can be used interchangeably with ErrorResponseCode,
|
|
105
|
+
* this enum contains the known values that the service supports.
|
|
106
|
+
* ### Known values supported by the service
|
|
107
|
+
* **NotFound** \
|
|
108
|
+
* **Conflict** \
|
|
109
|
+
* **BadRequest**
|
|
110
|
+
*/
|
|
111
|
+
export type ErrorResponseCode = string;
|
|
112
|
+
/** Optional parameters. */
|
|
113
|
+
export interface PartnerGetOptionalParams extends coreClient.OperationOptions {
|
|
114
|
+
}
|
|
115
|
+
/** Contains response data for the get operation. */
|
|
116
|
+
export type PartnerGetResponse = PartnerResponse;
|
|
117
|
+
/** Optional parameters. */
|
|
118
|
+
export interface PartnerCreateOptionalParams extends coreClient.OperationOptions {
|
|
119
|
+
}
|
|
120
|
+
/** Contains response data for the create operation. */
|
|
121
|
+
export type PartnerCreateResponse = PartnerResponse;
|
|
122
|
+
/** Optional parameters. */
|
|
123
|
+
export interface PartnerUpdateOptionalParams extends coreClient.OperationOptions {
|
|
124
|
+
}
|
|
125
|
+
/** Contains response data for the update operation. */
|
|
126
|
+
export type PartnerUpdateResponse = PartnerResponse;
|
|
127
|
+
/** Optional parameters. */
|
|
128
|
+
export interface PartnerDeleteOptionalParams extends coreClient.OperationOptions {
|
|
129
|
+
}
|
|
130
|
+
/** Optional parameters. */
|
|
131
|
+
export interface OperationListOptionalParams extends coreClient.OperationOptions {
|
|
132
|
+
}
|
|
133
|
+
/** Contains response data for the list operation. */
|
|
134
|
+
export type OperationListResponse = OperationList;
|
|
135
|
+
/** Optional parameters. */
|
|
136
|
+
export interface OperationListNextOptionalParams extends coreClient.OperationOptions {
|
|
137
|
+
}
|
|
138
|
+
/** Contains response data for the listNext operation. */
|
|
139
|
+
export type OperationListNextResponse = OperationList;
|
|
140
|
+
/** Optional parameters. */
|
|
141
|
+
export interface PartnersGetOptionalParams extends coreClient.OperationOptions {
|
|
142
|
+
}
|
|
143
|
+
/** Contains response data for the get operation. */
|
|
144
|
+
export type PartnersGetResponse = PartnerResponse;
|
|
145
|
+
/** Optional parameters. */
|
|
146
|
+
export interface ACEProvisioningManagementPartnerAPIOptionalParams extends coreClient.ServiceClientOptions {
|
|
147
|
+
/** server parameter */
|
|
148
|
+
$host?: string;
|
|
149
|
+
/** Api Version */
|
|
150
|
+
apiVersion?: string;
|
|
151
|
+
/** Overrides client endpoint. */
|
|
152
|
+
endpoint?: string;
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,I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,UAAU,CAAC,gBAAgB;CAAG;AAExC,oDAAoD;AACpD,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAElD,2BAA2B;AAC3B,MAAM,WAAW,iDACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.KnownErrorResponseCode = exports.KnownManagementPartnerState = void 0;
|
|
11
|
+
/** Known values of {@link ManagementPartnerState} that the service accepts. */
|
|
12
|
+
var KnownManagementPartnerState;
|
|
13
|
+
(function (KnownManagementPartnerState) {
|
|
14
|
+
/** Active */
|
|
15
|
+
KnownManagementPartnerState["Active"] = "Active";
|
|
16
|
+
/** Deleted */
|
|
17
|
+
KnownManagementPartnerState["Deleted"] = "Deleted";
|
|
18
|
+
})(KnownManagementPartnerState || (exports.KnownManagementPartnerState = KnownManagementPartnerState = {}));
|
|
19
|
+
/** Known values of {@link ErrorResponseCode} that the service accepts. */
|
|
20
|
+
var KnownErrorResponseCode;
|
|
21
|
+
(function (KnownErrorResponseCode) {
|
|
22
|
+
/** NotFound */
|
|
23
|
+
KnownErrorResponseCode["NotFound"] = "NotFound";
|
|
24
|
+
/** Conflict */
|
|
25
|
+
KnownErrorResponseCode["Conflict"] = "Conflict";
|
|
26
|
+
/** BadRequest */
|
|
27
|
+
KnownErrorResponseCode["BadRequest"] = "BadRequest";
|
|
28
|
+
})(KnownErrorResponseCode || (exports.KnownErrorResponseCode = KnownErrorResponseCode = {}));
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqFH,+EAA+E;AAC/E,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,aAAa;IACb,gDAAiB,CAAA;IACjB,cAAc;IACd,kDAAmB,CAAA;AACrB,CAAC,EALW,2BAA2B,2CAA3B,2BAA2B,QAKtC;AAYD,0EAA0E;AAC1E,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,iBAAiB;IACjB,mDAAyB,CAAA;AAC3B,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC","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\";\n\n/** this is the management partner operations response */\nexport interface PartnerResponse {\n /** Type of the partner */\n etag?: number;\n /**\n * Identifier of the partner\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of the partner\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Type of resource. \"Microsoft.ManagementPartner/partners\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** This is the partner id */\n partnerId?: string;\n /** This is the partner name */\n partnerName?: string;\n /** This is the tenant id. */\n tenantId?: string;\n /** This is the object id. */\n objectId?: string;\n /** This is the version. */\n version?: number;\n /** This is the DateTime when the partner was updated. */\n updatedTime?: Date;\n /** This is the DateTime when the partner was created. */\n createdTime?: Date;\n /** This is the partner state */\n state?: ManagementPartnerState;\n}\n\n/** this is the management partner operations error */\nexport interface ErrorModel {\n /** this is the ExtendedErrorInfo property */\n error?: ExtendedErrorInfo;\n}\n\n/** this is the extended error info */\nexport interface ExtendedErrorInfo {\n /** this is the error response code */\n code?: ErrorResponseCode;\n /** this is the extended error info message */\n message?: string;\n}\n\n/** this is the management partner operations list */\nexport interface OperationList {\n /** this is the operation response list */\n value?: OperationResponse[];\n /** Url to get the next page of items. */\n nextLink?: string;\n}\n\n/** this is the management partner operations response */\nexport interface OperationResponse {\n /** this is the operation response name */\n name?: string;\n /** this is the operation display */\n display?: OperationDisplay;\n /** the is operation response origin information */\n origin?: string;\n}\n\n/** this is the management partner operation */\nexport interface OperationDisplay {\n /** the is management partner provider */\n provider?: string;\n /** the is management partner resource */\n resource?: string;\n /** the is management partner operation */\n operation?: string;\n /** the is management partner operation description */\n description?: string;\n}\n\n/** Known values of {@link ManagementPartnerState} that the service accepts. */\nexport enum KnownManagementPartnerState {\n /** Active */\n Active = \"Active\",\n /** Deleted */\n Deleted = \"Deleted\"\n}\n\n/**\n * Defines values for ManagementPartnerState. \\\n * {@link KnownManagementPartnerState} can be used interchangeably with ManagementPartnerState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active** \\\n * **Deleted**\n */\nexport type ManagementPartnerState = string;\n\n/** Known values of {@link ErrorResponseCode} that the service accepts. */\nexport enum KnownErrorResponseCode {\n /** NotFound */\n NotFound = \"NotFound\",\n /** Conflict */\n Conflict = \"Conflict\",\n /** BadRequest */\n BadRequest = \"BadRequest\"\n}\n\n/**\n * Defines values for ErrorResponseCode. \\\n * {@link KnownErrorResponseCode} can be used interchangeably with ErrorResponseCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotFound** \\\n * **Conflict** \\\n * **BadRequest**\n */\nexport type ErrorResponseCode = string;\n\n/** Optional parameters. */\nexport interface PartnerGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PartnerGetResponse = PartnerResponse;\n\n/** Optional parameters. */\nexport interface PartnerCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type PartnerCreateResponse = PartnerResponse;\n\n/** Optional parameters. */\nexport interface PartnerUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type PartnerUpdateResponse = PartnerResponse;\n\n/** Optional parameters. */\nexport interface PartnerDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface OperationListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationListResponse = OperationList;\n\n/** Optional parameters. */\nexport interface OperationListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationListNextResponse = OperationList;\n\n/** Optional parameters. */\nexport interface PartnersGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PartnersGetResponse = PartnerResponse;\n\n/** Optional parameters. */\nexport interface ACEProvisioningManagementPartnerAPIOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const PartnerResponse: coreClient.CompositeMapper;
|
|
3
|
+
export declare const ErrorModel: coreClient.CompositeMapper;
|
|
4
|
+
export declare const ExtendedErrorInfo: coreClient.CompositeMapper;
|
|
5
|
+
export declare const OperationList: coreClient.CompositeMapper;
|
|
6
|
+
export declare const OperationResponse: coreClient.CompositeMapper;
|
|
7
|
+
export declare const OperationDisplay: coreClient.CompositeMapper;
|
|
8
|
+
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAkFxC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAcnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,eAmB1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAyBtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,eA0B1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eA+BzC,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationDisplay = exports.OperationResponse = exports.OperationList = exports.ExtendedErrorInfo = exports.ErrorModel = exports.PartnerResponse = void 0;
|
|
11
|
+
exports.PartnerResponse = {
|
|
12
|
+
type: {
|
|
13
|
+
name: "Composite",
|
|
14
|
+
className: "PartnerResponse",
|
|
15
|
+
modelProperties: {
|
|
16
|
+
etag: {
|
|
17
|
+
serializedName: "etag",
|
|
18
|
+
type: {
|
|
19
|
+
name: "Number"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
id: {
|
|
23
|
+
serializedName: "id",
|
|
24
|
+
readOnly: true,
|
|
25
|
+
type: {
|
|
26
|
+
name: "String"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
name: {
|
|
30
|
+
serializedName: "name",
|
|
31
|
+
readOnly: true,
|
|
32
|
+
type: {
|
|
33
|
+
name: "String"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
type: {
|
|
37
|
+
serializedName: "type",
|
|
38
|
+
readOnly: true,
|
|
39
|
+
type: {
|
|
40
|
+
name: "String"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
partnerId: {
|
|
44
|
+
serializedName: "properties.partnerId",
|
|
45
|
+
type: {
|
|
46
|
+
name: "String"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
partnerName: {
|
|
50
|
+
serializedName: "properties.partnerName",
|
|
51
|
+
type: {
|
|
52
|
+
name: "String"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
tenantId: {
|
|
56
|
+
serializedName: "properties.tenantId",
|
|
57
|
+
type: {
|
|
58
|
+
name: "String"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
objectId: {
|
|
62
|
+
serializedName: "properties.objectId",
|
|
63
|
+
type: {
|
|
64
|
+
name: "String"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
version: {
|
|
68
|
+
serializedName: "properties.version",
|
|
69
|
+
type: {
|
|
70
|
+
name: "Number"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
updatedTime: {
|
|
74
|
+
serializedName: "properties.updatedTime",
|
|
75
|
+
type: {
|
|
76
|
+
name: "DateTime"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
createdTime: {
|
|
80
|
+
serializedName: "properties.createdTime",
|
|
81
|
+
type: {
|
|
82
|
+
name: "DateTime"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
state: {
|
|
86
|
+
serializedName: "properties.state",
|
|
87
|
+
type: {
|
|
88
|
+
name: "String"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
exports.ErrorModel = {
|
|
95
|
+
type: {
|
|
96
|
+
name: "Composite",
|
|
97
|
+
className: "ErrorModel",
|
|
98
|
+
modelProperties: {
|
|
99
|
+
error: {
|
|
100
|
+
serializedName: "error",
|
|
101
|
+
type: {
|
|
102
|
+
name: "Composite",
|
|
103
|
+
className: "ExtendedErrorInfo"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
exports.ExtendedErrorInfo = {
|
|
110
|
+
type: {
|
|
111
|
+
name: "Composite",
|
|
112
|
+
className: "ExtendedErrorInfo",
|
|
113
|
+
modelProperties: {
|
|
114
|
+
code: {
|
|
115
|
+
serializedName: "code",
|
|
116
|
+
type: {
|
|
117
|
+
name: "String"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
message: {
|
|
121
|
+
serializedName: "message",
|
|
122
|
+
type: {
|
|
123
|
+
name: "String"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
exports.OperationList = {
|
|
130
|
+
type: {
|
|
131
|
+
name: "Composite",
|
|
132
|
+
className: "OperationList",
|
|
133
|
+
modelProperties: {
|
|
134
|
+
value: {
|
|
135
|
+
serializedName: "value",
|
|
136
|
+
type: {
|
|
137
|
+
name: "Sequence",
|
|
138
|
+
element: {
|
|
139
|
+
type: {
|
|
140
|
+
name: "Composite",
|
|
141
|
+
className: "OperationResponse"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
nextLink: {
|
|
147
|
+
serializedName: "nextLink",
|
|
148
|
+
type: {
|
|
149
|
+
name: "String"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
exports.OperationResponse = {
|
|
156
|
+
type: {
|
|
157
|
+
name: "Composite",
|
|
158
|
+
className: "OperationResponse",
|
|
159
|
+
modelProperties: {
|
|
160
|
+
name: {
|
|
161
|
+
serializedName: "name",
|
|
162
|
+
type: {
|
|
163
|
+
name: "String"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
display: {
|
|
167
|
+
serializedName: "display",
|
|
168
|
+
type: {
|
|
169
|
+
name: "Composite",
|
|
170
|
+
className: "OperationDisplay"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
origin: {
|
|
174
|
+
serializedName: "origin",
|
|
175
|
+
type: {
|
|
176
|
+
name: "String"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
exports.OperationDisplay = {
|
|
183
|
+
type: {
|
|
184
|
+
name: "Composite",
|
|
185
|
+
className: "OperationDisplay",
|
|
186
|
+
modelProperties: {
|
|
187
|
+
provider: {
|
|
188
|
+
serializedName: "provider",
|
|
189
|
+
type: {
|
|
190
|
+
name: "String"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
resource: {
|
|
194
|
+
serializedName: "resource",
|
|
195
|
+
type: {
|
|
196
|
+
name: "String"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
operation: {
|
|
200
|
+
serializedName: "operation",
|
|
201
|
+
type: {
|
|
202
|
+
name: "String"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
description: {
|
|
206
|
+
serializedName: "description",
|
|
207
|
+
type: {
|
|
208
|
+
name: "String"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBAC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QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const PartnerResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PartnerResponse\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"Number\"\n }\n },\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n partnerId: {\n serializedName: \"properties.partnerId\",\n type: {\n name: \"String\"\n }\n },\n partnerName: {\n serializedName: \"properties.partnerName\",\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"properties.tenantId\",\n type: {\n name: \"String\"\n }\n },\n objectId: {\n serializedName: \"properties.objectId\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"properties.version\",\n type: {\n name: \"Number\"\n }\n },\n updatedTime: {\n serializedName: \"properties.updatedTime\",\n type: {\n name: \"DateTime\"\n }\n },\n createdTime: {\n serializedName: \"properties.createdTime\",\n type: {\n name: \"DateTime\"\n }\n },\n state: {\n serializedName: \"properties.state\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ExtendedErrorInfo\"\n }\n }\n }\n }\n};\n\nexport const ExtendedErrorInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtendedErrorInfo\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperationResponse\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationResponse\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const partnerId: OperationURLParameter;
|
|
5
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
6
|
+
export declare const nextLink: OperationURLParameter;
|
|
7
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBASvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
|