Skip to content

Commit 4d0a5a6

Browse files
author
SDKAuto
committed
CodeGen from PR 13810 in Azure/azure-rest-api-specs
Merge 6f7af67be3ffda2c1523c726f1d15d5bec9e8849 into 9fbd9c69e95c30c0805b34d8b6e23a385dc0d6cc
1 parent b8672bb commit 4d0a5a6

29 files changed

+2798
-375
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: 14 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.
@@ -23,15 +23,26 @@ export {
2323
CloudEndpointsPreRestoreHeaders,
2424
CloudEndpointsRestoreheartbeatHeaders,
2525
CloudEndpointsTriggerChangeDetectionHeaders,
26+
CloudTieringCachePerformance,
27+
CloudTieringDatePolicyStatus,
28+
CloudTieringFilesNotTiering,
29+
CloudTieringSpaceSavings,
30+
CloudTieringVolumeFreeSpacePolicyStatus,
31+
FilesNotTieringError,
2632
PostBackupResponse,
2733
PostRestoreRequest,
2834
PreRestoreRequest,
35+
PrivateEndpoint,
36+
PrivateEndpointConnection,
37+
PrivateLinkResource,
38+
PrivateLinkServiceConnectionState,
2939
ProxyResource,
3040
RegisteredServer,
3141
RegisteredServerCreateParameters,
3242
Resource,
3343
RestoreFileSpec,
3444
ServerEndpoint,
45+
ServerEndpointBackgroundDataDownloadActivity,
3546
ServerEndpointCloudTieringStatus,
3647
ServerEndpointCreateParameters,
3748
ServerEndpointFilesNotSyncingError,
@@ -43,6 +54,7 @@ export {
4354
StorageSyncApiError,
4455
StorageSyncError,
4556
StorageSyncErrorDetails,
57+
StorageSyncInnerErrorDetails,
4658
StorageSyncService,
4759
SyncGroup,
4860
SyncGroupCreateParameters,

0 commit comments

Comments
 (0)