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