@azure/arm-hardwaresecuritymodules 1.0.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 (109) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1542 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +109 -0
  11. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +67 -0
  19. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +75 -0
  23. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +73 -0
  27. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +45 -0
  31. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +53 -0
  35. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/operationsListSample.js +73 -0
  39. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  40. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +20 -0
  41. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +1 -0
  42. package/dist-esm/src/azureDedicatedHSMResourceProvider.js +54 -0
  43. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +1 -0
  44. package/dist-esm/src/index.d.ts +5 -0
  45. package/dist-esm/src/index.d.ts.map +1 -0
  46. package/dist-esm/src/index.js +12 -0
  47. package/dist-esm/src/index.js.map +1 -0
  48. package/dist-esm/src/lroImpl.d.ts +16 -0
  49. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  50. package/dist-esm/src/lroImpl.js +29 -0
  51. package/dist-esm/src/lroImpl.js.map +1 -0
  52. package/dist-esm/src/models/index.d.ts +372 -0
  53. package/dist-esm/src/models/index.d.ts.map +1 -0
  54. package/dist-esm/src/models/index.js +52 -0
  55. package/dist-esm/src/models/index.js.map +1 -0
  56. package/dist-esm/src/models/mappers.d.ts +21 -0
  57. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  58. package/dist-esm/src/models/mappers.js +534 -0
  59. package/dist-esm/src/models/mappers.js.map +1 -0
  60. package/dist-esm/src/models/parameters.d.ts +14 -0
  61. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  62. package/dist-esm/src/models/parameters.js +124 -0
  63. package/dist-esm/src/models/parameters.js.map +1 -0
  64. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +134 -0
  65. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/dedicatedHsmOperations.js +624 -0
  67. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -0
  68. package/dist-esm/src/operations/index.d.ts +3 -0
  69. package/dist-esm/src/operations/index.d.ts.map +1 -0
  70. package/dist-esm/src/operations/index.js +10 -0
  71. package/dist-esm/src/operations/index.js.map +1 -0
  72. package/dist-esm/src/operations/operations.d.ts +26 -0
  73. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operations.js +90 -0
  75. package/dist-esm/src/operations/operations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  77. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  85. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  88. package/dist-esm/test/sampleTest.d.ts +2 -0
  89. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  90. package/dist-esm/test/sampleTest.js +41 -0
  91. package/dist-esm/test/sampleTest.js.map +1 -0
  92. package/package.json +118 -0
  93. package/review/arm-hardwaresecuritymodules.api.md +318 -0
  94. package/rollup.config.js +122 -0
  95. package/src/azureDedicatedHSMResourceProvider.ts +79 -0
  96. package/src/index.ts +12 -0
  97. package/src/lroImpl.ts +34 -0
  98. package/src/models/index.ts +428 -0
  99. package/src/models/mappers.ts +562 -0
  100. package/src/models/parameters.ts +144 -0
  101. package/src/operations/dedicatedHsmOperations.ts +830 -0
  102. package/src/operations/index.ts +10 -0
  103. package/src/operations/operations.ts +98 -0
  104. package/src/operationsInterfaces/dedicatedHsmOperations.ts +149 -0
  105. package/src/operationsInterfaces/index.ts +10 -0
  106. package/src/operationsInterfaces/operations.ts +22 -0
  107. package/tsconfig.json +33 -0
  108. package/types/arm-hardwaresecuritymodules.d.ts +524 -0
  109. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,524 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** The API entity reference. */
