-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
index.ts
299 lines (281 loc) · 6.83 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* @interface
* An interface representing PartnerResponse.
* this is the management partner operations response
*
* @extends BaseResource
*/
export interface PartnerResponse extends BaseResource {
/**
* @member {number} [etag] Type of the partner
*/
etag?: number;
/**
* @member {string} [id] Identifier of the partner
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly id?: string;
/**
* @member {string} [name] Name of the partner
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly name?: string;
/**
* @member {string} [partnerId] This is the partner id
*/
partnerId?: string;
/**
* @member {string} [partnerName] This is the partner name
*/
partnerName?: string;
/**
* @member {string} [tenantId] This is the tenant id.
*/
tenantId?: string;
/**
* @member {string} [objectId] This is the object id.
*/
objectId?: string;
/**
* @member {string} [version] This is the version.
*/
version?: string;
/**
* @member {Date} [updatedTime] This is the DateTime when the partner was
* updated.
*/
updatedTime?: Date;
/**
* @member {Date} [createdTime] This is the DateTime when the partner was
* created.
*/
createdTime?: Date;
/**
* @member {State} [state] This is the partner state. Possible values
* include: 'Active', 'Deleted'
*/
state?: State;
/**
* @member {string} [type] Type of resource.
* "Microsoft.ManagementPartner/partners"
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly type?: string;
}
/**
* @interface
* An interface representing ExtendedErrorInfo.
* this is the extended error info
*
*/
export interface ExtendedErrorInfo {
/**
* @member {Code} [code] this is the error response code. Possible values
* include: 'NotFound', 'Conflict', 'BadRequest'
*/
code?: Code;
/**
* @member {string} [message] this is the extended error info message
*/
message?: string;
}
/**
* @interface
* An interface representing ErrorModel.
* this is the management partner operations error
*
*/
export interface ErrorModel {
/**
* @member {ExtendedErrorInfo} [error] this is the ExtendedErrorInfo property
*/
error?: ExtendedErrorInfo;
}
/**
* @interface
* An interface representing OperationDisplay.
* this is the management partner operation
*
*/
export interface OperationDisplay {
/**
* @member {string} [provider] the is management partner provider
*/
provider?: string;
/**
* @member {string} [resource] the is management partner resource
*/
resource?: string;
/**
* @member {string} [operation] the is management partner operation
*/
operation?: string;
/**
* @member {string} [description] the is management partner operation
* description
*/
description?: string;
}
/**
* @interface
* An interface representing OperationResponse.
* this is the management partner operations response
*
*/
export interface OperationResponse {
/**
* @member {string} [name] this is the operation response name
*/
name?: string;
/**
* @member {OperationDisplay} [display] this is the operation display
*/
display?: OperationDisplay;
/**
* @member {string} [origin] the is operation response origin information
*/
origin?: string;
}
/**
* @interface
* An interface representing ACEProvisioningManagementPartnerAPIOptions.
* @extends AzureServiceClientOptions
*/
export interface ACEProvisioningManagementPartnerAPIOptions extends AzureServiceClientOptions {
/**
* @member {string} [baseUri]
*/
baseUri?: string;
}
/**
* @interface
* An interface representing the OperationList.
* this is the management partner operations list
*
* @extends Array<OperationResponse>
*/
export interface OperationList extends Array<OperationResponse> {
/**
* @member {string} [nextLink] Url to get the next page of items.
*/
nextLink?: string;
}
/**
* Defines values for State.
* Possible values include: 'Active', 'Deleted'
* @readonly
* @enum {string}
*/
export type State = 'Active' | 'Deleted';
/**
* Defines values for Code.
* Possible values include: 'NotFound', 'Conflict', 'BadRequest'
* @readonly
* @enum {string}
*/
export type Code = 'NotFound' | 'Conflict' | 'BadRequest';
/**
* Contains response data for the get operation.
*/
export type PartnerGetResponse = PartnerResponse & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: PartnerResponse;
};
};
/**
* Contains response data for the create operation.
*/
export type PartnerCreateResponse = PartnerResponse & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: PartnerResponse;
};
};
/**
* Contains response data for the update operation.
*/
export type PartnerUpdateResponse = PartnerResponse & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: PartnerResponse;
};
};
/**
* Contains response data for the list operation.
*/
export type OperationListResponse = OperationList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: OperationList;
};
};
/**
* Contains response data for the listNext operation.
*/
export type OperationListNextResponse = OperationList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: OperationList;
};
};