@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20240110.1 → 2.0.0-beta.1

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 (175) hide show
  1. package/CHANGELOG.md +82 -1
  2. package/LICENSE +1 -1
  3. package/README.md +14 -14
  4. package/dist/index.js +2215 -425
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +46 -0
  11. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +39 -0
  23. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -0
  24. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +53 -0
  27. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +39 -0
  31. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +1 -0
  32. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +39 -0
  35. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +1 -0
  36. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +54 -0
  39. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -0
  40. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +53 -0
  43. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -0
  44. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +47 -0
  47. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +23 -13
  49. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +13 -5
  51. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +23 -13
  53. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +18 -9
  55. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
  56. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +16 -7
  57. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
  58. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +13 -5
  59. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  60. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +18 -9
  61. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/operationsListSample.js +16 -7
  63. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +55 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -0
  68. package/dist-esm/src/azureHSMResourceProvider.d.ts +22 -0
  69. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -0
  70. package/dist-esm/src/{azureDedicatedHSMResourceProvider.js → azureHSMResourceProvider.js} +10 -37
  71. package/dist-esm/src/azureHSMResourceProvider.js.map +1 -0
  72. package/dist-esm/src/index.d.ts +1 -1
  73. package/dist-esm/src/index.d.ts.map +1 -1
  74. package/dist-esm/src/index.js +1 -1
  75. package/dist-esm/src/index.js.map +1 -1
  76. package/dist-esm/src/lroImpl.d.ts +6 -11
  77. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  78. package/dist-esm/src/lroImpl.js +12 -20
  79. package/dist-esm/src/lroImpl.js.map +1 -1
  80. package/dist-esm/src/models/index.d.ts +538 -8
  81. package/dist-esm/src/models/index.d.ts.map +1 -1
  82. package/dist-esm/src/models/index.js +72 -0
  83. package/dist-esm/src/models/index.js.map +1 -1
  84. package/dist-esm/src/models/mappers.d.ts +28 -2
  85. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  86. package/dist-esm/src/models/mappers.js +692 -7
  87. package/dist-esm/src/models/mappers.js.map +1 -1
  88. package/dist-esm/src/models/parameters.d.ts +27 -5
  89. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  90. package/dist-esm/src/models/parameters.js +161 -29
  91. package/dist-esm/src/models/parameters.js.map +1 -1
  92. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  93. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  94. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +193 -0
  95. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  96. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +21 -0
  97. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  98. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +54 -0
  99. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  100. package/dist-esm/src/operations/cloudHsmClusters.d.ts +114 -0
  101. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -0
  102. package/dist-esm/src/operations/cloudHsmClusters.js +580 -0
  103. package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -0
  104. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +6 -6
  105. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
  106. package/dist-esm/src/operations/dedicatedHsmOperations.js +51 -39
  107. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
  108. package/dist-esm/src/operations/index.d.ts +4 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -1
  110. package/dist-esm/src/operations/index.js +4 -0
  111. package/dist-esm/src/operations/index.js.map +1 -1
  112. package/dist-esm/src/operations/operations.d.ts +2 -2
  113. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  114. package/dist-esm/src/operations/operations.js +1 -1
  115. package/dist-esm/src/operations/operations.js.map +1 -1
  116. package/dist-esm/src/operations/privateEndpointConnections.d.ts +43 -0
  117. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  118. package/dist-esm/src/operations/privateEndpointConnections.js +155 -0
  119. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  121. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +13 -0
  125. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +77 -0
  129. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +4 -4
  133. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +4 -0
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  139. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  142. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +4 -0
  143. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -0
  144. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +73 -0
  145. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -0
  146. package/package.json +15 -12
  147. package/review/arm-hardwaresecuritymodules.api.md +426 -19
  148. package/src/{azureDedicatedHSMResourceProvider.ts → azureHSMResourceProvider.ts} +35 -46
  149. package/src/index.ts +1 -1
  150. package/src/lroImpl.ts +31 -23
  151. package/src/models/index.ts +599 -8
  152. package/src/models/mappers.ts +751 -7
  153. package/src/models/parameters.ts +187 -30
  154. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +263 -0
  155. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +74 -0
  156. package/src/operations/cloudHsmClusters.ts +750 -0
  157. package/src/operations/dedicatedHsmOperations.ts +69 -59
  158. package/src/operations/index.ts +4 -0
  159. package/src/operations/operations.ts +4 -4
  160. package/src/operations/privateEndpointConnections.ts +208 -0
  161. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +83 -0
  162. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +28 -0
  163. package/src/operationsInterfaces/cloudHsmClusters.ts +142 -0
  164. package/src/operationsInterfaces/dedicatedHsmOperations.ts +6 -6
  165. package/src/operationsInterfaces/index.ts +4 -0
  166. package/src/operationsInterfaces/privateEndpointConnections.ts +31 -0
  167. package/types/arm-hardwaresecuritymodules.d.ts +773 -34
  168. package/types/tsdoc-metadata.json +1 -1
  169. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +0 -22
  170. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +0 -1
  171. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +0 -1
  172. package/dist-esm/test/sampleTest.d.ts +0 -2
  173. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  174. package/dist-esm/test/sampleTest.js +0 -38
  175. package/dist-esm/test/sampleTest.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,17 +1,98 @@
