/// <summary> /// Get the security PIN. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='vaultName'> /// The name of the recovery services vault. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the recovery services vault is /// present. /// </param> public static TokenInformation Get(this ISecurityPINsOperations operations, string vaultName, string resourceGroupName) { return(operations.GetAsync(vaultName, resourceGroupName).GetAwaiter().GetResult()); }
/// <summary> /// Get the security PIN. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='vaultName'> /// The name of the recovery services vault. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the recovery services vault is /// present. /// </param> /// <param name='resourceGuardOperationRequests'> /// ResourceGuard Operation Requests /// </param> public static TokenInformation Get(this ISecurityPINsOperations operations, string vaultName, string resourceGroupName, IList <string> resourceGuardOperationRequests = default(IList <string>)) { return(operations.GetAsync(vaultName, resourceGroupName, resourceGuardOperationRequests).GetAwaiter().GetResult()); }