@azure/arm-qumulo 1.0.0
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 +1602 -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/fileSystemsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js +93 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.js +56 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.js +56 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js +96 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js +94 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.js +74 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.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 +96 -0
- package/dist-esm/samples-dev/operationsListSample.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 +415 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +48 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +618 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +109 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/fileSystems.d.ts +99 -0
- package/dist-esm/src/operations/fileSystems.d.ts.map +1 -0
- package/dist-esm/src/operations/fileSystems.js +499 -0
- package/dist-esm/src/operations/fileSystems.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/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/src/qumuloStorage.d.ts +21 -0
- package/dist-esm/src/qumuloStorage.d.ts.map +1 -0
- package/dist-esm/src/qumuloStorage.js +101 -0
- package/dist-esm/src/qumuloStorage.js.map +1 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.js +76 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-qumulo.api.md +315 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +477 -0
- package/src/models/mappers.ts +653 -0
- package/src/models/parameters.ts +127 -0
- package/src/operations/fileSystems.ts +633 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/operations.ts +149 -0
- package/src/operationsInterfaces/fileSystems.ts +121 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/pagingHelper.ts +39 -0
- package/src/qumuloStorage.ts +142 -0
- package/tsconfig.json +33 -0
- package/types/arm-qumulo.d.ts +563 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,563 @@
|
|
|
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
|
+
/** The resource management error additional info. */
|
|
29
|
+
export declare interface ErrorAdditionalInfo {
|
|
30
|
+
/**
|
|
31
|
+
* The additional info type.
|
|
32
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
33
|
+
*/
|
|
34
|
+
readonly type?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The additional info.
|
|
37
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
38
|
+
*/
|
|
39
|
+
readonly info?: Record<string, unknown>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** The error detail. */
|
|
43
|
+
export declare interface ErrorDetail {
|
|
44
|
+
/**
|
|
45
|
+
* The error code.
|
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
47
|
+
*/
|
|
48
|
+
readonly code?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The error message.
|
|
51
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
52
|
+
*/
|
|
53
|
+
readonly message?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The error target.
|
|
56
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
57
|
+
*/
|
|
58
|
+
readonly target?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The error details.
|
|
61
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
|
+
*/
|
|
63
|
+
readonly details?: ErrorDetail[];
|
|
64
|
+
/**
|
|
65
|
+
* The error additional info.
|
|
66
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
67
|
+
*/
|
|
68
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
72
|
+
export declare interface ErrorResponse {
|
|
73
|
+
/** The error object. */
|
|
74
|
+
error?: ErrorDetail;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** A FileSystem Resource by Qumulo */
|
|
78
|
+
export declare interface FileSystemResource extends TrackedResource {
|
|
79
|
+
/** The managed service identities assigned to this resource. */
|
|
80
|
+
identity?: ManagedServiceIdentity;
|
|
81
|
+
/** Marketplace details */
|
|
82
|
+
marketplaceDetails: MarketplaceDetails;
|
|
83
|
+
/**
|
|
84
|
+
* Provisioning State of the resource
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly provisioningState?: ProvisioningState;
|
|
88
|
+
/** Storage Sku */
|
|
89
|
+
storageSku: StorageSku;
|
|
90
|
+
/** User Details */
|
|
91
|
+
userDetails: UserDetails;
|
|
92
|
+
/** Delegated subnet id for Vnet injection */
|
|
93
|
+
delegatedSubnetId: string;
|
|
94
|
+
/** File system Id of the resource */
|
|
95
|
+
clusterLoginUrl?: string;
|
|
96
|
+
/** Private IPs of the resource */
|
|
97
|
+
privateIPs?: string[];
|
|
98
|
+
/** Initial administrator password of the resource */
|
|
99
|
+
adminPassword: string;
|
|
100
|
+
/** Storage capacity in TB */
|
|
101
|
+
initialCapacity: number;
|
|
102
|
+
/** Availability zone */
|
|
103
|
+
availabilityZone?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** The response of a FileSystemResource list operation. */
|
|
107
|
+
export declare interface FileSystemResourceListResult {
|
|
108
|
+
/** The FileSystemResource items on this page */
|
|
109
|
+
value: FileSystemResource[];
|
|
110
|
+
/** The link to the next page of items */
|
|
111
|
+
nextLink?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** The type used for update operations of the FileSystemResource. */
|
|
115
|
+
export declare interface FileSystemResourceUpdate {
|
|
116
|
+
/** The managed service identities assigned to this resource. */
|
|
117
|
+
identity?: ManagedServiceIdentity;
|
|
118
|
+
/** Resource tags. */
|
|
119
|
+
tags?: {
|
|
120
|
+
[propertyName: string]: string;
|
|
121
|
+
};
|
|
122
|
+
/** The updatable properties of the FileSystemResource. */
|
|
123
|
+
properties?: FileSystemResourceUpdateProperties;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** The updatable properties of the FileSystemResource. */
|
|
127
|
+
export declare interface FileSystemResourceUpdateProperties {
|
|
128
|
+
/** Marketplace details */
|
|
129
|
+
marketplaceDetails?: MarketplaceDetails;
|
|
130
|
+
/** User Details */
|
|
131
|
+
userDetails?: UserDetails;
|
|
132
|
+
/** Delegated subnet id for Vnet injection */
|
|
133
|
+
delegatedSubnetId?: string;
|
|
134
|
+
/** File system Id of the resource */
|
|
135
|
+
clusterLoginUrl?: string;
|
|
136
|
+
/** Private IPs of the resource */
|
|
137
|
+
privateIPs?: string[];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** Interface representing a FileSystems. */
|
|
141
|
+
export declare interface FileSystems {
|
|
142
|
+
/**
|
|
143
|
+
* List FileSystemResource resources by subscription ID
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
listBySubscription(options?: FileSystemsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FileSystemResource>;
|
|
147
|
+
/**
|
|
148
|
+
* List FileSystemResource resources by resource group
|
|
149
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
listByResourceGroup(resourceGroupName: string, options?: FileSystemsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<FileSystemResource>;
|
|
153
|
+
/**
|
|
154
|
+
* Get a FileSystemResource
|
|
155
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
+
* @param fileSystemName Name of the File System resource
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
get(resourceGroupName: string, fileSystemName: string, options?: FileSystemsGetOptionalParams): Promise<FileSystemsGetResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Create a FileSystemResource
|
|
162
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
163
|
+
* @param fileSystemName Name of the File System resource
|
|
164
|
+
* @param resource Resource create parameters.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
beginCreateOrUpdate(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FileSystemsCreateOrUpdateResponse>, FileSystemsCreateOrUpdateResponse>>;
|
|
168
|
+
/**
|
|
169
|
+
* Create a FileSystemResource
|
|
170
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
171
|
+
* @param fileSystemName Name of the File System resource
|
|
172
|
+
* @param resource Resource create parameters.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<FileSystemsCreateOrUpdateResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Update a FileSystemResource
|
|
178
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
179
|
+
* @param fileSystemName Name of the File System resource
|
|
180
|
+
* @param properties The resource properties to be updated.
|
|
181
|
+
* @param options The options parameters.
|
|
182
|
+
*/
|
|
183
|
+
update(resourceGroupName: string, fileSystemName: string, properties: FileSystemResourceUpdate, options?: FileSystemsUpdateOptionalParams): Promise<FileSystemsUpdateResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* Delete a FileSystemResource
|
|
186
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
187
|
+
* @param fileSystemName Name of the File System resource
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
beginDelete(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
191
|
+
/**
|
|
192
|
+
* Delete a FileSystemResource
|
|
193
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
194
|
+
* @param fileSystemName Name of the File System resource
|
|
195
|
+
* @param options The options parameters.
|
|
196
|
+
*/
|
|
197
|
+
beginDeleteAndWait(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<void>;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** Optional parameters. */
|
|
201
|
+
export declare interface FileSystemsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
202
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
203
|
+
updateIntervalInMs?: number;
|
|
204
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
205
|
+
resumeFrom?: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
209
|
+
export declare type FileSystemsCreateOrUpdateResponse = FileSystemResource;
|
|
210
|
+
|
|
211
|
+
/** Optional parameters. */
|
|
212
|
+
export declare interface FileSystemsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
213
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
214
|
+
updateIntervalInMs?: number;
|
|
215
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
216
|
+
resumeFrom?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** Optional parameters. */
|
|
220
|
+
export declare interface FileSystemsGetOptionalParams extends coreClient.OperationOptions {
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/** Contains response data for the get operation. */
|
|
224
|
+
export declare type FileSystemsGetResponse = FileSystemResource;
|
|
225
|
+
|
|
226
|
+
/** Optional parameters. */
|
|
227
|
+
export declare interface FileSystemsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
231
|
+
export declare type FileSystemsListByResourceGroupNextResponse = FileSystemResourceListResult;
|
|
232
|
+
|
|
233
|
+
/** Optional parameters. */
|
|
234
|
+
export declare interface FileSystemsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
238
|
+
export declare type FileSystemsListByResourceGroupResponse = FileSystemResourceListResult;
|
|
239
|
+
|
|
240
|
+
/** Optional parameters. */
|
|
241
|
+
export declare interface FileSystemsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
245
|
+
export declare type FileSystemsListBySubscriptionNextResponse = FileSystemResourceListResult;
|
|
246
|
+
|
|
247
|
+
/** Optional parameters. */
|
|
248
|
+
export declare interface FileSystemsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/** Contains response data for the listBySubscription operation. */
|
|
252
|
+
export declare type FileSystemsListBySubscriptionResponse = FileSystemResourceListResult;
|
|
253
|
+
|
|
254
|
+
/** Optional parameters. */
|
|
255
|
+
export declare interface FileSystemsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/** Contains response data for the update operation. */
|
|
259
|
+
export declare type FileSystemsUpdateResponse = FileSystemResource;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
263
|
+
* returns a continuation token that can be used to begin paging from
|
|
264
|
+
* that point later.
|
|
265
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
266
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
267
|
+
*/
|
|
268
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
269
|
+
|
|
270
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
271
|
+
export declare enum KnownActionType {
|
|
272
|
+
/** Internal */
|
|
273
|
+
Internal = "Internal"
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
277
|
+
export declare enum KnownCreatedByType {
|
|
278
|
+
/** User */
|
|
279
|
+
User = "User",
|
|
280
|
+
/** Application */
|
|
281
|
+
Application = "Application",
|
|
282
|
+
/** ManagedIdentity */
|
|
283
|
+
ManagedIdentity = "ManagedIdentity",
|
|
284
|
+
/** Key */
|
|
285
|
+
Key = "Key"
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
289
|
+
export declare enum KnownManagedServiceIdentityType {
|
|
290
|
+
/** None */
|
|
291
|
+
None = "None",
|
|
292
|
+
/** SystemAssigned */
|
|
293
|
+
SystemAssigned = "SystemAssigned",
|
|
294
|
+
/** UserAssigned */
|
|
295
|
+
UserAssigned = "UserAssigned",
|
|
296
|
+
/** SystemAssignedUserAssigned */
|
|
297
|
+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
301
|
+
export declare enum KnownOrigin {
|
|
302
|
+
/** User */
|
|
303
|
+
User = "user",
|
|
304
|
+
/** System */
|
|
305
|
+
System = "system",
|
|
306
|
+
/** UserSystem */
|
|
307
|
+
UserSystem = "user,system"
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
311
|
+
export declare interface ManagedServiceIdentity {
|
|
312
|
+
/**
|
|
313
|
+
* The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
314
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
315
|
+
*/
|
|
316
|
+
readonly principalId?: string;
|
|
317
|
+
/**
|
|
318
|
+
* The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
319
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
320
|
+
*/
|
|
321
|
+
readonly tenantId?: string;
|
|
322
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
323
|
+
type: ManagedServiceIdentityType;
|
|
324
|
+
/** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
|
|
325
|
+
userAssignedIdentities?: {
|
|
326
|
+
[propertyName: string]: UserAssignedIdentity;
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
332
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
333
|
+
* this enum contains the known values that the service supports.
|
|
334
|
+
* ### Known values supported by the service
|
|
335
|
+
* **None** \
|
|
336
|
+
* **SystemAssigned** \
|
|
337
|
+
* **UserAssigned** \
|
|
338
|
+
* **SystemAssigned, UserAssigned**
|
|
339
|
+
*/
|
|
340
|
+
export declare type ManagedServiceIdentityType = string;
|
|
341
|
+
|
|
342
|
+
/** MarketplaceDetails of Qumulo FileSystem resource */
|
|
343
|
+
export declare interface MarketplaceDetails {
|
|
344
|
+
/** Marketplace Subscription Id */
|
|
345
|
+
marketplaceSubscriptionId?: string;
|
|
346
|
+
/** Plan Id */
|
|
347
|
+
planId: string;
|
|
348
|
+
/** Offer Id */
|
|
349
|
+
offerId: string;
|
|
350
|
+
/** Publisher Id */
|
|
351
|
+
publisherId: string;
|
|
352
|
+
/**
|
|
353
|
+
* Marketplace subscription status
|
|
354
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
355
|
+
*/
|
|
356
|
+
readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/** Defines values for MarketplaceSubscriptionStatus. */
|
|
360
|
+
export declare type MarketplaceSubscriptionStatus = "PendingFulfillmentStart" | "Subscribed" | "Suspended" | "Unsubscribed";
|
|
361
|
+
|
|
362
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
363
|
+
export declare interface Operation {
|
|
364
|
+
/**
|
|
365
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
367
|
+
*/
|
|
368
|
+
readonly name?: string;
|
|
369
|
+
/**
|
|
370
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
371
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
372
|
+
*/
|
|
373
|
+
readonly isDataAction?: boolean;
|
|
374
|
+
/** Localized display information for this particular operation. */
|
|
375
|
+
display?: OperationDisplay;
|
|
376
|
+
/**
|
|
377
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
378
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
379
|
+
*/
|
|
380
|
+
readonly origin?: Origin;
|
|
381
|
+
/**
|
|
382
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
384
|
+
*/
|
|
385
|
+
readonly actionType?: ActionType;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Localized display information for this particular operation. */
|
|
389
|
+
export declare interface OperationDisplay {
|
|
390
|
+
/**
|
|
391
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
392
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
393
|
+
*/
|
|
394
|
+
readonly provider?: string;
|
|
395
|
+
/**
|
|
396
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
397
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
398
|
+
*/
|
|
399
|
+
readonly resource?: string;
|
|
400
|
+
/**
|
|
401
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
402
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
403
|
+
*/
|
|
404
|
+
readonly operation?: string;
|
|
405
|
+
/**
|
|
406
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
408
|
+
*/
|
|
409
|
+
readonly description?: string;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
413
|
+
export declare interface OperationListResult {
|
|
414
|
+
/**
|
|
415
|
+
* List of operations supported by the resource provider
|
|
416
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
417
|
+
*/
|
|
418
|
+
readonly value?: Operation[];
|
|
419
|
+
/**
|
|
420
|
+
* URL to get the next set of operation list results (if there are any).
|
|
421
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
422
|
+
*/
|
|
423
|
+
readonly nextLink?: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/** Interface representing a Operations. */
|
|
427
|
+
export declare interface Operations {
|
|
428
|
+
/**
|
|
429
|
+
* List the operations for the provider
|
|
430
|
+
* @param options The options parameters.
|
|
431
|
+
*/
|
|
432
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/** Optional parameters. */
|
|
436
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/** Contains response data for the listNext operation. */
|
|
440
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
441
|
+
|
|
442
|
+
/** Optional parameters. */
|
|
443
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/** Contains response data for the list operation. */
|
|
447
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Defines values for Origin. \
|
|
451
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
452
|
+
* this enum contains the known values that the service supports.
|
|
453
|
+
* ### Known values supported by the service
|
|
454
|
+
* **user** \
|
|
455
|
+
* **system** \
|
|
456
|
+
* **user,system**
|
|
457
|
+
*/
|
|
458
|
+
export declare type Origin = string;
|
|
459
|
+
|
|
460
|
+
/** Defines values for ProvisioningState. */
|
|
461
|
+
export declare type ProvisioningState = "Accepted" | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Canceled" | "Deleted" | "NotSpecified";
|
|
462
|
+
|
|
463
|
+
export declare class QumuloStorage extends coreClient.ServiceClient {
|
|
464
|
+
$host: string;
|
|
465
|
+
apiVersion: string;
|
|
466
|
+
subscriptionId: string;
|
|
467
|
+
/**
|
|
468
|
+
* Initializes a new instance of the QumuloStorage class.
|
|
469
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
470
|
+
* @param subscriptionId The ID of the target subscription.
|
|
471
|
+
* @param options The parameter options
|
|
472
|
+
*/
|
|
473
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: QumuloStorageOptionalParams);
|
|
474
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
475
|
+
private addCustomApiVersionPolicy;
|
|
476
|
+
operations: Operations;
|
|
477
|
+
fileSystems: FileSystems;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/** Optional parameters. */
|
|
481
|
+
export declare interface QumuloStorageOptionalParams extends coreClient.ServiceClientOptions {
|
|
482
|
+
/** server parameter */
|
|
483
|
+
$host?: string;
|
|
484
|
+
/** Api Version */
|
|
485
|
+
apiVersion?: string;
|
|
486
|
+
/** Overrides client endpoint. */
|
|
487
|
+
endpoint?: string;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
491
|
+
export declare interface Resource {
|
|
492
|
+
/**
|
|
493
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
494
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
495
|
+
*/
|
|
496
|
+
readonly id?: string;
|
|
497
|
+
/**
|
|
498
|
+
* The name of the resource
|
|
499
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
500
|
+
*/
|
|
501
|
+
readonly name?: string;
|
|
502
|
+
/**
|
|
503
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
504
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
505
|
+
*/
|
|
506
|
+
readonly type?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
509
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
510
|
+
*/
|
|
511
|
+
readonly systemData?: SystemData;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/** Defines values for StorageSku. */
|
|
515
|
+
export declare type StorageSku = "Standard" | "Performance";
|
|
516
|
+
|
|
517
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
518
|
+
export declare interface SystemData {
|
|
519
|
+
/** The identity that created the resource. */
|
|
520
|
+
createdBy?: string;
|
|
521
|
+
/** The type of identity that created the resource. */
|
|
522
|
+
createdByType?: CreatedByType;
|
|
523
|
+
/** The timestamp of resource creation (UTC). */
|
|
524
|
+
createdAt?: Date;
|
|
525
|
+
/** The identity that last modified the resource. */
|
|
526
|
+
lastModifiedBy?: string;
|
|
527
|
+
/** The type of identity that last modified the resource. */
|
|
528
|
+
lastModifiedByType?: CreatedByType;
|
|
529
|
+
/** The timestamp of resource last modification (UTC) */
|
|
530
|
+
lastModifiedAt?: Date;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
534
|
+
export declare interface TrackedResource extends Resource {
|
|
535
|
+
/** Resource tags. */
|
|
536
|
+
tags?: {
|
|
537
|
+
[propertyName: string]: string;
|
|
538
|
+
};
|
|
539
|
+
/** The geo-location where the resource lives */
|
|
540
|
+
location: string;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/** User assigned identity properties */
|
|
544
|
+
export declare interface UserAssignedIdentity {
|
|
545
|
+
/**
|
|
546
|
+
* The principal ID of the assigned identity.
|
|
547
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
548
|
+
*/
|
|
549
|
+
readonly principalId?: string;
|
|
550
|
+
/**
|
|
551
|
+
* The client ID of the assigned identity.
|
|
552
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
553
|
+
*/
|
|
554
|
+
readonly clientId?: string;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/** User Details of Qumulo FileSystem resource */
|
|
558
|
+
export declare interface UserDetails {
|
|
559
|
+
/** User Email */
|
|
560
|
+
email: string;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.35.1"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|