@azure/arm-locks 1.2.0 → 2.0.0-alpha.20211015.3
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 +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +63 -80
- package/dist/index.js +1796 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/index.d.ts +534 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/managementLockClient.d.ts +9 -18
- package/esm/managementLockClient.d.ts.map +1 -1
- package/esm/managementLockClient.js +12 -28
- package/esm/managementLockClient.js.map +1 -1
- package/esm/managementLockClientContext.d.ts +10 -16
- package/esm/managementLockClientContext.d.ts.map +1 -1
- package/esm/managementLockClientContext.js +34 -46
- package/esm/managementLockClientContext.js.map +1 -1
- package/esm/models/index.d.ts +208 -445
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +9 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +7 -9
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +69 -78
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +16 -13
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +78 -54
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/authorizationOperations.d.ts +27 -26
- package/esm/operations/authorizationOperations.d.ts.map +1 -1
- package/esm/operations/authorizationOperations.js +158 -50
- package/esm/operations/authorizationOperations.js.map +1 -1
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +3 -5
- package/esm/operations/index.js.map +1 -1
- package/esm/operations/managementLocks.d.ts +203 -393
- package/esm/operations/managementLocks.d.ts.map +1 -1
- package/esm/operations/managementLocks.js +993 -485
- package/esm/operations/managementLocks.js.map +1 -1
- package/esm/operationsInterfaces/authorizationOperations.d.ts +18 -0
- package/esm/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/authorizationOperations.js +9 -0
- package/esm/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +3 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +10 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/esm/operationsInterfaces/managementLocks.d.ts +198 -0
- package/esm/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/esm/operationsInterfaces/managementLocks.js +9 -0
- package/esm/operationsInterfaces/managementLocks.js.map +1 -0
- package/package.json +53 -16
- package/review/arm-locks.api.md +313 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +13 -0
- package/src/managementLockClient.ts +23 -36
- package/src/managementLockClientContext.ts +47 -45
- package/src/models/index.ts +256 -470
- package/src/models/mappers.ts +72 -82
- package/src/models/parameters.ts +97 -55
- package/src/operations/authorizationOperations.ts +155 -70
- package/src/operations/index.ts +3 -5
- package/src/operations/managementLocks.ts +1165 -869
- package/src/operationsInterfaces/authorizationOperations.ts +36 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/managementLocks.ts +332 -0
- package/tsconfig.json +3 -2
- package/dist/arm-locks.js +0 -1280
- package/dist/arm-locks.js.map +0 -1
- package/dist/arm-locks.min.js +0 -1
- package/dist/arm-locks.min.js.map +0 -1
- package/esm/models/authorizationOperationsMappers.d.ts +0 -2
- package/esm/models/authorizationOperationsMappers.d.ts.map +0 -1
- package/esm/models/authorizationOperationsMappers.js +0 -9
- package/esm/models/authorizationOperationsMappers.js.map +0 -1
- package/esm/models/managementLocksMappers.d.ts +0 -2
- package/esm/models/managementLocksMappers.d.ts.map +0 -1
- package/esm/models/managementLocksMappers.js +0 -9
- package/esm/models/managementLocksMappers.js.map +0 -1
- package/src/models/authorizationOperationsMappers.ts +0 -14
- package/src/models/managementLocksMappers.ts +0 -15
package/src/models/index.ts
CHANGED
@@ -1,530 +1,316 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
4
|
*
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
|
9
|
-
import
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
11
10
|
|
12
|
-
|
11
|
+
/** Result of the request to list Microsoft.Authorization operations. It contains a list of operations and a URL link to get the next set of results. */
|
12
|
+
export interface OperationListResult {
|
13
|
+
/** List of Microsoft.Authorization operations. */
|
14
|
+
value?: Operation[];
|
15
|
+
/** URL to get the next set of operation list results if there are any. */
|
16
|
+
nextLink?: string;
|
17
|
+
}
|
13
18
|
|
14
|
-
/**
|
15
|
-
|
16
|
-
*/
|
17
|
-
|
18
|
-
/**
|
19
|
-
|
20
|
-
*/
|
21
|
-
applicationId?: string;
|
19
|
+
/** Microsoft.Authorization operation */
|
20
|
+
export interface Operation {
|
21
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
22
|
+
name?: string;
|
23
|
+
/** The object that represents the operation. */
|
24
|
+
display?: OperationDisplay;
|
22
25
|
}
|
23
26
|
|
24
|
-
/**
|
25
|
-
|
26
|
-
*/
|
27
|
-
|
28
|
-
/**
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
* Notes about the lock. Maximum of 512 characters.
|
37
|
-
*/
|
38
|
-
notes?: string;
|
39
|
-
/**
|
40
|
-
* The owners of the lock.
|
41
|
-
*/
|
42
|
-
owners?: ManagementLockOwner[];
|
27
|
+
/** The object that represents the operation. */
|
28
|
+
export interface OperationDisplay {
|
29
|
+
/** Service provider: Microsoft.Authorization */
|
30
|
+
provider?: string;
|
31
|
+
/** Resource on which the operation is performed: Profile, endpoint, etc. */
|
32
|
+
resource?: string;
|
33
|
+
/** Operation type: Read, write, delete, etc. */
|
34
|
+
operation?: string;
|
35
|
+
}
|
36
|
+
|
37
|
+
/** The lock information. */
|
38
|
+
export interface ManagementLockObject {
|
43
39
|
/**
|
44
40
|
* The resource ID of the lock.
|
45
|
-
*
|
41
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
46
42
|
*/
|
47
43
|
readonly id?: string;
|
48
44
|
/**
|
49
45
|
* The resource type of the lock - Microsoft.Authorization/locks.
|
50
|
-
*
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
51
47
|
*/
|
52
48
|
readonly type?: string;
|
53
49
|
/**
|
54
50
|
* The name of the lock.
|
55
|
-
*
|
51
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
56
52
|
*/
|
57
53
|
readonly name?: string;
|
54
|
+
/** The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */
|
55
|
+
level: LockLevel;
|
56
|
+
/** Notes about the lock. Maximum of 512 characters. */
|
57
|
+
notes?: string;
|
58
|
+
/** The owners of the lock. */
|
59
|
+
owners?: ManagementLockOwner[];
|
58
60
|
}
|
59
61
|
|
60
|
-
/**
|
61
|
-
|
62
|
-
*/
|
63
|
-
|
64
|
-
/**
|
65
|
-
* Service provider: Microsoft.Authorization
|
66
|
-
*/
|
67
|
-
provider?: string;
|
68
|
-
/**
|
69
|
-
* Resource on which the operation is performed: Profile, endpoint, etc.
|
70
|
-
*/
|
71
|
-
resource?: string;
|
72
|
-
/**
|
73
|
-
* Operation type: Read, write, delete, etc.
|
74
|
-
*/
|
75
|
-
operation?: string;
|
62
|
+
/** Lock owner properties. */
|
63
|
+
export interface ManagementLockOwner {
|
64
|
+
/** The application ID of the lock owner. */
|
65
|
+
applicationId?: string;
|
76
66
|
}
|
77
67
|
|
78
|
-
/**
|
79
|
-
|
80
|
-
*/
|
81
|
-
|
82
|
-
/**
|
83
|
-
|
84
|
-
*/
|
85
|
-
name?: string;
|
86
|
-
/**
|
87
|
-
* The object that represents the operation.
|
88
|
-
*/
|
89
|
-
display?: OperationDisplay;
|
68
|
+
/** The list of locks. */
|
69
|
+
export interface ManagementLockListResult {
|
70
|
+
/** The list of locks. */
|
71
|
+
value?: ManagementLockObject[];
|
72
|
+
/** The URL to use for getting the next set of results. */
|
73
|
+
nextLink?: string;
|
90
74
|
}
|
91
75
|
|
92
|
-
/**
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
* The filter to apply on the operation.
|
98
|
-
*/
|
99
|
-
filter?: string;
|
76
|
+
/** Known values of {@link LockLevel} that the service accepts. */
|
77
|
+
export enum KnownLockLevel {
|
78
|
+
NotSpecified = "NotSpecified",
|
79
|
+
CanNotDelete = "CanNotDelete",
|
80
|
+
ReadOnly = "ReadOnly"
|
100
81
|
}
|
101
82
|
|
102
83
|
/**
|
103
|
-
*
|
84
|
+
* Defines values for LockLevel. \
|
85
|
+
* {@link KnownLockLevel} can be used interchangeably with LockLevel,
|
86
|
+
* this enum contains the known values that the service supports.
|
87
|
+
* ### Known values supported by the service
|
88
|
+
* **NotSpecified** \
|
89
|
+
* **CanNotDelete** \
|
90
|
+
* **ReadOnly**
|
104
91
|
*/
|
105
|
-
export
|
106
|
-
/**
|
107
|
-
* The filter to apply on the operation.
|
108
|
-
*/
|
109
|
-
filter?: string;
|
110
|
-
}
|
92
|
+
export type LockLevel = string;
|
111
93
|
|
112
|
-
/**
|
113
|
-
|
114
|
-
|
115
|
-
export interface ManagementLocksListAtSubscriptionLevelOptionalParams extends msRest.RequestOptionsBase {
|
116
|
-
/**
|
117
|
-
* The filter to apply on the operation.
|
118
|
-
*/
|
119
|
-
filter?: string;
|
120
|
-
}
|
94
|
+
/** Optional parameters. */
|
95
|
+
export interface AuthorizationOperationsListOptionalParams
|
96
|
+
extends coreClient.OperationOptions {}
|
121
97
|
|
122
|
-
/**
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
98
|
+
/** Contains response data for the list operation. */
|
99
|
+
export type AuthorizationOperationsListResponse = OperationListResult;
|
100
|
+
|
101
|
+
/** Optional parameters. */
|
102
|
+
export interface AuthorizationOperationsListNextOptionalParams
|
103
|
+
extends coreClient.OperationOptions {}
|
104
|
+
|
105
|
+
/** Contains response data for the listNext operation. */
|
106
|
+
export type AuthorizationOperationsListNextResponse = OperationListResult;
|
107
|
+
|
108
|
+
/** Optional parameters. */
|
109
|
+
export interface AuthorizationOperationsListNextNextOptionalParams
|
110
|
+
extends coreClient.OperationOptions {}
|
111
|
+
|
112
|
+
/** Contains response data for the listNextNext operation. */
|
113
|
+
export type AuthorizationOperationsListNextNextResponse = OperationListResult;
|
114
|
+
|
115
|
+
/** Optional parameters. */
|
116
|
+
export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams
|
117
|
+
extends coreClient.OperationOptions {}
|
118
|
+
|
119
|
+
/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */
|
120
|
+
export type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;
|
121
|
+
|
122
|
+
/** Optional parameters. */
|
123
|
+
export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams
|
124
|
+
extends coreClient.OperationOptions {}
|
125
|
+
|
126
|
+
/** Optional parameters. */
|
127
|
+
export interface ManagementLocksGetAtResourceGroupLevelOptionalParams
|
128
|
+
extends coreClient.OperationOptions {}
|
129
|
+
|
130
|
+
/** Contains response data for the getAtResourceGroupLevel operation. */
|
131
|
+
export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;
|
132
|
+
|
133
|
+
/** Optional parameters. */
|
134
|
+
export interface ManagementLocksCreateOrUpdateByScopeOptionalParams
|
135
|
+
extends coreClient.OperationOptions {}
|
136
|
+
|
137
|
+
/** Contains response data for the createOrUpdateByScope operation. */
|
138
|
+
export type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;
|
139
|
+
|
140
|
+
/** Optional parameters. */
|
141
|
+
export interface ManagementLocksDeleteByScopeOptionalParams
|
142
|
+
extends coreClient.OperationOptions {}
|
143
|
+
|
144
|
+
/** Optional parameters. */
|
145
|
+
export interface ManagementLocksGetByScopeOptionalParams
|
146
|
+
extends coreClient.OperationOptions {}
|
147
|
+
|
148
|
+
/** Contains response data for the getByScope operation. */
|
149
|
+
export type ManagementLocksGetByScopeResponse = ManagementLockObject;
|
150
|
+
|
151
|
+
/** Optional parameters. */
|
152
|
+
export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams
|
153
|
+
extends coreClient.OperationOptions {}
|
154
|
+
|
155
|
+
/** Contains response data for the createOrUpdateAtResourceLevel operation. */
|
156
|
+
export type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;
|
157
|
+
|
158
|
+
/** Optional parameters. */
|
159
|
+
export interface ManagementLocksDeleteAtResourceLevelOptionalParams
|
160
|
+
extends coreClient.OperationOptions {}
|
161
|
+
|
162
|
+
/** Optional parameters. */
|
163
|
+
export interface ManagementLocksGetAtResourceLevelOptionalParams
|
164
|
+
extends coreClient.OperationOptions {}
|
165
|
+
|
166
|
+
/** Contains response data for the getAtResourceLevel operation. */
|
167
|
+
export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;
|
168
|
+
|
169
|
+
/** Optional parameters. */
|
170
|
+
export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams
|
171
|
+
extends coreClient.OperationOptions {}
|
172
|
+
|
173
|
+
/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */
|
174
|
+
export type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;
|
175
|
+
|
176
|
+
/** Optional parameters. */
|
177
|
+
export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams
|
178
|
+
extends coreClient.OperationOptions {}
|
179
|
+
|
180
|
+
/** Optional parameters. */
|
181
|
+
export interface ManagementLocksGetAtSubscriptionLevelOptionalParams
|
182
|
+
extends coreClient.OperationOptions {}
|
183
|
+
|
184
|
+
/** Contains response data for the getAtSubscriptionLevel operation. */
|
185
|
+
export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;
|
186
|
+
|
187
|
+
/** Optional parameters. */
|
188
|
+
export interface ManagementLocksListAtResourceGroupLevelOptionalParams
|
189
|
+
extends coreClient.OperationOptions {
|
190
|
+
/** The filter to apply on the operation. */
|
129
191
|
filter?: string;
|
130
192
|
}
|
131
193
|
|
132
|
-
/**
|
133
|
-
|
134
|
-
*/
|
135
|
-
export interface ManagementLockClientOptions extends AzureServiceClientOptions {
|
136
|
-
baseUri?: string;
|
137
|
-
}
|
194
|
+
/** Contains response data for the listAtResourceGroupLevel operation. */
|
195
|
+
export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;
|
138
196
|
|
139
|
-
/**
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
*/
|
145
|
-
export interface OperationListResult extends Array<Operation> {
|
146
|
-
/**
|
147
|
-
* URL to get the next set of operation list results if there are any.
|
148
|
-
*/
|
149
|
-
nextLink?: string;
|
197
|
+
/** Optional parameters. */
|
198
|
+
export interface ManagementLocksListAtResourceLevelOptionalParams
|
199
|
+
extends coreClient.OperationOptions {
|
200
|
+
/** The filter to apply on the operation. */
|
201
|
+
filter?: string;
|
150
202
|
}
|
151
203
|
|
152
|
-
/**
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
/**
|
159
|
-
|
160
|
-
*/
|
161
|
-
nextLink?: string;
|
204
|
+
/** Contains response data for the listAtResourceLevel operation. */
|
205
|
+
export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;
|
206
|
+
|
207
|
+
/** Optional parameters. */
|
208
|
+
export interface ManagementLocksListAtSubscriptionLevelOptionalParams
|
209
|
+
extends coreClient.OperationOptions {
|
210
|
+
/** The filter to apply on the operation. */
|
211
|
+
filter?: string;
|
162
212
|
}
|
163
213
|
|
164
|
-
/**
|
165
|
-
|
166
|
-
* Possible values include: 'NotSpecified', 'CanNotDelete', 'ReadOnly'
|
167
|
-
* @readonly
|
168
|
-
* @enum {string}
|
169
|
-
*/
|
170
|
-
export type LockLevel = 'NotSpecified' | 'CanNotDelete' | 'ReadOnly';
|
214
|
+
/** Contains response data for the listAtSubscriptionLevel operation. */
|
215
|
+
export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;
|
171
216
|
|
172
|
-
/**
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
*/
|
179
|
-
_response: msRest.HttpResponse & {
|
180
|
-
/**
|
181
|
-
* The response body as text (string format)
|
182
|
-
*/
|
183
|
-
bodyAsText: string;
|
184
|
-
|
185
|
-
/**
|
186
|
-
* The response body as parsed JSON or XML
|
187
|
-
*/
|
188
|
-
parsedBody: OperationListResult;
|
189
|
-
};
|
190
|
-
};
|
217
|
+
/** Optional parameters. */
|
218
|
+
export interface ManagementLocksListByScopeOptionalParams
|
219
|
+
extends coreClient.OperationOptions {
|
220
|
+
/** The filter to apply on the operation. */
|
221
|
+
filter?: string;
|
222
|
+
}
|
191
223
|
|
192
|
-
/**
|
193
|
-
|
194
|
-
*/
|
195
|
-
export type AuthorizationOperationsListNextResponse = OperationListResult & {
|
196
|
-
/**
|
197
|
-
* The underlying HTTP response.
|
198
|
-
*/
|
199
|
-
_response: msRest.HttpResponse & {
|
200
|
-
/**
|
201
|
-
* The response body as text (string format)
|
202
|
-
*/
|
203
|
-
bodyAsText: string;
|
204
|
-
|
205
|
-
/**
|
206
|
-
* The response body as parsed JSON or XML
|
207
|
-
*/
|
208
|
-
parsedBody: OperationListResult;
|
209
|
-
};
|
210
|
-
};
|
224
|
+
/** Contains response data for the listByScope operation. */
|
225
|
+
export type ManagementLocksListByScopeResponse = ManagementLockListResult;
|
211
226
|
|
212
|
-
/**
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
*/
|
219
|
-
_response: msRest.HttpResponse & {
|
220
|
-
/**
|
221
|
-
* The response body as text (string format)
|
222
|
-
*/
|
223
|
-
bodyAsText: string;
|
224
|
-
|
225
|
-
/**
|
226
|
-
* The response body as parsed JSON or XML
|
227
|
-
*/
|
228
|
-
parsedBody: ManagementLockObject;
|
229
|
-
};
|
230
|
-
};
|
227
|
+
/** Optional parameters. */
|
228
|
+
export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams
|
229
|
+
extends coreClient.OperationOptions {
|
230
|
+
/** The filter to apply on the operation. */
|
231
|
+
filter?: string;
|
232
|
+
}
|
231
233
|
|
232
|
-
/**
|
233
|
-
|
234
|
-
*/
|
235
|
-
export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject & {
|
236
|
-
/**
|
237
|
-
* The underlying HTTP response.
|
238
|
-
*/
|
239
|
-
_response: msRest.HttpResponse & {
|
240
|
-
/**
|
241
|
-
* The response body as text (string format)
|
242
|
-
*/
|
243
|
-
bodyAsText: string;
|
244
|
-
|
245
|
-
/**
|
246
|
-
* The response body as parsed JSON or XML
|
247
|
-
*/
|
248
|
-
parsedBody: ManagementLockObject;
|
249
|
-
};
|
250
|
-
};
|
234
|
+
/** Contains response data for the listAtResourceGroupLevelNext operation. */
|
235
|
+
export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;
|
251
236
|
|
252
|
-
/**
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
*/
|
259
|
-
_response: msRest.HttpResponse & {
|
260
|
-
/**
|
261
|
-
* The response body as text (string format)
|
262
|
-
*/
|
263
|
-
bodyAsText: string;
|
264
|
-
|
265
|
-
/**
|
266
|
-
* The response body as parsed JSON or XML
|
267
|
-
*/
|
268
|
-
parsedBody: ManagementLockObject;
|
269
|
-
};
|
270
|
-
};
|
237
|
+
/** Optional parameters. */
|
238
|
+
export interface ManagementLocksListAtResourceLevelNextOptionalParams
|
239
|
+
extends coreClient.OperationOptions {
|
240
|
+
/** The filter to apply on the operation. */
|
241
|
+
filter?: string;
|
242
|
+
}
|
271
243
|
|
272
|
-
/**
|
273
|
-
|
274
|
-
*/
|
275
|
-
export type ManagementLocksGetByScopeResponse = ManagementLockObject & {
|
276
|
-
/**
|
277
|
-
* The underlying HTTP response.
|
278
|
-
*/
|
279
|
-
_response: msRest.HttpResponse & {
|
280
|
-
/**
|
281
|
-
* The response body as text (string format)
|
282
|
-
*/
|
283
|
-
bodyAsText: string;
|
284
|
-
|
285
|
-
/**
|
286
|
-
* The response body as parsed JSON or XML
|
287
|
-
*/
|
288
|
-
parsedBody: ManagementLockObject;
|
289
|
-
};
|
290
|
-
};
|
244
|
+
/** Contains response data for the listAtResourceLevelNext operation. */
|
245
|
+
export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;
|
291
246
|
|
292
|
-
/**
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
*/
|
299
|
-
_response: msRest.HttpResponse & {
|
300
|
-
/**
|
301
|
-
* The response body as text (string format)
|
302
|
-
*/
|
303
|
-
bodyAsText: string;
|
304
|
-
|
305
|
-
/**
|
306
|
-
* The response body as parsed JSON or XML
|
307
|
-
*/
|
308
|
-
parsedBody: ManagementLockObject;
|
309
|
-
};
|
310
|
-
};
|
247
|
+
/** Optional parameters. */
|
248
|
+
export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams
|
249
|
+
extends coreClient.OperationOptions {
|
250
|
+
/** The filter to apply on the operation. */
|
251
|
+
filter?: string;
|
252
|
+
}
|
311
253
|
|
312
|
-
/**
|
313
|
-
|
314
|
-
*/
|
315
|
-
export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject & {
|
316
|
-
/**
|
317
|
-
* The underlying HTTP response.
|
318
|
-
*/
|
319
|
-
_response: msRest.HttpResponse & {
|
320
|
-
/**
|
321
|
-
* The response body as text (string format)
|
322
|
-
*/
|
323
|
-
bodyAsText: string;
|
324
|
-
|
325
|
-
/**
|
326
|
-
* The response body as parsed JSON or XML
|
327
|
-
*/
|
328
|
-
parsedBody: ManagementLockObject;
|
329
|
-
};
|
330
|
-
};
|
254
|
+
/** Contains response data for the listAtSubscriptionLevelNext operation. */
|
255
|
+
export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;
|
331
256
|
|
332
|
-
/**
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
*/
|
339
|
-
_response: msRest.HttpResponse & {
|
340
|
-
/**
|
341
|
-
* The response body as text (string format)
|
342
|
-
*/
|
343
|
-
bodyAsText: string;
|
344
|
-
|
345
|
-
/**
|
346
|
-
* The response body as parsed JSON or XML
|
347
|
-
*/
|
348
|
-
parsedBody: ManagementLockObject;
|
349
|
-
};
|
350
|
-
};
|
257
|
+
/** Optional parameters. */
|
258
|
+
export interface ManagementLocksListByScopeNextOptionalParams
|
259
|
+
extends coreClient.OperationOptions {
|
260
|
+
/** The filter to apply on the operation. */
|
261
|
+
filter?: string;
|
262
|
+
}
|
351
263
|
|
352
|
-
/**
|
353
|
-
|
354
|
-
*/
|
355
|
-
export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject & {
|
356
|
-
/**
|
357
|
-
* The underlying HTTP response.
|
358
|
-
*/
|
359
|
-
_response: msRest.HttpResponse & {
|
360
|
-
/**
|
361
|
-
* The response body as text (string format)
|
362
|
-
*/
|
363
|
-
bodyAsText: string;
|
364
|
-
|
365
|
-
/**
|
366
|
-
* The response body as parsed JSON or XML
|
367
|
-
*/
|
368
|
-
parsedBody: ManagementLockObject;
|
369
|
-
};
|
370
|
-
};
|
264
|
+
/** Contains response data for the listByScopeNext operation. */
|
265
|
+
export type ManagementLocksListByScopeNextResponse = ManagementLockListResult;
|
371
266
|
|
372
|
-
/**
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
*/
|
379
|
-
_response: msRest.HttpResponse & {
|
380
|
-
/**
|
381
|
-
* The response body as text (string format)
|
382
|
-
*/
|
383
|
-
bodyAsText: string;
|
384
|
-
|
385
|
-
/**
|
386
|
-
* The response body as parsed JSON or XML
|
387
|
-
*/
|
388
|
-
parsedBody: ManagementLockListResult;
|
389
|
-
};
|
390
|
-
};
|
267
|
+
/** Optional parameters. */
|
268
|
+
export interface ManagementLocksListAtResourceGroupLevelNextNextOptionalParams
|
269
|
+
extends coreClient.OperationOptions {
|
270
|
+
/** The filter to apply on the operation. */
|
271
|
+
filter?: string;
|
272
|
+
}
|
391
273
|
|
392
|
-
/**
|
393
|
-
|
394
|
-
*/
|
395
|
-
export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult & {
|
396
|
-
/**
|
397
|
-
* The underlying HTTP response.
|
398
|
-
*/
|
399
|
-
_response: msRest.HttpResponse & {
|
400
|
-
/**
|
401
|
-
* The response body as text (string format)
|
402
|
-
*/
|
403
|
-
bodyAsText: string;
|
404
|
-
|
405
|
-
/**
|
406
|
-
* The response body as parsed JSON or XML
|
407
|
-
*/
|
408
|
-
parsedBody: ManagementLockListResult;
|
409
|
-
};
|
410
|
-
};
|
274
|
+
/** Contains response data for the listAtResourceGroupLevelNextNext operation. */
|
275
|
+
export type ManagementLocksListAtResourceGroupLevelNextNextResponse = ManagementLockListResult;
|
411
276
|
|
412
|
-
/**
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
*/
|
419
|
-
_response: msRest.HttpResponse & {
|
420
|
-
/**
|
421
|
-
* The response body as text (string format)
|
422
|
-
*/
|
423
|
-
bodyAsText: string;
|
424
|
-
|
425
|
-
/**
|
426
|
-
* The response body as parsed JSON or XML
|
427
|
-
*/
|
428
|
-
parsedBody: ManagementLockListResult;
|
429
|
-
};
|
430
|
-
};
|
277
|
+
/** Optional parameters. */
|
278
|
+
export interface ManagementLocksListAtResourceLevelNextNextOptionalParams
|
279
|
+
extends coreClient.OperationOptions {
|
280
|
+
/** The filter to apply on the operation. */
|
281
|
+
filter?: string;
|
282
|
+
}
|
431
283
|
|
432
|
-
/**
|
433
|
-
|
434
|
-
*/
|
435
|
-
export type ManagementLocksListByScopeResponse = ManagementLockListResult & {
|
436
|
-
/**
|
437
|
-
* The underlying HTTP response.
|
438
|
-
*/
|
439
|
-
_response: msRest.HttpResponse & {
|
440
|
-
/**
|
441
|
-
* The response body as text (string format)
|
442
|
-
*/
|
443
|
-
bodyAsText: string;
|
444
|
-
|
445
|
-
/**
|
446
|
-
* The response body as parsed JSON or XML
|
447
|
-
*/
|
448
|
-
parsedBody: ManagementLockListResult;
|
449
|
-
};
|
450
|
-
};
|
284
|
+
/** Contains response data for the listAtResourceLevelNextNext operation. */
|
285
|
+
export type ManagementLocksListAtResourceLevelNextNextResponse = ManagementLockListResult;
|
451
286
|
|
452
|
-
/**
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
*/
|
459
|
-
_response: msRest.HttpResponse & {
|
460
|
-
/**
|
461
|
-
* The response body as text (string format)
|
462
|
-
*/
|
463
|
-
bodyAsText: string;
|
464
|
-
|
465
|
-
/**
|
466
|
-
* The response body as parsed JSON or XML
|
467
|
-
*/
|
468
|
-
parsedBody: ManagementLockListResult;
|
469
|
-
};
|
470
|
-
};
|
287
|
+
/** Optional parameters. */
|
288
|
+
export interface ManagementLocksListAtSubscriptionLevelNextNextOptionalParams
|
289
|
+
extends coreClient.OperationOptions {
|
290
|
+
/** The filter to apply on the operation. */
|
291
|
+
filter?: string;
|
292
|
+
}
|
471
293
|
|
472
|
-
/**
|
473
|
-
|
474
|
-
*/
|
475
|
-
export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult & {
|
476
|
-
/**
|
477
|
-
* The underlying HTTP response.
|
478
|
-
*/
|
479
|
-
_response: msRest.HttpResponse & {
|
480
|
-
/**
|
481
|
-
* The response body as text (string format)
|
482
|
-
*/
|
483
|
-
bodyAsText: string;
|
484
|
-
|
485
|
-
/**
|
486
|
-
* The response body as parsed JSON or XML
|
487
|
-
*/
|
488
|
-
parsedBody: ManagementLockListResult;
|
489
|
-
};
|
490
|
-
};
|
294
|
+
/** Contains response data for the listAtSubscriptionLevelNextNext operation. */
|
295
|
+
export type ManagementLocksListAtSubscriptionLevelNextNextResponse = ManagementLockListResult;
|
491
296
|
|
492
|
-
/**
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
*/
|
499
|
-
_response: msRest.HttpResponse & {
|
500
|
-
/**
|
501
|
-
* The response body as text (string format)
|
502
|
-
*/
|
503
|
-
bodyAsText: string;
|
504
|
-
|
505
|
-
/**
|
506
|
-
* The response body as parsed JSON or XML
|
507
|
-
*/
|
508
|
-
parsedBody: ManagementLockListResult;
|
509
|
-
};
|
510
|
-
};
|
297
|
+
/** Optional parameters. */
|
298
|
+
export interface ManagementLocksListByScopeNextNextOptionalParams
|
299
|
+
extends coreClient.OperationOptions {
|
300
|
+
/** The filter to apply on the operation. */
|
301
|
+
filter?: string;
|
302
|
+
}
|
511
303
|
|
512
|
-
/**
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
/**
|
526
|
-
* The response body as parsed JSON or XML
|
527
|
-
*/
|
528
|
-
parsedBody: ManagementLockListResult;
|
529
|
-
};
|
530
|
-
};
|
304
|
+
/** Contains response data for the listByScopeNextNext operation. */
|
305
|
+
export type ManagementLocksListByScopeNextNextResponse = ManagementLockListResult;
|
306
|
+
|
307
|
+
/** Optional parameters. */
|
308
|
+
export interface ManagementLockClientOptionalParams
|
309
|
+
extends coreClient.ServiceClientOptions {
|
310
|
+
/** server parameter */
|
311
|
+
$host?: string;
|
312
|
+
/** Api Version */
|
313
|
+
apiVersion?: string;
|
314
|
+
/** Overrides client endpoint. */
|
315
|
+
endpoint?: string;
|
316
|
+
}
|