ManagedHsms interface
Interface representing a ManagedHsms.
Methods
Method Details
beginCreateOrUpdate(string, string, ManagedHsm, ManagedHsmsCreateOrUpdateOptionalParams)
Create or update a managed HSM Pool in the specified subscription.
function beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagedHsmsCreateOrUpdateResponse>, ManagedHsmsCreateOrUpdateResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
Name of the managed HSM Pool
- parameters
- ManagedHsm
Parameters to create or update the managed HSM Pool
The options parameters.
Returns
Promise<PollerLike<PollOperationState<ManagedHsmsCreateOrUpdateResponse>, ManagedHsmsCreateOrUpdateResponse>>
beginCreateOrUpdateAndWait(string, string, ManagedHsm, ManagedHsmsCreateOrUpdateOptionalParams)
Create or update a managed HSM Pool in the specified subscription.
function beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams): Promise<ManagedHsmsCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
Name of the managed HSM Pool
- parameters
- ManagedHsm
Parameters to create or update the managed HSM Pool
The options parameters.
Returns
Promise<ManagedHsmsCreateOrUpdateResponse>
beginDelete(string, string, ManagedHsmsDeleteOptionalParams)
Deletes the specified managed HSM Pool.
function beginDelete(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
The name of the managed HSM Pool to delete
- options
- ManagedHsmsDeleteOptionalParams
The options parameters.
Returns
Promise<PollerLike<PollOperationState<void>, void>>
beginDeleteAndWait(string, string, ManagedHsmsDeleteOptionalParams)
Deletes the specified managed HSM Pool.
function beginDeleteAndWait(resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
The name of the managed HSM Pool to delete
- options
- ManagedHsmsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
beginPurgeDeleted(string, string, ManagedHsmsPurgeDeletedOptionalParams)
Permanently deletes the specified managed HSM.
function beginPurgeDeleted(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- name
-
string
The name of the soft-deleted managed HSM.
- location
-
string
The location of the soft-deleted managed HSM.
The options parameters.
Returns
Promise<PollerLike<PollOperationState<void>, void>>
beginPurgeDeletedAndWait(string, string, ManagedHsmsPurgeDeletedOptionalParams)
Permanently deletes the specified managed HSM.
function beginPurgeDeletedAndWait(name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams): Promise<void>
Parameters
- name
-
string
The name of the soft-deleted managed HSM.
- location
-
string
The location of the soft-deleted managed HSM.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, ManagedHsm, ManagedHsmsUpdateOptionalParams)
Update a managed HSM Pool in the specified subscription.
function beginUpdate(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagedHsmsUpdateResponse>, ManagedHsmsUpdateResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
Name of the managed HSM Pool
- parameters
- ManagedHsm
Parameters to patch the managed HSM Pool
- options
- ManagedHsmsUpdateOptionalParams
The options parameters.
Returns
Promise<PollerLike<PollOperationState<ManagedHsmsUpdateResponse>, ManagedHsmsUpdateResponse>>
beginUpdateAndWait(string, string, ManagedHsm, ManagedHsmsUpdateOptionalParams)
Update a managed HSM Pool in the specified subscription.
function beginUpdateAndWait(resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams): Promise<ManagedHsmsUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
Name of the managed HSM Pool
- parameters
- ManagedHsm
Parameters to patch the managed HSM Pool
- options
- ManagedHsmsUpdateOptionalParams
The options parameters.
Returns
Promise<ManagedHsmsUpdateResponse>
get(string, string, ManagedHsmsGetOptionalParams)
Gets the specified managed HSM Pool.
function get(resourceGroupName: string, name: string, options?: ManagedHsmsGetOptionalParams): Promise<ManagedHsmsGetResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
- name
-
string
The name of the managed HSM Pool.
- options
- ManagedHsmsGetOptionalParams
The options parameters.
Returns
Promise<ManagedHsmsGetResponse>
getDeleted(string, string, ManagedHsmsGetDeletedOptionalParams)
Gets the specified deleted managed HSM.
function getDeleted(name: string, location: string, options?: ManagedHsmsGetDeletedOptionalParams): Promise<ManagedHsmsGetDeletedResponse>
Parameters
- name
-
string
The name of the deleted managed HSM.
- location
-
string
The location of the deleted managed HSM.
The options parameters.
Returns
Promise<ManagedHsmsGetDeletedResponse>
listByResourceGroup(string, ManagedHsmsListByResourceGroupOptionalParams)
The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: ManagedHsmsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedHsm>
Parameters
- resourceGroupName
-
string
Name of the resource group that contains the managed HSM pool.
The options parameters.
Returns
PagedAsyncIterableIterator<ManagedHsm>
listBySubscription(ManagedHsmsListBySubscriptionOptionalParams)
The List operation gets information about the managed HSM Pools associated with the subscription.
function listBySubscription(options?: ManagedHsmsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedHsm>
Parameters
The options parameters.
Returns
PagedAsyncIterableIterator<ManagedHsm>
listDeleted(ManagedHsmsListDeletedOptionalParams)
The List operation gets information about the deleted managed HSMs associated with the subscription.
function listDeleted(options?: ManagedHsmsListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedManagedHsm>
Parameters
The options parameters.
Returns
PagedAsyncIterableIterator<DeletedManagedHsm>