1
1
  # Release History
2
2
 
3
- ## 2.0.0 (2022-12-14)
3
+ ## 2.0.0-beta.1 (2024-01-04)
4
4
 
5
5
  **Features**
6
6
 
7
+ - Added operation group CloudHsmClusterPrivateEndpointConnections
8
+ - Added operation group CloudHsmClusterPrivateLinkResources
9
+ - Added operation group CloudHsmClusters
10
+ - Added operation group PrivateEndpointConnections
11
+ - Added Interface AzureHSMResourceProviderOptionalParams
12
+ - Added Interface BackupProperties
13
+ - Added Interface CHsmError
14
+ - Added Interface CloudHsmCluster
15
+ - Added Interface CloudHsmClusterError
16
+ - Added Interface CloudHsmClusterListResult
17
+ - Added Interface CloudHsmClusterPatchParameters
18
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams
19
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders
20
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
21
+ - Added Interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams
22
+ - Added Interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
23
+ - Added Interface CloudHsmClusterResource
24
+ - Added Interface CloudHsmClustersCreateOrUpdateOptionalParams
25
+ - Added Interface CloudHsmClustersDeleteHeaders
26
+ - Added Interface CloudHsmClustersDeleteOptionalParams
27
+ - Added Interface CloudHsmClusterSecurityDomainProperties
28
+ - Added Interface CloudHsmClustersGetOptionalParams
29
+ - Added Interface CloudHsmClusterSku
30
+ - Added Interface CloudHsmClustersListByResourceGroupNextOptionalParams
31
+ - Added Interface CloudHsmClustersListByResourceGroupOptionalParams
32
+ - Added Interface CloudHsmClustersListBySubscriptionNextOptionalParams
33
+ - Added Interface CloudHsmClustersListBySubscriptionOptionalParams
34
+ - Added Interface CloudHsmClustersUpdateHeaders
35
+ - Added Interface CloudHsmClustersUpdateOptionalParams
36
+ - Added Interface CloudHsmProperties
7
37
  - Added Interface DedicatedHsm
38
+ - Added Interface DedicatedHsmResource
39
+ - Added Interface ManagedServiceIdentity
40
+ - Added Interface PrivateEndpoint
41
+ - Added Interface PrivateEndpointConnection
42
+ - Added Interface PrivateEndpointConnectionListResult
43
+ - Added Interface PrivateEndpointConnectionsListByCloudHsmClusterNextOptionalParams
44
+ - Added Interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
45
+ - Added Interface PrivateLinkResource
46
+ - Added Interface PrivateLinkResourceListResult
47
+ - Added Interface PrivateLinkServiceConnectionState
48
+ - Added Interface ProxyResource
49
+ - Added Interface RestoreProperties
50
+ - Added Interface SystemDataAutoGenerated
51
+ - Added Interface TrackedResource
52
+ - Added Interface UserAssignedIdentity
53
+ - Added Class AzureHSMResourceProvider
54
+ - Added Type Alias CloudHsmClusterPrivateEndpointConnectionsCreateResponse
55
+ - Added Type Alias CloudHsmClusterPrivateEndpointConnectionsGetResponse
56
+ - Added Type Alias CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse
57
+ - Added Type Alias CloudHsmClustersCreateOrUpdateResponse
58
+ - Added Type Alias CloudHsmClustersGetResponse
59
+ - Added Type Alias CloudHsmClusterSkuFamily
60
+ - Added Type Alias CloudHsmClusterSkuName
61
+ - Added Type Alias CloudHsmClustersListByResourceGroupNextResponse
62
+ - Added Type Alias CloudHsmClustersListByResourceGroupResponse
63
+ - Added Type Alias CloudHsmClustersListBySubscriptionNextResponse
64
+ - Added Type Alias CloudHsmClustersListBySubscriptionResponse
65
+ - Added Type Alias CloudHsmClustersUpdateResponse
66
+ - Added Type Alias CreatedByType
67
+ - Added Type Alias ManagedServiceIdentityType
68
+ - Added Type Alias PrivateEndpointConnectionProvisioningState
69
+ - Added Type Alias PrivateEndpointConnectionsListByCloudHsmClusterNextResponse
70
+ - Added Type Alias PrivateEndpointConnectionsListByCloudHsmClusterResponse
71
+ - Added Type Alias PrivateEndpointServiceConnectionStatus
72
+ - Added Type Alias ProvisioningState
73
+ - Interface DedicatedHsmOperation has a new optional parameter origin
74
+ - Interface Resource has a new optional parameter systemData
75
+ - Added Enum KnownCloudHsmClusterSkuFamily
76
+ - Added Enum KnownCreatedByType
77
+ - Added Enum KnownManagedServiceIdentityType
78
+ - Added Enum KnownPrivateEndpointConnectionProvisioningState
79
+ - Added Enum KnownPrivateEndpointServiceConnectionStatus
80
+ - Added Enum KnownProvisioningState
8
81
  - Added function getContinuationToken
