@azure/arm-dashboard 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 (105) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1372 -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/grafanaCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/grafanaCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/grafanaCreateSample.js +38 -0
  11. package/dist-esm/samples-dev/grafanaCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/grafanaDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/grafanaDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/grafanaDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/grafanaDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/grafanaGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/grafanaGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/grafanaGetSample.js +31 -0
  19. package/dist-esm/samples-dev/grafanaGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/grafanaListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/grafanaListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/grafanaListByResourceGroupSample.js +44 -0
  23. package/dist-esm/samples-dev/grafanaListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/grafanaListSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/grafanaListSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/grafanaListSample.js +43 -0
  27. package/dist-esm/samples-dev/grafanaListSample.js.map +1 -0
  28. package/dist-esm/samples-dev/grafanaUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/grafanaUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/grafanaUpdateSample.js +34 -0
  31. package/dist-esm/samples-dev/grafanaUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  35. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  36. package/dist-esm/src/dashboardManagementClient.d.ts +20 -0
  37. package/dist-esm/src/dashboardManagementClient.d.ts.map +1 -0
  38. package/dist-esm/src/dashboardManagementClient.js +71 -0
  39. package/dist-esm/src/dashboardManagementClient.js.map +1 -0
  40. package/dist-esm/src/index.d.ts +5 -0
  41. package/dist-esm/src/index.d.ts.map +1 -0
  42. package/dist-esm/src/index.js +12 -0
  43. package/dist-esm/src/index.js.map +1 -0
  44. package/dist-esm/src/lroImpl.d.ts +16 -0
  45. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  46. package/dist-esm/src/lroImpl.js +29 -0
  47. package/dist-esm/src/lroImpl.js.map +1 -0
  48. package/dist-esm/src/models/index.d.ts +414 -0
  49. package/dist-esm/src/models/index.d.ts.map +1 -0
  50. package/dist-esm/src/models/index.js +66 -0
  51. package/dist-esm/src/models/index.js.map +1 -0
  52. package/dist-esm/src/models/mappers.d.ts +16 -0
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  54. package/dist-esm/src/models/mappers.js +485 -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 +108 -0
  59. package/dist-esm/src/models/parameters.js.map +1 -0
  60. package/dist-esm/src/operations/grafana.d.ts +101 -0
  61. package/dist-esm/src/operations/grafana.d.ts.map +1 -0
  62. package/dist-esm/src/operations/grafana.js +458 -0
  63. package/dist-esm/src/operations/grafana.js.map +1 -0
  64. package/dist-esm/src/operations/index.d.ts +3 -0
  65. package/dist-esm/src/operations/index.d.ts.map +1 -0
  66. package/dist-esm/src/operations/index.js +10 -0
  67. package/dist-esm/src/operations/index.js.map +1 -0
  68. package/dist-esm/src/operations/operations.d.ts +32 -0
  69. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/operations.js +120 -0
  71. package/dist-esm/src/operations/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/grafana.d.ts +65 -0
  73. package/dist-esm/src/operationsInterfaces/grafana.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/grafana.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/grafana.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  77. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  79. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +2 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +40 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +118 -0
  89. package/review/arm-dashboard.api.md +355 -0
  90. package/rollup.config.js +122 -0
  91. package/src/dashboardManagementClient.ts +103 -0
  92. package/src/index.ts +12 -0
  93. package/src/lroImpl.ts +34 -0
  94. package/src/models/index.ts +467 -0
  95. package/src/models/mappers.ts +500 -0
  96. package/src/models/parameters.ts +126 -0
  97. package/src/operations/grafana.ts +595 -0
  98. package/src/operations/index.ts +10 -0
  99. package/src/operations/operations.ts +137 -0
  100. package/src/operationsInterfaces/grafana.ts +120 -0
  101. package/src/operationsInterfaces/index.ts +10 -0
  102. package/src/operationsInterfaces/operations.ts +22 -0
  103. package/tsconfig.json +33 -0
  104. package/types/arm-dashboard.d.ts +556 -0
  105. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,556 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for ActionType. \
