@azure/arm-defendereasm 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250718.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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for EasmMgmtClient.",
6
- "version": "1.0.0-alpha.20250620.1",
6
+ "version": "1.0.0-alpha.20250718.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -1,400 +1,400 @@
1
- ## API Report File for "@azure/arm-defendereasm"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { OperationState } from '@azure/core-lro';
10
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
- import { SimplePollerLike } from '@azure/core-lro';
12
-
13
- // @public
14
- export type ActionType = string;
15
-
16
- // @public
17
- export type CreatedByType = string;
18
-
19
- // @public (undocumented)
20
- export class EasmMgmtClient extends coreClient.ServiceClient {
21
- // (undocumented)
22
- $host: string;
23
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EasmMgmtClientOptionalParams);
24
- // (undocumented)
25
- apiVersion: string;
26
- // (undocumented)
27
- labels: Labels;
28
- // (undocumented)
29
- operations: Operations;
30
- // (undocumented)
31
- subscriptionId: string;
32
- // (undocumented)
33
- tasks: Tasks;
34
- // (undocumented)
35
- workspaces: Workspaces;
36
- }
37
-
38
- // @public
39
- export interface EasmMgmtClientOptionalParams extends coreClient.ServiceClientOptions {
40
- $host?: string;
41
- apiVersion?: string;
42
- endpoint?: string;
43
- }
44
-
45
- // @public
46
- export interface ErrorAdditionalInfo {
47
- readonly info?: Record<string, unknown>;
48
- readonly type?: string;
49
- }
50
-
51
- // @public
52
- export interface ErrorDetail {
53
- readonly additionalInfo?: ErrorAdditionalInfo[];
54
- readonly code?: string;
55
- readonly details?: ErrorDetail[];
56
- readonly message?: string;
57
- readonly target?: string;
58
- }
59
-
60
- // @public
61
- export interface ErrorResponse {
62
- error?: ErrorDetail;
63
- }
64
-
65
- // @public
66
- export function getContinuationToken(page: unknown): string | undefined;
67
-
68
- // @public
69
- export enum KnownActionType {
70
- Internal = "Internal"
71
- }
72
-
73
- // @public
74
- export enum KnownCreatedByType {
75
- Application = "Application",
76
- Key = "Key",
77
- ManagedIdentity = "ManagedIdentity",
78
- User = "User"
79
- }
80
-
81
- // @public
82
- export enum KnownOrigin {
83
- System = "system",
84
- User = "user",
85
- UserSystem = "user,system"
86
- }
87
-
88
- // @public
89
- export enum KnownResourceState {
90
- Accepted = "Accepted",
91
- Canceled = "Canceled",
92
- ConfiguringApplication = "ConfiguringApplication",
93
- Creating = "Creating",
94
- CreatingArtifacts = "CreatingArtifacts",
95
- DeletingArtifacts = "DeletingArtifacts",
96
- Failed = "Failed",
97
- InstallingApplication = "InstallingApplication",
98
- MigratingApplicationData = "MigratingApplicationData",
99
- NotSpecified = "NotSpecified",
100
- ProvisioningResources = "ProvisioningResources",
101
- RunningValidations = "RunningValidations",
102
- Succeeded = "Succeeded"
103
- }
104
-
105
- // @public
106
- export interface LabelPatchResource extends LabelResource {
107
- }
108
-
109
- // @public
110
- export interface LabelResource extends ProxyResource {
111
- color?: string;
112
- displayName?: string;
113
- readonly provisioningState?: ResourceState;
114
- }
115
-
116
- // @public
117
- export interface LabelResourceList {
118
- nextLink?: string;
119
- value?: LabelResource[];
120
- }
121
-
122
- // @public
123
- export interface LabelResourceProperties extends ResourceBaseProperties {
124
- color?: string;
125
- displayName?: string;
126
- }
127
-
128
- // @public
129
- export interface Labels {
130
- beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LabelsCreateAndUpdateResponse>, LabelsCreateAndUpdateResponse>>;
131
- beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<LabelsCreateAndUpdateResponse>;
132
- beginDelete(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
133
- beginDeleteAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<void>;
134
- getByWorkspace(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsGetByWorkspaceOptionalParams): Promise<LabelsGetByWorkspaceResponse>;
135
- listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LabelsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LabelResource>;
136
- update(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsUpdateOptionalParams): Promise<LabelsUpdateResponse>;
137
- }
138
-
139
- // @public
140
- export interface LabelsCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
141
- labelResource?: LabelResource;
142
- resumeFrom?: string;
143
- updateIntervalInMs?: number;
144
- }
145
-
146
- // @public
147
- export type LabelsCreateAndUpdateResponse = LabelResource;
148
-
149
- // @public
150
- export interface LabelsDeleteOptionalParams extends coreClient.OperationOptions {
151
- resumeFrom?: string;
152
- updateIntervalInMs?: number;
153
- }
154
-
155
- // @public
156
- export interface LabelsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
157
- }
158
-
159
- // @public
160
- export type LabelsGetByWorkspaceResponse = LabelResource;
161
-
162
- // @public
163
- export interface LabelsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
164
- }
165
-
166
- // @public
167
- export type LabelsListByWorkspaceNextResponse = LabelResourceList;
168
-
169
- // @public
170
- export interface LabelsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
171
- }
172
-
173
- // @public
174
- export type LabelsListByWorkspaceResponse = LabelResourceList;
175
-
176
- // @public
177
- export interface LabelsUpdateOptionalParams extends coreClient.OperationOptions {
178
- labelPatchResource?: LabelPatchResource;
179
- }
180
-
181
- // @public
182
- export type LabelsUpdateResponse = LabelResource;
183
-
184
- // @public
185
- export interface Operation {
186
- readonly actionType?: ActionType;
187
- display?: OperationDisplay;
188
- readonly isDataAction?: boolean;
189
- readonly name?: string;
190
- readonly origin?: Origin;
191
- }
192
-
193
- // @public
194
- export interface OperationDisplay {
195
- readonly description?: string;
196
- readonly operation?: string;
197
- readonly provider?: string;
198
- readonly resource?: string;
199
- }
200
-
201
- // @public
202
- export interface OperationListResult {
203
- readonly nextLink?: string;
204
- readonly value?: Operation[];
205
- }
206
-
207
- // @public
208
- export interface Operations {
209
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
210
- }
211
-
212
- // @public
213
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
214
- }
215
-
216
- // @public
217
- export type OperationsListNextResponse = OperationListResult;
218
-
219
- // @public
220
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
221
- }
222
-
223
- // @public
224
- export type OperationsListResponse = OperationListResult;
225
-
226
- // @public
227
- export type Origin = string;
228
-
229
- // @public
230
- export interface ProxyResource extends Resource {
231
- }
232
-
233
- // @public
234
- export interface Resource {
235
- readonly id?: string;
236
- readonly name?: string;
237
- readonly systemData?: SystemData;
238
- readonly type?: string;
239
- }
240
-
241
- // @public
242
- export interface ResourceBaseProperties {
243
- readonly provisioningState?: ResourceState;
244
- }
245
-
246
- // @public
247
- export type ResourceState = string;
248
-
249
- // @public
250
- export interface SystemData {
251
- createdAt?: Date;
252
- createdBy?: string;
253
- createdByType?: CreatedByType;
254
- lastModifiedAt?: Date;
255
- lastModifiedBy?: string;
256
- lastModifiedByType?: CreatedByType;
257
- }
258
-
259
- // @public
260
- export interface TaskResource extends ProxyResource {
261
- completedAt?: string;
262
- lastPolledAt?: string;
263
- metadata?: Record<string, unknown>;
264
- phase?: string;
265
- readonly provisioningState?: ResourceState;
266
- reason?: string;
267
- startedAt?: string;
268
- state?: string;
269
- }
270
-
271
- // @public
272
- export interface TaskResourceProperties extends ResourceBaseProperties {
273
- completedAt?: string;
274
- lastPolledAt?: string;
275
- metadata?: Record<string, unknown>;
276
- phase?: string;
277
- reason?: string;
278
- startedAt?: string;
279
- state?: string;
280
- }
281
-
282
- // @public
283
- export interface Tasks {
284
- getByWorkspace(resourceGroupName: string, workspaceName: string, taskId: string, options?: TasksGetByWorkspaceOptionalParams): Promise<TasksGetByWorkspaceResponse>;
285
- }
286
-
287
- // @public
288
- export interface TasksGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
289
- }
290
-
291
- // @public
292
- export type TasksGetByWorkspaceResponse = TaskResource;
293
-
294
- // @public
295
- export interface TrackedResource extends Resource {
296
- location: string;
297
- tags?: {
298
- [propertyName: string]: string;
299
- };
300
- }
301
-
302
- // @public
303
- export interface WorkspacePatchResource {
304
- readonly systemData?: SystemData;
305
- tags?: {
306
- [propertyName: string]: string;
307
- };
308
- }
309
-
310
- // @public
311
- export interface WorkspaceResource extends TrackedResource {
312
- readonly dataPlaneEndpoint?: string;
313
- readonly provisioningState?: ResourceState;
314
- }
315
-
316
- // @public
317
- export interface WorkspaceResourceList {
318
- nextLink?: string;
319
- value?: WorkspaceResource[];
320
- }
321
-
322
- // @public
323
- export interface WorkspaceResourceProperties extends ResourceBaseProperties {
324
- readonly dataPlaneEndpoint?: string;
325
- }
326
-
327
- // @public
328
- export interface Workspaces {
329
- beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateAndUpdateResponse>, WorkspacesCreateAndUpdateResponse>>;
330
- beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<WorkspacesCreateAndUpdateResponse>;
331
- beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
332
- beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
333
- get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
334
- listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
335
- listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
336
- update(resourceGroupName: string, workspaceName: string, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
337
- }
338
-
339
- // @public
340
- export interface WorkspacesCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
341
- resumeFrom?: string;
342
- updateIntervalInMs?: number;
343
- workspaceResource?: WorkspaceResource;
344
- }
345
-
346
- // @public
347
- export type WorkspacesCreateAndUpdateResponse = WorkspaceResource;
348
-
349
- // @public
350
- export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
351
- resumeFrom?: string;
352
- updateIntervalInMs?: number;
353
- }
354
-
355
- // @public
356
- export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
357
- }
358
-
359
- // @public
360
- export type WorkspacesGetResponse = WorkspaceResource;
361
-
362
- // @public
363
- export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
364
- }
365
-
366
- // @public
367
- export type WorkspacesListByResourceGroupNextResponse = WorkspaceResourceList;
368
-
369
- // @public
370
- export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
371
- }
372
-
373
- // @public
374
- export type WorkspacesListByResourceGroupResponse = WorkspaceResourceList;
375
-
376
- // @public
377
- export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
378
- }
379
-
380
- // @public
381
- export type WorkspacesListBySubscriptionNextResponse = WorkspaceResourceList;
382
-
383
- // @public
384
- export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
385
- }
386
-
387
- // @public
388
- export type WorkspacesListBySubscriptionResponse = WorkspaceResourceList;
389
-
390
- // @public
391
- export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
392
- workspacePatchResource?: WorkspacePatchResource;
393
- }
394
-
395
- // @public
396
- export type WorkspacesUpdateResponse = WorkspaceResource;
397
-
398
- // (No @packageDocumentation comment for this package)
399
-
400
- ```
1
+ ## API Report File for "@azure/arm-defendereasm"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
10
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type ActionType = string;
15
+
16
+ // @public
17
+ export type CreatedByType = string;
18
+
19
+ // @public (undocumented)
20
+ export class EasmMgmtClient extends coreClient.ServiceClient {
21
+ // (undocumented)
22
+ $host: string;
23
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EasmMgmtClientOptionalParams);
24
+ // (undocumented)
25
+ apiVersion: string;
26
+ // (undocumented)
27
+ labels: Labels;
28
+ // (undocumented)
29
+ operations: Operations;
30
+ // (undocumented)
31
+ subscriptionId: string;
32
+ // (undocumented)
33
+ tasks: Tasks;
34
+ // (undocumented)
35
+ workspaces: Workspaces;
36
+ }
37
+
38
+ // @public
39
+ export interface EasmMgmtClientOptionalParams extends coreClient.ServiceClientOptions {
40
+ $host?: string;
41
+ apiVersion?: string;
42
+ endpoint?: string;
43
+ }
44
+
45
+ // @public
46
+ export interface ErrorAdditionalInfo {
47
+ readonly info?: Record<string, unknown>;
48
+ readonly type?: string;
49
+ }
50
+
51
+ // @public
52
+ export interface ErrorDetail {
53
+ readonly additionalInfo?: ErrorAdditionalInfo[];
54
+ readonly code?: string;
55
+ readonly details?: ErrorDetail[];
56
+ readonly message?: string;
57
+ readonly target?: string;
58
+ }
59
+
60
+ // @public
61
+ export interface ErrorResponse {
62
+ error?: ErrorDetail;
63
+ }
64
+
65
+ // @public
66
+ export function getContinuationToken(page: unknown): string | undefined;
67
+
68
+ // @public
69
+ export enum KnownActionType {
70
+ Internal = "Internal"
71
+ }
72
+
73
+ // @public
74
+ export enum KnownCreatedByType {
75
+ Application = "Application",
76
+ Key = "Key",
77
+ ManagedIdentity = "ManagedIdentity",
78
+ User = "User"
79
+ }
80
+
81
+ // @public
82
+ export enum KnownOrigin {
83
+ System = "system",
84
+ User = "user",
85
+ UserSystem = "user,system"
86
+ }
87
+
88
+ // @public
89
+ export enum KnownResourceState {
90
+ Accepted = "Accepted",
91
+ Canceled = "Canceled",
92
+ ConfiguringApplication = "ConfiguringApplication",
93
+ Creating = "Creating",
94
+ CreatingArtifacts = "CreatingArtifacts",
95
+ DeletingArtifacts = "DeletingArtifacts",
96
+ Failed = "Failed",
97
+ InstallingApplication = "InstallingApplication",
98
+ MigratingApplicationData = "MigratingApplicationData",
99
+ NotSpecified = "NotSpecified",
100
+ ProvisioningResources = "ProvisioningResources",
101
+ RunningValidations = "RunningValidations",
102
+ Succeeded = "Succeeded"
103
+ }
104
+
105
+ // @public
106
+ export interface LabelPatchResource extends LabelResource {
107
+ }
108
+
109
+ // @public
110
+ export interface LabelResource extends ProxyResource {
111
+ color?: string;
112
+ displayName?: string;
113
+ readonly provisioningState?: ResourceState;
114
+ }
115
+
116
+ // @public
117
+ export interface LabelResourceList {
118
+ nextLink?: string;
119
+ value?: LabelResource[];
120
+ }
121
+
122
+ // @public
123
+ export interface LabelResourceProperties extends ResourceBaseProperties {
124
+ color?: string;
125
+ displayName?: string;
126
+ }
127
+
128
+ // @public
129
+ export interface Labels {
130
+ beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LabelsCreateAndUpdateResponse>, LabelsCreateAndUpdateResponse>>;
131
+ beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<LabelsCreateAndUpdateResponse>;
132
+ beginDelete(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
133
+ beginDeleteAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<void>;
134
+ getByWorkspace(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsGetByWorkspaceOptionalParams): Promise<LabelsGetByWorkspaceResponse>;
135
+ listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LabelsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LabelResource>;
136
+ update(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsUpdateOptionalParams): Promise<LabelsUpdateResponse>;
137
+ }
138
+
139
+ // @public
140
+ export interface LabelsCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
141
+ labelResource?: LabelResource;
142
+ resumeFrom?: string;
143
+ updateIntervalInMs?: number;
144
+ }
145
+
146
+ // @public
147
+ export type LabelsCreateAndUpdateResponse = LabelResource;
148
+
149
+ // @public
150
+ export interface LabelsDeleteOptionalParams extends coreClient.OperationOptions {
151
+ resumeFrom?: string;
152
+ updateIntervalInMs?: number;
153
+ }
154
+
155
+ // @public
156
+ export interface LabelsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
157
+ }
158
+
159
+ // @public
160
+ export type LabelsGetByWorkspaceResponse = LabelResource;
161
+
162
+ // @public
163
+ export interface LabelsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
164
+ }
165
+
166
+ // @public
167
+ export type LabelsListByWorkspaceNextResponse = LabelResourceList;
168
+
169
+ // @public
170
+ export interface LabelsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
171
+ }
172
+
173
+ // @public
174
+ export type LabelsListByWorkspaceResponse = LabelResourceList;
175
+
176
+ // @public
177
+ export interface LabelsUpdateOptionalParams extends coreClient.OperationOptions {
178
+ labelPatchResource?: LabelPatchResource;
179
+ }
180
+
181
+ // @public
182
+ export type LabelsUpdateResponse = LabelResource;
183
+
184
+ // @public
185
+ export interface Operation {
186
+ readonly actionType?: ActionType;
187
+ display?: OperationDisplay;
188
+ readonly isDataAction?: boolean;
189
+ readonly name?: string;
190
+ readonly origin?: Origin;
191
+ }
192
+
193
+ // @public
194
+ export interface OperationDisplay {
195
+ readonly description?: string;
196
+ readonly operation?: string;
197
+ readonly provider?: string;
198
+ readonly resource?: string;
199
+ }
200
+
201
+ // @public
202
+ export interface OperationListResult {
203
+ readonly nextLink?: string;
204
+ readonly value?: Operation[];
205
+ }
206
+
207
+ // @public
208
+ export interface Operations {
209
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
210
+ }
211
+
212
+ // @public
213
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
214
+ }
215
+
216
+ // @public
217
+ export type OperationsListNextResponse = OperationListResult;
218
+
219
+ // @public
220
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
221
+ }
222
+
223
+ // @public
224
+ export type OperationsListResponse = OperationListResult;
225
+
226
+ // @public
227
+ export type Origin = string;
228
+
229
+ // @public
230
+ export interface ProxyResource extends Resource {
231
+ }
232
+
233
+ // @public
234
+ export interface Resource {
235
+ readonly id?: string;
236
+ readonly name?: string;
237
+ readonly systemData?: SystemData;
238
+ readonly type?: string;
239
+ }
240
+
241
+ // @public
242
+ export interface ResourceBaseProperties {
243
+ readonly provisioningState?: ResourceState;
244
+ }
245
+
246
+ // @public
247
+ export type ResourceState = string;
248
+
249
+ // @public
250
+ export interface SystemData {
251
+ createdAt?: Date;
252
+ createdBy?: string;
253
+ createdByType?: CreatedByType;
254
+ lastModifiedAt?: Date;
255
+ lastModifiedBy?: string;
256
+ lastModifiedByType?: CreatedByType;
257
+ }
258
+
259
+ // @public
260
+ export interface TaskResource extends ProxyResource {
261
+ completedAt?: string;
262
+ lastPolledAt?: string;
263
+ metadata?: Record<string, unknown>;
264
+ phase?: string;
265
+ readonly provisioningState?: ResourceState;
266
+ reason?: string;
267
+ startedAt?: string;
268
+ state?: string;
269
+ }
270
+
271
+ // @public
272
+ export interface TaskResourceProperties extends ResourceBaseProperties {
273
+ completedAt?: string;
274
+ lastPolledAt?: string;
275
+ metadata?: Record<string, unknown>;
276
+ phase?: string;
277
+ reason?: string;
278
+ startedAt?: string;
279
+ state?: string;
280
+ }
281
+
282
+ // @public
283
+ export interface Tasks {
284
+ getByWorkspace(resourceGroupName: string, workspaceName: string, taskId: string, options?: TasksGetByWorkspaceOptionalParams): Promise<TasksGetByWorkspaceResponse>;
285
+ }
286
+
287
+ // @public
288
+ export interface TasksGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
289
+ }
290
+
291
+ // @public
292
+ export type TasksGetByWorkspaceResponse = TaskResource;
293
+
294
+ // @public
295
+ export interface TrackedResource extends Resource {
296
+ location: string;
297
+ tags?: {
298
+ [propertyName: string]: string;
299
+ };
300
+ }
301
+
302
+ // @public
303
+ export interface WorkspacePatchResource {
304
+ readonly systemData?: SystemData;
305
+ tags?: {
306
+ [propertyName: string]: string;
307
+ };
308
+ }
309
+
310
+ // @public
311
+ export interface WorkspaceResource extends TrackedResource {
312
+ readonly dataPlaneEndpoint?: string;
313
+ readonly provisioningState?: ResourceState;
314
+ }
315
+
316
+ // @public
317
+ export interface WorkspaceResourceList {
318
+ nextLink?: string;
319
+ value?: WorkspaceResource[];
320
+ }
321
+
322
+ // @public
323
+ export interface WorkspaceResourceProperties extends ResourceBaseProperties {
324
+ readonly dataPlaneEndpoint?: string;
325
+ }
326
+
327
+ // @public
328
+ export interface Workspaces {
329
+ beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateAndUpdateResponse>, WorkspacesCreateAndUpdateResponse>>;
330
+ beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<WorkspacesCreateAndUpdateResponse>;
331
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
332
+ beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
333
+ get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
334
+ listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
335
+ listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
336
+ update(resourceGroupName: string, workspaceName: string, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
337
+ }
338
+
339
+ // @public
340
+ export interface WorkspacesCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
341
+ resumeFrom?: string;
342
+ updateIntervalInMs?: number;
343
+ workspaceResource?: WorkspaceResource;
344
+ }
345
+
346
+ // @public
347
+ export type WorkspacesCreateAndUpdateResponse = WorkspaceResource;
348
+
349
+ // @public
350
+ export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
351
+ resumeFrom?: string;
352
+ updateIntervalInMs?: number;
353
+ }
354
+
355
+ // @public
356
+ export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
357
+ }
358
+
359
+ // @public
360
+ export type WorkspacesGetResponse = WorkspaceResource;
361
+
362
+ // @public
363
+ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
364
+ }
365
+
366
+ // @public
367
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceResourceList;
368
+
369
+ // @public
370
+ export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
371
+ }
372
+
373
+ // @public
374
+ export type WorkspacesListByResourceGroupResponse = WorkspaceResourceList;
375
+
376
+ // @public
377
+ export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
378
+ }
379
+
380
+ // @public
381
+ export type WorkspacesListBySubscriptionNextResponse = WorkspaceResourceList;
382
+
383
+ // @public
384
+ export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
385
+ }
386
+
387
+ // @public
388
+ export type WorkspacesListBySubscriptionResponse = WorkspaceResourceList;
389
+
390
+ // @public
391
+ export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
392
+ workspacePatchResource?: WorkspacePatchResource;
393
+ }
394
+
395
+ // @public
396
+ export type WorkspacesUpdateResponse = WorkspaceResource;
397
+
398
+ // (No @packageDocumentation comment for this package)
399
+
400
+ ```