Skip to content

Commit 6f7ec55

Browse files
author
SDKAuto
committed
CodeGen from PR 14005 in Azure/azure-rest-api-specs
Merge 5017e0427d4c8f10751294dcc6059737f30ce19d into bff78c12eca3ca6212bfd61ea6a898643ebc2c72
1 parent ddd7fa8 commit 6f7ec55

29 files changed

+3332
-481
lines changed

sdk/storagesync/arm-storagesync/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/storagesync/arm-storagesync/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-storagesync
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { StorageSyncManagementClient, StorageSyncManagementModels, StorageSyncManagementMappers } from "@azure/arm-storagesync";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { StorageSyncManagementClient } = require("@azure/arm-storagesync");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/storagesync/arm-storagesync/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/storagesync/arm-storagesync/src/models/cloudEndpointsMappers.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,7 +12,10 @@ export {
1212
BaseResource,
1313
CloudEndpoint,
1414
CloudEndpointArray,
15+
CloudEndpointChangeEnumerationActivity,
16+
CloudEndpointChangeEnumerationStatus,
1517
CloudEndpointCreateParameters,
18+
CloudEndpointLastChangeEnumerationStatus,
1619
CloudEndpointsCreateHeaders,
1720
CloudEndpointsDeleteHeaders,
1821
CloudEndpointsGetHeaders,
@@ -23,15 +26,26 @@ export {
2326
CloudEndpointsPreRestoreHeaders,
2427
CloudEndpointsRestoreheartbeatHeaders,
2528
CloudEndpointsTriggerChangeDetectionHeaders,
29+
CloudTieringCachePerformance,
30+
CloudTieringDatePolicyStatus,
31+
CloudTieringFilesNotTiering,
32+
CloudTieringSpaceSavings,
33+
CloudTieringVolumeFreeSpacePolicyStatus,
34+
FilesNotTieringError,
2635
PostBackupResponse,
2736
PostRestoreRequest,
2837
PreRestoreRequest,
38+
PrivateEndpoint,
39+
PrivateEndpointConnection,
40+
PrivateLinkResource,
41+
PrivateLinkServiceConnectionState,
2942
ProxyResource,
3043
RegisteredServer,
3144
RegisteredServerCreateParameters,
3245
Resource,
3346
RestoreFileSpec,
3447
ServerEndpoint,
48+
ServerEndpointBackgroundDataDownloadActivity,
3549
ServerEndpointCloudTieringStatus,
3650
ServerEndpointCreateParameters,
3751
ServerEndpointFilesNotSyncingError,
@@ -43,6 +57,7 @@ export {
4357
StorageSyncApiError,
4458
StorageSyncError,
4559
StorageSyncErrorDetails,
60+
StorageSyncInnerErrorDetails,
4661
StorageSyncService,
4762
SyncGroup,
4863
SyncGroupCreateParameters,

0 commit comments

Comments
 (0)