@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.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +1542 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +109 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +31 -0
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +67 -0
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +75 -0
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +73 -0
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +45 -0
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +53 -0
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +73 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +20 -0
- package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +1 -0
- package/dist-esm/src/azureDedicatedHSMResourceProvider.js +54 -0
- package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +372 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +52 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +534 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +124 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +134 -0
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedHsmOperations.js +624 -0
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +41 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +118 -0
- package/review/arm-hardwaresecuritymodules.api.md +318 -0
- package/rollup.config.js +122 -0
- package/src/azureDedicatedHSMResourceProvider.ts +79 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +428 -0
- package/src/models/mappers.ts +562 -0
- package/src/models/parameters.ts +144 -0
- package/src/operations/dedicatedHsmOperations.ts +830 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/operations.ts +98 -0
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +149 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +33 -0
- package/types/arm-hardwaresecuritymodules.d.ts +524 -0
- 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,EA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