Skip to content

Commit a38a40a

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-storagesync]-generated-from-SDK Generation - JS-6387759 (#38795)
Configurations: 'specification/storagesync/resource-manager/Microsoft.StorageSync/StorageSync/tspconfig.yaml', API Version: 2022-09-01, SDK Release Type: beta, and CommitSHA: '0c30072709ed8a6a544ec133e628e13cb3c81d88' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6387759 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com>
1 parent 83e82f3 commit a38a40a

454 files changed

Lines changed: 15627 additions & 22619 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.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@
971971
# PRLabel: %Mgmt
972972
/sdk/storageimportexport/arm-storageimportexport/ @qiaozha @MaryGao @JialinHuang803
973973

974-
# PRLabel: %Mgmt
974+
# PRLabel: %Mgmt %mgmt-review-needed
975975
/sdk/storagesync/arm-storagesync/ @qiaozha @MaryGao @JialinHuang803
976976

977977
# PRLabel: %Mgmt

pnpm-lock.yaml

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

sdk/storagesync/arm-storagesync/CHANGELOG.md

Lines changed: 138 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,147 @@
11
# Release History
22

3-
## 9.1.2 (Unreleased)
3+
## 10.0.0-beta.1 (2026-06-04)
4+
Compared with version 9.1.0
45

56
### Features Added
7+
- Added operation CloudEndpointsOperations.afsShareMetadataCertificatePublicKeys
8+
- Added operation CloudEndpointsOperations.create
9+
- Added operation CloudEndpointsOperations.delete
10+
- Added operation CloudEndpointsOperations.postBackup
11+
- Added operation CloudEndpointsOperations.postRestore
12+
- Added operation CloudEndpointsOperations.preBackup
13+
- Added operation CloudEndpointsOperations.preRestore
14+
- Added operation CloudEndpointsOperations.triggerChangeDetection
15+
- Added operation PrivateEndpointConnectionsOperations.create
16+
- Added operation PrivateEndpointConnectionsOperations.delete
17+
- Added operation RegisteredServersOperations.beginUpdate
18+
- Added operation RegisteredServersOperations.beginUpdateAndWait
19+
- Added operation RegisteredServersOperations.create
20+
- Added operation RegisteredServersOperations.delete
21+
- Added operation RegisteredServersOperations.triggerRollover
22+
- Added operation RegisteredServersOperations.update
23+
- Added operation ServerEndpointsOperations.create
24+
- Added operation ServerEndpointsOperations.delete
25+
- Added operation ServerEndpointsOperations.recallAction
26+
- Added operation ServerEndpointsOperations.update
27+
- Added operation StorageSyncServicesOperations.create
28+
- Added operation StorageSyncServicesOperations.delete
29+
- Added operation StorageSyncServicesOperations.update
30+
- Class MicrosoftStorageSync has a new constructor "constructor(credential: TokenCredential, options?: MicrosoftStorageSyncOptionalParams);"
31+
- Added Interface CloudEndpointAfsShareMetadataCertificatePublicKeys
32+
- Added Interface CloudEndpointCreateParametersProperties
33+
- Added Interface CloudEndpointProperties
34+
- Added Interface CloudEndpointsAfsShareMetadataCertificatePublicKeysOptionalParams
35+
- Added Interface CloudTieringLowDiskMode
36+
- Added Interface ErrorAdditionalInfo
37+
- Added Interface ErrorDetail
38+
- Added Interface ErrorResponse
39+
- Added Interface ManagedServiceIdentity
40+
- Added Interface OperationStatusOperationsGetOptionalParams
41+
- Added Interface PagedAsyncIterableIterator
42+
- Added Interface PageSettings
43+
- Added Interface PostBackupResponseProperties
44+
- Added Interface PrivateEndpointConnectionProperties
45+
- Added Interface PrivateLinkResourceProperties
46+
- Added Interface RegisteredServerCreateParametersProperties
47+
- Added Interface RegisteredServerProperties
48+
- Added Interface RegisteredServersUpdateOptionalParams
49+
- Added Interface RegisteredServerUpdateParameters
50+
- Added Interface RegisteredServerUpdateProperties
51+
- Added Interface RestorePollerOptions
52+
- Added Interface ServerEndpointCreateParametersProperties
53+
- Added Interface ServerEndpointProperties
54+
- Added Interface ServerEndpointProvisioningStatus
55+
- Added Interface ServerEndpointProvisioningStepStatus
56+
- Added Interface ServerEndpointUpdateProperties
57+
- Added Interface SimplePollerLike
58+
- Added Interface StorageSyncServiceCreateParametersProperties
59+
- Added Interface StorageSyncServiceProperties
60+
- Added Interface StorageSyncServiceUpdateProperties
61+
- Added Interface SyncGroupProperties
62+
- Added Interface SystemData
63+
- Added Interface UserAssignedIdentity
64+
- Added Interface WorkflowProperties
65+
- Interface CloudEndpoint has a new optional parameter systemData
66+
- Interface CloudEndpointCreateParameters has a new optional parameter systemData
67+
- Interface OperationResourceMetricSpecification has a new optional parameter lockAggregationType
68+
- Interface OperationResourceMetricSpecification has a new optional parameter supportedAggregationTypes
69+
- Interface PrivateEndpointConnection has a new optional parameter groupIds
70+
- Interface PrivateEndpointConnection has a new optional parameter systemData
71+
- Interface PrivateLinkResource has a new optional parameter systemData
72+
- Interface ProxyResource has a new optional parameter systemData
73+
- Interface RegisteredServer has a new optional parameter activeAuthType
74+
- Interface RegisteredServer has a new optional parameter applicationId
75+
- Interface RegisteredServer has a new optional parameter identity
76+
- Interface RegisteredServer has a new optional parameter latestApplicationId
77+
- Interface RegisteredServer has a new optional parameter systemData
78+
- Interface RegisteredServerCreateParameters has a new optional parameter applicationId
79+
- Interface RegisteredServerCreateParameters has a new optional parameter identity
80+
- Interface RegisteredServerCreateParameters has a new optional parameter systemData
81+
- Interface Resource has a new optional parameter systemData
82+
- Interface ServerEndpoint has a new optional parameter serverEndpointProvisioningStatus
83+
- Interface ServerEndpoint has a new optional parameter systemData
84+
- Interface ServerEndpointCloudTieringStatus has a new optional parameter lowDiskMode
85+
- Interface ServerEndpointCreateParameters has a new optional parameter systemData
86+
- Interface StorageSyncApiError has a new optional parameter innererror
87+
- Interface StorageSyncService has a new optional parameter identity
88+
- Interface StorageSyncService has a new optional parameter useIdentity
89+
- Interface StorageSyncService has a new optional parameter systemData
90+
- Interface StorageSyncServiceCreateParameters has a new optional parameter identity
91+
- Interface StorageSyncServiceCreateParameters has a new optional parameter useIdentity
92+
- Interface StorageSyncServiceCreateParameters has a new optional parameter id
93+
- Interface StorageSyncServiceCreateParameters has a new optional parameter name
94+
- Interface StorageSyncServiceCreateParameters has a new optional parameter systemData
95+
- Interface StorageSyncServiceCreateParameters has a new optional parameter type
96+
- Interface StorageSyncServiceUpdateParameters has a new optional parameter identity
97+
- Interface StorageSyncServiceUpdateParameters has a new optional parameter useIdentity
98+
- Interface SyncGroup has a new optional parameter systemData
99+
- Interface SyncGroupCreateParameters has a new optional parameter systemData
100+
- Interface TrackedResource has a new optional parameter systemData
101+
- Interface Workflow has a new optional parameter systemData
102+
- Added Type Alias AzureSupportedClouds
103+
- Added Type Alias CloudTieringLowDiskModeState
104+
- Added Type Alias CreatedByType
105+
- Added Type Alias ManagedServiceIdentityType
106+
- Added Type Alias ServerAuthType
107+
- Added Type Alias ServerProvisioningStatus
108+
- Added Type Alias Type
109+
- Added Enum AzureClouds
110+
- Added Enum KnownCloudTieringLowDiskModeState
111+
- Added Enum KnownCreatedByType
112+
- Added Enum KnownManagedServiceIdentityType
113+
- Added Enum KnownServerAuthType
114+
- Added Enum KnownServerProvisioningStatus
115+
- Added Enum KnownVersions
6116

7117
### Breaking Changes
118+
- Operation CloudEndpoints.beginDeleteAndWait has a new signature
119+
- Operation CloudEndpoints.beginPreBackupAndWait has a new signature
120+
- Operation CloudEndpoints.restoreheartbeat has a new signature
121+
- Operation RegisteredServers.beginDeleteAndWait has a new signature
122+
- Operation RegisteredServers.beginTriggerRolloverAndWait has a new signature
123+
- Operation ServerEndpoints.beginDeleteAndWait has a new signature
124+
- Operation ServerEndpoints.beginRecallActionAndWait has a new signature
125+
- Operation StorageSyncServices.beginDeleteAndWait has a new signature
126+
- Operation SyncGroups.delete has a new signature
127+
- Operation Workflows.abort has a new signature
128+
- Removed Interface CloudEndpointArray
129+
- Removed Interface OperationDisplayResource
130+
- Removed Interface OperationStatusGetOptionalParams
131+
- Removed Interface RegisteredServerArray
132+
- Removed Interface ResourcesMoveInfo
133+
- Removed Interface ServerEndpointArray
134+
- Removed Interface StorageSyncServiceArray
135+
- Removed Interface SubscriptionState
136+
- Removed Interface SyncGroupArray
137+
- Removed Interface WorkflowArray
138+
- Interface StorageSyncApiError no longer has parameter innerError
139+
- Removed Type Alias ProgressType
140+
- Removed Type Alias Reason
141+
- Removed Enum KnownProgressType
142+
- Removed Enum KnownReason
8143

9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 9.1.1 (2025-08-22)
14-
15-
### Other Changes
16-
17-
- Other fixes
18-
144+
19145
## 9.1.0 (2022-12-12)
20146

21147
### Features Added
@@ -49,4 +175,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
49175

50176
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
51177

52-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
178+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/storagesync/arm-storagesync/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/storagesync/arm-storagesync/README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure MicrosoftStorageSync client.
44

5-
Microsoft Storage Sync Service API
5+
Microsoft Storage Sync Service API. This belongs to Microsoft.StorageSync Resource Provider
66

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

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-storagesync
3537
To create a client object to access the Azure MicrosoftStorageSync API, you will need the `endpoint` of your Azure MicrosoftStorageSync resource and a `credential`. The Azure MicrosoftStorageSync client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure MicrosoftStorageSync resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -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 MicrosoftStorageSync** 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 { MicrosoftStorageSync } from "@azure/arm-storagesync";
5556
import { DefaultAzureCredential } from "@azure/identity";
5657

5758
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5859
const client = new MicrosoftStorageSync(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 { MicrosoftStorageSync } from "@azure/arm-storagesync";
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 MicrosoftStorageSync(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/storagesync/arm-storagesync/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/storagesync/arm-storagesync/_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" }

sdk/storagesync/arm-storagesync/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/storagesync/arm-storagesync",
5-
"Tag": "js/storagesync/arm-storagesync_509666e0c9"
5+
"Tag": "js/storagesync/arm-storagesync_e6fc9323a8"
66
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "../../../../tsconfig.json",
3-
"include": [
4-
"../src",
5-
"../test"
6-
]
3+
"include": ["../src", "../test"]
74
}

sdk/storagesync/arm-storagesync/config/tsconfig.samples.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../../../../eng/tsconfigs/samples.json",
33
"compilerOptions": {
44
"paths": {
5-
"@azure/arm-storagesync": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-storagesync": ["../dist/esm"]
86
}
97
}
108
}

0 commit comments

Comments
 (0)