@azure/arm-graphservices 1.0.0-beta.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1313 -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/dist-esm/samples-dev/accountCreateAndUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/accountCreateAndUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accountCreateAndUpdateSample.js +43 -0
  11. package/dist-esm/samples-dev/accountCreateAndUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/accountDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/accountDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/accountDeleteSample.js +39 -0
  15. package/dist-esm/samples-dev/accountDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/accountGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/accountGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/accountGetSample.js +39 -0
  19. package/dist-esm/samples-dev/accountGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/accountUpdateSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/accountUpdateSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/accountUpdateSample.js +42 -0
  23. package/dist-esm/samples-dev/accountUpdateSample.js.map +1 -0
  24. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +52 -0
  27. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +51 -0
  31. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/operationListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/operationListSample.js +51 -0
  35. package/dist-esm/samples-dev/operationListSample.js.map +1 -0
  36. package/dist-esm/src/graphServices.d.ts +22 -0
  37. package/dist-esm/src/graphServices.d.ts.map +1 -0
  38. package/dist-esm/src/graphServices.js +102 -0
  39. package/dist-esm/src/graphServices.js.map +1 -0
  40. package/dist-esm/src/index.d.ts +6 -0
  41. package/dist-esm/src/index.d.ts.map +1 -0
  42. package/dist-esm/src/index.js +13 -0
  43. package/dist-esm/src/index.js.map +1 -0
  44. package/dist-esm/src/lroImpl.d.ts +11 -0
  45. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  46. package/dist-esm/src/lroImpl.js +21 -0
  47. package/dist-esm/src/lroImpl.js.map +1 -0
  48. package/dist-esm/src/models/index.d.ts +320 -0
  49. package/dist-esm/src/models/index.d.ts.map +1 -0
  50. package/dist-esm/src/models/index.js +46 -0
  51. package/dist-esm/src/models/index.js.map +1 -0
  52. package/dist-esm/src/models/mappers.d.ts +15 -0
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  54. package/dist-esm/src/models/mappers.js +384 -0
  55. package/dist-esm/src/models/mappers.js.map +1 -0
  56. package/dist-esm/src/models/parameters.d.ts +12 -0
  57. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  58. package/dist-esm/src/models/parameters.js +109 -0
  59. package/dist-esm/src/models/parameters.js.map +1 -0
  60. package/dist-esm/src/operations/account.d.ts +52 -0
  61. package/dist-esm/src/operations/account.d.ts.map +1 -0
  62. package/dist-esm/src/operations/account.js +208 -0
  63. package/dist-esm/src/operations/account.js.map +1 -0
  64. package/dist-esm/src/operations/accounts.d.ts +53 -0
  65. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  66. package/dist-esm/src/operations/accounts.js +252 -0
  67. package/dist-esm/src/operations/accounts.js.map +1 -0
  68. package/dist-esm/src/operations/index.d.ts +4 -0
  69. package/dist-esm/src/operations/index.d.ts.map +1 -0
  70. package/dist-esm/src/operations/index.js +11 -0
  71. package/dist-esm/src/operations/index.js.map +1 -0
  72. package/dist-esm/src/operations/operationOperations.d.ts +32 -0
  73. package/dist-esm/src/operations/operationOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operationOperations.js +131 -0
  75. package/dist-esm/src/operations/operationOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/account.d.ts +44 -0
  77. package/dist-esm/src/operationsInterfaces/account.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/account.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/account.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/accounts.d.ts +17 -0
  81. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  85. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  87. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/operationOperations.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/operationOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/operationOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/operationOperations.js.map +1 -0
  92. package/dist-esm/src/pagingHelper.d.ts +13 -0
  93. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  94. package/dist-esm/src/pagingHelper.js +32 -0
  95. package/dist-esm/src/pagingHelper.js.map +1 -0
  96. package/dist-esm/test/graphservices_operations_test.spec.d.ts +4 -0
  97. package/dist-esm/test/graphservices_operations_test.spec.d.ts.map +1 -0
  98. package/dist-esm/test/graphservices_operations_test.spec.js +55 -0
  99. package/dist-esm/test/graphservices_operations_test.spec.js.map +1 -0
  100. package/package.json +123 -0
  101. package/review/arm-graphservices.api.md +262 -0
  102. package/rollup.config.js +122 -0
  103. package/src/graphServices.ts +148 -0
  104. package/src/index.ts +13 -0
  105. package/src/lroImpl.ts +42 -0
  106. package/src/models/index.ts +364 -0
  107. package/src/models/mappers.ts +408 -0
  108. package/src/models/parameters.ts +127 -0
  109. package/src/operations/account.ts +295 -0
  110. package/src/operations/accounts.ts +303 -0
  111. package/src/operations/index.ts +11 -0
  112. package/src/operations/operationOperations.ts +149 -0
  113. package/src/operationsInterfaces/account.ts +90 -0
  114. package/src/operationsInterfaces/accounts.ts +35 -0
  115. package/src/operationsInterfaces/index.ts +11 -0
  116. package/src/operationsInterfaces/operationOperations.ts +22 -0
  117. package/src/pagingHelper.ts +39 -0
  118. package/tsconfig.json +33 -0
  119. package/types/arm-graphservices.d.ts +459 -0
  120. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,459 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
