@azure/arm-authorization-profile-2020-09-01-hybrid 2.1.1-alpha.20250717.1 → 2.1.1-alpha.20250729.1
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/dist/browser/authorizationManagementClient.js +18 -5
- package/dist/browser/authorizationManagementClient.js.map +1 -1
- package/dist/browser/operations/globalAdministrator.js +1 -0
- package/dist/browser/operations/globalAdministrator.js.map +1 -1
- package/dist/browser/operations/permissions.js +45 -79
- package/dist/browser/operations/permissions.js.map +1 -1
- package/dist/browser/operations/providerOperationsMetadataOperations.js +23 -40
- package/dist/browser/operations/providerOperationsMetadataOperations.js.map +1 -1
- package/dist/browser/operations/roleAssignments.js +89 -157
- package/dist/browser/operations/roleAssignments.js.map +1 -1
- package/dist/browser/operations/roleDefinitions.js +23 -40
- package/dist/browser/operations/roleDefinitions.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/authorizationManagementClient.js +18 -5
- package/dist/commonjs/authorizationManagementClient.js.map +1 -1
- package/dist/commonjs/operations/globalAdministrator.js +1 -0
- package/dist/commonjs/operations/globalAdministrator.js.map +1 -1
- package/dist/commonjs/operations/permissions.js +45 -78
- package/dist/commonjs/operations/permissions.js.map +1 -1
- package/dist/commonjs/operations/providerOperationsMetadataOperations.js +23 -39
- package/dist/commonjs/operations/providerOperationsMetadataOperations.js.map +1 -1
- package/dist/commonjs/operations/roleAssignments.js +89 -156
- package/dist/commonjs/operations/roleAssignments.js.map +1 -1
- package/dist/commonjs/operations/roleDefinitions.js +23 -39
- package/dist/commonjs/operations/roleDefinitions.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/authorizationManagementClient.js +18 -5
- package/dist/esm/authorizationManagementClient.js.map +1 -1
- package/dist/esm/operations/globalAdministrator.js +1 -0
- package/dist/esm/operations/globalAdministrator.js.map +1 -1
- package/dist/esm/operations/permissions.js +45 -79
- package/dist/esm/operations/permissions.js.map +1 -1
- package/dist/esm/operations/providerOperationsMetadataOperations.js +23 -40
- package/dist/esm/operations/providerOperationsMetadataOperations.js.map +1 -1
- package/dist/esm/operations/roleAssignments.js +89 -157
- package/dist/esm/operations/roleAssignments.js.map +1 -1
- package/dist/esm/operations/roleDefinitions.js +23 -40
- package/dist/esm/operations/roleDefinitions.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/authorizationManagementClient.js +18 -5
- package/dist/react-native/authorizationManagementClient.js.map +1 -1
- package/dist/react-native/operations/globalAdministrator.js +1 -0
- package/dist/react-native/operations/globalAdministrator.js.map +1 -1
- package/dist/react-native/operations/permissions.js +45 -79
- package/dist/react-native/operations/permissions.js.map +1 -1
- package/dist/react-native/operations/providerOperationsMetadataOperations.js +23 -40
- package/dist/react-native/operations/providerOperationsMetadataOperations.js.map +1 -1
- package/dist/react-native/operations/roleAssignments.js +89 -157
- package/dist/react-native/operations/roleAssignments.js.map +1 -1
- package/dist/react-native/operations/roleDefinitions.js +23 -40
- package/dist/react-native/operations/roleDefinitions.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-authorization-profile-2020-09-01-hybrid-node.api.md +408 -408
|
@@ -1,408 +1,408 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-authorization-profile-2020-09-01-hybrid"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
|
|
11
|
-
// @public (undocumented)
|
|
12
|
-
export class AuthorizationManagementClient extends coreClient.ServiceClient {
|
|
13
|
-
// (undocumented)
|
|
14
|
-
$host: string;
|
|
15
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AuthorizationManagementClientOptionalParams);
|
|
16
|
-
// (undocumented)
|
|
17
|
-
apiVersion: string;
|
|
18
|
-
// (undocumented)
|
|
19
|
-
globalAdministrator: GlobalAdministrator;
|
|
20
|
-
// (undocumented)
|
|
21
|
-
permissions: Permissions;
|
|
22
|
-
// (undocumented)
|
|
23
|
-
providerOperationsMetadataOperations: ProviderOperationsMetadataOperations;
|
|
24
|
-
// (undocumented)
|
|
25
|
-
roleAssignments: RoleAssignments;
|
|
26
|
-
// (undocumented)
|
|
27
|
-
roleDefinitions: RoleDefinitions;
|
|
28
|
-
// (undocumented)
|
|
29
|
-
subscriptionId: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// @public
|
|
33
|
-
export interface AuthorizationManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
34
|
-
$host?: string;
|
|
35
|
-
apiVersion?: string;
|
|
36
|
-
endpoint?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export interface ErrorAdditionalInfo {
|
|
41
|
-
readonly info?: Record<string, unknown>;
|
|
42
|
-
readonly type?: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// @public
|
|
46
|
-
export interface ErrorDetail {
|
|
47
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
48
|
-
readonly code?: string;
|
|
49
|
-
readonly details?: ErrorDetail[];
|
|
50
|
-
readonly message?: string;
|
|
51
|
-
readonly target?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// @public
|
|
55
|
-
export interface ErrorResponse {
|
|
56
|
-
error?: ErrorDetail;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// @public
|
|
60
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
61
|
-
|
|
62
|
-
// @public
|
|
63
|
-
export interface GlobalAdministrator {
|
|
64
|
-
elevateAccess(options?: GlobalAdministratorElevateAccessOptionalParams): Promise<void>;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// @public
|
|
68
|
-
export interface GlobalAdministratorElevateAccessOptionalParams extends coreClient.OperationOptions {
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// @public
|
|
72
|
-
export interface Permission {
|
|
73
|
-
actions?: string[];
|
|
74
|
-
notActions?: string[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// @public
|
|
78
|
-
export interface PermissionGetResult {
|
|
79
|
-
nextLink?: string;
|
|
80
|
-
value?: Permission[];
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// @public
|
|
84
|
-
export interface Permissions {
|
|
85
|
-
listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: PermissionsListForResourceOptionalParams): PagedAsyncIterableIterator<Permission>;
|
|
86
|
-
listForResourceGroup(resourceGroupName: string, options?: PermissionsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Permission>;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// @public
|
|
90
|
-
export interface PermissionsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// @public
|
|
94
|
-
export type PermissionsListForResourceGroupNextResponse = PermissionGetResult;
|
|
95
|
-
|
|
96
|
-
// @public
|
|
97
|
-
export interface PermissionsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// @public
|
|
101
|
-
export type PermissionsListForResourceGroupResponse = PermissionGetResult;
|
|
102
|
-
|
|
103
|
-
// @public
|
|
104
|
-
export interface PermissionsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// @public
|
|
108
|
-
export type PermissionsListForResourceNextResponse = PermissionGetResult;
|
|
109
|
-
|
|
110
|
-
// @public
|
|
111
|
-
export interface PermissionsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// @public
|
|
115
|
-
export type PermissionsListForResourceResponse = PermissionGetResult;
|
|
116
|
-
|
|
117
|
-
// @public
|
|
118
|
-
export interface ProviderOperation {
|
|
119
|
-
description?: string;
|
|
120
|
-
displayName?: string;
|
|
121
|
-
name?: string;
|
|
122
|
-
origin?: string;
|
|
123
|
-
properties?: Record<string, unknown>;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// @public
|
|
127
|
-
export interface ProviderOperationsMetadata {
|
|
128
|
-
displayName?: string;
|
|
129
|
-
id?: string;
|
|
130
|
-
name?: string;
|
|
131
|
-
operations?: ProviderOperation[];
|
|
132
|
-
resourceTypes?: ResourceType[];
|
|
133
|
-
type?: string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// @public
|
|
137
|
-
export interface ProviderOperationsMetadataGetOptionalParams extends coreClient.OperationOptions {
|
|
138
|
-
expand?: string;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// @public
|
|
142
|
-
export type ProviderOperationsMetadataGetResponse = ProviderOperationsMetadata;
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export interface ProviderOperationsMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// @public
|
|
149
|
-
export type ProviderOperationsMetadataListNextResponse = ProviderOperationsMetadataListResult;
|
|
150
|
-
|
|
151
|
-
// @public
|
|
152
|
-
export interface ProviderOperationsMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
153
|
-
expand?: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// @public
|
|
157
|
-
export type ProviderOperationsMetadataListResponse = ProviderOperationsMetadataListResult;
|
|
158
|
-
|
|
159
|
-
// @public
|
|
160
|
-
export interface ProviderOperationsMetadataListResult {
|
|
161
|
-
nextLink?: string;
|
|
162
|
-
value?: ProviderOperationsMetadata[];
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public
|
|
166
|
-
export interface ProviderOperationsMetadataOperations {
|
|
167
|
-
get(resourceProviderNamespace: string, options?: ProviderOperationsMetadataGetOptionalParams): Promise<ProviderOperationsMetadataGetResponse>;
|
|
168
|
-
list(options?: ProviderOperationsMetadataListOptionalParams): PagedAsyncIterableIterator<ProviderOperationsMetadata>;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// @public
|
|
172
|
-
export interface ResourceType {
|
|
173
|
-
displayName?: string;
|
|
174
|
-
name?: string;
|
|
175
|
-
operations?: ProviderOperation[];
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// @public
|
|
179
|
-
export interface RoleAssignment {
|
|
180
|
-
readonly id?: string;
|
|
181
|
-
readonly name?: string;
|
|
182
|
-
properties?: RoleAssignmentPropertiesWithScope;
|
|
183
|
-
readonly type?: string;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// @public
|
|
187
|
-
export interface RoleAssignmentCreateParameters {
|
|
188
|
-
properties: RoleAssignmentProperties;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export interface RoleAssignmentFilter {
|
|
193
|
-
principalId?: string;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// @public
|
|
197
|
-
export interface RoleAssignmentListResult {
|
|
198
|
-
nextLink?: string;
|
|
199
|
-
value?: RoleAssignment[];
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// @public
|
|
203
|
-
export interface RoleAssignmentProperties {
|
|
204
|
-
principalId: string;
|
|
205
|
-
roleDefinitionId: string;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// @public
|
|
209
|
-
export interface RoleAssignmentPropertiesWithScope {
|
|
210
|
-
principalId?: string;
|
|
211
|
-
roleDefinitionId?: string;
|
|
212
|
-
scope?: string;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
// @public
|
|
216
|
-
export interface RoleAssignments {
|
|
217
|
-
create(scope: string, roleAssignmentName: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateOptionalParams): Promise<RoleAssignmentsCreateResponse>;
|
|
218
|
-
createById(roleAssignmentId: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateByIdOptionalParams): Promise<RoleAssignmentsCreateByIdResponse>;
|
|
219
|
-
delete(scope: string, roleAssignmentName: string, options?: RoleAssignmentsDeleteOptionalParams): Promise<RoleAssignmentsDeleteResponse>;
|
|
220
|
-
deleteById(roleAssignmentId: string, options?: RoleAssignmentsDeleteByIdOptionalParams): Promise<RoleAssignmentsDeleteByIdResponse>;
|
|
221
|
-
get(scope: string, roleAssignmentName: string, options?: RoleAssignmentsGetOptionalParams): Promise<RoleAssignmentsGetResponse>;
|
|
222
|
-
getById(roleAssignmentId: string, options?: RoleAssignmentsGetByIdOptionalParams): Promise<RoleAssignmentsGetByIdResponse>;
|
|
223
|
-
list(options?: RoleAssignmentsListOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
224
|
-
listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: RoleAssignmentsListForResourceOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
225
|
-
listForResourceGroup(resourceGroupName: string, options?: RoleAssignmentsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
226
|
-
listForScope(scope: string, options?: RoleAssignmentsListForScopeOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// @public
|
|
230
|
-
export interface RoleAssignmentsCreateByIdOptionalParams extends coreClient.OperationOptions {
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// @public
|
|
234
|
-
export type RoleAssignmentsCreateByIdResponse = RoleAssignment;
|
|
235
|
-
|
|
236
|
-
// @public
|
|
237
|
-
export interface RoleAssignmentsCreateOptionalParams extends coreClient.OperationOptions {
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// @public
|
|
241
|
-
export type RoleAssignmentsCreateResponse = RoleAssignment;
|
|
242
|
-
|
|
243
|
-
// @public
|
|
244
|
-
export interface RoleAssignmentsDeleteByIdOptionalParams extends coreClient.OperationOptions {
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
// @public
|
|
248
|
-
export type RoleAssignmentsDeleteByIdResponse = RoleAssignment;
|
|
249
|
-
|
|
250
|
-
// @public
|
|
251
|
-
export interface RoleAssignmentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// @public
|
|
255
|
-
export type RoleAssignmentsDeleteResponse = RoleAssignment;
|
|
256
|
-
|
|
257
|
-
// @public
|
|
258
|
-
export interface RoleAssignmentsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
// @public
|
|
262
|
-
export type RoleAssignmentsGetByIdResponse = RoleAssignment;
|
|
263
|
-
|
|
264
|
-
// @public
|
|
265
|
-
export interface RoleAssignmentsGetOptionalParams extends coreClient.OperationOptions {
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// @public
|
|
269
|
-
export type RoleAssignmentsGetResponse = RoleAssignment;
|
|
270
|
-
|
|
271
|
-
// @public
|
|
272
|
-
export interface RoleAssignmentsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// @public
|
|
276
|
-
export type RoleAssignmentsListForResourceGroupNextResponse = RoleAssignmentListResult;
|
|
277
|
-
|
|
278
|
-
// @public
|
|
279
|
-
export interface RoleAssignmentsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
280
|
-
filter?: string;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
// @public
|
|
284
|
-
export type RoleAssignmentsListForResourceGroupResponse = RoleAssignmentListResult;
|
|
285
|
-
|
|
286
|
-
// @public
|
|
287
|
-
export interface RoleAssignmentsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// @public
|
|
291
|
-
export type RoleAssignmentsListForResourceNextResponse = RoleAssignmentListResult;
|
|
292
|
-
|
|
293
|
-
// @public
|
|
294
|
-
export interface RoleAssignmentsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
295
|
-
filter?: string;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
// @public
|
|
299
|
-
export type RoleAssignmentsListForResourceResponse = RoleAssignmentListResult;
|
|
300
|
-
|
|
301
|
-
// @public
|
|
302
|
-
export interface RoleAssignmentsListForScopeNextOptionalParams extends coreClient.OperationOptions {
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
// @public
|
|
306
|
-
export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult;
|
|
307
|
-
|
|
308
|
-
// @public
|
|
309
|
-
export interface RoleAssignmentsListForScopeOptionalParams extends coreClient.OperationOptions {
|
|
310
|
-
filter?: string;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
// @public
|
|
314
|
-
export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult;
|
|
315
|
-
|
|
316
|
-
// @public
|
|
317
|
-
export interface RoleAssignmentsListNextOptionalParams extends coreClient.OperationOptions {
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
// @public
|
|
321
|
-
export type RoleAssignmentsListNextResponse = RoleAssignmentListResult;
|
|
322
|
-
|
|
323
|
-
// @public
|
|
324
|
-
export interface RoleAssignmentsListOptionalParams extends coreClient.OperationOptions {
|
|
325
|
-
filter?: string;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
// @public
|
|
329
|
-
export type RoleAssignmentsListResponse = RoleAssignmentListResult;
|
|
330
|
-
|
|
331
|
-
// @public
|
|
332
|
-
export interface RoleDefinition {
|
|
333
|
-
assignableScopes?: string[];
|
|
334
|
-
description?: string;
|
|
335
|
-
readonly id?: string;
|
|
336
|
-
readonly name?: string;
|
|
337
|
-
permissions?: Permission[];
|
|
338
|
-
roleName?: string;
|
|
339
|
-
roleType?: string;
|
|
340
|
-
readonly type?: string;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
// @public
|
|
344
|
-
export interface RoleDefinitionFilter {
|
|
345
|
-
roleName?: string;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
// @public
|
|
349
|
-
export interface RoleDefinitionListResult {
|
|
350
|
-
nextLink?: string;
|
|
351
|
-
value?: RoleDefinition[];
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
// @public
|
|
355
|
-
export interface RoleDefinitions {
|
|
356
|
-
createOrUpdate(scope: string, roleDefinitionId: string, roleDefinition: RoleDefinition, options?: RoleDefinitionsCreateOrUpdateOptionalParams): Promise<RoleDefinitionsCreateOrUpdateResponse>;
|
|
357
|
-
delete(scope: string, roleDefinitionId: string, options?: RoleDefinitionsDeleteOptionalParams): Promise<RoleDefinitionsDeleteResponse>;
|
|
358
|
-
get(scope: string, roleDefinitionId: string, options?: RoleDefinitionsGetOptionalParams): Promise<RoleDefinitionsGetResponse>;
|
|
359
|
-
getById(roleDefinitionId: string, options?: RoleDefinitionsGetByIdOptionalParams): Promise<RoleDefinitionsGetByIdResponse>;
|
|
360
|
-
list(scope: string, options?: RoleDefinitionsListOptionalParams): PagedAsyncIterableIterator<RoleDefinition>;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
// @public
|
|
364
|
-
export interface RoleDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// @public
|
|
368
|
-
export type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition;
|
|
369
|
-
|
|
370
|
-
// @public
|
|
371
|
-
export interface RoleDefinitionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
// @public
|
|
375
|
-
export type RoleDefinitionsDeleteResponse = RoleDefinition;
|
|
376
|
-
|
|
377
|
-
// @public
|
|
378
|
-
export interface RoleDefinitionsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
// @public
|
|
382
|
-
export type RoleDefinitionsGetByIdResponse = RoleDefinition;
|
|
383
|
-
|
|
384
|
-
// @public
|
|
385
|
-
export interface RoleDefinitionsGetOptionalParams extends coreClient.OperationOptions {
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
// @public
|
|
389
|
-
export type RoleDefinitionsGetResponse = RoleDefinition;
|
|
390
|
-
|
|
391
|
-
// @public
|
|
392
|
-
export interface RoleDefinitionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
// @public
|
|
396
|
-
export type RoleDefinitionsListNextResponse = RoleDefinitionListResult;
|
|
397
|
-
|
|
398
|
-
// @public
|
|
399
|
-
export interface RoleDefinitionsListOptionalParams extends coreClient.OperationOptions {
|
|
400
|
-
filter?: string;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
// @public
|
|
404
|
-
export type RoleDefinitionsListResponse = RoleDefinitionListResult;
|
|
405
|
-
|
|
406
|
-
// (No @packageDocumentation comment for this package)
|
|
407
|
-
|
|
408
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-authorization-profile-2020-09-01-hybrid"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
|
|
11
|
+
// @public (undocumented)
|
|
12
|
+
export class AuthorizationManagementClient extends coreClient.ServiceClient {
|
|
13
|
+
// (undocumented)
|
|
14
|
+
$host: string;
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AuthorizationManagementClientOptionalParams);
|
|
16
|
+
// (undocumented)
|
|
17
|
+
apiVersion: string;
|
|
18
|
+
// (undocumented)
|
|
19
|
+
globalAdministrator: GlobalAdministrator;
|
|
20
|
+
// (undocumented)
|
|
21
|
+
permissions: Permissions;
|
|
22
|
+
// (undocumented)
|
|
23
|
+
providerOperationsMetadataOperations: ProviderOperationsMetadataOperations;
|
|
24
|
+
// (undocumented)
|
|
25
|
+
roleAssignments: RoleAssignments;
|
|
26
|
+
// (undocumented)
|
|
27
|
+
roleDefinitions: RoleDefinitions;
|
|
28
|
+
// (undocumented)
|
|
29
|
+
subscriptionId: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export interface AuthorizationManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
34
|
+
$host?: string;
|
|
35
|
+
apiVersion?: string;
|
|
36
|
+
endpoint?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// @public
|
|
40
|
+
export interface ErrorAdditionalInfo {
|
|
41
|
+
readonly info?: Record<string, unknown>;
|
|
42
|
+
readonly type?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export interface ErrorDetail {
|
|
47
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
48
|
+
readonly code?: string;
|
|
49
|
+
readonly details?: ErrorDetail[];
|
|
50
|
+
readonly message?: string;
|
|
51
|
+
readonly target?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export interface ErrorResponse {
|
|
56
|
+
error?: ErrorDetail;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// @public
|
|
60
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
61
|
+
|
|
62
|
+
// @public
|
|
63
|
+
export interface GlobalAdministrator {
|
|
64
|
+
elevateAccess(options?: GlobalAdministratorElevateAccessOptionalParams): Promise<void>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// @public
|
|
68
|
+
export interface GlobalAdministratorElevateAccessOptionalParams extends coreClient.OperationOptions {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export interface Permission {
|
|
73
|
+
actions?: string[];
|
|
74
|
+
notActions?: string[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @public
|
|
78
|
+
export interface PermissionGetResult {
|
|
79
|
+
nextLink?: string;
|
|
80
|
+
value?: Permission[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// @public
|
|
84
|
+
export interface Permissions {
|
|
85
|
+
listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: PermissionsListForResourceOptionalParams): PagedAsyncIterableIterator<Permission>;
|
|
86
|
+
listForResourceGroup(resourceGroupName: string, options?: PermissionsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Permission>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// @public
|
|
90
|
+
export interface PermissionsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// @public
|
|
94
|
+
export type PermissionsListForResourceGroupNextResponse = PermissionGetResult;
|
|
95
|
+
|
|
96
|
+
// @public
|
|
97
|
+
export interface PermissionsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// @public
|
|
101
|
+
export type PermissionsListForResourceGroupResponse = PermissionGetResult;
|
|
102
|
+
|
|
103
|
+
// @public
|
|
104
|
+
export interface PermissionsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public
|
|
108
|
+
export type PermissionsListForResourceNextResponse = PermissionGetResult;
|
|
109
|
+
|
|
110
|
+
// @public
|
|
111
|
+
export interface PermissionsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// @public
|
|
115
|
+
export type PermissionsListForResourceResponse = PermissionGetResult;
|
|
116
|
+
|
|
117
|
+
// @public
|
|
118
|
+
export interface ProviderOperation {
|
|
119
|
+
description?: string;
|
|
120
|
+
displayName?: string;
|
|
121
|
+
name?: string;
|
|
122
|
+
origin?: string;
|
|
123
|
+
properties?: Record<string, unknown>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// @public
|
|
127
|
+
export interface ProviderOperationsMetadata {
|
|
128
|
+
displayName?: string;
|
|
129
|
+
id?: string;
|
|
130
|
+
name?: string;
|
|
131
|
+
operations?: ProviderOperation[];
|
|
132
|
+
resourceTypes?: ResourceType[];
|
|
133
|
+
type?: string;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// @public
|
|
137
|
+
export interface ProviderOperationsMetadataGetOptionalParams extends coreClient.OperationOptions {
|
|
138
|
+
expand?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// @public
|
|
142
|
+
export type ProviderOperationsMetadataGetResponse = ProviderOperationsMetadata;
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export interface ProviderOperationsMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// @public
|
|
149
|
+
export type ProviderOperationsMetadataListNextResponse = ProviderOperationsMetadataListResult;
|
|
150
|
+
|
|
151
|
+
// @public
|
|
152
|
+
export interface ProviderOperationsMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
153
|
+
expand?: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// @public
|
|
157
|
+
export type ProviderOperationsMetadataListResponse = ProviderOperationsMetadataListResult;
|
|
158
|
+
|
|
159
|
+
// @public
|
|
160
|
+
export interface ProviderOperationsMetadataListResult {
|
|
161
|
+
nextLink?: string;
|
|
162
|
+
value?: ProviderOperationsMetadata[];
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// @public
|
|
166
|
+
export interface ProviderOperationsMetadataOperations {
|
|
167
|
+
get(resourceProviderNamespace: string, options?: ProviderOperationsMetadataGetOptionalParams): Promise<ProviderOperationsMetadataGetResponse>;
|
|
168
|
+
list(options?: ProviderOperationsMetadataListOptionalParams): PagedAsyncIterableIterator<ProviderOperationsMetadata>;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// @public
|
|
172
|
+
export interface ResourceType {
|
|
173
|
+
displayName?: string;
|
|
174
|
+
name?: string;
|
|
175
|
+
operations?: ProviderOperation[];
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// @public
|
|
179
|
+
export interface RoleAssignment {
|
|
180
|
+
readonly id?: string;
|
|
181
|
+
readonly name?: string;
|
|
182
|
+
properties?: RoleAssignmentPropertiesWithScope;
|
|
183
|
+
readonly type?: string;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// @public
|
|
187
|
+
export interface RoleAssignmentCreateParameters {
|
|
188
|
+
properties: RoleAssignmentProperties;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export interface RoleAssignmentFilter {
|
|
193
|
+
principalId?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// @public
|
|
197
|
+
export interface RoleAssignmentListResult {
|
|
198
|
+
nextLink?: string;
|
|
199
|
+
value?: RoleAssignment[];
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// @public
|
|
203
|
+
export interface RoleAssignmentProperties {
|
|
204
|
+
principalId: string;
|
|
205
|
+
roleDefinitionId: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// @public
|
|
209
|
+
export interface RoleAssignmentPropertiesWithScope {
|
|
210
|
+
principalId?: string;
|
|
211
|
+
roleDefinitionId?: string;
|
|
212
|
+
scope?: string;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// @public
|
|
216
|
+
export interface RoleAssignments {
|
|
217
|
+
create(scope: string, roleAssignmentName: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateOptionalParams): Promise<RoleAssignmentsCreateResponse>;
|
|
218
|
+
createById(roleAssignmentId: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateByIdOptionalParams): Promise<RoleAssignmentsCreateByIdResponse>;
|
|
219
|
+
delete(scope: string, roleAssignmentName: string, options?: RoleAssignmentsDeleteOptionalParams): Promise<RoleAssignmentsDeleteResponse>;
|
|
220
|
+
deleteById(roleAssignmentId: string, options?: RoleAssignmentsDeleteByIdOptionalParams): Promise<RoleAssignmentsDeleteByIdResponse>;
|
|
221
|
+
get(scope: string, roleAssignmentName: string, options?: RoleAssignmentsGetOptionalParams): Promise<RoleAssignmentsGetResponse>;
|
|
222
|
+
getById(roleAssignmentId: string, options?: RoleAssignmentsGetByIdOptionalParams): Promise<RoleAssignmentsGetByIdResponse>;
|
|
223
|
+
list(options?: RoleAssignmentsListOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
224
|
+
listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: RoleAssignmentsListForResourceOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
225
|
+
listForResourceGroup(resourceGroupName: string, options?: RoleAssignmentsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
226
|
+
listForScope(scope: string, options?: RoleAssignmentsListForScopeOptionalParams): PagedAsyncIterableIterator<RoleAssignment>;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// @public
|
|
230
|
+
export interface RoleAssignmentsCreateByIdOptionalParams extends coreClient.OperationOptions {
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// @public
|
|
234
|
+
export type RoleAssignmentsCreateByIdResponse = RoleAssignment;
|
|
235
|
+
|
|
236
|
+
// @public
|
|
237
|
+
export interface RoleAssignmentsCreateOptionalParams extends coreClient.OperationOptions {
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// @public
|
|
241
|
+
export type RoleAssignmentsCreateResponse = RoleAssignment;
|
|
242
|
+
|
|
243
|
+
// @public
|
|
244
|
+
export interface RoleAssignmentsDeleteByIdOptionalParams extends coreClient.OperationOptions {
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// @public
|
|
248
|
+
export type RoleAssignmentsDeleteByIdResponse = RoleAssignment;
|
|
249
|
+
|
|
250
|
+
// @public
|
|
251
|
+
export interface RoleAssignmentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// @public
|
|
255
|
+
export type RoleAssignmentsDeleteResponse = RoleAssignment;
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export interface RoleAssignmentsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// @public
|
|
262
|
+
export type RoleAssignmentsGetByIdResponse = RoleAssignment;
|
|
263
|
+
|
|
264
|
+
// @public
|
|
265
|
+
export interface RoleAssignmentsGetOptionalParams extends coreClient.OperationOptions {
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export type RoleAssignmentsGetResponse = RoleAssignment;
|
|
270
|
+
|
|
271
|
+
// @public
|
|
272
|
+
export interface RoleAssignmentsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// @public
|
|
276
|
+
export type RoleAssignmentsListForResourceGroupNextResponse = RoleAssignmentListResult;
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export interface RoleAssignmentsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
280
|
+
filter?: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// @public
|
|
284
|
+
export type RoleAssignmentsListForResourceGroupResponse = RoleAssignmentListResult;
|
|
285
|
+
|
|
286
|
+
// @public
|
|
287
|
+
export interface RoleAssignmentsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// @public
|
|
291
|
+
export type RoleAssignmentsListForResourceNextResponse = RoleAssignmentListResult;
|
|
292
|
+
|
|
293
|
+
// @public
|
|
294
|
+
export interface RoleAssignmentsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
295
|
+
filter?: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// @public
|
|
299
|
+
export type RoleAssignmentsListForResourceResponse = RoleAssignmentListResult;
|
|
300
|
+
|
|
301
|
+
// @public
|
|
302
|
+
export interface RoleAssignmentsListForScopeNextOptionalParams extends coreClient.OperationOptions {
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// @public
|
|
306
|
+
export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult;
|
|
307
|
+
|
|
308
|
+
// @public
|
|
309
|
+
export interface RoleAssignmentsListForScopeOptionalParams extends coreClient.OperationOptions {
|
|
310
|
+
filter?: string;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// @public
|
|
314
|
+
export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult;
|
|
315
|
+
|
|
316
|
+
// @public
|
|
317
|
+
export interface RoleAssignmentsListNextOptionalParams extends coreClient.OperationOptions {
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// @public
|
|
321
|
+
export type RoleAssignmentsListNextResponse = RoleAssignmentListResult;
|
|
322
|
+
|
|
323
|
+
// @public
|
|
324
|
+
export interface RoleAssignmentsListOptionalParams extends coreClient.OperationOptions {
|
|
325
|
+
filter?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
// @public
|
|
329
|
+
export type RoleAssignmentsListResponse = RoleAssignmentListResult;
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export interface RoleDefinition {
|
|
333
|
+
assignableScopes?: string[];
|
|
334
|
+
description?: string;
|
|
335
|
+
readonly id?: string;
|
|
336
|
+
readonly name?: string;
|
|
337
|
+
permissions?: Permission[];
|
|
338
|
+
roleName?: string;
|
|
339
|
+
roleType?: string;
|
|
340
|
+
readonly type?: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// @public
|
|
344
|
+
export interface RoleDefinitionFilter {
|
|
345
|
+
roleName?: string;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// @public
|
|
349
|
+
export interface RoleDefinitionListResult {
|
|
350
|
+
nextLink?: string;
|
|
351
|
+
value?: RoleDefinition[];
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// @public
|
|
355
|
+
export interface RoleDefinitions {
|
|
356
|
+
createOrUpdate(scope: string, roleDefinitionId: string, roleDefinition: RoleDefinition, options?: RoleDefinitionsCreateOrUpdateOptionalParams): Promise<RoleDefinitionsCreateOrUpdateResponse>;
|
|
357
|
+
delete(scope: string, roleDefinitionId: string, options?: RoleDefinitionsDeleteOptionalParams): Promise<RoleDefinitionsDeleteResponse>;
|
|
358
|
+
get(scope: string, roleDefinitionId: string, options?: RoleDefinitionsGetOptionalParams): Promise<RoleDefinitionsGetResponse>;
|
|
359
|
+
getById(roleDefinitionId: string, options?: RoleDefinitionsGetByIdOptionalParams): Promise<RoleDefinitionsGetByIdResponse>;
|
|
360
|
+
list(scope: string, options?: RoleDefinitionsListOptionalParams): PagedAsyncIterableIterator<RoleDefinition>;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
// @public
|
|
364
|
+
export interface RoleDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// @public
|
|
368
|
+
export type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition;
|
|
369
|
+
|
|
370
|
+
// @public
|
|
371
|
+
export interface RoleDefinitionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
// @public
|
|
375
|
+
export type RoleDefinitionsDeleteResponse = RoleDefinition;
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface RoleDefinitionsGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// @public
|
|
382
|
+
export type RoleDefinitionsGetByIdResponse = RoleDefinition;
|
|
383
|
+
|
|
384
|
+
// @public
|
|
385
|
+
export interface RoleDefinitionsGetOptionalParams extends coreClient.OperationOptions {
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// @public
|
|
389
|
+
export type RoleDefinitionsGetResponse = RoleDefinition;
|
|
390
|
+
|
|
391
|
+
// @public
|
|
392
|
+
export interface RoleDefinitionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// @public
|
|
396
|
+
export type RoleDefinitionsListNextResponse = RoleDefinitionListResult;
|
|
397
|
+
|
|
398
|
+
// @public
|
|
399
|
+
export interface RoleDefinitionsListOptionalParams extends coreClient.OperationOptions {
|
|
400
|
+
filter?: string;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// @public
|
|
404
|
+
export type RoleDefinitionsListResponse = RoleDefinitionListResult;
|
|
405
|
+
|
|
406
|
+
// (No @packageDocumentation comment for this package)
|
|
407
|
+
|
|
408
|
+
```
|