@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,24 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
Appliance,
|
|
11
|
-
ApplianceArtifact,
|
|
12
|
-
ApplianceDefinition,
|
|
13
|
-
ApplianceDefinitionListResult,
|
|
14
|
-
AppliancePatchable,
|
|
15
|
-
ApplianceProviderAuthorization,
|
|
16
|
-
BaseResource,
|
|
17
|
-
ErrorResponse,
|
|
18
|
-
GenericResource,
|
|
19
|
-
Identity,
|
|
20
|
-
Plan,
|
|
21
|
-
PlanPatchable,
|
|
22
|
-
Resource,
|
|
23
|
-
Sku
|
|
24
|
-
} from "../models/mappers";
|
|
@@ -1,24 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
Appliance,
|
|
11
|
-
ApplianceArtifact,
|
|
12
|
-
ApplianceDefinition,
|
|
13
|
-
ApplianceListResult,
|
|
14
|
-
AppliancePatchable,
|
|
15
|
-
ApplianceProviderAuthorization,
|
|
16
|
-
BaseResource,
|
|
17
|
-
ErrorResponse,
|
|
18
|
-
GenericResource,
|
|
19
|
-
Identity,
|
|
20
|
-
Plan,
|
|
21
|
-
PlanPatchable,
|
|
22
|
-
Resource,
|
|
23
|
-
Sku
|
|
24
|
-
} from "../models/mappers";
|
|
@@ -1,492 +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
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/applianceDefinitionsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { ManagedApplicationClientContext } from "../managedApplicationClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a ApplianceDefinitions. */
|
|
19
|
-
export class ApplianceDefinitions {
|
|
20
|
-
private readonly client: ManagedApplicationClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a ApplianceDefinitions.
|
|
24
|
-
* @param {ManagedApplicationClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: ManagedApplicationClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Gets 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.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.ApplianceDefinitionsGetResponse>
|
|
36
|
-
*/
|
|
37
|
-
get(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsGetResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
get(resourceGroupName: string, applianceDefinitionName: string, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
47
|
-
* @param options The optional parameters
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
get(resourceGroupName: string, applianceDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
51
|
-
get(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplianceDefinition>, callback?: msRest.ServiceCallback<Models.ApplianceDefinition>): Promise<Models.ApplianceDefinitionsGetResponse> {
|
|
52
|
-
return this.client.sendOperationRequest(
|
|
53
|
-
{
|
|
54
|
-
resourceGroupName,
|
|
55
|
-
applianceDefinitionName,
|
|
56
|
-
options
|
|
57
|
-
},
|
|
58
|
-
getOperationSpec,
|
|
59
|
-
callback) as Promise<Models.ApplianceDefinitionsGetResponse>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Deletes the appliance definition.
|
|
64
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<msRest.RestResponse>
|
|
68
|
-
*/
|
|
69
|
-
deleteMethod(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
70
|
-
return this.beginDeleteMethod(resourceGroupName,applianceDefinitionName,options)
|
|
71
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Creates a new appliance definition.
|
|
76
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
78
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
79
|
-
* @param [options] The optional parameters
|
|
80
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>
|
|
81
|
-
*/
|
|
82
|
-
createOrUpdate(resourceGroupName: string, applianceDefinitionName: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse> {
|
|
83
|
-
return this.beginCreateOrUpdate(resourceGroupName,applianceDefinitionName,parameters,options)
|
|
84
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ApplianceDefinitionsCreateOrUpdateResponse>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Lists the appliance definitions in a resource group.
|
|
89
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
-
* @param [options] The optional parameters
|
|
91
|
-
* @returns Promise<Models.ApplianceDefinitionsListByResourceGroupResponse>
|
|
92
|
-
*/
|
|
93
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsListByResourceGroupResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
96
|
-
* @param callback The callback
|
|
97
|
-
*/
|
|
98
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
99
|
-
/**
|
|
100
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
-
* @param options The optional parameters
|
|
102
|
-
* @param callback The callback
|
|
103
|
-
*/
|
|
104
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
105
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplianceDefinitionListResult>, callback?: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): Promise<Models.ApplianceDefinitionsListByResourceGroupResponse> {
|
|
106
|
-
return this.client.sendOperationRequest(
|
|
107
|
-
{
|
|
108
|
-
resourceGroupName,
|
|
109
|
-
options
|
|
110
|
-
},
|
|
111
|
-
listByResourceGroupOperationSpec,
|
|
112
|
-
callback) as Promise<Models.ApplianceDefinitionsListByResourceGroupResponse>;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Gets the appliance definition.
|
|
117
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
118
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
119
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
120
|
-
* @param [options] The optional parameters
|
|
121
|
-
* @returns Promise<Models.ApplianceDefinitionsGetByIdResponse>
|
|
122
|
-
*/
|
|
123
|
-
getById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsGetByIdResponse>;
|
|
124
|
-
/**
|
|
125
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
126
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
127
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
128
|
-
* @param callback The callback
|
|
129
|
-
*/
|
|
130
|
-
getById(applianceDefinitionId: string, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
131
|
-
/**
|
|
132
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
133
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
134
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
135
|
-
* @param options The optional parameters
|
|
136
|
-
* @param callback The callback
|
|
137
|
-
*/
|
|
138
|
-
getById(applianceDefinitionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinition>): void;
|
|
139
|
-
getById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplianceDefinition>, callback?: msRest.ServiceCallback<Models.ApplianceDefinition>): Promise<Models.ApplianceDefinitionsGetByIdResponse> {
|
|
140
|
-
return this.client.sendOperationRequest(
|
|
141
|
-
{
|
|
142
|
-
applianceDefinitionId,
|
|
143
|
-
options
|
|
144
|
-
},
|
|
145
|
-
getByIdOperationSpec,
|
|
146
|
-
callback) as Promise<Models.ApplianceDefinitionsGetByIdResponse>;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Deletes the appliance definition.
|
|
151
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
152
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
153
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
154
|
-
* @param [options] The optional parameters
|
|
155
|
-
* @returns Promise<msRest.RestResponse>
|
|
156
|
-
*/
|
|
157
|
-
deleteById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
158
|
-
return this.beginDeleteById(applianceDefinitionId,options)
|
|
159
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Creates a new appliance definition.
|
|
164
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
165
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
166
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
167
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
168
|
-
* @param [options] The optional parameters
|
|
169
|
-
* @returns Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>
|
|
170
|
-
*/
|
|
171
|
-
createOrUpdateById(applianceDefinitionId: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse> {
|
|
172
|
-
return this.beginCreateOrUpdateById(applianceDefinitionId,parameters,options)
|
|
173
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ApplianceDefinitionsCreateOrUpdateByIdResponse>;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Deletes the appliance definition.
|
|
178
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
179
|
-
* @param applianceDefinitionName The name of the appliance definition to delete.
|
|
180
|
-
* @param [options] The optional parameters
|
|
181
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
182
|
-
*/
|
|
183
|
-
beginDeleteMethod(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
184
|
-
return this.client.sendLRORequest(
|
|
185
|
-
{
|
|
186
|
-
resourceGroupName,
|
|
187
|
-
applianceDefinitionName,
|
|
188
|
-
options
|
|
189
|
-
},
|
|
190
|
-
beginDeleteMethodOperationSpec,
|
|
191
|
-
options);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Creates a new appliance definition.
|
|
196
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
197
|
-
* @param applianceDefinitionName The name of the appliance definition.
|
|
198
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
199
|
-
* @param [options] The optional parameters
|
|
200
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
201
|
-
*/
|
|
202
|
-
beginCreateOrUpdate(resourceGroupName: string, applianceDefinitionName: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
203
|
-
return this.client.sendLRORequest(
|
|
204
|
-
{
|
|
205
|
-
resourceGroupName,
|
|
206
|
-
applianceDefinitionName,
|
|
207
|
-
parameters,
|
|
208
|
-
options
|
|
209
|
-
},
|
|
210
|
-
beginCreateOrUpdateOperationSpec,
|
|
211
|
-
options);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Deletes the appliance definition.
|
|
216
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
217
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
218
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
219
|
-
* @param [options] The optional parameters
|
|
220
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
221
|
-
*/
|
|
222
|
-
beginDeleteById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
223
|
-
return this.client.sendLRORequest(
|
|
224
|
-
{
|
|
225
|
-
applianceDefinitionId,
|
|
226
|
-
options
|
|
227
|
-
},
|
|
228
|
-
beginDeleteByIdOperationSpec,
|
|
229
|
-
options);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Creates a new appliance definition.
|
|
234
|
-
* @param applianceDefinitionId The fully qualified ID of the appliance definition, including the
|
|
235
|
-
* appliance name and the appliance definition resource type. Use the format,
|
|
236
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
|
|
237
|
-
* @param parameters Parameters supplied to the create or update an appliance definition.
|
|
238
|
-
* @param [options] The optional parameters
|
|
239
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
240
|
-
*/
|
|
241
|
-
beginCreateOrUpdateById(applianceDefinitionId: string, parameters: Models.ApplianceDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
242
|
-
return this.client.sendLRORequest(
|
|
243
|
-
{
|
|
244
|
-
applianceDefinitionId,
|
|
245
|
-
parameters,
|
|
246
|
-
options
|
|
247
|
-
},
|
|
248
|
-
beginCreateOrUpdateByIdOperationSpec,
|
|
249
|
-
options);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Lists the appliance definitions in a resource group.
|
|
254
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
255
|
-
* @param [options] The optional parameters
|
|
256
|
-
* @returns Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse>
|
|
257
|
-
*/
|
|
258
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse>;
|
|
259
|
-
/**
|
|
260
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
261
|
-
* @param callback The callback
|
|
262
|
-
*/
|
|
263
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
264
|
-
/**
|
|
265
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
266
|
-
* @param options The optional parameters
|
|
267
|
-
* @param callback The callback
|
|
268
|
-
*/
|
|
269
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): void;
|
|
270
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplianceDefinitionListResult>, callback?: msRest.ServiceCallback<Models.ApplianceDefinitionListResult>): Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse> {
|
|
271
|
-
return this.client.sendOperationRequest(
|
|
272
|
-
{
|
|
273
|
-
nextPageLink,
|
|
274
|
-
options
|
|
275
|
-
},
|
|
276
|
-
listByResourceGroupNextOperationSpec,
|
|
277
|
-
callback) as Promise<Models.ApplianceDefinitionsListByResourceGroupNextResponse>;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
// Operation Specifications
|
|
282
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
283
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
284
|
-
httpMethod: "GET",
|
|
285
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
286
|
-
urlParameters: [
|
|
287
|
-
Parameters.resourceGroupName,
|
|
288
|
-
Parameters.applianceDefinitionName,
|
|
289
|
-
Parameters.subscriptionId
|
|
290
|
-
],
|
|
291
|
-
queryParameters: [
|
|
292
|
-
Parameters.apiVersion
|
|
293
|
-
],
|
|
294
|
-
headerParameters: [
|
|
295
|
-
Parameters.acceptLanguage
|
|
296
|
-
],
|
|
297
|
-
responses: {
|
|
298
|
-
200: {
|
|
299
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
300
|
-
},
|
|
301
|
-
404: {},
|
|
302
|
-
default: {
|
|
303
|
-
bodyMapper: Mappers.ErrorResponse
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
serializer
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
310
|
-
httpMethod: "GET",
|
|
311
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions",
|
|
312
|
-
urlParameters: [
|
|
313
|
-
Parameters.resourceGroupName,
|
|
314
|
-
Parameters.subscriptionId
|
|
315
|
-
],
|
|
316
|
-
queryParameters: [
|
|
317
|
-
Parameters.apiVersion
|
|
318
|
-
],
|
|
319
|
-
headerParameters: [
|
|
320
|
-
Parameters.acceptLanguage
|
|
321
|
-
],
|
|
322
|
-
responses: {
|
|
323
|
-
200: {
|
|
324
|
-
bodyMapper: Mappers.ApplianceDefinitionListResult
|
|
325
|
-
},
|
|
326
|
-
default: {
|
|
327
|
-
bodyMapper: Mappers.ErrorResponse
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
serializer
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
const getByIdOperationSpec: msRest.OperationSpec = {
|
|
334
|
-
httpMethod: "GET",
|
|
335
|
-
path: "{applianceDefinitionId}",
|
|
336
|
-
urlParameters: [
|
|
337
|
-
Parameters.applianceDefinitionId
|
|
338
|
-
],
|
|
339
|
-
queryParameters: [
|
|
340
|
-
Parameters.apiVersion
|
|
341
|
-
],
|
|
342
|
-
headerParameters: [
|
|
343
|
-
Parameters.acceptLanguage
|
|
344
|
-
],
|
|
345
|
-
responses: {
|
|
346
|
-
200: {
|
|
347
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
348
|
-
},
|
|
349
|
-
404: {},
|
|
350
|
-
default: {
|
|
351
|
-
bodyMapper: Mappers.ErrorResponse
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
serializer
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
358
|
-
httpMethod: "DELETE",
|
|
359
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
360
|
-
urlParameters: [
|
|
361
|
-
Parameters.resourceGroupName,
|
|
362
|
-
Parameters.applianceDefinitionName,
|
|
363
|
-
Parameters.subscriptionId
|
|
364
|
-
],
|
|
365
|
-
queryParameters: [
|
|
366
|
-
Parameters.apiVersion
|
|
367
|
-
],
|
|
368
|
-
headerParameters: [
|
|
369
|
-
Parameters.acceptLanguage
|
|
370
|
-
],
|
|
371
|
-
responses: {
|
|
372
|
-
200: {},
|
|
373
|
-
202: {},
|
|
374
|
-
204: {},
|
|
375
|
-
default: {
|
|
376
|
-
bodyMapper: Mappers.ErrorResponse
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
serializer
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
383
|
-
httpMethod: "PUT",
|
|
384
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applianceDefinitions/{applianceDefinitionName}",
|
|
385
|
-
urlParameters: [
|
|
386
|
-
Parameters.resourceGroupName,
|
|
387
|
-
Parameters.applianceDefinitionName,
|
|
388
|
-
Parameters.subscriptionId
|
|
389
|
-
],
|
|
390
|
-
queryParameters: [
|
|
391
|
-
Parameters.apiVersion
|
|
392
|
-
],
|
|
393
|
-
headerParameters: [
|
|
394
|
-
Parameters.acceptLanguage
|
|
395
|
-
],
|
|
396
|
-
requestBody: {
|
|
397
|
-
parameterPath: "parameters",
|
|
398
|
-
mapper: {
|
|
399
|
-
...Mappers.ApplianceDefinition,
|
|
400
|
-
required: true
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
responses: {
|
|
404
|
-
200: {
|
|
405
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
406
|
-
},
|
|
407
|
-
201: {
|
|
408
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
409
|
-
},
|
|
410
|
-
default: {
|
|
411
|
-
bodyMapper: Mappers.ErrorResponse
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
|
-
serializer
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
const beginDeleteByIdOperationSpec: msRest.OperationSpec = {
|
|
418
|
-
httpMethod: "DELETE",
|
|
419
|
-
path: "{applianceDefinitionId}",
|
|
420
|
-
urlParameters: [
|
|
421
|
-
Parameters.applianceDefinitionId
|
|
422
|
-
],
|
|
423
|
-
queryParameters: [
|
|
424
|
-
Parameters.apiVersion
|
|
425
|
-
],
|
|
426
|
-
headerParameters: [
|
|
427
|
-
Parameters.acceptLanguage
|
|
428
|
-
],
|
|
429
|
-
responses: {
|
|
430
|
-
200: {},
|
|
431
|
-
202: {},
|
|
432
|
-
204: {},
|
|
433
|
-
default: {
|
|
434
|
-
bodyMapper: Mappers.ErrorResponse
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
serializer
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
const beginCreateOrUpdateByIdOperationSpec: msRest.OperationSpec = {
|
|
441
|
-
httpMethod: "PUT",
|
|
442
|
-
path: "{applianceDefinitionId}",
|
|
443
|
-
urlParameters: [
|
|
444
|
-
Parameters.applianceDefinitionId
|
|
445
|
-
],
|
|
446
|
-
queryParameters: [
|
|
447
|
-
Parameters.apiVersion
|
|
448
|
-
],
|
|
449
|
-
headerParameters: [
|
|
450
|
-
Parameters.acceptLanguage
|
|
451
|
-
],
|
|
452
|
-
requestBody: {
|
|
453
|
-
parameterPath: "parameters",
|
|
454
|
-
mapper: {
|
|
455
|
-
...Mappers.ApplianceDefinition,
|
|
456
|
-
required: true
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
responses: {
|
|
460
|
-
200: {
|
|
461
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
462
|
-
},
|
|
463
|
-
201: {
|
|
464
|
-
bodyMapper: Mappers.ApplianceDefinition
|
|
465
|
-
},
|
|
466
|
-
default: {
|
|
467
|
-
bodyMapper: Mappers.ErrorResponse
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
serializer
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
474
|
-
httpMethod: "GET",
|
|
475
|
-
baseUrl: "https://management.azure.com",
|
|
476
|
-
path: "{nextLink}",
|
|
477
|
-
urlParameters: [
|
|
478
|
-
Parameters.nextPageLink
|
|
479
|
-
],
|
|
480
|
-
headerParameters: [
|
|
481
|
-
Parameters.acceptLanguage
|
|
482
|
-
],
|
|
483
|
-
responses: {
|
|
484
|
-
200: {
|
|
485
|
-
bodyMapper: Mappers.ApplianceDefinitionListResult
|
|
486
|
-
},
|
|
487
|
-
default: {
|
|
488
|
-
bodyMapper: Mappers.ErrorResponse
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
serializer
|
|
492
|
-
};
|