4
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
+
7
+ /** Interface representing a Account. */
8
+ export declare interface Account {
9
+ /**
10
+ * Returns account resource for a given name.
11
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
12
+ * @param resourceName The name of the resource.
13
+ * @param options The options parameters.
14
+ */
15
+ get(resourceGroupName: string, resourceName: string, options?: AccountGetOptionalParams): Promise<AccountGetResponse>;
16
+ /**
17
+ * Create or update account resource.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param resourceName The name of the resource.
20
+ * @param accountResource Account details.
21
+ * @param options The options parameters.
22
+ */
23
+ beginCreateAndUpdate(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccountCreateAndUpdateResponse>, AccountCreateAndUpdateResponse>>;
24
+ /**
25
+ * Create or update account resource.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param resourceName The name of the resource.
28
+ * @param accountResource Account details.
29
+ * @param options The options parameters.
30
+ */
31
+ beginCreateAndUpdateAndWait(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountCreateAndUpdateOptionalParams): Promise<AccountCreateAndUpdateResponse>;
32
+ /**
33
+ * Update account details.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param resourceName The name of the resource.
36
+ * @param accountResource Account patch details.
37
+ * @param options The options parameters.
38
+ */
39
+ update(resourceGroupName: string, resourceName: string, accountResource: AccountPatchResource, options?: AccountUpdateOptionalParams): Promise<AccountUpdateResponse>;
40
+ /**
41
+ * Deletes a account resource.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param resourceName The name of the resource.
44
+ * @param options The options parameters.
45
+ */
46
+ delete(resourceGroupName: string, resourceName: string, options?: AccountDeleteOptionalParams): Promise<void>;
47
+ }
48
+
49
+ /** Optional parameters. */
50
+ export declare interface AccountCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
51
+ /** Delay to wait until next poll, in milliseconds. */
52
+ updateIntervalInMs?: number;
53
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
54
+ resumeFrom?: string;
55
+ }
56
+
57
+ /** Contains response data for the createAndUpdate operation. */
58
+ export declare type AccountCreateAndUpdateResponse = AccountResource;
59
+
60
+ /** Optional parameters. */
61
+ export declare interface AccountDeleteOptionalParams extends coreClient.OperationOptions {
62
+ }
63
+
64
+ /** Optional parameters. */
65
+ export declare interface AccountGetOptionalParams extends coreClient.OperationOptions {
66
+ }
67
+
68
+ /** Contains response data for the get operation. */
69
+ export declare type AccountGetResponse = AccountResource;
70
+
71
+ /** Account patch properties */
72
+ export declare interface AccountPatchResource extends TagUpdate {
73
+ }
74
+
75
+ /** Account details */
76
+ export declare interface AccountResource extends Resource {
77
+ /**
78
+ * Metadata pertaining to creation and last modification of the resource.
79
+ * NOTE: This property will not be serialized. It can only be populated by the server.
80
+ */
81
+ readonly systemData?: AccountResourceSystemData;
82
+ /** Property bag from billing account */
83
+ properties: AccountResourceProperties;
84
+ }
85
+
86
+ /** The list of accounts. */
87
+ export declare interface AccountResourceList {
88
+ /** The link to the next page of items */
89
+ nextLink?: string;
90
+ /** The list of recommendations. */
91
+ value?: AccountResource[];
92
+ }
93
+
94
+ /** Property bag from billing account */
95
+ export declare interface AccountResourceProperties {
96
+ /**
97
+ * Provisioning state.
98
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
+ */
100
+ readonly provisioningState?: ProvisioningState;
101
+ /** Customer owned application ID */
102
+ appId: string;
103
+ /**
104
+ * Billing Plan Id
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly billingPlanId?: string;
108
+ }
109
+
110
+ /** Metadata pertaining to creation and last modification of the resource. */
111
+ export declare interface AccountResourceSystemData {
112
+ /** The type of identity that created the resource. */
113
+ createdByType?: CreatedByType;
114
+ /** The timestamp of resource creation (UTC). */
115
+ createdAt?: Date;
116
+ /** The type of identity that last modified the resource. */
117
+ lastModifiedByType?: CreatedByType;
118
+ /** The timestamp of resource last modification (UTC) */
119
+ lastModifiedAt?: Date;
120
+ }
121
+
122
+ /** Interface representing a Accounts. */
123
+ export declare interface Accounts {
124
+ /**
125
+ * Returns list of accounts apps.
126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
127
+ * @param options The options parameters.
128
+ */
129
+ listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AccountResource>;
130
+ /**
131
+ * Returns list of accounts belonging to a subscription.
132
+ * @param options The options parameters.
133
+ */
134
+ listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AccountResource>;
135
+ }
136
+
137
+ /** Optional parameters. */
138
+ export declare interface AccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
139
+ }
140
+
141
+ /** Contains response data for the listByResourceGroupNext operation. */
142
+ export declare type AccountsListByResourceGroupNextResponse = AccountResourceList;
143
+
144
+ /** Optional parameters. */
145
+ export declare interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
146
+ }
147
+
148
+ /** Contains response data for the listByResourceGroup operation. */
149
+ export declare type AccountsListByResourceGroupResponse = AccountResourceList;
150
+
151
+ /** Optional parameters. */
152
+ export declare interface AccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
153
+ }
154
+
155
+ /** Contains response data for the listBySubscriptionNext operation. */
156
+ export declare type AccountsListBySubscriptionNextResponse = AccountResourceList;
157
+
158
+ /** Optional parameters. */
159
+ export declare interface AccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
160
+ }
161
+
162
+ /** Contains response data for the listBySubscription operation. */
163
+ export declare type AccountsListBySubscriptionResponse = AccountResourceList;
164
+
165
+ /** Optional parameters. */
166
+ export declare interface AccountUpdateOptionalParams extends coreClient.OperationOptions {
167
+ }
168
+
169
+ /** Contains response data for the update operation. */
170
+ export declare type AccountUpdateResponse = AccountResource;
171
+
172
+ /**
173
+ * Defines values for ActionType. \
174
+ * {@link KnownActionType} can be used interchangeably with ActionType,
175
+ * this enum contains the known values that the service supports.
176
+ * ### Known values supported by the service
177
+ * **Internal**
178
+ */
179
+ export declare type ActionType = string;
180
+
181
+ /**
182
+ * Defines values for CreatedByType. \
183
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
184
+ * this enum contains the known values that the service supports.
185
+ * ### Known values supported by the service
186
+ * **User** \
187
+ * **Application** \
188
+ * **ManagedIdentity** \
189
+ * **Key**
190
+ */
191
+ export declare type CreatedByType = string;
192
+
193
+ /** The resource management error additional info. */
194
+ export declare interface ErrorAdditionalInfo {
195
+ /**
196
+ * The additional info type.
197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
198
+ */
199
+ readonly type?: string;
200
+ /**
201
+ * The additional info.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly info?: Record<string, unknown>;
205
+ }
206
+
207
+ /** The error detail. */
208
+ export declare interface ErrorDetail {
209
+ /**
210
+ * The error code.
211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
+ */
213
+ readonly code?: string;
214
+ /**
215
+ * The error message.
216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
+ */
218
+ readonly message?: string;
219
+ /**
220
+ * The error target.
221
+ * NOTE: This property will not be serialized. It can only be populated by the server.
222
+ */
223
+ readonly target?: string;
224
+ /**
225
+ * The error details.
226
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
+ */
228
+ readonly details?: ErrorDetail[];
229
+ /**
230
+ * The error additional info.
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
+ */
233
+ readonly additionalInfo?: ErrorAdditionalInfo[];
234
+ }
235
+
236
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
237
+ export declare interface ErrorResponse {
238
+ /** The error object. */
239
+ error?: ErrorDetail;
240
+ }
241
+
242
+ /**
243
+ * Given the last `.value` produced by the `byPage` iterator,
244
+ * returns a continuation token that can be used to begin paging from
245
+ * that point later.
246
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
247
+ * @returns The continuation token that can be passed into byPage() during future calls.
248
+ */
249
+ export declare function getContinuationToken(page: unknown): string | undefined;
250
+
251
+ export declare class GraphServices extends coreClient.ServiceClient {
252
+ $host: string;
253
+ apiVersion: string;
254
+ subscriptionId: string;
255
+ /**
256
+ * Initializes a new instance of the GraphServices class.
257
+ * @param credentials Subscription credentials which uniquely identify client subscription.
258
+ * @param subscriptionId The ID of the target subscription.
259
+ * @param options The parameter options
260
+ */
261
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: GraphServicesOptionalParams);
262
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
263
+ private addCustomApiVersionPolicy;
264
+ accounts: Accounts;
265
+ account: Account;
266
+ operationOperations: OperationOperations;
267
+ }
268
+
269
+ /** Optional parameters. */
270
+ export declare interface GraphServicesOptionalParams extends coreClient.ServiceClientOptions {
271
+ /** server parameter */
272
+ $host?: string;
273
+ /** Api Version */
274
+ apiVersion?: string;
275
+ /** Overrides client endpoint. */
276
+ endpoint?: string;
277
+ }
278
+
279
+ /** Known values of {@link ActionType} that the service accepts. */
280
+ export declare enum KnownActionType {
281
+ /** Internal */
282
+ Internal = "Internal"
283
+ }
284
+
285
+ /** Known values of {@link CreatedByType} that the service accepts. */
286
+ export declare enum KnownCreatedByType {
287
+ /** User */
288
+ User = "User",
289
+ /** Application */
290
+ Application = "Application",
291
+ /** ManagedIdentity */
292
+ ManagedIdentity = "ManagedIdentity",
293
+ /** Key */
294
+ Key = "Key"
295
+ }
296
+
297
+ /** Known values of {@link Origin} that the service accepts. */
298
+ export declare enum KnownOrigin {
299
+ /** User */
300
+ User = "user",
301
+ /** System */
302
+ System = "system",
303
+ /** UserSystem */
304
+ UserSystem = "user,system"
305
+ }
306
+
307
+ /** Known values of {@link ProvisioningState} that the service accepts. */
308
+ export declare enum KnownProvisioningState {
309
+ /** Succeeded */
310
+ Succeeded = "Succeeded",
311
+ /** Failed */
312
+ Failed = "Failed",
313
+ /** Canceled */
314
+ Canceled = "Canceled"
315
+ }
316
+
317
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
318
+ export declare interface Operation {
319
+ /**
320
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
321
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
+ */
323
+ readonly name?: string;
324
+ /**
325
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
326
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
+ */
328
+ readonly isDataAction?: boolean;
329
+ /** Localized display information for this particular operation. */
330
+ display?: OperationDisplay;
331
+ /**
332
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
334
+ */
335
+ readonly origin?: Origin;
336
+ /**
337
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
339
+ */
340
+ readonly actionType?: ActionType;
341
+ }
342
+
343
+ /** Localized display information for this particular operation. */
344
+ export declare interface OperationDisplay {
345
+ /**
346
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
347
+ * NOTE: This property will not be serialized. It can only be populated by the server.
348
+ */
349
+ readonly provider?: string;
350
+ /**
351
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
352
+ * NOTE: This property will not be serialized. It can only be populated by the server.
353
+ */
354
+ readonly resource?: string;
355
+ /**
356
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
357
+ * NOTE: This property will not be serialized. It can only be populated by the server.
358
+ */
359
+ readonly operation?: string;
360
+ /**
361
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
362
+ * NOTE: This property will not be serialized. It can only be populated by the server.
363
+ */
364
+ readonly description?: string;
365
+ }
366
+
367
+ /** Optional parameters. */
368
+ export declare interface OperationListNextOptionalParams extends coreClient.OperationOptions {
369
+ }
370
+
371
+ /** Contains response data for the listNext operation. */
372
+ export declare type OperationListNextResponse = OperationListResult;
373
+
374
+ /** Optional parameters. */
375
+ export declare interface OperationListOptionalParams extends coreClient.OperationOptions {
376
+ }
377
+
378
+ /** Contains response data for the list operation. */
379
+ export declare type OperationListResponse = OperationListResult;
380
+
381
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
382
+ export declare interface OperationListResult {
383
+ /**
384
+ * List of operations supported by the resource provider
385
+ * NOTE: This property will not be serialized. It can only be populated by the server.
386
+ */
387
+ readonly value?: Operation[];
388
+ /**
389
+ * URL to get the next set of operation list results (if there are any).
390
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
+ */
392
+ readonly nextLink?: string;
393
+ }
394
+
395
+ /** Interface representing a OperationOperations. */
396
+ export declare interface OperationOperations {
397
+ /**
398
+ * Returns list of operations.
399
+ * @param options The options parameters.
400
+ */
401
+ list(options?: OperationListOptionalParams): PagedAsyncIterableIterator<Operation>;
402
+ }
403
+
404
+ /**
405
+ * Defines values for Origin. \
406
+ * {@link KnownOrigin} can be used interchangeably with Origin,
407
+ * this enum contains the known values that the service supports.
408
+ * ### Known values supported by the service
409
+ * **user** \
410
+ * **system** \
411
+ * **user,system**
412
+ */
413
+ export declare type Origin = string;
414
+
415
+ /**
416
+ * Defines values for ProvisioningState. \
417
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
418
+ * this enum contains the known values that the service supports.
419
+ * ### Known values supported by the service
420
+ * **Succeeded** \
421
+ * **Failed** \
422
+ * **Canceled**
423
+ */
424
+ export declare type ProvisioningState = string;
425
+
426
+ /** An Azure resource. */
427
+ export declare interface Resource {
428
+ /**
429
+ * Azure resource ID.
430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
431
+ */
432
+ readonly id?: string;
433
+ /**
434
+ * Azure resource name.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
436
+ */
437
+ readonly name?: string;
438
+ /**
439
+ * Azure resource type.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
441
+ */
442
+ readonly type?: string;
443
+ /** Location of the resource. */
444
+ location?: string;
445
+ /** resource tags. */
446
+ tags?: {
447
+ [propertyName: string]: string;
448
+ };
449
+ }
450
+
451
+ /** Request payload used to update an existing resource's tags. */
452
+ export declare interface TagUpdate {
453
+ /** List of key value pairs that describe the resource. This will overwrite the existing tags. */
454
+ tags?: {
455
+ [propertyName: string]: string;
456
+ };
457
+ }
458
+
459
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.34.4"
9
+ }
10
+ ]
11
+ }