@azure/arm-changeanalysis 1.1.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 +1099 -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/src/azureChangeAnalysisManagementClient.d.ts +20 -0
- package/dist-esm/src/azureChangeAnalysisManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureChangeAnalysisManagementClient.js +53 -0
- package/dist-esm/src/azureChangeAnalysisManagementClient.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 +240 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +14 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +172 -228
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +51 -46
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/changes.d.ts +71 -0
- package/dist-esm/src/operations/changes.d.ts.map +1 -0
- package/dist-esm/src/operations/changes.js +269 -0
- package/dist-esm/src/operations/changes.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +34 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +122 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/resourceChanges.d.ts +43 -0
- package/dist-esm/src/operations/resourceChanges.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceChanges.js +141 -0
- package/dist-esm/src/operations/resourceChanges.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/changes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/changes.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/changes.js} +2 -1
- package/dist-esm/src/operationsInterfaces/changes.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/operations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceChanges.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/resourceChanges.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceChanges.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceChanges.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 +63 -32
- package/review/arm-changeanalysis.api.md +230 -0
- package/rollup.config.js +181 -30
- package/src/azureChangeAnalysisManagementClient.ts +64 -36
- package/src/index.ts +12 -0
- package/src/models/index.ts +191 -455
- package/src/models/mappers.ts +175 -240
- package/src/models/parameters.ts +65 -47
- package/src/operations/changes.ts +267 -173
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +89 -79
- package/src/operations/resourceChanges.ts +126 -95
- package/src/operationsInterfaces/changes.ts +45 -0
- package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +3 -8
- package/src/operationsInterfaces/operations.ts +26 -0
- package/src/operationsInterfaces/resourceChanges.ts +29 -0
- package/tsconfig.json +3 -3
- package/types/arm-changeanalysis.d.ts +337 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-changeanalysis.js +0 -1107
- package/dist/arm-changeanalysis.js.map +0 -1
- package/dist/arm-changeanalysis.min.js +0 -1
- package/dist/arm-changeanalysis.min.js.map +0 -1
- package/esm/azureChangeAnalysisManagementClient.d.ts +0 -26
- package/esm/azureChangeAnalysisManagementClient.d.ts.map +0 -1
- package/esm/azureChangeAnalysisManagementClient.js +0 -39
- package/esm/azureChangeAnalysisManagementClient.js.map +0 -1
- package/esm/azureChangeAnalysisManagementClientContext.d.ts +0 -22
- package/esm/azureChangeAnalysisManagementClientContext.d.ts.map +0 -1
- package/esm/azureChangeAnalysisManagementClientContext.js +0 -60
- package/esm/azureChangeAnalysisManagementClientContext.js.map +0 -1
- package/esm/models/changesMappers.d.ts +0 -2
- package/esm/models/changesMappers.d.ts.map +0 -1
- package/esm/models/changesMappers.js +0 -9
- package/esm/models/changesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -505
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -18
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/resourceChangesMappers.d.ts +0 -2
- package/esm/models/resourceChangesMappers.d.ts.map +0 -1
- package/esm/models/resourceChangesMappers.js +0 -9
- package/esm/models/resourceChangesMappers.js.map +0 -1
- package/esm/operations/changes.d.ts +0 -110
- package/esm/operations/changes.d.ts.map +0 -1
- package/esm/operations/changes.js +0 -160
- package/esm/operations/changes.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -81
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/resourceChanges.d.ts +0 -63
- package/esm/operations/resourceChanges.d.ts.map +0 -1
- package/esm/operations/resourceChanges.js +0 -93
- package/esm/operations/resourceChanges.js.map +0 -1
- package/src/azureChangeAnalysisManagementClientContext.ts +0 -67
- package/src/models/changesMappers.ts +0 -22
- package/src/models/resourceChangesMappers.ts +0 -22
package/src/models/index.ts
CHANGED
|
@@ -6,548 +6,284 @@
|
|
|
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
|
+
/** The resource provider operation list. */
|
|
12
|
+
export interface ResourceProviderOperationList {
|
|
13
|
+
/** Resource provider operations list. */
|
|
14
|
+
value?: ResourceProviderOperationDefinition[];
|
|
15
|
+
/** The URI that can be used to request the next page for list of Azure operations. */
|
|
16
|
+
nextLink?: string;
|
|
17
|
+
}
|
|
13
18
|
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
*/
|
|
19
|
+
/** The resource provider operation definition. */
|
|
20
|
+
export interface ResourceProviderOperationDefinition {
|
|
21
|
+
/** The resource provider operation name. */
|
|
22
|
+
name?: string;
|
|
23
|
+
/** The resource provider operation details. */
|
|
24
|
+
display?: ResourceProviderOperationDisplay;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** The resource provider operation details. */
|
|
17
28
|
export interface ResourceProviderOperationDisplay {
|
|
18
|
-
/**
|
|
19
|
-
* Name of the resource provider.
|
|
20
|
-
*/
|
|
29
|
+
/** Name of the resource provider. */
|
|
21
30
|
provider?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Name of the resource type.
|
|
24
|
-
*/
|
|
31
|
+
/** Name of the resource type. */
|
|
25
32
|
resource?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Name of the resource provider operation.
|
|
28
|
-
*/
|
|
33
|
+
/** Name of the resource provider operation. */
|
|
29
34
|
operation?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Description of the resource provider operation.
|
|
32
|
-
*/
|
|
35
|
+
/** Description of the resource provider operation. */
|
|
33
36
|
description?: string;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The resource provider operation name.
|
|
42
|
-
*/
|
|
43
|
-
name?: string;
|
|
44
|
-
display?: ResourceProviderOperationDisplay;
|
|
39
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
40
|
+
export interface ErrorResponse {
|
|
41
|
+
/** The error object. */
|
|
42
|
+
error?: ErrorDetail;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
/**
|
|
48
|
-
|
|
49
|
-
*/
|
|
50
|
-
export interface PropertyChange {
|
|
51
|
-
/**
|
|
52
|
-
* Possible values include: 'Add', 'Remove', 'Update'
|
|
53
|
-
*/
|
|
54
|
-
changeType?: ChangeType;
|
|
55
|
-
/**
|
|
56
|
-
* The change category. Possible values include: 'User', 'System'
|
|
57
|
-
*/
|
|
58
|
-
changeCategory?: ChangeCategory;
|
|
45
|
+
/** The error detail. */
|
|
46
|
+
export interface ErrorDetail {
|
|
59
47
|
/**
|
|
60
|
-
* The
|
|
48
|
+
* The error code.
|
|
49
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
50
|
*/
|
|
62
|
-
|
|
51
|
+
readonly code?: string;
|
|
63
52
|
/**
|
|
64
|
-
* The
|
|
65
|
-
*
|
|
53
|
+
* The error message.
|
|
54
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
66
55
|
*/
|
|
67
|
-
|
|
56
|
+
readonly message?: string;
|
|
68
57
|
/**
|
|
69
|
-
*
|
|
58
|
+
* The error target.
|
|
59
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
70
60
|
*/
|
|
71
|
-
|
|
61
|
+
readonly target?: string;
|
|
72
62
|
/**
|
|
73
|
-
* The
|
|
63
|
+
* The error details.
|
|
64
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
74
65
|
*/
|
|
75
|
-
|
|
66
|
+
readonly details?: ErrorDetail[];
|
|
76
67
|
/**
|
|
77
|
-
* The
|
|
68
|
+
* The error additional info.
|
|
69
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
78
70
|
*/
|
|
79
|
-
|
|
71
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** The resource management error additional info. */
|
|
75
|
+
export interface ErrorAdditionalInfo {
|
|
80
76
|
/**
|
|
81
|
-
* The
|
|
77
|
+
* The additional info type.
|
|
78
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
82
79
|
*/
|
|
83
|
-
|
|
80
|
+
readonly type?: string;
|
|
84
81
|
/**
|
|
85
|
-
* The
|
|
86
|
-
*
|
|
82
|
+
* The additional info.
|
|
83
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
87
84
|
*/
|
|
88
|
-
|
|
85
|
+
readonly info?: Record<string, unknown>;
|
|
89
86
|
}
|
|
90
87
|
|
|
91
|
-
/**
|
|
92
|
-
|
|
93
|
-
*/
|
|
88
|
+
/** The list of detected changes. */
|
|
89
|
+
export interface ChangeList {
|
|
90
|
+
/** The list of changes. */
|
|
91
|
+
value?: Change[];
|
|
92
|
+
/** The URI that can be used to request the next page of changes. */
|
|
93
|
+
nextLink?: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** The properties of a change. */
|
|
94
97
|
export interface ChangeProperties {
|
|
95
|
-
/**
|
|
96
|
-
* The resource id that the change is attached to.
|
|
97
|
-
*/
|
|
98
|
+
/** The resource id that the change is attached to. */
|
|
98
99
|
resourceId?: string;
|
|
99
|
-
/**
|
|
100
|
-
* The time when the change is detected.
|
|
101
|
-
*/
|
|
100
|
+
/** The time when the change is detected. */
|
|
102
101
|
timeStamp?: Date;
|
|
103
102
|
/**
|
|
104
103
|
* The list of identities who might initiated the change.
|
|
105
104
|
* The identity could be user name (email address) or the object ID of the Service Principal.
|
|
106
105
|
*/
|
|
107
106
|
initiatedByList?: string[];
|
|
108
|
-
/**
|
|
109
|
-
* Possible values include: 'Add', 'Remove', 'Update'
|
|
110
|
-
*/
|
|
107
|
+
/** The type of the change. */
|
|
111
108
|
changeType?: ChangeType;
|
|
112
|
-
/**
|
|
113
|
-
* The list of detailed changes at json property level.
|
|
114
|
-
*/
|
|
109
|
+
/** The list of detailed changes at json property level. */
|
|
115
110
|
propertyChanges?: PropertyChange[];
|
|
116
111
|
}
|
|
117
112
|
|
|
118
|
-
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
113
|
+
/** Data of a property change. */
|
|
114
|
+
export interface PropertyChange {
|
|
115
|
+
/** The type of the change. */
|
|
116
|
+
changeType?: ChangeType;
|
|
117
|
+
/** The change category. */
|
|
118
|
+
changeCategory?: ChangeCategory;
|
|
119
|
+
/** The json path of the changed property. */
|
|
120
|
+
jsonPath?: string;
|
|
121
|
+
/** The enhanced display name of the json path. E.g., the json path value[0].properties will be translated to something meaningful like slots["Staging"].properties. */
|
|
122
|
+
displayName?: string;
|
|
123
|
+
level?: Level;
|
|
124
|
+
/** The description of the changed property. */
|
|
125
|
+
description?: string;
|
|
126
|
+
/** The value of the property before the change. */
|
|
127
|
+
oldValue?: string;
|
|
128
|
+
/** The value of the property after the change. */
|
|
129
|
+
newValue?: string;
|
|
130
|
+
/** The boolean indicating whether the oldValue and newValue are masked. The values are masked if it contains sensitive information that the user doesn't have access to. */
|
|
131
|
+
isDataMasked?: boolean;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
135
|
+
export interface Resource {
|
|
123
136
|
/**
|
|
124
|
-
* Fully qualified resource ID for the resource. Ex -
|
|
125
|
-
*
|
|
126
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
137
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
138
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
127
139
|
*/
|
|
128
140
|
readonly id?: string;
|
|
129
141
|
/**
|
|
130
142
|
* The name of the resource
|
|
131
|
-
*
|
|
143
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
144
|
*/
|
|
133
145
|
readonly name?: string;
|
|
134
146
|
/**
|
|
135
|
-
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
|
|
136
|
-
*
|
|
137
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
147
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
148
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
138
149
|
*/
|
|
139
150
|
readonly type?: string;
|
|
140
151
|
}
|
|
141
152
|
|
|
142
|
-
/**
|
|
143
|
-
|
|
144
|
-
* and a location
|
|
145
|
-
* @summary Proxy Resource
|
|
146
|
-
*/
|
|
147
|
-
export interface ProxyResource extends Resource {
|
|
148
|
-
}
|
|
153
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
154
|
+
export type ProxyResource = Resource & {};
|
|
149
155
|
|
|
150
|
-
/**
|
|
151
|
-
|
|
152
|
-
*/
|
|
153
|
-
export interface Change extends ProxyResource {
|
|
156
|
+
/** The detected change. */
|
|
157
|
+
export type Change = ProxyResource & {
|
|
158
|
+
/** The properties of a change. */
|
|
154
159
|
properties?: ChangeProperties;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* The resource model definition for an Azure Resource Manager tracked top level resource which has
|
|
159
|
-
* 'tags' and a 'location'
|
|
160
|
-
* @summary Tracked Resource
|
|
161
|
-
*/
|
|
162
|
-
export interface TrackedResource extends Resource {
|
|
163
|
-
/**
|
|
164
|
-
* Resource tags.
|
|
165
|
-
*/
|
|
166
|
-
tags?: { [propertyName: string]: string };
|
|
167
|
-
/**
|
|
168
|
-
* The geo-location where the resource lives
|
|
169
|
-
*/
|
|
170
|
-
location: string;
|
|
171
|
-
}
|
|
160
|
+
};
|
|
172
161
|
|
|
173
|
-
/**
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Resource Etag.
|
|
180
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
181
|
-
*/
|
|
182
|
-
readonly etag?: string;
|
|
162
|
+
/** Known values of {@link ChangeType} that the service accepts. */
|
|
163
|
+
export enum KnownChangeType {
|
|
164
|
+
Add = "Add",
|
|
165
|
+
Remove = "Remove",
|
|
166
|
+
Update = "Update"
|
|
183
167
|
}
|
|
184
168
|
|
|
185
169
|
/**
|
|
186
|
-
*
|
|
170
|
+
* Defines values for ChangeType. \
|
|
171
|
+
* {@link KnownChangeType} can be used interchangeably with ChangeType,
|
|
172
|
+
* this enum contains the known values that the service supports.
|
|
173
|
+
* ### Known values supported by the service
|
|
174
|
+
* **Add** \
|
|
175
|
+
* **Remove** \
|
|
176
|
+
* **Update**
|
|
187
177
|
*/
|
|
188
|
-
export
|
|
189
|
-
/**
|
|
190
|
-
* The additional info type.
|
|
191
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
192
|
-
*/
|
|
193
|
-
readonly type?: string;
|
|
194
|
-
/**
|
|
195
|
-
* The additional info.
|
|
196
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
197
|
-
*/
|
|
198
|
-
readonly info?: any;
|
|
199
|
-
}
|
|
178
|
+
export type ChangeType = string;
|
|
200
179
|
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
* The error code.
|
|
207
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
208
|
-
*/
|
|
209
|
-
readonly code?: string;
|
|
210
|
-
/**
|
|
211
|
-
* The error message.
|
|
212
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
213
|
-
*/
|
|
214
|
-
readonly message?: string;
|
|
215
|
-
/**
|
|
216
|
-
* The error target.
|
|
217
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
218
|
-
*/
|
|
219
|
-
readonly target?: string;
|
|
220
|
-
/**
|
|
221
|
-
* The error details.
|
|
222
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
223
|
-
*/
|
|
224
|
-
readonly details?: ErrorDetail[];
|
|
225
|
-
/**
|
|
226
|
-
* The error additional info.
|
|
227
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
228
|
-
*/
|
|
229
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
180
|
+
/** Known values of {@link Level} that the service accepts. */
|
|
181
|
+
export enum KnownLevel {
|
|
182
|
+
Noisy = "Noisy",
|
|
183
|
+
Normal = "Normal",
|
|
184
|
+
Important = "Important"
|
|
230
185
|
}
|
|
231
186
|
|
|
232
187
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
188
|
+
* Defines values for Level. \
|
|
189
|
+
* {@link KnownLevel} can be used interchangeably with Level,
|
|
190
|
+
* this enum contains the known values that the service supports.
|
|
191
|
+
* ### Known values supported by the service
|
|
192
|
+
* **Noisy** \
|
|
193
|
+
* **Normal** \
|
|
194
|
+
* **Important**
|
|
236
195
|
*/
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
*/
|
|
241
|
-
error?: ErrorDetail;
|
|
242
|
-
}
|
|
196
|
+
export type Level = string;
|
|
197
|
+
/** Defines values for ChangeCategory. */
|
|
198
|
+
export type ChangeCategory = "User" | "System";
|
|
243
199
|
|
|
244
|
-
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* A skip token is used to continue retrieving items after an operation returns a partial result.
|
|
250
|
-
* If a previous response contains a nextLink element, the value of the nextLink element will
|
|
251
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
252
|
-
*/
|
|
200
|
+
/** Optional parameters. */
|
|
201
|
+
export interface OperationsListOptionalParams
|
|
202
|
+
extends coreClient.OperationOptions {
|
|
203
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
253
204
|
skipToken?: string;
|
|
254
205
|
}
|
|
255
206
|
|
|
256
|
-
/**
|
|
257
|
-
|
|
258
|
-
*/
|
|
259
|
-
export interface OperationsListNextOptionalParams extends msRest.RequestOptionsBase {
|
|
260
|
-
/**
|
|
261
|
-
* A skip token is used to continue retrieving items after an operation returns a partial result.
|
|
262
|
-
* If a previous response contains a nextLink element, the value of the nextLink element will
|
|
263
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
264
|
-
*/
|
|
265
|
-
skipToken?: string;
|
|
266
|
-
}
|
|
207
|
+
/** Contains response data for the list operation. */
|
|
208
|
+
export type OperationsListResponse = ResourceProviderOperationList;
|
|
267
209
|
|
|
268
|
-
/**
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* A skip token is used to continue retrieving items after an operation returns a partial result.
|
|
274
|
-
* If a previous response contains a nextLink element, the value of the nextLink element will
|
|
275
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
276
|
-
*/
|
|
210
|
+
/** Optional parameters. */
|
|
211
|
+
export interface OperationsListNextOptionalParams
|
|
212
|
+
extends coreClient.OperationOptions {
|
|
213
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
277
214
|
skipToken?: string;
|
|
278
215
|
}
|
|
279
216
|
|
|
280
|
-
/**
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
288
|
-
*/
|
|
217
|
+
/** Contains response data for the listNext operation. */
|
|
218
|
+
export type OperationsListNextResponse = ResourceProviderOperationList;
|
|
219
|
+
|
|
220
|
+
/** Optional parameters. */
|
|
221
|
+
export interface ResourceChangesListOptionalParams
|
|
222
|
+
extends coreClient.OperationOptions {
|
|
223
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
289
224
|
skipToken?: string;
|
|
290
225
|
}
|
|
291
226
|
|
|
292
|
-
/**
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
300
|
-
*/
|
|
227
|
+
/** Contains response data for the list operation. */
|
|
228
|
+
export type ResourceChangesListResponse = ChangeList;
|
|
229
|
+
|
|
230
|
+
/** Optional parameters. */
|
|
231
|
+
export interface ResourceChangesListNextOptionalParams
|
|
232
|
+
extends coreClient.OperationOptions {
|
|
233
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
301
234
|
skipToken?: string;
|
|
302
235
|
}
|
|
303
236
|
|
|
304
|
-
/**
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
312
|
-
*/
|
|
237
|
+
/** Contains response data for the listNext operation. */
|
|
238
|
+
export type ResourceChangesListNextResponse = ChangeList;
|
|
239
|
+
|
|
240
|
+
/** Optional parameters. */
|
|
241
|
+
export interface ChangesListChangesByResourceGroupOptionalParams
|
|
242
|
+
extends coreClient.OperationOptions {
|
|
243
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
313
244
|
skipToken?: string;
|
|
314
245
|
}
|
|
315
246
|
|
|
316
|
-
/**
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
324
|
-
*/
|
|
247
|
+
/** Contains response data for the listChangesByResourceGroup operation. */
|
|
248
|
+
export type ChangesListChangesByResourceGroupResponse = ChangeList;
|
|
249
|
+
|
|
250
|
+
/** Optional parameters. */
|
|
251
|
+
export interface ChangesListChangesBySubscriptionOptionalParams
|
|
252
|
+
extends coreClient.OperationOptions {
|
|
253
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
325
254
|
skipToken?: string;
|
|
326
255
|
}
|
|
327
256
|
|
|
328
|
-
/**
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
* include a skipToken parameter that specifies a starting point to use for subsequent calls.
|
|
336
|
-
*/
|
|
257
|
+
/** Contains response data for the listChangesBySubscription operation. */
|
|
258
|
+
export type ChangesListChangesBySubscriptionResponse = ChangeList;
|
|
259
|
+
|
|
260
|
+
/** Optional parameters. */
|
|
261
|
+
export interface ChangesListChangesByResourceGroupNextOptionalParams
|
|
262
|
+
extends coreClient.OperationOptions {
|
|
263
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
337
264
|
skipToken?: string;
|
|
338
265
|
}
|
|
339
266
|
|
|
340
|
-
/**
|
|
341
|
-
|
|
342
|
-
*/
|
|
343
|
-
export interface AzureChangeAnalysisManagementClientOptions extends AzureServiceClientOptions {
|
|
344
|
-
baseUri?: string;
|
|
345
|
-
}
|
|
267
|
+
/** Contains response data for the listChangesByResourceGroupNext operation. */
|
|
268
|
+
export type ChangesListChangesByResourceGroupNextResponse = ChangeList;
|
|
346
269
|
|
|
347
|
-
/**
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
export interface ResourceProviderOperationList extends Array<ResourceProviderOperationDefinition> {
|
|
353
|
-
/**
|
|
354
|
-
* The URI that can be used to request the next page for list of Azure operations.
|
|
355
|
-
*/
|
|
356
|
-
nextLink?: string;
|
|
270
|
+
/** Optional parameters. */
|
|
271
|
+
export interface ChangesListChangesBySubscriptionNextOptionalParams
|
|
272
|
+
extends coreClient.OperationOptions {
|
|
273
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
|
274
|
+
skipToken?: string;
|
|
357
275
|
}
|
|
358
276
|
|
|
359
|
-
/**
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
277
|
+
/** Contains response data for the listChangesBySubscriptionNext operation. */
|
|
278
|
+
export type ChangesListChangesBySubscriptionNextResponse = ChangeList;
|
|
279
|
+
|
|
280
|
+
/** Optional parameters. */
|
|
281
|
+
export interface AzureChangeAnalysisManagementClientOptionalParams
|
|
282
|
+
extends coreClient.ServiceClientOptions {
|
|
283
|
+
/** server parameter */
|
|
284
|
+
$host?: string;
|
|
285
|
+
/** Api Version */
|
|
286
|
+
apiVersion?: string;
|
|
287
|
+
/** Overrides client endpoint. */
|
|
288
|
+
endpoint?: string;
|
|
369
289
|
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Defines values for ChangeType.
|
|
373
|
-
* Possible values include: 'Add', 'Remove', 'Update'
|
|
374
|
-
* @readonly
|
|
375
|
-
* @enum {string}
|
|
376
|
-
*/
|
|
377
|
-
export type ChangeType = 'Add' | 'Remove' | 'Update';
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Defines values for Level.
|
|
381
|
-
* Possible values include: 'Noisy', 'Normal', 'Important'
|
|
382
|
-
* @readonly
|
|
383
|
-
* @enum {string}
|
|
384
|
-
*/
|
|
385
|
-
export type Level = 'Noisy' | 'Normal' | 'Important';
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Defines values for ChangeCategory.
|
|
389
|
-
* Possible values include: 'User', 'System'
|
|
390
|
-
* @readonly
|
|
391
|
-
* @enum {string}
|
|
392
|
-
*/
|
|
393
|
-
export type ChangeCategory = 'User' | 'System';
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Contains response data for the list operation.
|
|
397
|
-
*/
|
|
398
|
-
export type OperationsListResponse = ResourceProviderOperationList & {
|
|
399
|
-
/**
|
|
400
|
-
* The underlying HTTP response.
|
|
401
|
-
*/
|
|
402
|
-
_response: msRest.HttpResponse & {
|
|
403
|
-
/**
|
|
404
|
-
* The response body as text (string format)
|
|
405
|
-
*/
|
|
406
|
-
bodyAsText: string;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* The response body as parsed JSON or XML
|
|
410
|
-
*/
|
|
411
|
-
parsedBody: ResourceProviderOperationList;
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Contains response data for the listNext operation.
|
|
417
|
-
*/
|
|
418
|
-
export type OperationsListNextResponse = ResourceProviderOperationList & {
|
|
419
|
-
/**
|
|
420
|
-
* The underlying HTTP response.
|
|
421
|
-
*/
|
|
422
|
-
_response: msRest.HttpResponse & {
|
|
423
|
-
/**
|
|
424
|
-
* The response body as text (string format)
|
|
425
|
-
*/
|
|
426
|
-
bodyAsText: string;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* The response body as parsed JSON or XML
|
|
430
|
-
*/
|
|
431
|
-
parsedBody: ResourceProviderOperationList;
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Contains response data for the list operation.
|
|
437
|
-
*/
|
|
438
|
-
export type ResourceChangesListResponse = ChangeList & {
|
|
439
|
-
/**
|
|
440
|
-
* The underlying HTTP response.
|
|
441
|
-
*/
|
|
442
|
-
_response: msRest.HttpResponse & {
|
|
443
|
-
/**
|
|
444
|
-
* The response body as text (string format)
|
|
445
|
-
*/
|
|
446
|
-
bodyAsText: string;
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* The response body as parsed JSON or XML
|
|
450
|
-
*/
|
|
451
|
-
parsedBody: ChangeList;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Contains response data for the listNext operation.
|
|
457
|
-
*/
|
|
458
|
-
export type ResourceChangesListNextResponse = ChangeList & {
|
|
459
|
-
/**
|
|
460
|
-
* The underlying HTTP response.
|
|
461
|
-
*/
|
|
462
|
-
_response: msRest.HttpResponse & {
|
|
463
|
-
/**
|
|
464
|
-
* The response body as text (string format)
|
|
465
|
-
*/
|
|
466
|
-
bodyAsText: string;
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* The response body as parsed JSON or XML
|
|
470
|
-
*/
|
|
471
|
-
parsedBody: ChangeList;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Contains response data for the listChangesByResourceGroup operation.
|
|
477
|
-
*/
|
|
478
|
-
export type ChangesListChangesByResourceGroupResponse = ChangeList & {
|
|
479
|
-
/**
|
|
480
|
-
* The underlying HTTP response.
|
|
481
|
-
*/
|
|
482
|
-
_response: msRest.HttpResponse & {
|
|
483
|
-
/**
|
|
484
|
-
* The response body as text (string format)
|
|
485
|
-
*/
|
|
486
|
-
bodyAsText: string;
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* The response body as parsed JSON or XML
|
|
490
|
-
*/
|
|
491
|
-
parsedBody: ChangeList;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* Contains response data for the listChangesBySubscription operation.
|
|
497
|
-
*/
|
|
498
|
-
export type ChangesListChangesBySubscriptionResponse = ChangeList & {
|
|
499
|
-
/**
|
|
500
|
-
* The underlying HTTP response.
|
|
501
|
-
*/
|
|
502
|
-
_response: msRest.HttpResponse & {
|
|
503
|
-
/**
|
|
504
|
-
* The response body as text (string format)
|
|
505
|
-
*/
|
|
506
|
-
bodyAsText: string;
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* The response body as parsed JSON or XML
|
|
510
|
-
*/
|
|
511
|
-
parsedBody: ChangeList;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Contains response data for the listChangesByResourceGroupNext operation.
|
|
517
|
-
*/
|
|
518
|
-
export type ChangesListChangesByResourceGroupNextResponse = ChangeList & {
|
|
519
|
-
/**
|
|
520
|
-
* The underlying HTTP response.
|
|
521
|
-
*/
|
|
522
|
-
_response: msRest.HttpResponse & {
|
|
523
|
-
/**
|
|
524
|
-
* The response body as text (string format)
|
|
525
|
-
*/
|
|
526
|
-
bodyAsText: string;
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* The response body as parsed JSON or XML
|
|
530
|
-
*/
|
|
531
|
-
parsedBody: ChangeList;
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Contains response data for the listChangesBySubscriptionNext operation.
|
|
537
|
-
*/
|
|
538
|
-
export type ChangesListChangesBySubscriptionNextResponse = ChangeList & {
|
|
539
|
-
/**
|
|
540
|
-
* The underlying HTTP response.
|
|
541
|
-
*/
|
|
542
|
-
_response: msRest.HttpResponse & {
|
|
543
|
-
/**
|
|
544
|
-
* The response body as text (string format)
|
|
545
|
-
*/
|
|
546
|
-
bodyAsText: string;
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* The response body as parsed JSON or XML
|
|
550
|
-
*/
|
|
551
|
-
parsedBody: ChangeList;
|
|
552
|
-
};
|
|
553
|
-
};
|