@azure/arm-storagemover 1.0.1-alpha.20230718.1 → 2.0.0-alpha.20230801.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +1 -1
  3. package/dist/index.js +204 -74
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +3 -3
  8. package/dist-esm/samples-dev/agentsDeleteSample.js +2 -2
  9. package/dist-esm/samples-dev/agentsGetSample.js +2 -2
  10. package/dist-esm/samples-dev/agentsListSample.js +2 -2
  11. package/dist-esm/samples-dev/agentsUpdateSample.js +2 -2
  12. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +96 -7
  13. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/endpointsDeleteSample.js +2 -2
  15. package/dist-esm/samples-dev/endpointsGetSample.js +64 -4
  16. package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -1
  17. package/dist-esm/samples-dev/endpointsListSample.js +2 -2
  18. package/dist-esm/samples-dev/endpointsUpdateSample.js +91 -5
  19. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
  21. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +2 -2
  22. package/dist-esm/samples-dev/jobDefinitionsGetSample.js +2 -2
  23. package/dist-esm/samples-dev/jobDefinitionsListSample.js +2 -2
  24. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +2 -2
  25. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +2 -2
  26. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +2 -2
  27. package/dist-esm/samples-dev/jobRunsGetSample.js +2 -2
  28. package/dist-esm/samples-dev/jobRunsListSample.js +2 -2
  29. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  30. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +2 -2
  31. package/dist-esm/samples-dev/projectsDeleteSample.js +2 -2
  32. package/dist-esm/samples-dev/projectsGetSample.js +2 -2
  33. package/dist-esm/samples-dev/projectsListSample.js +2 -2
  34. package/dist-esm/samples-dev/projectsUpdateSample.js +2 -2
  35. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
  36. package/dist-esm/samples-dev/storageMoversDeleteSample.js +2 -2
  37. package/dist-esm/samples-dev/storageMoversGetSample.js +2 -2
  38. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +2 -2
  39. package/dist-esm/samples-dev/storageMoversListSample.js +2 -2
  40. package/dist-esm/samples-dev/storageMoversUpdateSample.js +2 -2
  41. package/dist-esm/src/models/index.d.ts +100 -50
  42. package/dist-esm/src/models/index.d.ts.map +1 -1
  43. package/dist-esm/src/models/index.js +10 -0
  44. package/dist-esm/src/models/index.js.map +1 -1
  45. package/dist-esm/src/models/mappers.d.ts +16 -1
  46. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  47. package/dist-esm/src/models/mappers.js +184 -70
  48. package/dist-esm/src/models/mappers.js.map +1 -1
  49. package/dist-esm/src/models/parameters.js +1 -1
  50. package/dist-esm/src/models/parameters.js.map +1 -1
  51. package/dist-esm/src/storageMoverClient.js +2 -2
  52. package/dist-esm/src/storageMoverClient.js.map +1 -1
  53. package/dist-esm/test/storagemover_operations_test.spec.js +1 -1
  54. package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
  55. package/package.json +2 -2
  56. package/review/arm-storagemover.api.md +64 -12
  57. package/src/models/index.ts +131 -53
  58. package/src/models/mappers.ts +210 -72
  59. package/src/models/parameters.ts +1 -1
  60. package/src/storageMoverClient.ts +2 -2
  61. package/types/arm-storagemover.d.ts +95 -35
  62. package/types/tsdoc-metadata.json +1 -1
@@ -26,7 +26,6 @@ export interface Agent extends ProxyResource {
26
26
  readonly memoryInMB?: number;
27
27
  readonly numberOfCores?: number;
28
28
  readonly provisioningState?: ProvisioningState;
29
- readonly systemData?: SystemData;
30
29
  readonly uptimeInSeconds?: number;
31
30
  }
32
31
 
@@ -101,7 +100,14 @@ export interface AgentUpdateParameters {
101
100
  description?: string;
102
101
  }
103
102
 
