Interface SecurityPINsClient


  • public interface SecurityPINsClient
    An instance of this class provides access to all the operations defined in SecurityPINsClient.
    • Method Detail

      • get

        TokenInformationInner get​(String vaultName,
                                  String resourceGroupName)
        Get the security PIN.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        Returns:
        the security PIN.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<TokenInformationInner> getWithResponse​(String vaultName,
                                                                                 String resourceGroupName,
                                                                                 SecurityPinBase parameters,
                                                                                 com.azure.core.util.Context context)
        Get the security PIN.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - security pin request.
        context - The context to associate with this operation.
        Returns:
        the security PIN along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.