@azure/arm-managementpartner 1.2.1 → 2.0.0
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 +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -81
- package/dist/index.js +634 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/deletePartnerDetails.d.ts +2 -0
- package/dist-esm/samples-dev/deletePartnerDetails.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletePartnerDetails.js +29 -0
- package/dist-esm/samples-dev/deletePartnerDetails.js.map +1 -0
- package/dist-esm/samples-dev/getOperations.d.ts +2 -0
- package/dist-esm/samples-dev/getOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/getOperations.js +42 -0
- package/dist-esm/samples-dev/getOperations.js.map +1 -0
- package/dist-esm/samples-dev/getPartnerDetails.d.ts +2 -0
- package/dist-esm/samples-dev/getPartnerDetails.d.ts.map +1 -0
- package/dist-esm/samples-dev/getPartnerDetails.js +28 -0
- package/dist-esm/samples-dev/getPartnerDetails.js.map +1 -0
- package/dist-esm/samples-dev/patchPartnerDetails.d.ts +2 -0
- package/dist-esm/samples-dev/patchPartnerDetails.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchPartnerDetails.js +29 -0
- package/dist-esm/samples-dev/patchPartnerDetails.js.map +1 -0
- package/dist-esm/samples-dev/putPartnerDetails.d.ts +2 -0
- package/dist-esm/samples-dev/putPartnerDetails.d.ts.map +1 -0
- package/dist-esm/samples-dev/putPartnerDetails.js +29 -0
- package/dist-esm/samples-dev/putPartnerDetails.js.map +1 -0
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.d.ts +18 -0
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.js +47 -0
- package/dist-esm/src/aCEProvisioningManagementPartnerAPI.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +137 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +14 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +8 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +67 -66
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +7 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +33 -22
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operation.d.ts +32 -0
- package/dist-esm/src/operations/operation.d.ts.map +1 -0
- package/dist-esm/src/operations/operation.js +120 -0
- package/dist-esm/src/operations/operation.js.map +1 -0
- package/dist-esm/src/operations/partner.d.ts +37 -0
- package/dist-esm/src/operations/partner.d.ts.map +1 -0
- package/dist-esm/src/operations/partner.js +117 -0
- package/dist-esm/src/operations/partner.js.map +1 -0
- package/dist-esm/src/operations/partners.d.ts +18 -0
- package/dist-esm/src/operations/partners.d.ts.map +1 -0
- package/dist-esm/src/operations/partners.js +46 -0
- package/dist-esm/src/operations/partners.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operation.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operation.js +9 -0
- package/dist-esm/src/operationsInterfaces/operation.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partner.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/partner.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partner.js +9 -0
- package/dist-esm/src/operationsInterfaces/partner.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partners.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/partners.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partners.js +9 -0
- package/dist-esm/src/operationsInterfaces/partners.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +81 -34
- package/review/arm-managementpartner.api.md +160 -0
- package/rollup.config.js +184 -27
- package/src/aCEProvisioningManagementPartnerAPI.ts +59 -37
- package/src/index.ts +12 -0
- package/src/models/index.ts +117 -250
- package/src/models/mappers.ts +68 -68
- package/src/models/parameters.ts +42 -23
- package/src/operations/index.ts +4 -5
- package/src/operations/operation.ts +87 -75
- package/src/operations/partner.ts +76 -152
- package/src/operations/partners.ts +54 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operation.ts +22 -0
- package/src/operationsInterfaces/partner.ts +57 -0
- package/src/operationsInterfaces/partners.ts +18 -0
- package/tsconfig.json +6 -5
- package/types/arm-managementpartner.d.ts +222 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-managementpartner.js +0 -686
- package/dist/arm-managementpartner.js.map +0 -1
- package/dist/arm-managementpartner.min.js +0 -1
- package/dist/arm-managementpartner.min.js.map +0 -1
- package/esm/aCEProvisioningManagementPartnerAPI.d.ts +0 -24
- package/esm/aCEProvisioningManagementPartnerAPI.d.ts.map +0 -1
- package/esm/aCEProvisioningManagementPartnerAPI.js +0 -38
- package/esm/aCEProvisioningManagementPartnerAPI.js.map +0 -1
- package/esm/aCEProvisioningManagementPartnerAPIContext.d.ts +0 -20
- package/esm/aCEProvisioningManagementPartnerAPIContext.d.ts.map +0 -1
- package/esm/aCEProvisioningManagementPartnerAPIContext.js +0 -56
- package/esm/aCEProvisioningManagementPartnerAPIContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -273
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -10
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationMappers.d.ts +0 -2
- package/esm/models/operationMappers.d.ts.map +0 -1
- package/esm/models/operationMappers.js +0 -11
- package/esm/models/operationMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -6
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/partnerMappers.d.ts +0 -2
- package/esm/models/partnerMappers.d.ts.map +0 -1
- package/esm/models/partnerMappers.js +0 -11
- package/esm/models/partnerMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operation.d.ts +0 -48
- package/esm/operations/operation.d.ts.map +0 -1
- package/esm/operations/operation.js +0 -77
- package/esm/operations/operation.js.map +0 -1
- package/esm/operations/partner.d.ts +0 -89
- package/esm/operations/partner.d.ts.map +0 -1
- package/esm/operations/partner.js +0 -137
- package/esm/operations/partner.js.map +0 -1
- package/src/aCEProvisioningManagementPartnerAPIContext.ts +0 -62
- package/src/models/operationMappers.ts +0 -18
- package/src/models/partnerMappers.ts +0 -17
package/src/models/index.ts
CHANGED
|
@@ -1,299 +1,166 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing PartnerResponse.
|
|
20
|
-
* this is the management partner operations response
|
|
21
|
-
*
|
|
22
|
-
* @extends BaseResource
|
|
23
|
-
*/
|
|
24
|
-
export interface PartnerResponse extends BaseResource {
|
|
25
|
-
/**
|
|
26
|
-
* @member {number} [etag] Type of the partner
|
|
27
|
-
*/
|
|
11
|
+
/** this is the management partner operations response */
|
|
12
|
+
export interface PartnerResponse {
|
|
13
|
+
/** Type of the partner */
|
|
28
14
|
etag?: number;
|
|
29
15
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* the server.**
|
|
16
|
+
* Identifier of the partner
|
|
17
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
33
18
|
*/
|
|
34
19
|
readonly id?: string;
|
|
35
20
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* the server.**
|
|
21
|
+
* Name of the partner
|
|
22
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
39
23
|
*/
|
|
40
24
|
readonly name?: string;
|
|
41
25
|
/**
|
|
42
|
-
*
|
|
26
|
+
* Type of resource. "Microsoft.ManagementPartner/partners"
|
|
27
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
43
28
|
*/
|
|
29
|
+
readonly type?: string;
|
|
30
|
+
/** This is the partner id */
|
|
44
31
|
partnerId?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @member {string} [partnerName] This is the partner name
|
|
47
|
-
*/
|
|
32
|
+
/** This is the partner name */
|
|
48
33
|
partnerName?: string;
|
|
49
|
-
/**
|
|
50
|
-
* @member {string} [tenantId] This is the tenant id.
|
|
51
|
-
*/
|
|
34
|
+
/** This is the tenant id. */
|
|
52
35
|
tenantId?: string;
|
|
53
|
-
/**
|
|
54
|
-
* @member {string} [objectId] This is the object id.
|
|
55
|
-
*/
|
|
36
|
+
/** This is the object id. */
|
|
56
37
|
objectId?: string;
|
|
57
|
-
/**
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
version?: string;
|
|
61
|
-
/**
|
|
62
|
-
* @member {Date} [updatedTime] This is the DateTime when the partner was
|
|
63
|
-
* updated.
|
|
64
|
-
*/
|
|
38
|
+
/** This is the version. */
|
|
39
|
+
version?: number;
|
|
40
|
+
/** This is the DateTime when the partner was updated. */
|
|
65
41
|
updatedTime?: Date;
|
|
66
|
-
/**
|
|
67
|
-
* @member {Date} [createdTime] This is the DateTime when the partner was
|
|
68
|
-
* created.
|
|
69
|
-
*/
|
|
42
|
+
/** This is the DateTime when the partner was created. */
|
|
70
43
|
createdTime?: Date;
|
|
71
|
-
/**
|
|
72
|
-
|
|
73
|
-
* include: 'Active', 'Deleted'
|
|
74
|
-
*/
|
|
75
|
-
state?: State;
|
|
76
|
-
/**
|
|
77
|
-
* @member {string} [type] Type of resource.
|
|
78
|
-
* "Microsoft.ManagementPartner/partners"
|
|
79
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
80
|
-
* the server.**
|
|
81
|
-
*/
|
|
82
|
-
readonly type?: string;
|
|
44
|
+
/** This is the partner state */
|
|
45
|
+
state?: ManagementPartnerState;
|
|
83
46
|
}
|
|
84
47
|
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
48
|
+
/** this is the management partner operations error */
|
|
49
|
+
export interface ErrorModel {
|
|
50
|
+
/** this is the ExtendedErrorInfo property */
|
|
51
|
+
error?: ExtendedErrorInfo;
|
|
52
|
+
/** this is the error response code */
|
|
53
|
+
code?: string;
|
|
54
|
+
/** this is the extended error info message */
|
|
55
|
+
message?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** this is the extended error info */
|
|
91
59
|
export interface ExtendedErrorInfo {
|
|
92
|
-
/**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
*/
|
|
96
|
-
code?: Code;
|
|
97
|
-
/**
|
|
98
|
-
* @member {string} [message] this is the extended error info message
|
|
99
|
-
*/
|
|
60
|
+
/** this is the error response code */
|
|
61
|
+
code?: string;
|
|
62
|
+
/** this is the extended error info message */
|
|
100
63
|
message?: string;
|
|
101
64
|
}
|
|
102
65
|
|
|
103
|
-
/**
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
export interface ErrorModel {
|
|
110
|
-
/**
|
|
111
|
-
* @member {ExtendedErrorInfo} [error] this is the ExtendedErrorInfo property
|
|
112
|
-
*/
|
|
113
|
-
error?: ExtendedErrorInfo;
|
|
66
|
+
/** this is the management partner operations list */
|
|
67
|
+
export interface OperationList {
|
|
68
|
+
/** this is the operation response list */
|
|
69
|
+
value?: OperationResponse[];
|
|
70
|
+
/** Url to get the next page of items. */
|
|
71
|
+
nextLink?: string;
|
|
114
72
|
}
|
|
115
73
|
|
|
116
|
-
/**
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
74
|
+
/** this is the management partner operations response */
|
|
75
|
+
export interface OperationResponse {
|
|
76
|
+
/** this is the operation response name */
|
|
77
|
+
name?: string;
|
|
78
|
+
/** this is the operation display */
|
|
79
|
+
display?: OperationDisplay;
|
|
80
|
+
/** the is operation response origin information */
|
|
81
|
+
origin?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** this is the management partner operation */
|
|
122
85
|
export interface OperationDisplay {
|
|
123
|
-
/**
|
|
124
|
-
* @member {string} [provider] the is management partner provider
|
|
125
|
-
*/
|
|
86
|
+
/** the is management partner provider */
|
|
126
87
|
provider?: string;
|
|
127
|
-
/**
|
|
128
|
-
* @member {string} [resource] the is management partner resource
|
|
129
|
-
*/
|
|
88
|
+
/** the is management partner resource */
|
|
130
89
|
resource?: string;
|
|
131
|
-
/**
|
|
132
|
-
* @member {string} [operation] the is management partner operation
|
|
133
|
-
*/
|
|
90
|
+
/** the is management partner operation */
|
|
134
91
|
operation?: string;
|
|
135
|
-
/**
|
|
136
|
-
* @member {string} [description] the is management partner operation
|
|
137
|
-
* description
|
|
138
|
-
*/
|
|
92
|
+
/** the is management partner operation description */
|
|
139
93
|
description?: string;
|
|
140
94
|
}
|
|
141
95
|
|
|
142
|
-
/**
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
export interface OperationResponse {
|
|
149
|
-
/**
|
|
150
|
-
* @member {string} [name] this is the operation response name
|
|
151
|
-
*/
|
|
152
|
-
name?: string;
|
|
153
|
-
/**
|
|
154
|
-
* @member {OperationDisplay} [display] this is the operation display
|
|
155
|
-
*/
|
|
156
|
-
display?: OperationDisplay;
|
|
157
|
-
/**
|
|
158
|
-
* @member {string} [origin] the is operation response origin information
|
|
159
|
-
*/
|
|
160
|
-
origin?: string;
|
|
96
|
+
/** Known values of {@link ManagementPartnerState} that the service accepts. */
|
|
97
|
+
export enum KnownManagementPartnerState {
|
|
98
|
+
Active = "Active",
|
|
99
|
+
Deleted = "Deleted"
|
|
161
100
|
}
|
|
162
101
|
|
|
163
102
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
103
|
+
* Defines values for ManagementPartnerState. \
|
|
104
|
+
* {@link KnownManagementPartnerState} can be used interchangeably with ManagementPartnerState,
|
|
105
|
+
* this enum contains the known values that the service supports.
|
|
106
|
+
* ### Known values supported by the service
|
|
107
|
+
* **Active** \
|
|
108
|
+
* **Deleted**
|
|
167
109
|
*/
|
|
168
|
-
export
|
|
169
|
-
/**
|
|
170
|
-
* @member {string} [baseUri]
|
|
171
|
-
*/
|
|
172
|
-
baseUri?: string;
|
|
173
|
-
}
|
|
110
|
+
export type ManagementPartnerState = string;
|
|
174
111
|
|
|
112
|
+
/** Optional parameters. */
|
|
113
|
+
export interface PartnerGetOptionalParams extends coreClient.OperationOptions {}
|
|
175
114
|
|
|
176
|
-
/**
|
|
177
|
-
|
|
178
|
-
* An interface representing the OperationList.
|
|
179
|
-
* this is the management partner operations list
|
|
180
|
-
*
|
|
181
|
-
* @extends Array<OperationResponse>
|
|
182
|
-
*/
|
|
183
|
-
export interface OperationList extends Array<OperationResponse> {
|
|
184
|
-
/**
|
|
185
|
-
* @member {string} [nextLink] Url to get the next page of items.
|
|
186
|
-
*/
|
|
187
|
-
nextLink?: string;
|
|
188
|
-
}
|
|
115
|
+
/** Contains response data for the get operation. */
|
|
116
|
+
export type PartnerGetResponse = PartnerResponse;
|
|
189
117
|
|
|
190
|
-
/**
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
* @readonly
|
|
194
|
-
* @enum {string}
|
|
195
|
-
*/
|
|
196
|
-
export type State = 'Active' | 'Deleted';
|
|
118
|
+
/** Optional parameters. */
|
|
119
|
+
export interface PartnerCreateOptionalParams
|
|
120
|
+
extends coreClient.OperationOptions {}
|
|
197
121
|
|
|
198
|
-
/**
|
|
199
|
-
|
|
200
|
-
* Possible values include: 'NotFound', 'Conflict', 'BadRequest'
|
|
201
|
-
* @readonly
|
|
202
|
-
* @enum {string}
|
|
203
|
-
*/
|
|
204
|
-
export type Code = 'NotFound' | 'Conflict' | 'BadRequest';
|
|
122
|
+
/** Contains response data for the create operation. */
|
|
123
|
+
export type PartnerCreateResponse = PartnerResponse;
|
|
205
124
|
|
|
206
|
-
/**
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
export type PartnerGetResponse = PartnerResponse & {
|
|
210
|
-
/**
|
|
211
|
-
* The underlying HTTP response.
|
|
212
|
-
*/
|
|
213
|
-
_response: msRest.HttpResponse & {
|
|
214
|
-
/**
|
|
215
|
-
* The response body as text (string format)
|
|
216
|
-
*/
|
|
217
|
-
bodyAsText: string;
|
|
218
|
-
/**
|
|
219
|
-
* The response body as parsed JSON or XML
|
|
220
|
-
*/
|
|
221
|
-
parsedBody: PartnerResponse;
|
|
222
|
-
};
|
|
223
|
-
};
|
|
125
|
+
/** Optional parameters. */
|
|
126
|
+
export interface PartnerUpdateOptionalParams
|
|
127
|
+
extends coreClient.OperationOptions {}
|
|
224
128
|
|
|
225
|
-
/**
|
|
226
|
-
|
|
227
|
-
*/
|
|
228
|
-
export type PartnerCreateResponse = PartnerResponse & {
|
|
229
|
-
/**
|
|
230
|
-
* The underlying HTTP response.
|
|
231
|
-
*/
|
|
232
|
-
_response: msRest.HttpResponse & {
|
|
233
|
-
/**
|
|
234
|
-
* The response body as text (string format)
|
|
235
|
-
*/
|
|
236
|
-
bodyAsText: string;
|
|
237
|
-
/**
|
|
238
|
-
* The response body as parsed JSON or XML
|
|
239
|
-
*/
|
|
240
|
-
parsedBody: PartnerResponse;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
129
|
+
/** Contains response data for the update operation. */
|
|
130
|
+
export type PartnerUpdateResponse = PartnerResponse;
|
|
243
131
|
|
|
244
|
-
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
export type PartnerUpdateResponse = PartnerResponse & {
|
|
248
|
-
/**
|
|
249
|
-
* The underlying HTTP response.
|
|
250
|
-
*/
|
|
251
|
-
_response: msRest.HttpResponse & {
|
|
252
|
-
/**
|
|
253
|
-
* The response body as text (string format)
|
|
254
|
-
*/
|
|
255
|
-
bodyAsText: string;
|
|
256
|
-
/**
|
|
257
|
-
* The response body as parsed JSON or XML
|
|
258
|
-
*/
|
|
259
|
-
parsedBody: PartnerResponse;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
132
|
+
/** Optional parameters. */
|
|
133
|
+
export interface PartnerDeleteOptionalParams
|
|
134
|
+
extends coreClient.OperationOptions {}
|
|
262
135
|
|
|
263
|
-
/**
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
export type OperationListResponse = OperationList & {
|
|
267
|
-
/**
|
|
268
|
-
* The underlying HTTP response.
|
|
269
|
-
*/
|
|
270
|
-
_response: msRest.HttpResponse & {
|
|
271
|
-
/**
|
|
272
|
-
* The response body as text (string format)
|
|
273
|
-
*/
|
|
274
|
-
bodyAsText: string;
|
|
275
|
-
/**
|
|
276
|
-
* The response body as parsed JSON or XML
|
|
277
|
-
*/
|
|
278
|
-
parsedBody: OperationList;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
136
|
+
/** Optional parameters. */
|
|
137
|
+
export interface OperationListOptionalParams
|
|
138
|
+
extends coreClient.OperationOptions {}
|
|
281
139
|
|
|
282
|
-
/**
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
140
|
+
/** Contains response data for the list operation. */
|
|
141
|
+
export type OperationListResponse = OperationList;
|
|
142
|
+
|
|
143
|
+
/** Optional parameters. */
|
|
144
|
+
export interface OperationListNextOptionalParams
|
|
145
|
+
extends coreClient.OperationOptions {}
|
|
146
|
+
|
|
147
|
+
/** Contains response data for the listNext operation. */
|
|
148
|
+
export type OperationListNextResponse = OperationList;
|
|
149
|
+
|
|
150
|
+
/** Optional parameters. */
|
|
151
|
+
export interface PartnersGetOptionalParams
|
|
152
|
+
extends coreClient.OperationOptions {}
|
|
153
|
+
|
|
154
|
+
/** Contains response data for the get operation. */
|
|
155
|
+
export type PartnersGetResponse = PartnerResponse;
|
|
156
|
+
|
|
157
|
+
/** Optional parameters. */
|
|
158
|
+
export interface ACEProvisioningManagementPartnerAPIOptionalParams
|
|
159
|
+
extends coreClient.ServiceClientOptions {
|
|
160
|
+
/** server parameter */
|
|
161
|
+
$host?: string;
|
|
162
|
+
/** Api Version */
|
|
163
|
+
apiVersion?: string;
|
|
164
|
+
/** Overrides client endpoint. */
|
|
165
|
+
endpoint?: string;
|
|
166
|
+
}
|
package/src/models/mappers.ts
CHANGED
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
13
10
|
|
|
14
|
-
export const
|
|
15
|
-
export const BaseResource = BaseResourceMapper;
|
|
16
|
-
|
|
17
|
-
export const PartnerResponse: msRest.CompositeMapper = {
|
|
18
|
-
serializedName: "PartnerResponse",
|
|
11
|
+
export const PartnerResponse: coreClient.CompositeMapper = {
|
|
19
12
|
type: {
|
|
20
13
|
name: "Composite",
|
|
21
14
|
className: "PartnerResponse",
|
|
@@ -27,15 +20,22 @@ export const PartnerResponse: msRest.CompositeMapper = {
|
|
|
27
20
|
}
|
|
28
21
|
},
|
|
29
22
|
id: {
|
|
30
|
-
readOnly: true,
|
|
31
23
|
serializedName: "id",
|
|
24
|
+
readOnly: true,
|
|
32
25
|
type: {
|
|
33
26
|
name: "String"
|
|
34
27
|
}
|
|
35
28
|
},
|
|
36
29
|
name: {
|
|
37
|
-
readOnly: true,
|
|
38
30
|
serializedName: "name",
|
|
31
|
+
readOnly: true,
|
|
32
|
+
type: {
|
|
33
|
+
name: "String"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
type: {
|
|
37
|
+
serializedName: "type",
|
|
38
|
+
readOnly: true,
|
|
39
39
|
type: {
|
|
40
40
|
name: "String"
|
|
41
41
|
}
|
|
@@ -67,7 +67,7 @@ export const PartnerResponse: msRest.CompositeMapper = {
|
|
|
67
67
|
version: {
|
|
68
68
|
serializedName: "properties.version",
|
|
69
69
|
type: {
|
|
70
|
-
name: "
|
|
70
|
+
name: "Number"
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
updatedTime: {
|
|
@@ -87,24 +87,23 @@ export const PartnerResponse: msRest.CompositeMapper = {
|
|
|
87
87
|
type: {
|
|
88
88
|
name: "String"
|
|
89
89
|
}
|
|
90
|
-
},
|
|
91
|
-
type: {
|
|
92
|
-
readOnly: true,
|
|
93
|
-
serializedName: "type",
|
|
94
|
-
type: {
|
|
95
|
-
name: "String"
|
|
96
|
-
}
|
|
97
90
|
}
|
|
98
91
|
}
|
|
99
92
|
}
|
|
100
93
|
};
|
|
101
94
|
|
|
102
|
-
export const
|
|
103
|
-
serializedName: "ExtendedErrorInfo",
|
|
95
|
+
export const ErrorModel: coreClient.CompositeMapper = {
|
|
104
96
|
type: {
|
|
105
97
|
name: "Composite",
|
|
106
|
-
className: "
|
|
98
|
+
className: "ErrorModel",
|
|
107
99
|
modelProperties: {
|
|
100
|
+
error: {
|
|
101
|
+
serializedName: "error",
|
|
102
|
+
type: {
|
|
103
|
+
name: "Composite",
|
|
104
|
+
className: "ExtendedErrorInfo"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
108
107
|
code: {
|
|
109
108
|
serializedName: "code",
|
|
110
109
|
type: {
|
|
@@ -121,49 +120,46 @@ export const ExtendedErrorInfo: msRest.CompositeMapper = {
|
|
|
121
120
|
}
|
|
122
121
|
};
|
|
123
122
|
|
|
124
|
-
export const
|
|
125
|
-
serializedName: "Error",
|
|
123
|
+
export const ExtendedErrorInfo: coreClient.CompositeMapper = {
|
|
126
124
|
type: {
|
|
127
125
|
name: "Composite",
|
|
128
|
-
className: "
|
|
126
|
+
className: "ExtendedErrorInfo",
|
|
129
127
|
modelProperties: {
|
|
130
|
-
|
|
131
|
-
serializedName: "
|
|
128
|
+
code: {
|
|
129
|
+
serializedName: "code",
|
|
132
130
|
type: {
|
|
133
|
-
name: "
|
|
134
|
-
|
|
131
|
+
name: "String"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
message: {
|
|
135
|
+
serializedName: "message",
|
|
136
|
+
type: {
|
|
137
|
+
name: "String"
|
|
135
138
|
}
|
|
136
139
|
}
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
};
|
|
140
143
|
|
|
141
|
-
export const
|
|
142
|
-
serializedName: "OperationDisplay",
|
|
144
|
+
export const OperationList: coreClient.CompositeMapper = {
|
|
143
145
|
type: {
|
|
144
146
|
name: "Composite",
|
|
145
|
-
className: "
|
|
147
|
+
className: "OperationList",
|
|
146
148
|
modelProperties: {
|
|
147
|
-
|
|
148
|
-
serializedName: "
|
|
149
|
-
type: {
|
|
150
|
-
name: "String"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
resource: {
|
|
154
|
-
serializedName: "resource",
|
|
155
|
-
type: {
|
|
156
|
-
name: "String"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
operation: {
|
|
160
|
-
serializedName: "operation",
|
|
149
|
+
value: {
|
|
150
|
+
serializedName: "value",
|
|
161
151
|
type: {
|
|
162
|
-
name: "
|
|
152
|
+
name: "Sequence",
|
|
153
|
+
element: {
|
|
154
|
+
type: {
|
|
155
|
+
name: "Composite",
|
|
156
|
+
className: "OperationResponse"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
163
159
|
}
|
|
164
160
|
},
|
|
165
|
-
|
|
166
|
-
serializedName: "
|
|
161
|
+
nextLink: {
|
|
162
|
+
serializedName: "nextLink",
|
|
167
163
|
type: {
|
|
168
164
|
name: "String"
|
|
169
165
|
}
|
|
@@ -172,8 +168,7 @@ export const OperationDisplay: msRest.CompositeMapper = {
|
|
|
172
168
|
}
|
|
173
169
|
};
|
|
174
170
|
|
|
175
|
-
export const OperationResponse:
|
|
176
|
-
serializedName: "OperationResponse",
|
|
171
|
+
export const OperationResponse: coreClient.CompositeMapper = {
|
|
177
172
|
type: {
|
|
178
173
|
name: "Composite",
|
|
179
174
|
className: "OperationResponse",
|
|
@@ -201,26 +196,31 @@ export const OperationResponse: msRest.CompositeMapper = {
|
|
|
201
196
|
}
|
|
202
197
|
};
|
|
203
198
|
|
|
204
|
-
export const
|
|
205
|
-
serializedName: "OperationList",
|
|
199
|
+
export const OperationDisplay: coreClient.CompositeMapper = {
|
|
206
200
|
type: {
|
|
207
201
|
name: "Composite",
|
|
208
|
-
className: "
|
|
202
|
+
className: "OperationDisplay",
|
|
209
203
|
modelProperties: {
|
|
210
|
-
|
|
211
|
-
serializedName: "",
|
|
204
|
+
provider: {
|
|
205
|
+
serializedName: "provider",
|
|
212
206
|
type: {
|
|
213
|
-
name: "
|
|
214
|
-
element: {
|
|
215
|
-
type: {
|
|
216
|
-
name: "Composite",
|
|
217
|
-
className: "OperationResponse"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
207
|
+
name: "String"
|
|
220
208
|
}
|
|
221
209
|
},
|
|
222
|
-
|
|
223
|
-
serializedName: "
|
|
210
|
+
resource: {
|
|
211
|
+
serializedName: "resource",
|
|
212
|
+
type: {
|
|
213
|
+
name: "String"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
operation: {
|
|
217
|
+
serializedName: "operation",
|
|
218
|
+
type: {
|
|
219
|
+
name: "String"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
description: {
|
|
223
|
+
serializedName: "description",
|
|
224
224
|
type: {
|
|
225
225
|
name: "String"
|
|
226
226
|
}
|