104
- // @public (undocumented)
103
+ // @public
104
+ export interface AzureKeyVaultSmbCredentials extends Credentials {
105
+ passwordUri?: string;
106
+ type: "AzureKeyVaultSmb";
107
+ usernameUri?: string;
108
+ }
109
+
110
+ // @public
105
111
  export interface AzureStorageBlobContainerEndpointProperties extends EndpointBaseProperties {
106
112
  blobContainerName: string;
107
113
  endpointType: "AzureStorageBlobContainer";
@@ -110,6 +116,19 @@ export interface AzureStorageBlobContainerEndpointProperties extends EndpointBas
110
116
 
111
117
  // @public (undocumented)
112
118
  export interface AzureStorageBlobContainerEndpointUpdateProperties extends EndpointBaseUpdateProperties {
119
+ endpointType: "AzureStorageBlobContainer";
120
+ }
121
+
122
+ // @public
123
+ export interface AzureStorageSmbFileShareEndpointProperties extends EndpointBaseProperties {
124
+ endpointType: "AzureStorageSmbFileShare";
125
+ fileShareName: string;
126
+ storageAccountResourceId: string;
127
+ }
128
+
129
+ // @public
130
+ export interface AzureStorageSmbFileShareEndpointUpdateProperties extends EndpointBaseUpdateProperties {
131
+ endpointType: "AzureStorageSmbFileShare";
113
132
  }
114
133
 
115
134
  // @public
@@ -118,32 +137,46 @@ export type CopyMode = string;
118
137
  // @public
119
138
  export type CreatedByType = string;
120
139
 
140
+ // @public
141
+ export interface Credentials {
142
+ type: "AzureKeyVaultSmb";
143
+ }
144
+
145
+ // @public (undocumented)
146
+ export type CredentialsUnion = Credentials | AzureKeyVaultSmbCredentials;
147
+
148
+ // @public
149
+ export type CredentialType = string;
150
+
121
151
  // @public
122
152
  export interface Endpoint extends ProxyResource {
123
153
  properties: EndpointBasePropertiesUnion;
124
- readonly systemData?: SystemData;
125
154
  }
126
155
 
127
156
  // @public
128
157
  export interface EndpointBaseProperties {
129
158
  description?: string;
130
- endpointType: "AzureStorageBlobContainer" | "NfsMount";
159
+ endpointType: "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount";
131
160
  readonly provisioningState?: ProvisioningState;
132
161
  }
133
162
 
134
163
  // @public (undocumented)
135
- export type EndpointBasePropertiesUnion = EndpointBaseProperties | AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties;
164
+ export type EndpointBasePropertiesUnion = EndpointBaseProperties | AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties | AzureStorageSmbFileShareEndpointProperties | SmbMountEndpointProperties;
136
165
 
137
166
  // @public
138
167
  export interface EndpointBaseUpdateParameters {
139
- properties?: EndpointBaseUpdateProperties;
168
+ properties?: EndpointBaseUpdatePropertiesUnion;
140
169
  }
141
170
 
142
171
  // @public
143
172
  export interface EndpointBaseUpdateProperties {
144
173
  description?: string;
174
+ endpointType: "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount";
145
175
  }
146
176
 
177
+ // @public (undocumented)
178
+ export type EndpointBaseUpdatePropertiesUnion = EndpointBaseUpdateProperties | AzureStorageBlobContainerEndpointUpdateProperties | NfsMountEndpointUpdateProperties | AzureStorageSmbFileShareEndpointUpdateProperties | SmbMountEndpointUpdateProperties;
179
+
147
180
  // @public
148
181
  export interface EndpointList {
149
182
  readonly nextLink?: string;
@@ -240,7 +273,6 @@ export interface JobDefinition extends ProxyResource {
240
273
  sourceName: string;
241
274
  readonly sourceResourceId?: string;
242
275
  sourceSubpath?: string;
243
- readonly systemData?: SystemData;
244
276
  targetName: string;
245
277
  readonly targetResourceId?: string;
246
278
  targetSubpath?: string;
@@ -353,7 +385,6 @@ export interface JobRun extends ProxyResource {
353
385
  readonly sourceProperties?: Record<string, unknown>;
354
386
  readonly sourceResourceId?: string;
355
387
  readonly status?: JobRunStatus;
356
- readonly systemData?: SystemData;
357
388
  readonly targetName?: string;
358
389
  readonly targetProperties?: Record<string, unknown>;
359
390
  readonly targetResourceId?: string;
@@ -439,10 +470,17 @@ export enum KnownCreatedByType {
439
470
  User = "User"
440
471
  }
441
472
 
473
+ // @public
474
+ export enum KnownCredentialType {
475
+ AzureKeyVaultSmb = "AzureKeyVaultSmb"
476
+ }
477
+
442
478
  // @public
443
479
  export enum KnownEndpointType {
444
480
  AzureStorageBlobContainer = "AzureStorageBlobContainer",
445
- NfsMount = "NfsMount"
481
+ AzureStorageSmbFileShare = "AzureStorageSmbFileShare",
482
+ NfsMount = "NfsMount",
483
+ SmbMount = "SmbMount"
446
484
  }
447
485
 
448
486
  // @public
@@ -483,7 +521,7 @@ export enum KnownProvisioningState {
483
521
  Succeeded = "Succeeded"
484
522
  }
485
523
 
486
- // @public (undocumented)
524
+ // @public
487
525
  export interface NfsMountEndpointProperties extends EndpointBaseProperties {
488
526
  endpointType: "NfsMount";
489
527
  export: string;
@@ -493,6 +531,7 @@ export interface NfsMountEndpointProperties extends EndpointBaseProperties {
493
531
 
494
532
  // @public (undocumented)
495
533
  export interface NfsMountEndpointUpdateProperties extends EndpointBaseUpdateProperties {
534
+ endpointType: "NfsMount";
496
535
  }
497
536
 
498
537
  // @public
@@ -547,7 +586,6 @@ export type Origin = string;
547
586
  export interface Project extends ProxyResource {
548
587
  description?: string;
549
588
  readonly provisioningState?: ProvisioningState;
550
- readonly systemData?: SystemData;
551
589
  }
552
590
 
553
591
  // @public
@@ -623,14 +661,28 @@ export interface ProxyResource extends Resource {
623
661
  export interface Resource {
624
662
  readonly id?: string;
625
663
  readonly name?: string;
664
+ readonly systemData?: SystemData;
626
665
  readonly type?: string;
627
666
  }
628
667
 
668
+ // @public
669
+ export interface SmbMountEndpointProperties extends EndpointBaseProperties {
670
+ credentials?: AzureKeyVaultSmbCredentials;
671
+ endpointType: "SmbMount";
672
+ host: string;
673
+ shareName: string;
674
+ }
675
+
676
+ // @public
677
+ export interface SmbMountEndpointUpdateProperties extends EndpointBaseUpdateProperties {
678
+ credentials?: AzureKeyVaultSmbCredentials;
679
+ endpointType: "SmbMount";
680
+ }
681
+
629
682
  // @public
630
683
  export interface StorageMover extends TrackedResource {
631
684
  description?: string;
632
685
  readonly provisioningState?: ProvisioningState;
633
- readonly systemData?: SystemData;
634
686
  }
635
687
 
636
688
  // @public (undocumented)
@@ -11,7 +11,16 @@ import * as coreClient from "@azure/core-client";
11
11
  export type EndpointBasePropertiesUnion =
12
12
  | EndpointBaseProperties
13
13
  | AzureStorageBlobContainerEndpointProperties
14
- | NfsMountEndpointProperties;
14
+ | NfsMountEndpointProperties
15
+ | AzureStorageSmbFileShareEndpointProperties
16
+ | SmbMountEndpointProperties;
17
+ export type EndpointBaseUpdatePropertiesUnion =
18
+ | EndpointBaseUpdateProperties
19
+ | AzureStorageBlobContainerEndpointUpdateProperties
20
+ | NfsMountEndpointUpdateProperties
21
+ | AzureStorageSmbFileShareEndpointUpdateProperties
22
+ | SmbMountEndpointUpdateProperties;
23
+ export type CredentialsUnion = Credentials | AzureKeyVaultSmbCredentials;
15
24
 
16
25
  /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
17
26
  export interface OperationListResult {
@@ -137,22 +146,6 @@ export interface StorageMoverList {
137
146
  readonly nextLink?: string;
138
147
  }
139
148
 
140
- /** Metadata pertaining to creation and last modification of the resource. */
141
- export interface SystemData {
142
- /** The identity that created the resource. */
143
- createdBy?: string;
144
- /** The type of identity that created the resource. */
145
- createdByType?: CreatedByType;
146
- /** The timestamp of resource creation (UTC). */
147
- createdAt?: Date;
148
- /** The identity that last modified the resource. */
149
- lastModifiedBy?: string;
150
- /** The type of identity that last modified the resource. */
151
- lastModifiedByType?: CreatedByType;
152
- /** The timestamp of resource last modification (UTC) */
153
- lastModifiedAt?: Date;
154
- }
155
-
156
149
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
157
150
  export interface Resource {
158
151
  /**
@@ -170,6 +163,27 @@ export interface Resource {
170
163
  * NOTE: This property will not be serialized. It can only be populated by the server.
171
164
  */
172
165
  readonly type?: string;
166
+ /**
167
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly systemData?: SystemData;
171
+ }
172
+
173
+ /** Metadata pertaining to creation and last modification of the resource. */
174
+ export interface SystemData {
175
+ /** The identity that created the resource. */
176
+ createdBy?: string;
177
+ /** The type of identity that created the resource. */
178
+ createdByType?: CreatedByType;
179
+ /** The timestamp of resource creation (UTC). */
180
+ createdAt?: Date;
181
+ /** The identity that last modified the resource. */
182
+ lastModifiedBy?: string;
183
+ /** The type of identity that last modified the resource. */
184
+ lastModifiedByType?: CreatedByType;
185
+ /** The timestamp of resource last modification (UTC) */
186
+ lastModifiedAt?: Date;
173
187
  }
174
188
 
175
189
  /** The Storage Mover resource. */
@@ -218,7 +232,11 @@ export interface EndpointList {
218
232
  /** The resource specific properties for the Storage Mover resource. */
219
233
  export interface EndpointBaseProperties {
220
234
  /** Polymorphic discriminator, which specifies the different types this object can be */
221
- endpointType: "AzureStorageBlobContainer" | "NfsMount";
235
+ endpointType:
236
+ | "AzureStorageBlobContainer"
237
+ | "NfsMount"
238
+ | "AzureStorageSmbFileShare"
239
+ | "SmbMount";
222
240
  /** A description for the Endpoint. */
223
241
  description?: string;
224
242
  /**
@@ -231,11 +249,17 @@ export interface EndpointBaseProperties {
231
249
  /** The Endpoint resource. */
232
250
  export interface EndpointBaseUpdateParameters {
233
251
  /** The Endpoint resource, which contains information about file sources and targets. */
234
- properties?: EndpointBaseUpdateProperties;
252
+ properties?: EndpointBaseUpdatePropertiesUnion;
235
253
  }
236
254
 
237
255
  /** The Endpoint resource, which contains information about file sources and targets. */
238
256
  export interface EndpointBaseUpdateProperties {
257
+ /** Polymorphic discriminator, which specifies the different types this object can be */
258
+ endpointType:
259
+ | "AzureStorageBlobContainer"
260
+ | "NfsMount"
261
+ | "AzureStorageSmbFileShare"
262
+ | "SmbMount";
239
263
  /** A description for the Endpoint. */
240
264
  description?: string;
241
265
  }
@@ -308,6 +332,12 @@ export interface JobRunError {
308
332
  target?: string;
309
333
  }
310
334
 
335
+ /** The Credentials. */
336
+ export interface Credentials {
337
+ /** Polymorphic discriminator, which specifies the different types this object can be */
338
+ type: "AzureKeyVaultSmb";
339
+ }
340
+
311
341
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
312
342
  export interface TrackedResource extends Resource {
313
343
  /** Resource tags. */
@@ -319,6 +349,7 @@ export interface TrackedResource extends Resource {
319
349
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
320
350
  export interface ProxyResource extends Resource {}
321
351
 
352
+ /** The properties of Azure Storage blob container endpoint. */
322
353
  export interface AzureStorageBlobContainerEndpointProperties
323
354
  extends EndpointBaseProperties {
324
355
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -329,6 +360,7 @@ export interface AzureStorageBlobContainerEndpointProperties
329
360
  blobContainerName: string;
330
361
  }
331
362
 
363
+ /** The properties of NFS share endpoint. */
332
364
  export interface NfsMountEndpointProperties extends EndpointBaseProperties {
333
365
  /** Polymorphic discriminator, which specifies the different types this object can be */
334
366
  endpointType: "NfsMount";
@@ -340,19 +372,69 @@ export interface NfsMountEndpointProperties extends EndpointBaseProperties {
340
372
  export: string;
341
373
  }
342
374
 
375
+ /** The properties of Azure Storage SMB file share endpoint. */
376
+ export interface AzureStorageSmbFileShareEndpointProperties
377
+ extends EndpointBaseProperties {
378
+ /** Polymorphic discriminator, which specifies the different types this object can be */
379
+ endpointType: "AzureStorageSmbFileShare";
380
+ /** The Azure Resource ID of the storage account. */
381
+ storageAccountResourceId: string;
382
+ /** The name of the Azure Storage file share. */
383
+ fileShareName: string;
384
+ }
385
+
386
+ /** The properties of SMB share endpoint. */
387
+ export interface SmbMountEndpointProperties extends EndpointBaseProperties {
388
+ /** Polymorphic discriminator, which specifies the different types this object can be */
389
+ endpointType: "SmbMount";
390
+ /** The host name or IP address of the server exporting the file system. */
391
+ host: string;
392
+ /** The name of the SMB share being exported from the server. */
393
+ shareName: string;
394
+ /** The Azure Key Vault secret URIs which store the required credentials to access the SMB share. */
395
+ credentials?: AzureKeyVaultSmbCredentials;
396
+ }
397
+
343
398
  export interface AzureStorageBlobContainerEndpointUpdateProperties
344
- extends EndpointBaseUpdateProperties {}
399
+ extends EndpointBaseUpdateProperties {
400
+ /** Polymorphic discriminator, which specifies the different types this object can be */
401
+ endpointType: "AzureStorageBlobContainer";
402
+ }
345
403
 
346
404
  export interface NfsMountEndpointUpdateProperties
347
- extends EndpointBaseUpdateProperties {}
405
+ extends EndpointBaseUpdateProperties {
406
+ /** Polymorphic discriminator, which specifies the different types this object can be */
407
+ endpointType: "NfsMount";
408
+ }
409
+
410
+ /** The properties of Azure Storage SMB file share endpoint to update. */
411
+ export interface AzureStorageSmbFileShareEndpointUpdateProperties
412
+ extends EndpointBaseUpdateProperties {
413
+ /** Polymorphic discriminator, which specifies the different types this object can be */
414
+ endpointType: "AzureStorageSmbFileShare";
415
+ }
416
+
417
+ /** The properties of SMB share endpoint to update. */
418
+ export interface SmbMountEndpointUpdateProperties
419
+ extends EndpointBaseUpdateProperties {
420
+ /** Polymorphic discriminator, which specifies the different types this object can be */
421
+ endpointType: "SmbMount";
422
+ /** The Azure Key Vault secret URIs which store the required credentials to access the SMB share. */
423
+ credentials?: AzureKeyVaultSmbCredentials;
424
+ }
425
+
426
+ /** The Azure Key Vault secret URIs which store the credentials. */
427
+ export interface AzureKeyVaultSmbCredentials extends Credentials {
428
+ /** Polymorphic discriminator, which specifies the different types this object can be */
429
+ type: "AzureKeyVaultSmb";
430
+ /** The Azure Key Vault secret URI which stores the username. Use empty string to clean-up existing value. */
431
+ usernameUri?: string;
432
+ /** The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. */
433
+ passwordUri?: string;
434
+ }
348
435
 
349
436
  /** The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. */
350
437
  export interface StorageMover extends TrackedResource {
351
- /**
352
- * Resource system metadata.
353
- * NOTE: This property will not be serialized. It can only be populated by the server.
354
- */
355
- readonly systemData?: SystemData;
356
438
  /** A description for the Storage Mover. */
357
439
  description?: string;
358
440
  /**
@@ -364,11 +446,6 @@ export interface StorageMover extends TrackedResource {
364
446
 
365
447
  /** The Agent resource. */
366
448
  export interface Agent extends ProxyResource {
367
- /**
368
- * Resource system metadata.
369
- * NOTE: This property will not be serialized. It can only be populated by the server.
370
- */
371
- readonly systemData?: SystemData;
372
449
  /** A description for the Agent. */
373
450
  description?: string;
374
451
  /**
@@ -423,20 +500,10 @@ export interface Agent extends ProxyResource {
423
500
  export interface Endpoint extends ProxyResource {
424
501
  /** The resource specific properties for the Storage Mover resource. */
425
502
  properties: EndpointBasePropertiesUnion;
426
- /**
427
- * Resource system metadata.
428
- * NOTE: This property will not be serialized. It can only be populated by the server.
429
- */
430
- readonly systemData?: SystemData;
431
503
  }
432
504
 
433
505
  /** The Project resource. */
434
506
  export interface Project extends ProxyResource {
435
- /**
436
- * Resource system metadata.
437
- * NOTE: This property will not be serialized. It can only be populated by the server.
438
- */
439
- readonly systemData?: SystemData;
440
507
  /** A description for the Project. */
441
508
  description?: string;
442
509
  /**
@@ -448,11 +515,6 @@ export interface Project extends ProxyResource {
448
515
 
449
516
  /** The Job Definition resource. */
450
517
  export interface JobDefinition extends ProxyResource {
451
- /**
452
- * Resource system metadata.
453
- * NOTE: This property will not be serialized. It can only be populated by the server.
454
- */
455
- readonly systemData?: SystemData;
456
518
  /** A description for the Job Definition. */
457
519
  description?: string;
458
520
  /** Strategy to use for copy. */
@@ -506,11 +568,6 @@ export interface JobDefinition extends ProxyResource {
506
568
 
507
569
  /** The Job Run resource. */
508
570
  export interface JobRun extends ProxyResource {
509
- /**
510
- * Resource system metadata.
511
- * NOTE: This property will not be serialized. It can only be populated by the server.
512
- */
513
- readonly systemData?: SystemData;
514
571
  /**
515
572
  * The state of the job execution.
516
573
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -763,7 +820,11 @@ export enum KnownEndpointType {
763
820
  /** AzureStorageBlobContainer */
764
821
  AzureStorageBlobContainer = "AzureStorageBlobContainer",
765
822
  /** NfsMount */
766
- NfsMount = "NfsMount"
823
+ NfsMount = "NfsMount",
824
+ /** AzureStorageSmbFileShare */
825
+ AzureStorageSmbFileShare = "AzureStorageSmbFileShare",
826
+ /** SmbMount */
827
+ SmbMount = "SmbMount"
767
828
  }
768
829
 
769
830
  /**
@@ -772,7 +833,9 @@ export enum KnownEndpointType {
772
833
  * this enum contains the known values that the service supports.
773
834
  * ### Known values supported by the service
774
835
  * **AzureStorageBlobContainer** \
775
- * **NfsMount**
836
+ * **NfsMount** \
837
+ * **AzureStorageSmbFileShare** \
838
+ * **SmbMount**
776
839
  */
777
840
  export type EndpointType = string;
778
841
 
@@ -872,6 +935,21 @@ export enum KnownNfsVersion {
872
935
  */
873
936
  export type NfsVersion = string;
874
937
 
938
+ /** Known values of {@link CredentialType} that the service accepts. */
939
+ export enum KnownCredentialType {
940
+ /** AzureKeyVaultSmb */
941
+ AzureKeyVaultSmb = "AzureKeyVaultSmb"
942
+ }
943
+
944
+ /**
945
+ * Defines values for CredentialType. \
946
+ * {@link KnownCredentialType} can be used interchangeably with CredentialType,
947
+ * this enum contains the known values that the service supports.
948
+ * ### Known values supported by the service
949
+ * **AzureKeyVaultSmb**
950
+ */
951
+ export type CredentialType = string;
952
+
875
953
  /** Optional parameters. */
876
954
  export interface OperationsListOptionalParams
877
955
  extends coreClient.OperationOptions {}