Skip to content

Commit fc8fd04

Browse files
[AutoPR @azure-arm-storagemover]-generated-from-SDK Generation - JS-5276149 (#35805)
Configurations: 'specification/storagemover/StorageMover.Management/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: '17891d99ece54475e43fb8665727d044e8fb2f54' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5276149 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. ## Release plan Summary: Release plan: https://aka.ms/sdk-release-planner?release-plan-id=8a207093-f286-f011-b4cc-0022480bb79b API spec pull request: Azure/azure-rest-api-specs#37068 --------- Co-authored-by: ZiWei Chen <[email protected]> Co-authored-by: kazrael2119 <[email protected]>
1 parent 5e60618 commit fc8fd04

260 files changed

Lines changed: 12133 additions & 12222 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pnpm-lock.yaml

Lines changed: 31 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/storagemover/arm-storagemover/CHANGELOG.md

Lines changed: 150 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,160 @@
11
# Release History
22

3-
## 2.1.1 (Unreleased)
3+
## 3.0.0 (2025-09-04)
44

55
### Features Added
6+
- Added operation AgentsOperations.delete
7+
- Added operation EndpointsOperations.delete
8+
- Added operation JobDefinitionsOperations.delete
9+
- Added operation ProjectsOperations.delete
10+
- Added operation StorageMoversOperations.delete
11+
- Added Interface AgentProperties
12+
- Added Interface AgentUpdateProperties
13+
- Added Interface AzureMultiCloudConnectorEndpointProperties
14+
- Added Interface AzureMultiCloudConnectorEndpointUpdateProperties
15+
- Added Interface AzureStorageNfsFileShareEndpointProperties
16+
- Added Interface AzureStorageNfsFileShareEndpointUpdateProperties
17+
- Added Interface JobDefinitionProperties
18+
- Added Interface JobDefinitionUpdateProperties
19+
- Added Interface JobRunProperties
20+
- Added Interface ManagedServiceIdentity
21+
- Added Interface PagedAsyncIterableIterator
22+
- Added Interface PageSettings
23+
- Added Interface ProjectProperties
24+
- Added Interface ProjectUpdateProperties
25+
- Added Interface RestorePollerOptions
26+
- Added Interface SourceEndpoint
27+
- Added Interface SourceEndpointProperties
28+
- Added Interface SourceTargetMap
29+
- Added Interface StorageMoverProperties
30+
- Added Interface StorageMoverUpdateProperties
31+
- Added Interface TargetEndpoint
32+
- Added Interface TargetEndpointProperties
33+
- Added Interface UserAssignedIdentity
34+
- Interface AgentUpdateParameters has a new optional parameter properties
35+
- Interface Endpoint has a new optional parameter identity
36+
- Interface EndpointBaseUpdateParameters has a new optional parameter identity
37+
- Interface JobDefinitionUpdateParameters has a new optional parameter properties
38+
- Interface JobRun has a new optional parameter properties
39+
- Interface Project has a new optional parameter properties
40+
- Interface ProjectUpdateParameters has a new optional parameter properties
41+
- Interface StorageMover has a new optional parameter properties
42+
- Interface StorageMoverUpdateParameters has a new optional parameter properties
43+
- Added Type Alias AzureSupportedClouds
44+
- Added Type Alias JobType
45+
- Added Type Alias ManagedServiceIdentityType
46+
- Added Enum AzureClouds
47+
- Added Enum KnownJobType
48+
- Added Enum KnownManagedServiceIdentityType
49+
- Added Enum KnownVersions
50+
- Enum KnownEndpointType has a new value AzureMultiCloudConnector
51+
- Enum KnownEndpointType has a new value AzureStorageNfsFileShare
652

753
### Breaking Changes
54+
- Removed operation Agents.beginDelete
55+
- Removed operation Agents.beginDeleteAndWait
56+
- Removed operation Endpoints.beginDelete
57+
- Removed operation Endpoints.beginDeleteAndWait
58+
- Removed operation JobDefinitions.beginDelete
59+
- Removed operation JobDefinitions.beginDeleteAndWait
60+
- Removed operation Projects.beginDelete
61+
- Removed operation Projects.beginDeleteAndWait
62+
- Removed operation StorageMovers.beginDelete
63+
- Removed operation StorageMovers.beginDeleteAndWait
64+
- Operation Agents.createOrUpdate has a new signature
65+
- Operation Agents.get has a new signature
66+
- Operation Agents.update has a new signature
67+
- Operation Endpoints.createOrUpdate has a new signature
68+
- Operation Endpoints.get has a new signature
69+
- Operation Endpoints.update has a new signature
70+
- Operation JobDefinitions.createOrUpdate has a new signature
71+
- Operation JobDefinitions.get has a new signature
72+
- Operation JobDefinitions.update has a new signature
73+
- Operation Projects.update has a new signature
74+
- Removed Interface AgentList
75+
- Removed Interface EndpointList
76+
- Removed Interface JobDefinitionList
77+
- Removed Interface JobRunList
78+
- Removed Interface ProjectList
79+
- Removed Interface StorageMoverList
80+
- Removed Interface UploadLimit
81+
- Interface Agent has a new required parameter properties
82+
- Interface JobDefinition has a new required parameter properties
83+
- Type of parameter type of interface Credentials is changed from "AzureKeyVaultSmb" to CredentialType
84+
- Type of parameter endpointType of interface EndpointBaseProperties is changed from "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount" to EndpointType
85+
- Type of parameter endpointType of interface EndpointBaseUpdateProperties is changed from "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount" to EndpointType
86+
- Interface Agent no longer has parameter agentStatus
87+
- Interface Agent no longer has parameter agentVersion
88+
- Interface Agent no longer has parameter arcResourceId
89+
- Interface Agent no longer has parameter arcVmUuid
90+
- Interface Agent no longer has parameter description
91+
- Interface Agent no longer has parameter errorDetails
92+
- Interface Agent no longer has parameter lastStatusUpdate
93+
- Interface Agent no longer has parameter localIPAddress
94+
- Interface Agent no longer has parameter memoryInMB
95+
- Interface Agent no longer has parameter numberOfCores
96+
- Interface Agent no longer has parameter provisioningState
97+
- Interface Agent no longer has parameter timeZone
98+
- Interface Agent no longer has parameter uploadLimitSchedule
99+
- Interface Agent no longer has parameter uptimeInSeconds
100+
- Interface AgentUpdateParameters no longer has parameter description
101+
- Interface AgentUpdateParameters no longer has parameter uploadLimitSchedule
102+
- Interface JobDefinition no longer has parameter agentName
103+
- Interface JobDefinition no longer has parameter agentResourceId
104+
- Interface JobDefinition no longer has parameter copyMode
105+
- Interface JobDefinition no longer has parameter description
106+
- Interface JobDefinition no longer has parameter latestJobRunName
107+
- Interface JobDefinition no longer has parameter latestJobRunResourceId
108+
- Interface JobDefinition no longer has parameter latestJobRunStatus
109+
- Interface JobDefinition no longer has parameter provisioningState
110+
- Interface JobDefinition no longer has parameter sourceName
111+
- Interface JobDefinition no longer has parameter sourceResourceId
112+
- Interface JobDefinition no longer has parameter sourceSubpath
113+
- Interface JobDefinition no longer has parameter targetName
114+
- Interface JobDefinition no longer has parameter targetResourceId
115+
- Interface JobDefinition no longer has parameter targetSubpath
116+
- Interface JobDefinitionUpdateParameters no longer has parameter agentName
117+
- Interface JobDefinitionUpdateParameters no longer has parameter copyMode
118+
- Interface JobDefinitionUpdateParameters no longer has parameter description
119+
- Interface JobRun no longer has parameter agentName
120+
- Interface JobRun no longer has parameter agentResourceId
121+
- Interface JobRun no longer has parameter bytesExcluded
122+
- Interface JobRun no longer has parameter bytesFailed
123+
- Interface JobRun no longer has parameter bytesNoTransferNeeded
124+
- Interface JobRun no longer has parameter bytesScanned
125+
- Interface JobRun no longer has parameter bytesTransferred
126+
- Interface JobRun no longer has parameter bytesUnsupported
127+
- Interface JobRun no longer has parameter error
128+
- Interface JobRun no longer has parameter executionEndTime
129+
- Interface JobRun no longer has parameter executionStartTime
130+
- Interface JobRun no longer has parameter itemsExcluded
131+
- Interface JobRun no longer has parameter itemsFailed
132+
- Interface JobRun no longer has parameter itemsNoTransferNeeded
133+
- Interface JobRun no longer has parameter itemsScanned
134+
- Interface JobRun no longer has parameter itemsTransferred
135+
- Interface JobRun no longer has parameter itemsUnsupported
136+
- Interface JobRun no longer has parameter jobDefinitionProperties
137+
- Interface JobRun no longer has parameter lastStatusUpdate
138+
- Interface JobRun no longer has parameter provisioningState
139+
- Interface JobRun no longer has parameter scanStatus
140+
- Interface JobRun no longer has parameter sourceName
141+
- Interface JobRun no longer has parameter sourceProperties
142+
- Interface JobRun no longer has parameter sourceResourceId
143+
- Interface JobRun no longer has parameter status
144+
- Interface JobRun no longer has parameter targetName
145+
- Interface JobRun no longer has parameter targetProperties
146+
- Interface JobRun no longer has parameter targetResourceId
147+
- Interface Project no longer has parameter description
148+
- Interface Project no longer has parameter provisioningState
149+
- Interface ProjectUpdateParameters no longer has parameter description
150+
- Interface StorageMover no longer has parameter description
151+
- Interface StorageMover no longer has parameter provisioningState
152+
- Interface StorageMoverUpdateParameters no longer has parameter description
153+
- Type alias "CredentialsUnion" has been changed
154+
- Type alias "EndpointBasePropertiesUnion" has been changed
155+
- Type alias "EndpointBaseUpdatePropertiesUnion" has been changed
8156

9-
### Bugs Fixed
10-
11-
### Other Changes
12-
157+
13158
## 2.1.0 (2024-06-13)
14159

15160
### Features Added

sdk/storagemover/arm-storagemover/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/storagemover/arm-storagemover/README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
The Azure Storage Mover REST API.
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-storagemover) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-storagemover) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-storagemover)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-storagemover?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover/samples)
1113

