Interface SecurityPINs
-
public interface SecurityPINs
Resource collection API of SecurityPINs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TokenInformation
get(String vaultName, String resourceGroupName)
Get the security PIN.com.azure.core.http.rest.Response<TokenInformation>
getWithResponse(String vaultName, String resourceGroupName, SecurityPinBase parameters, com.azure.core.util.Context context)
Get the security PIN.
-
-
-
Method Detail
-
get
TokenInformation 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<TokenInformation> 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.
-
-