@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
@@ -1,254 +1,187 @@
|
|
1
|
-
import
|
2
|
-
import
|
1
|
+
import "@azure/core-paging";
|
2
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
3
|
+
import { ManagementLocks } from "../operationsInterfaces";
|
3
4
|
import { ManagementLockClientContext } from "../managementLockClientContext";
|
5
|
+
import { ManagementLockObject, ManagementLocksListAtResourceGroupLevelNextOptionalParams, ManagementLocksListAtResourceGroupLevelOptionalParams, ManagementLocksListAtResourceLevelNextOptionalParams, ManagementLocksListAtResourceLevelOptionalParams, ManagementLocksListAtSubscriptionLevelNextOptionalParams, ManagementLocksListAtSubscriptionLevelOptionalParams, ManagementLocksListByScopeNextOptionalParams, ManagementLocksListByScopeOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse, ManagementLocksDeleteAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelResponse, ManagementLocksCreateOrUpdateByScopeOptionalParams, ManagementLocksCreateOrUpdateByScopeResponse, ManagementLocksDeleteByScopeOptionalParams, ManagementLocksGetByScopeOptionalParams, ManagementLocksGetByScopeResponse, ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceLevelResponse, ManagementLocksDeleteAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelResponse, ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams, ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse, ManagementLocksDeleteAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelResponse } from "../models";
|
4
6
|
/** Class representing a ManagementLocks. */
|
5
|
-
export declare class ManagementLocks {
|
7
|
+
export declare class ManagementLocksImpl implements ManagementLocks {
|
6
8
|
private readonly client;
|
7
9
|
/**
|
8
|
-
*
|
9
|
-
* @param
|
10
|
+
* Initialize a new instance of the class ManagementLocks class.
|
11
|
+
* @param client Reference to the service client
|
10
12
|
*/
|
11
13
|
constructor(client: ManagementLockClientContext);
|
12
14
|
/**
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
* Administrator are granted those actions.
|
17
|
-
* @summary Creates or updates a management lock at the resource group level.
|
18
|
-
* @param resourceGroupName The name of the resource group to lock.
|
19
|
-
* @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot
|
20
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
21
|
-
* @param parameters The management lock parameters.
|
22
|
-
* @param [options] The optional parameters
|
23
|
-
* @returns Promise<Models.ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>
|
15
|
+
* Gets all the management locks for a resource group.
|
16
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
17
|
+
* @param options The options parameters.
|
24
18
|
*/
|
25
|
-
|
19
|
+
listAtResourceGroupLevel(resourceGroupName: string, options?: ManagementLocksListAtResourceGroupLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
20
|
+
private listAtResourceGroupLevelPagingPage;
|
21
|
+
private listAtResourceGroupLevelPagingAll;
|
26
22
|
/**
|
27
|
-
*
|
28
|
-
* @param
|
29
|
-
*
|
30
|
-
* @param
|
31
|
-
* @param
|
23
|
+
* Gets all the management locks for a resource or any level below resource.
|
24
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
25
|
+
* case insensitive.
|
26
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
27
|
+
* @param parentResourcePath The parent resource identity.
|
28
|
+
* @param resourceType The resource type of the locked resource.
|
29
|
+
* @param resourceName The name of the locked resource.
|
30
|
+
* @param options The options parameters.
|
32
31
|
*/
|
33
|
-
|
32
|
+
listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: ManagementLocksListAtResourceLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
33
|
+
private listAtResourceLevelPagingPage;
|
34
|
+
private listAtResourceLevelPagingAll;
|
34
35
|
/**
|
35
|
-
*
|
36
|
-
* @param
|
37
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
38
|
-
* @param parameters The management lock parameters.
|
39
|
-
* @param options The optional parameters
|
40
|
-
* @param callback The callback
|
36
|
+
* Gets all the management locks for a subscription.
|
37
|
+
* @param options The options parameters.
|
41
38
|
*/
|
42
|
-
|
39
|
+
listAtSubscriptionLevel(options?: ManagementLocksListAtSubscriptionLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
40
|
+
private listAtSubscriptionLevelPagingPage;
|
41
|
+
private listAtSubscriptionLevelPagingAll;
|
43
42
|
/**
|
44
|
-
*
|
45
|
-
*
|
46
|
-
*
|
47
|
-
*
|
48
|
-
*
|
49
|
-
*
|
50
|
-
* @param
|
51
|
-
* @returns Promise<msRest.RestResponse>
|
43
|
+
* Gets all the management locks for a scope.
|
44
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
45
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
46
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
47
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
48
|
+
* for resources.
|
49
|
+
* @param options The options parameters.
|
52
50
|
*/
|
53
|
-
|
51
|
+
listByScope(scope: string, options?: ManagementLocksListByScopeOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
52
|
+
private listByScopePagingPage;
|
53
|
+
private listByScopePagingAll;
|
54
54
|
/**
|
55
|
-
*
|
56
|
-
* @param
|
57
|
-
* @param
|
55
|
+
* ListAtResourceGroupLevelNext
|
56
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
57
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel
|
58
|
+
* method.
|
59
|
+
* @param options The options parameters.
|
58
60
|
*/
|
59
|
-
|
61
|
+
listAtResourceGroupLevelNext(resourceGroupName: string, nextLink: string, options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
62
|
+
private listAtResourceGroupLevelNextPagingPage;
|
63
|
+
private listAtResourceGroupLevelNextPagingAll;
|
60
64
|
/**
|
61
|
-
*
|
62
|
-
* @param
|
63
|
-
*
|
64
|
-
* @param
|
65
|
+
* ListAtResourceLevelNext
|
66
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
67
|
+
* case insensitive.
|
68
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
69
|
+
* @param parentResourcePath The parent resource identity.
|
70
|
+
* @param resourceType The resource type of the locked resource.
|
71
|
+
* @param resourceName The name of the locked resource.
|
72
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.
|
73
|
+
* @param options The options parameters.
|
65
74
|
*/
|
66
|
-
|
75
|
+
listAtResourceLevelNext(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, nextLink: string, options?: ManagementLocksListAtResourceLevelNextOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
76
|
+
private listAtResourceLevelNextPagingPage;
|
77
|
+
private listAtResourceLevelNextPagingAll;
|
67
78
|
/**
|
68
|
-
*
|
69
|
-
* @param
|
70
|
-
*
|
71
|
-
* @param
|
72
|
-
* @returns Promise<Models.ManagementLocksGetAtResourceGroupLevelResponse>
|
79
|
+
* ListAtSubscriptionLevelNext
|
80
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel
|
81
|
+
* method.
|
82
|
+
* @param options The options parameters.
|
73
83
|
*/
|
74
|
-
|
84
|
+
listAtSubscriptionLevelNext(nextLink: string, options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
85
|
+
private listAtSubscriptionLevelNextPagingPage;
|
86
|
+
private listAtSubscriptionLevelNextPagingAll;
|
75
87
|
/**
|
76
|
-
*
|
77
|
-
* @param
|
78
|
-
*
|
88
|
+
* ListByScopeNext
|
89
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
90
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
91
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
92
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
93
|
+
* for resources.
|
94
|
+
* @param nextLink The nextLink from the previous successful call to the ListByScope method.
|
95
|
+
* @param options The options parameters.
|
79
96
|
*/
|
80
|
-
|
97
|
+
listByScopeNext(scope: string, nextLink: string, options?: ManagementLocksListByScopeNextOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
98
|
+
private listByScopeNextPagingPage;
|
99
|
+
private listByScopeNextPagingAll;
|
81
100
|
/**
|
82
|
-
*
|
83
|
-
*
|
84
|
-
*
|
85
|
-
*
|
101
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
102
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
103
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
104
|
+
* Administrator are granted those actions.
|
105
|
+
* @param resourceGroupName The name of the resource group to lock.
|
106
|
+
* @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain
|
107
|
+
* <, > %, &, :, \, ?, /, or any control characters.
|
108
|
+
* @param parameters The management lock parameters.
|
109
|
+
* @param options The options parameters.
|
86
110
|
*/
|
87
|
-
|
111
|
+
createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>;
|
88
112
|
/**
|
89
|
-
*
|
90
|
-
*
|
91
|
-
*
|
92
|
-
*
|
93
|
-
*
|
94
|
-
*
|
95
|
-
* @param lockName The name of lock.
|
96
|
-
* @param parameters Create or update management lock parameters.
|
97
|
-
* @param [options] The optional parameters
|
98
|
-
* @returns Promise<Models.ManagementLocksCreateOrUpdateByScopeResponse>
|
113
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
114
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
115
|
+
* Administrator are granted those actions.
|
116
|
+
* @param resourceGroupName The name of the resource group containing the lock.
|
117
|
+
* @param lockName The name of lock to delete.
|
118
|
+
* @param options The options parameters.
|
99
119
|
*/
|
100
|
-
|
120
|
+
deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams): Promise<void>;
|
101
121
|
/**
|
102
|
-
*
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
* for resources.
|
107
|
-
* @param lockName The name of lock.
|
108
|
-
* @param parameters Create or update management lock parameters.
|
109
|
-
* @param callback The callback
|
122
|
+
* Gets a management lock at the resource group level.
|
123
|
+
* @param resourceGroupName The name of the locked resource group.
|
124
|
+
* @param lockName The name of the lock to get.
|
125
|
+
* @param options The options parameters.
|
110
126
|
*/
|
111
|
-
|
127
|
+
getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksGetAtResourceGroupLevelOptionalParams): Promise<ManagementLocksGetAtResourceGroupLevelResponse>;
|
112
128
|
/**
|
129
|
+
* Create or update a management lock by scope.
|
113
130
|
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
131
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
132
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
133
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
134
|
+
* for resources.
|
118
135
|
* @param lockName The name of lock.
|
119
136
|
* @param parameters Create or update management lock parameters.
|
120
|
-
* @param options The
|
121
|
-
* @param callback The callback
|
137
|
+
* @param options The options parameters.
|
122
138
|
*/
|
123
|
-
createOrUpdateByScope(scope: string, lockName: string, parameters:
|
139
|
+
createOrUpdateByScope(scope: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateByScopeOptionalParams): Promise<ManagementLocksCreateOrUpdateByScopeResponse>;
|
124
140
|
/**
|
125
141
|
* Delete a management lock by scope.
|
126
142
|
* @param scope The scope for the lock.
|
127
143
|
* @param lockName The name of lock.
|
128
|
-
* @param
|
129
|
-
* @returns Promise<msRest.RestResponse>
|
144
|
+
* @param options The options parameters.
|
130
145
|
*/
|
131
|
-
deleteByScope(scope: string, lockName: string, options?:
|
132
|
-
/**
|
133
|
-
* @param scope The scope for the lock.
|
134
|
-
* @param lockName The name of lock.
|
135
|
-
* @param callback The callback
|
136
|
-
*/
|
137
|
-
deleteByScope(scope: string, lockName: string, callback: msRest.ServiceCallback<void>): void;
|
138
|
-
/**
|
139
|
-
* @param scope The scope for the lock.
|
140
|
-
* @param lockName The name of lock.
|
141
|
-
* @param options The optional parameters
|
142
|
-
* @param callback The callback
|
143
|
-
*/
|
144
|
-
deleteByScope(scope: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
146
|
+
deleteByScope(scope: string, lockName: string, options?: ManagementLocksDeleteByScopeOptionalParams): Promise<void>;
|
145
147
|
/**
|
146
148
|
* Get a management lock by scope.
|
147
149
|
* @param scope The scope for the lock.
|
148
150
|
* @param lockName The name of lock.
|
149
|
-
* @param
|
150
|
-
* @returns Promise<Models.ManagementLocksGetByScopeResponse>
|
151
|
-
*/
|
152
|
-
getByScope(scope: string, lockName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksGetByScopeResponse>;
|
153
|
-
/**
|
154
|
-
* @param scope The scope for the lock.
|
155
|
-
* @param lockName The name of lock.
|
156
|
-
* @param callback The callback
|
151
|
+
* @param options The options parameters.
|
157
152
|
*/
|
158
|
-
getByScope(scope: string, lockName: string,
|
159
|
-
/**
|
160
|
-
* @param scope The scope for the lock.
|
161
|
-
* @param lockName The name of lock.
|
162
|
-
* @param options The optional parameters
|
163
|
-
* @param callback The callback
|
164
|
-
*/
|
165
|
-
getByScope(scope: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
153
|
+
getByScope(scope: string, lockName: string, options?: ManagementLocksGetByScopeOptionalParams): Promise<ManagementLocksGetByScopeResponse>;
|
166
154
|
/**
|
167
155
|
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
168
156
|
* management locks, you must have access to Microsoft.Authorization/* or
|
169
157
|
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
170
158
|
* Administrator are granted those actions.
|
171
|
-
* @summary Creates or updates a management lock at the resource level or any level below the
|
172
|
-
* resource.
|
173
|
-
* @param resourceGroupName The name of the resource group containing the resource to lock.
|
174
|
-
* @param resourceProviderNamespace The resource provider namespace of the resource to lock.
|
175
|
-
* @param parentResourcePath The parent resource identity.
|
176
|
-
* @param resourceType The resource type of the resource to lock.
|
177
|
-
* @param resourceName The name of the resource to lock.
|
178
|
-
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
179
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
180
|
-
* @param parameters Parameters for creating or updating a management lock.
|
181
|
-
* @param [options] The optional parameters
|
182
|
-
* @returns Promise<Models.ManagementLocksCreateOrUpdateAtResourceLevelResponse>
|
183
|
-
*/
|
184
|
-
createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksCreateOrUpdateAtResourceLevelResponse>;
|
185
|
-
/**
|
186
159
|
* @param resourceGroupName The name of the resource group containing the resource to lock.
|
187
160
|
* @param resourceProviderNamespace The resource provider namespace of the resource to lock.
|
188
161
|
* @param parentResourcePath The parent resource identity.
|
189
162
|
* @param resourceType The resource type of the resource to lock.
|
190
163
|
* @param resourceName The name of the resource to lock.
|
191
164
|
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
192
|
-
*
|
165
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
193
166
|
* @param parameters Parameters for creating or updating a management lock.
|
194
|
-
* @param
|
167
|
+
* @param options The options parameters.
|
195
168
|
*/
|
196
|
-
createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters:
|
197
|
-
/**
|
198
|
-
* @param resourceGroupName The name of the resource group containing the resource to lock.
|
199
|
-
* @param resourceProviderNamespace The resource provider namespace of the resource to lock.
|
200
|
-
* @param parentResourcePath The parent resource identity.
|
201
|
-
* @param resourceType The resource type of the resource to lock.
|
202
|
-
* @param resourceName The name of the resource to lock.
|
203
|
-
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
204
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
205
|
-
* @param parameters Parameters for creating or updating a management lock.
|
206
|
-
* @param options The optional parameters
|
207
|
-
* @param callback The callback
|
208
|
-
*/
|
209
|
-
createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
169
|
+
createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse>;
|
210
170
|
/**
|
211
171
|
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
212
172
|
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
213
173
|
* Administrator are granted those actions.
|
214
|
-
* @summary Deletes the management lock of a resource or any level below the resource.
|
215
174
|
* @param resourceGroupName The name of the resource group containing the resource with the lock to
|
216
|
-
*
|
217
|
-
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock
|
218
|
-
*
|
175
|
+
* delete.
|
176
|
+
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock to
|
177
|
+
* delete.
|
219
178
|
* @param parentResourcePath The parent resource identity.
|
220
179
|
* @param resourceType The resource type of the resource with the lock to delete.
|
221
180
|
* @param resourceName The name of the resource with the lock to delete.
|
222
181
|
* @param lockName The name of the lock to delete.
|
223
|
-
* @param
|
224
|
-
* @returns Promise<msRest.RestResponse>
|
182
|
+
* @param options The options parameters.
|
225
183
|
*/
|
226
|
-
deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?:
|
227
|
-
/**
|
228
|
-
* @param resourceGroupName The name of the resource group containing the resource with the lock to
|
229
|
-
* delete.
|
230
|
-
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock
|
231
|
-
* to delete.
|
232
|
-
* @param parentResourcePath The parent resource identity.
|
233
|
-
* @param resourceType The resource type of the resource with the lock to delete.
|
234
|
-
* @param resourceName The name of the resource with the lock to delete.
|
235
|
-
* @param lockName The name of the lock to delete.
|
236
|
-
* @param callback The callback
|
237
|
-
*/
|
238
|
-
deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, callback: msRest.ServiceCallback<void>): void;
|
239
|
-
/**
|
240
|
-
* @param resourceGroupName The name of the resource group containing the resource with the lock to
|
241
|
-
* delete.
|
242
|
-
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock
|
243
|
-
* to delete.
|
244
|
-
* @param parentResourcePath The parent resource identity.
|
245
|
-
* @param resourceType The resource type of the resource with the lock to delete.
|
246
|
-
* @param resourceName The name of the resource with the lock to delete.
|
247
|
-
* @param lockName The name of the lock to delete.
|
248
|
-
* @param options The optional parameters
|
249
|
-
* @param callback The callback
|
250
|
-
*/
|
251
|
-
deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
184
|
+
deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksDeleteAtResourceLevelOptionalParams): Promise<void>;
|
252
185
|
/**
|
253
186
|
* Get the management lock of a resource or any level below resource.
|
254
187
|
* @param resourceGroupName The name of the resource group.
|
@@ -257,265 +190,142 @@ export declare class ManagementLocks {
|
|
257
190
|
* @param resourceType The type of the resource.
|
258
191
|
* @param resourceName The name of the resource.
|
259
192
|
* @param lockName The name of lock.
|
260
|
-
* @param
|
261
|
-
* @returns Promise<Models.ManagementLocksGetAtResourceLevelResponse>
|
262
|
-
*/
|
263
|
-
getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksGetAtResourceLevelResponse>;
|
264
|
-
/**
|
265
|
-
* @param resourceGroupName The name of the resource group.
|
266
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
267
|
-
* @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
|
268
|
-
* @param resourceType The type of the resource.
|
269
|
-
* @param resourceName The name of the resource.
|
270
|
-
* @param lockName The name of lock.
|
271
|
-
* @param callback The callback
|
272
|
-
*/
|
273
|
-
getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
274
|
-
/**
|
275
|
-
* @param resourceGroupName The name of the resource group.
|
276
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
277
|
-
* @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
|
278
|
-
* @param resourceType The type of the resource.
|
279
|
-
* @param resourceName The name of the resource.
|
280
|
-
* @param lockName The name of lock.
|
281
|
-
* @param options The optional parameters
|
282
|
-
* @param callback The callback
|
193
|
+
* @param options The options parameters.
|
283
194
|
*/
|
284
|
-
getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options
|
195
|
+
getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksGetAtResourceLevelOptionalParams): Promise<ManagementLocksGetAtResourceLevelResponse>;
|
285
196
|
/**
|
286
197
|
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
287
198
|
* management locks, you must have access to Microsoft.Authorization/* or
|
288
199
|
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
289
200
|
* Administrator are granted those actions.
|
290
|
-
* @summary Creates or updates a management lock at the subscription level.
|
291
201
|
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
292
|
-
*
|
202
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
293
203
|
* @param parameters The management lock parameters.
|
294
|
-
* @param
|
295
|
-
* @returns Promise<Models.ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>
|
204
|
+
* @param options The options parameters.
|
296
205
|
*/
|
297
|
-
createOrUpdateAtSubscriptionLevel(lockName: string, parameters:
|
298
|
-
/**
|
299
|
-
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
300
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
301
|
-
* @param parameters The management lock parameters.
|
302
|
-
* @param callback The callback
|
303
|
-
*/
|
304
|
-
createOrUpdateAtSubscriptionLevel(lockName: string, parameters: Models.ManagementLockObject, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
305
|
-
/**
|
306
|
-
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
307
|
-
* contain <, > %, &, :, \, ?, /, or any control characters.
|
308
|
-
* @param parameters The management lock parameters.
|
309
|
-
* @param options The optional parameters
|
310
|
-
* @param callback The callback
|
311
|
-
*/
|
312
|
-
createOrUpdateAtSubscriptionLevel(lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
206
|
+
createOrUpdateAtSubscriptionLevel(lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>;
|
313
207
|
/**
|
314
208
|
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
315
209
|
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
316
210
|
* Administrator are granted those actions.
|
317
|
-
* @summary Deletes the management lock at the subscription level.
|
318
|
-
* @param lockName The name of lock to delete.
|
319
|
-
* @param [options] The optional parameters
|
320
|
-
* @returns Promise<msRest.RestResponse>
|
321
|
-
*/
|
322
|
-
deleteAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
323
|
-
/**
|
324
211
|
* @param lockName The name of lock to delete.
|
325
|
-
* @param
|
212
|
+
* @param options The options parameters.
|
326
213
|
*/
|
327
|
-
deleteAtSubscriptionLevel(lockName: string,
|
328
|
-
/**
|
329
|
-
* @param lockName The name of lock to delete.
|
330
|
-
* @param options The optional parameters
|
331
|
-
* @param callback The callback
|
332
|
-
*/
|
333
|
-
deleteAtSubscriptionLevel(lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
214
|
+
deleteAtSubscriptionLevel(lockName: string, options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams): Promise<void>;
|
334
215
|
/**
|
335
216
|
* Gets a management lock at the subscription level.
|
336
217
|
* @param lockName The name of the lock to get.
|
337
|
-
* @param
|
338
|
-
* @returns Promise<Models.ManagementLocksGetAtSubscriptionLevelResponse>
|
339
|
-
*/
|
340
|
-
getAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksGetAtSubscriptionLevelResponse>;
|
341
|
-
/**
|
342
|
-
* @param lockName The name of the lock to get.
|
343
|
-
* @param callback The callback
|
218
|
+
* @param options The options parameters.
|
344
219
|
*/
|
345
|
-
getAtSubscriptionLevel(lockName: string,
|
346
|
-
/**
|
347
|
-
* @param lockName The name of the lock to get.
|
348
|
-
* @param options The optional parameters
|
349
|
-
* @param callback The callback
|
350
|
-
*/
|
351
|
-
getAtSubscriptionLevel(lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementLockObject>): void;
|
220
|
+
getAtSubscriptionLevel(lockName: string, options?: ManagementLocksGetAtSubscriptionLevelOptionalParams): Promise<ManagementLocksGetAtSubscriptionLevelResponse>;
|
352
221
|
/**
|
353
222
|
* Gets all the management locks for a resource group.
|
354
223
|
* @param resourceGroupName The name of the resource group containing the locks to get.
|
355
|
-
* @param
|
356
|
-
* @returns Promise<Models.ManagementLocksListAtResourceGroupLevelResponse>
|
357
|
-
*/
|
358
|
-
listAtResourceGroupLevel(resourceGroupName: string, options?: Models.ManagementLocksListAtResourceGroupLevelOptionalParams): Promise<Models.ManagementLocksListAtResourceGroupLevelResponse>;
|
359
|
-
/**
|
360
|
-
* @param resourceGroupName The name of the resource group containing the locks to get.
|
361
|
-
* @param callback The callback
|
224
|
+
* @param options The options parameters.
|
362
225
|
*/
|
363
|
-
|
364
|
-
/**
|
365
|
-
* @param resourceGroupName The name of the resource group containing the locks to get.
|
366
|
-
* @param options The optional parameters
|
367
|
-
* @param callback The callback
|
368
|
-
*/
|
369
|
-
listAtResourceGroupLevel(resourceGroupName: string, options: Models.ManagementLocksListAtResourceGroupLevelOptionalParams, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
226
|
+
private _listAtResourceGroupLevel;
|
370
227
|
/**
|
371
228
|
* Gets all the management locks for a resource or any level below resource.
|
372
|
-
* @param resourceGroupName The name of the resource group containing the locked resource. The name
|
373
|
-
*
|
229
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
230
|
+
* case insensitive.
|
374
231
|
* @param resourceProviderNamespace The namespace of the resource provider.
|
375
232
|
* @param parentResourcePath The parent resource identity.
|
376
233
|
* @param resourceType The resource type of the locked resource.
|
377
234
|
* @param resourceName The name of the locked resource.
|
378
|
-
* @param
|
379
|
-
* @returns Promise<Models.ManagementLocksListAtResourceLevelResponse>
|
235
|
+
* @param options The options parameters.
|
380
236
|
*/
|
381
|
-
|
382
|
-
/**
|
383
|
-
* @param resourceGroupName The name of the resource group containing the locked resource. The name
|
384
|
-
* is case insensitive.
|
385
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
386
|
-
* @param parentResourcePath The parent resource identity.
|
387
|
-
* @param resourceType The resource type of the locked resource.
|
388
|
-
* @param resourceName The name of the locked resource.
|
389
|
-
* @param callback The callback
|
390
|
-
*/
|
391
|
-
listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
392
|
-
/**
|
393
|
-
* @param resourceGroupName The name of the resource group containing the locked resource. The name
|
394
|
-
* is case insensitive.
|
395
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
396
|
-
* @param parentResourcePath The parent resource identity.
|
397
|
-
* @param resourceType The resource type of the locked resource.
|
398
|
-
* @param resourceName The name of the locked resource.
|
399
|
-
* @param options The optional parameters
|
400
|
-
* @param callback The callback
|
401
|
-
*/
|
402
|
-
listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options: Models.ManagementLocksListAtResourceLevelOptionalParams, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
237
|
+
private _listAtResourceLevel;
|
403
238
|
/**
|
404
239
|
* Gets all the management locks for a subscription.
|
405
|
-
* @param
|
406
|
-
* @returns Promise<Models.ManagementLocksListAtSubscriptionLevelResponse>
|
407
|
-
*/
|
408
|
-
listAtSubscriptionLevel(options?: Models.ManagementLocksListAtSubscriptionLevelOptionalParams): Promise<Models.ManagementLocksListAtSubscriptionLevelResponse>;
|
409
|
-
/**
|
410
|
-
* @param callback The callback
|
411
|
-
*/
|
412
|
-
listAtSubscriptionLevel(callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
413
|
-
/**
|
414
|
-
* @param options The optional parameters
|
415
|
-
* @param callback The callback
|
240
|
+
* @param options The options parameters.
|
416
241
|
*/
|
417
|
-
|
242
|
+
private _listAtSubscriptionLevel;
|
418
243
|
/**
|
419
244
|
* Gets all the management locks for a scope.
|
420
245
|
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
421
|
-
*
|
422
|
-
*
|
423
|
-
*
|
424
|
-
*
|
425
|
-
* @param
|
426
|
-
* @returns Promise<Models.ManagementLocksListByScopeResponse>
|
427
|
-
*/
|
428
|
-
listByScope(scope: string, options?: Models.ManagementLocksListByScopeOptionalParams): Promise<Models.ManagementLocksListByScopeResponse>;
|
429
|
-
/**
|
430
|
-
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
431
|
-
* '/subscriptions/{subscriptionId}' for subscriptions,
|
432
|
-
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
433
|
-
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
434
|
-
* for resources.
|
435
|
-
* @param callback The callback
|
436
|
-
*/
|
437
|
-
listByScope(scope: string, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
438
|
-
/**
|
439
|
-
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
440
|
-
* '/subscriptions/{subscriptionId}' for subscriptions,
|
441
|
-
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
442
|
-
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
443
|
-
* for resources.
|
444
|
-
* @param options The optional parameters
|
445
|
-
* @param callback The callback
|
246
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
247
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
248
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
249
|
+
* for resources.
|
250
|
+
* @param options The options parameters.
|
446
251
|
*/
|
447
|
-
|
252
|
+
private _listByScope;
|
448
253
|
/**
|
449
|
-
*
|
450
|
-
* @param
|
451
|
-
* @param
|
452
|
-
*
|
453
|
-
|
454
|
-
listAtResourceGroupLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksListAtResourceGroupLevelNextResponse>;
|
455
|
-
/**
|
456
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
457
|
-
* @param callback The callback
|
458
|
-
*/
|
459
|
-
listAtResourceGroupLevelNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
460
|
-
/**
|
461
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
462
|
-
* @param options The optional parameters
|
463
|
-
* @param callback The callback
|
464
|
-
*/
|
465
|
-
listAtResourceGroupLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementLockListResult>): void;
|
466
|
-
/**
|
467
|
-
* Gets all the management locks for a resource or any level below resource.
|
468
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
469
|
-
* @param [options] The optional parameters
|
470
|
-
* @returns Promise<Models.ManagementLocksListAtResourceLevelNextResponse>
|
471
|
-
*/
|
472
|
-
listAtResourceLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagementLocksListAtResourceLevelNextResponse>;
|
473
|
-
/**
|
474
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
475
|
-
* @param callback The callback
|
254
|
+
* ListAtResourceGroupLevelNext
|
255
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
256
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel
|
257
|
+
* method.
|
258
|
+
* @param options The options parameters.
|
476
259
|
*/
|
477
|
-
|
260
|
+
private _listAtResourceGroupLevelNext;
|
478
261
|
/**
|
479
|
-
*
|
480
|
-
* @param
|
481
|
-
*
|
262
|
+
* ListAtResourceLevelNext
|
263
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
264
|
+
* case insensitive.
|
265
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
266
|
+
* @param parentResourcePath The parent resource identity.
|
267
|
+
* @param resourceType The resource type of the locked resource.
|
268
|
+
* @param resourceName The name of the locked resource.
|
269
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.
|
270
|
+
* @param options The options parameters.
|
482
271
|
*/
|
483
|
-
|
272
|
+
private _listAtResourceLevelNext;
|
484
273
|
/**
|
485
|
-
*
|
486
|
-
* @param
|
487
|
-
*
|
488
|
-
* @
|
274
|
+
* ListAtSubscriptionLevelNext
|
275
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel
|
276
|
+
* method.
|
277
|
+
* @param options The options parameters.
|
489
278
|
*/
|
490
|
-
|
279
|
+
private _listAtSubscriptionLevelNext;
|
491
280
|
/**
|
492
|
-
*
|
493
|
-
* @param
|
281
|
+
* ListByScopeNext
|
282
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
283
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
284
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
285
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
286
|
+
* for resources.
|
287
|
+
* @param nextLink The nextLink from the previous successful call to the ListByScope method.
|
288
|
+
* @param options The options parameters.
|
494
289
|
*/
|
495
|
-
|
290
|
+
private _listByScopeNext;
|
496
291
|
/**
|
497
|
-
*
|
498
|
-
* @param
|
499
|
-
* @param
|
292
|
+
* ListAtResourceGroupLevelNextNext
|
293
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
294
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevelNext
|
295
|
+
* method.
|
296
|
+
* @param options The options parameters.
|
500
297
|
*/
|
501
|
-
|
298
|
+
private _listAtResourceGroupLevelNextNext;
|
502
299
|
/**
|
503
|
-
*
|
504
|
-
* @param
|
505
|
-
*
|
506
|
-
* @
|
300
|
+
* ListAtResourceLevelNextNext
|
301
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
302
|
+
* case insensitive.
|
303
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
304
|
+
* @param parentResourcePath The parent resource identity.
|
305
|
+
* @param resourceType The resource type of the locked resource.
|
306
|
+
* @param resourceName The name of the locked resource.
|
307
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceLevelNext
|
308
|
+
* method.
|
309
|
+
* @param options The options parameters.
|
507
310
|
*/
|
508
|
-
|
311
|
+
private _listAtResourceLevelNextNext;
|
509
312
|
/**
|
510
|
-
*
|
511
|
-
* @param
|
313
|
+
* ListAtSubscriptionLevelNextNext
|
314
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevelNext
|
315
|
+
* method.
|
316
|
+
* @param options The options parameters.
|
512
317
|
*/
|
513
|
-
|
318
|
+
private _listAtSubscriptionLevelNextNext;
|
514
319
|
/**
|
515
|
-
*
|
516
|
-
* @param
|
517
|
-
*
|
518
|
-
|
519
|
-
|
320
|
+
* ListByScopeNextNext
|
321
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
322
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
323
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
324
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
325
|
+
* for resources.
|
326
|
+
* @param nextLink The nextLink from the previous successful call to the ListByScopeNext method.
|
327
|
+
* @param options The options parameters.
|
328
|
+
*/
|
329
|
+
private _listByScopeNextNext;
|
520
330
|
}
|
521
331
|
//# sourceMappingURL=managementLocks.d.ts.map
|