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