@azure/arm-hardwaresecuritymodules 1.0.0-alpha.20220401.3

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,134 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { DedicatedHsmOperations } from "../operationsInterfaces";
3
+ import { AzureDedicatedHSMResourceProvider } from "../azureDedicatedHSMResourceProvider";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { DedicatedHsm, DedicatedHsmListByResourceGroupOptionalParams, DedicatedHsmListBySubscriptionOptionalParams, OutboundEnvironmentEndpoint, DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams, DedicatedHsmCreateOrUpdateOptionalParams, DedicatedHsmCreateOrUpdateResponse, DedicatedHsmUpdateOptionalParams, DedicatedHsmUpdateResponse, DedicatedHsmDeleteOptionalParams, DedicatedHsmGetOptionalParams, DedicatedHsmGetResponse } from "../models";
6
+ /** Class containing DedicatedHsmOperations operations. */
7
+ export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperations {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class DedicatedHsmOperations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: AzureDedicatedHSMResourceProvider);
14
+ /**
15
+ * The List operation gets information about the dedicated hsms associated with the subscription and
16
+ * within the specified resource group.
17
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
18
+ * @param options The options parameters.
19
+ */
20
+ listByResourceGroup(resourceGroupName: string, options?: DedicatedHsmListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedHsm>;
21
+ private listByResourceGroupPagingPage;
22
+ private listByResourceGroupPagingAll;
23
+ /**
24
+ * The List operation gets information about the dedicated HSMs associated with the subscription.
25
+ * @param options The options parameters.
26
+ */
27
+ listBySubscription(options?: DedicatedHsmListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedHsm>;
28
+ private listBySubscriptionPagingPage;
29
+ private listBySubscriptionPagingAll;
30
+ /**
31
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
32
+ * dedicated hsm resource. The operation returns properties of each egress endpoint.
33
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
34
+ * @param name The name of the dedicated HSM.
35
+ * @param options The options parameters.
36
+ */
37
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
38
+ private listOutboundNetworkDependenciesEndpointsPagingPage;
39
+ private listOutboundNetworkDependenciesEndpointsPagingAll;
40
+ /**
41
+ * Create or Update a dedicated HSM in the specified subscription.
42
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
43
+ * @param name Name of the dedicated Hsm
44
+ * @param parameters Parameters to create or update the dedicated hsm
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
48
+ /**
49
+ * Create or Update a dedicated HSM in the specified subscription.
50
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
51
+ * @param name Name of the dedicated Hsm
52
+ * @param parameters Parameters to create or update the dedicated hsm
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<DedicatedHsmCreateOrUpdateResponse>;
56
+ /**
57
+ * Update a dedicated HSM in the specified subscription.
58
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
59
+ * @param name Name of the dedicated HSM
60
+ * @param options The options parameters.
61
+ */
62
+ beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
63
+ /**
64
+ * Update a dedicated HSM in the specified subscription.
65
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
66
+ * @param name Name of the dedicated HSM
67
+ * @param options The options parameters.
68
+ */
69
+ beginUpdateAndWait(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<DedicatedHsmUpdateResponse>;
70
+ /**
71
+ * Deletes the specified Azure Dedicated HSM.
72
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
73
+ * @param name The name of the dedicated HSM to delete
74
+ * @param options The options parameters.
75
+ */
76
+ beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
77
+ /**
78
+ * Deletes the specified Azure Dedicated HSM.
79
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
80
+ * @param name The name of the dedicated HSM to delete
81
+ * @param options The options parameters.
82
+ */
83
+ beginDeleteAndWait(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<void>;
84
+ /**
85
+ * Gets the specified Azure dedicated HSM.
86
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
87
+ * @param name The name of the dedicated HSM.
88
+ * @param options The options parameters.
89
+ */
90
+ get(resourceGroupName: string, name: string, options?: DedicatedHsmGetOptionalParams): Promise<DedicatedHsmGetResponse>;
91
+ /**
92
+ * The List operation gets information about the dedicated hsms associated with the subscription and
93
+ * within the specified resource group.
94
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
95
+ * @param options The options parameters.
96
+ */
97
+ private _listByResourceGroup;
98
+ /**
99
+ * The List operation gets information about the dedicated HSMs associated with the subscription.
100
+ * @param options The options parameters.
101
+ */
102
+ private _listBySubscription;
103
+ /**
104
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
105
+ * dedicated hsm resource. The operation returns properties of each egress endpoint.
106
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
107
+ * @param name The name of the dedicated HSM.
108
+ * @param options The options parameters.
109
+ */
110
+ private _listOutboundNetworkDependenciesEndpoints;
111
+ /**
112
+ * ListByResourceGroupNext
113
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
114
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
115
+ * @param options The options parameters.
116
+ */
117
+ private _listByResourceGroupNext;
118
+ /**
119
+ * ListBySubscriptionNext
120
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
121
+ * @param options The options parameters.
122
+ */
123
+ private _listBySubscriptionNext;
124
+ /**
125
+ * ListOutboundNetworkDependenciesEndpointsNext
126
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
127
+ * @param name The name of the dedicated HSM.
128
+ * @param nextLink The nextLink from the previous successful call to the
129
+ * ListOutboundNetworkDependenciesEndpoints method.
130
+ * @param options The options parameters.
131
+ */
132
+ private _listOutboundNetworkDependenciesEndpointsNext;
133
+ }
134
+ //# sourceMappingURL=dedicatedHsmOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedHsmOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/dedicatedHsmOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,YAAY,EAEZ,6CAA6C,EAE7C,4CAA4C,EAC5C,2BAA2B,EAE3B,kEAAkE,EAClE,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,uBAAuB,EAOxB,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC;YAe5B,6BAA6B;YAkB7B,4BAA4B;IAY3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,YAAY,CAAC;YAe5B,4BAA4B;YAa5B,2BAA2B;IAQ1C;;;;;;OAMG;IACI,wCAAwC,CAC7C,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,kEAAkE,GAC3E,0BAA0B,CAAC,2BAA2B,CAAC;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