@azure/arm-storagesync 9.0.2-alpha.20221213.1 → 9.1.0
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 +19 -10
- package/README.md +7 -7
- package/dist/index.js +225 -59
- 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/serverEndpointsCreateSample.js +1 -1
- package/dist-esm/samples-dev/serverEndpointsCreateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/microsoftStorageSync.d.ts +2 -0
- package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -1
- package/dist-esm/src/microsoftStorageSync.js +49 -18
- package/dist-esm/src/microsoftStorageSync.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +89 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +61 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudEndpoints.js +8 -4
- package/dist-esm/src/operations/cloudEndpoints.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registeredServers.d.ts.map +1 -1
- package/dist-esm/src/operations/registeredServers.js +8 -4
- package/dist-esm/src/operations/registeredServers.js.map +1 -1
- package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/serverEndpoints.js +8 -4
- package/dist-esm/src/operations/serverEndpoints.js.map +1 -1
- package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -1
- package/dist-esm/src/operations/storageSyncServices.js +16 -8
- package/dist-esm/src/operations/storageSyncServices.js.map +1 -1
- package/dist-esm/src/operations/syncGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/syncGroups.js +8 -4
- package/dist-esm/src/operations/syncGroups.js.map +1 -1
- package/dist-esm/src/operations/workflows.d.ts.map +1 -1
- package/dist-esm/src/operations/workflows.js +8 -4
- package/dist-esm/src/operations/workflows.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +13 -9
- package/review/arm-storagesync.api.md +89 -146
- package/src/index.ts +1 -0
- package/src/microsoftStorageSync.ts +60 -20
- package/src/models/index.ts +88 -27
- package/src/operations/cloudEndpoints.ts +12 -6
- package/src/operations/operations.ts +21 -9
- package/src/operations/privateEndpointConnections.ts +13 -7
- package/src/operations/registeredServers.ts +11 -5
- package/src/operations/serverEndpoints.ts +12 -6
- package/src/operations/storageSyncServices.ts +26 -12
- package/src/operations/syncGroups.ts +11 -5
- package/src/operations/workflows.ts +11 -5
- package/src/pagingHelper.ts +39 -0
- package/types/arm-storagesync.d.ts +100 -27
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,15 +1,24 @@
|
|
1
1
|
# Release History
|
2
|
+
|
3
|
+
## 9.1.0 (2022-12-12)
|
4
|
+
|
5
|
+
**Features**
|
2
6
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
- Added Interface CloudEndpoint
|
8
|
+
- Added Interface CloudEndpointCreateParameters
|
9
|
+
- Added Interface PrivateEndpointConnection
|
10
|
+
- Added Interface PrivateLinkResource
|
11
|
+
- Added Interface ProxyResource
|
12
|
+
- Added Interface RegisteredServer
|
13
|
+
- Added Interface RegisteredServerCreateParameters
|
14
|
+
- Added Interface ServerEndpoint
|
15
|
+
- Added Interface ServerEndpointCreateParameters
|
16
|
+
- Added Interface StorageSyncService
|
17
|
+
- Added Interface SyncGroup
|
18
|
+
- Added Interface SyncGroupCreateParameters
|
19
|
+
- Added Interface TrackedResource
|
20
|
+
- Added Interface Workflow
|
21
|
+
|
13
22
|
## 9.0.1 (2022-05-01)
|
14
23
|
|
15
24
|
**Features**
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Azure
|
1
|
+
# Azure MicrosoftStorageSync client library for JavaScript
|
2
2
|
|
3
|
-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure
|
3
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure MicrosoftStorageSync client.
|
4
4
|
|
5
5
|
Microsoft Storage Sync Service API
|
6
6
|
|
@@ -24,7 +24,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
|
|
24
24
|
|
25
25
|
### Install the `@azure/arm-storagesync` package
|
26
26
|
|
27
|
-
Install the Azure
|
27
|
+
Install the Azure MicrosoftStorageSync client library for JavaScript with `npm`:
|
28
28
|
|
29
29
|
```bash
|
30
30
|
npm install @azure/arm-storagesync
|
@@ -32,8 +32,8 @@ npm install @azure/arm-storagesync
|
|
32
32
|
|
33
33
|
### Create and authenticate a `MicrosoftStorageSync`
|
34
34
|
|
35
|
-
To create a client object to access the Azure
|
36
|
-
You can find the endpoint for your Azure
|
35
|
+
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.
|
36
|
+
You can find the endpoint for your Azure MicrosoftStorageSync resource in the [Azure Portal][azure_portal].
|
37
37
|
|
38
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).
|
39
39
|
|
@@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
|
|
43
43
|
npm install @azure/identity
|
44
44
|
```
|
45
45
|
|
46
|
-
You will also need to **register a new AAD application and grant access to Azure
|
46
|
+
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
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`.
|
48
48
|
|
49
49
|
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
@@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
72
72
|
|
73
73
|
### MicrosoftStorageSync
|
74
74
|
|
75
|
-
`MicrosoftStorageSync` is the primary interface for developers using the Azure
|
75
|
+
`MicrosoftStorageSync` is the primary interface for developers using the Azure MicrosoftStorageSync client library. Explore the methods on this client object to understand the different features of the Azure MicrosoftStorageSync service that you can access.
|
76
76
|
|
77
77
|
## Troubleshooting
|
78
78
|
|