@azure/arm-managedapplications 1.1.0 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +63 -80
- 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 +55 -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 -1865
- 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 -58
- package/esm/managedApplicationClient.d.ts.map +0 -1
- package/esm/managedApplicationClient.js +0 -92
- package/esm/managedApplicationClient.js.map +0 -1
- package/esm/managedApplicationClientContext.d.ts +0 -22
- package/esm/managedApplicationClientContext.d.ts.map +0 -1
- package/esm/managedApplicationClientContext.js +0 -61
- 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 -144
- package/src/managedApplicationClientContext.ts +0 -68
- 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
package/esm/models/index.d.ts
CHANGED
|
@@ -1,825 +1,423 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* The plan name.
|
|
10
|
-
*/
|
|
11
|
-
name: string;
|
|
12
|
-
/**
|
|
13
|
-
* The publisher ID.
|
|
14
|
-
*/
|
|
15
|
-
publisher: string;
|
|
16
|
-
/**
|
|
17
|
-
* The product code.
|
|
18
|
-
*/
|
|
19
|
-
product: string;
|
|
20
|
-
/**
|
|
21
|
-
* The promotion code.
|
|
22
|
-
*/
|
|
23
|
-
promotionCode?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The plan's version.
|
|
26
|
-
*/
|
|
27
|
-
version: string;
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** Result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
3
|
+
export interface OperationListResult {
|
|
4
|
+
/** List of Microsoft.Solutions operations. */
|
|
5
|
+
value?: Operation[];
|
|
6
|
+
/** URL to get the next set of operation list results if there are any. */
|
|
7
|
+
nextLink?: string;
|
|
28
8
|
}
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
|
|
9
|
+
/** Microsoft.Solutions operation */
|
|
10
|
+
export interface Operation {
|
|
11
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
|
12
|
+
name?: string;
|
|
13
|
+
/** The object that represents the operation. */
|
|
14
|
+
display?: OperationDisplay;
|
|
15
|
+
}
|
|
16
|
+
/** The object that represents the operation. */
|
|
17
|
+
export interface OperationDisplay {
|
|
18
|
+
/** Service provider: Microsoft.Solutions */
|
|
19
|
+
provider?: string;
|
|
20
|
+
/** Resource on which the operation is performed: Application, JitRequest, etc. */
|
|
21
|
+
resource?: string;
|
|
22
|
+
/** Operation type: Read, write, delete, etc. */
|
|
23
|
+
operation?: string;
|
|
24
|
+
}
|
|
25
|
+
/** Resource information. */
|
|
26
|
+
export interface Resource {
|
|
33
27
|
/**
|
|
34
28
|
* Resource ID
|
|
35
|
-
*
|
|
29
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
36
30
|
*/
|
|
37
31
|
readonly id?: string;
|
|
38
32
|
/**
|
|
39
33
|
* Resource name
|
|
40
|
-
*
|
|
34
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
41
35
|
*/
|
|
42
36
|
readonly name?: string;
|
|
43
37
|
/**
|
|
44
38
|
* Resource type
|
|
45
|
-
*
|
|
39
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
40
|
*/
|
|
47
41
|
readonly type?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Resource location
|
|
50
|
-
*/
|
|
42
|
+
/** Resource location */
|
|
51
43
|
location?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Resource tags
|
|
54
|
-
*/
|
|
44
|
+
/** Resource tags */
|
|
55
45
|
tags?: {
|
|
56
46
|
[propertyName: string]: string;
|
|
57
47
|
};
|
|
58
48
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Resource information.
|
|
61
|
-
*/
|
|
62
|
-
export interface GenericResource extends Resource {
|
|
63
|
-
/**
|
|
64
|
-
* ID of the resource that manages this resource.
|
|
65
|
-
*/
|
|
66
|
-
managedBy?: string;
|
|
67
|
-
/**
|
|
68
|
-
* The SKU of the resource.
|
|
69
|
-
*/
|
|
70
|
-
sku?: Sku;
|
|
71
|
-
/**
|
|
72
|
-
* The identity of the resource.
|
|
73
|
-
*/
|
|
74
|
-
identity?: Identity;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Information about appliance.
|
|
78
|
-
*/
|
|
79
|
-
export interface Appliance extends GenericResource {
|
|
80
|
-
/**
|
|
81
|
-
* The managed resource group Id.
|
|
82
|
-
*/
|
|
83
|
-
managedResourceGroupId: string;
|
|
84
|
-
/**
|
|
85
|
-
* The fully qualified path of appliance definition Id.
|
|
86
|
-
*/
|
|
87
|
-
applianceDefinitionId?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Name and value pairs that define the appliance parameters. It can be a JObject or a well
|
|
90
|
-
* formed JSON string.
|
|
91
|
-
*/
|
|
92
|
-
parameters?: any;
|
|
93
|
-
/**
|
|
94
|
-
* Name and value pairs that define the appliance outputs.
|
|
95
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
96
|
-
*/
|
|
97
|
-
readonly outputs?: any;
|
|
98
|
-
/**
|
|
99
|
-
* The appliance provisioning state. Possible values include: 'Accepted', 'Running', 'Ready',
|
|
100
|
-
* 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
|
|
101
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
102
|
-
*/
|
|
103
|
-
readonly provisioningState?: ProvisioningState;
|
|
104
|
-
/**
|
|
105
|
-
* The blob URI where the UI definition file is located.
|
|
106
|
-
*/
|
|
107
|
-
uiDefinitionUri?: string;
|
|
108
|
-
/**
|
|
109
|
-
* The plan information.
|
|
110
|
-
*/
|
|
111
|
-
plan?: Plan;
|
|
112
|
-
/**
|
|
113
|
-
* The kind of the appliance. Allowed values are MarketPlace and ServiceCatalog.
|
|
114
|
-
*/
|
|
115
|
-
kind?: string;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Plan for the appliance.
|
|
119
|
-
*/
|
|
120
|
-
export interface PlanPatchable {
|
|
121
|
-
/**
|
|
122
|
-
* The plan name.
|
|
123
|
-
*/
|
|
124
|
-
name?: string;
|
|
125
|
-
/**
|
|
126
|
-
* The publisher ID.
|
|
127
|
-
*/
|
|
128
|
-
publisher?: string;
|
|
129
|
-
/**
|
|
130
|
-
* The product code.
|
|
131
|
-
*/
|
|
132
|
-
product?: string;
|
|
133
|
-
/**
|
|
134
|
-
* The promotion code.
|
|
135
|
-
*/
|
|
136
|
-
promotionCode?: string;
|
|
137
|
-
/**
|
|
138
|
-
* The plan's version.
|
|
139
|
-
*/
|
|
140
|
-
version?: string;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Information about appliance.
|
|
144
|
-
*/
|
|
145
|
-
export interface AppliancePatchable extends GenericResource {
|
|
146
|
-
/**
|
|
147
|
-
* The managed resource group Id.
|
|
148
|
-
*/
|
|
149
|
-
managedResourceGroupId?: string;
|
|
150
|
-
/**
|
|
151
|
-
* The fully qualified path of appliance definition Id.
|
|
152
|
-
*/
|
|
153
|
-
applianceDefinitionId?: string;
|
|
154
|
-
/**
|
|
155
|
-
* Name and value pairs that define the appliance parameters. It can be a JObject or a well
|
|
156
|
-
* formed JSON string.
|
|
157
|
-
*/
|
|
158
|
-
parameters?: any;
|
|
159
|
-
/**
|
|
160
|
-
* Name and value pairs that define the appliance outputs.
|
|
161
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
162
|
-
*/
|
|
163
|
-
readonly outputs?: any;
|
|
164
|
-
/**
|
|
165
|
-
* The appliance provisioning state. Possible values include: 'Accepted', 'Running', 'Ready',
|
|
166
|
-
* 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
|
|
167
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
168
|
-
*/
|
|
169
|
-
readonly provisioningState?: ProvisioningState;
|
|
170
|
-
/**
|
|
171
|
-
* The blob URI where the UI definition file is located.
|
|
172
|
-
*/
|
|
173
|
-
uiDefinitionUri?: string;
|
|
174
|
-
/**
|
|
175
|
-
* The plan information.
|
|
176
|
-
*/
|
|
177
|
-
plan?: PlanPatchable;
|
|
178
|
-
/**
|
|
179
|
-
* The kind of the appliance. Allowed values are MarketPlace and ServiceCatalog.
|
|
180
|
-
*/
|
|
181
|
-
kind?: string;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The appliance provider authorization.
|
|
185
|
-
*/
|
|
186
|
-
export interface ApplianceProviderAuthorization {
|
|
187
|
-
/**
|
|
188
|
-
* The provider's principal identifier. This is the identity that the provider will use to call
|
|
189
|
-
* ARM to manage the appliance resources.
|
|
190
|
-
*/
|
|
191
|
-
principalId: string;
|
|
192
|
-
/**
|
|
193
|
-
* The provider's role definition identifier. This role will define all the permissions that the
|
|
194
|
-
* provider must have on the appliance's container resource group. This role definition cannot
|
|
195
|
-
* have permission to delete the resource group.
|
|
196
|
-
*/
|
|
197
|
-
roleDefinitionId: string;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Appliance artifact.
|
|
201
|
-
*/
|
|
202
|
-
export interface ApplianceArtifact {
|
|
203
|
-
/**
|
|
204
|
-
* The appliance artifact name.
|
|
205
|
-
*/
|
|
206
|
-
name?: string;
|
|
207
|
-
/**
|
|
208
|
-
* The appliance artifact blob uri.
|
|
209
|
-
*/
|
|
210
|
-
uri?: string;
|
|
211
|
-
/**
|
|
212
|
-
* The the appliance artifact type. Possible values include: 'Template', 'Custom'
|
|
213
|
-
*/
|
|
214
|
-
type?: ApplianceArtifactType;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Information about appliance definition.
|
|
218
|
-
*/
|
|
219
|
-
export interface ApplianceDefinition extends GenericResource {
|
|
220
|
-
/**
|
|
221
|
-
* The appliance lock level. Possible values include: 'CanNotDelete', 'ReadOnly', 'None'
|
|
222
|
-
*/
|
|
223
|
-
lockLevel: ApplianceLockLevel;
|
|
224
|
-
/**
|
|
225
|
-
* The appliance definition display name.
|
|
226
|
-
*/
|
|
227
|
-
displayName?: string;
|
|
228
|
-
/**
|
|
229
|
-
* The appliance provider authorizations.
|
|
230
|
-
*/
|
|
231
|
-
authorizations: ApplianceProviderAuthorization[];
|
|
232
|
-
/**
|
|
233
|
-
* The collection of appliance artifacts. The portal will use the files specified as artifacts to
|
|
234
|
-
* construct the user experience of creating an appliance from an appliance definition.
|
|
235
|
-
*/
|
|
236
|
-
artifacts?: ApplianceArtifact[];
|
|
237
|
-
/**
|
|
238
|
-
* The appliance definition description.
|
|
239
|
-
*/
|
|
240
|
-
description?: string;
|
|
241
|
-
/**
|
|
242
|
-
* The appliance definition package file Uri.
|
|
243
|
-
*/
|
|
244
|
-
packageFileUri: string;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* SKU for the resource.
|
|
248
|
-
*/
|
|
49
|
+
/** SKU for the resource. */
|
|
249
50
|
export interface Sku {
|
|
250
|
-
/**
|
|
251
|
-
* The SKU name.
|
|
252
|
-
*/
|
|
51
|
+
/** The SKU name. */
|
|
253
52
|
name: string;
|
|
254
|
-
/**
|
|
255
|
-
* The SKU tier.
|
|
256
|
-
*/
|
|
53
|
+
/** The SKU tier. */
|
|
257
54
|
tier?: string;
|
|
258
|
-
/**
|
|
259
|
-
* The SKU size.
|
|
260
|
-
*/
|
|
55
|
+
/** The SKU size. */
|
|
261
56
|
size?: string;
|
|
262
|
-
/**
|
|
263
|
-
* The SKU family.
|
|
264
|
-
*/
|
|
57
|
+
/** The SKU family. */
|
|
265
58
|
family?: string;
|
|
266
|
-
/**
|
|
267
|
-
* The SKU model.
|
|
268
|
-
*/
|
|
59
|
+
/** The SKU model. */
|
|
269
60
|
model?: string;
|
|
270
|
-
/**
|
|
271
|
-
* The SKU capacity.
|
|
272
|
-
*/
|
|
61
|
+
/** The SKU capacity. */
|
|
273
62
|
capacity?: number;
|
|
274
63
|
}
|
|
275
|
-
/**
|
|
276
|
-
* Identity for the resource.
|
|
277
|
-
*/
|
|
64
|
+
/** Identity for the resource. */
|
|
278
65
|
export interface Identity {
|
|
279
66
|
/**
|
|
280
67
|
* The principal ID of resource identity.
|
|
281
|
-
*
|
|
68
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
69
|
*/
|
|
283
70
|
readonly principalId?: string;
|
|
284
71
|
/**
|
|
285
72
|
* The tenant ID of resource.
|
|
286
|
-
*
|
|
73
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
287
74
|
*/
|
|
288
75
|
readonly tenantId?: string;
|
|
289
|
-
/**
|
|
290
|
-
|
|
291
|
-
*/
|
|
292
|
-
type?: ResourceIdentityType;
|
|
76
|
+
/** The identity type. */
|
|
77
|
+
type?: "SystemAssigned";
|
|
293
78
|
}
|
|
294
|
-
/**
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
79
|
+
/** Plan for the managed application. */
|
|
80
|
+
export interface Plan {
|
|
81
|
+
/** The plan name. */
|
|
82
|
+
name: string;
|
|
83
|
+
/** The publisher ID. */
|
|
84
|
+
publisher: string;
|
|
85
|
+
/** The product code. */
|
|
86
|
+
product: string;
|
|
87
|
+
/** The promotion code. */
|
|
88
|
+
promotionCode?: string;
|
|
89
|
+
/** The plan's version. */
|
|
90
|
+
version: string;
|
|
91
|
+
}
|
|
92
|
+
/** Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message. */
|
|
298
93
|
export interface ErrorResponse {
|
|
299
|
-
/**
|
|
300
|
-
* Http status code.
|
|
301
|
-
*/
|
|
94
|
+
/** Http status code. */
|
|
302
95
|
httpStatus?: string;
|
|
303
|
-
/**
|
|
304
|
-
* Error code.
|
|
305
|
-
*/
|
|
96
|
+
/** Error code. */
|
|
306
97
|
errorCode?: string;
|
|
307
|
-
/**
|
|
308
|
-
* Error message indicating why the operation failed.
|
|
309
|
-
*/
|
|
98
|
+
/** Error message indicating why the operation failed. */
|
|
310
99
|
errorMessage?: string;
|
|
311
100
|
}
|
|
312
|
-
/**
|
|
313
|
-
|
|
314
|
-
*/
|
|
315
|
-
export interface OperationDisplay {
|
|
316
|
-
/**
|
|
317
|
-
* Service provider: Microsoft.Solutions
|
|
318
|
-
*/
|
|
319
|
-
provider?: string;
|
|
320
|
-
/**
|
|
321
|
-
* Resource on which the operation is performed: Profile, endpoint, etc.
|
|
322
|
-
*/
|
|
323
|
-
resource?: string;
|
|
324
|
-
/**
|
|
325
|
-
* Operation type: Read, write, delete, etc.
|
|
326
|
-
*/
|
|
327
|
-
operation?: string;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Microsoft.Solutions operation
|
|
331
|
-
*/
|
|
332
|
-
export interface Operation {
|
|
333
|
-
/**
|
|
334
|
-
* Operation name: {provider}/{resource}/{operation}
|
|
335
|
-
*/
|
|
101
|
+
/** Plan for the managed application. */
|
|
102
|
+
export interface PlanPatchable {
|
|
103
|
+
/** The plan name. */
|
|
336
104
|
name?: string;
|
|
337
|
-
/**
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
export interface AppliancesUpdateOptionalParams extends msRest.RequestOptionsBase {
|
|
346
|
-
/**
|
|
347
|
-
* Parameters supplied to update an existing appliance.
|
|
348
|
-
*/
|
|
349
|
-
parameters?: Appliance;
|
|
105
|
+
/** The publisher ID. */
|
|
106
|
+
publisher?: string;
|
|
107
|
+
/** The product code. */
|
|
108
|
+
product?: string;
|
|
109
|
+
/** The promotion code. */
|
|
110
|
+
promotionCode?: string;
|
|
111
|
+
/** The plan's version. */
|
|
112
|
+
version?: string;
|
|
350
113
|
}
|
|
351
|
-
/**
|
|
352
|
-
|
|
353
|
-
*/
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
|
|
357
|
-
*/
|
|
358
|
-
parameters?: Appliance;
|
|
114
|
+
/** The managed application provider authorization. */
|
|
115
|
+
export interface ApplicationProviderAuthorization {
|
|
116
|
+
/** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */
|
|
117
|
+
principalId: string;
|
|
118
|
+
/** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */
|
|
119
|
+
roleDefinitionId: string;
|
|
359
120
|
}
|
|
360
|
-
/**
|
|
361
|
-
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
|
|
121
|
+
/** Managed application artifact. */
|
|
122
|
+
export interface ApplicationArtifact {
|
|
123
|
+
/** The managed application artifact name. */
|
|
124
|
+
name?: string;
|
|
125
|
+
/** The managed application artifact blob uri. */
|
|
126
|
+
uri?: string;
|
|
127
|
+
/** The managed application artifact type. */
|
|
128
|
+
type?: ApplicationArtifactType;
|
|
365
129
|
}
|
|
366
|
-
/**
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
*/
|
|
372
|
-
export interface OperationListResult extends Array<Operation> {
|
|
373
|
-
/**
|
|
374
|
-
* URL to get the next set of operation list results if there are any.
|
|
375
|
-
*/
|
|
130
|
+
/** List of managed application definitions. */
|
|
131
|
+
export interface ApplicationDefinitionListResult {
|
|
132
|
+
/** The array of managed application definitions. */
|
|
133
|
+
value?: ApplicationDefinition[];
|
|
134
|
+
/** The URL to use for getting the next set of results. */
|
|
376
135
|
nextLink?: string;
|
|
377
136
|
}
|
|
378
|
-
/**
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
*/
|
|
383
|
-
export interface ApplianceListResult extends Array<Appliance> {
|
|
384
|
-
/**
|
|
385
|
-
* The URL to use for getting the next set of results.
|
|
386
|
-
*/
|
|
137
|
+
/** List of managed applications. */
|
|
138
|
+
export interface ApplicationListResult {
|
|
139
|
+
/** The array of managed applications. */
|
|
140
|
+
value?: Application[];
|
|
141
|
+
/** The URL to use for getting the next set of results. */
|
|
387
142
|
nextLink?: string;
|
|
388
143
|
}
|
|
389
|
-
/**
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
*/
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
|
|
397
|
-
*/
|
|
398
|
-
nextLink?: string;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Defines values for ProvisioningState.
|
|
402
|
-
* Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting',
|
|
403
|
-
* 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
|
|
404
|
-
* @readonly
|
|
405
|
-
* @enum {string}
|
|
406
|
-
*/
|
|
407
|
-
export declare type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating';
|
|
408
|
-
/**
|
|
409
|
-
* Defines values for ApplianceLockLevel.
|
|
410
|
-
* Possible values include: 'CanNotDelete', 'ReadOnly', 'None'
|
|
411
|
-
* @readonly
|
|
412
|
-
* @enum {string}
|
|
413
|
-
*/
|
|
414
|
-
export declare type ApplianceLockLevel = 'CanNotDelete' | 'ReadOnly' | 'None';
|
|
415
|
-
/**
|
|
416
|
-
* Defines values for ApplianceArtifactType.
|
|
417
|
-
* Possible values include: 'Template', 'Custom'
|
|
418
|
-
* @readonly
|
|
419
|
-
* @enum {string}
|
|
420
|
-
*/
|
|
421
|
-
export declare type ApplianceArtifactType = 'Template' | 'Custom';
|
|
422
|
-
/**
|
|
423
|
-
* Defines values for ResourceIdentityType.
|
|
424
|
-
* Possible values include: 'SystemAssigned'
|
|
425
|
-
* @readonly
|
|
426
|
-
* @enum {string}
|
|
427
|
-
*/
|
|
428
|
-
export declare type ResourceIdentityType = 'SystemAssigned';
|
|
429
|
-
/**
|
|
430
|
-
* Contains response data for the listOperations operation.
|
|
431
|
-
*/
|
|
432
|
-
export declare type ListOperationsResponse = OperationListResult & {
|
|
433
|
-
/**
|
|
434
|
-
* The underlying HTTP response.
|
|
435
|
-
*/
|
|
436
|
-
_response: msRest.HttpResponse & {
|
|
437
|
-
/**
|
|
438
|
-
* The response body as text (string format)
|
|
439
|
-
*/
|
|
440
|
-
bodyAsText: string;
|
|
441
|
-
/**
|
|
442
|
-
* The response body as parsed JSON or XML
|
|
443
|
-
*/
|
|
444
|
-
parsedBody: OperationListResult;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
/**
|
|
448
|
-
* Contains response data for the listOperationsNext operation.
|
|
449
|
-
*/
|
|
450
|
-
export declare type ListOperationsNextResponse = OperationListResult & {
|
|
451
|
-
/**
|
|
452
|
-
* The underlying HTTP response.
|
|
453
|
-
*/
|
|
454
|
-
_response: msRest.HttpResponse & {
|
|
455
|
-
/**
|
|
456
|
-
* The response body as text (string format)
|
|
457
|
-
*/
|
|
458
|
-
bodyAsText: string;
|
|
459
|
-
/**
|
|
460
|
-
* The response body as parsed JSON or XML
|
|
461
|
-
*/
|
|
462
|
-
parsedBody: OperationListResult;
|
|
463
|
-
};
|
|
464
|
-
};
|
|
465
|
-
/**
|
|
466
|
-
* Contains response data for the get operation.
|
|
467
|
-
*/
|
|
468
|
-
export declare type AppliancesGetResponse = Appliance & {
|
|
469
|
-
/**
|
|
470
|
-
* The underlying HTTP response.
|
|
471
|
-
*/
|
|
472
|
-
_response: msRest.HttpResponse & {
|
|
473
|
-
/**
|
|
474
|
-
* The response body as text (string format)
|
|
475
|
-
*/
|
|
476
|
-
bodyAsText: string;
|
|
477
|
-
/**
|
|
478
|
-
* The response body as parsed JSON or XML
|
|
479
|
-
*/
|
|
480
|
-
parsedBody: Appliance;
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
/**
|
|
484
|
-
* Contains response data for the createOrUpdate operation.
|
|
485
|
-
*/
|
|
486
|
-
export declare type AppliancesCreateOrUpdateResponse = Appliance & {
|
|
487
|
-
/**
|
|
488
|
-
* The underlying HTTP response.
|
|
489
|
-
*/
|
|
490
|
-
_response: msRest.HttpResponse & {
|
|
491
|
-
/**
|
|
492
|
-
* The response body as text (string format)
|
|
493
|
-
*/
|
|
494
|
-
bodyAsText: string;
|
|
495
|
-
/**
|
|
496
|
-
* The response body as parsed JSON or XML
|
|
497
|
-
*/
|
|
498
|
-
parsedBody: Appliance;
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
|
-
/**
|
|
502
|
-
* Contains response data for the update operation.
|
|
503
|
-
*/
|
|
504
|
-
export declare type AppliancesUpdateResponse = Appliance & {
|
|
505
|
-
/**
|
|
506
|
-
* The underlying HTTP response.
|
|
507
|
-
*/
|
|
508
|
-
_response: msRest.HttpResponse & {
|
|
509
|
-
/**
|
|
510
|
-
* The response body as text (string format)
|
|
511
|
-
*/
|
|
512
|
-
bodyAsText: string;
|
|
513
|
-
/**
|
|
514
|
-
* The response body as parsed JSON or XML
|
|
515
|
-
*/
|
|
516
|
-
parsedBody: Appliance;
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
/**
|
|
520
|
-
* Contains response data for the listByResourceGroup operation.
|
|
521
|
-
*/
|
|
522
|
-
export declare type AppliancesListByResourceGroupResponse = ApplianceListResult & {
|
|
523
|
-
/**
|
|
524
|
-
* The underlying HTTP response.
|
|
525
|
-
*/
|
|
526
|
-
_response: msRest.HttpResponse & {
|
|
527
|
-
/**
|
|
528
|
-
* The response body as text (string format)
|
|
529
|
-
*/
|
|
530
|
-
bodyAsText: string;
|
|
531
|
-
/**
|
|
532
|
-
* The response body as parsed JSON or XML
|
|
533
|
-
*/
|
|
534
|
-
parsedBody: ApplianceListResult;
|
|
535
|
-
};
|
|
536
|
-
};
|
|
537
|
-
/**
|
|
538
|
-
* Contains response data for the listBySubscription operation.
|
|
539
|
-
*/
|
|
540
|
-
export declare type AppliancesListBySubscriptionResponse = ApplianceListResult & {
|
|
541
|
-
/**
|
|
542
|
-
* The underlying HTTP response.
|
|
543
|
-
*/
|
|
544
|
-
_response: msRest.HttpResponse & {
|
|
545
|
-
/**
|
|
546
|
-
* The response body as text (string format)
|
|
547
|
-
*/
|
|
548
|
-
bodyAsText: string;
|
|
549
|
-
/**
|
|
550
|
-
* The response body as parsed JSON or XML
|
|
551
|
-
*/
|
|
552
|
-
parsedBody: ApplianceListResult;
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
/**
|
|
556
|
-
* Contains response data for the getById operation.
|
|
557
|
-
*/
|
|
558
|
-
export declare type AppliancesGetByIdResponse = Appliance & {
|
|
559
|
-
/**
|
|
560
|
-
* The underlying HTTP response.
|
|
561
|
-
*/
|
|
562
|
-
_response: msRest.HttpResponse & {
|
|
563
|
-
/**
|
|
564
|
-
* The response body as text (string format)
|
|
565
|
-
*/
|
|
566
|
-
bodyAsText: string;
|
|
567
|
-
/**
|
|
568
|
-
* The response body as parsed JSON or XML
|
|
569
|
-
*/
|
|
570
|
-
parsedBody: Appliance;
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
/**
|
|
574
|
-
* Contains response data for the createOrUpdateById operation.
|
|
575
|
-
*/
|
|
576
|
-
export declare type AppliancesCreateOrUpdateByIdResponse = Appliance & {
|
|
577
|
-
/**
|
|
578
|
-
* The underlying HTTP response.
|
|
579
|
-
*/
|
|
580
|
-
_response: msRest.HttpResponse & {
|
|
581
|
-
/**
|
|
582
|
-
* The response body as text (string format)
|
|
583
|
-
*/
|
|
584
|
-
bodyAsText: string;
|
|
585
|
-
/**
|
|
586
|
-
* The response body as parsed JSON or XML
|
|
587
|
-
*/
|
|
588
|
-
parsedBody: Appliance;
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
/**
|
|
592
|
-
* Contains response data for the updateById operation.
|
|
593
|
-
*/
|
|
594
|
-
export declare type AppliancesUpdateByIdResponse = Appliance & {
|
|
595
|
-
/**
|
|
596
|
-
* The underlying HTTP response.
|
|
597
|
-
*/
|
|
598
|
-
_response: msRest.HttpResponse & {
|
|
599
|
-
/**
|
|
600
|
-
* The response body as text (string format)
|
|
601
|
-
*/
|
|
602
|
-
bodyAsText: string;
|
|
603
|
-
/**
|
|
604
|
-
* The response body as parsed JSON or XML
|
|
605
|
-
*/
|
|
606
|
-
parsedBody: Appliance;
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
/**
|
|
610
|
-
* Contains response data for the beginCreateOrUpdate operation.
|
|
611
|
-
*/
|
|
612
|
-
export declare type AppliancesBeginCreateOrUpdateResponse = Appliance & {
|
|
613
|
-
/**
|
|
614
|
-
* The underlying HTTP response.
|
|
615
|
-
*/
|
|
616
|
-
_response: msRest.HttpResponse & {
|
|
617
|
-
/**
|
|
618
|
-
* The response body as text (string format)
|
|
619
|
-
*/
|
|
620
|
-
bodyAsText: string;
|
|
621
|
-
/**
|
|
622
|
-
* The response body as parsed JSON or XML
|
|
623
|
-
*/
|
|
624
|
-
parsedBody: Appliance;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
/**
|
|
628
|
-
* Contains response data for the beginCreateOrUpdateById operation.
|
|
629
|
-
*/
|
|
630
|
-
export declare type AppliancesBeginCreateOrUpdateByIdResponse = Appliance & {
|
|
631
|
-
/**
|
|
632
|
-
* The underlying HTTP response.
|
|
633
|
-
*/
|
|
634
|
-
_response: msRest.HttpResponse & {
|
|
635
|
-
/**
|
|
636
|
-
* The response body as text (string format)
|
|
637
|
-
*/
|
|
638
|
-
bodyAsText: string;
|
|
639
|
-
/**
|
|
640
|
-
* The response body as parsed JSON or XML
|
|
641
|
-
*/
|
|
642
|
-
parsedBody: Appliance;
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
/**
|
|
646
|
-
* Contains response data for the listByResourceGroupNext operation.
|
|
647
|
-
*/
|
|
648
|
-
export declare type AppliancesListByResourceGroupNextResponse = ApplianceListResult & {
|
|
649
|
-
/**
|
|
650
|
-
* The underlying HTTP response.
|
|
651
|
-
*/
|
|
652
|
-
_response: msRest.HttpResponse & {
|
|
653
|
-
/**
|
|
654
|
-
* The response body as text (string format)
|
|
655
|
-
*/
|
|
656
|
-
bodyAsText: string;
|
|
657
|
-
/**
|
|
658
|
-
* The response body as parsed JSON or XML
|
|
659
|
-
*/
|
|
660
|
-
parsedBody: ApplianceListResult;
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
/**
|
|
664
|
-
* Contains response data for the listBySubscriptionNext operation.
|
|
665
|
-
*/
|
|
666
|
-
export declare type AppliancesListBySubscriptionNextResponse = ApplianceListResult & {
|
|
667
|
-
/**
|
|
668
|
-
* The underlying HTTP response.
|
|
669
|
-
*/
|
|
670
|
-
_response: msRest.HttpResponse & {
|
|
671
|
-
/**
|
|
672
|
-
* The response body as text (string format)
|
|
673
|
-
*/
|
|
674
|
-
bodyAsText: string;
|
|
675
|
-
/**
|
|
676
|
-
* The response body as parsed JSON or XML
|
|
677
|
-
*/
|
|
678
|
-
parsedBody: ApplianceListResult;
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
|
-
/**
|
|
682
|
-
* Contains response data for the get operation.
|
|
683
|
-
*/
|
|
684
|
-
export declare type ApplianceDefinitionsGetResponse = ApplianceDefinition & {
|
|
685
|
-
/**
|
|
686
|
-
* The underlying HTTP response.
|
|
687
|
-
*/
|
|
688
|
-
_response: msRest.HttpResponse & {
|
|
689
|
-
/**
|
|
690
|
-
* The response body as text (string format)
|
|
691
|
-
*/
|
|
692
|
-
bodyAsText: string;
|
|
693
|
-
/**
|
|
694
|
-
* The response body as parsed JSON or XML
|
|
695
|
-
*/
|
|
696
|
-
parsedBody: ApplianceDefinition;
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
/**
|
|
700
|
-
* Contains response data for the createOrUpdate operation.
|
|
701
|
-
*/
|
|
702
|
-
export declare type ApplianceDefinitionsCreateOrUpdateResponse = ApplianceDefinition & {
|
|
703
|
-
/**
|
|
704
|
-
* The underlying HTTP response.
|
|
705
|
-
*/
|
|
706
|
-
_response: msRest.HttpResponse & {
|
|
707
|
-
/**
|
|
708
|
-
* The response body as text (string format)
|
|
709
|
-
*/
|
|
710
|
-
bodyAsText: string;
|
|
711
|
-
/**
|
|
712
|
-
* The response body as parsed JSON or XML
|
|
713
|
-
*/
|
|
714
|
-
parsedBody: ApplianceDefinition;
|
|
715
|
-
};
|
|
144
|
+
/** Resource information. */
|
|
145
|
+
export declare type GenericResource = Resource & {
|
|
146
|
+
/** ID of the resource that manages this resource. */
|
|
147
|
+
managedBy?: string;
|
|
148
|
+
/** The SKU of the resource. */
|
|
149
|
+
sku?: Sku;
|
|
150
|
+
/** The identity of the resource. */
|
|
151
|
+
identity?: Identity;
|
|
716
152
|
};
|
|
717
|
-
/**
|
|
718
|
-
|
|
719
|
-
*/
|
|
720
|
-
|
|
153
|
+
/** Information about managed application. */
|
|
154
|
+
export declare type Application = GenericResource & {
|
|
155
|
+
/** The plan information. */
|
|
156
|
+
plan?: Plan;
|
|
157
|
+
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
158
|
+
kind: string;
|
|
159
|
+
/** The managed resource group Id. */
|
|
160
|
+
managedResourceGroupId: string;
|
|
161
|
+
/** The fully qualified path of managed application definition Id. */
|
|
162
|
+
applicationDefinitionId?: string;
|
|
163
|
+
/** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */
|
|
164
|
+
parameters?: Record<string, unknown>;
|
|
721
165
|
/**
|
|
722
|
-
*
|
|
166
|
+
* Name and value pairs that define the managed application outputs.
|
|
167
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
723
168
|
*/
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* The response body as text (string format)
|
|
727
|
-
*/
|
|
728
|
-
bodyAsText: string;
|
|
729
|
-
/**
|
|
730
|
-
* The response body as parsed JSON or XML
|
|
731
|
-
*/
|
|
732
|
-
parsedBody: ApplianceDefinitionListResult;
|
|
733
|
-
};
|
|
734
|
-
};
|
|
735
|
-
/**
|
|
736
|
-
* Contains response data for the getById operation.
|
|
737
|
-
*/
|
|
738
|
-
export declare type ApplianceDefinitionsGetByIdResponse = ApplianceDefinition & {
|
|
169
|
+
readonly outputs?: Record<string, unknown>;
|
|
739
170
|
/**
|
|
740
|
-
* The
|
|
171
|
+
* The managed application provisioning state.
|
|
172
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
741
173
|
*/
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* The response body as text (string format)
|
|
745
|
-
*/
|
|
746
|
-
bodyAsText: string;
|
|
747
|
-
/**
|
|
748
|
-
* The response body as parsed JSON or XML
|
|
749
|
-
*/
|
|
750
|
-
parsedBody: ApplianceDefinition;
|
|
751
|
-
};
|
|
174
|
+
readonly provisioningState?: ProvisioningState;
|
|
752
175
|
};
|
|
753
|
-
/**
|
|
754
|
-
|
|
755
|
-
*/
|
|
756
|
-
|
|
176
|
+
/** Information about managed application. */
|
|
177
|
+
export declare type ApplicationPatchable = GenericResource & {
|
|
178
|
+
/** The plan information. */
|
|
179
|
+
plan?: PlanPatchable;
|
|
180
|
+
/** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */
|
|
181
|
+
kind?: string;
|
|
182
|
+
/** The managed resource group Id. */
|
|
183
|
+
managedResourceGroupId?: string;
|
|
184
|
+
/** The fully qualified path of managed application definition Id. */
|
|
185
|
+
applicationDefinitionId?: string;
|
|
186
|
+
/** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */
|
|
187
|
+
parameters?: Record<string, unknown>;
|
|
757
188
|
/**
|
|
758
|
-
*
|
|
189
|
+
* Name and value pairs that define the managed application outputs.
|
|
190
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
759
191
|
*/
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* The response body as text (string format)
|
|
763
|
-
*/
|
|
764
|
-
bodyAsText: string;
|
|
765
|
-
/**
|
|
766
|
-
* The response body as parsed JSON or XML
|
|
767
|
-
*/
|
|
768
|
-
parsedBody: ApplianceDefinition;
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
/**
|
|
772
|
-
* Contains response data for the beginCreateOrUpdate operation.
|
|
773
|
-
*/
|
|
774
|
-
export declare type ApplianceDefinitionsBeginCreateOrUpdateResponse = ApplianceDefinition & {
|
|
192
|
+
readonly outputs?: Record<string, unknown>;
|
|
775
193
|
/**
|
|
776
|
-
* The
|
|
194
|
+
* The managed application provisioning state.
|
|
195
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
777
196
|
*/
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* The response body as text (string format)
|
|
781
|
-
*/
|
|
782
|
-
bodyAsText: string;
|
|
783
|
-
/**
|
|
784
|
-
* The response body as parsed JSON or XML
|
|
785
|
-
*/
|
|
786
|
-
parsedBody: ApplianceDefinition;
|
|
787
|
-
};
|
|
197
|
+
readonly provisioningState?: ProvisioningState;
|
|
788
198
|
};
|
|
789
|
-
/**
|
|
790
|
-
|
|
791
|
-
*/
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
199
|
+
/** Information about managed application definition. */
|
|
200
|
+
export declare type ApplicationDefinition = GenericResource & {
|
|
201
|
+
/** The managed application lock level. */
|
|
202
|
+
lockLevel: ApplicationLockLevel;
|
|
203
|
+
/** The managed application definition display name. */
|
|
204
|
+
displayName?: string;
|
|
205
|
+
/** A value indicating whether the package is enabled or not. */
|
|
206
|
+
isEnabled?: string;
|
|
207
|
+
/** The managed application provider authorizations. */
|
|
208
|
+
authorizations: ApplicationProviderAuthorization[];
|
|
209
|
+
/** The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. */
|
|
210
|
+
artifacts?: ApplicationArtifact[];
|
|
211
|
+
/** The managed application definition description. */
|
|
212
|
+
description?: string;
|
|
213
|
+
/** The managed application definition package file Uri. Use this element */
|
|
214
|
+
packageFileUri?: string;
|
|
215
|
+
/** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */
|
|
216
|
+
mainTemplate?: Record<string, unknown>;
|
|
217
|
+
/** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */
|
|
218
|
+
createUiDefinition?: Record<string, unknown>;
|
|
806
219
|
};
|
|
220
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
221
|
+
export declare enum KnownProvisioningState {
|
|
222
|
+
Accepted = "Accepted",
|
|
223
|
+
Running = "Running",
|
|
224
|
+
Ready = "Ready",
|
|
225
|
+
Creating = "Creating",
|
|
226
|
+
Created = "Created",
|
|
227
|
+
Deleting = "Deleting",
|
|
228
|
+
Deleted = "Deleted",
|
|
229
|
+
Canceled = "Canceled",
|
|
230
|
+
Failed = "Failed",
|
|
231
|
+
Succeeded = "Succeeded",
|
|
232
|
+
Updating = "Updating"
|
|
233
|
+
}
|
|
807
234
|
/**
|
|
808
|
-
*
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
235
|
+
* Defines values for ProvisioningState. \
|
|
236
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
237
|
+
* this enum contains the known values that the service supports.
|
|
238
|
+
* ### Known values supported by the service
|
|
239
|
+
* **Accepted** \
|
|
240
|
+
* **Running** \
|
|
241
|
+
* **Ready** \
|
|
242
|
+
* **Creating** \
|
|
243
|
+
* **Created** \
|
|
244
|
+
* **Deleting** \
|
|
245
|
+
* **Deleted** \
|
|
246
|
+
* **Canceled** \
|
|
247
|
+
* **Failed** \
|
|
248
|
+
* **Succeeded** \
|
|
249
|
+
* **Updating**
|
|
250
|
+
*/
|
|
251
|
+
export declare type ProvisioningState = string;
|
|
252
|
+
/** Defines values for ApplicationLockLevel. */
|
|
253
|
+
export declare type ApplicationLockLevel = "CanNotDelete" | "ReadOnly" | "None";
|
|
254
|
+
/** Defines values for ApplicationArtifactType. */
|
|
255
|
+
export declare type ApplicationArtifactType = "Template" | "Custom";
|
|
256
|
+
/** Optional parameters. */
|
|
257
|
+
export interface ApplicationClientListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
258
|
+
}
|
|
259
|
+
/** Contains response data for the listOperations operation. */
|
|
260
|
+
export declare type ApplicationClientListOperationsResponse = OperationListResult;
|
|
261
|
+
/** Optional parameters. */
|
|
262
|
+
export interface ApplicationClientListOperationsNextOptionalParams extends coreClient.OperationOptions {
|
|
263
|
+
}
|
|
264
|
+
/** Contains response data for the listOperationsNext operation. */
|
|
265
|
+
export declare type ApplicationClientListOperationsNextResponse = OperationListResult;
|
|
266
|
+
/** Optional parameters. */
|
|
267
|
+
export interface ApplicationClientListOperationsNextNextOptionalParams extends coreClient.OperationOptions {
|
|
268
|
+
}
|
|
269
|
+
/** Contains response data for the listOperationsNextNext operation. */
|
|
270
|
+
export declare type ApplicationClientListOperationsNextNextResponse = OperationListResult;
|
|
271
|
+
/** Optional parameters. */
|
|
272
|
+
export interface ApplicationsGetOptionalParams extends coreClient.OperationOptions {
|
|
273
|
+
}
|
|
274
|
+
/** Contains response data for the get operation. */
|
|
275
|
+
export declare type ApplicationsGetResponse = Application;
|
|
276
|
+
/** Optional parameters. */
|
|
277
|
+
export interface ApplicationsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
278
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
279
|
+
updateIntervalInMs?: number;
|
|
280
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
281
|
+
resumeFrom?: string;
|
|
282
|
+
}
|
|
283
|
+
/** Optional parameters. */
|
|
284
|
+
export interface ApplicationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
285
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
286
|
+
updateIntervalInMs?: number;
|
|
287
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
288
|
+
resumeFrom?: string;
|
|
289
|
+
}
|
|
290
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
291
|
+
export declare type ApplicationsCreateOrUpdateResponse = Application;
|
|
292
|
+
/** Optional parameters. */
|
|
293
|
+
export interface ApplicationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
294
|
+
/** Parameters supplied to update an existing managed application. */
|
|
295
|
+
parameters?: ApplicationPatchable;
|
|
296
|
+
}
|
|
297
|
+
/** Contains response data for the update operation. */
|
|
298
|
+
export declare type ApplicationsUpdateResponse = Application;
|
|
299
|
+
/** Optional parameters. */
|
|
300
|
+
export interface ApplicationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
301
|
+
}
|
|
302
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
303
|
+
export declare type ApplicationsListByResourceGroupResponse = ApplicationListResult;
|
|
304
|
+
/** Optional parameters. */
|
|
305
|
+
export interface ApplicationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
306
|
+
}
|
|
307
|
+
/** Contains response data for the listBySubscription operation. */
|
|
308
|
+
export declare type ApplicationsListBySubscriptionResponse = ApplicationListResult;
|
|
309
|
+
/** Optional parameters. */
|
|
310
|
+
export interface ApplicationsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
311
|
+
}
|
|
312
|
+
/** Contains response data for the getById operation. */
|
|
313
|
+
export declare type ApplicationsGetByIdResponse = Application;
|
|
314
|
+
/** Optional parameters. */
|
|
315
|
+
export interface ApplicationsDeleteByIdOptionalParams extends coreClient.OperationOptions {
|
|
316
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
317
|
+
updateIntervalInMs?: number;
|
|
318
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
319
|
+
resumeFrom?: string;
|
|
320
|
+
}
|
|
321
|
+
/** Optional parameters. */
|
|
322
|
+
export interface ApplicationsCreateOrUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
323
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
324
|
+
updateIntervalInMs?: number;
|
|
325
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
326
|
+
resumeFrom?: string;
|
|
327
|
+
}
|
|
328
|
+
/** Contains response data for the createOrUpdateById operation. */
|
|
329
|
+
export declare type ApplicationsCreateOrUpdateByIdResponse = Application;
|
|
330
|
+
/** Optional parameters. */
|
|
331
|
+
export interface ApplicationsUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
332
|
+
/** Parameters supplied to update an existing managed application. */
|
|
333
|
+
parameters?: Application;
|
|
334
|
+
}
|
|
335
|
+
/** Contains response data for the updateById operation. */
|
|
336
|
+
export declare type ApplicationsUpdateByIdResponse = Application;
|
|
337
|
+
/** Optional parameters. */
|
|
338
|
+
export interface ApplicationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
339
|
+
}
|
|
340
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
341
|
+
export declare type ApplicationsListByResourceGroupNextResponse = ApplicationListResult;
|
|
342
|
+
/** Optional parameters. */
|
|
343
|
+
export interface ApplicationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
344
|
+
}
|
|
345
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
346
|
+
export declare type ApplicationsListBySubscriptionNextResponse = ApplicationListResult;
|
|
347
|
+
/** Optional parameters. */
|
|
348
|
+
export interface ApplicationsListByResourceGroupNextNextOptionalParams extends coreClient.OperationOptions {
|
|
349
|
+
}
|
|
350
|
+
/** Contains response data for the listByResourceGroupNextNext operation. */
|
|
351
|
+
export declare type ApplicationsListByResourceGroupNextNextResponse = ApplicationListResult;
|
|
352
|
+
/** Optional parameters. */
|
|
353
|
+
export interface ApplicationsListBySubscriptionNextNextOptionalParams extends coreClient.OperationOptions {
|
|
354
|
+
}
|
|
355
|
+
/** Contains response data for the listBySubscriptionNextNext operation. */
|
|
356
|
+
export declare type ApplicationsListBySubscriptionNextNextResponse = ApplicationListResult;
|
|
357
|
+
/** Optional parameters. */
|
|
358
|
+
export interface ApplicationDefinitionsGetOptionalParams extends coreClient.OperationOptions {
|
|
359
|
+
}
|
|
360
|
+
/** Contains response data for the get operation. */
|
|
361
|
+
export declare type ApplicationDefinitionsGetResponse = ApplicationDefinition;
|
|
362
|
+
/** Optional parameters. */
|
|
363
|
+
export interface ApplicationDefinitionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
364
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
365
|
+
updateIntervalInMs?: number;
|
|
366
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
367
|
+
resumeFrom?: string;
|
|
368
|
+
}
|
|
369
|
+
/** Optional parameters. */
|
|
370
|
+
export interface ApplicationDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
371
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
372
|
+
updateIntervalInMs?: number;
|
|
373
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
374
|
+
resumeFrom?: string;
|
|
375
|
+
}
|
|
376
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
377
|
+
export declare type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition;
|
|
378
|
+
/** Optional parameters. */
|
|
379
|
+
export interface ApplicationDefinitionsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
380
|
+
}
|
|
381
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
382
|
+
export declare type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult;
|
|
383
|
+
/** Optional parameters. */
|
|
384
|
+
export interface ApplicationDefinitionsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
385
|
+
}
|
|
386
|
+
/** Contains response data for the getById operation. */
|
|
387
|
+
export declare type ApplicationDefinitionsGetByIdResponse = ApplicationDefinition;
|
|
388
|
+
/** Optional parameters. */
|
|
389
|
+
export interface ApplicationDefinitionsDeleteByIdOptionalParams extends coreClient.OperationOptions {
|
|
390
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
391
|
+
updateIntervalInMs?: number;
|
|
392
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
393
|
+
resumeFrom?: string;
|
|
394
|
+
}
|
|
395
|
+
/** Optional parameters. */
|
|
396
|
+
export interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams extends coreClient.OperationOptions {
|
|
397
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
398
|
+
updateIntervalInMs?: number;
|
|
399
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
400
|
+
resumeFrom?: string;
|
|
401
|
+
}
|
|
402
|
+
/** Contains response data for the createOrUpdateById operation. */
|
|
403
|
+
export declare type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition;
|
|
404
|
+
/** Optional parameters. */
|
|
405
|
+
export interface ApplicationDefinitionsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
406
|
+
}
|
|
407
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
408
|
+
export declare type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult;
|
|
409
|
+
/** Optional parameters. */
|
|
410
|
+
export interface ApplicationDefinitionsListByResourceGroupNextNextOptionalParams extends coreClient.OperationOptions {
|
|
411
|
+
}
|
|
412
|
+
/** Contains response data for the listByResourceGroupNextNext operation. */
|
|
413
|
+
export declare type ApplicationDefinitionsListByResourceGroupNextNextResponse = ApplicationDefinitionListResult;
|
|
414
|
+
/** Optional parameters. */
|
|
415
|
+
export interface ApplicationClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
416
|
+
/** server parameter */
|
|
417
|
+
$host?: string;
|
|
418
|
+
/** Api Version */
|
|
419
|
+
apiVersion?: string;
|
|
420
|
+
/** Overrides client endpoint. */
|
|
421
|
+
endpoint?: string;
|
|
422
|
+
}
|
|
825
423
|
//# sourceMappingURL=index.d.ts.map
|