1214
## Getting started
1315

@@ -44,36 +46,35 @@ npm install @azure/identity
4446
```
4547

4648
You will also need to **register a new AAD application and grant access to Azure StorageMover** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4849

4950
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5051

5152
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52-
53+
5354
```ts snippet:ReadmeSampleCreateClient_Node
5455
import { StorageMoverClient } from "@azure/arm-storagemover";
5556
import { DefaultAzureCredential } from "@azure/identity";
5657

5758
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5859
const client = new StorageMoverClient(new DefaultAzureCredential(), subscriptionId);
5960
```
60-
61+
6162
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62-
63+
6364
```ts snippet:ReadmeSampleCreateClient_Browser
6465
import { InteractiveBrowserCredential } from "@azure/identity";
6566
import { StorageMoverClient } from "@azure/arm-storagemover";
6667

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6868
const credential = new InteractiveBrowserCredential({
6969
tenantId: "<YOUR_TENANT_ID>",
7070
clientId: "<YOUR_CLIENT_ID>",
7171
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7273
const client = new StorageMoverClient(credential, subscriptionId);
7374
```
7475

75-
### JavaScript Bundle
7676

77+
### JavaScript Bundle
7778
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7879

7980
## Key concepts
@@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9899

99100
## Next steps
100101

101-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover/samples) directory for detailed examples on how to use this library.
102103

103104
## Contributing
104105

@@ -108,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108109

109110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110111

111-
112-
113-
[azure_cli]: https://learn.microsoft.com/cli/azure
114-
[azure_sub]: https://azure.microsoft.com/free/
115112
[azure_sub]: https://azure.microsoft.com/free/
116113
[azure_portal]: https://portal.azure.com
117114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/storagemover/arm-storagemover/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-package-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-files-required": "off",
10+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
11+
"tsdoc/syntax": "warn",
12+
},
13+
},
14+
]);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"apiVersion": "2025-07-01",
3+
"emitterVersion": "0.43.0"
4+
}

0 commit comments

Comments
 (0)