function isBasicCredential(credential) {
    return "username" in credential && "password" in credential;
}
Creates a policy that sets the apiVersion as a query parameter on every request
@param options - Client options
@returns Pipeline policy that sets the apiVersion as a query parameter on every request