@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.
Files changed (66) hide show
  1. package/CHANGELOG.md +19 -10
  2. package/README.md +7 -7
  3. package/dist/index.js +225 -59
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/serverEndpointsCreateSample.js +1 -1
  8. package/dist-esm/samples-dev/serverEndpointsCreateSample.js.map +1 -1
  9. package/dist-esm/src/index.d.ts +1 -0
  10. package/dist-esm/src/index.d.ts.map +1 -1
  11. package/dist-esm/src/index.js +1 -0
  12. package/dist-esm/src/index.js.map +1 -1
  13. package/dist-esm/src/microsoftStorageSync.d.ts +2 -0
  14. package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -1
  15. package/dist-esm/src/microsoftStorageSync.js +49 -18
  16. package/dist-esm/src/microsoftStorageSync.js.map +1 -1
  17. package/dist-esm/src/models/index.d.ts +89 -27
  18. package/dist-esm/src/models/index.d.ts.map +1 -1
  19. package/dist-esm/src/models/index.js +61 -0
  20. package/dist-esm/src/models/index.js.map +1 -1
  21. package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -1
  22. package/dist-esm/src/operations/cloudEndpoints.js +8 -4
  23. package/dist-esm/src/operations/cloudEndpoints.js.map +1 -1
  24. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  25. package/dist-esm/src/operations/operations.js +19 -8
  26. package/dist-esm/src/operations/operations.js.map +1 -1
  27. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  28. package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
  29. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  30. package/dist-esm/src/operations/registeredServers.d.ts.map +1 -1
  31. package/dist-esm/src/operations/registeredServers.js +8 -4
  32. package/dist-esm/src/operations/registeredServers.js.map +1 -1
  33. package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -1
  34. package/dist-esm/src/operations/serverEndpoints.js +8 -4
  35. package/dist-esm/src/operations/serverEndpoints.js.map +1 -1
  36. package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -1
  37. package/dist-esm/src/operations/storageSyncServices.js +16 -8
  38. package/dist-esm/src/operations/storageSyncServices.js.map +1 -1
  39. package/dist-esm/src/operations/syncGroups.d.ts.map +1 -1
  40. package/dist-esm/src/operations/syncGroups.js +8 -4
  41. package/dist-esm/src/operations/syncGroups.js.map +1 -1
  42. package/dist-esm/src/operations/workflows.d.ts.map +1 -1
  43. package/dist-esm/src/operations/workflows.js +8 -4
  44. package/dist-esm/src/operations/workflows.js.map +1 -1
  45. package/dist-esm/src/pagingHelper.d.ts +13 -0
  46. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  47. package/dist-esm/src/pagingHelper.js +32 -0
  48. package/dist-esm/src/pagingHelper.js.map +1 -0
  49. package/dist-esm/test/sampleTest.js +11 -13
  50. package/dist-esm/test/sampleTest.js.map +1 -1
  51. package/package.json +13 -9
  52. package/review/arm-storagesync.api.md +89 -146
  53. package/src/index.ts +1 -0
  54. package/src/microsoftStorageSync.ts +60 -20
  55. package/src/models/index.ts +88 -27
  56. package/src/operations/cloudEndpoints.ts +12 -6
  57. package/src/operations/operations.ts +21 -9
  58. package/src/operations/privateEndpointConnections.ts +13 -7
  59. package/src/operations/registeredServers.ts +11 -5
  60. package/src/operations/serverEndpoints.ts +12 -6
  61. package/src/operations/storageSyncServices.ts +26 -12
  62. package/src/operations/syncGroups.ts +11 -5
  63. package/src/operations/workflows.ts +11 -5
  64. package/src/pagingHelper.ts +39 -0
  65. package/types/arm-storagesync.d.ts +100 -27
  66. 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
- ## 9.0.2 (Unreleased)
4
-
5
- ### Features Added
6
-
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
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 Service client library for JavaScript
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 Service client.
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 Service client library for JavaScript with `npm`:
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 Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
36
- You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].
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 Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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 Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.
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