@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Azure Dedicated HSM Resource Provider
@base https://management.azure.com
@version 2018-10-31-preview
@auth OAuth2
@common_fields {api-version: any # Client Api Version.}
@endpoints 7
@toc providers(1), subscriptions(6)

@group providers
@endpoint GET /providers/Microsoft.HardwareSecurityModules/operations
@desc Get a list of Dedicated HSM operations.
@returns(200) OK

@endgroup

@group subscriptions
@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
@desc Create or Update a dedicated HSM in the specified subscription.
@required {resourceGroupName: any # The name of the Resource Group to which the resource belongs., name: any # Name of the dedicated Hsm, parameters: any # Parameters to create or update the dedicated hsm, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) Created dedicated HSM
@returns(201) Created dedicated HSM

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
@desc Update a dedicated HSM in the specified subscription.
@required {resourceGroupName: any # The name of the Resource Group to which the server belongs., name: any # Name of the dedicated HSM, parameters: any # Parameters to patch the dedicated HSM, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) Patched dedicated HSM

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
@desc Deletes the specified Azure Dedicated HSM.
@required {resourceGroupName: any # The name of the Resource Group to which the dedicated HSM belongs., name: any # The name of the dedicated HSM to delete, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK Response.
@returns(202) Accepted
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
@desc Gets the specified Azure dedicated HSM.
@required {resourceGroupName: any # The name of the Resource Group to which the dedicated hsm belongs., name: any # The name of the dedicated HSM., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) Retrieved dedicated HSM

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs
@desc The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.
@required {resourceGroupName: any # The name of the Resource Group to which the dedicated HSM belongs., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@optional {$top: any # Maximum number of results to return.}
@returns(200) Get information about all dedicated HSMs in the specified resource group.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs
@desc The List operation gets information about the dedicated HSMs associated with the subscription.
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@optional {$top: any # Maximum number of results to return.}
@returns(200) Get information about all dedicated HSMs in the specified subscription.

@endgroup

@end
