@azure/arm-selfhelp 1.0.0-alpha.20230428.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 +108 -0
- package/dist/index.js +1434 -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/diagnosticsCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.js +66 -0
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +37 -0
- package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticsGetSample.js +37 -0
- package/dist-esm/samples-dev/diagnosticsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionListSample.js +57 -0
- package/dist-esm/samples-dev/discoverySolutionListSample.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 +56 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/src/helpRP.d.ts +20 -0
- package/dist-esm/src/helpRP.d.ts.map +1 -0
- package/dist-esm/src/helpRP.js +96 -0
- package/dist-esm/src/helpRP.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +435 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +72 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +20 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +585 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +117 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/diagnostics.d.ts +53 -0
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -0
- package/dist-esm/src/operations/diagnostics.js +180 -0
- package/dist-esm/src/operations/diagnostics.js.map +1 -0
- package/dist-esm/src/operations/discoverySolution.d.ts +50 -0
- package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolution.js +160 -0
- package/dist-esm/src/operations/discoverySolution.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -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 +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/diagnostics.js +9 -0
- package/dist-esm/src/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolution.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolution.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -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/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/selfhelp_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/selfhelp_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/selfhelp_operations_test.spec.js +62 -0
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-selfhelp.api.md +310 -0
- package/rollup.config.js +122 -0
- package/src/helpRP.ts +144 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +485 -0
- package/src/models/mappers.ts +619 -0
- package/src/models/parameters.ts +136 -0
- package/src/operations/diagnostics.ts +249 -0
- package/src/operations/discoverySolution.ts +179 -0
- package/src/operations/index.ts +11 -0
- package/src/operations/operations.ts +149 -0
- package/src/operationsInterfaces/diagnostics.ts +80 -0
- package/src/operationsInterfaces/discoverySolution.ts +34 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-selfhelp.d.ts +579 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
3
|
+
export interface OperationListResult {
|
|
4
|
+
/**
|
|
5
|
+
* List of operations supported by the resource provider
|
|
6
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
7
|
+
*/
|
|
8
|
+
readonly value?: Operation[];
|
|
9
|
+
/**
|
|
10
|
+
* URL to get the next set of operation list results (if there are any).
|
|
11
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
12
|
+
*/
|
|
13
|
+
readonly nextLink?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
16
|
+
export interface Operation {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
19
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
20
|
+
*/
|
|
21
|
+
readonly name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
24
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
25
|
+
*/
|
|
26
|
+
readonly isDataAction?: boolean;
|
|
27
|
+
/** Localized display information for this particular operation. */
|
|
28
|
+
display?: OperationDisplay;
|
|
29
|
+
/**
|
|
30
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
31
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
32
|
+
*/
|
|
33
|
+
readonly origin?: Origin;
|
|
34
|
+
/**
|
|
35
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
36
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
37
|
+
*/
|
|
38
|
+
readonly actionType?: ActionType;
|
|
39
|
+
}
|
|
40
|
+
/** Localized display information for this particular operation. */
|
|
41
|
+
export interface OperationDisplay {
|
|
42
|
+
/**
|
|
43
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
44
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
45
|
+
*/
|
|
46
|
+
readonly provider?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
49
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
50
|
+
*/
|
|
51
|
+
readonly resource?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
54
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
55
|
+
*/
|
|
56
|
+
readonly operation?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
59
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
60
|
+
*/
|
|
61
|
+
readonly description?: string;
|
|
62
|
+
}
|
|
63
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
64
|
+
export interface ErrorResponse {
|
|
65
|
+
/** The error object. */
|
|
66
|
+
error?: ErrorDetail;
|
|
67
|
+
}
|
|
68
|
+
/** The error detail. */
|
|
69
|
+
export interface ErrorDetail {
|
|
70
|
+
/**
|
|
71
|
+
* The error code.
|
|
72
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
|
+
*/
|
|
74
|
+
readonly code?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The error message.
|
|
77
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
78
|
+
*/
|
|
79
|
+
readonly message?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The error target.
|
|
82
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
83
|
+
*/
|
|
84
|
+
readonly target?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The error details.
|
|
87
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
88
|
+
*/
|
|
89
|
+
readonly details?: ErrorDetail[];
|
|
90
|
+
/**
|
|
91
|
+
* The error additional info.
|
|
92
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
|
+
*/
|
|
94
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
95
|
+
}
|
|
96
|
+
/** The resource management error additional info. */
|
|
97
|
+
export interface ErrorAdditionalInfo {
|
|
98
|
+
/**
|
|
99
|
+
* The additional info type.
|
|
100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
101
|
+
*/
|
|
102
|
+
readonly type?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The additional info.
|
|
105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
106
|
+
*/
|
|
107
|
+
readonly info?: Record<string, unknown>;
|
|
108
|
+
}
|
|
109
|
+
/** The check availability request body. */
|
|
110
|
+
export interface CheckNameAvailabilityRequest {
|
|
111
|
+
/** The name of the resource for which availability needs to be checked. */
|
|
112
|
+
name?: string;
|
|
113
|
+
/** The resource type. */
|
|
114
|
+
type?: string;
|
|
115
|
+
}
|
|
116
|
+
/** Response for whether the requested resource name is available or not. */
|
|
117
|
+
export interface CheckNameAvailabilityResponse {
|
|
118
|
+
/** Returns true or false depending on the availability of the name */
|
|
119
|
+
nameAvailable?: boolean;
|
|
120
|
+
/** Reason for why value is not available. This field is returned if nameAvailable is false. */
|
|
121
|
+
reason?: string;
|
|
122
|
+
/** Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false. */
|
|
123
|
+
message?: string;
|
|
124
|
+
}
|
|
125
|
+
/** Solution Invocation with additional params needed for invocation. */
|
|
126
|
+
export interface DiagnosticInvocation {
|
|
127
|
+
/** Solution Id to invoke. */
|
|
128
|
+
solutionId?: string;
|
|
129
|
+
/** Additional parameters required to invoke the solutionId. */
|
|
130
|
+
additionalParameters?: {
|
|
131
|
+
[propertyName: string]: string;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
/** Properties returned with in an insight. */
|
|
135
|
+
export interface Diagnostic {
|
|
136
|
+
/** Solution Id */
|
|
137
|
+
solutionId?: string;
|
|
138
|
+
/** Denotes the status of the diagnostic resource. */
|
|
139
|
+
status?: Status;
|
|
140
|
+
/** The problems (if any) detected by this insight. */
|
|
141
|
+
insights?: Insight[];
|
|
142
|
+
/** Error definition. */
|
|
143
|
+
error?: ErrorModel;
|
|
144
|
+
}
|
|
145
|
+
/** Detailed insights(s) obtained via the invocation of an insight diagnostic troubleshooter. */
|
|
146
|
+
export interface Insight {
|
|
147
|
+
/** Article id. */
|
|
148
|
+
id?: string;
|
|
149
|
+
/** This insight's title. */
|
|
150
|
+
title?: string;
|
|
151
|
+
/** Detailed result content. */
|
|
152
|
+
results?: string;
|
|
153
|
+
/** Importance level of the insight. */
|
|
154
|
+
importanceLevel?: ImportanceLevel;
|
|
155
|
+
}
|
|
156
|
+
/** Error definition. */
|
|
157
|
+
export interface ErrorModel {
|
|
158
|
+
/**
|
|
159
|
+
* Service specific error code which serves as the substatus for the HTTP error code.
|
|
160
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
161
|
+
*/
|
|
162
|
+
readonly code?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Service specific error type which serves as additional context for the error herein.
|
|
165
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
166
|
+
*/
|
|
167
|
+
readonly type?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Description of the error.
|
|
170
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
171
|
+
*/
|
|
172
|
+
readonly message?: string;
|
|
173
|
+
/** An array of additional nested error response info objects, as described by this contract. */
|
|
174
|
+
details?: ErrorModel[];
|
|
175
|
+
}
|
|
176
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
177
|
+
export interface Resource {
|
|
178
|
+
/**
|
|
179
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
180
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
181
|
+
*/
|
|
182
|
+
readonly id?: string;
|
|
183
|
+
/**
|
|
184
|
+
* The name of the resource
|
|
185
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
186
|
+
*/
|
|
187
|
+
readonly name?: string;
|
|
188
|
+
/**
|
|
189
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
190
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
191
|
+
*/
|
|
192
|
+
readonly type?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
195
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
196
|
+
*/
|
|
197
|
+
readonly systemData?: SystemData;
|
|
198
|
+
}
|
|
199
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
200
|
+
export interface SystemData {
|
|
201
|
+
/** The identity that created the resource. */
|
|
202
|
+
createdBy?: string;
|
|
203
|
+
/** The type of identity that created the resource. */
|
|
204
|
+
createdByType?: CreatedByType;
|
|
205
|
+
/** The timestamp of resource creation (UTC). */
|
|
206
|
+
createdAt?: Date;
|
|
207
|
+
/** The identity that last modified the resource. */
|
|
208
|
+
lastModifiedBy?: string;
|
|
209
|
+
/** The type of identity that last modified the resource. */
|
|
210
|
+
lastModifiedByType?: CreatedByType;
|
|
211
|
+
/** The timestamp of resource last modification (UTC) */
|
|
212
|
+
lastModifiedAt?: Date;
|
|
213
|
+
}
|
|
214
|
+
/** Discovery response. */
|
|
215
|
+
export interface DiscoveryResponse {
|
|
216
|
+
/** The list of solution metadata. */
|
|
217
|
+
value?: SolutionMetadataResource[];
|
|
218
|
+
/** The link used to get the next page of solution metadata. */
|
|
219
|
+
nextLink?: string;
|
|
220
|
+
}
|
|
221
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
222
|
+
export interface ProxyResource extends Resource {
|
|
223
|
+
}
|
|
224
|
+
/** Diagnostic resource */
|
|
225
|
+
export interface DiagnosticResource extends ProxyResource {
|
|
226
|
+
/** Global parameters that can be passed to all solutionIds. */
|
|
227
|
+
globalParameters?: {
|
|
228
|
+
[propertyName: string]: string;
|
|
229
|
+
};
|
|
230
|
+
/** SolutionIds that are needed to be invoked. */
|
|
231
|
+
insights?: DiagnosticInvocation[];
|
|
232
|
+
/**
|
|
233
|
+
* Diagnostic Request Accepted time.
|
|
234
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
235
|
+
*/
|
|
236
|
+
readonly acceptedAt?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Status of diagnostic provisioning.
|
|
239
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
240
|
+
*/
|
|
241
|
+
readonly provisioningState?: ProvisioningState;
|
|
242
|
+
/**
|
|
243
|
+
* Array of Diagnostics.
|
|
244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
245
|
+
*/
|
|
246
|
+
readonly diagnostics?: Diagnostic[];
|
|
247
|
+
}
|
|
248
|
+
/** Solution Metadata resource */
|
|
249
|
+
export interface SolutionMetadataResource extends ProxyResource {
|
|
250
|
+
/** Solution Id. */
|
|
251
|
+
solutionId?: string;
|
|
252
|
+
/** Solution Type. */
|
|
253
|
+
solutionType?: string;
|
|
254
|
+
/** A detailed description of solution. */
|
|
255
|
+
description?: string;
|
|
256
|
+
/** Required parameters for invoking this particular solution. */
|
|
257
|
+
requiredParameterSets?: string[][];
|
|
258
|
+
}
|
|
259
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
260
|
+
export declare enum KnownOrigin {
|
|
261
|
+
/** User */
|
|
262
|
+
User = "user",
|
|
263
|
+
/** System */
|
|
264
|
+
System = "system",
|
|
265
|
+
/** UserSystem */
|
|
266
|
+
UserSystem = "user,system"
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Defines values for Origin. \
|
|
270
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
271
|
+
* this enum contains the known values that the service supports.
|
|
272
|
+
* ### Known values supported by the service
|
|
273
|
+
* **user** \
|
|
274
|
+
* **system** \
|
|
275
|
+
* **user,system**
|
|
276
|
+
*/
|
|
277
|
+
export type Origin = string;
|
|
278
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
279
|
+
export declare enum KnownActionType {
|
|
280
|
+
/** Internal */
|
|
281
|
+
Internal = "Internal"
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Defines values for ActionType. \
|
|
285
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
286
|
+
* this enum contains the known values that the service supports.
|
|
287
|
+
* ### Known values supported by the service
|
|
288
|
+
* **Internal**
|
|
289
|
+
*/
|
|
290
|
+
export type ActionType = string;
|
|
291
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
292
|
+
export declare enum KnownProvisioningState {
|
|
293
|
+
/** All Diagnostics in the Batch succeeded. */
|
|
294
|
+
Succeeded = "Succeeded",
|
|
295
|
+
/** Some Diagnostics are still running or failed. */
|
|
296
|
+
PartialComplete = "PartialComplete",
|
|
297
|
+
/** All Diagnostics failed to run. */
|
|
298
|
+
Failed = "Failed",
|
|
299
|
+
/** When Diagnostic request gets canceled. */
|
|
300
|
+
Canceled = "Canceled"
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Defines values for ProvisioningState. \
|
|
304
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
305
|
+
* this enum contains the known values that the service supports.
|
|
306
|
+
* ### Known values supported by the service
|
|
307
|
+
* **Succeeded**: All Diagnostics in the Batch succeeded. \
|
|
308
|
+
* **PartialComplete**: Some Diagnostics are still running or failed. \
|
|
309
|
+
* **Failed**: All Diagnostics failed to run. \
|
|
310
|
+
* **Canceled**: When Diagnostic request gets canceled.
|
|
311
|
+
*/
|
|
312
|
+
export type ProvisioningState = string;
|
|
313
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
314
|
+
export declare enum KnownStatus {
|
|
315
|
+
/** Diagnostic creation failed. */
|
|
316
|
+
Failed = "Failed",
|
|
317
|
+
/** Request is missing required inputs to run. */
|
|
318
|
+
MissingInputs = "MissingInputs",
|
|
319
|
+
/** Diagnostic is still running. */
|
|
320
|
+
Running = "Running",
|
|
321
|
+
/** Diagnostic creation succeeded. */
|
|
322
|
+
Succeeded = "Succeeded",
|
|
323
|
+
/** Diagnostic was timed out. */
|
|
324
|
+
Timeout = "Timeout"
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Defines values for Status. \
|
|
328
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
329
|
+
* this enum contains the known values that the service supports.
|
|
330
|
+
* ### Known values supported by the service
|
|
331
|
+
* **Failed**: Diagnostic creation failed. \
|
|
332
|
+
* **MissingInputs**: Request is missing required inputs to run. \
|
|
333
|
+
* **Running**: Diagnostic is still running. \
|
|
334
|
+
* **Succeeded**: Diagnostic creation succeeded. \
|
|
335
|
+
* **Timeout**: Diagnostic was timed out.
|
|
336
|
+
*/
|
|
337
|
+
export type Status = string;
|
|
338
|
+
/** Known values of {@link ImportanceLevel} that the service accepts. */
|
|
339
|
+
export declare enum KnownImportanceLevel {
|
|
340
|
+
/** A critical insight has been found after running the diagnostic. */
|
|
341
|
+
Critical = "Critical",
|
|
342
|
+
/** A warning insight has been found after running the diagnostic. */
|
|
343
|
+
Warning = "Warning",
|
|
344
|
+
/** An information insight has been found after running the diagnostic. */
|
|
345
|
+
Information = "Information"
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Defines values for ImportanceLevel. \
|
|
349
|
+
* {@link KnownImportanceLevel} can be used interchangeably with ImportanceLevel,
|
|
350
|
+
* this enum contains the known values that the service supports.
|
|
351
|
+
* ### Known values supported by the service
|
|
352
|
+
* **Critical**: A critical insight has been found after running the diagnostic. \
|
|
353
|
+
* **Warning**: A warning insight has been found after running the diagnostic. \
|
|
354
|
+
* **Information**: An information insight has been found after running the diagnostic.
|
|
355
|
+
*/
|
|
356
|
+
export type ImportanceLevel = string;
|
|
357
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
358
|
+
export declare enum KnownCreatedByType {
|
|
359
|
+
/** User */
|
|
360
|
+
User = "User",
|
|
361
|
+
/** Application */
|
|
362
|
+
Application = "Application",
|
|
363
|
+
/** ManagedIdentity */
|
|
364
|
+
ManagedIdentity = "ManagedIdentity",
|
|
365
|
+
/** Key */
|
|
366
|
+
Key = "Key"
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Defines values for CreatedByType. \
|
|
370
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
371
|
+
* this enum contains the known values that the service supports.
|
|
372
|
+
* ### Known values supported by the service
|
|
373
|
+
* **User** \
|
|
374
|
+
* **Application** \
|
|
375
|
+
* **ManagedIdentity** \
|
|
376
|
+
* **Key**
|
|
377
|
+
*/
|
|
378
|
+
export type CreatedByType = string;
|
|
379
|
+
/** Optional parameters. */
|
|
380
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
381
|
+
}
|
|
382
|
+
/** Contains response data for the list operation. */
|
|
383
|
+
export type OperationsListResponse = OperationListResult;
|
|
384
|
+
/** Optional parameters. */
|
|
385
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
386
|
+
}
|
|
387
|
+
/** Contains response data for the listNext operation. */
|
|
388
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
389
|
+
/** Optional parameters. */
|
|
390
|
+
export interface DiagnosticsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
391
|
+
/** The required parameters for availability check. */
|
|
392
|
+
checkNameAvailabilityRequest?: CheckNameAvailabilityRequest;
|
|
393
|
+
}
|
|
394
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
395
|
+
export type DiagnosticsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
|
|
396
|
+
/** Optional parameters. */
|
|
397
|
+
export interface DiagnosticsCreateOptionalParams extends coreClient.OperationOptions {
|
|
398
|
+
/** The required request body for this insightResource invocation. */
|
|
399
|
+
diagnosticResourceRequest?: DiagnosticResource;
|
|
400
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
401
|
+
updateIntervalInMs?: number;
|
|
402
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
403
|
+
resumeFrom?: string;
|
|
404
|
+
}
|
|
405
|
+
/** Contains response data for the create operation. */
|
|
406
|
+
export type DiagnosticsCreateResponse = DiagnosticResource;
|
|
407
|
+
/** Optional parameters. */
|
|
408
|
+
export interface DiagnosticsGetOptionalParams extends coreClient.OperationOptions {
|
|
409
|
+
}
|
|
410
|
+
/** Contains response data for the get operation. */
|
|
411
|
+
export type DiagnosticsGetResponse = DiagnosticResource;
|
|
412
|
+
/** Optional parameters. */
|
|
413
|
+
export interface DiscoverySolutionListOptionalParams extends coreClient.OperationOptions {
|
|
414
|
+
/** Can be used to filter solutionIds by 'ProblemClassificationId'. The filter supports only 'and' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e' and ProblemClassificationId eq '0a9673c2-7af6-4e19-90d3-4ee2461076d9'. */
|
|
415
|
+
filter?: string;
|
|
416
|
+
/** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. */
|
|
417
|
+
skiptoken?: string;
|
|
418
|
+
}
|
|
419
|
+
/** Contains response data for the list operation. */
|
|
420
|
+
export type DiscoverySolutionListResponse = DiscoveryResponse;
|
|
421
|
+
/** Optional parameters. */
|
|
422
|
+
export interface DiscoverySolutionListNextOptionalParams extends coreClient.OperationOptions {
|
|
423
|
+
}
|
|
424
|
+
/** Contains response data for the listNext operation. */
|
|
425
|
+
export type DiscoverySolutionListNextResponse = DiscoveryResponse;
|
|
426
|
+
/** Optional parameters. */
|
|
427
|
+
export interface HelpRPOptionalParams extends coreClient.ServiceClientOptions {
|
|
428
|
+
/** server parameter */
|
|
429
|
+
$host?: string;
|
|
430
|
+
/** Api Version */
|
|
431
|
+
apiVersion?: string;
|
|
432
|
+
/** Overrides client endpoint. */
|
|
433
|
+
endpoint?: string;
|
|
434
|
+
}
|
|
435
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,qIAAqI;AACrI,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,0FAA0F;AAC1F,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CA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f,SAAQ,UAAU,CAAC,gBAAgB;IACnC,mRAAmR;IACnR,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sQAAsQ;IACtQ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qDAAqD;AACrD,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;AAE9D,2BAA2B;AAC3B,MAAM,WAAW,uCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,yDAAyD;AACzD,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC;AAElE,2BAA2B;AAC3B,MAAM,WAAW,oBAAqB,SAAQ,UAAU,CAAC,oBAAoB;IAC3E,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
9
|
+
export var KnownOrigin;
|
|
10
|
+
(function (KnownOrigin) {
|
|
11
|
+
/** User */
|
|
12
|
+
KnownOrigin["User"] = "user";
|
|
13
|
+
/** System */
|
|
14
|
+
KnownOrigin["System"] = "system";
|
|
15
|
+
/** UserSystem */
|
|
16
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
17
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
18
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
19
|
+
export var KnownActionType;
|
|
20
|
+
(function (KnownActionType) {
|
|
21
|
+
/** Internal */
|
|
22
|
+
KnownActionType["Internal"] = "Internal";
|
|
23
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
24
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
25
|
+
export var KnownProvisioningState;
|
|
26
|
+
(function (KnownProvisioningState) {
|
|
27
|
+
/** All Diagnostics in the Batch succeeded. */
|
|
28
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
29
|
+
/** Some Diagnostics are still running or failed. */
|
|
30
|
+
KnownProvisioningState["PartialComplete"] = "PartialComplete";
|
|
31
|
+
/** All Diagnostics failed to run. */
|
|
32
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
33
|
+
/** When Diagnostic request gets canceled. */
|
|
34
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
35
|
+
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
36
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
37
|
+
export var KnownStatus;
|
|
38
|
+
(function (KnownStatus) {
|
|
39
|
+
/** Diagnostic creation failed. */
|
|
40
|
+
KnownStatus["Failed"] = "Failed";
|
|
41
|
+
/** Request is missing required inputs to run. */
|
|
42
|
+
KnownStatus["MissingInputs"] = "MissingInputs";
|
|
43
|
+
/** Diagnostic is still running. */
|
|
44
|
+
KnownStatus["Running"] = "Running";
|
|
45
|
+
/** Diagnostic creation succeeded. */
|
|
46
|
+
KnownStatus["Succeeded"] = "Succeeded";
|
|
47
|
+
/** Diagnostic was timed out. */
|
|
48
|
+
KnownStatus["Timeout"] = "Timeout";
|
|
49
|
+
})(KnownStatus || (KnownStatus = {}));
|
|
50
|
+
/** Known values of {@link ImportanceLevel} that the service accepts. */
|
|
51
|
+
export var KnownImportanceLevel;
|
|
52
|
+
(function (KnownImportanceLevel) {
|
|
53
|
+
/** A critical insight has been found after running the diagnostic. */
|
|
54
|
+
KnownImportanceLevel["Critical"] = "Critical";
|
|
55
|
+
/** A warning insight has been found after running the diagnostic. */
|
|
56
|
+
KnownImportanceLevel["Warning"] = "Warning";
|
|
57
|
+
/** An information insight has been found after running the diagnostic. */
|
|
58
|
+
KnownImportanceLevel["Information"] = "Information";
|
|
59
|
+
})(KnownImportanceLevel || (KnownImportanceLevel = {}));
|
|
60
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
61
|
+
export var KnownCreatedByType;
|
|
62
|
+
(function (KnownCreatedByType) {
|
|
63
|
+
/** User */
|
|
64
|
+
KnownCreatedByType["User"] = "User";
|
|
65
|
+
/** Application */
|
|
66
|
+
KnownCreatedByType["Application"] = "Application";
|
|
67
|
+
/** ManagedIdentity */
|
|
68
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
69
|
+
/** Key */
|
|
70
|
+
KnownCreatedByType["Key"] = "Key";
|
|
71
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkRH,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,iBAAiB;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,8CAA8C;IAC9C,iDAAuB,CAAA;IACvB,oDAAoD;IACpD,6DAAmC,CAAA;IACnC,qCAAqC;IACrC,2CAAiB,CAAA;IACjB,6CAA6C;IAC7C,+CAAqB,CAAA;AACvB,CAAC,EATW,sBAAsB,KAAtB,sBAAsB,QASjC;AAcD,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,kCAAkC;IAClC,gCAAiB,CAAA;IACjB,iDAAiD;IACjD,8CAA+B,CAAA;IAC/B,mCAAmC;IACnC,kCAAmB,CAAA;IACnB,qCAAqC;IACrC,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,kCAAmB,CAAA;AACrB,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;AAeD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,sEAAsE;IACtE,6CAAqB,CAAA;IACrB,qEAAqE;IACrE,2CAAmB,CAAA;IACnB,0EAA0E;IAC1E,mDAA2B,CAAA;AAC7B,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAaD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const OperationListResult: coreClient.CompositeMapper;
|
|
3
|
+
export declare const Operation: coreClient.CompositeMapper;
|
|
4
|
+
export declare const OperationDisplay: coreClient.CompositeMapper;
|
|
5
|
+
export declare const ErrorResponse: coreClient.CompositeMapper;
|
|
6
|
+
export declare const ErrorDetail: coreClient.CompositeMapper;
|
|
7
|
+
export declare const ErrorAdditionalInfo: coreClient.CompositeMapper;
|
|
8
|
+
export declare const CheckNameAvailabilityRequest: coreClient.CompositeMapper;
|
|
9
|
+
export declare const CheckNameAvailabilityResponse: coreClient.CompositeMapper;
|
|
10
|
+
export declare const DiagnosticInvocation: coreClient.CompositeMapper;
|
|
11
|
+
export declare const Diagnostic: coreClient.CompositeMapper;
|
|
12
|
+
export declare const Insight: coreClient.CompositeMapper;
|
|
13
|
+
export declare const ErrorModel: coreClient.CompositeMapper;
|
|
14
|
+
export declare const Resource: coreClient.CompositeMapper;
|
|
15
|
+
export declare const SystemData: coreClient.CompositeMapper;
|
|
16
|
+
export declare const DiscoveryResponse: coreClient.CompositeMapper;
|
|
17
|
+
export declare const ProxyResource: coreClient.CompositeMapper;
|
|
18
|
+
export declare const DiagnosticResource: coreClient.CompositeMapper;
|
|
19
|
+
export declare const SolutionMetadataResource: coreClient.CompositeMapper;
|
|
20
|
+
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eA2B5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eA0ClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAmCzC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eActC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAsDpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAsB5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,UAAU,CAAC,eAmBrD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,eAyBtD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,eAoB7C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAsCnC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,UAAU,CAAC,eA+BhC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAwCnC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