@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.
- package/CHANGELOG.md +34 -1
- package/README.md +1 -1
- package/dist/index.js +204 -74
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/agentsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/agentsGetSample.js +2 -2
- package/dist-esm/samples-dev/agentsListSample.js +2 -2
- package/dist-esm/samples-dev/agentsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +96 -7
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/endpointsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/endpointsGetSample.js +64 -4
- package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/endpointsListSample.js +2 -2
- package/dist-esm/samples-dev/endpointsUpdateSample.js +91 -5
- package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsGetSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsListSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/jobRunsGetSample.js +2 -2
- package/dist-esm/samples-dev/jobRunsListSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/projectsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/projectsGetSample.js +2 -2
- package/dist-esm/samples-dev/projectsListSample.js +2 -2
- package/dist-esm/samples-dev/projectsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversDeleteSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversGetSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversListSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversUpdateSample.js +2 -2
- package/dist-esm/src/models/index.d.ts +100 -50
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +16 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +184 -70
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/storageMoverClient.js +2 -2
- package/dist-esm/src/storageMoverClient.js.map +1 -1
- package/dist-esm/test/storagemover_operations_test.spec.js +1 -1
- package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-storagemover.api.md +64 -12
- package/src/models/index.ts +131 -53
- package/src/models/mappers.ts +210 -72
- package/src/models/parameters.ts +1 -1
- package/src/storageMoverClient.ts +2 -2
- package/types/arm-storagemover.d.ts +95 -35
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 2.0.0-beta.2 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -10,6 +10,39 @@
|
|
|
10
10
|
|
|
11
11
|
### Other Changes
|
|
12
12
|
|
|
13
|
+
## 2.0.0-beta.1 (2023-07-12)
|
|
14
|
+
|
|
15
|
+
**Features**
|
|
16
|
+
|
|
17
|
+
- Added Interface AzureKeyVaultSmbCredentials
|
|
18
|
+
- Added Interface AzureStorageSmbFileShareEndpointProperties
|
|
19
|
+
- Added Interface AzureStorageSmbFileShareEndpointUpdateProperties
|
|
20
|
+
- Added Interface Credentials
|
|
21
|
+
- Added Interface SmbMountEndpointProperties
|
|
22
|
+
- Added Interface SmbMountEndpointUpdateProperties
|
|
23
|
+
- Added Type Alias CredentialsUnion
|
|
24
|
+
- Added Type Alias CredentialType
|
|
25
|
+
- Added Type Alias EndpointBaseUpdatePropertiesUnion
|
|
26
|
+
- Interface Resource has a new optional parameter systemData
|
|
27
|
+
- Type of parameter endpointType of interface EndpointBaseProperties is changed from "AzureStorageBlobContainer" | "NfsMount" to "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount"
|
|
28
|
+
- Added Enum KnownCredentialType
|
|
29
|
+
- Enum KnownEndpointType has a new value AzureStorageSmbFileShare
|
|
30
|
+
- Enum KnownEndpointType has a new value SmbMount
|
|
31
|
+
- Interface Agent no longer has parameter systemData
|
|
32
|
+
- Interface Endpoint no longer has parameter systemData
|
|
33
|
+
- Interface JobDefinition no longer has parameter systemData
|
|
34
|
+
- Interface JobRun no longer has parameter systemData
|
|
35
|
+
- Interface Project no longer has parameter systemData
|
|
36
|
+
- Interface StorageMover no longer has parameter systemData
|
|
37
|
+
|
|
38
|
+
**Breaking Changes**
|
|
39
|
+
|
|
40
|
+
- Interface AzureStorageBlobContainerEndpointUpdateProperties has a new required parameter endpointType
|
|
41
|
+
- Interface EndpointBaseUpdateProperties has a new required parameter endpointType
|
|
42
|
+
- Interface NfsMountEndpointUpdateProperties has a new required parameter endpointType
|
|
43
|
+
- Type of parameter properties of interface EndpointBaseUpdateParameters is changed from EndpointBaseUpdateProperties to EndpointBaseUpdatePropertiesUnion
|
|
44
|
+
|
|
45
|
+
|
|
13
46
|
## 1.0.0 (2023-03-07)
|
|
14
47
|
|
|
15
48
|
The package of @azure/arm-storagemover is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The Azure Storage Mover REST API.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-storagemover) |
|
|
9
|
-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-storagemover) |
|
|
9
|
+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-storagemover?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
package/dist/index.js
CHANGED
|
@@ -124,6 +124,10 @@ exports.KnownEndpointType = void 0;
|
|
|
124
124
|
KnownEndpointType["AzureStorageBlobContainer"] = "AzureStorageBlobContainer";
|
|
125
125
|
/** NfsMount */
|
|
126
126
|
KnownEndpointType["NfsMount"] = "NfsMount";
|
|
127
|
+
/** AzureStorageSmbFileShare */
|
|
128
|
+
KnownEndpointType["AzureStorageSmbFileShare"] = "AzureStorageSmbFileShare";
|
|
129
|
+
/** SmbMount */
|
|
130
|
+
KnownEndpointType["SmbMount"] = "SmbMount";
|
|
127
131
|
})(exports.KnownEndpointType || (exports.KnownEndpointType = {}));
|
|
128
132
|
/** Known values of {@link CopyMode} that the service accepts. */
|
|
129
133
|
exports.KnownCopyMode = void 0;
|
|
@@ -173,6 +177,12 @@ exports.KnownNfsVersion = void 0;
|
|
|
173
177
|
/** NFSv4 */
|
|
174
178
|
KnownNfsVersion["NFSv4"] = "NFSv4";
|
|
175
179
|
})(exports.KnownNfsVersion || (exports.KnownNfsVersion = {}));
|
|
180
|
+
/** Known values of {@link CredentialType} that the service accepts. */
|
|
181
|
+
exports.KnownCredentialType = void 0;
|
|
182
|
+
(function (KnownCredentialType) {
|
|
183
|
+
/** AzureKeyVaultSmb */
|
|
184
|
+
KnownCredentialType["AzureKeyVaultSmb"] = "AzureKeyVaultSmb";
|
|
185
|
+
})(exports.KnownCredentialType || (exports.KnownCredentialType = {}));
|
|
176
186
|
|
|
177
187
|
/*
|
|
178
188
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -409,6 +419,42 @@ const StorageMoverList = {
|
|
|
409
419
|
}
|
|
410
420
|
}
|
|
411
421
|
};
|
|
422
|
+
const Resource = {
|
|
423
|
+
type: {
|
|
424
|
+
name: "Composite",
|
|
425
|
+
className: "Resource",
|
|
426
|
+
modelProperties: {
|
|
427
|
+
id: {
|
|
428
|
+
serializedName: "id",
|
|
429
|
+
readOnly: true,
|
|
430
|
+
type: {
|
|
431
|
+
name: "String"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
name: {
|
|
435
|
+
serializedName: "name",
|
|
436
|
+
readOnly: true,
|
|
437
|
+
type: {
|
|
438
|
+
name: "String"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
type: {
|
|
442
|
+
serializedName: "type",
|
|
443
|
+
readOnly: true,
|
|
444
|
+
type: {
|
|
445
|
+
name: "String"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
systemData: {
|
|
449
|
+
serializedName: "systemData",
|
|
450
|
+
type: {
|
|
451
|
+
name: "Composite",
|
|
452
|
+
className: "SystemData"
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
};
|
|
412
458
|
const SystemData = {
|
|
413
459
|
type: {
|
|
414
460
|
name: "Composite",
|
|
@@ -453,35 +499,6 @@ const SystemData = {
|
|
|
453
499
|
}
|
|
454
500
|
}
|
|
455
501
|
};
|
|
456
|
-
const Resource = {
|
|
457
|
-
type: {
|
|
458
|
-
name: "Composite",
|
|
459
|
-
className: "Resource",
|
|
460
|
-
modelProperties: {
|
|
461
|
-
id: {
|
|
462
|
-
serializedName: "id",
|
|
463
|
-
readOnly: true,
|
|
464
|
-
type: {
|
|
465
|
-
name: "String"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
name: {
|
|
469
|
-
serializedName: "name",
|
|
470
|
-
readOnly: true,
|
|
471
|
-
type: {
|
|
472
|
-
name: "String"
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
type: {
|
|
476
|
-
serializedName: "type",
|
|
477
|
-
readOnly: true,
|
|
478
|
-
type: {
|
|
479
|
-
name: "String"
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
502
|
const StorageMoverUpdateParameters = {
|
|
486
503
|
type: {
|
|
487
504
|
name: "Composite",
|
|
@@ -645,7 +662,19 @@ const EndpointBaseUpdateProperties = {
|
|
|
645
662
|
type: {
|
|
646
663
|
name: "Composite",
|
|
647
664
|
className: "EndpointBaseUpdateProperties",
|
|
665
|
+
uberParent: "EndpointBaseUpdateProperties",
|
|
666
|
+
polymorphicDiscriminator: {
|
|
667
|
+
serializedName: "endpointType",
|
|
668
|
+
clientName: "endpointType"
|
|
669
|
+
},
|
|
648
670
|
modelProperties: {
|
|
671
|
+
endpointType: {
|
|
672
|
+
serializedName: "endpointType",
|
|
673
|
+
required: true,
|
|
674
|
+
type: {
|
|
675
|
+
name: "String"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
649
678
|
description: {
|
|
650
679
|
serializedName: "description",
|
|
651
680
|
type: {
|
|
@@ -820,6 +849,26 @@ const JobRunError = {
|
|
|
820
849
|
}
|
|
821
850
|
}
|
|
822
851
|
};
|
|
852
|
+
const Credentials = {
|
|
853
|
+
type: {
|
|
854
|
+
name: "Composite",
|
|
855
|
+
className: "Credentials",
|
|
856
|
+
uberParent: "Credentials",
|
|
857
|
+
polymorphicDiscriminator: {
|
|
858
|
+
serializedName: "type",
|
|
859
|
+
clientName: "type"
|
|
860
|
+
},
|
|
861
|
+
modelProperties: {
|
|
862
|
+
type: {
|
|
863
|
+
serializedName: "type",
|
|
864
|
+
required: true,
|
|
865
|
+
type: {
|
|
866
|
+
name: "String"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
};
|
|
823
872
|
const TrackedResource = {
|
|
824
873
|
type: {
|
|
825
874
|
name: "Composite",
|
|
@@ -895,31 +944,127 @@ const NfsMountEndpointProperties = {
|
|
|
895
944
|
} })
|
|
896
945
|
}
|
|
897
946
|
};
|
|
947
|
+
const AzureStorageSmbFileShareEndpointProperties = {
|
|
948
|
+
serializedName: "AzureStorageSmbFileShare",
|
|
949
|
+
type: {
|
|
950
|
+
name: "Composite",
|
|
951
|
+
className: "AzureStorageSmbFileShareEndpointProperties",
|
|
952
|
+
uberParent: "EndpointBaseProperties",
|
|
953
|
+
polymorphicDiscriminator: EndpointBaseProperties.type.polymorphicDiscriminator,
|
|
954
|
+
modelProperties: Object.assign(Object.assign({}, EndpointBaseProperties.type.modelProperties), { storageAccountResourceId: {
|
|
955
|
+
serializedName: "storageAccountResourceId",
|
|
956
|
+
required: true,
|
|
957
|
+
type: {
|
|
958
|
+
name: "String"
|
|
959
|
+
}
|
|
960
|
+
}, fileShareName: {
|
|
961
|
+
serializedName: "fileShareName",
|
|
962
|
+
required: true,
|
|
963
|
+
type: {
|
|
964
|
+
name: "String"
|
|
965
|
+
}
|
|
966
|
+
} })
|
|
967
|
+
}
|
|
968
|
+
};
|
|
969
|
+
const SmbMountEndpointProperties = {
|
|
970
|
+
serializedName: "SmbMount",
|
|
971
|
+
type: {
|
|
972
|
+
name: "Composite",
|
|
973
|
+
className: "SmbMountEndpointProperties",
|
|
974
|
+
uberParent: "EndpointBaseProperties",
|
|
975
|
+
polymorphicDiscriminator: EndpointBaseProperties.type.polymorphicDiscriminator,
|
|
976
|
+
modelProperties: Object.assign(Object.assign({}, EndpointBaseProperties.type.modelProperties), { host: {
|
|
977
|
+
serializedName: "host",
|
|
978
|
+
required: true,
|
|
979
|
+
type: {
|
|
980
|
+
name: "String"
|
|
981
|
+
}
|
|
982
|
+
}, shareName: {
|
|
983
|
+
serializedName: "shareName",
|
|
984
|
+
required: true,
|
|
985
|
+
type: {
|
|
986
|
+
name: "String"
|
|
987
|
+
}
|
|
988
|
+
}, credentials: {
|
|
989
|
+
serializedName: "credentials",
|
|
990
|
+
type: {
|
|
991
|
+
name: "Composite",
|
|
992
|
+
className: "AzureKeyVaultSmbCredentials"
|
|
993
|
+
}
|
|
994
|
+
} })
|
|
995
|
+
}
|
|
996
|
+
};
|
|
898
997
|
const AzureStorageBlobContainerEndpointUpdateProperties = {
|
|
998
|
+
serializedName: "AzureStorageBlobContainer",
|
|
899
999
|
type: {
|
|
900
1000
|
name: "Composite",
|
|
901
1001
|
className: "AzureStorageBlobContainerEndpointUpdateProperties",
|
|
1002
|
+
uberParent: "EndpointBaseUpdateProperties",
|
|
1003
|
+
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
902
1004
|
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
903
1005
|
}
|
|
904
1006
|
};
|
|
905
1007
|
const NfsMountEndpointUpdateProperties = {
|
|
1008
|
+
serializedName: "NfsMount",
|
|
906
1009
|
type: {
|
|
907
1010
|
name: "Composite",
|
|
908
1011
|
className: "NfsMountEndpointUpdateProperties",
|
|
1012
|
+
uberParent: "EndpointBaseUpdateProperties",
|
|
1013
|
+
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
909
1014
|
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
910
1015
|
}
|
|
911
1016
|
};
|
|
912
|
-
const
|
|
1017
|
+
const AzureStorageSmbFileShareEndpointUpdateProperties = {
|
|
1018
|
+
serializedName: "AzureStorageSmbFileShare",
|
|
913
1019
|
type: {
|
|
914
1020
|
name: "Composite",
|
|
915
|
-
className: "
|
|
916
|
-
|
|
917
|
-
|
|
1021
|
+
className: "AzureStorageSmbFileShareEndpointUpdateProperties",
|
|
1022
|
+
uberParent: "EndpointBaseUpdateProperties",
|
|
1023
|
+
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
1024
|
+
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
1025
|
+
}
|
|
1026
|
+
};
|
|
1027
|
+
const SmbMountEndpointUpdateProperties = {
|
|
1028
|
+
serializedName: "SmbMount",
|
|
1029
|
+
type: {
|
|
1030
|
+
name: "Composite",
|
|
1031
|
+
className: "SmbMountEndpointUpdateProperties",
|
|
1032
|
+
uberParent: "EndpointBaseUpdateProperties",
|
|
1033
|
+
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
1034
|
+
modelProperties: Object.assign(Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties), { credentials: {
|
|
1035
|
+
serializedName: "credentials",
|
|
918
1036
|
type: {
|
|
919
1037
|
name: "Composite",
|
|
920
|
-
className: "
|
|
1038
|
+
className: "AzureKeyVaultSmbCredentials"
|
|
921
1039
|
}
|
|
922
|
-
}
|
|
1040
|
+
} })
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
const AzureKeyVaultSmbCredentials = {
|
|
1044
|
+
serializedName: "AzureKeyVaultSmb",
|
|
1045
|
+
type: {
|
|
1046
|
+
name: "Composite",
|
|
1047
|
+
className: "AzureKeyVaultSmbCredentials",
|
|
1048
|
+
uberParent: "Credentials",
|
|
1049
|
+
polymorphicDiscriminator: Credentials.type.polymorphicDiscriminator,
|
|
1050
|
+
modelProperties: Object.assign(Object.assign({}, Credentials.type.modelProperties), { usernameUri: {
|
|
1051
|
+
serializedName: "usernameUri",
|
|
1052
|
+
type: {
|
|
1053
|
+
name: "String"
|
|
1054
|
+
}
|
|
1055
|
+
}, passwordUri: {
|
|
1056
|
+
serializedName: "passwordUri",
|
|
1057
|
+
type: {
|
|
1058
|
+
name: "String"
|
|
1059
|
+
}
|
|
1060
|
+
} })
|
|
1061
|
+
}
|
|
1062
|
+
};
|
|
1063
|
+
const StorageMover = {
|
|
1064
|
+
type: {
|
|
1065
|
+
name: "Composite",
|
|
1066
|
+
className: "StorageMover",
|
|
1067
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { description: {
|
|
923
1068
|
serializedName: "properties.description",
|
|
924
1069
|
type: {
|
|
925
1070
|
name: "String"
|
|
@@ -937,13 +1082,7 @@ const Agent = {
|
|
|
937
1082
|
type: {
|
|
938
1083
|
name: "Composite",
|
|
939
1084
|
className: "Agent",
|
|
940
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), {
|
|
941
|
-
serializedName: "systemData",
|
|
942
|
-
type: {
|
|
943
|
-
name: "Composite",
|
|
944
|
-
className: "SystemData"
|
|
945
|
-
}
|
|
946
|
-
}, description: {
|
|
1085
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
947
1086
|
serializedName: "properties.description",
|
|
948
1087
|
type: {
|
|
949
1088
|
name: "String"
|
|
@@ -1027,12 +1166,6 @@ const Endpoint = {
|
|
|
1027
1166
|
name: "Composite",
|
|
1028
1167
|
className: "EndpointBaseProperties"
|
|
1029
1168
|
}
|
|
1030
|
-
}, systemData: {
|
|
1031
|
-
serializedName: "systemData",
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "Composite",
|
|
1034
|
-
className: "SystemData"
|
|
1035
|
-
}
|
|
1036
1169
|
} })
|
|
1037
1170
|
}
|
|
1038
1171
|
};
|
|
@@ -1040,13 +1173,7 @@ const Project = {
|
|
|
1040
1173
|
type: {
|
|
1041
1174
|
name: "Composite",
|
|
1042
1175
|
className: "Project",
|
|
1043
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), {
|
|
1044
|
-
serializedName: "systemData",
|
|
1045
|
-
type: {
|
|
1046
|
-
name: "Composite",
|
|
1047
|
-
className: "SystemData"
|
|
1048
|
-
}
|
|
1049
|
-
}, description: {
|
|
1176
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
1050
1177
|
serializedName: "properties.description",
|
|
1051
1178
|
type: {
|
|
1052
1179
|
name: "String"
|
|
@@ -1064,13 +1191,7 @@ const JobDefinition = {
|
|
|
1064
1191
|
type: {
|
|
1065
1192
|
name: "Composite",
|
|
1066
1193
|
className: "JobDefinition",
|
|
1067
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), {
|
|
1068
|
-
serializedName: "systemData",
|
|
1069
|
-
type: {
|
|
1070
|
-
name: "Composite",
|
|
1071
|
-
className: "SystemData"
|
|
1072
|
-
}
|
|
1073
|
-
}, description: {
|
|
1194
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
1074
1195
|
serializedName: "properties.description",
|
|
1075
1196
|
type: {
|
|
1076
1197
|
name: "String"
|
|
@@ -1157,13 +1278,7 @@ const JobRun = {
|
|
|
1157
1278
|
type: {
|
|
1158
1279
|
name: "Composite",
|
|
1159
1280
|
className: "JobRun",
|
|
1160
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), {
|
|
1161
|
-
serializedName: "systemData",
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "Composite",
|
|
1164
|
-
className: "SystemData"
|
|
1165
|
-
}
|
|
1166
|
-
}, status: {
|
|
1281
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { status: {
|
|
1167
1282
|
serializedName: "properties.status",
|
|
1168
1283
|
readOnly: true,
|
|
1169
1284
|
type: {
|
|
@@ -1339,8 +1454,17 @@ const JobRun = {
|
|
|
1339
1454
|
};
|
|
1340
1455
|
let discriminators = {
|
|
1341
1456
|
EndpointBaseProperties: EndpointBaseProperties,
|
|
1457
|
+
EndpointBaseUpdateProperties: EndpointBaseUpdateProperties,
|
|
1458
|
+
Credentials: Credentials,
|
|
1342
1459
|
"EndpointBaseProperties.AzureStorageBlobContainer": AzureStorageBlobContainerEndpointProperties,
|
|
1343
|
-
"EndpointBaseProperties.NfsMount": NfsMountEndpointProperties
|
|
1460
|
+
"EndpointBaseProperties.NfsMount": NfsMountEndpointProperties,
|
|
1461
|
+
"EndpointBaseProperties.AzureStorageSmbFileShare": AzureStorageSmbFileShareEndpointProperties,
|
|
1462
|
+
"EndpointBaseProperties.SmbMount": SmbMountEndpointProperties,
|
|
1463
|
+
"EndpointBaseUpdateProperties.AzureStorageBlobContainer": AzureStorageBlobContainerEndpointUpdateProperties,
|
|
1464
|
+
"EndpointBaseUpdateProperties.NfsMount": NfsMountEndpointUpdateProperties,
|
|
1465
|
+
"EndpointBaseUpdateProperties.AzureStorageSmbFileShare": AzureStorageSmbFileShareEndpointUpdateProperties,
|
|
1466
|
+
"EndpointBaseUpdateProperties.SmbMount": SmbMountEndpointUpdateProperties,
|
|
1467
|
+
"Credentials.AzureKeyVaultSmb": AzureKeyVaultSmbCredentials
|
|
1344
1468
|
};
|
|
1345
1469
|
|
|
1346
1470
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -1352,8 +1476,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1352
1476
|
ErrorDetail: ErrorDetail,
|
|
1353
1477
|
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1354
1478
|
StorageMoverList: StorageMoverList,
|
|
1355
|
-
SystemData: SystemData,
|
|
1356
1479
|
Resource: Resource,
|
|
1480
|
+
SystemData: SystemData,
|
|
1357
1481
|
StorageMoverUpdateParameters: StorageMoverUpdateParameters,
|
|
1358
1482
|
AgentList: AgentList,
|
|
1359
1483
|
AgentPropertiesErrorDetails: AgentPropertiesErrorDetails,
|
|
@@ -1369,12 +1493,18 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1369
1493
|
JobRunResourceId: JobRunResourceId,
|
|
1370
1494
|
JobRunList: JobRunList,
|
|
1371
1495
|
JobRunError: JobRunError,
|
|
1496
|
+
Credentials: Credentials,
|
|
1372
1497
|
TrackedResource: TrackedResource,
|
|
1373
1498
|
ProxyResource: ProxyResource,
|
|
1374
1499
|
AzureStorageBlobContainerEndpointProperties: AzureStorageBlobContainerEndpointProperties,
|
|
1375
1500
|
NfsMountEndpointProperties: NfsMountEndpointProperties,
|
|
1501
|
+
AzureStorageSmbFileShareEndpointProperties: AzureStorageSmbFileShareEndpointProperties,
|
|
1502
|
+
SmbMountEndpointProperties: SmbMountEndpointProperties,
|
|
1376
1503
|
AzureStorageBlobContainerEndpointUpdateProperties: AzureStorageBlobContainerEndpointUpdateProperties,
|
|
1377
1504
|
NfsMountEndpointUpdateProperties: NfsMountEndpointUpdateProperties,
|
|
1505
|
+
AzureStorageSmbFileShareEndpointUpdateProperties: AzureStorageSmbFileShareEndpointUpdateProperties,
|
|
1506
|
+
SmbMountEndpointUpdateProperties: SmbMountEndpointUpdateProperties,
|
|
1507
|
+
AzureKeyVaultSmbCredentials: AzureKeyVaultSmbCredentials,
|
|
1378
1508
|
StorageMover: StorageMover,
|
|
1379
1509
|
Agent: Agent,
|
|
1380
1510
|
Endpoint: Endpoint,
|
|
@@ -1416,7 +1546,7 @@ const $host = {
|
|
|
1416
1546
|
const apiVersion = {
|
|
1417
1547
|
parameterPath: "apiVersion",
|
|
1418
1548
|
mapper: {
|
|
1419
|
-
defaultValue: "2023-
|
|
1549
|
+
defaultValue: "2023-07-01-preview",
|
|
1420
1550
|
isConstant: true,
|
|
1421
1551
|
serializedName: "api-version",
|
|
1422
1552
|
type: {
|
|
@@ -3866,7 +3996,7 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
3866
3996
|
requestContentType: "application/json; charset=utf-8",
|
|
3867
3997
|
credential: credentials
|
|
3868
3998
|
};
|
|
3869
|
-
const packageDetails = `azsdk-js-arm-storagemover/
|
|
3999
|
+
const packageDetails = `azsdk-js-arm-storagemover/2.0.0-beta.2`;
|
|
3870
4000
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3871
4001
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3872
4002
|
: `${packageDetails}`;
|
|
@@ -3899,7 +4029,7 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
3899
4029
|
this.subscriptionId = subscriptionId;
|
|
3900
4030
|
// Assigning values to Constant parameters
|
|
3901
4031
|
this.$host = options.$host || "https://management.azure.com";
|
|
3902
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
4032
|
+
this.apiVersion = options.apiVersion || "2023-07-01-preview";
|
|
3903
4033
|
this.operations = new OperationsImpl(this);
|
|
3904
4034
|
this.storageMovers = new StorageMoversImpl(this);
|
|
3905
4035
|
this.agents = new AgentsImpl(this);
|