@azure/arm-changes 1.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +747 -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/changesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/changesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/changesGetSample.js +34 -0
- package/dist-esm/samples-dev/changesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/changesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/changesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/changesListSample.js +47 -0
- package/dist-esm/samples-dev/changesListSample.js.map +1 -0
- package/dist-esm/src/changesClient.d.ts +19 -0
- package/dist-esm/src/changesClient.d.ts.map +1 -0
- package/dist-esm/src/changesClient.js +70 -0
- package/dist-esm/src/changesClient.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 +191 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +11 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +294 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +135 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/changes.d.ts +54 -0
- package/dist-esm/src/operations/changes.d.ts.map +1 -0
- package/dist-esm/src/operations/changes.js +211 -0
- package/dist-esm/src/operations/changes.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/changes.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/changes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/changes.js +9 -0
- package/dist-esm/src/operationsInterfaces/changes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.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 +116 -0
- package/review/arm-changes.api.md +139 -0
- package/rollup.config.js +122 -0
- package/src/changesClient.ts +101 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +213 -0
- package/src/models/mappers.ts +307 -0
- package/src/models/parameters.ts +152 -0
- package/src/operations/changes.ts +297 -0
- package/src/operations/index.ts +9 -0
- package/src/operationsInterfaces/changes.ts +52 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/tsconfig.json +33 -0
- package/types/arm-changes.d.ts +251 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const ChangeResourceListResult = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "ChangeResourceListResult",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
nextLink: {
|
|
14
|
+
serializedName: "nextLink",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
value: {
|
|
20
|
+
serializedName: "value",
|
|
21
|
+
type: {
|
|
22
|
+
name: "Sequence",
|
|
23
|
+
element: {
|
|
24
|
+
type: {
|
|
25
|
+
name: "Composite",
|
|
26
|
+
className: "ChangeResourceResult"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export const ChangeProperties = {
|
|
35
|
+
type: {
|
|
36
|
+
name: "Composite",
|
|
37
|
+
className: "ChangeProperties",
|
|
38
|
+
modelProperties: {
|
|
39
|
+
targetResourceId: {
|
|
40
|
+
serializedName: "targetResourceId",
|
|
41
|
+
readOnly: true,
|
|
42
|
+
type: {
|
|
43
|
+
name: "String"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
targetResourceType: {
|
|
47
|
+
serializedName: "targetResourceType",
|
|
48
|
+
readOnly: true,
|
|
49
|
+
type: {
|
|
50
|
+
name: "String"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
changeType: {
|
|
54
|
+
serializedName: "changeType",
|
|
55
|
+
readOnly: true,
|
|
56
|
+
type: {
|
|
57
|
+
name: "Enum",
|
|
58
|
+
allowedValues: ["Update", "Delete", "Create"]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
changeAttributes: {
|
|
62
|
+
serializedName: "changeAttributes",
|
|
63
|
+
type: {
|
|
64
|
+
name: "Composite",
|
|
65
|
+
className: "ChangeAttributes"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
changes: {
|
|
69
|
+
serializedName: "changes",
|
|
70
|
+
type: {
|
|
71
|
+
name: "Dictionary",
|
|
72
|
+
value: { type: { name: "Composite", className: "ChangeBase" } }
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export const ChangeAttributes = {
|
|
79
|
+
type: {
|
|
80
|
+
name: "Composite",
|
|
81
|
+
className: "ChangeAttributes",
|
|
82
|
+
modelProperties: {
|
|
83
|
+
correlationId: {
|
|
84
|
+
serializedName: "correlationId",
|
|
85
|
+
readOnly: true,
|
|
86
|
+
type: {
|
|
87
|
+
name: "String"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
timestamp: {
|
|
91
|
+
serializedName: "timestamp",
|
|
92
|
+
readOnly: true,
|
|
93
|
+
type: {
|
|
94
|
+
name: "String"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
changesCount: {
|
|
98
|
+
serializedName: "changesCount",
|
|
99
|
+
readOnly: true,
|
|
100
|
+
type: {
|
|
101
|
+
name: "Number"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
previousResourceSnapshotId: {
|
|
105
|
+
serializedName: "previousResourceSnapshotId",
|
|
106
|
+
readOnly: true,
|
|
107
|
+
type: {
|
|
108
|
+
name: "String"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
newResourceSnapshotId: {
|
|
112
|
+
serializedName: "newResourceSnapshotId",
|
|
113
|
+
readOnly: true,
|
|
114
|
+
type: {
|
|
115
|
+
name: "String"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
export const ChangeBase = {
|
|
122
|
+
type: {
|
|
123
|
+
name: "Composite",
|
|
124
|
+
className: "ChangeBase",
|
|
125
|
+
modelProperties: {
|
|
126
|
+
propertyChangeType: {
|
|
127
|
+
serializedName: "propertyChangeType",
|
|
128
|
+
readOnly: true,
|
|
129
|
+
type: {
|
|
130
|
+
name: "Enum",
|
|
131
|
+
allowedValues: ["Update", "Insert", "Remove"]
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
changeCategory: {
|
|
135
|
+
serializedName: "changeCategory",
|
|
136
|
+
readOnly: true,
|
|
137
|
+
type: {
|
|
138
|
+
name: "Enum",
|
|
139
|
+
allowedValues: ["User", "System"]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
previousValue: {
|
|
143
|
+
serializedName: "previousValue",
|
|
144
|
+
readOnly: true,
|
|
145
|
+
type: {
|
|
146
|
+
name: "String"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
newValue: {
|
|
150
|
+
serializedName: "newValue",
|
|
151
|
+
readOnly: true,
|
|
152
|
+
type: {
|
|
153
|
+
name: "String"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
export const Resource = {
|
|
160
|
+
type: {
|
|
161
|
+
name: "Composite",
|
|
162
|
+
className: "Resource",
|
|
163
|
+
modelProperties: {
|
|
164
|
+
id: {
|
|
165
|
+
serializedName: "id",
|
|
166
|
+
readOnly: true,
|
|
167
|
+
type: {
|
|
168
|
+
name: "String"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
name: {
|
|
172
|
+
serializedName: "name",
|
|
173
|
+
readOnly: true,
|
|
174
|
+
type: {
|
|
175
|
+
name: "String"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
type: {
|
|
179
|
+
serializedName: "type",
|
|
180
|
+
readOnly: true,
|
|
181
|
+
type: {
|
|
182
|
+
name: "String"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
export const ErrorResponse = {
|
|
189
|
+
type: {
|
|
190
|
+
name: "Composite",
|
|
191
|
+
className: "ErrorResponse",
|
|
192
|
+
modelProperties: {
|
|
193
|
+
error: {
|
|
194
|
+
serializedName: "error",
|
|
195
|
+
type: {
|
|
196
|
+
name: "Composite",
|
|
197
|
+
className: "ErrorDetail"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
export const ErrorDetail = {
|
|
204
|
+
type: {
|
|
205
|
+
name: "Composite",
|
|
206
|
+
className: "ErrorDetail",
|
|
207
|
+
modelProperties: {
|
|
208
|
+
code: {
|
|
209
|
+
serializedName: "code",
|
|
210
|
+
readOnly: true,
|
|
211
|
+
type: {
|
|
212
|
+
name: "String"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
message: {
|
|
216
|
+
serializedName: "message",
|
|
217
|
+
readOnly: true,
|
|
218
|
+
type: {
|
|
219
|
+
name: "String"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
target: {
|
|
223
|
+
serializedName: "target",
|
|
224
|
+
readOnly: true,
|
|
225
|
+
type: {
|
|
226
|
+
name: "String"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
details: {
|
|
230
|
+
serializedName: "details",
|
|
231
|
+
readOnly: true,
|
|
232
|
+
type: {
|
|
233
|
+
name: "Sequence",
|
|
234
|
+
element: {
|
|
235
|
+
type: {
|
|
236
|
+
name: "Composite",
|
|
237
|
+
className: "ErrorDetail"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
additionalInfo: {
|
|
243
|
+
serializedName: "additionalInfo",
|
|
244
|
+
readOnly: true,
|
|
245
|
+
type: {
|
|
246
|
+
name: "Sequence",
|
|
247
|
+
element: {
|
|
248
|
+
type: {
|
|
249
|
+
name: "Composite",
|
|
250
|
+
className: "ErrorAdditionalInfo"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
export const ErrorAdditionalInfo = {
|
|
259
|
+
type: {
|
|
260
|
+
name: "Composite",
|
|
261
|
+
className: "ErrorAdditionalInfo",
|
|
262
|
+
modelProperties: {
|
|
263
|
+
type: {
|
|
264
|
+
serializedName: "type",
|
|
265
|
+
readOnly: true,
|
|
266
|
+
type: {
|
|
267
|
+
name: "String"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
info: {
|
|
271
|
+
serializedName: "info",
|
|
272
|
+
readOnly: true,
|
|
273
|
+
type: {
|
|
274
|
+
name: "Dictionary",
|
|
275
|
+
value: { type: { name: "any" } }
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
export const ChangeResourceResult = {
|
|
282
|
+
type: {
|
|
283
|
+
name: "Composite",
|
|
284
|
+
className: "ChangeResourceResult",
|
|
285
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
286
|
+
serializedName: "properties",
|
|
287
|
+
type: {
|
|
288
|
+
name: "Composite",
|
|
289
|
+
className: "ChangeProperties"
|
|
290
|
+
}
|
|
291
|
+
} })
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,wBAAwB,GAA+B;IAClE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,0BAA0B;QACrC,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,sBAAsB;yBAClC;qBACF;iBACF;aACF;SACF;KACF;CACF,CA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;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF,GACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
5
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
6
|
+
export declare const resourceProviderNamespace: OperationURLParameter;
|
|
7
|
+
export declare const resourceType: OperationURLParameter;
|
|
8
|
+
export declare const resourceName: OperationURLParameter;
|
|
9
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
10
|
+
export declare const top: OperationQueryParameter;
|
|
11
|
+
export declare const skipToken: OperationQueryParameter;
|
|
12
|
+
export declare const changeResourceId: OperationURLParameter;
|
|
13
|
+
export declare const nextLink: OperationURLParameter;
|
|
14
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBASvC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,uBAajB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,uBAQvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAS9B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const accept = {
|
|
9
|
+
parameterPath: "accept",
|
|
10
|
+
mapper: {
|
|
11
|
+
defaultValue: "application/json",
|
|
12
|
+
isConstant: true,
|
|
13
|
+
serializedName: "Accept",
|
|
14
|
+
type: {
|
|
15
|
+
name: "String"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export const $host = {
|
|
20
|
+
parameterPath: "$host",
|
|
21
|
+
mapper: {
|
|
22
|
+
serializedName: "$host",
|
|
23
|
+
required: true,
|
|
24
|
+
type: {
|
|
25
|
+
name: "String"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
skipEncoding: true
|
|
29
|
+
};
|
|
30
|
+
export const subscriptionId = {
|
|
31
|
+
parameterPath: "subscriptionId",
|
|
32
|
+
mapper: {
|
|
33
|
+
serializedName: "subscriptionId",
|
|
34
|
+
required: true,
|
|
35
|
+
type: {
|
|
36
|
+
name: "String"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export const resourceGroupName = {
|
|
41
|
+
parameterPath: "resourceGroupName",
|
|
42
|
+
mapper: {
|
|
43
|
+
serializedName: "resourceGroupName",
|
|
44
|
+
required: true,
|
|
45
|
+
type: {
|
|
46
|
+
name: "String"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export const resourceProviderNamespace = {
|
|
51
|
+
parameterPath: "resourceProviderNamespace",
|
|
52
|
+
mapper: {
|
|
53
|
+
serializedName: "resourceProviderNamespace",
|
|
54
|
+
required: true,
|
|
55
|
+
type: {
|
|
56
|
+
name: "String"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export const resourceType = {
|
|
61
|
+
parameterPath: "resourceType",
|
|
62
|
+
mapper: {
|
|
63
|
+
serializedName: "resourceType",
|
|
64
|
+
required: true,
|
|
65
|
+
type: {
|
|
66
|
+
name: "String"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export const resourceName = {
|
|
71
|
+
parameterPath: "resourceName",
|
|
72
|
+
mapper: {
|
|
73
|
+
serializedName: "resourceName",
|
|
74
|
+
required: true,
|
|
75
|
+
type: {
|
|
76
|
+
name: "String"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
export const apiVersion = {
|
|
81
|
+
parameterPath: "apiVersion",
|
|
82
|
+
mapper: {
|
|
83
|
+
defaultValue: "2022-05-01",
|
|
84
|
+
isConstant: true,
|
|
85
|
+
serializedName: "api-version",
|
|
86
|
+
type: {
|
|
87
|
+
name: "String"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
export const top = {
|
|
92
|
+
parameterPath: ["options", "top"],
|
|
93
|
+
mapper: {
|
|
94
|
+
defaultValue: 100,
|
|
95
|
+
constraints: {
|
|
96
|
+
InclusiveMaximum: 100,
|
|
97
|
+
InclusiveMinimum: 1
|
|
98
|
+
},
|
|
99
|
+
serializedName: "$top",
|
|
100
|
+
type: {
|
|
101
|
+
name: "Number"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
export const skipToken = {
|
|
106
|
+
parameterPath: ["options", "skipToken"],
|
|
107
|
+
mapper: {
|
|
108
|
+
serializedName: "$skipToken",
|
|
109
|
+
type: {
|
|
110
|
+
name: "String"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
export const changeResourceId = {
|
|
115
|
+
parameterPath: "changeResourceId",
|
|
116
|
+
mapper: {
|
|
117
|
+
serializedName: "changeResourceId",
|
|
118
|
+
required: true,
|
|
119
|
+
type: {
|
|
120
|
+
name: "String"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export const nextLink = {
|
|
125
|
+
parameterPath: "nextLink",
|
|
126
|
+
mapper: {
|
|
127
|
+
serializedName: "nextLink",
|
|
128
|
+
required: true,
|
|
129
|
+
type: {
|
|
130
|
+
name: "String"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
skipEncoding: true
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,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,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA4B;IAChD,aAAa,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;IACvC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Changes } from "../operationsInterfaces";
|
|
3
|
+
import { ChangesClient } from "../changesClient";
|
|
4
|
+
import { ChangeResourceResult, ChangesListOptionalParams, ChangesGetOptionalParams, ChangesGetResponse } from "../models";
|
|
5
|
+
/** Class containing Changes operations. */
|
|
6
|
+
export declare class ChangesImpl implements Changes {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Changes class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ChangesClient);
|
|
13
|
+
/**
|
|
14
|
+
* Obtains a list of change resources from the past 14 days for the target resource
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param resourceProviderNamespace The name of the resource provider namespace.
|
|
17
|
+
* @param resourceType The name of the resource type.
|
|
18
|
+
* @param resourceName The name of the resource.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, resourceProviderNamespace: string, resourceType: string, resourceName: string, options?: ChangesListOptionalParams): PagedAsyncIterableIterator<ChangeResourceResult>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Obtains a list of change resources from the past 14 days for the target resource
|
|
26
|
+
* @param resourceGroupName The name of the resource group.
|
|
27
|
+
* @param resourceProviderNamespace The name of the resource provider namespace.
|
|
28
|
+
* @param resourceType The name of the resource type.
|
|
29
|
+
* @param resourceName The name of the resource.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
private _list;
|
|
33
|
+
/**
|
|
34
|
+
* Obtains the specified change resource for the target resource
|
|
35
|
+
* @param resourceGroupName The name of the resource group.
|
|
36
|
+
* @param resourceProviderNamespace The name of the resource provider namespace.
|
|
37
|
+
* @param resourceType The name of the resource type.
|
|
38
|
+
* @param resourceName The name of the resource.
|
|
39
|
+
* @param changeResourceId The ID of the change resource
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(resourceGroupName: string, resourceProviderNamespace: string, resourceType: string, resourceName: string, changeResourceId: string, options?: ChangesGetOptionalParams): Promise<ChangesGetResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* ListNext
|
|
45
|
+
* @param resourceGroupName The name of the resource group.
|
|
46
|
+
* @param resourceProviderNamespace The name of the resource provider namespace.
|
|
47
|
+
* @param resourceType The name of the resource type.
|
|
48
|
+
* @param resourceName The name of the resource.
|
|
49
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
private _listNext;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=changes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../src/operations/changes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIlD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACL,oBAAoB,EAEpB,yBAAyB,EAEzB,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;;;;OAOG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,oBAAoB,CAAC;YA2BpC,cAAc;YA8Bd,aAAa;IAkB5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAmBb;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAc9B;;;;;;;;OAQG;IACH,OAAO,CAAC,SAAS;CAoBlB"}
|