@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,428 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ /** Result of the request to list Dedicated HSM Provider operations. It contains a list of operations. */
12
+ export interface DedicatedHsmOperationListResult {
13
+ /** List of Dedicated HSM Resource Provider operations. */
14
+ value?: DedicatedHsmOperation[];
15
+ }
16
+
17
+ /** REST API operation */
18
+ export interface DedicatedHsmOperation {
19
+ /** The name of the Dedicated HSM Resource Provider Operation. */
20
+ name?: string;
21
+ /**
22
+ * Gets or sets a value indicating whether it is a data plane action
23
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
+ */
25
+ readonly isDataAction?: string;
26
+ /** The display string. */
27
+ display?: DedicatedHsmOperationDisplay;
28
+ }
29
+
30
+ /** The display string. */
31
+ export interface DedicatedHsmOperationDisplay {
32
+ /** The Resource Provider of the operation */
33
+ provider?: string;
34
+ /** Resource on which the operation is performed. */
35
+ resource?: string;
36
+ /** Operation type: Read, write, delete, etc. */
37
+ operation?: string;
38
+ /** The object that represents the operation. */
39
+ description?: string;
40
+ }
41
+
42
+ /** The error exception. */
43
+ export interface DedicatedHsmError {
44
+ /**
45
+ * The error detail of the operation if any.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly error?: ErrorModel;
49
+ }
50
+
51
+ /** The key vault server error. */
52
+ export interface ErrorModel {
53
+ /**
54
+ * The error code.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly code?: string;
58
+ /**
59
+ * The error message.
60
+ * NOTE: This property will not be serialized. It can only be populated by the server.
61
+ */
62
+ readonly message?: string;
63
+ /**
64
+ * Contains more specific error that narrows down the cause. May be null.
65
+ * NOTE: This property will not be serialized. It can only be populated by the server.
66
+ */
67
+ readonly innerError?: ErrorModel;
68
+ }
69
+
70
+ /** Metadata pertaining to creation and last modification of dedicated hsm resource. */
71
+ export interface SystemData {
72
+ /** The identity that created dedicated hsm resource. */
73
+ createdBy?: string;
74
+ /** The type of identity that created dedicated hsm resource. */
75
+ createdByType?: IdentityType;
76
+ /** The timestamp of dedicated hsm resource creation (UTC). */
77
+ createdAt?: Date;
78
+ /** The identity that last modified dedicated hsm resource. */
79
+ lastModifiedBy?: string;
80
+ /** The type of identity that last modified dedicated hsm resource. */
81
+ lastModifiedByType?: IdentityType;
82
+ /** The timestamp of dedicated hsm resource last modification (UTC). */
83
+ lastModifiedAt?: Date;
84
+ }
85
+
86
+ /** The network profile definition. */
87
+ export interface NetworkProfile {
88
+ /** Specifies the identifier of the subnet. */
89
+ subnet?: ApiEntityReference;
90
+ /** Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. */
91
+ networkInterfaces?: NetworkInterface[];
92
+ }
93
+
94
+ /** The API entity reference. */
95
+ export interface ApiEntityReference {
96
+ /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
97
+ id?: string;
98
+ }
99
+
100
+ /** The network interface definition. */
101
+ export interface NetworkInterface {
102
+ /**
103
+ * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
+ */
106
+ readonly id?: string;
107
+ /** Private Ip address of the interface */
108
+ privateIpAddress?: string;
109
+ }
110
+
111
+ /** Dedicated HSM resource */
112
+ export interface Resource {
113
+ /**
114
+ * The Azure Resource Manager resource ID for the dedicated HSM.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly id?: string;
118
+ /**
119
+ * The name of the dedicated HSM.
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly name?: string;
123
+ /**
124
+ * The resource type of the dedicated HSM.
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
+ */
127
+ readonly type?: string;
128
+ /** The supported Azure location where the dedicated HSM should be created. */
129
+ location: string;
130
+ /** SKU details */
131
+ sku?: Sku;
132
+ /** The Dedicated Hsm zones. */
133
+ zones?: string[];
134
+ /** Resource tags */
135
+ tags?: { [propertyName: string]: string };
136
+ }
137
+
138
+ /** SKU of the dedicated HSM */
139
+ export interface Sku {
140
+ /** SKU of the dedicated HSM */
141
+ name?: SkuName;
142
+ }
143
+
144
+ /** Patchable properties of the dedicated HSM */
145
+ export interface DedicatedHsmPatchParameters {
146
+ /** Resource tags */
147
+ tags?: { [propertyName: string]: string };
148
+ }
149
+
150
+ /** List of dedicated HSMs */
151
+ export interface DedicatedHsmListResult {
152
+ /** The list of dedicated HSMs. */
153
+ value?: DedicatedHsm[];
154
+ /** The URL to get the next set of dedicated hsms. */
155
+ nextLink?: string;
156
+ }
157
+
158
+ /** Collection of OutboundEnvironmentEndpoint */
159
+ export interface OutboundEnvironmentEndpointCollection {
160
+ /** Collection of resources. */
161
+ value: OutboundEnvironmentEndpoint[];
162
+ /**
163
+ * Link to next page of resources.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly nextLink?: string;
167
+ }
168
+
169
+ /** Egress endpoints which dedicated hsm service connects to for common purpose. */
170
+ export interface OutboundEnvironmentEndpoint {
171
+ /** The category of endpoints accessed by the dedicated hsm service, e.g. azure-resource-management, apiserver, etc. */
172
+ category?: string;
173
+ /** The endpoints that dedicated hsm service connects to */
174
+ endpoints?: EndpointDependency[];
175
+ }
176
+
177
+ /** A domain name that dedicated hsm services are reaching at. */
178
+ export interface EndpointDependency {
179
+ /** The domain name of the dependency. */
180
+ domainName?: string;
181
+ /** The Ports and Protocols used when connecting to domainName. */
182
+ endpointDetails?: EndpointDetail[];
183
+ }
184
+
185
+ /** Connect information from the dedicated hsm service to a single endpoint. */
186
+ export interface EndpointDetail {
187
+ /** An IP Address that Domain Name currently resolves to. */
188
+ ipAddress?: string;
189
+ /** The port an endpoint is connected to. */
190
+ port?: number;
191
+ /** The protocol used for connection */
192
+ protocol?: string;
193
+ /** Description of the detail */
194
+ description?: string;
195
+ }
196
+
197
+ /** List of dedicated HSM resources. */
198
+ export interface ResourceListResult {
199
+ /** The list of dedicated HSM resources. */
200
+ value?: Resource[];
201
+ /** The URL to get the next set of dedicated HSM resources. */
202
+ nextLink?: string;
203
+ }
204
+
205
+ /** Resource information with extended details. */
206
+ export type DedicatedHsm = Resource & {
207
+ /**
208
+ * Metadata pertaining to creation and last modification of the resource
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
+ */
211
+ readonly systemData?: SystemData;
212
+ /** Specifies the network interfaces of the dedicated hsm. */
213
+ networkProfile?: NetworkProfile;
214
+ /** Specifies the management network interfaces of the dedicated hsm. */
215
+ managementNetworkProfile?: NetworkProfile;
216
+ /** This field will be used when RP does not support Availability zones. */
217
+ stampId?: string;
218
+ /**
219
+ * Resource Status Message.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly statusMessage?: string;
223
+ /**
224
+ * Provisioning state.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly provisioningState?: JsonWebKeyType;
228
+ };
229
+
230
+ /** Known values of {@link IdentityType} that the service accepts. */
231
+ export enum KnownIdentityType {
232
+ User = "User",
233
+ Application = "Application",
234
+ ManagedIdentity = "ManagedIdentity",
235
+ Key = "Key"
236
+ }
237
+
238
+ /**
239
+ * Defines values for IdentityType. \
240
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
241
+ * this enum contains the known values that the service supports.
242
+ * ### Known values supported by the service
243
+ * **User** \
244
+ * **Application** \
245
+ * **ManagedIdentity** \
246
+ * **Key**
247
+ */
248
+ export type IdentityType = string;
249
+
250
+ /** Known values of {@link JsonWebKeyType} that the service accepts. */
251
+ export enum KnownJsonWebKeyType {
252
+ /** The dedicated HSM has been full provisioned. */
253
+ Succeeded = "Succeeded",
254
+ /** The dedicated HSM is currently being provisioned. */
255
+ Provisioning = "Provisioning",
256
+ /** A device is currently being allocated for the dedicated HSM resource. */
257
+ Allocating = "Allocating",
258
+ /** The dedicated HSM is being connected to the virtual network. */
259
+ Connecting = "Connecting",
260
+ /** Provisioning of the dedicated HSM has failed. */
261
+ Failed = "Failed",
262
+ /** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
263
+ CheckingQuota = "CheckingQuota",
264
+ /** The dedicated HSM is currently being deleted. */
265
+ Deleting = "Deleting"
266
+ }
267
+
268
+ /**
269
+ * Defines values for JsonWebKeyType. \
270
+ * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
271
+ * this enum contains the known values that the service supports.
272
+ * ### Known values supported by the service
273
+ * **Succeeded**: The dedicated HSM has been full provisioned. \
274
+ * **Provisioning**: The dedicated HSM is currently being provisioned. \
275
+ * **Allocating**: A device is currently being allocated for the dedicated HSM resource. \
276
+ * **Connecting**: The dedicated HSM is being connected to the virtual network. \
277
+ * **Failed**: Provisioning of the dedicated HSM has failed. \
278
+ * **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
279
+ * **Deleting**: The dedicated HSM is currently being deleted.
280
+ */
281
+ export type JsonWebKeyType = string;
282
+
283
+ /** Known values of {@link SkuName} that the service accepts. */
284
+ export enum KnownSkuName {
285
+ /** The dedicated HSM is a Safenet Luna Network HSM A790 device. */
286
+ SafeNetLunaNetworkHSMA790 = "SafeNet Luna Network HSM A790",
287
+ /** 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. */
288
+ PayShield10KLMK1CPS60 = "payShield10K_LMK1_CPS60",
289
+ /** 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. */
290
+ PayShield10KLMK1CPS250 = "payShield10K_LMK1_CPS250",
291
+ /** 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. */
292
+ PayShield10KLMK1CPS2500 = "payShield10K_LMK1_CPS2500",
293
+ /** 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. */
294
+ PayShield10KLMK2CPS60 = "payShield10K_LMK2_CPS60",
295
+ /** 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. */
296
+ PayShield10KLMK2CPS250 = "payShield10K_LMK2_CPS250",
297
+ /** 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. */
298
+ PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500"
299
+ }
300
+
301
+ /**
302
+ * Defines values for SkuName. \
303
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
304
+ * this enum contains the known values that the service supports.
305
+ * ### Known values supported by the service
306
+ * **SafeNet Luna Network HSM A790**: The dedicated HSM is a Safenet Luna Network HSM A790 device. \
307
+ * **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. \
308
+ * **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. \
309
+ * **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. \
310
+ * **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. \
311
+ * **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. \
312
+ * **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.
313
+ */
314
+ export type SkuName = string;
315
+
316
+ /** Optional parameters. */
317
+ export interface OperationsListOptionalParams
318
+ extends coreClient.OperationOptions {}
319
+
320
+ /** Contains response data for the list operation. */
321
+ export type OperationsListResponse = DedicatedHsmOperationListResult;
322
+
323
+ /** Optional parameters. */
324
+ export interface DedicatedHsmCreateOrUpdateOptionalParams
325
+ extends coreClient.OperationOptions {
326
+ /** Delay to wait until next poll, in milliseconds. */
327
+ updateIntervalInMs?: number;
328
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
329
+ resumeFrom?: string;
330
+ }
331
+
332
+ /** Contains response data for the createOrUpdate operation. */
333
+ export type DedicatedHsmCreateOrUpdateResponse = DedicatedHsm;
334
+
335
+ /** Optional parameters. */
336
+ export interface DedicatedHsmUpdateOptionalParams
337
+ extends coreClient.OperationOptions {
338
+ /** Resource tags */
339
+ tags?: { [propertyName: string]: string };
340
+ /** Delay to wait until next poll, in milliseconds. */
341
+ updateIntervalInMs?: number;
342
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
343
+ resumeFrom?: string;
344
+ }
345
+
346
+ /** Contains response data for the update operation. */
347
+ export type DedicatedHsmUpdateResponse = DedicatedHsm;
348
+
349
+ /** Optional parameters. */
350
+ export interface DedicatedHsmDeleteOptionalParams
351
+ extends coreClient.OperationOptions {
352
+ /** Delay to wait until next poll, in milliseconds. */
353
+ updateIntervalInMs?: number;
354
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
355
+ resumeFrom?: string;
356
+ }
357
+
358
+ /** Optional parameters. */
359
+ export interface DedicatedHsmGetOptionalParams
360
+ extends coreClient.OperationOptions {}
361
+
362
+ /** Contains response data for the get operation. */
363
+ export type DedicatedHsmGetResponse = DedicatedHsm;
364
+
365
+ /** Optional parameters. */
366
+ export interface DedicatedHsmListByResourceGroupOptionalParams
367
+ extends coreClient.OperationOptions {
368
+ /** Maximum number of results to return. */
369
+ top?: number;
370
+ }
371
+
372
+ /** Contains response data for the listByResourceGroup operation. */
373
+ export type DedicatedHsmListByResourceGroupResponse = DedicatedHsmListResult;
374
+
375
+ /** Optional parameters. */
376
+ export interface DedicatedHsmListBySubscriptionOptionalParams
377
+ extends coreClient.OperationOptions {
378
+ /** Maximum number of results to return. */
379
+ top?: number;
380
+ }
381
+
382
+ /** Contains response data for the listBySubscription operation. */
383
+ export type DedicatedHsmListBySubscriptionResponse = DedicatedHsmListResult;
384
+
385
+ /** Optional parameters. */
386
+ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams
387
+ extends coreClient.OperationOptions {}
388
+
389
+ /** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */
390
+ export type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection;
391
+
392
+ /** Optional parameters. */
393
+ export interface DedicatedHsmListByResourceGroupNextOptionalParams
394
+ extends coreClient.OperationOptions {
395
+ /** Maximum number of results to return. */
396
+ top?: number;
397
+ }
398
+
399
+ /** Contains response data for the listByResourceGroupNext operation. */
400
+ export type DedicatedHsmListByResourceGroupNextResponse = DedicatedHsmListResult;
401
+
402
+ /** Optional parameters. */
403
+ export interface DedicatedHsmListBySubscriptionNextOptionalParams
404
+ extends coreClient.OperationOptions {
405
+ /** Maximum number of results to return. */
406
+ top?: number;
407
+ }
408
+
409
+ /** Contains response data for the listBySubscriptionNext operation. */
410
+ export type DedicatedHsmListBySubscriptionNextResponse = DedicatedHsmListResult;
411
+
412
+ /** Optional parameters. */
413
+ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsNextOptionalParams
414
+ extends coreClient.OperationOptions {}
415
+
416
+ /** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */
417
+ export type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection;
418
+
419
+ /** Optional parameters. */
420
+ export interface AzureDedicatedHSMResourceProviderOptionalParams
421
+ extends coreClient.ServiceClientOptions {
422
+ /** server parameter */
423
+ $host?: string;
424
+ /** Api Version */
425
+ apiVersion?: string;
426
+ /** Overrides client endpoint. */
427
+ endpoint?: string;
428
+ }