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