8
+ export declare interface ApiEntityReference {
9
+ /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
10
+ id?: string;
11
+ }
12
+
13
+ export declare class AzureDedicatedHSMResourceProvider extends coreClient.ServiceClient {
14
+ $host: string;
15
+ apiVersion: string;
16
+ subscriptionId: string;
17
+ /**
18
+ * Initializes a new instance of the AzureDedicatedHSMResourceProvider class.
19
+ * @param credentials Subscription credentials which uniquely identify client subscription.
20
+ * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
21
+ * The subscription ID forms part of the URI for every service call.
22
+ * @param options The parameter options
23
+ */
24
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureDedicatedHSMResourceProviderOptionalParams);
25
+ operations: Operations;
26
+ dedicatedHsmOperations: DedicatedHsmOperations;
27
+ }
28
+
29
+ /** Optional parameters. */
30
+ export declare interface AzureDedicatedHSMResourceProviderOptionalParams extends coreClient.ServiceClientOptions {
31
+ /** server parameter */
32
+ $host?: string;
33
+ /** Api Version */
34
+ apiVersion?: string;
35
+ /** Overrides client endpoint. */
36
+ endpoint?: string;
37
+ }
38
+
39
+ /** Resource information with extended details. */
40
+ export declare type DedicatedHsm = Resource & {
41
+ /**
42
+ * Metadata pertaining to creation and last modification of the resource
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly systemData?: SystemData;
46
+ /** Specifies the network interfaces of the dedicated hsm. */
47
+ networkProfile?: NetworkProfile;
48
+ /** Specifies the management network interfaces of the dedicated hsm. */
49
+ managementNetworkProfile?: NetworkProfile;
50
+ /** This field will be used when RP does not support Availability zones. */
51
+ stampId?: string;
52
+ /**
53
+ * Resource Status Message.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly statusMessage?: string;
57
+ /**
58
+ * Provisioning state.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly provisioningState?: JsonWebKeyType;
62
+ };
63
+
64
+ /** Optional parameters. */
65
+ export declare interface DedicatedHsmCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
66
+ /** Delay to wait until next poll, in milliseconds. */
67
+ updateIntervalInMs?: number;
68
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
69
+ resumeFrom?: string;
70
+ }
71
+
72
+ /** Contains response data for the createOrUpdate operation. */
73
+ export declare type DedicatedHsmCreateOrUpdateResponse = DedicatedHsm;
74
+
75
+ /** Optional parameters. */
76
+ export declare interface DedicatedHsmDeleteOptionalParams extends coreClient.OperationOptions {
77
+ /** Delay to wait until next poll, in milliseconds. */
78
+ updateIntervalInMs?: number;
79
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
80
+ resumeFrom?: string;
81
+ }
82
+
83
+ /** The error exception. */
84
+ export declare interface DedicatedHsmError {
85
+ /**
86
+ * The error detail of the operation if any.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly error?: ErrorModel;
90
+ }
91
+
92
+ /** Optional parameters. */
93
+ export declare interface DedicatedHsmGetOptionalParams extends coreClient.OperationOptions {
94
+ }
95
+
96
+ /** Contains response data for the get operation. */
97
+ export declare type DedicatedHsmGetResponse = DedicatedHsm;
98
+
99
+ /** Optional parameters. */
100
+ export declare interface DedicatedHsmListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
101
+ /** Maximum number of results to return. */
102
+ top?: number;
103
+ }
104
+
105
+ /** Contains response data for the listByResourceGroupNext operation. */
106
+ export declare type DedicatedHsmListByResourceGroupNextResponse = DedicatedHsmListResult;
107
+
108
+ /** Optional parameters. */
109
+ export declare interface DedicatedHsmListByResourceGroupOptionalParams extends coreClient.OperationOptions {
110
+ /** Maximum number of results to return. */
111
+ top?: number;
112
+ }
113
+
114
+ /** Contains response data for the listByResourceGroup operation. */
115
+ export declare type DedicatedHsmListByResourceGroupResponse = DedicatedHsmListResult;
116
+
117
+ /** Optional parameters. */
118
+ export declare interface DedicatedHsmListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
119
+ /** Maximum number of results to return. */
120
+ top?: number;
121
+ }
122
+
123
+ /** Contains response data for the listBySubscriptionNext operation. */
124
+ export declare type DedicatedHsmListBySubscriptionNextResponse = DedicatedHsmListResult;
125
+
126
+ /** Optional parameters. */
127
+ export declare interface DedicatedHsmListBySubscriptionOptionalParams extends coreClient.OperationOptions {
128
+ /** Maximum number of results to return. */
129
+ top?: number;
130
+ }
131
+
132
+ /** Contains response data for the listBySubscription operation. */
133
+ export declare type DedicatedHsmListBySubscriptionResponse = DedicatedHsmListResult;
134
+
135
+ /** Optional parameters. */
136
+ export declare interface DedicatedHsmListOutboundNetworkDependenciesEndpointsNextOptionalParams extends coreClient.OperationOptions {
137
+ }
138
+
139
+ /** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */
140
+ export declare type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection;
141
+
142
+ /** Optional parameters. */
143
+ export declare interface DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
144
+ }
145
+
146
+ /** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */
147
+ export declare type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection;
148
+
149
+ /** List of dedicated HSMs */
150
+ export declare interface DedicatedHsmListResult {
151
+ /** The list of dedicated HSMs. */
152
+ value?: DedicatedHsm[];
153
+ /** The URL to get the next set of dedicated hsms. */
154
+ nextLink?: string;
155
+ }
156
+
157
+ /** REST API operation */
158
+ export declare interface DedicatedHsmOperation {
159
+ /** The name of the Dedicated HSM Resource Provider Operation. */
160
+ name?: string;
161
+ /**
162
+ * Gets or sets a value indicating whether it is a data plane action
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
+ */
165
+ readonly isDataAction?: string;
166
+ /** The display string. */
167
+ display?: DedicatedHsmOperationDisplay;
168
+ }
169
+
170
+ /** The display string. */
171
+ export declare interface DedicatedHsmOperationDisplay {
172
+ /** The Resource Provider of the operation */
173
+ provider?: string;
174
+ /** Resource on which the operation is performed. */
175
+ resource?: string;
176
+ /** Operation type: Read, write, delete, etc. */
177
+ operation?: string;
178
+ /** The object that represents the operation. */
179
+ description?: string;
180
+ }
181
+
182
+ /** Result of the request to list Dedicated HSM Provider operations. It contains a list of operations. */
183
+ export declare interface DedicatedHsmOperationListResult {
184
+ /** List of Dedicated HSM Resource Provider operations. */
185
+ value?: DedicatedHsmOperation[];
186
+ }
187
+
188
+ /** Interface representing a DedicatedHsmOperations. */
189
+ export declare interface DedicatedHsmOperations {
190
+ /**
191
+ * The List operation gets information about the dedicated hsms associated with the subscription and
192
+ * within the specified resource group.
193
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
194
+ * @param options The options parameters.
195
+ */
196
+ listByResourceGroup(resourceGroupName: string, options?: DedicatedHsmListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedHsm>;
197
+ /**
198
+ * The List operation gets information about the dedicated HSMs associated with the subscription.
199
+ * @param options The options parameters.
200
+ */
201
+ listBySubscription(options?: DedicatedHsmListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedHsm>;
202
+ /**
203
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
204
+ * dedicated hsm resource. The operation returns properties of each egress endpoint.
205
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
206
+ * @param name The name of the dedicated HSM.
207
+ * @param options The options parameters.
208
+ */
209
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
210
+ /**
211
+ * Create or Update a dedicated HSM in the specified subscription.
212
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
213
+ * @param name Name of the dedicated Hsm
214
+ * @param parameters Parameters to create or update the dedicated hsm
215
+ * @param options The options parameters.
216
+ */
217
+ beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
218
+ /**
219
+ * Create or Update a dedicated HSM in the specified subscription.
220
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
221
+ * @param name Name of the dedicated Hsm
222
+ * @param parameters Parameters to create or update the dedicated hsm
223
+ * @param options The options parameters.
224
+ */
225
+ beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<DedicatedHsmCreateOrUpdateResponse>;
226
+ /**
227
+ * Update a dedicated HSM in the specified subscription.
228
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
229
+ * @param name Name of the dedicated HSM
230
+ * @param options The options parameters.
231
+ */
232
+ beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
233
+ /**
234
+ * Update a dedicated HSM in the specified subscription.
235
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
236
+ * @param name Name of the dedicated HSM
237
+ * @param options The options parameters.
238
+ */
239
+ beginUpdateAndWait(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<DedicatedHsmUpdateResponse>;
240
+ /**
241
+ * Deletes the specified Azure Dedicated HSM.
242
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
243
+ * @param name The name of the dedicated HSM to delete
244
+ * @param options The options parameters.
245
+ */
246
+ beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
247
+ /**
248
+ * Deletes the specified Azure Dedicated HSM.
249
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
250
+ * @param name The name of the dedicated HSM to delete
251
+ * @param options The options parameters.
252
+ */
253
+ beginDeleteAndWait(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<void>;
254
+ /**
255
+ * Gets the specified Azure dedicated HSM.
256
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
257
+ * @param name The name of the dedicated HSM.
258
+ * @param options The options parameters.
259
+ */
260
+ get(resourceGroupName: string, name: string, options?: DedicatedHsmGetOptionalParams): Promise<DedicatedHsmGetResponse>;
261
+ }
262
+
263
+ /** Patchable properties of the dedicated HSM */
264
+ export declare interface DedicatedHsmPatchParameters {
265
+ /** Resource tags */
266
+ tags?: {
267
+ [propertyName: string]: string;
268
+ };
269
+ }
270
+
271
+ /** Optional parameters. */
272
+ export declare interface DedicatedHsmUpdateOptionalParams extends coreClient.OperationOptions {
273
+ /** Resource tags */
274
+ tags?: {
275
+ [propertyName: string]: string;
276
+ };
277
+ /** Delay to wait until next poll, in milliseconds. */
278
+ updateIntervalInMs?: number;
279
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
280
+ resumeFrom?: string;
281
+ }
282
+
283
+ /** Contains response data for the update operation. */
284
+ export declare type DedicatedHsmUpdateResponse = DedicatedHsm;
285
+
286
+ /** A domain name that dedicated hsm services are reaching at. */
287
+ export declare interface EndpointDependency {
288
+ /** The domain name of the dependency. */
289
+ domainName?: string;
290
+ /** The Ports and Protocols used when connecting to domainName. */
291
+ endpointDetails?: EndpointDetail[];
292
+ }
293
+
294
+ /** Connect information from the dedicated hsm service to a single endpoint. */
295
+ export declare interface EndpointDetail {
296
+ /** An IP Address that Domain Name currently resolves to. */
297
+ ipAddress?: string;
298
+ /** The port an endpoint is connected to. */
299
+ port?: number;
300
+ /** The protocol used for connection */
301
+ protocol?: string;
302
+ /** Description of the detail */
303
+ description?: string;
304
+ }
305
+
306
+ /** The key vault server error. */
307
+ export declare interface ErrorModel {
308
+ /**
309
+ * The error code.
310
+ * NOTE: This property will not be serialized. It can only be populated by the server.
311
+ */
312
+ readonly code?: string;
313
+ /**
314
+ * The error message.
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
+ */
317
+ readonly message?: string;
318
+ /**
319
+ * Contains more specific error that narrows down the cause. May be null.
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
+ */
322
+ readonly innerError?: ErrorModel;
323
+ }
324
+
325
+ /**
326
+ * Defines values for IdentityType. \
327
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
328
+ * this enum contains the known values that the service supports.
329
+ * ### Known values supported by the service
330
+ * **User** \
331
+ * **Application** \
332
+ * **ManagedIdentity** \
333
+ * **Key**
334
+ */
335
+ export declare type IdentityType = string;
336
+
337
+ /**
338
+ * Defines values for JsonWebKeyType. \
339
+ * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
340
+ * this enum contains the known values that the service supports.
341
+ * ### Known values supported by the service
342
+ * **Succeeded**: The dedicated HSM has been full provisioned. \
343
+ * **Provisioning**: The dedicated HSM is currently being provisioned. \
344
+ * **Allocating**: A device is currently being allocated for the dedicated HSM resource. \
345
+ * **Connecting**: The dedicated HSM is being connected to the virtual network. \
346
+ * **Failed**: Provisioning of the dedicated HSM has failed. \
347
+ * **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
348
+ * **Deleting**: The dedicated HSM is currently being deleted.
349
+ */
350
+ export declare type JsonWebKeyType = string;
351
+
352
+ /** Known values of {@link IdentityType} that the service accepts. */
353
+ export declare enum KnownIdentityType {
354
+ User = "User",
355
+ Application = "Application",
356
+ ManagedIdentity = "ManagedIdentity",
357
+ Key = "Key"
358
+ }
359
+
360
+ /** Known values of {@link JsonWebKeyType} that the service accepts. */
361
+ export declare enum KnownJsonWebKeyType {
362
+ /** The dedicated HSM has been full provisioned. */
363
+ Succeeded = "Succeeded",
364
+ /** The dedicated HSM is currently being provisioned. */
365
+ Provisioning = "Provisioning",
366
+ /** A device is currently being allocated for the dedicated HSM resource. */
367
+ Allocating = "Allocating",
368
+ /** The dedicated HSM is being connected to the virtual network. */
369
+ Connecting = "Connecting",
370
+ /** Provisioning of the dedicated HSM has failed. */
371
+ Failed = "Failed",
372
+ /** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
373
+ CheckingQuota = "CheckingQuota",
374
+ /** The dedicated HSM is currently being deleted. */
375
+ Deleting = "Deleting"
376
+ }
377
+
378
+ /** Known values of {@link SkuName} that the service accepts. */
379
+ export declare enum KnownSkuName {
380
+ /** The dedicated HSM is a Safenet Luna Network HSM A790 device. */
381
+ SafeNetLunaNetworkHSMA790 = "SafeNet Luna Network HSM A790",
382
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 60 calls per second. */
383
+ PayShield10KLMK1CPS60 = "payShield10K_LMK1_CPS60",
384
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 250 calls per second. */
385
+ PayShield10KLMK1CPS250 = "payShield10K_LMK1_CPS250",
386
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 2500 calls per second. */
387
+ PayShield10KLMK1CPS2500 = "payShield10K_LMK1_CPS2500",
388
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 60 calls per second. */
389
+ PayShield10KLMK2CPS60 = "payShield10K_LMK2_CPS60",
390
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. */
391
+ PayShield10KLMK2CPS250 = "payShield10K_LMK2_CPS250",
392
+ /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second. */
393
+ PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500"
394
+ }
395
+
396
+ /** The network interface definition. */
397
+ export declare interface NetworkInterface {
398
+ /**
399
+ * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
401
+ */
402
+ readonly id?: string;
403
+ /** Private Ip address of the interface */
404
+ privateIpAddress?: string;
405
+ }
406
+
407
+ /** The network profile definition. */
408
+ export declare interface NetworkProfile {
409
+ /** Specifies the identifier of the subnet. */
410
+ subnet?: ApiEntityReference;
411
+ /** Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. */
412
+ networkInterfaces?: NetworkInterface[];
413
+ }
414
+
415
+ /** Interface representing a Operations. */
416
+ export declare interface Operations {
417
+ /**
418
+ * Get a list of Dedicated HSM operations.
419
+ * @param options The options parameters.
420
+ */
421
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<DedicatedHsmOperation>;
422
+ }
423
+
424
+ /** Optional parameters. */
425
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
426
+ }
427
+
428
+ /** Contains response data for the list operation. */
429
+ export declare type OperationsListResponse = DedicatedHsmOperationListResult;
430
+
431
+ /** Egress endpoints which dedicated hsm service connects to for common purpose. */
432
+ export declare interface OutboundEnvironmentEndpoint {
433
+ /** The category of endpoints accessed by the dedicated hsm service, e.g. azure-resource-management, apiserver, etc. */
434
+ category?: string;
435
+ /** The endpoints that dedicated hsm service connects to */
436
+ endpoints?: EndpointDependency[];
437
+ }
438
+
439
+ /** Collection of OutboundEnvironmentEndpoint */
440
+ export declare interface OutboundEnvironmentEndpointCollection {
441
+ /** Collection of resources. */
442
+ value: OutboundEnvironmentEndpoint[];
443
+ /**
444
+ * Link to next page of resources.
445
+ * NOTE: This property will not be serialized. It can only be populated by the server.
446
+ */
447
+ readonly nextLink?: string;
448
+ }
449
+
450
+ /** Dedicated HSM resource */
451
+ export declare interface Resource {
452
+ /**
453
+ * The Azure Resource Manager resource ID for the dedicated HSM.
454
+ * NOTE: This property will not be serialized. It can only be populated by the server.
455
+ */
456
+ readonly id?: string;
457
+ /**
458
+ * The name of the dedicated HSM.
459
+ * NOTE: This property will not be serialized. It can only be populated by the server.
460
+ */
461
+ readonly name?: string;
462
+ /**
463
+ * The resource type of the dedicated HSM.
464
+ * NOTE: This property will not be serialized. It can only be populated by the server.
465
+ */
466
+ readonly type?: string;
467
+ /** The supported Azure location where the dedicated HSM should be created. */
468
+ location: string;
469
+ /** SKU details */
470
+ sku?: Sku;
471
+ /** The Dedicated Hsm zones. */
472
+ zones?: string[];
473
+ /** Resource tags */
474
+ tags?: {
475
+ [propertyName: string]: string;
476
+ };
477
+ }
478
+
479
+ /** List of dedicated HSM resources. */
480
+ export declare interface ResourceListResult {
481
+ /** The list of dedicated HSM resources. */
482
+ value?: Resource[];
483
+ /** The URL to get the next set of dedicated HSM resources. */
484
+ nextLink?: string;
485
+ }
486
+
487
+ /** SKU of the dedicated HSM */
488
+ export declare interface Sku {
489
+ /** SKU of the dedicated HSM */
490
+ name?: SkuName;
491
+ }
492
+
493
+ /**
494
+ * Defines values for SkuName. \
495
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
496
+ * this enum contains the known values that the service supports.
497
+ * ### Known values supported by the service
498
+ * **SafeNet Luna Network HSM A790**: The dedicated HSM is a Safenet Luna Network HSM A790 device. \
499
+ * **payShield10K_LMK1_CPS60**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 60 calls per second. \
500
+ * **payShield10K_LMK1_CPS250**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 250 calls per second. \
501
+ * **payShield10K_LMK1_CPS2500**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 2500 calls per second. \
502
+ * **payShield10K_LMK2_CPS60**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 60 calls per second. \
503
+ * **payShield10K_LMK2_CPS250**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. \
504
+ * **payShield10K_LMK2_CPS2500**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second.
505
+ */
506
+ export declare type SkuName = string;
507
+
508
+ /** Metadata pertaining to creation and last modification of dedicated hsm resource. */
509
+ export declare interface SystemData {
510
+ /** The identity that created dedicated hsm resource. */
511
+ createdBy?: string;
512
+ /** The type of identity that created dedicated hsm resource. */
513
+ createdByType?: IdentityType;
514
+ /** The timestamp of dedicated hsm resource creation (UTC). */
515
+ createdAt?: Date;
516
+ /** The identity that last modified dedicated hsm resource. */
517
+ lastModifiedBy?: string;
518
+ /** The type of identity that last modified dedicated hsm resource. */
519
+ lastModifiedByType?: IdentityType;
520
+ /** The timestamp of dedicated hsm resource last modification (UTC). */
521
+ lastModifiedAt?: Date;
522
+ }
523
+
524
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.19.5"
9
+ }
10
+ ]
11
+ }