9
+ * {@link KnownActionType} can be used interchangeably with ActionType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Internal**
13
+ */
14
+ export declare type ActionType = string;
15
+
16
+ /**
17
+ * Defines values for AutoGeneratedDomainNameLabelScope. \
18
+ * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
19
+ * this enum contains the known values that the service supports.
20
+ * ### Known values supported by the service
21
+ * **TenantReuse**
22
+ */
23
+ export declare type AutoGeneratedDomainNameLabelScope = string;
24
+
25
+ /**
26
+ * Defines values for CreatedByType. \
27
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
28
+ * this enum contains the known values that the service supports.
29
+ * ### Known values supported by the service
30
+ * **User** \
31
+ * **Application** \
32
+ * **ManagedIdentity** \
33
+ * **Key**
34
+ */
35
+ export declare type CreatedByType = string;
36
+
37
+ export declare class DashboardManagementClient extends coreClient.ServiceClient {
38
+ $host: string;
39
+ apiVersion: string;
40
+ subscriptionId: string;
41
+ /**
42
+ * Initializes a new instance of the DashboardManagementClient class.
43
+ * @param credentials Subscription credentials which uniquely identify client subscription.
44
+ * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
45
+ * subscription. The subscription ID forms part of the URI for every service call.
46
+ * @param options The parameter options
47
+ */
48
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DashboardManagementClientOptionalParams);
49
+ operations: Operations;
50
+ grafana: Grafana;
51
+ }
52
+
53
+ /** Optional parameters. */
54
+ export declare interface DashboardManagementClientOptionalParams extends coreClient.ServiceClientOptions {
55
+ /** server parameter */
56
+ $host?: string;
57
+ /** Api Version */
58
+ apiVersion?: string;
59
+ /** Overrides client endpoint. */
60
+ endpoint?: string;
61
+ }
62
+
63
+ /** The resource management error additional info. */
64
+ export declare interface ErrorAdditionalInfo {
65
+ /**
66
+ * The additional info type.
67
+ * NOTE: This property will not be serialized. It can only be populated by the server.
68
+ */
69
+ readonly type?: string;
70
+ /**
71
+ * The additional info.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly info?: Record<string, unknown>;
75
+ }
76
+
77
+ /** The error detail. */
78
+ export declare interface ErrorDetail {
79
+ /**
80
+ * The error code.
81
+ * NOTE: This property will not be serialized. It can only be populated by the server.
82
+ */
83
+ readonly code?: string;
84
+ /**
85
+ * The error message.
86
+ * NOTE: This property will not be serialized. It can only be populated by the server.
87
+ */
88
+ readonly message?: string;
89
+ /**
90
+ * The error target.
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
+ */
93
+ readonly target?: string;
94
+ /**
95
+ * The error details.
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
97
+ */
98
+ readonly details?: ErrorDetail[];
99
+ /**
100
+ * The error additional info.
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
102
+ */
103
+ readonly additionalInfo?: ErrorAdditionalInfo[];
104
+ }
105
+
106
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
107
+ export declare interface ErrorResponse {
108
+ /** The error object. */
109
+ error?: ErrorDetail;
110
+ }
111
+
112
+ /** Interface representing a Grafana. */
113
+ export declare interface Grafana {
114
+ /**
115
+ * List all resources of workspaces for Grafana under the specified subscription.
116
+ * @param options The options parameters.
117
+ */
118
+ list(options?: GrafanaListOptionalParams): PagedAsyncIterableIterator<ManagedGrafana>;
119
+ /**
120
+ * List all resources of workspaces for Grafana under the specified resource group.
121
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
122
+ * @param options The options parameters.
123
+ */
124
+ listByResourceGroup(resourceGroupName: string, options?: GrafanaListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedGrafana>;
125
+ /**
126
+ * Get the properties of a specific workspace for Grafana resource.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
+ * @param workspaceName The workspace name of Azure Managed Grafana.
129
+ * @param options The options parameters.
130
+ */
131
+ get(resourceGroupName: string, workspaceName: string, options?: GrafanaGetOptionalParams): Promise<GrafanaGetResponse>;
132
+ /**
133
+ * Create or update a workspace for Grafana resource. This API is idempotent, so user can either create
134
+ * a new grafana or update an existing grafana.
135
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
+ * @param workspaceName The workspace name of Azure Managed Grafana.
137
+ * @param requestBodyParameters The grafana resource type.
138
+ * @param options The options parameters.
139
+ */
140
+ beginCreate(resourceGroupName: string, workspaceName: string, requestBodyParameters: ManagedGrafana, options?: GrafanaCreateOptionalParams): Promise<PollerLike<PollOperationState<GrafanaCreateResponse>, GrafanaCreateResponse>>;
141
+ /**
142
+ * Create or update a workspace for Grafana resource. This API is idempotent, so user can either create
143
+ * a new grafana or update an existing grafana.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param workspaceName The workspace name of Azure Managed Grafana.
146
+ * @param requestBodyParameters The grafana resource type.
147
+ * @param options The options parameters.
148
+ */
149
+ beginCreateAndWait(resourceGroupName: string, workspaceName: string, requestBodyParameters: ManagedGrafana, options?: GrafanaCreateOptionalParams): Promise<GrafanaCreateResponse>;
150
+ /**
151
+ * Update a workspace for Grafana resource.
152
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
153
+ * @param workspaceName The workspace name of Azure Managed Grafana.
154
+ * @param requestBodyParameters The parameters for a PATCH request to a grafana resource.
155
+ * @param options The options parameters.
156
+ */
157
+ update(resourceGroupName: string, workspaceName: string, requestBodyParameters: ManagedGrafanaUpdateParameters, options?: GrafanaUpdateOptionalParams): Promise<GrafanaUpdateResponse>;
158
+ /**
159
+ * Delete a workspace for Grafana resource.
160
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
161
+ * @param workspaceName The workspace name of Azure Managed Grafana.
162
+ * @param options The options parameters.
163
+ */
164
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: GrafanaDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
165
+ /**
166
+ * Delete a workspace for Grafana resource.
167
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
168
+ * @param workspaceName The workspace name of Azure Managed Grafana.
169
+ * @param options The options parameters.
170
+ */
171
+ beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: GrafanaDeleteOptionalParams): Promise<void>;
172
+ }
173
+
174
+ /** Optional parameters. */
175
+ export declare interface GrafanaCreateOptionalParams extends coreClient.OperationOptions {
176
+ /** Delay to wait until next poll, in milliseconds. */
177
+ updateIntervalInMs?: number;
178
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
179
+ resumeFrom?: string;
180
+ }
181
+
182
+ /** Contains response data for the create operation. */
183
+ export declare type GrafanaCreateResponse = ManagedGrafana;
184
+
185
+ /** Optional parameters. */
186
+ export declare interface GrafanaDeleteOptionalParams extends coreClient.OperationOptions {
187
+ /** Delay to wait until next poll, in milliseconds. */
188
+ updateIntervalInMs?: number;
189
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
190
+ resumeFrom?: string;
191
+ }
192
+
193
+ /** Optional parameters. */
194
+ export declare interface GrafanaGetOptionalParams extends coreClient.OperationOptions {
195
+ }
196
+
197
+ /** Contains response data for the get operation. */
198
+ export declare type GrafanaGetResponse = ManagedGrafana;
199
+
200
+ /** Optional parameters. */
201
+ export declare interface GrafanaListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
202
+ }
203
+
204
+ /** Contains response data for the listByResourceGroupNext operation. */
205
+ export declare type GrafanaListByResourceGroupNextResponse = ManagedGrafanaListResponse;
206
+
207
+ /** Optional parameters. */
208
+ export declare interface GrafanaListByResourceGroupOptionalParams extends coreClient.OperationOptions {
209
+ }
210
+
211
+ /** Contains response data for the listByResourceGroup operation. */
212
+ export declare type GrafanaListByResourceGroupResponse = ManagedGrafanaListResponse;
213
+
214
+ /** Optional parameters. */
215
+ export declare interface GrafanaListNextOptionalParams extends coreClient.OperationOptions {
216
+ }
217
+
218
+ /** Contains response data for the listNext operation. */
219
+ export declare type GrafanaListNextResponse = ManagedGrafanaListResponse;
220
+
221
+ /** Optional parameters. */
222
+ export declare interface GrafanaListOptionalParams extends coreClient.OperationOptions {
223
+ }
224
+
225
+ /** Contains response data for the list operation. */
226
+ export declare type GrafanaListResponse = ManagedGrafanaListResponse;
227
+
228
+ /** Optional parameters. */
229
+ export declare interface GrafanaUpdateOptionalParams extends coreClient.OperationOptions {
230
+ }
231
+
232
+ /** Contains response data for the update operation. */
233
+ export declare type GrafanaUpdateResponse = ManagedGrafana;
234
+
235
+ /**
236
+ * Defines values for IdentityType. \
237
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
238
+ * this enum contains the known values that the service supports.
239
+ * ### Known values supported by the service
240
+ * **None** \
241
+ * **SystemAssigned**
242
+ */
243
+ export declare type IdentityType = string;
244
+
245
+ /** Known values of {@link ActionType} that the service accepts. */
246
+ export declare enum KnownActionType {
247
+ Internal = "Internal"
248
+ }
249
+
250
+ /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
251
+ export declare enum KnownAutoGeneratedDomainNameLabelScope {
252
+ TenantReuse = "TenantReuse"
253
+ }
254
+
255
+ /** Known values of {@link CreatedByType} that the service accepts. */
256
+ export declare enum KnownCreatedByType {
257
+ User = "User",
258
+ Application = "Application",
259
+ ManagedIdentity = "ManagedIdentity",
260
+ Key = "Key"
261
+ }
262
+
263
+ /** Known values of {@link IdentityType} that the service accepts. */
264
+ export declare enum KnownIdentityType {
265
+ None = "None",
266
+ SystemAssigned = "SystemAssigned"
267
+ }
268
+
269
+ /** Known values of {@link LastModifiedByType} that the service accepts. */
270
+ export declare enum KnownLastModifiedByType {
271
+ User = "User",
272
+ Application = "Application",
273
+ ManagedIdentity = "ManagedIdentity",
274
+ Key = "Key"
275
+ }
276
+
277
+ /** Known values of {@link Origin} that the service accepts. */
278
+ export declare enum KnownOrigin {
279
+ User = "user",
280
+ System = "system",
281
+ UserSystem = "user,system"
282
+ }
283
+
284
+ /** Known values of {@link ProvisioningState} that the service accepts. */
285
+ export declare enum KnownProvisioningState {
286
+ Accepted = "Accepted",
287
+ Creating = "Creating",
288
+ Updating = "Updating",
289
+ Deleting = "Deleting",
290
+ Succeeded = "Succeeded",
291
+ Failed = "Failed",
292
+ Canceled = "Canceled",
293
+ Deleted = "Deleted",
294
+ NotSpecified = "NotSpecified"
295
+ }
296
+
297
+ /** Known values of {@link ZoneRedundancy} that the service accepts. */
298
+ export declare enum KnownZoneRedundancy {
299
+ Disabled = "Disabled",
300
+ Enabled = "Enabled"
301
+ }
302
+
303
+ /**
304
+ * Defines values for LastModifiedByType. \
305
+ * {@link KnownLastModifiedByType} can be used interchangeably with LastModifiedByType,
306
+ * this enum contains the known values that the service supports.
307
+ * ### Known values supported by the service
308
+ * **User** \
309
+ * **Application** \
310
+ * **ManagedIdentity** \
311
+ * **Key**
312
+ */
313
+ export declare type LastModifiedByType = string;
314
+
315
+ /** The grafana resource type. */
316
+ export declare interface ManagedGrafana {
317
+ /**
318
+ * ARM id of the grafana resource
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
+ */
321
+ readonly id?: string;
322
+ /**
323
+ * Name of the grafana resource.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly name?: string;
327
+ /**
328
+ * The type of the grafana resource.
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly type?: string;
332
+ /** The Sku of the grafana resource. */
333
+ sku?: ResourceSku;
334
+ /** Properties specific to the grafana resource. */
335
+ properties?: ManagedGrafanaProperties;
336
+ /** The managed identity of the grafana resource. */
337
+ identity?: ManagedIdentity;
338
+ /**
339
+ * The system meta data relating to this grafana resource.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly systemData?: SystemData;
343
+ /** The tags for grafana resource. */
344
+ tags?: {
345
+ [propertyName: string]: string;
346
+ };
347
+ /** The geo-location where the grafana resource lives */
348
+ location?: string;
349
+ }
350
+
351
+ export declare interface ManagedGrafanaListResponse {
352
+ value?: ManagedGrafana[];
353
+ nextLink?: string;
354
+ }
355
+
356
+ /** Properties specific to the grafana resource. */
357
+ export declare interface ManagedGrafanaProperties {
358
+ /** Provisioning state of the resource. */
359
+ provisioningState?: ProvisioningState;
360
+ /**
361
+ * The Grafana software version.
362
+ * NOTE: This property will not be serialized. It can only be populated by the server.
363
+ */
364
+ readonly grafanaVersion?: string;
365
+ /**
366
+ * The endpoint of the Grafana instance.
367
+ * NOTE: This property will not be serialized. It can only be populated by the server.
368
+ */
369
+ readonly endpoint?: string;
370
+ zoneRedundancy?: ZoneRedundancy;
371
+ autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
372
+ }
373
+
374
+ /** The parameters for a PATCH request to a grafana resource. */
375
+ export declare interface ManagedGrafanaUpdateParameters {
376
+ /** The managed identity of the grafana resource. */
377
+ identity?: ManagedIdentity;
378
+ /** The new tags of the grafana resource. */
379
+ tags?: {
380
+ [propertyName: string]: string;
381
+ };
382
+ }
383
+
384
+ /** The managed identity of a resource. */
385
+ export declare interface ManagedIdentity {
386
+ /** The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. */
387
+ type?: IdentityType;
388
+ /**
389
+ * The principal id of the system assigned identity.
390
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
+ */
392
+ readonly principalId?: string;
393
+ /**
394
+ * The tenant id of the system assigned identity.
395
+ * NOTE: This property will not be serialized. It can only be populated by the server.
396
+ */
397
+ readonly tenantId?: string;
398
+ /** Dictionary of user assigned identities. */
399
+ userAssignedIdentities?: {
400
+ [propertyName: string]: UserAssignedIdentity;
401
+ };
402
+ }
403
+
404
+ /** Localized display information for this particular operation. */
405
+ export declare interface OperationDisplay {
406
+ /**
407
+ * The localized friendly form of the resource provider name, i.e., Microsoft.Dashboard.
408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
409
+ */
410
+ readonly provider?: string;
411
+ /**
412
+ * The localized friendly name of the resource type related to this operation, e.g., 'grafana'.
413
+ * NOTE: This property will not be serialized. It can only be populated by the server.
414
+ */
415
+ readonly resource?: string;
416
+ /**
417
+ * Operation type, e.g., read, write, delete, etc.
418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
419
+ */
420
+ readonly operation?: string;
421
+ /**
422
+ * Description of the operation, e.g., 'Read grafana'.
423
+ * NOTE: This property will not be serialized. It can only be populated by the server.
424
+ */
425
+ readonly description?: string;
426
+ }
427
+
428
+ /** A list of REST API operations supported by Microsoft.Dashboard provider. It contains an URL link to get the next set of results. */
429
+ export declare interface OperationListResult {
430
+ /**
431
+ * List of operations supported by the Microsoft.Dashboard provider.
432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
433
+ */
434
+ readonly value?: OperationResult[];
435
+ /**
436
+ * URL to get the next set of operation list results if there are any.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
+ */
439
+ readonly nextLink?: string;
440
+ }
441
+
442
+ /** A Microsoft.Dashboard REST API operation. */
443
+ export declare interface OperationResult {
444
+ /**
445
+ * Operation name, i.e., {provider}/{resource}/{operation}.
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
447
+ */
448
+ readonly name?: string;
449
+ /**
450
+ * Indicates whether the operation applies to data-plane. Set "true" for data-plane operations and "false" for ARM/control-plane operations.
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
452
+ */
453
+ readonly isDataAction?: boolean;
454
+ /** Localized display information for this particular operation. */
455
+ display?: OperationDisplay;
456
+ /**
457
+ * The intended executor of the operation.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly origin?: Origin;
461
+ /**
462
+ * Indicates the action type. "Internal" refers to actions that are for internal only APIs.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly actionType?: ActionType;
466
+ }
467
+
468
+ /** Interface representing a Operations. */
469
+ export declare interface Operations {
470
+ /**
471
+ * List all available API operations provided by Microsoft.Dashboard.
472
+ * @param options The options parameters.
473
+ */
474
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationResult>;
475
+ }
476
+
477
+ /** Optional parameters. */
478
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
479
+ }
480
+
481
+ /** Contains response data for the listNext operation. */
482
+ export declare type OperationsListNextResponse = OperationListResult;
483
+
484
+ /** Optional parameters. */
485
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
486
+ }
487
+
488
+ /** Contains response data for the list operation. */
489
+ export declare type OperationsListResponse = OperationListResult;
490
+
491
+ /**
492
+ * Defines values for Origin. \
493
+ * {@link KnownOrigin} can be used interchangeably with Origin,
494
+ * this enum contains the known values that the service supports.
495
+ * ### Known values supported by the service
496
+ * **user** \
497
+ * **system** \
498
+ * **user,system**
499
+ */
500
+ export declare type Origin = string;
501
+
502
+ /**
503
+ * Defines values for ProvisioningState. \
504
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
505
+ * this enum contains the known values that the service supports.
506
+ * ### Known values supported by the service
507
+ * **Accepted** \
508
+ * **Creating** \
509
+ * **Updating** \
510
+ * **Deleting** \
511
+ * **Succeeded** \
512
+ * **Failed** \
513
+ * **Canceled** \
514
+ * **Deleted** \
515
+ * **NotSpecified**
516
+ */
517
+ export declare type ProvisioningState = string;
518
+
519
+ export declare interface ResourceSku {
520
+ name: string;
521
+ }
522
+
523
+ export declare interface SystemData {
524
+ createdBy?: string;
525
+ /** The type of identity that created the resource. */
526
+ createdByType?: CreatedByType;
527
+ createdAt?: Date;
528
+ lastModifiedBy?: string;
529
+ lastModifiedByType?: LastModifiedByType;
530
+ lastModifiedAt?: Date;
531
+ }
532
+
533
+ export declare interface UserAssignedIdentity {
534
+ /**
535
+ * The principal id of user assigned identity.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly principalId?: string;
539
+ /**
540
+ * The client id of user assigned identity.
541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
+ */
543
+ readonly clientId?: string;
544
+ }
545
+
546
+ /**
547
+ * Defines values for ZoneRedundancy. \
548
+ * {@link KnownZoneRedundancy} can be used interchangeably with ZoneRedundancy,
549
+ * this enum contains the known values that the service supports.
550
+ * ### Known values supported by the service
551
+ * **Disabled** \
552
+ * **Enabled**
553
+ */
554
+ export declare type ZoneRedundancy = string;
555
+
556
+ 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.19.4"
9
+ }
10
+ ]
11
+ }