@azure/arm-defendereasm 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 +2047 -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/labelsCreateAndUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.js +40 -0
- package/dist-esm/samples-dev/labelsCreateAndUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/labelsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/labelsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/labelsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/labelsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.js +40 -0
- package/dist-esm/samples-dev/labelsGetByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.js +60 -0
- package/dist-esm/samples-dev/labelsListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/labelsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/labelsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/labelsUpdateSample.js +40 -0
- package/dist-esm/samples-dev/labelsUpdateSample.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 +58 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.js +40 -0
- package/dist-esm/samples-dev/tasksGetByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.js +43 -0
- package/dist-esm/samples-dev/workspacesCreateAndUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.js +39 -0
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js +39 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -0
- package/dist-esm/src/easmMgmtClient.d.ts +23 -0
- package/dist-esm/src/easmMgmtClient.d.ts.map +1 -0
- package/dist-esm/src/easmMgmtClient.js +103 -0
- package/dist-esm/src/easmMgmtClient.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 +492 -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 +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +574 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +137 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +12 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/labels.d.ts +87 -0
- package/dist-esm/src/operations/labels.d.ts.map +1 -0
- package/dist-esm/src/operations/labels.js +395 -0
- package/dist-esm/src/operations/labels.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/operations/tasks.d.ts +21 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +55 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +96 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +496 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/labels.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/labels.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/labels.js +9 -0
- package/dist-esm/src/operationsInterfaces/labels.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/operationsInterfaces/tasks.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.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/defendereasm_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/defendereasm_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/defendereasm_operations_test.spec.js +120 -0
- package/dist-esm/test/defendereasm_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-defendereasm.api.md +400 -0
- package/rollup.config.js +122 -0
- package/src/easmMgmtClient.ts +151 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +562 -0
- package/src/models/mappers.ts +639 -0
- package/src/models/parameters.ts +161 -0
- package/src/operations/index.ts +12 -0
- package/src/operations/labels.ts +543 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/tasks.ts +75 -0
- package/src/operations/workspaces.ts +625 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/labels.ts +120 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/tasks.ts +29 -0
- package/src/operationsInterfaces/workspaces.ts +114 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-defendereasm.d.ts +724 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
4
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/**
|
|
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 CreatedByType. \
|
|
18
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
19
|
+
* this enum contains the known values that the service supports.
|
|
20
|
+
* ### Known values supported by the service
|
|
21
|
+
* **User** \
|
|
22
|
+
* **Application** \
|
|
23
|
+
* **ManagedIdentity** \
|
|
24
|
+
* **Key**
|
|
25
|
+
*/
|
|
26
|
+
export declare type CreatedByType = string;
|
|
27
|
+
|
|
28
|
+
export declare class EasmMgmtClient extends coreClient.ServiceClient {
|
|
29
|
+
$host: string;
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
subscriptionId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Initializes a new instance of the EasmMgmtClient class.
|
|
34
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
35
|
+
* @param subscriptionId The ID of the target subscription.
|
|
36
|
+
* @param options The parameter options
|
|
37
|
+
*/
|
|
38
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EasmMgmtClientOptionalParams);
|
|
39
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
40
|
+
private addCustomApiVersionPolicy;
|
|
41
|
+
workspaces: Workspaces;
|
|
42
|
+
labels: Labels;
|
|
43
|
+
tasks: Tasks;
|
|
44
|
+
operations: Operations;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Optional parameters. */
|
|
48
|
+
export declare interface EasmMgmtClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
49
|
+
/** server parameter */
|
|
50
|
+
$host?: string;
|
|
51
|
+
/** Api Version */
|
|
52
|
+
apiVersion?: string;
|
|
53
|
+
/** Overrides client endpoint. */
|
|
54
|
+
endpoint?: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** The resource management error additional info. */
|
|
58
|
+
export declare interface ErrorAdditionalInfo {
|
|
59
|
+
/**
|
|
60
|
+
* The additional info type.
|
|
61
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
|
+
*/
|
|
63
|
+
readonly type?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The additional info.
|
|
66
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
67
|
+
*/
|
|
68
|
+
readonly info?: Record<string, unknown>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** The error detail. */
|
|
72
|
+
export declare interface ErrorDetail {
|
|
73
|
+
/**
|
|
74
|
+
* The error code.
|
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
76
|
+
*/
|
|
77
|
+
readonly code?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The error message.
|
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
81
|
+
*/
|
|
82
|
+
readonly message?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The error target.
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly target?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The error details.
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
91
|
+
*/
|
|
92
|
+
readonly details?: ErrorDetail[];
|
|
93
|
+
/**
|
|
94
|
+
* The error additional info.
|
|
95
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
96
|
+
*/
|
|
97
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
101
|
+
export declare interface ErrorResponse {
|
|
102
|
+
/** The error object. */
|
|
103
|
+
error?: ErrorDetail;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
108
|
+
* returns a continuation token that can be used to begin paging from
|
|
109
|
+
* that point later.
|
|
110
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
111
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
112
|
+
*/
|
|
113
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
114
|
+
|
|
115
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
116
|
+
export declare enum KnownActionType {
|
|
117
|
+
/** Internal */
|
|
118
|
+
Internal = "Internal"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
122
|
+
export declare enum KnownCreatedByType {
|
|
123
|
+
/** User */
|
|
124
|
+
User = "User",
|
|
125
|
+
/** Application */
|
|
126
|
+
Application = "Application",
|
|
127
|
+
/** ManagedIdentity */
|
|
128
|
+
ManagedIdentity = "ManagedIdentity",
|
|
129
|
+
/** Key */
|
|
130
|
+
Key = "Key"
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
134
|
+
export declare enum KnownOrigin {
|
|
135
|
+
/** User */
|
|
136
|
+
User = "user",
|
|
137
|
+
/** System */
|
|
138
|
+
System = "system",
|
|
139
|
+
/** UserSystem */
|
|
140
|
+
UserSystem = "user,system"
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** Known values of {@link ResourceState} that the service accepts. */
|
|
144
|
+
export declare enum KnownResourceState {
|
|
145
|
+
/** NotSpecified */
|
|
146
|
+
NotSpecified = "NotSpecified",
|
|
147
|
+
/** Accepted */
|
|
148
|
+
Accepted = "Accepted",
|
|
149
|
+
/** Creating */
|
|
150
|
+
Creating = "Creating",
|
|
151
|
+
/** Succeeded */
|
|
152
|
+
Succeeded = "Succeeded",
|
|
153
|
+
/** Failed */
|
|
154
|
+
Failed = "Failed",
|
|
155
|
+
/** Canceled */
|
|
156
|
+
Canceled = "Canceled",
|
|
157
|
+
/** ProvisioningResources */
|
|
158
|
+
ProvisioningResources = "ProvisioningResources",
|
|
159
|
+
/** InstallingApplication */
|
|
160
|
+
InstallingApplication = "InstallingApplication",
|
|
161
|
+
/** ConfiguringApplication */
|
|
162
|
+
ConfiguringApplication = "ConfiguringApplication",
|
|
163
|
+
/** MigratingApplicationData */
|
|
164
|
+
MigratingApplicationData = "MigratingApplicationData",
|
|
165
|
+
/** RunningValidations */
|
|
166
|
+
RunningValidations = "RunningValidations",
|
|
167
|
+
/** CreatingArtifacts */
|
|
168
|
+
CreatingArtifacts = "CreatingArtifacts",
|
|
169
|
+
/** DeletingArtifacts */
|
|
170
|
+
DeletingArtifacts = "DeletingArtifacts"
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** Label patch properties */
|
|
174
|
+
export declare interface LabelPatchResource extends LabelResource {
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Label details */
|
|
178
|
+
export declare interface LabelResource extends ProxyResource {
|
|
179
|
+
/**
|
|
180
|
+
* Resource provisioning state.
|
|
181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
182
|
+
*/
|
|
183
|
+
readonly provisioningState?: ResourceState;
|
|
184
|
+
/** Label display name. */
|
|
185
|
+
displayName?: string;
|
|
186
|
+
/** Label color. */
|
|
187
|
+
color?: string;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** The list of labels. */
|
|
191
|
+
export declare interface LabelResourceList {
|
|
192
|
+
/** The list of labels. */
|
|
193
|
+
value?: LabelResource[];
|
|
194
|
+
/** The link used to get the next page of Label list. */
|
|
195
|
+
nextLink?: string;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Label properties. */
|
|
199
|
+
export declare interface LabelResourceProperties extends ResourceBaseProperties {
|
|
200
|
+
/** Label display name. */
|
|
201
|
+
displayName?: string;
|
|
202
|
+
/** Label color. */
|
|
203
|
+
color?: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Interface representing a Labels. */
|
|
207
|
+
export declare interface Labels {
|
|
208
|
+
/**
|
|
209
|
+
* Returns a list of labels in the given workspace.
|
|
210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
211
|
+
* @param workspaceName The name of the Workspace.
|
|
212
|
+
* @param options The options parameters.
|
|
213
|
+
*/
|
|
214
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LabelsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LabelResource>;
|
|
215
|
+
/**
|
|
216
|
+
* Returns a label in the given workspace.
|
|
217
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
218
|
+
* @param workspaceName The name of the Workspace.
|
|
219
|
+
* @param labelName The name of the Label.
|
|
220
|
+
* @param options The options parameters.
|
|
221
|
+
*/
|
|
222
|
+
getByWorkspace(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsGetByWorkspaceOptionalParams): Promise<LabelsGetByWorkspaceResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* Create or update a Label.
|
|
225
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
226
|
+
* @param workspaceName The name of the Workspace.
|
|
227
|
+
* @param labelName The name of the Label.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LabelsCreateAndUpdateResponse>, LabelsCreateAndUpdateResponse>>;
|
|
231
|
+
/**
|
|
232
|
+
* Create or update a Label.
|
|
233
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
234
|
+
* @param workspaceName The name of the Workspace.
|
|
235
|
+
* @param labelName The name of the Label.
|
|
236
|
+
* @param options The options parameters.
|
|
237
|
+
*/
|
|
238
|
+
beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsCreateAndUpdateOptionalParams): Promise<LabelsCreateAndUpdateResponse>;
|
|
239
|
+
/**
|
|
240
|
+
* Update a Label.
|
|
241
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
242
|
+
* @param workspaceName The name of the Workspace.
|
|
243
|
+
* @param labelName The name of the Label.
|
|
244
|
+
* @param options The options parameters.
|
|
245
|
+
*/
|
|
246
|
+
update(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsUpdateOptionalParams): Promise<LabelsUpdateResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* Delete a Label.
|
|
249
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
250
|
+
* @param workspaceName The name of the Workspace.
|
|
251
|
+
* @param labelName The name of the Label.
|
|
252
|
+
* @param options The options parameters.
|
|
253
|
+
*/
|
|
254
|
+
beginDelete(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
255
|
+
/**
|
|
256
|
+
* Delete a Label.
|
|
257
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
258
|
+
* @param workspaceName The name of the Workspace.
|
|
259
|
+
* @param labelName The name of the Label.
|
|
260
|
+
* @param options The options parameters.
|
|
261
|
+
*/
|
|
262
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, labelName: string, options?: LabelsDeleteOptionalParams): Promise<void>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/** Optional parameters. */
|
|
266
|
+
export declare interface LabelsCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
|
|
267
|
+
/** Label details. */
|
|
268
|
+
labelResource?: LabelResource;
|
|
269
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
270
|
+
updateIntervalInMs?: number;
|
|
271
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
272
|
+
resumeFrom?: string;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** Contains response data for the createAndUpdate operation. */
|
|
276
|
+
export declare type LabelsCreateAndUpdateResponse = LabelResource;
|
|
277
|
+
|
|
278
|
+
/** Optional parameters. */
|
|
279
|
+
export declare interface LabelsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
280
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
281
|
+
updateIntervalInMs?: number;
|
|
282
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
283
|
+
resumeFrom?: string;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/** Optional parameters. */
|
|
287
|
+
export declare interface LabelsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** Contains response data for the getByWorkspace operation. */
|
|
291
|
+
export declare type LabelsGetByWorkspaceResponse = LabelResource;
|
|
292
|
+
|
|
293
|
+
/** Optional parameters. */
|
|
294
|
+
export declare interface LabelsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
298
|
+
export declare type LabelsListByWorkspaceNextResponse = LabelResourceList;
|
|
299
|
+
|
|
300
|
+
/** Optional parameters. */
|
|
301
|
+
export declare interface LabelsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
305
|
+
export declare type LabelsListByWorkspaceResponse = LabelResourceList;
|
|
306
|
+
|
|
307
|
+
/** Optional parameters. */
|
|
308
|
+
export declare interface LabelsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
309
|
+
/** Label patch details. */
|
|
310
|
+
labelPatchResource?: LabelPatchResource;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/** Contains response data for the update operation. */
|
|
314
|
+
export declare type LabelsUpdateResponse = LabelResource;
|
|
315
|
+
|
|
316
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
317
|
+
export declare interface Operation {
|
|
318
|
+
/**
|
|
319
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
320
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
321
|
+
*/
|
|
322
|
+
readonly name?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
325
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
326
|
+
*/
|
|
327
|
+
readonly isDataAction?: boolean;
|
|
328
|
+
/** Localized display information for this particular operation. */
|
|
329
|
+
display?: OperationDisplay;
|
|
330
|
+
/**
|
|
331
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
332
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
333
|
+
*/
|
|
334
|
+
readonly origin?: Origin;
|
|
335
|
+
/**
|
|
336
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
337
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
338
|
+
*/
|
|
339
|
+
readonly actionType?: ActionType;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** Localized display information for this particular operation. */
|
|
343
|
+
export declare interface OperationDisplay {
|
|
344
|
+
/**
|
|
345
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
346
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
347
|
+
*/
|
|
348
|
+
readonly provider?: string;
|
|
349
|
+
/**
|
|
350
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
351
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
352
|
+
*/
|
|
353
|
+
readonly resource?: string;
|
|
354
|
+
/**
|
|
355
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
357
|
+
*/
|
|
358
|
+
readonly operation?: string;
|
|
359
|
+
/**
|
|
360
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
361
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
|
+
*/
|
|
363
|
+
readonly description?: string;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
367
|
+
export declare interface OperationListResult {
|
|
368
|
+
/**
|
|
369
|
+
* List of operations supported by the resource provider
|
|
370
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
371
|
+
*/
|
|
372
|
+
readonly value?: Operation[];
|
|
373
|
+
/**
|
|
374
|
+
* URL to get the next set of operation list results (if there are any).
|
|
375
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
376
|
+
*/
|
|
377
|
+
readonly nextLink?: string;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/** Interface representing a Operations. */
|
|
381
|
+
export declare interface Operations {
|
|
382
|
+
/**
|
|
383
|
+
* Returns list of operations.
|
|
384
|
+
* @param options The options parameters.
|
|
385
|
+
*/
|
|
386
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** Optional parameters. */
|
|
390
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** Contains response data for the listNext operation. */
|
|
394
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
395
|
+
|
|
396
|
+
/** Optional parameters. */
|
|
397
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** Contains response data for the list operation. */
|
|
401
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Defines values for Origin. \
|
|
405
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
406
|
+
* this enum contains the known values that the service supports.
|
|
407
|
+
* ### Known values supported by the service
|
|
408
|
+
* **user** \
|
|
409
|
+
* **system** \
|
|
410
|
+
* **user,system**
|
|
411
|
+
*/
|
|
412
|
+
export declare type Origin = string;
|
|
413
|
+
|
|
414
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
415
|
+
export declare interface ProxyResource extends Resource {
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
419
|
+
export declare interface Resource {
|
|
420
|
+
/**
|
|
421
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
422
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
423
|
+
*/
|
|
424
|
+
readonly id?: string;
|
|
425
|
+
/**
|
|
426
|
+
* The name of the resource
|
|
427
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
428
|
+
*/
|
|
429
|
+
readonly name?: string;
|
|
430
|
+
/**
|
|
431
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
432
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
433
|
+
*/
|
|
434
|
+
readonly type?: string;
|
|
435
|
+
/**
|
|
436
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
437
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
438
|
+
*/
|
|
439
|
+
readonly systemData?: SystemData;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/** Resource base properties. */
|
|
443
|
+
export declare interface ResourceBaseProperties {
|
|
444
|
+
/**
|
|
445
|
+
* Resource provisioning state.
|
|
446
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
447
|
+
*/
|
|
448
|
+
readonly provisioningState?: ResourceState;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Defines values for ResourceState. \
|
|
453
|
+
* {@link KnownResourceState} can be used interchangeably with ResourceState,
|
|
454
|
+
* this enum contains the known values that the service supports.
|
|
455
|
+
* ### Known values supported by the service
|
|
456
|
+
* **NotSpecified** \
|
|
457
|
+
* **Accepted** \
|
|
458
|
+
* **Creating** \
|
|
459
|
+
* **Succeeded** \
|
|
460
|
+
* **Failed** \
|
|
461
|
+
* **Canceled** \
|
|
462
|
+
* **ProvisioningResources** \
|
|
463
|
+
* **InstallingApplication** \
|
|
464
|
+
* **ConfiguringApplication** \
|
|
465
|
+
* **MigratingApplicationData** \
|
|
466
|
+
* **RunningValidations** \
|
|
467
|
+
* **CreatingArtifacts** \
|
|
468
|
+
* **DeletingArtifacts**
|
|
469
|
+
*/
|
|
470
|
+
export declare type ResourceState = string;
|
|
471
|
+
|
|
472
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
473
|
+
export declare interface SystemData {
|
|
474
|
+
/** The identity that created the resource. */
|
|
475
|
+
createdBy?: string;
|
|
476
|
+
/** The type of identity that created the resource. */
|
|
477
|
+
createdByType?: CreatedByType;
|
|
478
|
+
/** The timestamp of resource creation (UTC). */
|
|
479
|
+
createdAt?: Date;
|
|
480
|
+
/** The identity that last modified the resource. */
|
|
481
|
+
lastModifiedBy?: string;
|
|
482
|
+
/** The type of identity that last modified the resource. */
|
|
483
|
+
lastModifiedByType?: CreatedByType;
|
|
484
|
+
/** The timestamp of resource last modification (UTC) */
|
|
485
|
+
lastModifiedAt?: Date;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/** Task details */
|
|
489
|
+
export declare interface TaskResource extends ProxyResource {
|
|
490
|
+
/**
|
|
491
|
+
* Resource provisioning state.
|
|
492
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
493
|
+
*/
|
|
494
|
+
readonly provisioningState?: ResourceState;
|
|
495
|
+
/** The time the task started */
|
|
496
|
+
startedAt?: string;
|
|
497
|
+
/** The time the task completed */
|
|
498
|
+
completedAt?: string;
|
|
499
|
+
/** The last time the task was polled */
|
|
500
|
+
lastPolledAt?: string;
|
|
501
|
+
/** the state the task is in */
|
|
502
|
+
state?: string;
|
|
503
|
+
/** the phase the task is in */
|
|
504
|
+
phase?: string;
|
|
505
|
+
/** The reason the task was moved into its current state, if the task wasn't completed. */
|
|
506
|
+
reason?: string;
|
|
507
|
+
/** The reason the task was moved into its current state, if the task wasn't completed. */
|
|
508
|
+
metadata?: Record<string, unknown>;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/** Task properties. */
|
|
512
|
+
export declare interface TaskResourceProperties extends ResourceBaseProperties {
|
|
513
|
+
/** The time the task started */
|
|
514
|
+
startedAt?: string;
|
|
515
|
+
/** The time the task completed */
|
|
516
|
+
completedAt?: string;
|
|
517
|
+
/** The last time the task was polled */
|
|
518
|
+
lastPolledAt?: string;
|
|
519
|
+
/** the state the task is in */
|
|
520
|
+
state?: string;
|
|
521
|
+
/** the phase the task is in */
|
|
522
|
+
phase?: string;
|
|
523
|
+
/** The reason the task was moved into its current state, if the task wasn't completed. */
|
|
524
|
+
reason?: string;
|
|
525
|
+
/** The reason the task was moved into its current state, if the task wasn't completed. */
|
|
526
|
+
metadata?: Record<string, unknown>;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/** Interface representing a Tasks. */
|
|
530
|
+
export declare interface Tasks {
|
|
531
|
+
/**
|
|
532
|
+
* Returns a task in the given workspace.
|
|
533
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
534
|
+
* @param workspaceName The name of the Workspace.
|
|
535
|
+
* @param taskId The id of the Task.
|
|
536
|
+
* @param options The options parameters.
|
|
537
|
+
*/
|
|
538
|
+
getByWorkspace(resourceGroupName: string, workspaceName: string, taskId: string, options?: TasksGetByWorkspaceOptionalParams): Promise<TasksGetByWorkspaceResponse>;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/** Optional parameters. */
|
|
542
|
+
export declare interface TasksGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** Contains response data for the getByWorkspace operation. */
|
|
546
|
+
export declare type TasksGetByWorkspaceResponse = TaskResource;
|
|
547
|
+
|
|
548
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
549
|
+
export declare interface TrackedResource extends Resource {
|
|
550
|
+
/** Resource tags. */
|
|
551
|
+
tags?: {
|
|
552
|
+
[propertyName: string]: string;
|
|
553
|
+
};
|
|
554
|
+
/** The geo-location where the resource lives */
|
|
555
|
+
location: string;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/** Workspace patch properties. */
|
|
559
|
+
export declare interface WorkspacePatchResource {
|
|
560
|
+
/** resource tags. */
|
|
561
|
+
tags?: {
|
|
562
|
+
[propertyName: string]: string;
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
566
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
567
|
+
*/
|
|
568
|
+
readonly systemData?: SystemData;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/** Workspace details. */
|
|
572
|
+
export declare interface WorkspaceResource extends TrackedResource {
|
|
573
|
+
/**
|
|
574
|
+
* Resource provisioning state.
|
|
575
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
576
|
+
*/
|
|
577
|
+
readonly provisioningState?: ResourceState;
|
|
578
|
+
/**
|
|
579
|
+
* Data plane endpoint.
|
|
580
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
581
|
+
*/
|
|
582
|
+
readonly dataPlaneEndpoint?: string;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/** The list of workspaces. */
|
|
586
|
+
export declare interface WorkspaceResourceList {
|
|
587
|
+
/** The link used to get the next page of Workspace list. */
|
|
588
|
+
nextLink?: string;
|
|
589
|
+
/** The list of workspaces. */
|
|
590
|
+
value?: WorkspaceResource[];
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/** Workspace properties. */
|
|
594
|
+
export declare interface WorkspaceResourceProperties extends ResourceBaseProperties {
|
|
595
|
+
/**
|
|
596
|
+
* Data plane endpoint.
|
|
597
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
598
|
+
*/
|
|
599
|
+
readonly dataPlaneEndpoint?: string;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/** Interface representing a Workspaces. */
|
|
603
|
+
export declare interface Workspaces {
|
|
604
|
+
/**
|
|
605
|
+
* Returns a list of workspaces under the given subscription.
|
|
606
|
+
* @param options The options parameters.
|
|
607
|
+
*/
|
|
608
|
+
listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
|
|
609
|
+
/**
|
|
610
|
+
* Returns a list of workspaces in the given resource group.
|
|
611
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
612
|
+
* @param options The options parameters.
|
|
613
|
+
*/
|
|
614
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkspaceResource>;
|
|
615
|
+
/**
|
|
616
|
+
* Returns a workspace with the given name.
|
|
617
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
618
|
+
* @param workspaceName The name of the Workspace.
|
|
619
|
+
* @param options The options parameters.
|
|
620
|
+
*/
|
|
621
|
+
get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
|
|
622
|
+
/**
|
|
623
|
+
* Create or update a Workspace.
|
|
624
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
625
|
+
* @param workspaceName The name of the Workspace.
|
|
626
|
+
* @param options The options parameters.
|
|
627
|
+
*/
|
|
628
|
+
beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateAndUpdateResponse>, WorkspacesCreateAndUpdateResponse>>;
|
|
629
|
+
/**
|
|
630
|
+
* Create or update a Workspace.
|
|
631
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
632
|
+
* @param workspaceName The name of the Workspace.
|
|
633
|
+
* @param options The options parameters.
|
|
634
|
+
*/
|
|
635
|
+
beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<WorkspacesCreateAndUpdateResponse>;
|
|
636
|
+
/**
|
|
637
|
+
* Update a Workspace.
|
|
638
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
639
|
+
* @param workspaceName The name of the Workspace.
|
|
640
|
+
* @param options The options parameters.
|
|
641
|
+
*/
|
|
642
|
+
update(resourceGroupName: string, workspaceName: string, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
|
|
643
|
+
/**
|
|
644
|
+
* Delete a Workspace.
|
|
645
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
646
|
+
* @param workspaceName The name of the Workspace.
|
|
647
|
+
* @param options The options parameters.
|
|
648
|
+
*/
|
|
649
|
+
beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
650
|
+
/**
|
|
651
|
+
* Delete a Workspace.
|
|
652
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
653
|
+
* @param workspaceName The name of the Workspace.
|
|
654
|
+
* @param options The options parameters.
|
|
655
|
+
*/
|
|
656
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/** Optional parameters. */
|
|
660
|
+
export declare interface WorkspacesCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
|
|
661
|
+
/** Workspace details. */
|
|
662
|
+
workspaceResource?: WorkspaceResource;
|
|
663
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
664
|
+
updateIntervalInMs?: number;
|
|
665
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
666
|
+
resumeFrom?: string;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** Contains response data for the createAndUpdate operation. */
|
|
670
|
+
export declare type WorkspacesCreateAndUpdateResponse = WorkspaceResource;
|
|
671
|
+
|
|
672
|
+
/** Optional parameters. */
|
|
673
|
+
export declare interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
674
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
675
|
+
updateIntervalInMs?: number;
|
|
676
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
677
|
+
resumeFrom?: string;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** Optional parameters. */
|
|
681
|
+
export declare interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/** Contains response data for the get operation. */
|
|
685
|
+
export declare type WorkspacesGetResponse = WorkspaceResource;
|
|
686
|
+
|
|
687
|
+
/** Optional parameters. */
|
|
688
|
+
export declare interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
692
|
+
export declare type WorkspacesListByResourceGroupNextResponse = WorkspaceResourceList;
|
|
693
|
+
|
|
694
|
+
/** Optional parameters. */
|
|
695
|
+
export declare interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
699
|
+
export declare type WorkspacesListByResourceGroupResponse = WorkspaceResourceList;
|
|
700
|
+
|
|
701
|
+
/** Optional parameters. */
|
|
702
|
+
export declare interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
706
|
+
export declare type WorkspacesListBySubscriptionNextResponse = WorkspaceResourceList;
|
|
707
|
+
|
|
708
|
+
/** Optional parameters. */
|
|
709
|
+
export declare interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** Contains response data for the listBySubscription operation. */
|
|
713
|
+
export declare type WorkspacesListBySubscriptionResponse = WorkspaceResourceList;
|
|
714
|
+
|
|
715
|
+
/** Optional parameters. */
|
|
716
|
+
export declare interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
717
|
+
/** Workspace patch details. */
|
|
718
|
+
workspacePatchResource?: WorkspacePatchResource;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/** Contains response data for the update operation. */
|
|
722
|
+
export declare type WorkspacesUpdateResponse = WorkspaceResource;
|
|
723
|
+
|
|
724
|
+
export { }
|