@azure/arm-managedapplications 1.0.2 → 2.0.0-alpha.20211011.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 +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +66 -72
- package/dist/index.js +2896 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/applicationClient.d.ts +50 -0
- package/esm/applicationClient.d.ts.map +1 -0
- package/esm/applicationClient.js +190 -0
- package/esm/applicationClient.js.map +1 -0
- package/esm/applicationClientContext.d.ts +16 -0
- package/esm/applicationClientContext.d.ts.map +1 -0
- package/esm/applicationClientContext.js +49 -0
- package/esm/applicationClientContext.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +770 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/esm/lro/index.js +12 -0
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/lro/passthrough.js +15 -0
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +360 -762
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +17 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +18 -20
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +296 -318
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +15 -10
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +77 -49
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/applicationDefinitions.d.ts +128 -0
- package/esm/operations/applicationDefinitions.d.ts.map +1 -0
- package/esm/operations/applicationDefinitions.js +574 -0
- package/esm/operations/applicationDefinitions.js.map +1 -0
- package/esm/operations/applications.d.ts +182 -0
- package/esm/operations/applications.d.ts.map +1 -0
- package/esm/operations/applications.js +802 -0
- package/esm/operations/applications.js.map +1 -0
- package/esm/operations/index.d.ts +2 -2
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +5 -7
- package/esm/operations/index.js.map +1 -1
- package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
- package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
- package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/esm/operationsInterfaces/applications.d.ts +128 -0
- package/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/esm/operationsInterfaces/applications.js +9 -0
- package/esm/operationsInterfaces/applications.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +3 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +10 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/package.json +56 -16
- package/review/arm-managedapplications.api.md +443 -0
- package/rollup.config.js +181 -30
- package/src/applicationClient.ts +222 -0
- package/src/applicationClientContext.ts +70 -0
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +402 -794
- package/src/models/mappers.ts +290 -311
- package/src/models/parameters.ts +99 -50
- package/src/operations/applicationDefinitions.ts +810 -0
- package/src/operations/applications.ts +1069 -0
- package/src/operations/index.ts +5 -7
- package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
- package/src/operationsInterfaces/applications.ts +225 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/tsconfig.json +3 -2
- package/dist/arm-managedapplications.js +0 -1855
- package/dist/arm-managedapplications.js.map +0 -1
- package/dist/arm-managedapplications.min.js +0 -1
- package/dist/arm-managedapplications.min.js.map +0 -1
- package/esm/managedApplicationClient.d.ts +0 -52
- package/esm/managedApplicationClient.d.ts.map +0 -1
- package/esm/managedApplicationClient.js +0 -87
- package/esm/managedApplicationClient.js.map +0 -1
- package/esm/managedApplicationClientContext.d.ts +0 -16
- package/esm/managedApplicationClientContext.d.ts.map +0 -1
- package/esm/managedApplicationClientContext.js +0 -56
- package/esm/managedApplicationClientContext.js.map +0 -1
- package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
- package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/applianceDefinitionsMappers.js +0 -9
- package/esm/models/applianceDefinitionsMappers.js.map +0 -1
- package/esm/models/appliancesMappers.d.ts +0 -2
- package/esm/models/appliancesMappers.d.ts.map +0 -1
- package/esm/models/appliancesMappers.js +0 -9
- package/esm/models/appliancesMappers.js.map +0 -1
- package/esm/operations/applianceDefinitions.d.ts +0 -167
- package/esm/operations/applianceDefinitions.d.ts.map +0 -1
- package/esm/operations/applianceDefinitions.js +0 -358
- package/esm/operations/applianceDefinitions.js.map +0 -1
- package/esm/operations/appliances.d.ts +0 -247
- package/esm/operations/appliances.d.ts.map +0 -1
- package/esm/operations/appliances.js +0 -482
- package/esm/operations/appliances.js.map +0 -1
- package/src/managedApplicationClient.ts +0 -138
- package/src/managedApplicationClientContext.ts +0 -62
- package/src/models/applianceDefinitionsMappers.ts +0 -24
- package/src/models/appliancesMappers.ts +0 -24
- package/src/operations/applianceDefinitions.ts +0 -492
- package/src/operations/appliances.ts +0 -716
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
3
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
4
|
-
export declare class ManagedApplicationClientContext extends msRestAzure.AzureServiceClient {
|
|
5
|
-
credentials: msRest.ServiceClientCredentials;
|
|
6
|
-
subscriptionId: string;
|
|
7
|
-
apiVersion?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Initializes a new instance of the ManagedApplicationClient class.
|
|
10
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
11
|
-
* @param subscriptionId The ID of the target subscription.
|
|
12
|
-
* @param [options] The parameter options
|
|
13
|
-
*/
|
|
14
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedApplicationClientOptions);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=managedApplicationClientContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"managedApplicationClientContext.d.ts","sourceRoot":"","sources":["../src/managedApplicationClientContext.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAKvD,qBAAa,+BAAgC,SAAQ,WAAW,CAAC,kBAAkB;IACjF,WAAW,EAAE,MAAM,CAAC,wBAAwB,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,+BAA+B;CAiCnI"}
|
|
@@ -1,56 +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 tslib_1 from "tslib";
|
|
11
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
12
|
-
var packageName = "@azure/arm-managedapplications";
|
|
13
|
-
var packageVersion = "1.0.2";
|
|
14
|
-
var ManagedApplicationClientContext = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(ManagedApplicationClientContext, _super);
|
|
16
|
-
/**
|
|
17
|
-
* Initializes a new instance of the ManagedApplicationClient class.
|
|
18
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
19
|
-
* @param subscriptionId The ID of the target subscription.
|
|
20
|
-
* @param [options] The parameter options
|
|
21
|
-
*/
|
|
22
|
-
function ManagedApplicationClientContext(credentials, subscriptionId, options) {
|
|
23
|
-
var _this = this;
|
|
24
|
-
if (credentials == undefined) {
|
|
25
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
26
|
-
}
|
|
27
|
-
if (subscriptionId == undefined) {
|
|
28
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
29
|
-
}
|
|
30
|
-
if (!options) {
|
|
31
|
-
options = {};
|
|
32
|
-
}
|
|
33
|
-
if (!options.userAgent) {
|
|
34
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
35
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
36
|
-
}
|
|
37
|
-
_this = _super.call(this, credentials, options) || this;
|
|
38
|
-
_this.apiVersion = '2016-09-01-preview';
|
|
39
|
-
_this.acceptLanguage = 'en-US';
|
|
40
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
41
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
42
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
43
|
-
_this.credentials = credentials;
|
|
44
|
-
_this.subscriptionId = subscriptionId;
|
|
45
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
46
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
47
|
-
}
|
|
48
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
49
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
50
|
-
}
|
|
51
|
-
return _this;
|
|
52
|
-
}
|
|
53
|
-
return ManagedApplicationClientContext;
|
|
54
|
-
}(msRestAzure.AzureServiceClient));
|
|
55
|
-
export { ManagedApplicationClientContext };
|
|
56
|
-
//# sourceMappingURL=managedApplicationClientContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"managedApplicationClientContext.js","sourceRoot":"","sources":["../src/managedApplicationClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAEvD,IAAM,WAAW,GAAG,gCAAgC,CAAC;AACrD,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAAqD,2DAA8B;IAKjF;;;;;OAKG;IACH,yCAAY,WAA4C,EAAE,cAAsB,EAAE,OAAgD;QAAlI,iBAgCC;QA/BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QACD,IAAI,cAAc,IAAI,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,IAAG,CAAC,OAAO,CAAC,SAAS,EAAE;YACrB,IAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;YAChE,OAAO,CAAC,SAAS,GAAM,WAAW,SAAI,cAAc,SAAI,gBAAkB,CAAC;SAC5E;QAED,QAAA,kBAAM,WAAW,EAAE,OAAO,CAAC,SAAC;QAE5B,KAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACvC,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC;QAC9B,KAAI,CAAC,gCAAgC,GAAG,EAAE,CAAC;QAC3C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,KAAI,CAAC,OAAO,IAAI,8BAA8B,CAAC;QACjF,KAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAC5D,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,IAAG,OAAO,CAAC,cAAc,KAAK,IAAI,IAAI,OAAO,CAAC,cAAc,KAAK,SAAS,EAAE;YAC1E,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;SAC9C;QACD,IAAG,OAAO,CAAC,gCAAgC,KAAK,IAAI,IAAI,OAAO,CAAC,gCAAgC,KAAK,SAAS,EAAE;YAC9G,KAAI,CAAC,gCAAgC,GAAG,OAAO,CAAC,gCAAgC,CAAC;SAClF;;IACH,CAAC;IACH,sCAAC;AAAD,CAAC,AA5CD,CAAqD,WAAW,CAAC,kBAAkB,GA4ClF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { Appliance, ApplianceArtifact, ApplianceDefinition, ApplianceDefinitionListResult, AppliancePatchable, ApplianceProviderAuthorization, BaseResource, ErrorResponse, GenericResource, Identity, Plan, PlanPatchable, Resource, Sku } from "../models/mappers";
|
|
2
|
-
//# sourceMappingURL=applianceDefinitionsMappers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applianceDefinitionsMappers.d.ts","sourceRoot":"","sources":["../../src/models/applianceDefinitionsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,kBAAkB,EAClB,8BAA8B,EAC9B,YAAY,EACZ,aAAa,EACb,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,GAAG,EACJ,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +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 license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export { Appliance, ApplianceArtifact, ApplianceDefinition, ApplianceDefinitionListResult, AppliancePatchable, ApplianceProviderAuthorization, BaseResource, ErrorResponse, GenericResource, Identity, Plan, PlanPatchable, Resource, Sku } from "../models/mappers";
|
|
9
|
-
//# sourceMappingURL=applianceDefinitionsMappers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applianceDefinitionsMappers.js","sourceRoot":"","sources":["../../src/models/applianceDefinitionsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,kBAAkB,EAClB,8BAA8B,EAC9B,YAAY,EACZ,aAAa,EACb,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,GAAG,EACJ,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { Appliance, ApplianceArtifact, ApplianceDefinition, ApplianceListResult, AppliancePatchable, ApplianceProviderAuthorization, BaseResource, ErrorResponse, GenericResource, Identity, Plan, PlanPatchable, Resource, Sku } from "../models/mappers";
|
|
2
|
-
//# sourceMappingURL=appliancesMappers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appliancesMappers.d.ts","sourceRoot":"","sources":["../../src/models/appliancesMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,8BAA8B,EAC9B,YAAY,EACZ,aAAa,EACb,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,GAAG,EACJ,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +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 license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export { Appliance, ApplianceArtifact, ApplianceDefinition, ApplianceListResult, AppliancePatchable, ApplianceProviderAuthorization, BaseResource, ErrorResponse, GenericResource, Identity, Plan, PlanPatchable, Resource, Sku } from "../models/mappers";
|
|
9
|
-
//# sourceMappingURL=appliancesMappers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appliancesMappers.js","sourceRoot":"","sources":["../../src/models/appliancesMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,8BAA8B,EAC9B,YAAY,EACZ,aAAa,EACb,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,GAAG,EACJ,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { ManagedApplicationClientContext } from "../managedApplicationClientContext";
|
|
5
|
-
/** Class representing a ApplianceDefinitions. */
|
|
6
|
-
export declare class ApplianceDefinitions {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a ApplianceDefinitions.
|
|
10
|
-
* @param {ManagedApplicationClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ManagedApplicationClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Gets the appliance definition.
|
|
15
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
17
|
-
* @param [options] The optional parameters
|
|
18
|
-
* @returns Promise<Models.ApplianceDefinitionsGetResponse>
|
|
19
|
-
*/
|
|
20
|
-
get(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsGetResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
get(resourceGroupName: string, applianceDefinitionName: string, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
27
|
-
/**
|
|
28
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
30
|
-
* @param options The optional parameters
|
|
31
|
-
* @param callback The callback
|
|
32
|
-
*/
|
|
33
|
-
get(resourceGroupName: string, applianceDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
34
|
-
/**
|
|
35
|
-
* Deletes the appliance definition.
|
|
36
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<msRest.RestResponse>
|
|
40
|
-
*/
|
|
41
|
-
deleteMethod(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new appliance definition.
|
|
44
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
46
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
47
|
-
* @param [options] The optional parameters
|
|
48
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>
|
|
49
|
-
*/
|
|
50
|
-
createOrUpdate(resourceGroupName: string, applianceDefinitionName: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>;
|
|
51
|
-
/**
|
|
52
|
-
* Lists the appliance definitions in a resource group.
|
|
53
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
-
* @param [options] The optional parameters
|
|
55
|
-
* @returns Promise<Models.ApplianceDefinitionsListByResourceGroupResponse>
|
|
56
|
-
*/
|
|
57
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsListByResourceGroupResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
-
* @param callback The callback
|
|
61
|
-
*/
|
|
62
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
63
|
-
/**
|
|
64
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
-
* @param options The optional parameters
|
|
66
|
-
* @param callback The callback
|
|
67
|
-
*/
|
|
68
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
69
|
-
/**
|
|
70
|
-
* Gets the appliance definition.
|
|
71
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
72
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
73
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
74
|
-
* @param [options] The optional parameters
|
|
75
|
-
* @returns Promise<Models.ApplianceDefinitionsGetByIdResponse>
|
|
76
|
-
*/
|
|
77
|
-
getById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsGetByIdResponse>;
|
|
78
|
-
/**
|
|
79
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
80
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
81
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
82
|
-
* @param callback The callback
|
|
83
|
-
*/
|
|
84
|
-
getById(applianceDefinitionId: string, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
85
|
-
/**
|
|
86
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
87
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
88
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
89
|
-
* @param options The optional parameters
|
|
90
|
-
* @param callback The callback
|
|
91
|
-
*/
|
|
92
|
-
getById(applianceDefinitionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
93
|
-
/**
|
|
94
|
-
* Deletes the appliance definition.
|
|
95
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
96
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
97
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
98
|
-
* @param [options] The optional parameters
|
|
99
|
-
* @returns Promise<msRest.RestResponse>
|
|
100
|
-
*/
|
|
101
|
-
deleteById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
102
|
-
/**
|
|
103
|
-
* Creates a new appliance definition.
|
|
104
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
105
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
106
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
107
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
108
|
-
* @param [options] The optional parameters
|
|
109
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>
|
|
110
|
-
*/
|
|
111
|
-
createOrUpdateById(applianceDefinitionId: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>;
|
|
112
|
-
/**
|
|
113
|
-
* Deletes the appliance definition.
|
|
114
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
116
|
-
* @param [options] The optional parameters
|
|
117
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
118
|
-
*/
|
|
119
|
-
beginDeleteMethod(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
120
|
-
/**
|
|
121
|
-
* Creates a new appliance definition.
|
|
122
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
124
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
125
|
-
* @param [options] The optional parameters
|
|
126
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
127
|
-
*/
|
|
128
|
-
beginCreateOrUpdate(resourceGroupName: string, applianceDefinitionName: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
129
|
-
/**
|
|
130
|
-
* Deletes the appliance definition.
|
|
131
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
132
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
133
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
134
|
-
* @param [options] The optional parameters
|
|
135
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
136
|
-
*/
|
|
137
|
-
beginDeleteById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
138
|
-
/**
|
|
139
|
-
* Creates a new appliance definition.
|
|
140
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
141
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
142
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
143
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
144
|
-
* @param [options] The optional parameters
|
|
145
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
146
|
-
*/
|
|
147
|
-
beginCreateOrUpdateById(applianceDefinitionId: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
148
|
-
/**
|
|
149
|
-
* Lists the appliance definitions in a resource group.
|
|
150
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
151
|
-
* @param [options] The optional parameters
|
|
152
|
-
* @returns Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse>
|
|
153
|
-
*/
|
|
154
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse>;
|
|
155
|
-
/**
|
|
156
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
157
|
-
* @param callback The callback
|
|
158
|
-
*/
|
|
159
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
160
|
-
/**
|
|
161
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
162
|
-
* @param options The optional parameters
|
|
163
|
-
* @param callback The callback
|
|
164
|
-
*/
|
|
165
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
166
|
-
}
|
|
167
|
-
//# sourceMappingURL=applianceDefinitions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applianceDefinitions.d.ts","sourceRoot":"","sources":["../../src/operations/applianceDefinitions.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,358 +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 tslib_1 from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/applianceDefinitionsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a ApplianceDefinitions. */
|
|
15
|
-
var ApplianceDefinitions = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a ApplianceDefinitions.
|
|
18
|
-
* @param {ManagedApplicationClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function ApplianceDefinitions(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
ApplianceDefinitions.prototype.get = function (resourceGroupName, applianceDefinitionName, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroupName: resourceGroupName,
|
|
26
|
-
applianceDefinitionName: applianceDefinitionName,
|
|
27
|
-
options: options
|
|
28
|
-
}, getOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Deletes the appliance definition.
|
|
32
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<msRest.RestResponse>
|
|
36
|
-
*/
|
|
37
|
-
ApplianceDefinitions.prototype.deleteMethod = function (resourceGroupName, applianceDefinitionName, options) {
|
|
38
|
-
return this.beginDeleteMethod(resourceGroupName, applianceDefinitionName, options)
|
|
39
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Creates a new appliance definition.
|
|
43
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
45
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
46
|
-
* @param [options] The optional parameters
|
|
47
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>
|
|
48
|
-
*/
|
|
49
|
-
ApplianceDefinitions.prototype.createOrUpdate = function (resourceGroupName, applianceDefinitionName, parameters, options) {
|
|
50
|
-
return this.beginCreateOrUpdate(resourceGroupName, applianceDefinitionName, parameters, options)
|
|
51
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
52
|
-
};
|
|
53
|
-
ApplianceDefinitions.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
54
|
-
return this.client.sendOperationRequest({
|
|
55
|
-
resourceGroupName: resourceGroupName,
|
|
56
|
-
options: options
|
|
57
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
58
|
-
};
|
|
59
|
-
ApplianceDefinitions.prototype.getById = function (applianceDefinitionId, options, callback) {
|
|
60
|
-
return this.client.sendOperationRequest({
|
|
61
|
-
applianceDefinitionId: applianceDefinitionId,
|
|
62
|
-
options: options
|
|
63
|
-
}, getByIdOperationSpec, callback);
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Deletes the appliance definition.
|
|
67
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
68
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
69
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
70
|
-
* @param [options] The optional parameters
|
|
71
|
-
* @returns Promise<msRest.RestResponse>
|
|
72
|
-
*/
|
|
73
|
-
ApplianceDefinitions.prototype.deleteById = function (applianceDefinitionId, options) {
|
|
74
|
-
return this.beginDeleteById(applianceDefinitionId, options)
|
|
75
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Creates a new appliance definition.
|
|
79
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
80
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
81
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
82
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
83
|
-
* @param [options] The optional parameters
|
|
84
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>
|
|
85
|
-
*/
|
|
86
|
-
ApplianceDefinitions.prototype.createOrUpdateById = function (applianceDefinitionId, parameters, options) {
|
|
87
|
-
return this.beginCreateOrUpdateById(applianceDefinitionId, parameters, options)
|
|
88
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Deletes the appliance definition.
|
|
92
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
94
|
-
* @param [options] The optional parameters
|
|
95
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
96
|
-
*/
|
|
97
|
-
ApplianceDefinitions.prototype.beginDeleteMethod = function (resourceGroupName, applianceDefinitionName, options) {
|
|
98
|
-
return this.client.sendLRORequest({
|
|
99
|
-
resourceGroupName: resourceGroupName,
|
|
100
|
-
applianceDefinitionName: applianceDefinitionName,
|
|
101
|
-
options: options
|
|
102
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Creates a new appliance definition.
|
|
106
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
107
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
108
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
109
|
-
* @param [options] The optional parameters
|
|
110
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
111
|
-
*/
|
|
112
|
-
ApplianceDefinitions.prototype.beginCreateOrUpdate = function (resourceGroupName, applianceDefinitionName, parameters, options) {
|
|
113
|
-
return this.client.sendLRORequest({
|
|
114
|
-
resourceGroupName: resourceGroupName,
|
|
115
|
-
applianceDefinitionName: applianceDefinitionName,
|
|
116
|
-
parameters: parameters,
|
|
117
|
-
options: options
|
|
118
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Deletes the appliance definition.
|
|
122
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
123
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
124
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
125
|
-
* @param [options] The optional parameters
|
|
126
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
127
|
-
*/
|
|
128
|
-
ApplianceDefinitions.prototype.beginDeleteById = function (applianceDefinitionId, options) {
|
|
129
|
-
return this.client.sendLRORequest({
|
|
130
|
-
applianceDefinitionId: applianceDefinitionId,
|
|
131
|
-
options: options
|
|
132
|
-
}, beginDeleteByIdOperationSpec, options);
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Creates a new appliance definition.
|
|
136
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
137
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
138
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
139
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
140
|
-
* @param [options] The optional parameters
|
|
141
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
142
|
-
*/
|
|
143
|
-
ApplianceDefinitions.prototype.beginCreateOrUpdateById = function (applianceDefinitionId, parameters, options) {
|
|
144
|
-
return this.client.sendLRORequest({
|
|
145
|
-
applianceDefinitionId: applianceDefinitionId,
|
|
146
|
-
parameters: parameters,
|
|
147
|
-
options: options
|
|
148
|
-
}, beginCreateOrUpdateByIdOperationSpec, options);
|
|
149
|
-
};
|
|
150
|
-
ApplianceDefinitions.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
151
|
-
return this.client.sendOperationRequest({
|
|
152
|
-
nextPageLink: nextPageLink,
|
|
153
|
-
options: options
|
|
154
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
155
|
-
};
|
|
156
|
-
return ApplianceDefinitions;
|
|
157
|
-
}());
|
|
158
|
-
export { ApplianceDefinitions };
|
|
159
|
-
// Operation Specifications
|
|
160
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
161
|
-
var getOperationSpec = {
|
|
162
|
-
httpMethod: "GET",
|
|
163
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
164
|
-
urlParameters: [
|
|
165
|
-
Parameters.resourceGroupName,
|
|
166
|
-
Parameters.applianceDefinitionName,
|
|
167
|
-
Parameters.subscriptionId
|
|
168
|
-
],
|
|
169
|
-
queryParameters: [
|
|
170
|
-
Parameters.apiVersion
|
|
171
|
-
],
|
|
172
|
-
headerParameters: [
|
|
173
|
-
Parameters.acceptLanguage
|
|
174
|
-
],
|
|
175
|
-
responses: {
|
|
176
|
-
200: {
|
|
177
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
178
|
-
},
|
|
179
|
-
404: {},
|
|
180
|
-
default: {
|
|
181
|
-
bodyMapper: Mappers.ErrorResponse
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
serializer: serializer
|
|
185
|
-
};
|
|
186
|
-
var listByResourceGroupOperationSpec = {
|
|
187
|
-
httpMethod: "GET",
|
|
188
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions",
|
|
189
|
-
urlParameters: [
|
|
190
|
-
Parameters.resourceGroupName,
|
|
191
|
-
Parameters.subscriptionId
|
|
192
|
-
],
|
|
193
|
-
queryParameters: [
|
|
194
|
-
Parameters.apiVersion
|
|
195
|
-
],
|
|
196
|
-
headerParameters: [
|
|
197
|
-
Parameters.acceptLanguage
|
|
198
|
-
],
|
|
199
|
-
responses: {
|
|
200
|
-
200: {
|
|
201
|
-
bodyMapper: Mappers.ApplianceDefinitionListResult
|
|
202
|
-
},
|
|
203
|
-
default: {
|
|
204
|
-
bodyMapper: Mappers.ErrorResponse
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
serializer: serializer
|
|
208
|
-
};
|
|
209
|
-
var getByIdOperationSpec = {
|
|
210
|
-
httpMethod: "GET",
|
|
211
|
-
path: "{applianceDefinitionId}",
|
|
212
|
-
urlParameters: [
|
|
213
|
-
Parameters.applianceDefinitionId
|
|
214
|
-
],
|
|
215
|
-
queryParameters: [
|
|
216
|
-
Parameters.apiVersion
|
|
217
|
-
],
|
|
218
|
-
headerParameters: [
|
|
219
|
-
Parameters.acceptLanguage
|
|
220
|
-
],
|
|
221
|
-
responses: {
|
|
222
|
-
200: {
|
|
223
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
224
|
-
},
|
|
225
|
-
404: {},
|
|
226
|
-
default: {
|
|
227
|
-
bodyMapper: Mappers.ErrorResponse
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
serializer: serializer
|
|
231
|
-
};
|
|
232
|
-
var beginDeleteMethodOperationSpec = {
|
|
233
|
-
httpMethod: "DELETE",
|
|
234
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
235
|
-
urlParameters: [
|
|
236
|
-
Parameters.resourceGroupName,
|
|
237
|
-
Parameters.applianceDefinitionName,
|
|
238
|
-
Parameters.subscriptionId
|
|
239
|
-
],
|
|
240
|
-
queryParameters: [
|
|
241
|
-
Parameters.apiVersion
|
|
242
|
-
],
|
|
243
|
-
headerParameters: [
|
|
244
|
-
Parameters.acceptLanguage
|
|
245
|
-
],
|
|
246
|
-
responses: {
|
|
247
|
-
200: {},
|
|
248
|
-
202: {},
|
|
249
|
-
204: {},
|
|
250
|
-
default: {
|
|
251
|
-
bodyMapper: Mappers.ErrorResponse
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
serializer: serializer
|
|
255
|
-
};
|
|
256
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
257
|
-
httpMethod: "PUT",
|
|
258
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
259
|
-
urlParameters: [
|
|
260
|
-
Parameters.resourceGroupName,
|
|
261
|
-
Parameters.applianceDefinitionName,
|
|
262
|
-
Parameters.subscriptionId
|
|
263
|
-
],
|
|
264
|
-
queryParameters: [
|
|
265
|
-
Parameters.apiVersion
|
|
266
|
-
],
|
|
267
|
-
headerParameters: [
|
|
268
|
-
Parameters.acceptLanguage
|
|
269
|
-
],
|
|
270
|
-
requestBody: {
|
|
271
|
-
parameterPath: "parameters",
|
|
272
|
-
mapper: tslib_1.__assign({}, Mappers.ApplianceDefinition, { required: true })
|
|
273
|
-
},
|
|
274
|
-
responses: {
|
|
275
|
-
200: {
|
|
276
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
277
|
-
},
|
|
278
|
-
201: {
|
|
279
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
280
|
-
},
|
|
281
|
-
default: {
|
|
282
|
-
bodyMapper: Mappers.ErrorResponse
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
serializer: serializer
|
|
286
|
-
};
|
|
287
|
-
var beginDeleteByIdOperationSpec = {
|
|
288
|
-
httpMethod: "DELETE",
|
|
289
|
-
path: "{applianceDefinitionId}",
|
|
290
|
-
urlParameters: [
|
|
291
|
-
Parameters.applianceDefinitionId
|
|
292
|
-
],
|
|
293
|
-
queryParameters: [
|
|
294
|
-
Parameters.apiVersion
|
|
295
|
-
],
|
|
296
|
-
headerParameters: [
|
|
297
|
-
Parameters.acceptLanguage
|
|
298
|
-
],
|
|
299
|
-
responses: {
|
|
300
|
-
200: {},
|
|
301
|
-
202: {},
|
|
302
|
-
204: {},
|
|
303
|
-
default: {
|
|
304
|
-
bodyMapper: Mappers.ErrorResponse
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
serializer: serializer
|
|
308
|
-
};
|
|
309
|
-
var beginCreateOrUpdateByIdOperationSpec = {
|
|
310
|
-
httpMethod: "PUT",
|
|
311
|
-
path: "{applianceDefinitionId}",
|
|
312
|
-
urlParameters: [
|
|
313
|
-
Parameters.applianceDefinitionId
|
|
314
|
-
],
|
|
315
|
-
queryParameters: [
|
|
316
|
-
Parameters.apiVersion
|
|
317
|
-
],
|
|
318
|
-
headerParameters: [
|
|
319
|
-
Parameters.acceptLanguage
|
|
320
|
-
],
|
|
321
|
-
requestBody: {
|
|
322
|
-
parameterPath: "parameters",
|
|
323
|
-
mapper: tslib_1.__assign({}, Mappers.ApplianceDefinition, { required: true })
|
|
324
|
-
},
|
|
325
|
-
responses: {
|
|
326
|
-
200: {
|
|
327
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
328
|
-
},
|
|
329
|
-
201: {
|
|
330
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
331
|
-
},
|
|
332
|
-
default: {
|
|
333
|
-
bodyMapper: Mappers.ErrorResponse
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
serializer: serializer
|
|
337
|
-
};
|
|
338
|
-
var listByResourceGroupNextOperationSpec = {
|
|
339
|
-
httpMethod: "GET",
|
|
340
|
-
baseUrl: "https://management.azure.com",
|
|
341
|
-
path: "{nextLink}",
|
|
342
|
-
urlParameters: [
|
|
343
|
-
Parameters.nextPageLink
|
|
344
|
-
],
|
|
345
|
-
headerParameters: [
|
|
346
|
-
Parameters.acceptLanguage
|
|
347
|
-
],
|
|
348
|
-
responses: {
|
|
349
|
-
200: {
|
|
350
|
-
bodyMapper: Mappers.ApplianceDefinitionListResult
|
|
351
|
-
},
|
|
352
|
-
default: {
|
|
353
|
-
bodyMapper: Mappers.ErrorResponse
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
serializer: serializer
|
|
357
|
-
};
|
|
358
|
-
//# sourceMappingURL=applianceDefinitions.js.map
|