@azure/arm-storagemover 2.0.0-beta.1 → 2.0.1-alpha.20231023.2
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 +44 -1
- package/README.md +1 -1
- package/dist/index.js +36 -39
- 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 +1 -1
- package/dist-esm/samples-dev/agentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/agentsGetSample.js +1 -1
- package/dist-esm/samples-dev/agentsListSample.js +1 -1
- package/dist-esm/samples-dev/agentsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/endpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/endpointsGetSample.js +4 -4
- package/dist-esm/samples-dev/endpointsListSample.js +1 -1
- package/dist-esm/samples-dev/endpointsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsListSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/jobRunsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobRunsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/projectsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/projectsGetSample.js +1 -1
- package/dist-esm/samples-dev/projectsListSample.js +1 -1
- package/dist-esm/samples-dev/projectsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversGetSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversListSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversUpdateSample.js +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 +6 -6
- package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
- package/package.json +13 -19
- package/src/models/parameters.ts +1 -1
- package/src/storageMoverClient.ts +2 -2
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,47 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 2.0.1 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
13
|
+
## 2.0.0 (2023-10-07)
|
|
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
|
+
|
|
2
45
|
|
|
3
46
|
## 2.0.0-beta.1 (2023-07-12)
|
|
4
47
|
|
|
@@ -35,4 +78,4 @@
|
|
|
35
78
|
|
|
36
79
|
## 1.0.0 (2023-03-07)
|
|
37
80
|
|
|
38
|
-
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
|
|
81
|
+
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/azsdk/js/mgmt/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) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var tslib = require('tslib');
|
|
6
4
|
var coreClient = require('@azure/core-client');
|
|
7
5
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
6
|
var coreLro = require('@azure/core-lro');
|
|
9
7
|
|
|
10
|
-
function
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
12
9
|
var n = Object.create(null);
|
|
13
10
|
if (e) {
|
|
14
11
|
Object.keys(e).forEach(function (k) {
|
|
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
|
|
|
21
18
|
}
|
|
22
19
|
});
|
|
23
20
|
}
|
|
24
|
-
n
|
|
21
|
+
n.default = e;
|
|
25
22
|
return Object.freeze(n);
|
|
26
23
|
}
|
|
27
24
|
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/
|
|
25
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
26
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
30
27
|
|
|
31
28
|
/*
|
|
32
29
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -1469,48 +1466,48 @@ let discriminators = {
|
|
|
1469
1466
|
|
|
1470
1467
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1471
1468
|
__proto__: null,
|
|
1472
|
-
|
|
1473
|
-
Operation: Operation,
|
|
1474
|
-
OperationDisplay: OperationDisplay,
|
|
1475
|
-
ErrorResponse: ErrorResponse,
|
|
1476
|
-
ErrorDetail: ErrorDetail,
|
|
1477
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1478
|
-
StorageMoverList: StorageMoverList,
|
|
1479
|
-
Resource: Resource,
|
|
1480
|
-
SystemData: SystemData,
|
|
1481
|
-
StorageMoverUpdateParameters: StorageMoverUpdateParameters,
|
|
1469
|
+
Agent: Agent,
|
|
1482
1470
|
AgentList: AgentList,
|
|
1483
1471
|
AgentPropertiesErrorDetails: AgentPropertiesErrorDetails,
|
|
1484
1472
|
AgentUpdateParameters: AgentUpdateParameters,
|
|
1485
|
-
|
|
1473
|
+
AzureKeyVaultSmbCredentials: AzureKeyVaultSmbCredentials,
|
|
1474
|
+
AzureStorageBlobContainerEndpointProperties: AzureStorageBlobContainerEndpointProperties,
|
|
1475
|
+
AzureStorageBlobContainerEndpointUpdateProperties: AzureStorageBlobContainerEndpointUpdateProperties,
|
|
1476
|
+
AzureStorageSmbFileShareEndpointProperties: AzureStorageSmbFileShareEndpointProperties,
|
|
1477
|
+
AzureStorageSmbFileShareEndpointUpdateProperties: AzureStorageSmbFileShareEndpointUpdateProperties,
|
|
1478
|
+
Credentials: Credentials,
|
|
1479
|
+
Endpoint: Endpoint,
|
|
1486
1480
|
EndpointBaseProperties: EndpointBaseProperties,
|
|
1487
1481
|
EndpointBaseUpdateParameters: EndpointBaseUpdateParameters,
|
|
1488
1482
|
EndpointBaseUpdateProperties: EndpointBaseUpdateProperties,
|
|
1489
|
-
|
|
1490
|
-
|
|
1483
|
+
EndpointList: EndpointList,
|
|
1484
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1485
|
+
ErrorDetail: ErrorDetail,
|
|
1486
|
+
ErrorResponse: ErrorResponse,
|
|
1487
|
+
JobDefinition: JobDefinition,
|
|
1491
1488
|
JobDefinitionList: JobDefinitionList,
|
|
1492
1489
|
JobDefinitionUpdateParameters: JobDefinitionUpdateParameters,
|
|
1493
|
-
|
|
1494
|
-
JobRunList: JobRunList,
|
|
1490
|
+
JobRun: JobRun,
|
|
1495
1491
|
JobRunError: JobRunError,
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
ProxyResource: ProxyResource,
|
|
1499
|
-
AzureStorageBlobContainerEndpointProperties: AzureStorageBlobContainerEndpointProperties,
|
|
1492
|
+
JobRunList: JobRunList,
|
|
1493
|
+
JobRunResourceId: JobRunResourceId,
|
|
1500
1494
|
NfsMountEndpointProperties: NfsMountEndpointProperties,
|
|
1501
|
-
AzureStorageSmbFileShareEndpointProperties: AzureStorageSmbFileShareEndpointProperties,
|
|
1502
|
-
SmbMountEndpointProperties: SmbMountEndpointProperties,
|
|
1503
|
-
AzureStorageBlobContainerEndpointUpdateProperties: AzureStorageBlobContainerEndpointUpdateProperties,
|
|
1504
1495
|
NfsMountEndpointUpdateProperties: NfsMountEndpointUpdateProperties,
|
|
1505
|
-
|
|
1496
|
+
Operation: Operation,
|
|
1497
|
+
OperationDisplay: OperationDisplay,
|
|
1498
|
+
OperationListResult: OperationListResult,
|
|
1499
|
+
Project: Project,
|
|
1500
|
+
ProjectList: ProjectList,
|
|
1501
|
+
ProjectUpdateParameters: ProjectUpdateParameters,
|
|
1502
|
+
ProxyResource: ProxyResource,
|
|
1503
|
+
Resource: Resource,
|
|
1504
|
+
SmbMountEndpointProperties: SmbMountEndpointProperties,
|
|
1506
1505
|
SmbMountEndpointUpdateProperties: SmbMountEndpointUpdateProperties,
|
|
1507
|
-
AzureKeyVaultSmbCredentials: AzureKeyVaultSmbCredentials,
|
|
1508
1506
|
StorageMover: StorageMover,
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
JobRun: JobRun,
|
|
1507
|
+
StorageMoverList: StorageMoverList,
|
|
1508
|
+
StorageMoverUpdateParameters: StorageMoverUpdateParameters,
|
|
1509
|
+
SystemData: SystemData,
|
|
1510
|
+
TrackedResource: TrackedResource,
|
|
1514
1511
|
discriminators: discriminators
|
|
1515
1512
|
});
|
|
1516
1513
|
|
|
@@ -1546,7 +1543,7 @@ const $host = {
|
|
|
1546
1543
|
const apiVersion = {
|
|
1547
1544
|
parameterPath: "apiVersion",
|
|
1548
1545
|
mapper: {
|
|
1549
|
-
defaultValue: "2023-
|
|
1546
|
+
defaultValue: "2023-10-01",
|
|
1550
1547
|
isConstant: true,
|
|
1551
1548
|
serializedName: "api-version",
|
|
1552
1549
|
type: {
|
|
@@ -3996,7 +3993,7 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
3996
3993
|
requestContentType: "application/json; charset=utf-8",
|
|
3997
3994
|
credential: credentials
|
|
3998
3995
|
};
|
|
3999
|
-
const packageDetails = `azsdk-js-arm-storagemover/2.0.
|
|
3996
|
+
const packageDetails = `azsdk-js-arm-storagemover/2.0.1`;
|
|
4000
3997
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4001
3998
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4002
3999
|
: `${packageDetails}`;
|
|
@@ -4029,7 +4026,7 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
4029
4026
|
this.subscriptionId = subscriptionId;
|
|
4030
4027
|
// Assigning values to Constant parameters
|
|
4031
4028
|
this.$host = options.$host || "https://management.azure.com";
|
|
4032
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
4029
|
+
this.apiVersion = options.apiVersion || "2023-10-01";
|
|
4033
4030
|
this.operations = new OperationsImpl(this);
|
|
4034
4031
|
this.storageMovers = new StorageMoversImpl(this);
|
|
4035
4032
|
this.agents = new AgentsImpl(this);
|