9
82
 
10
83
  **Breaking Changes**
11
84
 
85
+ - Deleted Class AzureDedicatedHSMResourceProvider
12
86
  - Interface DedicatedHsmListByResourceGroupNextOptionalParams no longer has parameter top
13
87
  - Interface DedicatedHsmListBySubscriptionNextOptionalParams no longer has parameter top
88
+ - Interface Resource no longer has parameter location
89
+ - Interface Resource no longer has parameter sku
90
+ - Interface Resource no longer has parameter tags
91
+ - Interface Resource no longer has parameter zones
14
92
  - Type of parameter isDataAction of interface DedicatedHsmOperation is changed from string to boolean
93
+ - Type of parameter value of interface ResourceListResult is changed from Resource[] to DedicatedHsmResource[]
94
+ - Type of parameter createdByType of interface SystemData is changed from IdentityType to CreatedByType
95
+ - Type of parameter lastModifiedByType of interface SystemData is changed from IdentityType to CreatedByType
15
96
 
16
97
 
17
98
  ## 1.0.0 (2022-03-30)
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ Copyright (c) 2024 Microsoft
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # AzureDedicatedHsmResourceProvider client library for JavaScript
1
+ # AzureHsmResourceProvider client library for JavaScript
2
2
 
3
- This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureDedicatedHsmResourceProvider client.
3
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureHsmResourceProvider client.
4
4
 
5
- The Azure management API provides a RESTful set of web services that interact with Azure Dedicated HSM RP.
5
+ The Azure management API provides a RESTful set of web services that interact with Azure HSM RP.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-hardwaresecuritymodules) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-hardwaresecuritymodules) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-hardwaresecuritymodules?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
24
24
 
25
25
  ### Install the `@azure/arm-hardwaresecuritymodules` package
26
26
 
27
- Install the AzureDedicatedHsmResourceProvider client library for JavaScript with `npm`:
27
+ Install the AzureHsmResourceProvider client library for JavaScript with `npm`:
28
28
 
29
29
  ```bash
30
30
  npm install @azure/arm-hardwaresecuritymodules
31
31
  ```
32
32
 
33
- ### Create and authenticate a `AzureDedicatedHSMResourceProvider`
33
+ ### Create and authenticate a `AzureHSMResourceProvider`
34
34
 
35
- To create a client object to access the AzureDedicatedHsmResourceProvider API, you will need the `endpoint` of your AzureDedicatedHsmResourceProvider resource and a `credential`. The AzureDedicatedHsmResourceProvider client can use Azure Active Directory credentials to authenticate.
36
- You can find the endpoint for your AzureDedicatedHsmResourceProvider resource in the [Azure Portal][azure_portal].
35
+ To create a client object to access the AzureHsmResourceProvider API, you will need the `endpoint` of your AzureHsmResourceProvider resource and a `credential`. The AzureHsmResourceProvider client can use Azure Active Directory credentials to authenticate.
36
+ You can find the endpoint for your AzureHsmResourceProvider 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,25 +43,25 @@ 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 AzureDedicatedHsmResourceProvider** 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 AzureHsmResourceProvider** 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).
50
50
 
51
51
  ```javascript
52
- const { AzureDedicatedHSMResourceProvider } = require("@azure/arm-hardwaresecuritymodules");
52
+ const { AzureHSMResourceProvider } = require("@azure/arm-hardwaresecuritymodules");
53
53
  const { DefaultAzureCredential } = require("@azure/identity");
54
54
  // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55
55
 
56
56
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
- const client = new AzureDedicatedHSMResourceProvider(new DefaultAzureCredential(), subscriptionId);
57
+ const client = new AzureHSMResourceProvider(new DefaultAzureCredential(), subscriptionId);
58
58
 
59
59
  // For client-side applications running in the browser, use this code instead:
60
60
  // const credential = new InteractiveBrowserCredential({
61
61
  // tenantId: "<YOUR_TENANT_ID>",
62
62
  // clientId: "<YOUR_CLIENT_ID>"
63
63
  // });
64
- // const client = new AzureDedicatedHSMResourceProvider(credential, subscriptionId);
64
+ // const client = new AzureHSMResourceProvider(credential, subscriptionId);
65
65
  ```
66
66
 
67
67
 
@@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For
70
70
 
71
71
  ## Key concepts
72
72
 
73
- ### AzureDedicatedHSMResourceProvider
73
+ ### AzureHSMResourceProvider
74
74
 
75
- `AzureDedicatedHSMResourceProvider` is the primary interface for developers using the AzureDedicatedHsmResourceProvider client library. Explore the methods on this client object to understand the different features of the AzureDedicatedHsmResourceProvider service that you can access.
75
+ `AzureHSMResourceProvider` is the primary interface for developers using the AzureHsmResourceProvider client library. Explore the methods on this client object to understand the different features of the AzureHsmResourceProvider service that you can access.
76
76
 
77
77
  ## Troubleshooting
78
78