Language

HardwareSecurityModulesExtensions.GetPaymentHsmCluster Method

Definition

Gets the specified Payment HSM Cluster <item> Mocking. To mock this method, please mock GetPaymentHsmCluster(String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.HardwareSecurityModules.PaymentHsmClusterResource> GetPaymentHsmCluster(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string paymentHsmClusterName, System.Threading.CancellationToken cancellationToken = default);
static member GetPaymentHsmCluster : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HardwareSecurityModules.PaymentHsmClusterResource>
<Extension()>
Public Function GetPaymentHsmCluster (resourceGroupResource As ResourceGroupResource, paymentHsmClusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PaymentHsmClusterResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

paymentHsmClusterName
String

The name of the Payment HSM Cluster within the specified resource group. Payment HSM Cluster names must be between 3 and 23 characters in length.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource is null.

Applies to